Appendix A Password Recovery Procedure......................................................................................... 630
Appendix B System Log Entries ........................................................................................................... 632
Appendix C Trap Log Entries................................................................................................................642
Appendix D RADIUS Attributes Assignment.........................................................................................646
Trace Route Command List .............................................................................................. 606
III
Page 5
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Chapter 1
Using Command Line
Interface
The Switch can be managed through the Switch’s serial port, Telnet, SNMP or the Web-based
management agent. The Command Line Interface (CLI) can be used to configure and manage the
Switch via the serial port or Telnet interfaces.
This manual provides a reference for all of the commands contained in the CLI. Every command
will be introduced in terms of purpose, format, description, parameters, and examples.
Configuration and management of the Switch via the Web-based management agent are
discussed in the Web UI Reference Guide. For detailed information on installing hardware please
also refer to the Hardware Installation Guide.
1-1 Accessing the Switch via the Serial Port
The Switch’s serial port’s default settings are as follows:
• 115200 baud
• no parity
• 8 data bits
• 1 stop bit
A computer running a terminal emulation program capable of emulating a VT-100 terminal and a
serial port configured as above are then connected to the Switch’s Console port via an included
RS-232 to RJ-45 convertor cable.
With the serial port properly connected to a management computer, the following screen should be
visible. If this screen does not appear, try pressing Ctrl+r to refresh the console screen.
Fast Ethernet Switch
Command Line Interface
Firmware: Build 4.04.004
Copyright(C) 2012 D-Link Corporation. All rights reserved.
UserName:
PassWord:
:admin#
There is no initial username or password. Just press the Enter key twice to display the CLI input
cursor DES-3200-28P:admin#. This is the command line where all commands are input.
1-2 Setting the Switch’s IP Address
Each Switch must be assigned its own IP Address, which is used for communication with an
SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s
default IP address is 10.90.90.90. You can change the default Switch IP address to meet the
specification of your networking address scheme.
1
Page 6
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be
changed, and can be found on the initial boot console screen – shown below.
The Switch’s MAC address can also be found in the Web management program on the Switch
Information (Basic Settings) window on the Configuration menu.
The IP address for the Switch must be set before it can be managed with the Web-based manager.
The Switch IP address can be automatically set using BOOTP or DHCP protocols, in which case
the actual address assigned to the Switch must be known.
Starting at the command line prompt, enter the commands config ipif System ipaddress xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x’s represent the IP address to be assigned to the
IP interface named System and the y’s represent the corresponding subnet mask.
Alternatively, you can enter config ipif System ipaddress xxx.xxx.xxx.xxx/z. Where the x’s
represent the IP address to be assigned to the IP interface named System and the z represents
the corresponding number of subnets in CIDR notation.
The IP interface named System on the Switch can be assigned an IP address and subnet mask
which can then be used to connect a management station to the Switch’s Telnet or Web-based
management agent.
:admin#config ipif System ipaddress 10.24.22.100/255.0.0.0
Command: config ipif System ipaddress 10.24.22.100/8
Success.
:admin#
In the above example, the Switch was assigned an IP address of 10.24.22.100 with a subnet mask
of 255.0.0.0. The system message Success indicates that the command was executed
successfully. The Switch can now be configured and managed via Telnet, SNMP MIB browser and
the CLI or via the Web-based management agent using the above IP address to connect to the
Switch.
2
Page 7
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
There are a number of helpful features included in the CLI. Entering the ? command will display a
CTRL+CESCq Quit SPACEn Next Page ENTER Next Entry a All
When entering a command without its required parameters, the CLI will prompt you with a Next
possible completions: message.
:admin#config account
Command: config account
Next possible completions:
<username>
:admin#
In this case, the command config account was entered with the parameter <username>. The CLI
will then prompt to enter the <username> with the message, Next possible completions:. Every
command in the CLI has this feature, and complex commands have several layers of parameter
prompting.
In addition, after typing any given command plus one space, users can see all of the next possible
sub-commands, in sequential order, by repeatedly pressing the Tab key.
To re-enter the previous command at the command prompt, press the up arrow cursor key. The
previous command will appear at the command prompt.
3
Page 8
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
:admin#config account
Command: config account
Next possible completions:
<username>
:admin#config account
In the above example, the command config account was entered without the required parameter
<username>, the CLI returned the Next possible completions: <username> prompt. The up
arrow cursor control key was pressed to re-enter the previous command (config account) at the
command prompt. Now the appropriate username can be entered and the config accoun t
command re-executed.
All commands in the CLI function in this way. In addition, the syntax of the help prompts are the
same as presented in this manual angle brackets < > indicate a numerical value or character
string, braces { } indicate optional parameters or a choice of parameters, and brackets [ ] indicate
required parameters.
If a command is entered that is unrecognized by the CLI, the top-level commands will be displayed
under the Available commands: prompt.
:admin#the
Available commands:
.. ? cable_diag cd
cfm clear config copy
create debug del delete
dir disable download enable
erase login logout md
move no ping ping6
rd reboot reconfig rename
reset save show smtp
telnet traceroute traceroute6 upload
:admin#
The top-level commands consist of commands such as show or config. Most of these commands
require one or more parameters to narrow the top-level command. This is equivalent to show what?
or config what? Where the what? is the next parameter.
For example, entering the show command with no additional parameters, the CLI will then display
all of the possible next parameters.
4
Page 9
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
:admin#show
Command: show
Next possible completions:
In the above example, all of the possible next parameters for the show command are displayed. At
the next command prompt, the up arrow was used to re-enter the show command, followed by the
account parameter. The CLI then displays the user accounts configured on the Switch.
1-3Command Syntax Symbols
Syntax Description
angle brackets < > Encloses a variable or value. Users must specify the variable or value.
For example, in the syntax
5
Page 10
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
mode [drop | block | shutdown]}(1)
users have the option to specify hops or time or both of them. The "(1)"
following the set of braces indicates at least one argument or value
within the braces must be specified. DO NOT TYPE THE
PARENTHESES.
ipif <ipif_name 12>
metric <value 1-31>
12 means the maximum length of the IP interface name.
1-31 means the legal range of the metric value.
1-4Line Editing Keys
Keys Description
Delete Delete character under cursor and shift remainder of line to left.
Backspace Delete character to left of cursor and shift remainder of line to left.
6
Page 11
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Insert Toggle on and off. When toggled on, inserts text and shifts previous
text to right.
Left Arrow Move cursor to left.
Right Arrow Move cursor to right
Tab Help user to select appropriate token.
P Display the previous page.
N or Space Display the next page.
CTRL+C Escape from displayed pages.
ESC Escape from displayed pages.
Q Escape from displayed pages.
R refresh the displayed pages
a Display the remaining pages. (The screen display will not pause again.)
Enter Display the next line.
The screen display pauses when the show command output reaches the end of the page.
In the above example, all of the possible next parameters for the show command are displayed. At
the next command prompt, the up arrow was used to re-enter the show command, followed by the
account parameter. The CLI then displays the user accounts configured on the Switch.
7
Page 12
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Chapter 2
show session
show serial_port
config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes |
show ports {<portlist>} {[description | err_disabled | details | media_type]}
Basic Command List
2-1 show session
Description
This command is used to display a list of currently users which are login to the Switch.
Format
show session
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To display the session entries:
8
Page 13
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
ID Live Time From Level Name
--- ------------ --------------------------------------- ----- -------------- 0 00:01:46.360 10.90.90.10 puser puser
8 00:05:49.340 Serial Port admin admin
Total Entries: 2
CTRL+CESCq Quit SPACEn Next Page p Previous Page r Refresh
2-2show serial_port
Description
This command is used to display the current serial port settings.
Format
show serial_port
Parameters
None.
Restrictions
None.
Example
To display the serial port setting:
:admin#show serial_port
Command: show serial_port
Baud Rate : 115200
Data Bits : 8
Parity Bits : None
Stop Bits : 1
Auto-Logout : 10 mins
:admin#
2-3config serial_port
Description
This command is used to configure the serial bit rate that will be used to communicate with the
management host and the auto logout time for idle connections.
9
Page 14
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
baud_rate - (Optional) The serial bit rate that will be used to communicate with the management
host. The default baud rate is 115200.
9600 - Specify the serial bit rate to be 9600.
19200 - Specify the serial bit rate to be 19200.
38400 - Specify the serial bit rate to be 38400.
115200 - Specify the serial bit rate to be 115200.
auto_logout - (Optional) The auto logout time out setting.
never - Never timeout.
2_minutes - When idle over 2 minutes, the device will auto logout.
5_minutes - When idle over 5 minutes, the device will auto logout.
10_minutes - When idle over 10 minutes, the device will auto logout.
15_minutes - When idle over 15 minutes, the device will auto logout.
Restrictions
Only Administrator and Operator-level users can issue this command.
This command is used to enable the pausing of the screen display when the show command
output reaches the end of the page. The default setting is enabled.
Format
enable clipaging
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
10
Page 15
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Example
To enable pausing of the screen display when show command output reaches the end of the page:
:admin#enable clipaging
Command: enable clipaging
Success.
:admin#
2-5disable clipaging
Description
This command is used to disable the pausing of the screen display when the show command
output reaches the end of the page. The default setting is enabled.
Format
disable clipaging
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To disable pausing of the screen display when show command output reaches the end of the page:
Firmware: Build 4.04.004
Copyright(C) 2012 D-Link Corporation. All rights reserved.
===============================================================================
=
<Function Key> <Control Key>
Ctrl+C Quit without save left/right/
Ctrl+W Save and quit up/down Move cursor
Ctrl+D Delete line
Ctrl+X Erase all setting
Ctrl+L Reload original setting
Firmware: Build 4.04.004
Copyright(C) 2012 D-Link Corporation. All rights reserved.
===============================================================================
=
:admin#
2-14config command_prompt
Description
This command is used to modify the command prompt.
The current command prompt consists of four parts: “product name” + “:” + ”user level” + ”#” (e.g.
“:admin#”). This command is used to modify the first part (1. “product name”) with a string
consisting of a maximum of 16 characters, or to be replaced with the users’ login user name.
When users issue the “reset” command, the current command prompt will remain in tact. Yet,
issuing the “reset system” will return the command prompt to its original factory default value.
<string 16> - Enter the new command prompt string of no more than 16 characters.
username - Enter this command to set the login username as the command prompt.
default - Enter this command to return the command prompt to its original factory default value.
Restrictions
Only Administrator and Operator-level users can issue this command.
17
Page 22
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
The command is used to set current terminal width.
The usage is described as below:
1. Users login and configure the terminal width to 120, this configuration take effect on this
login section. If users implement “save” command, the configuration is saved. After users
log out and log in again, the terminal width is 120.
2. If user did not save the configuration, another user login, the terminal width is default value.
3. If at the same time, two CLI sessions are running, once section configure to 120 width and
save it, the other section will not be effected, unless it log out and then log in.
Format
config terminal width [default | <value 80-200>]
Parameters
default - The default setting of terminal width. The default value is 80.
<value 80-200> - The terminal width which will be configured. The width is between 80 and 200
<portlist> - Enter a list of ports used here.
all - Specify that all the ports will be used for this configuration.
medium_type - (Optional) Specify the medium type while the configure ports are combo ports
fiber - Specify that the medium type will be set to fiber.
copper - Specify that the medium type will be set to copper.
speed - (Optional) Specify the port speed of the specified ports .
auto - Set port speed to auto negotiation.
10_half - Set port speed to 10_half.
19
Page 24
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
10_full - Set port speed to 10_full.
100_half - Set port speed to 100_half.
100_full - Set port speed to 100_full._
1000_full - 1000_full set port speed to 1000_full. While set port speed to 1000_full,user
should specify master or slave mode for 1000 base TX interface, and leave the 1000_full
without any master or slave setting for other interface.
master - Specify that the port(s) will be set to master.
slave - Specify that the port(s) will be set to slave.
flow_control - (Optional) You can turn on or turn off flow control on one or more ports. By set
flow_control to enable or disable.
enable - Specify that the flow control option will be enabled.
disable - Specify that the flow control option will be disabled.
learning - (Optional) You can turn on or turn off MAC address learning on one or more ports.
enable - Specify that the learning option will be enabled.
disable - Specify that the learning option will be disabled.
state - (Optional) Enables or disables the specified port. If the specificed ports are in error-
disabled status , configure their state to enable will recover these ports from disabled to
enable state.
enable - Specify that the port state will be enabled.
disable - Specify that the port state will be disabled.
mdix - (Optional) MDIX mode can be specified as auto, normal, and cross. If set to normal state,
the port is in MDIX mode and can be connected to PC NIC using a straight cale. If set to cross
state, the port is in mdi mode, and can be connected to a port (in mdix mode) on another
switch thru a straight cabe.
auto - Specify that the MDIX mode for the port will be set to auto.
normal - Specify that the MDIX mode for the port will be set to normal.
cross - Specify that the MDIX mode for the port will be set to cross.
description - (Optional) Specify the description of the port interface.
<desc 1-32> - Enter the port interface description here. This value can be up to 32 characters
long.
clear_description - (Optional) Specify that the description field will be cleared.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure the ports:
:admin#config ports all medium_type copper speed auto
Command: config ports all medium_type copper speed auto
Success.
:admin#
2-18show ports
Description
This command is used to display the current configurations of a range of ports.
Format
show ports {<portlist>} {[description | err_disabled | details | media_type]}
20
Page 25
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Parameters
ports - Specify a range of ports to be displayed.
<portlist> - (Optional) Enter the list of ports to be configured here.
description - (Optional) Indicates if port description will be included in the display .
err_disabled - (Optional) Indicates if ports are disabled by some reasons will be displayed.
details - (Optional) Displays the port details.
media_type - (Optional) Displays port transceiver type.
Restrictions
None.
Example
To display the port details:
:admin#show ports details
Command: show ports details
Port : 1
-------------------Port Status : Link Up
Description :
HardWare Type : Fast Ethernet
MAC Address : 00-01-02-03-04-01
Bandwidth : 100000Kbit
Auto-Negotiation : Enabled
Duplex Mode : Full Duplex
Flow Control : Disabled
MDI : Normal
Address Learning : Enabled
Last Clear of Counter : 2 hours 43 mins ago
BPDU Hardware Filtering Mode: Disabled
Queuing Strategy : FIFO
TX Load : 0/100, 0 bits/sec, 0 packets/sec
RX Load : 0/100, 0 bits/sec, 0 packets/sec
CTRL+CESCq Quit SPACEn Next Page p Previous Page r Refresh
21
Page 26
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
show vlan {<vlan_name 32>}
show vlan ports {<portlist>}
show vlan vlanid <vidlist>
show port_vlan {<portlist>}
enable pvid auto_assign
disable pvid auto_assign
show pvid auto_assign
config gvrp [timer {join < value 100-100000> | leave < value 100-100000> | leaveall <value 100-
100000>} | nni_bpdu_addr [dot1d | dot1ad]]
show gvrp
enable gvrp
disable gvrp
802.1Q VLAN Command List
3-1 create vlan
Description
This command is used to create a VLAN on the Switch. The VLAN ID must be always specified for
creating a VLAN.
Format
create vlan <vlan_name 32> tag <vlanid 2-4094> {type 1q_vlan advertisement}
Parameters
vlan - The name of the VLAN to be created.
<vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters
long.
tag - The VLAN ID of the VLAN to be created.
<vlanid 2-4094> - Enter the VLAN ID here. The VLAN ID value must be between 2 and 4094.
type 1q_vlan advertisement - (Optional) Specify the VLAN type used is based on the 802.1Q
standard and being able to be advertised out.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
22
Page 27
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Example
To create a VLAN with name “v2” and VLAN ID 2:
:admin#create vlan v2 tag 2 type 1q_vlan advertisement
Command: create vlan v2 tag 2 type 1q_vlan advertisement
Success.
:admin#
3-2create vlan vlanid
Description
This command is used to create more than one VLANs at a time. A unique VLAN name (e.g.
VLAN10) will be automatically assigned by the system. The automatic assignment of VLAN name
is based on the following rule: “VLAN”+ID. For example, for VLAN ID 100, the VLAN name will be
VLAN100. If this VLAN name is conflict with the name of an existing VLAN, then it will be renamed
based on the following rule: “VLAN”+ID+”ALT”+ collision count. For example, if this conflict is the
second collision, then the name will be VLAN100ALT2.
Format
create vlan vlanid <vidlist> {advertisement}
Parameters
vlanid - The VLAN ID list to be created.
<vidlist> - Enter the VLAN ID list here.
advertisement - (Optional) Specify the VLAN as being able to be advertised out.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
<vlan_name 32> - Enter the VLAN name you want to add ports to. This name can be up to 32
characters long.
add - (Optional) Specify to add tagged, untagged or forbidden ports to the VLAN.
tagged - Specify the additional ports as tagged.
untagged - Specify the additional ports as untagged.
forbidden - Specify the additional ports as forbidden.
delete - (Optional) Specify to delete ports from the VLAN.
<portlist> - (Optional) Enter the list of ports used for the configuration here.
advertisement - (Optional) Specify the GVRP state of this VLAN.
enable - Specify to enable advertisement for this VLAN.
disable - Specify to disable advertisement for this VLAN.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add 4 through 8 as tagged ports to the VLAN v2:
This command allows you to configure multiple VLANs at one time. But conflicts will be generated
if you configure the name of multiple VLANs at one time.
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Parameters
<vidlist> - Enter a list of VLAN IDs to configure.
add - (Optional) Specify to add tagged, untagged or forbidden ports to the VLAN.
tagged - Specify the additional ports as tagged.
untagged - Specify the additional ports as untagged.
forbidden - Specify the additional ports as forbidden.
delete - (Optional) Specify to delete ports from the VLAN.
<portlist> - (Optional) Enter the list of ports used for the configuration here.
advertisement - (Optional) Specify the GVRP state of this VLAN.
enable - Specify to enable advertisement for this VLAN.
disable - Specify to disable advertisement for this VLAN.
name - (Optional) The new name of the VLAN.
<vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add 4 through 8 as tagged ports to the VLAN ID from 10-20:
<portlist> - A range of ports for which you want ingress checking. The port list is specified by
listing the beginning port number on the Switch, separated by a colon. Then highest port
number of the range (also separated by a colon) are specified. The beginning and end of the
port list range are separated by a dash.
all - Specify all ports for ingress checking.
gvrp_state - (Optional) Enabled or disables GVRP for the ports specified in the port list.
enable - Specify that GVRP for the specified ports will be enabled.
disable - Specify that GVRP for the specified ports will be disabled.
ingress_checking - (Optional) Enables or disables ingress checking for the specified portlist.
enable - Specify that ingress checking will be enabled for the specified portlist.
disable - Specify that ingress checking will be disabled for the specified portlist.
26
Page 31
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
acceptable_frame - (Optional) The type of frame will be accepted by the port. There are two
types:
tagged_only - Only tagged packets can be accepted by this port.
admit_all - All packets can be accepted.
pvid - (Optional) Specify the PVID of the ports.
<vlanid 1-4094> - Enter the VLAN ID here. The VLAN ID value must be between 1 and 4094.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To sets the ingress checking status, the sending and receiving GVRP information:
This command is used to display the vlan information including of parameters setting and
operational value.
Format
show vlan {<vlan_name 32>}
Parameters
<vlan_name 32> - (Optional) Enter the VLAN name to be displayed. The VLAN name can be up
to 32 characters long.
Restrictions
None.
Example
To display VLAN settings:
27
Page 32
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
DES-3200-28/ME:admin#show vlan
Command: show vlan
VLAN Trunk State : Enabled
VLAN Trunk Member Ports : 1-5
VID : 1 VLAN Name : default
VLAN Type : Static Advertisement : Enabled
Member Ports : 1-28
Static Ports : 1-28
Current Tagged Ports :
Current Untagged Ports: 1-28
Static Tagged Ports :
Static Untagged Ports : 1-28
Forbidden Ports :
VID : 2 VLAN Name : v2
VLAN Type : Static Advertisement : Enabled
Member Ports : 4-8
Static Ports : 4-8
Current Tagged Ports : 4-8
Current Untagged Ports:
Static Tagged Ports : 4-8
CTRL+CESCq Quit SPACEn Next Page ENTER Next Entry a All
3-9show vlan ports
Description
This command is used to display the vlan information per ports.
Format
show vlan ports {<portlist>}
Parameters
<portlist> - (Optional) Enter the list of ports for which the VLAN information will be displayed.
Restrictions
None.
Example
To display the VLAN configuration for port 6:
28
Page 33
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
DES-3200-28/ME:admin#show vlan ports 6
Command: show vlan ports 6
Port VID Untagged Tagged Dynamic Forbidden
----- ---- -------- ------ ------- -------- 6 1 X - - 6 2 - X - -
DES-3200-28/ME:admin#
3-10show vlan vlanid
Description
This command is used to display the vlan information using the VLAN ID.
Format
show vlan vlanid <vidlist>
Parameters
<vidlist> - Enter the VLAN ID to be displayed.
Restrictions
None.
Example
To display the VLAN configuration for VLAN ID 1:
DES-3200-28/ME:admin#show vlan vlanid 1
Command: show vlan vlanid 1
VID : 1 VLAN Name : default
VLAN Type : Static Advertisement : Enabled
Member Ports : 1-28
Static Ports : 1-28
Current Tagged Ports :
Current Untagged Ports: 1-28
Static Tagged Ports :
Static Untagged Ports : 1-28
Forbidden Ports :
Total Entries : 1
DES-3200-28/ME:admin#
29
Page 34
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
3-11show port_vlan
Description
This command is used to display the ports’ VLAN attributes on the Switch.
Format
show port_vlan {<portlist>}
Parameters
<portlist> - (Optional) Specify a range of ports to be displayed.
If no parameter specified, system will display all ports gvrp information.
Restrictions
None.
Example
To display 802.1Q port setting:
DES-3200-28/ME:admin#show port_vlan
Command: show port_vlan
Port PVID GVRP Ingress Checking Acceptable Frame Type
------- ---- -------- ---------------- -------------------------- 1 2 Enabled Enabled Only VLAN-tagged Frames
2 2 Enabled Enabled Only VLAN-tagged Frames
3 2 Enabled Enabled Only VLAN-tagged Frames
4 2 Enabled Enabled Only VLAN-tagged Frames
5 2 Enabled Enabled Only VLAN-tagged Frames
6 1 Disabled Enabled All Frames
7 1 Disabled Enabled All Frames
8 1 Disabled Enabled All Frames
9 1 Disabled Enabled All Frames
10 1 Disabled Enabled All Frames
11 1 Disabled Enabled All Frames
12 1 Disabled Enabled All Frames
13 1 Disabled Enabled All Frames
14 1 Disabled Enabled All Frames
15 1 Disabled Enabled All Frames
16 1 Disabled Enabled All Frames
17 1 Disabled Enabled All Frames
18 1 Disabled Enabled All Frames
19 1 Disabled Enabled All Frames
20 1 Disabled Enabled All Frames
CTRL+CESCq Quit SPACEn Next Page ENTER Next Entry a All
30
Page 35
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
3-12enable pvid auto assign
Description
This command is used to enable the auto-assignment of PVID.
If “Auto-assign PVID” is enabled, PVID will be possibly changed by PVID or VLAN configuration.
When user configures a port to VLAN X’s untagged membership, this port’s PVID will be updated
with VLAN X. In the form of VLAN list command, PVID is updated with last item of VLAN list. When
user removes a port from the untagged membership of the PVID’s VLAN, the port’s PVID will be
assigned with “default VLAN”.
The default setting is enabled.
Format
enable pvid auto_assign
Parameters
None.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
This command is used to display the PVID auto-assignment state.
Format
show pvid auto_assign
Parameters
None.
Restrictions
None.
Example
To display PVID auto-assignment state:
DES-3200-28/ME:admin#show pvid auto_assign
Command: show pvid auto_assign
PVID Auto-assignment: Enabled
DES-3200-28/ME:admin#
3-15config gvrp
Description
The config gvrp timer command set the GVRP timer’s value. The default value for Join time is 200
milliseconds; for Leave time is 600 milliseconds; for LeaveAll time is 10000 milliseconds.
32
Page 37
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
show radius
show auth_statistics {ports <portlist>}
show auth_diagnostics {ports <portlist>}
show auth_session_statistics {ports <portlist>}
show auth_client
show acct_client
config accounting service [network | shell | system] state [enable | disable]
show accounting service
802.1X Command List
4-1 enable 802.1x
Description
This command is used to enable the 802.1X function.
Format
enable 802.1x
36
Page 41
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Parameters
None.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
This command is used to globally control the forwarding of EAPOL PDU. When 802.1X
functionality is disabled globally or for a port, and if 802.1X fwd_pdu is enabled both globally and
for the port, a received EAPOL packet on the port will be flooded in the same VLAN to those ports
for which 802.1X fwd_pdu is enabled and 802.1X is disabled (globally or just for the port). The
default state is disabled.
Format
config 802.1x fwd_pdu system [enable | disable]
Parameters
enable - Enable the forwarding of EAPOL PDU.
disable - Disable the forwarding of EAPOL PDU.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure forwarding of EAPOL PDU system state enable:
40
Page 45
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
DES-3200-28/ME:admin#config 802.1x fwd_pdu system enable
Command: config 802.1x fwd_pdu system enable
Success.
DES-3200-28/ME:admin#
4-8config 802.1x fwd_pdu ports
Description
This command is used to control the forwarding of EAPOL PDU. When 802.1X functionality is
disabled globally or for a port, and if 802.1X fwd_pdu is enabled both globally and for the port, a
received EAPOL packet on the port will be flooded in the same VLAN to those ports for which
802.1X fwd_pdu is enabled and 802.1X is disabled (globally or just for the port). The default state
is disabled.
<portlist> - Enter the list of ports used for the configuration.
all - Specify that all the ports will be used.
enable - Enable forwarding EAPOL PDU receive on the ports.
disable - Disable forwarding EAPOL PDU receive on the ports.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
This command is used to enable or disable acception of authorized configuration.
When the authorization is enabled for 802.1X’s RADIUS authentication, the authorized attributes
(for example VLAN, 802.1p default priority, and ACL) assigned by the RADUIS server will be
accepted.
41
Page 46
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
This command is used to display the 802.1X state or configurations.
Format
show 802.1x {[auth_state | auth_configuration] ports {<portlist>}}
Parameters
auth_state - (Optional) Used to display 802.1X authentication state machine of some or all ports
auth_configuration - (Optional) Used to display 802.1X configurations of some or all ports.
port - (Optional) Specify a range of ports to be displayed. If no port is specified, all ports will be
displayed.
<portlist> - Enter the list of ports used for the configuration here.
If no parameter is specified, the 802.1X system configurations will be displayed.
Restrictions
None.
Example
To display the 802.1X port level configurations:
42
Page 47
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Port Number : 1
Capability : None
AdminCrlDir : Both
OpenCrlDir : Both
Port Control : Auto
QuietPeriod : 60 sec
TxPeriod : 30 sec
SuppTimeout : 30 sec
ServerTimeout : 30 sec
MaxReq : 2 times
ReAuthPeriod : 3600 sec
ReAuthenticate : Disabled
Forward EAPOL PDU On Port : Enabled
Max User On Port : 16
CTRL+CESCq Quit SPACEn Next Page p Previous Page r Refresh
4-11config 802.1x capability
Description
This command is used to configure the port capability.
This command is used to limit the maximum number of users that can be learned via 802.1X
authentication. In addition to the global limitation, maximum user for per port is also limited. It is
specified by config 802.1x auth_parameter command.
<value 1-448> - Enter the maximum number of users. This value must be between 1 and 448.
no_limit – Specify that the maximum user limit will be set to 448.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure 802.1X number of users to be limited to 200:
ports - Specify a range of ports to be configured.
<portlist> - Enter the list of ports used for the configuration here.
all - Specify that all the ports will be used.
default - Sets all parameter to be default value.
direction - (Optional) Sets the direction of access control.
both - For bidirectional access control.
in - For unidirectional access control.
port_control - (Optional) You can force a specific port to be unconditionally authorized or
unauthorized by setting the parameter of port_control to be force_authorized or
force_unauthorized. Besides, the controlled port will reflect the outcome of authentication if
port_control is auto.
force_unauth - Force a specific port to be unconditionally unauthorized.
auto - The controlled port will reflect the outcome of authentication.
force_auth - Force a specific port to be unconditionally authorized.
quiet_period - (Optional) It is the initialization value of the quietWhile timer. The default value is
60 seconds and can be any value among 0 to 65535.
<sec 0-65535> - Enter the quiet period value here. This value must be between 0 and 65535
seconds.
tx_period - (Optional) It is the initialization value of the transmit timer period. The default value is
30 seconds and can be any integer value among 1 to 65535.
<sec 1-65535> - Enter the tx period value here. This value must be between 1 and 65535
seconds.
supp_timeout - (Optional) The initialization value of the aWhile timer when timing out the
supplicant. Its default value is 30 seconds and can be any integer value among 1 to 65535.
<sec 1-65535> - Enter the supplicant timeout value here. This value must be between 1 and
65535 seconds.
server_timeout - (Optional) The initialization value of the aWhile timer when timing out the
authentication server. Its default value is 30 seconds and can be any integer value among 1 to
65535.
<sec 1-65535> - Enter the server timeout value here. This value must be between 1 and
65535 seconds.
max_req - (Optional) The maximum number of times that the authentication PAE state machine
will retransmit an EAP Request packet to the supplicant. Its default value is 2 and can be any
integer number among 1 to 10.
<value 1-10> - Enter the maximum required value here. This value must be between 1 and
10.
reauth_period - (Optional) It’s a nonzero number of seconds, which is used to be the re-
authentication timer. The default value is 3600.
<sec 1-65535> - Enter the re-authentication period value here. This value must be between 1
and 65535 seconds.
max_users - (Optional) Specify per port maximum number of users. The default value is 16.
<value 1-448> - Enter the maximum users value here. This value must be between 1 and
448.
no_limit - Specify that no limit is enforced on the maximum users used.
enable_reauth - (Optional) You can enable or disable the re-authentication mechanism for a
specific port.
enable - Specify to enable the re-authentication mechanism for a specific port.
disable - Specify to disable the re-authentication mechanism for a specific port.
45
Page 50
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the parameters that control the operation of the authenticator associated with a port:
DES-3200-28/ME:admin#config 802.1x auth_parameter ports 1-20 direction both
Command: config 802.1x auth_parameter ports 1-20 direction both
Success.
DES-3200-28/ME:admin#
4-14config 802.1x auth_mode
Description
This command is used to configure 802.1X authentication mode.
Format
config 802.1x auth_mode [port_based | mac_based]
Parameters
port_based - Configure the authentication as port based mode.
mac_based - Configure the authentication as MAC based mode.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
port_based ports- Configure the authentication as port based mode.
<portlist> - Enter the list of ports used for the configuration here.
all - Specify that all ports will be used.
mac_based ports - Configure the authentication as MAC based mode.
<portlist> - Enter the list of ports used for the configuration here.
all - Specify that all ports will be used.
mac_address - (Optional) Specify the MAC address of client.
<macaddr> - Enter the MAC address used here.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To initialize the authentication state machine of some or all:
DES-3200-28/ME:admin#config 802.1x init port_based ports all
Command: config 802.1x init port_based ports all
Success.
DES-3200-28/ME:admin#
4-16config 802.1x reauth
Description
This command is used to re-authenticate the device connected to the port. During the reauthentication period, the port status remains authorized until failed re-authentication.
port_based ports - Configure the authentication as port based mode.
<portlist> - Enter the list of ports used for the configuration here.
all - Specify that all ports will be used.
mac_based ports - Configure the authentication as MAC based mode.
<portlist> - Enter the list of ports used for the configuration here.
all - Specify that all ports will be used.
mac_address - (Optional) Specify the MAC address of client.
<macaddr> - Enter the MAC address used here.
47
Page 52
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To re-authenticate the device connected to the port:
DES-3200-28/ME:admin#config 802.1x reauth port_based ports all
Command: config 802.1x reauth port_based ports all
Success.
DES-3200-28/ME:admin#
4-17create 802.1x guest_vlan
Description
This command is used to assign a static VLAN to be guest VLAN. The specific VLAN which
assigned to guest VLAN must be existed. The specific VLAN which assigned to guest VLAN can’t
be deleting.
Format
create 802.1x guest_vlan {<vlan_name 32>}
Parameters
<vlan_name 32> - (Optional) Specify the VLAN to be guest VLAN. The VLAN name can be up to
32 characters long.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a VLAN named “guestVLAN” as 802.1X guest VLAN:
This command is used to delete guest VLAN setting, but not delete the static VLAN. All ports
which enabled guest VLAN will remove to original VLAN after deleted guest VLAN.
48
Page 53
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Format
delete 802.1x guest_vlan {<vlan_name 32>}
Parameters
<vlan_name 32> - (Optional) Enter the VLAN name here. The VLAN name can be up to 32
characters long.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
This command is used to configure guest VLAN setting. If the specific port state is changed from
enabled state to disable state, this port will move to its original VLAN.
<server_index 1-3> - Enter the RADIUS server index. This value must be between 1 and 3.
<server_ip> - Enter the IP address of the RADIUS server here.
key - The key pre-negotiated between switch and the RADIUS server. It is used to encrypt user’s
authentication data before being transmitted over internet. The maximum length of the key is
32.
<password 32> - Enter the password here. The password can be up to 32 characters long.
default - Sets the authentication UDP port number to 1812 accounting UDP port number to 1813,
timeout to 5 seconds and retransmit to 2.
auth_port - (Optional) Specify the UDP port number which is used to transmit RADIUS
authentication data between the Switch and the RADIUS server. The range is 1 to 65535.
<udp_port_number 1-65535> - Enter the authentication port number here. This value must
be between 1 and 65535.
acct_port - (Optional) Specify the UDP port number which is used to transmit RADIUS
accounting statistics between the Switch and the RADIUS server. The range is 1 to 65535.
<udp_port_number 1-65535> - Enter the accounting port number here. This value must be
between 1 and 65535.
timeout - (Optional) The time in second for waiting server reply. The default value is 5 seconds.
<sec 1-255> - Enter the timeout value here. This value must be between 1 and 255 seconds.
retransmit - (Optional) The count for re-transmitting. The default value is 2.
<int 1-20> - Enter the re-transmit value here. This value must be between 1 and 20.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
<server_index 1-3> - Enter the RADIUS server index here. This value must be between 1 and 3.
ipaddress - (Optional) The IP address of the RADIUS server.
<server_ip> - Enter the RADIUS server IP address here.
key - (Optional) The key pre-negotiated between switch and RADIUS server. It is used to encrypt
user’s authentication data before being transmitted over internet. The maximum length of the
key is 32.
<password 32> - Enter the key here. The key can be up to 32 characters long.
auth_port - (Optional) Specify the UDP port number which is used to transmit RADIUS
authentication data between the Switch and the RADIUS server. The range is 1 to 65535. The
default value is 1812.
<udp_port_number 1-65535> - Enter the authentication port number here. This value must
be between 1 and 65535.
default - Specify that the default port number will be used.
acct_port - (Optional) Specify the UDP port number which is used to transmit RADIUS
accounting statistics between the Switch and the RADIUS server. The range is 1 to 65535.
The default value is 1813.
<udp_port_number 1-65535> - Enter the accounting port number here. This value must be
between 1 and 65535.
default - Specify that the default port number will be used.
timeout - (Optional) The time in second for waiting server reply. The default value is 5 seconds.
<sec 1-255> - Enter the timeout value here. This value must be between 1 and 255 seconds.
default - Specify that the default timeout value will be used.
52
Page 57
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
retransmit - (Optional) The count for re-transmitting. The default value is 2.
<int 1-20> - Enter the re-transmit value here. This value must be between 1 and 20.
default - Specify that the default re-transmit value will be used.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
This command is used to configure the state of the specified RADIUS accounting service.
Format
config accounting service [network | shell | system] state [enable | disable]
Parameters
network - Accounting service for 802.1X port access control. By default, the service is disabled.
shell - Accounting service for shell events: When user logs on or out the Switch (via the console,
Telnet, or SSH) and timeout occurs, accounting information will be collected and sent to
RADIUS server. By default, the service is disabled.
system - Accounting service for system events: reset, reboot. By default, the service is disabled.
state - Specify the state of the specified service.
enable - Specify to enable the specified accounting service.
disable - Specify to disable the specified accounting service.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
59
Page 64
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Example
Enable it to configure accounting shell state:
DES-3200-28/ME:admin#config accounting service shell state enable
Command: config accounting service shell state enable
Success.
DES-3200-28/ME:admin#
4-31show accounting service
Description
This command is used to show the status of RADIUS accounting services.
Format
show accounting service
Parameters
None.
Restrictions
None.
Example
To show information of RADIUS accounting services:
DES-3200-28/ME:admin#show accounting service
Command: show accounting service
Accounting Service
------------------Network : Enabled
Shell : Enabled
System : Enabled
DES-3200-28/ME:admin#
60
Page 65
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
This command is used to enable password encryption. The user account configuration information
will be stored in the configuration file, and can be applied to the system later.
If the password encryption is enabled, the password will be in encrypted form.
Format
enable password encryption
61
Page 66
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
This command is used to disable password encryption. The user account configuration information
will be stored in the configuration file, and can be applied to the system later.
When password encryption is disabled, if the user specifies the password in plain text form, the
password will be in plan text form. However, if the user specifies the password in encrypted form,
or if the password has been converted to encrypted form by the last enable password encryption
command, the password will still be in the encrypted form. It can not be reverted to the plaintext.
Format
disable password encryption
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
5-3enable authen_policy
Description
This command is used to enable system access authentication policy.
Enable system access authentication policy. When authentication is enabled, the device will adopt
the login authentication method list to authenticate the user for login, and adopt the enable
authentication method list to authenticate the enable password for promoting the user‘s privilege to
Admin level.
Format
enable authen_policy
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
This command is used to disable system access authentication policy.
Disable system access authentication policy. When authentication is disabled, the device will
adopt the local user account database to authenticate the user for login, and adopt the local
enable password to authenticate the enable password for promoting the user‘s privilege to Admin
level.
Format
disable authen_policy
Parameters
None.
63
Page 68
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Restrictions
Only Administrator-level users can issue this command.
Configure a user-defined or default method list of authentication methods for user login. The
sequence of methods will effect the altercation result. For example, if the sequence is tacacs+ first,
then tacacs and local, when user trys to login, the authentication request will be sent to the first
server host in tacacs+ built-in server group. If the first server host in tacacs+ group is missing, the
authentication request will be sent to the second server host in tacacs+ group, and so on. If all
server hosts in tacacs+ group are missing, the authentication request will be sent to the first server
host in tacacs group…If all server hosts in tacacs group are missing, the local account database in
the device is used to authenticate this user. When user logins the device successfully while using
methods like tacacs/xtacacs/tacacs+/radius built-in or user-defined server groups or none, the
“user” privilege level is assigned only. If user wants to get admin privilege level, user must use the
“enable admin” command to promote his privilege level. But when local method is used, the
privilege level will depend on this account privilege level stored in the local device.
default - The default method list of authentication methods.
method_list_name - The user-defined method list of authentication methods.
<string 15> - Enter the method list name here. This value can be up to 15 characters long.
method - Specify the authentication method used.
tacacs - (Optional) Authentication by the built-in server group “tacacs”.
xtacacs - (Optional) Authentication by the built-in server group “xtacacs”.
65
Page 70
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
tacacs+ - (Optional) Authentication by the built-in server group “tacacs+”.
radius - (Optional) Authentication by the built-in server group “radius”.
server_group - (Optional) Authentication by the user-defined server group.
<string 15> - Enter the server group value here. This value can be up 15 characters long.
local - (Optional) Authentication by local user account database in device.
none - (Optional) No authentication.
Restrictions
Only Administrator-level users can issue this command.
Example
To configure a user-defined method list for user login:
DES-3200-28/ME:admin#config authen_login method_list_name login_list_1 method
tacacs+ tacacs local
Command: config authen_login method_list_name login_list_1 method tacacs+
tacacs local
Success.
DES-3200-28/ME:admin#
5-8delete authen_login
Description
This command is used to delete a user-defined method list of authentication methods for user login.
Format
delete authen_login method_list_name <string 15>
Parameters
<string 15> - The user-defined method list name. This value can be up to 15 characters long.
Restrictions
Only Administrator-level users can issue this command.
Example
To delete a user-defined method list for user login:
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
5-9show authen_login
Description
This command is used to display the method list of authentication methods for user login.
Format
show authen_login [default | method_list_name <string 15> | all]
Parameters
default - Display default user-defined method list for user login.
method_list_name - Display the specific user-defined method list for user login.
<string 15> - Enter the method list name here. This value can be up to 15 characters long.
all - Display all method lists for user login.
Restrictions
Only Administrator-level users can issue this command.
Example
To display a user-defined method list for user login:
DES-3200-28/ME:admin#show authen_login method_list_name login_list_1
Command: show authen_login method_list_name login_list_1
Method List Name Priority Method Name Comment
---------------- -------- --------------- -----------------login_list_1 1 tacacs+ Built-in Group
2 tacacs Built-in Group
3 mix_1 User-defined Group
4 local Keyword
DES-3200-28/ME:admin#
5-10create authen_enable
Description
This command is used to create a user-defined method list of authentication methods for
promoting user's privilege to Admin level.
Format
create authen_enable method_list_name <string 15>
Parameters
<string 15> - The user-defined method list name. This value can be up to 15 characters long.
67
Page 72
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Restrictions
Only Administrator-level users can issue this command.
Example
To create a user-defined method list for promoting user's privilege to Admin level:
This command is used to configure a user-defined or default method list of authentication methods
for promoting user's privilege to Admin level. The sequence of methods will affect the altercation
result. For example, if the sequence is tacacs+ first, then tacacs and local_enable, when user try
to promote user's privilege to Admin level, the authentication request will be sent to the first server
host in tacacs+ built-in server group. If the first server host in tacacs+ group is missing, the
authentication request will be sent to the second server host in tacacs+ group, and so on. If all
server hosts in tacacs+ group are missing, the authentication request will be sent to the first server
host in tacacs group…If all server hosts in tacacs group are missing, the local enable password in
the device is used to authenticate this user’s password.
default - The default method list of authentication methods.
method_list_name - The user-defined method list of authentication methods.
<string 15> Enter the method list name here. This value can be up to 15 characters long.
method - Specify the authentication method used.
tacacs - (Optional) Authentication by the built-in server group “tacacs”.
xtacacs - (Optional) Authentication by the built-in server group “xtacacs”.
tacacs+ - (Optional) Authentication by the built-in server group “tacacs+”.
radius - (Optional) Authentication by the built-in server group “radius”.
server_group - (Optional) Authentication by the user-defined server group.
<string 15> - Enter the server group name here. This value can be up to 15 characters
long.
local_enable - (Optional) Authentication by local enable password in device.
none - (Optional) No authentication.
Restrictions
Only Administrator-level users can issue this command.
68
Page 73
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Example
To configure a user-defined method list for promoting user's privilege to Admin level:
This command is used to display the method list of authentication methods for promoting user's
privilege to Admin level.
Format
show authen_enable [default | method_list_name <string 15> | all]
69
Page 74
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Parameters
default - Display default user-defined method list for promoting user's privilege to Admin level.
method_list_name - Display the specific user-defined method list for promoting user's privilege
to Admin level.
<string 15> - Enter the method list name here. This value can be up to 15 characters long.
all - Display all method lists for promoting user's privilege to Admin level.
Restrictions
Only Administrator-level users can issue this command.
Example
To display all method lists for promoting user's privilege to Admin level:
DES-3200-28/ME:admin#show authen_enable method_list_name enable_list_1
Command: show authen_enable method_list_name enable_list_1
Method List Name Priority Method Name Comment
---------------- -------- --------------- -----------------enable_list_1 1 tacacs+ Built-in Group
2 tacacs Built-in Group
3 mix_1 User-defined Group
4 local Keyword
DES-3200-28/ME:admin#
5-14config authen application
Description
This command is used to configure login or enable method list for all or the specified application.
console - Application: console.
telnet - Application: telnet.
ssh - Application: SSH.
http - Application: web.
all - Application: console, telnet, SSH, and web.
login - Select the method list of authentication methods for user login.
enable - Select the method list of authentication methods for promoting user's privilege to Admin
level.
default - Default method list.
method_list_name - The user-defined method list name.
<string> - Enter the method list name here. This value can be up to 15 characters long.
70
Page 75
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Restrictions
Only Administrator-level users can issue this command.
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
5-16create authen server_group
Description
This command is used to create a user-defined authentication server group. The maximum
supported number of server groups including built-in server groups is 8. Each group consists of 8
server hosts as maximum.
Format
create authen server_group <string 15>
Parameters
<string 15> - The user-defined server group name. This value can be up to 15 characters long.
Restrictions
Only Administrator-level users can issue this command.
Example
To create a user-defined authentication server group:
This command is used to add or remove an authentication server host to or from the specified
server group. Built-in server group “tacacs”, “xtacacs”, “tacacs+”, “radius” accepts the server host
with the same protocol only, but user-defined server group can accept server hosts with different
protocols.
tacacs - Built-in server group “tacacs”.
xtacacs - Built-in server group “xtacacs”.
tacacs+ - Built-in server group “tacacs+”.
radius - Built-in server group “radius”.
<string 15> - Enter the server group name here. This value can be up to 15 characters long.
72
Page 77
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
add - Add a server host to a server group.
delete - Remove a server host from a server group.
server_host - Server host’s IP address.
<ipaddr> - Enter the server host IP address here.
protocol - Specify the authentication protocol used.
tacacs - Specify that the TACACS authentication protocol will be used.
xtacacs - Specify that the XTACACS authentication protocol will be used.
tacacs+ - Specify that the TACACS+ authentication protocol will be used.
radius - Specify that the radius authentication protocol will be used.
Restrictions
Only Administrator-level users can issue this command.
Example
To add an authentication server host to an server group:
This command is used to create an authentication server host. When an authentication server host
is created, IP address and protocol are the index. That means over 1 authentication protocol
74
Page 79
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
services can be run on the same physical host. The maximum supported number of server hosts is
This command is used to display the parameters of authentication.
Format
show authen parameter
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
Example
To display the parameters of authentication:
DES-3200-28/ME:admin#show authen parameter
Command: show authen parameter
Response Timeout : 60 seconds
User Attempts : 9
DES-3200-28/ME:admin#
79
Page 84
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
5-27enable admin
Description
This command is used to enter the administrator level privilege. Promote the "user" privilege level
to "admin" level. When the user enters this command, the authentication method tacacs, xtacacs,
tacacs+, user-defined server groups, local_enable or none will be used to authenticate the user.
Because TACACS, XTACACS and RADIUS don't support "enable" function in itself, if user wants
to use either one of these 3 protocols to do enable authentication, user must create a special
account on the server host first, which has a username "enable" and then configure its password
as the enable password to support "enable" function.
This command can not be used when authentication policy is disabled.
This command is used to config the local enable password of administrator level privilege. When
the user chooses the “local_enable” method to promote the privilege level, the enable password of
local device is needed. When the password information is not specified in the command, the
system will prompt the user to input the password interactively. For this case, the user can only
input the plain text password. If the password is present in the command, the user can select to
input the password in the plain text form or in the encrypted form. The encryption algorithm is
based on SHA-I.
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Parameters
encrypt - (Optional) Specify the password form.
plain_text - Specify the password in plain text form.
sha_1 - Specify the password in SHA-1 encrypted form.
<password> - (Optional) The password for promoting the privilege level. The length for a
password in plain-text form and SHA-1 encrypted form are different.
plain-text: Passwords can be from a minimum of 0 to a maximum of 15 characters.
SHA-1: The length of Encrypted passwords is fixed to 35 bytes longand the password is case-
sensitive.
Restrictions
Only Administrator-level users can issue this command.
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
hh:mm:ss> weekdays <daylist> | delete]
show time_range
show current_config access_profile
6-1create access_profile
Description
This command is used to create access control list profiles.
When creating ACL, each profile can have 256 rules/access IDs. However, when creating ACL
type as Ethernet or IPv4 at the first time, 62 rules are reserved for the system. In this case, only
194 rules are available to configure. You can use the show access_prfile command to see the
available rules.
Support for field selections can have additional limitations that are project dependent.
For example, for some hardware, it may be invalid to specify a destination and source IPv6
address at the same time. The user will be prompted with these limitations.
profile_id - Specify the index of the access list profile.
<value 1-4> - Enter the profile ID here. This value must be between 1 and 4.
profile_name - The name of the profile must be specified. The maximum length is 32 characters.
<name 32> - Enter the profile name here.
ethernet - Specify this is an ethernet mask.
vlan - (Optional) Specify a VLAN mask. Only the last 12 bits of the mask will be considered.
<hex 0x0-0x0fff> - Enter the VLAN mask value here.
source_mac - (Optional) Specify the source MAC mask.
<macmask> - Enter the source MAC address used here.
destination_mac - (Optional) Specify the destination MAC mask.
<macmask> - Enter the destination MAC address used here.
802.1p - (Optional) Specify the 802.1p priority tag mask.
ethernet_type - (Optional) Specify the Ethernet type mask.
ip - Specify this is a IPv4 mask.
vlan - (Optional) Specify a VLAN mask. Only the last 12 bits of the mask will be considered.
<hex 0x0-0x0fff> -Enter the VLAN mask value here.
source_ip_mask - (Optional) Specify a source IP address mask.
<netmask> - Enter the source IP address mask here.
destination_ip_mask - (Optional) Specify a destination IP address mask.
<netmask> - Enter the destination IP address mask here.
dscp - (Optional) Specify the DSCP mask.
icmp - (Optional) Specify that the rule applies to ICMP traffic.
type - Specify the type of ICMP traffic.
code - Specify the code of ICMP traffic
igmp - (Optional) Specify that the rule applies to IGMP traffic.
type - Specify the type of IGMP traffic.
tcp - (Optional) Specify that the rule applies to TCP traffic.
src_port_mask - (Optional) Specify the TCP source port mask.
<hex 0x0-0xffff> - Enter the TCP source port mask here.
dst_port_mask - (Optional) Specify the TCP destination port mask.
<hex 0x0-0xffff> - Enter the TCP destination port mask here.
flag_mask - (Optional) Specify the TCP flag field mask.
all – Specify that all the flags will be used for the TCP mask.
urg – (Optional) Specify that the TCP flag field will be set to ‘urg’.
ack - (Optional) Specify that the TCP flag field will be set to ‘ack’.
psh - (Optional) Specify that the TCP flag field will be set to ‘psh’.
rst - (Optional) Specify that the TCP flag field will be set to ‘rst’.
syn - (Optional) Specify that the TCP flag field will be set to ‘syn’.
fin - (Optional) Specify that the TCP flag field will be set to ‘fin’.
udp - (Optional) Specify that the rule applies to UDP traffic.
src_port_mask - (Optional) Specify the UDP source port mask.
<hex 0x0-0xffff> - Enter the UDP source port mask here.
dst_port_mask - (Optional) Specify the UDP destination port mask.
<hex 0x0-0xffff> - Enter the UDP destination port mask here.
protocol_id_mask - (Optional) Specify that the rule applies to IP protocol ID traffic.
<0x0-0xff> - Enter the protocol ID mask here.
user_define_mask - (Optional) Specify that the rule applies to the IP protocol ID, and that
the mask option behind the IP header length is 4 bytes.
<hex 0x0-0xffffffff> - Enter a user-defined mask value here.
packet_content_mask - Specify the packet content mask. Only one packet_content_mask
profile can be created.
offset_chunk_1 - (Optional) Specify that the offset chunk 1 will be used.
84
Page 89
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
<value 0-31> - Enter the offset chunk 1 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 1 mask here.
offset_chunk_2 - (Optional) Specify that the offset chunk 2 will be used.
<value 0-31> - Enter the offset chunk 2 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 2 mask here.
offset_chunk_3 - (Optional) Specify that the offset chunk 3 will be used.
<value 0-31> - Enter the offset chunk 3 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 3 mask here.
offset_chunk_4 - (Optional) Specify that the offset chunk 4 will be used.
<value 0-31> - Enter the offset chunk 4 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 4 mask here.
ipv6 - Specify this is the IPv6 mask.
class - (Optional) Specify the IPv6 class.
flowlabel - (Optional) Specify the IPv6 flow label.
source_ipv6_mask - (Optional) Specify an IPv6 source sub-mask.
<ipv6mask> - Enter the source IPv6 mask value here.
destination_ipv6_mask - (Optional) Specify an IPv6 destination sub-mask.
<ipv6mask> -Enter the destination IPv6 mask value here.
tcp - (Optional) Specify that the rule applies to TCP traffic.
src_port_mask - (Optional) Specify an IPv6 TCP source port mask.
<hex 0x0-0xffff> - Enter the TCP source port mask value here.
dst_port_mask - (Optional) Specify an IPv6 TCP destination port mask.
<hex 0x0-0xffff> - Enter the TCP destination port mask value here.
udp - (Optional) Specify that the rule applies to UDP traffic.
src_port_mask - Specify the UDP source port mask.
<hex 0x0-0xffff> - Enter the UDP source port mask value here.
dst_port_mask - Specify the UDP destination port mask.
<hex 0x0-0xffff> - Enter the UDP destination port mask value here.
icmp - (Optional) Specify a mask for ICMP filtering.
type - (Optional) Specify the inclusion of the ICMP type field in the mask.
code - (Optional) Specify the inclusion of the ICMP code field in the mask.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create three access profiles:
85
Page 90
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
This command is used to configure an access list entry. The ACL mirror function works after the
mirror has been enabled and the mirror port has been configured using the mirror command.
When applying an access rule to a target, the setting specified in the VLAN field will not take effect
if the target is a VLAN.
profile_id - Specify the index of the access list profile.
<value 1-4> - Enter the profile ID value here. This value must be between 1 and 4.
profile_name - Specify the name of the profile.
<name 32> - Enter the profile name here. This name can be up to 32 characters long.
add - Specify that a profile or a rule will be added.
access_id - Specify the index of the access list entry. The value range is 1-256, but the
supported maximum number of entries depends on the project. If the auto_assign option is
selected, the access ID is automatically assigned, when adding multiple ports.
87
Page 92
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
auto_assign - Specify that the access ID will automatically be assigned.
<value 1-256> - Enter the access ID used here. This value must be between 1 and 256.
ethernet - Specify to configure the ethernet access profile.
vlan - (Optional) Specify the VLAN name.
<vlan_name 32> - Enter the name of the VLAN here. This name can be up to 32
characters long.
vlan_id - (Optional) Specify the VLAN ID used.
<vlanid 1-4094> - Enter the VLAN ID used here. This value must be between 1 and 4094.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0x0fff> - Enter the mask value here.
source_mac - (Optional) Specify the source MAC address.
<macaddr> - Enter the source MAC address used for this configuration here.
mask - (Optional) Specify an additional mask parameter that can be configured.
<macmask> - Enter the source MAC mask used here.
destination_mac - (Optional) Specify the destination MAC address.
<macaddr> - Enter the destination MAC address used for this configuration here.
mask - (Optional) Specify an additional mask parameter that can be configured.
<macmask> - Enter the destination MAC mask here.
802.1p - (Optional) Specify the value of the 802.1p priority tag.
<value 0-7> - Enter the 802.1p priority tag value. The priority tag ranges from 1 to 7.
ethernet_type - (Optional) Specify the Ethernet type.
<hex 0x0-0xffff> - Enter the Ethernet type mask here.
ip - Specify to configure the IP access profile.
vlan - (Optional) Specify a VLAN name.
<vlan_name 32> - Enter the name of the VLAN here. This name can be up to 32
characters long.
vlan_id - (Optional) Specify that VLAN ID used.
<vlanid 1-4094> - Enter the VLAN ID used here. This value must be between 1 and 4094.
mask – (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0x0fff> - Enter the mask value here.
source_ip - (Optional) Specify an IP source address.
<ipaddr> - Enter the source IP address used for this configuration here.
mask - (Optional) Specify an additional mask parameter that can be configured.
<netmask> - Enter the source netmask used here.
destination_ip - (Optional) Specify an IP destination address.
<ipaddr> - Enter the destination IP address used for this configuration here.
mask - (Optional) Specify an additional mask parameter that can be configured.
<netmask> - Enter the destination netmask used here.
dscp - (Optional) Specify the value of DSCP. The DSCP value ranges from 0 to 63.
<value 0-63> - Enter the DSCP value here.
icmp - (Optional) Specify to configure the ICMP parameters.
type - (Optional) Specify that the rule will apply to the ICMP Type traffic value.
<value 0-255> - Enter the ICMP type traffic value here. This value must be between 0
and 255.
code - (Optional) Specify that the rule will apply to the ICMP Code traffic value.
<value 0-255> - Enter the ICMP code traffic value here. This value must be between 0
and 255.
igmp - (Optional) Specify to configure the IGMP parameters.
type - (Optional) Specify that the rule will apply to the IGMP Type traffic value.
<value 0-255> - Enter the IGMP type traffic value here. This value must be between 0
and 255.
tcp - Specify to configure the TCP parameters.
src_port - (Optional) Specify that the rule will apply to a range of TCP source ports.
<value 0-65535> - Enter the TCP source port value here. This value must be between
0 and 65535.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the source port mask here.
dst_port - (Optional) Specify that the rule will apply to a range of TCP destination ports.
<value 0-65535> - Enter the TCP destination port value here. This value must be
between 0 and 65535.
88
Page 93
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the destination port mask here.
flag - (Optional) Specify the TCP flag fields.
all - Specify that all the TCP flags will be used in this configuration.
urg - (Optional) Specify that the TCP flag field will be set to 'urg'.
ack - (Optional) Specify that the TCP flag field will be set to 'ack'.
psh - (Optional) Specify that the TCP flag field will be set to 'psh'.
rst - (Optional) Specify that the TCP flag field will be set to 'rst'.
syn - (Optional) Specify that the TCP flag field will be set to 'syn'.
fin - (Optional) Specify that the TCP flag field will be set to 'fin'.
udp - Specify to configure the UDP parameters.
src_port - (Optional) Specify the UDP source port range.
<value 0-65535> - Enter the UDP source port value here. This value must be between
0 and 65535.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the source port mask here.
dst_port - (Optional) Specify the UDP destination port range.
<value 0-65535> - Enter the UDP destination port value here. This value must be
between 0 and 65535.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the destination port mask here.
protocol_id - Specify that the rule will apply to the value of IP protocol ID traffic.
<value 0-255> - Enter the protocol ID used here.
user_define - (Optional) Specify that the rule will apply to the IP protocol ID and that the
mask options behind the first 4 bytes of the IP payload.
<hex 0x0-0xffffffff> - Enter the user-defined mask value here.
mask - Specify an additional mask parameter that can be configured.
<hex 0x0-0xffffffff> - Enter the mask value here.
packet_content - A maximum of 4 offsets can be specified. Each offset defines 4 bytes of data
which is identified as a single UDF field.
offset_chunk_1 – (Optional) Specify the value of the packet bytes to be matched. Offset
chunk 1 will be used.
<hex 0x0-0xffffffff> - Enter the offset chunk 1 mask here.
offset_chunk_2 - (Optional) Specify the value of the packet bytes to be matched. Offset
chunk 2 will be used.
<hex 0x0-0xffffffff> - Enter the offset chunk 2 mask here.
offset_chunk_3 - (Optional) Specify the value of the packet bytes to be matched. Offset
chunk 3 will be used.
<hex 0x0-0xffffffff> - Enter the offset chunk 3 mask here.
offset_chunk_4 - (Optional) Specify the value of the packet bytes to be matched. Offset
chunk 4 will be used.
<hex 0x0-0xffffffff> - Enter the offset chunk 4 mask here.
ipv6 - Specify that the rule applies to IPv6 fields.
class - (Optional) Specify the value of the IPv6 class.
<value 0-255> - Enter the IPv6 class value here. This value must be between 0 and 255.
flowlabel - (Optional) Specify the value of the IPv6 flow label.
<hex 0x0-0xffff> - Enter the IPv6 flow label mask used here.
source_ipv6 - (Optional) Specify the value of the IPv6 source address.
<ipv6addr> - Enter the source IPv6 address used for this configuration here.
mask - (Optional) Specify an additional mask parameter that can be configured.
<ipv6mask> - Enter the source IPv6 mask here.
destination_ipv6 - (Optional) Specify the value of the IPv6 destination address.
<ipv6addr> - Enter the destination IPv6 address used for this configuration here.
mask - (Optional) Specify an additional mask parameter that can be configured.
<ipv6mask> - Enter the destination IPv6 mask here.
tcp - (Optional) Specify to configure the TCP parameters.
src_port - Specify the value of the IPv6 Layer 4 TCP source port.
<value 0-65535> - Enter the TCP source port value here. This value must be between
0 and 65535.
mask - Specify an additional mask parameter that can be configured.
89
Page 94
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
<hex 0x0-0xffff> - Enter the TCP source port mask value here.
dst_port - (Optional) Specify the value of the IPv6 Layer 4 TCP destination port.
<value 0-65535> - Enter the TCP destination port value here. This value must be
between 0 and 65535.
mask - Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the TCP destination port mask value here.
udp - (Optional) Specify to configure the UDP parameters.
src_port - Specify the value of the IPv6 Layer 4 UDP source port.
<value 0-65535> - Enter the UDP source port value here. This value must be between
0 and 65535.
mask - Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the UDP source port mask value here.
dst_port - Specify the value of the IPv6 Layer 4 UDP destination port.
<value 0-65535> - Enter the UDP destination port value here. This value must be
between 0 and 65535.
mask - Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the UDP destination port mask value here.
icmp - (Optional) Specify to configure the ICMP parameters used.
type - (Optional) Specify that the rule applies to the value of ICMP type traffic.
<value 0-255> - Enter the ICMP type traffic value here. This value must be between 0
and 255.
code - (Optional) Specify that the rule applies to the value of ICMP code traffic.
<value 0-255> - Enter the ICMP code traffic value here. This value must be between 0
and 255.
port - Specify the port list used for this configuration.
<portlist> - Enter a list of ports used for the configuration here.
all - Specify that all the ports will be used for this configuration.
vlan_based - Specify that the rule will be VLAN based.
vlan - Specify the VLAN name used for this configuration.
<vlan_name> - Enter the VLAN name used for this configuration here.
vlan_id - Specify the VLAN ID used for this configuration.
<vlanid 1-4094> - Enter the VLAN ID used here. This value must be between 1 and
4094.
permit - Specify that packets matching the access rule are permitted by the Switch.
priority - (Optional) Specify that the priority of the packet will change if the packet matches
the access rule.
<value 0-7> - Enter the priority value here. This value must be between 0 and 7.
replace_priority - (Optional) Specify that the 802.1p priority of the outgoing packet will be
replaced.
replace_dscp_with - (Optional) Specify that the DSCP of the outgoing packet is changed with
the new value. If using this action without an action priority, the packet will be sent to the
default TC.
<value 0-63> - Enter the replace DSCP with value here. This value must be between 0
and 63.
replace_tos_precedence_with - (Optional) Specify that the IP precedence of the outgoing
packet is changed with the new value. If used without an action priority, the packet is sent
to the default TC.
<value 0-7> - Enter the replace ToS precedence with value here. This value must be
between 0 and 7.
counter - (Optional) Specify whether the ACL counter feature is enabled or disabled. This
parameter is optional. The default option is disabled. If the rule is not bound with the
flow_meter, all matching packets are counted. If the rule is bound with the flow_meter, then
the “counter” is overridden.
enable - Specify that the ACL counter feature will be enabled.
disable - Specify that the ACL counter feature will be disabled.
mirror - Specify that packets matching the access rules are copied to the mirror port.
deny - Specify that packets matching the access rule are filtered by the Switch.
time_range - (Optional) Specify the name of the time range entry.
<range_name 32> - Enter the time range name here. This name can be up to 32 characters
long.
90
Page 95
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
delete - Specify that a profile or a rule will be deleted.
access_id - Specify the index of the access list entry. The value range is 1-256, but the
supported maximum number of entries depends on the project.
<value 1-256> - Enter the access ID used here. This value must be between 1 and 256.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure a rule entry for a packet content mask profile:
DES-3200-28/ME:admin#config access_profile profile_id 3 add access_id
auto_assign packet_content offset_chunk_3 0xF0 port all deny
Command: config access_profile profile_id 3 add access_id auto_assign
packet_content offset_chunk_3 0xF0 port all deny
Success.
DES-3200-28/ME:admin#
6-4show access_profile
Description
This command is used to display the current access list table.
Format
show access_profile {[profile_id <value 1-4> | profile_name <name 32>]}
Parameters
profile_id - (Optional) Specify the index of the access list profile.
<value 1-4> - Enter the profile ID used here. This value must be between 1 and 4.
profile_name - (Optional) Specify the name of the profile.
<name 32> - Enter the profile name used here. This name can be up to 32 characters long.
Restrictions
None.
Example
To display the current access list table:
DES-3200-28/ME:admin#show access_profile
Command: show access_profile
Access Profile Table
Total User Set Rule Entries : 4
91
Page 96
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Total Used HW Entries : 128
Total Available HW Entries : 896
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
Rule ID : 22 Ports: 1-7
Match on
VLAN ID : 8 Mask : 0xFFF
Source MAC : 00-01-02-03-04-05 Mask : FF-FF-FF-FF-FF-FF
Destination MAC :00-05-04-03-02-00 Mask : FF-FF-FF-FF-FF-00
Action:
Deny
DES-3200-28/ME:admin#
The following example displays the packet content mask profile for the profile with an ID of 4:
DES-3200-28/ME:admin#show access_profile profile_id 4
Command: show access_profile profile_id 4
Access Profile Table
Profile ID: 4 Profile name:4 Type: User Defined
MASK on
offset_chunk_1 : 3 value : 0x0000FFFF
offset_chunk_2 : 5 value : 0x0000FF00
offset_chunk_3 : 14 value : 0xFFFF0000
offset_chunk_4 : 16 value : 0xFF000000
Match on
offset_chunk_1 : 3 value : 0x000086DD
offset_chunk_2 : 5 value : 0x00003A00
offset_chunk_3 : 14 value : 0x86000000
Action:
Deny
DES-3200-28/ME:admin#
6-5config flow_meter
Description
This command is used to configure the flow-based metering function. The metering function
supports three modes: single rate two color, single rate three color, and two rate three color. The
access rule must be created before the parameters of this function can be applied.
For the single rate two color mode, users may set the preferred bandwidth for this rule, in Kbps,
and once the bandwidth has been exceeded, overflowing packets will either be dropped or have a
drop precedence set, depending on the user configuration.
94
Page 99
xStack® DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
For single rate three color mode, users need to specify the committed rate, in Kbps, the committed
burst size, and the excess burst size.
For the two rate three color mode, users need to specify the committed rate in Kbps, the
committed burst size, the peak rate and the peak burst size.
There are two cases for mapping the color of a packet: Color-blind mode and Color-aware mode.
In the Color-blind case, the determination for the packet’s color is based on the metering result. In
the Color-aware case, the determination for the packet’s color is based on the metering result and
the ingress DSCP.
When color-blind or color-aware is not specified, color-blind is the default mode.
The green color packet will be treated as the conforming action, the yellow color packet will be
treated as the exceeding action, and the red color packet will be treated as the violating action.
The replace DSCP action can be performed on packets that conform (GREEN) and packets that
do not conform (YELLOW and RED). If drop YELLOW/RED is selected, the action to replace the
DSCP will not take effect.