APPENDIX A - P ASSWO RD RECOVERY PROCEDURE ...................................................... 512
APPENDIX B - TECHNICAL SPECIFICATIONS .................................................................... 513
APPENDIX C - MITIGATING ARP SPOOFING ATTACKS VIA PACKET CONTENT ACL ... 516
iv
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
INTRODUCTION
The Switch can be managed through the Switch’s serial port, Telnet, 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.
The DES-3528/DES-3552 Series Layer 2 stackable Fast Ethernet Switch Series are members of the D-Link xStack
family. Ranging from 10/100Mbps edge Switches to core gigabit Switches, the xStack Switch family has been futureproof designed to provide a stacking architecture with fault tolerance, flexibility, port density, robust security and
maximum throughput with a user-friendly management interface for the networking professional.
This manual provides a reference for all of the commands contained in the CLI for the xStack
3528P, DES-3528DC, DE S-3552 and DES-3552P s eries of Switches. C onfiguration and managem ent of the Switch
via the Web-based management agent is discussed in the User’s Guide.
NOTE: For the remainder of this manual, all versions of the DES-3528, DES-3528P, DES-3528DC,
DES-3552 and DES-3552P Switches will be referred to as simply the Switch or the DES-3528/52
Series.
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 serial port via an RS-232 DB-9 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.
®
DES-3528, DES-
®
DES-3528 Fast Ethernet Switch
Command Line Interface
Firmware: Build 2.60.017
Copyright(C) 2010 D-Link Corporation. All rights reserved.
UserName:
Figure 1-1. Initial CLI screen
There is no initial username or password. Just press the Enter key twice to display the CLI input cursor − DES-
3528:admin# . This is the command line where all commands are input.
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. Users can
change the default Switch IP address to meet the specification of your networking address scheme.
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.
5
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# config ipif System ipaddress 10.24.73.21/8
The Switch’s MAC addres s 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 Sw itch must be set before it can be managed w ith the Web-based manager. The S witch IP
address can be autom aticall y set using BOOTP or D HCP pro tocols, in which cas e the actua l address as signed t o the
Switch must be known.
The IP address may be set using the Command Line Interface (CLI) over the console serial port as follows:
1. 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 repres ent the IP address to be assigned to the IP inter face
named System and the y’s represent the corresponding subnet mask.
2. Alternatively, users can enter con fig ipif System ip address xxx.xxx.x xx.xxx/z. Where the x’s represent the
IP address to be assig ned t o the IP i nterf ace n am ed System an d the z represents the corr espondi ng num ber
of subnets in CIDR notation.
The IP interface nam ed 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.
Command: config ipif System ipaddress 10.24.73.21/8
Success.
Figure 1-3. Assigning an IP Address screen
In the above exam ple, the Switch w as assigned an IP address of 10.24 .73.21 with a sub net 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, S NMP MIB bro wser and the CLI or via th e Web-based management agent using t he above
IP address to connect to the Switch.
6
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
UserName:
?
clear fdb
USING THE CONSOLE CLI
The DES-3528/52 Series supports a console management interface that allows the user to connect to the Switch’s
management agent via a serial port and a terminal or a computer running a terminal emulation program. The console
can also be used over the network using the TCP/IP Telnet protocol. The console program can be used to configure
the Switch to use an SNMP-based network management software over the network.
This chapter describes how to use the console interface to access the Switch, change its settings, and monitor its
operation.
NOTE: Switch configuration settings are saved to non-volatile RAM using the save command. The
current configuration will then be retained in the Switch’s NV-RAM , and reloa ded when t he Sw itch is
rebooted. If the Switch is rebooted without using the save command, the last configuration saved to
NV-RAM will be loaded.
Connecting to the Switch
The console interface is used by connecting the Switch to a VT100-compatible terminal or a computer running an
ordinary terminal em ulator program (e.g., the HyperTerminal program included with the W indows operating s ystem)
using an RS-232C serial cable. Your terminal parameters will need to be set to:
• VT-100 compatible
• 115200 baud
• 8 data bits
• No parity
• One stop bit
• No flow control
Users can also access the same functions over a Telnet interface. Once users have set an IP address for your Switch,
users can use a Telnet program (in VT-100 compatible terminal mode) to access and control the Switch. All of the
screens are identical, whether accessed from the console port or from a Telnet interface.
After the Switch reboots and users have logged in, the console looks like this:
DES-3528 Fast Ethernet Switch
Command Line Interface
Firmware: Build 2.60.017
Copyright(C) 2010 D-Link Corporation. All rights reserved.
Figure 2-1. Initial Console screen after logging in
Commands are entered at the command prompt, DES-3528:admin# ..
There are a number of he lp f ul f eatur es i nc lu ded i n t he CLI. Entering the ? command will displa y a list of all of the top-
When users enter a command without its required parameters, the CLI will prompt users with a Next possible
completions: message.
Command: config account
Next possible completions:
<username>
Figure 2-3. Example Command Parameter Help
In this case, the comm and config account was entered with the parameter <username>. The CLI will then prom pt
users to enter the <username> with the m ess age, Next possible completions:. Every command in the CL I has this
feature, and complex commands have several layers of parameter prompting.
In addition, after typing an y given com mand plus one space, user s can see all of the next poss ible sub-commands, in
sequential order, by repeatedly pressing the Tab key.
To re-enter the previo us command at the comm and prompt, press the up arr ow cursor key. The previ ous command
will appear at the command prompt.
Command: config account
Next possible completions:
<username>
DES-3528:admin# config account
Command: config account
Next possible completions:
<username>
Figure 2-4. Using the Up Arrow to Re-enter a Command
In the above example, the comm and config account was entered without the requ ired parameter <username>, the
CLI returned the Next possible completions: <username> prompt. The up arrow cursor cont rol ke y was pressed to
re-enter the previous com mand (config account) at the command prompt. Now the appropriat e username can be
entered and the config account 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.
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
traceroute6 upload
DES-3528:admin#
DES-3528:admin# show
DES-3528:admin#
The top-level comm ands consist of commands such as show or config. Most of these commands require one or
more parameter s to narrow the top-level comm and. This is equivalent to show what? or config what? W here the
what? is the next parameter.
For example, if users enter the show comm and with no additional parameters, the CLI will then displa y all of the
possible next parameters.
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 conf igured on the S witc h.
Figure 2-6. Next possible completions: Show Command
9
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
COMMAND SYNTAX
The following symbols are used to describe how command entries are made and values and arguments are specified
in this manual. The online help contained in the CLI and available through the console interface uses the same syntax.
NOTE: All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted
function that changes text case.
<angle brackets>
Purpose Encloses a variable or value that must be specified.
Syntax
Description In the above syntax example, users must supply an IP interface name in the <ipif_name
In the above syntax example, users must specify either admin, or user. Do not type the
vertical bar.
create account admin Tommy
{braces}
Purpose Encloses an optional value or set of option al arguments.
Syntax
Description
Example command
reset {[config | system]} force_agree
In the above syntax example, users have the option to specify config or system. It is not
necessary to specify either optional value, however the effect of the system reset is
dependent on which, if any, value is specified. Therefore, with this example there are three
possible outcomes of performing a system reset. See the following chapter, Basic
Commands for more details about the reset command. Do not type the braces.
reset config
(parentheses)
10
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
(parentheses)
Purpose Indicates at least one or more of the values or arguments in the preceding syntax
enclosed by braces must be specified.
Syntax
Description
Example command
config dhcp_relay {hops <value 1-16> | time <sec 0-65535>}(1)
In the above syntax example, users have the option to specify hops or time or both of
them. The "(1)" following the set of braces indicates at least one argum ent or valu e within
the braces must be specified. Do not type the parentheses.
config dhcp_relay hops 3
Line Editing Key Usage
Delete Deletes the character under the cursor and then shifts the remaining characters in the line
to the left.
Backspace Deletes the character to the left of the cursor and then shifts the remaining characters in
the line to the left.
Left Arrow Moves the cursor to the left.
Right Arrow Moves the cursor to the right.
Up Arrow Repeats the previously entered command. Each time the up arrow is pressed, the
command previous to that displayed appears. This way it is possible to review the
command history for the current session. Use the down arrow to progress sequentially
forward through the command history list.
Down Arrow The down arrow will display the next command in the command history entered in the
current session. This displays each command sequentially as it was entered. Use the up
arrow to review previous commands.
Tab Shifts the cursor to the next field to the left.
Multiple Page Display Control Keys
Space Displays the next page.
CTRL+c Stops the display of remaining pages when multiple pages are to be displayed.
ESC Stops the display of remaining pages when multiple pages are to be displayed.
n Displays the next page.
p Displays the previous page.
q Stops the display of remaining pages when multiple pages are to be displayed.
r Refreshes the pages currently displayed.
a Displays the remaining pages without pausing between pages.
Enter Displays the next line or table entry.
11
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
BASIC SWITCH COMMANDS
The basic Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameters
create account [admin | operator | power_u s er | user] <usern ame 15>
config account <username> {encr ypt [plai n _tex t | sha_1] <password>}
show account
delete account <username>
enable password
encryption
disable password
encryption
show session
show switch
show device_status
show serial_port
config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_ log out [ne ver | 2_m inutes | 5_ minutes |
Parameters admin – Specifies that the user account wi ll be set to admin.
Restrictions
Example usage:
To create an administrator-level user account with the username “dlink”.
Command: create account admin dlink
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
This command is used to create user accounts that consist of a username of 1 to 15
characters and a password of 0 to 15 characters. Up to 8 user accounts can be created.
operator – Specifies that the user account will be set to operator.
power_user – Specifies that the user account will be set to power user.
user – Specifies that the user account will be set to user.
<username 15> - Enter the account username here. This name can be up to 15 characters
long.
Only Administrator-level users can issue this command.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
NOTICE: In case of lost passwords or password corruption, please refer to the D-Link website and
the White Paper entitled “Password Recovery Procedure”, which will guide you through the steps
necessary to resolve this issue.
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.
<username> − Name of the account. The account must already be defined.
plain_text − Select to specify the password in plain text form.
sha_1 − Select to specify the password in the SHA-I enacrpted form.
password − The password for the user account.
The length for of password in plain-text form and in encrypted form are different. For the
plain-text form, passwords must have a minimum of 0 character and can have a maximum of
15 characters. For the encrypted form password, the length is fixed to 35 bytes long. The
assword is case-sensitive.
Restrictions
Example usage:
To configure the user password of “dlink” account:
Only Administrator-level users can issue this command.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
13
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# config account dlink
DES-3528:admin#
DES-3528:admin# show account
DES-3528:admin#
DES-3528:admin# delete account System
DES-3528:admin#
Command: config account dlink
Enter a old password:****
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
show account
Purpose
Syntax show account
Description
Parameters
Restrictions
Example usage:
To display the accounts that have been created:
Command: show account
Current Accounts:
Username Access Level
--------------- -----------dlink Admin
Total Entries: 1
Used to display user accounts.
This command is used to display all user accounts created on the Switch. Up to 8 user
accounts can exist at one time.
None.
Only Administrator-level users can issue this command.
This command is used to delete an existing entry.
<username> − Name of the user who will be deleted.
Only Administrator-level users can issue this command.
Used to enable password encryption.
The user account configuration information will be stored in the configuration file, and can be
14
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
applied to the system later.
DES-3528:admin# enable password encryption
DES-3528:admin#
DES-3528:admin# disable password encryption
DES-3528:admin#
enable password encryption
If the password encryption is enabled, the password will be in encrypted form.
When password encryption is diabled, if the user specifies the password in plain text form,
the password will be in plain 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 cannot be
reverted to the plaintext.
Parameters
Restrictions
Example usage:
To enable password encryption:
Command: enable password encryption
Success.
None.
Only Administrator-level users can issue this command.
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.
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 cannot be
reverted to the plaintext.
Parameters
Restrictions
Example usage:
To disable password encryption:
Command: disable password encryption
Success.
None.
Only Administrator-level users can issue this command.
show session
Purpose
Syntax show session
Description
Parameters
Restrictions
Example usage:
Used to display a list of currently logged-in users.
This command displays a list of all the users that are logged-in at the time the command is
issued.
None.
Only Administrator and Operator-level users can issue this command.
15
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show session
CTRL+CESCqQuit SPACEn Next Page p Previous Page rRefresh
DES-3528:admin# show switch
CTRL+CESCqQuit SPACEn Next Page ENTER Next Entry aAll
To display the way that the users logged in:
Command: show session
ID Live Time From Level Name
--- --------- ------------ ----- ------ 8 00:00:16.250 Serial Port 5 Anonymous
Total Entries: 1
show switch
Purpose
Syntax show switch
Description
Parameters
Restrictions
Example usage:
To display the Switch’s information:
Command: show switch
Device Type : DES-3528 Fast Ethernet Switch
MAC Address : 1C-AF-F7-AD-33-20
IP Address : 10.90.90.90 (Manual)
VLAN Name : default
Subnet Mask : 255.0.0.0
Default Gateway : 0.0.0.0
Boot PROM Version : Build 1.00.B008
Firmware Version : Build 2.60.B010
Hardware Version : A4
Serial Number : P1UQ3A4000012
System Name :
System Location :
System Uptime : 0 days, 0 hours, 3 minutes, 58 seconds
System Contact :
Spanning Tree : Disabled
GVRP : Disabled
IGMP Snooping : Disabled
MLD Snooping : Disabled
VLAN Trunk : Disabled
Telnet : Enabled (TCP 23)
Web : Enabled (TCP 80)
SNMP : Disabled
Used to display general information about the Switch.
This command displays information about the Switch.
None.
None.
show device_status
Purpose
Syntax show device_status
Description
Parameters
Used to display the current Switch’s power and fan status.
This command displays status of both the Switch’s internal and external power and the fan
status.
None.
16
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show device_status
DES-3528:admin#
DES-3528:admin#show serial_port
DES-3528:admin#
show device_status
Restrictions
Example usage:
To display the Switch’s device status:
Command: show device_status
Internal Power: Active
External Power: Fail
None.
show serial_port
Purpose
Syntax show serial_port
Description
Parameters
Restrictions
Example usage:
Used to display the current serial port settings.
This command displays the current serial port settings.
None.
None
To display the serial port setting:
Command: show serial_port
Baud Rate : 115200
Data Bits : 8
Parity Bits : None
Stop Bits : 1
Auto-Logout : Never
2_minutes | 5_minutes | 10_minutes | 15_minutes]}(1)
This command is used to configure the serial port’s baud rate and auto logout settings.
baud_rate [9600 | 19200 | 38400 | 115200] − The serial bit rate that will be used to
communicate with the management host. There are four options: 9600, 19200, 38400,
115200. Factory default setting is 115200.
never − No time limit on the length of time the console can be open with no user input.
2_minutes − The console will log out the current user if there is no user input for 2 minutes.
5_minutes − The console will log out the current user if there is no user input for 5 minutes.
10_minutes − The console will log out the current user if there is no user input for 10
minutes.
15_minutes− The console will log out the current user if there is no user input for 15
minutes.
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure baud rate:
17
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
NOTE: If a user configures the serial port’s baud rate, the baud rate will take effect and save
immediately. Baud rate settings will not change even if the user resets or reboots the Switch. The
Baud rate will only change when the user configures it again. The serial port’s baud rate setting is not
stored in the Switch’s configuration file. Resetting the Switch will not restore the baud rate to the
enable clipaging
Purpose
Syntax enable clipaging
Description
Parameters
Restrictions
Example usage:
To enable pausing of the screen display when the show command output reaches the end of the page:
Command: enable clipaging
Success.
Used to pause the scrolling of the console screen when a command displays more than one
page.
This command is used when issuing a command which causes the console screen to rapidly
scroll through several pages. This command will cause the console to pause at the end of
each page. The default setting is enabled.
None.
Only Administrator and Operator-level users can issue this command.
disable clipaging
Purpose
Used to disable the pausing of the console screen scrolling at the end of each pa ge when a
command displays more than one screen of information.
Syntax disable clipaging
Description
Parameters
Restrictions
Example usage:
To disable pausing of the screen display when show command output reaches the end of the page:
Command: disable clipaging
Success.
This command is used to disable the pausing of the console screen at the end of each page
when a command would display more than one screen of information.
None.
Only Administrator and Operator-level users can issue this command.
telnet
Purpose
Used to login the remote device system through the network.
18
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528 Gigabit Ethernet Switch
Command Line Interface
Firmware: Build 2.60.B010
Copyright(C) 2009 D-Link Corporation. All rights reserved.
UserName:
This command is used when the manager want to manage the device system which isn’t on
local. So can use this command to login in the remote system which is located on other side.
If connect successful, some actions can be done as local.
<ipaddr> − The network ip address. This is the destination which wa nts to login.
<value 1-65535> − The TCP port number. TCP ports are numbered between 1 and 65535.
The “well-known” TCP port for the Telnet protocol is 23.
Only Administrator and Operator-level users can issue this command.
Used to enable communication with and management of the Switch using the Telnet
protocol.
This command is used to enable the Telnet protocol on the Switch. The user can specify the
TCP or UDP port number the Switch will use to listen for Telnet requests.
<tcp_port_number 1-65535>− The TCP port number. TCP ports are numbered between 1
and 65535. The “well-known” TCP port for the Telnet protocol is 23.
Only Administrator and Operator-level users can issue this command.
Used to disable the Telnet protocol on the Switch.
This command is used to disable the Telnet protocol on the Switch.
None.
Only Administrator and Operator-level users can issue this command.
19
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# disable telnet
DES-3528:admin#
DES-3528:admin# enable web 80
DES-3528:admin#
DES-3528:admin# disable web
DES-3528:admin#
To disable the Telnet protocol on the Switch:
Command: disable telnet
Success.
enable web
Purpose
Syntax enable web <tcp_port_number 1-65535>
Description
Parameters
Restrictions
Example usage:
To enable HTTP and configure port number:
Command: enable web 80
Success.
Used to enable the HTTP-based management software on the Switch.
This command is used to enable the Web-based management software on the Switch. The
user can specify the TCP port number the Switch will use to listen for Telnet requests.
<tcp_port_number 1-65535> − The TCP port number. TCP ports are numbered between 1
and 65535. The “well-known” port for the Web-based management software is 80.
Only Administrator and Operator-level users can issue this command.
disable web
Purpose
Syntax disable web
Used to disable the HTTP-based management software on the Switch.
Description
Parameters
Restrictions
Example usage:
To disable HTTP:
Command: disable web
Success.
This command disables the Web-based management software on the Switch.
None.
Only Administrator and Operator-level users can issue this command.
Parameters config <config_id 1-2> – Specify to save current settings to configuration file 1 or 2.
Used to save changes in the Switch’s configuration to non-volatile RA M.
This command is used to enter the current Switch configuration into non-volatile RAM. The
saved Switch configuration will be loaded into the Switch’s memory each time the Switch is
restarted.
log – Specify to save current Switch log to NV-RAM.
20
save
all – Specify to save all configuration settings. If nothing is specified after “save”, the Switch
DES-3528:admin# save
DES-3528:admin#
DES-3528:admin# reboot
Please wait, the switch is rebooting...
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
will save all.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To save the Switch’s current configuration to non-volatile RAM:
Used to reset the Switch to the factory default settings.
This command is used to restore the Switch’s configuration to the default settings assigned
from the factory.
config− If the keyword ‘config’ is specified, all of the factory default settings are restored on
the Switch including the IP address, user accounts, and the Switch history log. The Switch
will not save or reboot.
system− If the keyword ‘system’ is specified all of the factory default settings are restored on
the Switch. The Switch will save and reboot after the settings are changed to default.
Rebooting will clear all entries in the Forwarding Data Base.
force_agree− When force_agree is specified, the reset command will be executed
immediatedly without further confirmation.
If no parameter is specified, the Switch’s current IP address, user accounts, and the Switch
history log are not changed. All other parameters are restored to the factory default settings.
The Switch will not save or reboot.
NOTE: The serial port baud rate will not be changed by the reset command.
It will not be restored to the factory default setting.
Restrictions
Example usage:
Only Administrator-level users can issue this command.
21
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# reset config
DES-3528:admin#
DES-3528:admin# login
UserName:
DES-3528:admin# logout
To restore all of the Switch’s parameters to their default values:
Command: reset config
Are users sure to proceed with system reset?(y/n)y
Success.
login
Purpose
Syntax login
Description
Parameters
Restrictions
Example usage:
To initiate the login procedure:
Command: login
Used to log in a user to the Switch’s console.
This command is used to initiate the login procedure. The user will be prompted for a
Username and Password.
None.
None.
logout
Purpose
Syntax logout
Description
Parameters
Used to log out a user from the Switch’s console.
This command terminates the current user’s session on the Switch’s console.
None.
Parameters default - The default setting of terminal width. The default value is 80.
Restrictions
Example usage:
To configure the current terminal width:
Command: config terminal width 120
Success.
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.
<value 80-200> - The terminal width which will be configured. The width is betw ee n 80 and
200 characters.
None.
show terminal width
Purpose
Syntax show terminal width
Description
Parameters
Restrictions
Example usage:
To display the configuration of current terminal width:
Command: show terminal width
Global terminal width : 80
Current terminal width : 80
The command is used to display the configuration of current terminal width.
The command is used to display the configuration of current terminal width.
None.
None.
23
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
The Modify Banner and Pr om pt comm ands in the Com mand Line I nterf ace (C LI) ar e listed ( along w ith the appropr iate
parameters) in the following table.
config command prompt
Purpose
Syntax config command_prompt [<string 16> | username | default]
Description
Parameters string 16 –The command prompt can be changed by entering a new name of no more that 16
Restrictions
Example usage:
To modify the command prompt to “AtYourService”:
Command: config command_prompt AtYourService
Success.
Used to configure the command prompt.
This command is used to change the command prompt.
characters.
username – The command prompt will be changed to the login username.
default – The command prompt will reset to factory default command prompt.
Only Administrator and Operator-level users can issue this command. Other restrictions
include:
•If the “reset” command is executed, the modified command prompt will remain
modified. However, the “reset config/reset system” command will reset the
command prompt to the original factory banner.
config greeting _message
Purpose
Syntax config greeting _message {default}
Description
Parameters default – If the user enters default to the modify banner command, then the banner will be
Used to configure the login bann er (greet in g m es s age).
This command is used to modify the login banner (greeting message).
reset to the original factory banner.
To open the Banner Editor, click enter after typing the config greeting_message command.
Type the information to be displayed on the banner by using the commands described on the
Banner Editor:
Quit without save: Ctrl+C
Save and quit: Ctrl+W
Move cursor: Left/Right/Up/Down
Delete line: Ctrl+D
24
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
Erase all setting: Ctrl+X
DES-3528:admin#config greeting_message
config greeting _message
Reload original setting: Ctrl+L
Restrictions
Example usage:
To modify the banner:
Command: config greeting_message
Greeting Messages Editor
================================================================================
DES-3528 Fast Ethernet Switch
Command Line Interface
Firmware: Build 2.60.017
Copyright(C) 2010 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
Only Administrator and Operator-level users can issue this command. Other restrictions
include:
•If the “reset” command is executed, the modified banner will remain modified.
However, the “reset config/reset system” command will reset the modified banner
to the original factory banner.
• The capacity of the banner is 6*80. 6 Lines and 80 characters per line.
• Ctrl+W will only save the modified banner in the DRAM. Users need to type the
“save” command to save it into FLASH.
•Only valid in threshold level.
show greeting_message
Purpose
Syntax show greeting_message
Description
Parameters
Restrictions
Example usage:
To view the currently configured greeting message:
Used to view the currently configured greeting message configured on the Switch.
This command is used to view the currently configured greeting message on the Switch.
None.
Only Administrator and Operator-level users can issue this command.
25
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin#show greeting_message
DES-3528:admin#
Command: show greeting_message
================================================================================
DES-3528 Fast Ethernet Switch
Command Line Interface
Firmware: Build 2.60.017
Copyright(C) 2010 D-Link Corporation. All rights reserved.
================================================================================
26
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
SWITCH PORT COMMANDS
The Switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
This command is used to configure the Switch’s Ethernet ports. Only the ports listed in the
<portlist> will be affected.
all − Configure all ports on the Switch.
<portlist> − Specifies a port or range of ports to be configured.
speed – Allows the user to adjust the speed for a port or range of ports. The user has a
choice of the following:
auto − Enables auto-negotiation for the specified range of ports.
[10 | 100 | 1000] − Configures the speed in Mbps for the specified range of ports.
Gigabit ports are statically set to 1000. When setting 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 interfaces.
[half | full] − Configures the specified range of ports as either full-duplex or half-duplex.
flow_control [enable | disable] – Enable or disable flow control for the specified ports.
learning [enable | disable] − Enables or disables the MAC address learning on the specified
range of ports.
medium_type – Specify the medium type while the configured ports are combo ports. It’s an
optional parameter for configuring medium type combo ports. For no combo ports, user does
not need to specify medium_type in the commands.
state [enable | disable] − Enables or disables the specified range of ports.
description − Enter an alphanumeric string of no more than 32 characters to describe a
selected port interface.
clear description – To clear the description.
mdix [auto | normal | cross] – MDIX mode can be specified as auto, normal, or cross. If set to
normal state, the port is in MDIX mode and can be connected to a port on an end node, such
as a server or PC, using a straight-through cable. If set to cross state, the port is in MDI
mode, and can be connected to a port on another Switch or hub that uses MDI-X ports
through a straight-through cable. If set to auto state, the ports can be connected to any
connections by using straight-through or cross-over cable. The ports make the necessary
adjustments to accommodate either cable for correct operation.
Restrictions
Only Administrator and Operator-level users can issue this command.
27
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# config ports 1-3 speed 10_full learning enable state enable
DES-3528:admin#
DES-3528:admin# show ports
CTRL+CESCqQuit SPACEn Next Page p Previous Page rRefresh
DES-3528:admin# show ports description
Command: show ports description
Example usage:
To configure the speed of ports 1-3 of unit 1 to be 10 Mbps, full duplex, learning enabled, state enabled and
flow control enabled:
To display the configuration of all ports on a Switch:
Command: show ports
Port State/ Settings Connection Address
MDIX Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning
------- -------- --------------------- ---------------------- -------- 1 Enabled Auto/Disabled Link Down Enabled
Auto
2 Enabled Auto/Disabled Link Down Enabled
Auto
3 Enabled Auto/Disabled Link Down Enabled
Auto
4 Enabled Auto/Disabled Link Down Enabled
Auto
5 Enabled Auto/Disabled Link Down Enabled
Auto
6 Enabled Auto/Disabled Link Down Enabled
Auto
7 Enabled Auto/Disabled Link Down Enabled
Auto
8 Enabled Auto/Disabled Link Down Enabled
Auto
9 Enabled Auto/Disabled Link Down Enabled
Auto
Used to display the current configuration of a range of ports.
This command is used to display the current configuration of a range of ports.
<portlist> − Specifies a port or range of ports to be displayed.
description – Adding this parameter to the show ports command indicates that a previously
entered port description will be included in the display.
err_disabled – Use this to list disabled ports including connection status and reason for being
disabled.
details – Use this to show the detail information of ports.
media_type – Specifies the media type used.
None.
Example usage:
To display the configuration of all ports on a standalone Switch, with description:
28
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
CTRL+CESCqQuit SPACEn Next Page p Previous Page rRefresh
DES-3528:admin# show ports err_disabled
DES-3528:admin#
DES-3528:admin# show ports details
CTRL+CESCqQuit SPACEn Next Page p Previous Page rRefresh
Port State/ Settings Connection Address
MDIX Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning
------- -------- --------------------- ---------------------- -------- 1 Enabled Auto/Disabled Link Down Enabled
Auto
Description:
2 Enabled Auto/Disabled Link Down Enabled
Auto
Description:
3 Enabled Auto/Disabled Link Down Enabled
Auto
Description:
4 Enabled Auto/Disabled Link Down Enabled
Auto
Description:
5 Enabled Auto/Disabled Link Down Enabled
Auto
Description:
6 Enabled Auto/Disabled Link Down Enabled
Auto
Description:
Example usage:
To display disabled ports i n cludi ng c on nect ion s tat us and r eason for being disabled on a standalone Switch:
To display detail information of ports on the Switch:
Command: show ports details
Port : 1
--------------------
Port Status : Link Down
Description :
HardWare Type : Fast Ethernet
MAC Address : 00-22-B0-10-8A-01
Bandwidth : 100000Kbit
Auto-Negotiation : Enabled
Duplex Mode : Full Duplex
Flow Control : Disabled
MDI : Auto
Address Learning : Enabled
Last Clear of Counter : 0 hours 3 mins ago
BPDU Hardware Filtering Mode: Disabled
Queuing Strategy : FIFO
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# enable jumbo_frame
DES-3528:admin#
DES-3528:admin# disable jumbo_frame
DES-3528:admin#
DES-3528:admin# show jumbo_frame
DES-3528:admin#
enable jumbo_frame
Purpose
Syntax enable jumbo_frame
Description
Parameters
Restrictions
Example usage:
To enabled the jambo frame:
Command: enable jumbo_frame
The maximum size of jumbo frame is 9216 bytes.
Success.
Used to enable the jumbo frame function on the Switch.
This command will allow ethernet frames larger than 1536 bytes to be processed by the
Switch. The maximum size of the jumbo frame may not exceed 9220 Bytes tagged.
None.
Only Administrator and Operator-level users can issue this command.
disable jumbo_frame
Purpose
Syntax
Used to disable the jumbo frame function on the Switch.
disable jumbo_frame
Description
Parameters
Restrictions
Example usage:
To disable the jumbo frame:
Command: disable jumbo_frame
Success.
This command will disable the jumbo frame function on the Switch.
None.
Only Administrator and Operator-level users can issue this command.
Used to show the status of the jumbo frame function on the Switch.
show jumbo_frame
This command will show the status of the jumbo frame function on the Switch.
None.
None.
Example usage:
To show the jumbo frame status currently configured on the Switch:
Command: show jumbo_frame
Jumbo Frame State : Disabled
Maximum Frame Size : 1536 Bytes
30
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
This command allows for the configuration of the port security feature. Only the ports listed
in the <portlist> are affected.
portlist − Specifies a port or range of ports to be configured.
all − Configure port security for all ports on the Switch.
admin_state [enable | disable] – Enable or disable port security for the listed ports.
max_learning_addr <max_lock_no 0-16384> − Use this to limit the number of MAC
addresses dynamically listed in the FDB for the ports.
lock_address_mode [permanent | deleteontimout | deleteonreset] – Indicates the method of
locking addresses. The user has three choices:
permanent – The locked addresses will not age out after the aging timer expires.
deleteontimeout – The locked addresses will age out after the aging timer expires.
deleteonreset – The locked addresses will not age out until the Switch has been
reset.
vlan – Specifies the VLAN name used.
vlanid – Specifies the VLAN ID used.
max_learning_addr – Specifies the maximum learning address value. To specify this value to
have no limit, select the ‘no_limit’ option.
Restrictions
Example usage:
To configure the port security:
Only Administrator and Operator-level users can issue this command.
31
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
Used to delete a port security entry by MAC address, port number and VLAN ID.
mac_address <macaddr >
This command is used to delete a single, previously learned port security entry by port,
VLAN name, and MAC address.
vlan name − Enter the corresponding VLAN name of the port to delete.
vlanid – Specifies the VLAN ID used.
mac_address <macaddr> − Enter the corresponding MAC address, previously learned by the
port, to delete.
Only Administrator and Operator-level users can issue this command.
Used to clear MAC address entries learned from a specified port for the port security
function.
<vidlist>]}}
This command is used to clear MAC address entries which were learned by the Switch by a
specified port. This command only relates to the port security function.
ports − Specifies a port or port range to clear.
vlan – Specifies the VLAN name used.
vlanid – Specifies the VLAN ID used.
Only Administrator and Operator-level users can issue this command.
Purpose
Used to display the current port security configuration.
32
show port_security
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
This command is used to display port security information of the Switch’s ports. The
information displayed includes port security trap/log state, admin state, maximum number of
learning address and lock mode.
ports − Specifies a port or range of ports to be viewed.
vlan – Specifies the VLAN name used.
vlanid – Specifies the VLAN ID used.
None.
enable port_security trap_log
Purpose
Syntax enable port_security trap_log
Description This command, along with the disable port_security trap_log, will enable and disable the
Parameters
Restrictions
Example usage:
To enable the port security trap log setting:
Command: enable port_security trap_log
Success.
Used to enable the trap log for port security.
sending of log messages to the Switch’s log and SNMP agent when the port security of the
Switch has been triggered.
None.
Only Administrator and Operator-level users can issue this command.
disable port_security trap_log
Purpose
Syntax disable port_security trap_log
Used to disable the trap log for port security.
DescriptionThis command, along with the enable port_security trap_log, will enable and disable the
sending of log messages to the Switch’s log and SNMP agent when the port security of the
Switch has been triggered.
Parameters
None.
33
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# disable port_security trap_log
DES-3528:admin#
DES-3528:admin# config port_security system max_learning_addr 256
DES-3528:admin#
max_learning_addr - Specifies the maximum number of port security entries that can be
disable port_security trap_log
Restrictions
Example usage:
To disable the port security trap log setting:
Command: disable port_security trap_log
Success.
Only Administrator and Operator-level users can issue this command.
config port_security system max_learning_addr
Purpose
Syntax config port_security system max_learning_addr [<max_lock_no 1-16384> | no_limit]
Description
Parameters max_learning_addr - Specifies the maximum number of port security entries that can be
This command sets the maximum number of port security entries that can be authorized
system wide.
There are four levels of limitations on the learned entry number; for the entire system, for a
port, for a VLAN, and for a specific VLAN on a port. If any limitation is exceeded, the new
entry will be discarded.
The setting for system level maximum learned users must be greater than the total of
maximum learned users allowed on all ports.
learned by the system. If the setting is smaller than the number of current learned entries on
all enabled ports, the command will be rejected.
<max_lock_no 1-16384> - Enter the maximum learning address value here. This value must
be between 1 and 16384.
no_limit - No limitation on the number of port security entries that can be learned by the
system. By default, the number is set to no_limit.
Restrictions
Example usage:
To configure the maximum number of port security entries on the Switch to be 256:
Command: config port_security system max_learning_addr 256
Success.
Only Administrator and Operator-level users can issue this command.
This command sets the maximum number of port security entries that can be learned on a
specific VLAN.
[<max_lock_no 0-16384> | no_limit]
There are four levels that limit the number of learned entries; the entire system, a port, a
VLAN, and a specific VLAN on a port. If any limitation is exceeded, the new entry will be
discarded.
<vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long.
vlanid - Specifies a list of VLANs by VLAN ID.
<vidlist> - Enter the VLAN ID list here.
34
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
learned by this VLAN. If this parameter is set to 0, it means that no user can be authorized
on this VLAN. If the setting is lower than the number of current learned entries on the VLAN,
the command will be rejected. The default value is “no_limit”
<max_lock_no 0-16384> - Enter the maximum number of port security entries that can be
learned here. This value must be between 0 and n.
no_limit - No limitation on the number of port security entries that can be learned by a
specific VLAN.
Restrictions
Example usage:
To configure the maximum number of VLAN-based port security entries on VLAN 1 to be 64:
current_box_id – Identifies the Switch being configured. Range is 1 to 8.
new_box_id – The new ID being assigned to the Switch (box). Range is 1 to 8.
•auto – Allows the box ID to be assigned automatically.
36
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin#
DES-3528:admin# show stack_information
DES-3528:admin#
DES-3528:admin# config stacking mode disable
Change Box bootmode may cause devices work restart, still continue? (y/n)y
show stack_information
Purpose Used to display the stack information table.
Syntax
Description This command display stack information.
Parameters None.
Restrictions Only Administrator and Operator and Power-User-level users can issue this command.
Usage example:
To display stack information:
Command: show stack_information
Topology :Duplex_Chain
My Box ID :1
Master ID :1
Box Count :1
Force Master Role: Disabled
Box User Prio- Prom Runtime H/W
ID Set Type Exist rity MAC version version version
1 Auto DES-3528 Exist 32 00-22-B0-10-8A-00 1.00.B008 2.60.017 A2
2 - NOT_EXIST No
3 - NOT_EXIST No
4 - NOT_EXIST No
5 - NOT_EXIST No
6 - NOT_EXIST No
7 - NOT_EXIST No
8 - NOT_EXIST No
show stack_information
config stacking_mode
Purpose Used to configure the stacking mode.
Syntax
Description This command will enable or disable the stacking mode for the Switch. When enabled,
Parameters
Restrictions Only Administrator-level users can issue this command.
Usage example:
To disable the stacking mode:
Command: config stacking mode disable
config stacking_mode [disable(0) | enable(1)]
the last two ports on the rear of the Switch will be enabled for stacking.
enable | disable – Use these parameters to enable or disable the stacking mode for the
Switch. Once this command is executed, it will cause the Switch to reboot. Before
configuring the stacking mode of a Switch to disable status, the Switch must be
physically removed from the stacking swtitches.
37
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show stacking mode
DES-3528:admin#
DES-3528:admin# show stack_device
DES-3528:admin#
show stacking_mode
Purpose Used to view the current stacking mode.
Syntax
Description This command will display whether the current stacking mode is enabled or disabled.
Parameters None.
Restrictions Only Administrator and Operator and Power-User-level users can issue this command.
Usage example:
To view the current stacking mode:
Command: show stacking mode
Stacking mode : Enabled
show stacking_mode
show stack_device
Purpose Used to display the information for devices in the stack.
Syntax
Description Used to display the information for devices in the stack.
Parameters None.
Restrictions None.
Purpose This command is used to enable or disable the force master role.
Syntax
Description If state is enabled, when device is in election state, it still uses old priority setting and
Parameters
config stacking force_master_role state [enable | disable]
MAC to compare device priority. After stacking is stable, master’s priority will become
zero. If stacking topology change again, Master will use priority zero and MAC address to
determine who new primary master is.
force_master_role - Enable or disable the Switch’s Stacking Force Master Role state.
Default setting is disabled.
enable - Specifies that Switch's stacking force master role will be enabled.
disable - Specifies that Switch's stacking force master role will be disabled.
Restrictions Only Administrator and Operator and Power-User-level users can issue this command.
Usage example:
To enable stacking force master role state:
38
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# config stacking force_master_role state enable
DES-3528:admin#
Command: config stacking force_master_role state enable
Success.
39
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
NETWORK MANAGEMENT (SNMP)COMMANDS
The Switch supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. Users can specify
which version of the SNMP users want to use to monitor and control the Switch. The three versions of SNMP vary in
the level of security provided between the management station and the network device. The following table lists the
security features of the three SNMP versions:
SNMP
Version
v1 Community String
v2c Community String
v3 Username
v3 MD5 or SHA
v3 MD5 DES or SHA DES
The network management commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Authentication Method Description
Community String is used for authentication − NoAuthNoPriv
Community String is used for authentication − NoAuthNoPriv
Username is used for authentication − NoAuthNoPriv, AuthNoPriv or
AuthPriv
Authentication is based on the HMAC-MD5 or HMAC-SHA algorithms −
AuthNoPriv
Authentication is based on the HMAC-MD5 or HMAC-SHA algorithms −
AuthPriv.
DES 56-bit encryption is added based on the CBC-DES (DES-56)
<view_name 32>}(1)
delete snmp group <groupname 32>
show snmp groups
create snmp host [<ipad dr > | v6host <ip v6 ad dr>] [v1 | v2c | v3 [noauth_ nopr i v | auth_no pr iv |
This command creates a new SNMP user and adds the user to an SNMP group that is also
created by this command. SNMP ensures:
Message integrity − Ensures that packets have not been tampered with during transit.
Authentication − Determines if an SNMP message is from a valid source.
Encryption − Scrambles the contents of messages to prevent it from being viewed by an
<user_name 32>− An alphanumeric name of up to 32 characters that will identify the new
SNMP user.
<groupname 32>− An alphanumeric name of up to 32 characters that will identify the SNMP
group the new SNMP user will be associated wit h.
encrypted – Allows the user to choose a type of authorization for authentication using SNMP.
The user may choose:
by_password – Requires the SNMP user to enter a password for authentication and
privacy. The password is defined by specifying the auth_password below. This
method is recommended.
by_key – Requires the SNMP user to enter a encryption key for authentication and
privacy. The key is defined by specifying the key in hex form below. This method is
not recommended.
auth− The user may also choose the type of authentication algorithms used to authenticate
the snmp user. The choices are:
md5 − Specifies that the HMAC-MD5-96 authentication level will be used. md5 may be
utilized by entering one of the following:
41
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# create snmp user dlink default encrypted by_password auth md5 canadian
DES-3528:admin#
DES-3528:admin# delete snmp user dlink
DES-3528:admin#
create snmp user
•<auth password 8-16> - An alphanumeric string of between 8 and 16 characters that
will be used to authorize the agent to receive packets for the host.
•<auth_key 32-32> - Enter an alphanumeric string of exactly 32 characters, in hex
form, to define the key that will be used to authorize the agent to receive packets for
the host.
sha − Specifies that the HMAC-SHA-96 authentication level will be used.
• <auth password 8-20> - An alphanumeric string of between 8 and 20 characters that
will be used to authorize the agent to receive packets for the host.
•<auth_key 40-40> - Enter an alphanumeric string of exactly 40 characters, in hex
form, to define the key that will be used to authorize the agent to receive packets for
the host.
priv – Adding the priv (privacy) parameter will allow for encryption in addition to the
authentication algorithm for higher security. The user may choose:
des – Adding this parameter will allow for a 56-bit encryption to be added using the DES-56
standard using:
•<priv_password 8-16> - An alphanumeric string of between 8 and 16 characters that
will be used to encrypt the contents of messages the host sends to the agent.
•<priv_key 32-32> - Enter an alphanumeric key string of exactly 32 characters, in hex
form, that will be used to encrypt the contents of messages the host sends to the
agent.
none – Adding this parameter will add no encryption.
Restrictions
Example usage:
To create an SNMP user on the Switch:
priv none
Command: create snmp user dlink default encrypted by_password auth md5 canadian priv
none
Success.
Only Administrator-level users can issue this command.
delete snmp user
Purpose
Syntax delete snmp user <user_name 32>
Description
Parameters
Restrictions
Used to remove an SNMP user from an SNMP group.
This command removes an SNMP user from its SNMP group.
<user_name 32>− An alphanumeric string of up to 32 characters that identifies the SNMP
user that will be deleted.
Only Administrator-level users can issue this command.
Example usage:
To delete a previously entered SNMP user on the Switch:
Command: delete snmp user dlink
Success.
show snmp user
42
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show snmp user
DES-3528:admin#
DES-3528:admin# create snmp view dlinkview 1.3.6 view_type included
DES-3528:admin#
show snmp user
Purpose
Syntax show snmp user
Description
Parameters
Restrictions
Example usage:
To display the SNMP users currently configured on the Switch:
Command: show snmp user
Username Group Name VerAuthPriv
-------- ------------- ----------initial initial V3 NoneNone
Total Entries: 1
Used to display information about each SNMP username in the SNMP group username
table.
This command displays information about each SNMP username in the SNMP group
username table.
None.
None.
create snmp view
Purpose Used to assign views to community strings to limit which MIB objects and SNMP manager
can access.
Syntax create snmp view <view_name 32> <oid> view_type [included | excluded]
Description This command assigns views to community strings to limit which MIB objects an SNMP
manager can access.
Parameters <view_name 32> − An alphanumeric string of up to 32 characters that identifies the SNMP
view that will be created.
<oid>− The object ID that identifies an object tree (MIB tree) that will be included or
excluded from access by an SNMP manager.
view type – Sets the view type to be:
•included − Include this object in the list of objects that an SNMP manager can
access.
•excluded − Exclude this object from the list of objects that an SNMP manager can
access.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To create an SNMP view:
Command: create snmp view dlinkview 1.3.6 view_type included
Used to remove an SNMP view entry previously created on the Switch.
43
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# delete snmp view dlinkview all
DES-3528:admin#
DES-3528:admin# show snmp view
DES-3528:admin#
agent on the Switch. One or more of the following characteristics can be associated with the
delete snmp view
Description
Parameters
Restrictions
Example usage:
To delete a previously configured SNMP view from the Switch:
Command: delete snmp view dlinkview all
Success.
This command is used to remove an SNMP view previously created on the Switch.
<view_name 32> − An alphanumeric string of up to 32 characters that identifies the SNMP
view to be deleted.
all − Specifies that all of the SNMP views on the Switch will be deleted.
<oid> − The object ID that identifies an object tree (MIB tree) that will be deleted from the
Switch.
Only Administrator-level users can issue this command.
show snmp view
Purpose
Syntax show snmp view {<view_name 32>}
Used to display an SNMP view previously created on the Switch.
Description
Parameters
Restrictions
Example usage:
To display SNMP view configuration:
Command: show snmp view
Vacm View Table Settings
View Name Subtree View Type
--------- ---------- --------- ReadView 1 Included
WriteView 1 Included
NotifyView 1.3.6 Included
restricted 1.3.6.1.2.1.1 Included
restricted 1.3.6.1.2.1.11 Included
restricted 1.3.6.1.6.3.10.2.1 Included
restricted 1.3.6.1.6.3.11.2.1 Included
restricted 1.3.6.1.6.3.15.1.1 Included
CommunityView 1 Included
CommunityView 1.3.6.1.6.3 Excluded
CommunityView 1.3.6.1.6.3.1 Included
Total Entries: 11
This command displays an SNMP view previously created on the Switch.
<view_name 32>− An alphanumeric string of up to 32 characters that identifies the SNMP
view that will be displayed.
None.
create snmp community
Purpose
Used to create an SNMP community string to define the relationship between the SNMP
manager and an agent. The community string acts like a password to permit access to the
44
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
community string:
DES-3528:admin# create snmp community dlink view ReadView read_write
DES-3528:admin#
DES-3528:admin# delete snmp community dlink
DES-3528:admin#
create snmp community
An Access List of IP addresses of SNMP managers that are permitted to use the community
string to gain access to the Switch’s SNMP agent.
An MIB view that defines the subset of all MIB objects that will be accessible to the SNMP
community.
read_write or read_only level permission for the MIB objects accessible to the SNMP
community.
Command: create snmp community dlink view ReadView read_write
Success.
This command is used to create an SNMP community string and to assign access-limiting
characteristics to this community string.
<community_string 32> − An alphanumeric string of up to 32 characters that is used to
identify members of an SNMP community. This string is used like a password to give remote
SNMP managers access to MIB objects in the Switch’s SNMP agent.
view <view_name 32> − An alphanumeric string of up to 32 characters that is used to identify
the group of MIB objects that a remote SNMP manager is allowed to access on the Switch.
read_only − Specifies that SNMP community members using the community string created
with this command can only read the contents of the MIBs on the Switch.
read_write− Specifies that SNMP community members using the community string created
with this command can read from and write to the contents of the MIBs on the Switch.
Only Administrator-level users can issue this command.
delete snmp community
Purpose
Syntax delete snmp community <community_string 32>
Description
Parameters
Restrictions
Example usage:
To delete the SNMP community string “dlink”:
Command: delete snmp community dlink
Success.
show snmp community
Used to remove a specific SNMP community string from the Switch.
This command is used to remove a previously defined SNMP community string from the
Switch.
<community_string 32>− An alphanumeric string of up to 32 characters that is used to
identify members of an SNMP community. This string is used like a password to give remote
SNMP managers access to MIB objects in the Switch’s SNMP agent.
Only Administrator-level users can issue this command.
45
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show snmp community
DES-3528:admin#
DES-3528:admin# config snmp engineID 0035636666
DES-3528:admin#
show snmp community
Purpose
Syntax show snmp community {<community_s tring 32>}
Description
Parameters
Restrictions
Example usage:
To display the currently entered SNMP community strings:
Used to display SNMP community strings configured on the Switch.
This command is used to display SNMP community strings that are configured on the Switch.
<community_string 32> − An alphanumeric string of up to 32 characters that is used to
identify members of an SNMP community. This string is used like a password to give remote
SNMP managers access to MIB objects in the Switch’s SNMP agent.
This command creates a new SNMP group, or a table that maps SNMP users to SNMP
views.
<groupname 32>− An alphanumeric name of up to 32 characters that will identify the SNMP
group the new SNMP user will be associated wit h.
v1 – Specifies that SNMP version 1 will be used. The Simple Network Management Protocol
(SNMP), version 1, is a network management protocol that provides a means to monitor and
control network devices.
v2c – Specifies that SNMP version 2c will be used. The SNMP v2c supports both centralized
and distributed network management strategies. It includes improvements in the Structure of
Management Information (SMI) and adds some security features.
v3 – Specifies that the SNMP version 3 will be used. SNM P v3 prov ides secur e ac ces s to
devices through a combination of authentication and encrypting packets over the network.
SNMP v3 adds:
•Message integrity − Ensures that packets have not been tampered with during
transit.
• Authentication − Determines if an SNMP message is from a valid source.
• Encryption − Scrambles the contents of messages to prevent it being viewed by an
unauthorized source.
noauth_nopriv − Specifies that there will be no authorization and no encryption of packets
sent between the Switch and a remote SNMP manager.
auth_nopriv − Specifies that authorization will be required, but there will be no encryption of
packets sent between the Switch and a remote SNMP manager.
auth_priv− Specifies that authorization will be required, and that packets sent between the
Switch and a remote SNMP manger will be encrypted.
read_view – Specifies that the SNMP group being created can request SNMP messages.
write_view – Specifies that the SNM P gro up being cr e ated has writ e pr ivil eges.
notify_view − Specifies that the SNMP group being created can receive SNMP trap
messages generated by the Switch’s SNMP agent.
<view_name 32>− An alphanumeric string of up to 32 characters that is used to identify the
group of MIB objects that a remote SNMP manager is allowed to access on the Switch.
Restrictions
Example usage:
To create an SNMP group nam ed “sg1”:
notify_view v1
v1
Success.
Only Administrator-level users can issue this command.
47
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# delete snmp group sg1
DES-3528:admin#
DES-3528:admin# show snmp groups
CTRL+CESCqQuit SPACEn Next Page ENTER Next Entry aAll
delete snmp group
Purpose
Syntax delete snmp group <groupname 32>
Description
Parameters
Restrictions
Example usage:
To delete the SNMP group named “sg1”:
Command: delete snmp group sg1
Success.
Used to remove an SNMP group from the Switch.
This command is used to remove an SNMP group from the Switch.
<groupname 32>− An alphanumeric name of up to 32 characters that will identify the SNMP
group the new SNMP user will be associated wit h.
Only Administrator-level users can issue this command.
show snmp groups
Purpose
Syntax show snmp groups
Used to display the group-names of SNMP groups currently configured on the Switch. The
security model, level, and status of each group are also displayed.
Description
Parameters
Restrictions
Example usage:
To display the currently configured SNMP groups on the Switch:
Command: show snmp groups
Vacm Access Table Settings
Group Name : public
ReadView Name : CommunityView
WriteView Name :
Notify View Name : CommunityView
Securiy Model : SNMPv1
Securiy Level : NoAuthNoPriv
Group Name : public
ReadView Name : CommunityView
WriteView Name :
Notify View Name : CommunityView
Securiy Model : SNMPv2
Securiy Level : NoAuthNoPriv
Group Name : initial
ReadView Name : restricted
WriteView Name :
Notify View Name : restricted
Securiy Model : SNMPv3
Securiy Level : NoAuthNoPriv
This command displays the group-names of SNMP groups currently configured on the
Switch. The security model, level, and status of each group are also displayed.
None.
None.
48
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# create snmp host 10.48.74.100 v3 auth_priv public
Used to create a recipient of SNMP traps generated by the Switch’s SNMP agent.
auth_nopriv | auth_priv]] <auth_string 32>
This command creates a recipient of SNMP traps generated by the Switch’s SNMP agent.
<ipaddr>− The IP address of the remote management station that will serve as the SNMP
host for the Switch.
<ipv6addr>− The IPv6 address of the remote management station that will serve as the
SNMP host for the Switch.
v1 – Specifies that SNMP version 1 will be used. The Simple Network Management Protocol
(SNMP), version 1, is a network management protocol that provides a means to monitor and
control network devices.
v2c – Specifies that SNMP version 2c will be used. The SNMP v2c supports both centralized
and distributed network management strategies. It includes improvements in the Structure of
Management Information (SMI) and adds some security features.
v3 – Specifies that the SNMP version 3 will be used. SNM P v3 prov ides secur e ac ces s to
devices through a combination of authentication and encrypting packets over the network.
SNMP v3 adds:
•Mes s age int egrity − ensures that packets have not been tampered with during
transit.
• Authentication − determines if an SNMP message is from a valid source.
• Encryption − scrambles the contents of messages to prevent it being viewed by an
unauthorized source.
−
noauth_nopriv
sent between the Switch and a remote SNMP manager.
auth_nopriv− Specifies that authorization will be required, but there will be no encryption of
packets sent between the Switch and a remote SNMP manager.
auth_priv − Specifies that authorization will be required, and that packets sent between the
Switch and a remote SNMP manger will be encrypted.
<auth_string 32>− An alphanumeric string used to authorize a remote SNMP manager to
access the Switch’s SNMP agent.
Specifies that there will be no authorization and no encryption of packets
Restrictions
Example usage:
To create an SNMP host to receive SNMP messages:
Command: create snmp host 10.48.74.100 v3 auth_priv public
Success.
Only Administrator-level users can issue this command.
Used to remove a recipient of SNMP traps generated by the Switch’s SNMP agent.
This command deletes a recipient of SNMP traps generated by the Switch’s SNMP agent.
<ipaddr>− The IP address of a remote SNMP manager that will receive SNMP traps
generated by the Switch’s SNMP agent.
<ipv6addr>− The IPv6 address of a remote SNMP manager that will receive SNMP traps
generated by the Switch’s SNMP agent.
Only Administrator-level users can issue this command.
49
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# delete snmp host 10.48.74.100
DES-3528:admin#
DES-3528:admin# show snmp host
Host IP Address SNMP Version Community Name/SNMPv3 User Name
DES-3528:admin#
Example usage:
To delete an SNMP host entry:
Command: delete snmp host 10.48.74.100
Success.
show snmp host
Purpose
Syntax show snmp host {<ipaddr>}
Description
Parameters
Restrictions
Example usage:
To display the currently configured SNMP hosts on the Switch:
Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent.
This command is used to display the IP addresses and configuration information of remote
SNMP managers that are designated as recipients of SNMP traps that are generated by the
Switch’s SNMP agent.
<ipaddr>− The IP address of a remote SNMP manager that will receive SNMP traps
generated by the Switch’s SNMP agent.
None.
show snmp v6host
Purpose
Syntax show snmp v6host {<ipv6addr>}
Description
Parameters v6host - (Optional) Specifies the IPv6 host address.
Restrictions
Example usage:
To show SNMP host:
This command is used to display the recipient for which the traps are targeted.
This command is used to display the recipient for which the traps are targeted.
<ipv6addr> - Enter the IPv6 address used for the configuration here.
If no parameter specified, all SNMP hosts will be displayed.
None.
50
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show snmp v6host
DES-3528:admin#
DES-3528:admin# create trusted_host 10.62.32.1
Success.
Command: show snmp v6host
SNMP Host Table
-----------------------------------------------------------------Host IPv6 Address : 3FFE::3
SNMP Version : V3 na/np
Community Name/SNMPv3 User Name : initial
Host IPv6 Address : 3FFE::2
SNMP Version : V2c
Community Name/SNMPv3 User Name : private
Host IPv6 Address : 3FFE::1
SNMP Version : V1
Community Name/SNMPv3 User Name : public
Host IPv6 Address : 3FFE::3
SNMP Version : V3 a/np
Community Name/SNMPv3 User Name : user123
Host IPv6 Address : 3FFE::3
SNMP Version : V3 a/ p
Community Name/SNMPv3 User Name : user234
This command creates the trusted host. The Switch allows users to specify up to four IP
addresses that are allowed to manage the Switch via in-band SNMP or TELNET based
management software. These IP addresses must be members of the Management VLAN. If
no IP addresses are specified, then there is nothing to prevent any IP address from
accessing the Switch, provided the user knows the Username and Password.
<ipaddr> − The IP address of the trusted host to be created.
<network_address> − IP address and netmask of the trusted host to be created.
Only Administrator and Operator-level users can issue this command.
xxx.xxx.xxx.xxx/y.
<network_address> - Enter the network address used here.
ipv6_prefix - The IPv6 subnet prefix of the trusted network.
<ipv6networkaddr> - Enter the IPv6 subnet prefix here.
add - Add interfaces for that trusted host.
delete - Delete interfaces for that trusted host.
snmp - (Optional) Specifies trusted host for SNMP.
telnet - (Optional) Specifies trusted host for TELENT.
ssh - (Optional) Specifies trusted host for SSH.
http - (Optional) Specifies trusted host for HTTP.
https - (Optional) Specifies trusted host for HTTPs.
ping - (Optional) Specifies trusted host for PING.
Description
Parameters ipaddr - The IP address of the trusted host.
Restrictions
Example usage:
To delete a trusted host with an IP address 10.62.32.1:
Command: delete trusted_host ipaddr 10.62.32.1
Used to delete a trusted host entry made using the create trusted_host command above.
<ipaddr> - Enter the IP address used for this configuration here.
ipv6addr - The IPv6 address of the trusted host.
<ipv6addr> - Enter the IPv6 address used for this configuration here.
network - The network address of the trusted network.
<network_address> - Enter the network address used for this configuration here.
ipv6_prefix - The IPv6 subnet prefix address of the trusted network
<ipv6networkaddr> - Enter the IPv6 subnet profix address here.
all - All trusted hosts will be deleted.
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the Switch contact to “MIS Department II”:
Command: config snmp system_contact MIS Department II
Success.
Used to enter the name of a contact person who is responsible for the Switch.
This command is used to enter the name and/or other information to identify a contact
person who is responsible for the Switch. A maximum of 255 character can be used.
<sw_contact> − A maximum of 255 characters is allowed. A NULL string is accepted if there
is no contact.
Only Administrator and Operator-level users can issue this command.
Used to enable the SNMP interface access function.
enable snmp
This command is used to enable the SNMP function.
None
Only Administrator and Operator-level users can issue this command.
:
Command: enable snmp
Success.
disable snmp
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To disable SNMP on the Switch
Command: disable snmp
Success.
Used to disable the SNMP interface access function.
disable snmp
This command is used to disable the SNMP function. When the SNMP function is disabled,
the network manager will not be able to access SNMP MIB objects. The device will not send
traps or notifications to the network manager either.
None
Only Administrator and Operator-level users can issue this command.
:
56
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
SWITCH UTILITY COMMANDS
The Switch utility commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
This command is used to download a new firmware or a Switch configuration file from a
TFTP server.
firmware_fromTFTP − Download and install new firmware on the Switch from a TFTP server.
cfg_fromTFTP − Downlo ad a Switch configuration file from a TFTP server.
<ipaddr> − The IP address of the TFTP server.
<ipv6addr> - Enter the IPv6 address used here.
src_file – Specifies the source file name used.
<path_filename> − The DOS path and filename of the firmware or Switch configuration file on
the TFTP server. For example, C:\3528.had.
image_id <int 1-2>− Specify the working section ID. The Switch can hold two firmware
versions for the user to select from, which are specified by section ID.
unit - Specifies which unit(s) on the stacking system can download and install new firmware
from a TFTP server. If it is not specified, it refers to all the units. For example, unit 1-3.
config_id - Specifies configuration ID in the system; If it is not specified, it refers to the boot
up configuration ID.
increment − Allows the download of a partial Switch configuration file. This allows a file to be
downloaded that will change only the Switch parameters explicitly stated in the configuration
file. All other Switch parameters will remain unchanged.
Restrictions
Example usage:
The TFTP server must be on the same IP subnet as the Switch. Only Administrator-level
users can issue this command.
57
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
The download configuration command will initiate the loading of the various settings in the order listed in the
configuration file. When the file has been successfully loaded the message “End of configuration file for DES-3528”
appears followed by the command prompt.
DES-3528:admin#
DES-3528:admin# #------------------------------------------------------DES-3528:admin# # End of configuration file for DES-3528
DES-3528:admin# #-------------------------------------------------------
Parameters unit – Specifies the unit on the stacking system. If it is not specified, it refers to the master
Used to configure the firmware section as a boot up section, or to delete the firmware section
This command is used to configure the firmware section. The user may choose to remove
the firmware section or use it as a boot up section.
unit.
image_id – Specifies the working section. The Switch can hold two firmware versions for the
user to select from, which are specified by image ID.
delete – Entering this parameter will delete the specified firmware section.
boot_up – Entering this parameter will specify the firmware image ID as a boot up section.
Restrictions
Example usage:
To configure firmware image 1 as a boot up section:
Command: config firmware image_id 1 boot_up
Success.
Only Administrator-level users can issue this command.
58
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show firmware information
DES-3528:admin#
show firmware information
Purpose
Syntax show firmware information
Description
Parameters
Restrictions
Example usage:
To display the current firmware information on the Switch:
Command: show firmware information
Image ID : 1
Version : 2.01.B042
Size : 4262112 Bytes
Update Time: 0 days 00:00:00
From : Serial Port(Prom)
User : Serial Port(Prom)
Image ID : 2(Boot up firmware)
Version : 2.60.B010
Size : 4652268 Bytes
Update Time: 2010/05/29 14:36:20
From : 192.168.69.200
User : Guest(WEB)
Used to display the firmware section information.
This command is used to display the firmware section information.
None.
None
show config
Purpose
Syntax show config [[effective | modified | current_config | config_in_n vr am <config_id 1-2>]
Description
Used to display the current or saved version of the configuration settings of the Switch.
This command is used to display all the configuration settings that are saved to NV RAM or
display the configuration settings as they are currently configured. Use the keyboard to list
settings one line at a time (Enter), one page at a time (Space) or view all (a).
The configuration settings are listed by category in the following order:
59
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
show config
1. Basic (serial port, Telnet and web
management status)
2. storm control
3. loop detect
4. SIM
5. syslog
6. QoS
7. port mirroring
8. traffic segmentation
9. SSL
10. port
11. SFLOW
12. OAM
13. port lock
14. SNMPv3
15. management (SNMP traps RMON)
16. vlan
17. Q-in-Q
18. RSPAN
19. 802.1x
20. ACL
21. POE
22. FDB (forwarding data base)
23. address binding
24. net bios
25. dhcp server screening
26. sRED
27. ARP spoofing prevention
28. PPPoE
29. MAC address table notification
30. STP
31. BPDU protection
32. safeguard
33. SSH
34. SNTP
35. LACP
36. IP
37. WAC
38. CFM
39. JWAC
40. LLDP
41. IGMP snooping
42. MBA
43. MLD vlan
44. multicast
45. multicast authentication
46. igmp snooping
47. mld snooping
48. access authentication control
(TACACS etc.)
49. ARP
50. route
51. dns relay
52. dhcp server
53. dhcp relay
Parameters effective - Show only commands which affects the behavior of the device. For example, if
STP is disabled, then for STP configuration, only “STP is disabled” is displayed. All other
lower level setting regarding STP is not displayed. The lower level setting will only be
displayed when the higher level setting is enabled.
Note: This parameter is only for the current configuration.
modified - Show only the commands which are not from the ‘reset’ default setting.
Note:This parameter is only for the current configuration.
current_config - Specifies the current configuration.
unit - (Optional) Specifies which unit on the stacking system. If it is not specified, it refers to
the master unit.
<unitid 1-2> - Enter the unit ID here. This value must be between 1 and 2.
config_id - (Optional) Specifies the configuration file ID.
<filter_string 80> - (Optional) A filter string is enclosed by symbol ". Thus, the filter string
itself cannot contain the “character. The filter string is case sensitive. This value can be up to
80 characters long.
include - Includes lines that contain the specified filter string.
exclude - Excludes lines that contain the specified filter string
begin - The first line that contains the specified filter string will be the first line of the output.
Restrictions
Example usage:
To view the current configuration settings:
Only Administrator-level users can issue this command.
60
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show config current_config
CTRL+CESCqQuit SPACEn Next Page ENTER Next Entry aAll
This command is used to upload either the Switch’s current settings or the Switch’s history
log to a TFTP server.
cfg_toTFTP − Specifies that the Switch’s current settings will be uploaded to the TFTP
server.
<ipaddr> − The IP address of the TFTP server. The TFTP server must be on the same IP
subnet as the Switch.
<ipv6addr> - Enter the IPv6 address used here.
dest_file - The pathname specifies the DOS pathname on the TFTP server. It can be a
relative pathname or an absolute pathname.
<path_filename 64> - Enter the destination file pathname here. This name can be up to 64
characters long.
config_id - Specifies configuration ID in the system; If it is not specified, it refers to the boot
up configuration ID.
unit - Specifies wh ic h Switch unit’s attac k log will be uploaded, if it is not specified, it refers to
the master unit.
<path_filename 64>− Specifies the location of the Switch configuration file on the TFTP
server. This file will be replaced by the uploaded file from the Switch.
log_toTFTP − Specifies that the Switch history log will be uploaded to the TFTP server.
attack_log_toTFTP – Specifies that the Switch attack log will be uploaded to the TFTP
server.
<filter_string 80> - (Optional) A filter string is enclosed by symbol ". Thus, the filter string
itself cannot contain the “character. The filter string is case sensitive. This value can be up to
80 characters long.
include - Includes lines that contain the specified filter string.
61
upload
exclude - Excludes lines that contain the specified filter string
Used to delete the specific firmware or configure the specific firmware as boot up image.
This command is used to delete the specific firmware or configure the specific firmware as
boot up image.
<config_id 1-2> − Specifies the serial number of the indicated configuration.
boot_up − Specifies the config is boot_up config.
delete − Delete the configuration.
active − Active specifies the configuration .
Restrictions
Example usage:
To configure the specific configuration as boot up image:
Command: config configuration 2 boot_up
Success.
You must have Administrator-level privileges.
62
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
NETWORK MONITORING COMMANDS
The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
show packet ports <portlist>
show error ports <portlist>
show utilization [ports | cpu]
show utilization dram {unit <unit_id>}
show utilization flash {unit <unit_id>}
clear counters {ports <portlist>}
clear log
show log {[index <value_list> |severit y {m odule <module_list>} {emergency | alert | critical |
This command will clear the counters used by the Switch to compile statistics.
<portlist> − Specifies a port or range of ports to be cleared.
Only Administrator and Operator-level users can issue this command.
66
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# clear log
DES-3528:admin#
DES-3528:admin# show log index 1-5
5 00000 days 00:01:09 Successful login through Console (Username: Anonymous)
2 00000 days 00:00:01 Spanning Tree Protocol is disabled
<index 1-4>− Specifies that the command will be applied to an index of hosts. There are four
available indexes, numbered 1 through 4.
ipaddress <ipaddr>− Specifies the IP address of the remote host where syslog messages
will be sent.
<ipv6addr> - Specifies the IPv6 address used.
udp_port <udp_port_num b er > - Specifies the UDP port number used.
state [enable | disable] – Specifies the state of the Syslog host.
severity − Severity level indicator. These are described in the following:
Bold font indicates that the c orr espondi ng severity level is currently supported on the Switch.
Numerical Severity
Code
0 Emergency: system is unusable
1 Alert: action must be taken immediately
2 Critical: critical conditions
3 Error: error conditions
4 Warning: warning conditions
5 Notice: normal but significant condition
6 Informational: informational messages
7 Debug: debug-level messages
facility − Some of the operating system daemons and processes have been assigned Facility
values. Processes and daemons that have not been explic itly assigned a Facility may use
any of the "local use" facilities or they may use the "user-level" Facility. Those Facilities that
have been designated are shown in the follo wing: Bold font indicates the facility values the
Switch currently supports.
Numerical Facility Numerical Facility
Code Code
1 user-level messages
2 mail system
3 system daemons
4 security/authorization messages
5 messages generated internally by
syslog
6 line printer subsystem
7 network news subsystem
8 UUCP subsystem
9 clock daemon
10 security/authorization messages
13 log audit
14 log alert
15 clock daemon
16 local use 0 (local0)
17 local use 1 (local1)
18 local use 2 (local2)
19 local use 3 (local3)
20 local use 4 (local4)
21 local use 5 (local5)
22 local use 6 (local6)
23 local use 7 (local7)
69
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin#create syslog host 1 ipaddress 192.168.69.123 state enable
DES-3528:admin#
create syslog host
local0 − Specifies that local use 0 messages will be sent to the remote host. This
corresponds to number 16 from the list above.
local1− Specifies that local use 1 messages will be sent to the remote host. This
corresponds to number 17 from the list above.
local2 − Specifies that local use 2 messages will be sent to the remote host. This
corresponds to number 18 from the list above.
local3− Specifies that local use 3 messages will be sent to the remote host. This
corresponds to number 19 from the list above.
local4− Specifies that local use 4 messages will be sent to the remote host. This
corresponds to number 20 from the list above.
local5− Specifies that local use 5 messages will be sent to the remote host. This
corresponds to number 21 from the list above.
local6− Specifies that local use 6 messages will be sent to the remote host. This
corresponds to number 22 from the list above.
local7− Specifies that local use 7 messages will be sent to the remote host. This
corresponds to number 23 from the list above.
udp_port <udp_port_num b er> − Specifies the UDP port number that the syslog protocol will
use to send messages to the remote host.
state [enable | disable] − Allows the sending of syslog messages to the remote host,
specified above, to be enabled and disabled.
Restrictions
Example usage:
To create a Syslog host:
Command: create syslog host 1 ipaddress 192.168.69.123 state enable
Success.
Only Administrator and Operator-level users can issue this command.
16 local use 0 (local0)
17 local use 1 (local1)
18 local use 2 (local2)
19 local use 3 (local3)
20 local use 4 (local4)
21 local use 5 (local5)
22 local use 6 (local6)
23 local use 7 (local7)
local0 − Specifies that local use 0 messages will be sent to the remote host. This
corresponds to number 16 from the list above.
local1− Specifies that local use 1 messages will be sent to the remote host. This
corresponds to number 17 from the list above.
local2 − Specifies that local use 2 messages will be sent to the remote host. This
corresponds to number 18 from the list above.
local3 − Specifies that local use 3 messages will be sent to the remote host. This
corresponds to number 19 from the list above.
local4− Specifies that local use 4 messages will be sent to the remote host. This
corresponds to number 20 from the list above.
local5 − Specifies that local use 5 messages will be sent to the remote host. This
corresponds to number 21 from the list above.
local6− Specifies that local use 6 messages will be sent to the remote host. This
corresponds to number 22 from the list above.
local7− Specifies that local use 7 messages will be sent to the remote host. This
corresponds to number 23 from the list above.
udp_port <udp_port_num b er> − Specifies the UDP port number that the syslog protocol will
use to send messages to the remote host.
state [enable | disable] − Allows the sending of syslog messages to the remote host,
specified above, to be enabled and disabled.
Restrictions
Example usage:
Only Administrator and Operator-level users can issue this command.
71
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
This command is used to set the method to save log.
time_interval − save log to flash every xxx minutes. (if no log happen in this period, don't
save)
on_demand− save log to flash whenever user type "save log" or "save all" This is also the
default.
log_trigger− save log to flash whenever log arrives
Only Administrator and Operator-level users can issue this command.
show log_save_timing
Purpose
Used to show the timing method to save log.
Syntax show log_save_timing
Description
Parameters
Restrictions
Example usage:
To show log_save_timing:
Command: show log_save_timing
Saving Log Method: On_demand
This command is used to show method to save log.
None.
None.
show attack_log
Purpose
Syntax show attack_log {unit <unit_id 1-8>} {index <value_list>}
Description
Parameters unit – Specifies the unit of which the attack_log will be show. if it is not specified, it refers to
Used to show dangerous log messages.
This command is used to show content of dangerous log messages.
the master unit.
73
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show attack_log
DES-3528:admin#
DES-3528:admin# clear attack_log
DES-3528:admin#
show attack_log
value_list X-Y− The show log command will display the dangerous log messages between
the log number of X and Y. For example, show dangerous log index 1-5 will displa y the
dangerous log messages from 1 to 5.
If no parameter specified, all dangerous log entries will be displayed.
Restrictions
None.
Example usage:
To show dangerous messages on master:
Command: show attack_log
Index Time Log Text
---- --------------- ----------------------2 00000 days 01:25:43 Possible spoofing attack from 000d01002301 port 6:3
1 00000 days 01:25:43 Possible spoofing attack from 000d01002301 port 6:3
clear attack_log
Purpose
Syntax clear attack_log {unit <unit_id 1-8>}
Description
Parameters unit - Specifies the unit of which the attack_log will be cleared. if it is not specified, it refers to
Restrictions
Example usage:
To clear the master’s dangerous log:
Used to clear the Switch’s dangerous log.
This command clears the Switch’s dangerous log.
the master unit.
Only Administrator and Operator-level users can issue this command.
Parameters trap - Specifies the severity level control for traps.
Used to configure system_severity level of an alert required for log entry or trap message.
notice | information | debug | <level 0-7>]
This command is used to configure the system_severity levels on the Switch. When an event
occurs on the Switch, a message will be sent to the SNMP agent (trap), the Switch’s log or
both. Events occurring on the Switch are separated into eight main categories, these
categories are NOT precisely the same as the parameters of the same name (see below).
Severity Level
Emergency
Alert 1 Action must be taken immediately.
Critical 2 Critical conditions.
Error 3 Error conditions.
Warning 4 Warning conditions.
Notice 5 Normal but significant condition.
Information 6 Information messages.
Debug 7 Debug-level messages.
Description
0 System is unusable.
74
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
log - Specifies the severity level control for the log.
all - Specifies the severity level control for traps and the log.
emergency - Sever ity level 0.
alert - Severity level 1.
critical - Severity level 2.
error - Severity level 3.
warning - Severity level 4.
notice - Severity level 5.
information - Severity level 6.
debug - Severity level 7.
<level 0-7> - Enter the severity level here. This value must be between 0 and 7.
Restrictions
Example usage:
To configure the system severity settings:
Command: config system_severity trap critical
Success.
Only Administrator and Operator-level users can issue this command.
show system_severity
Purpose
Syntax show system_severity
Description
Parameters
Restrictions
Example usage:
To display the system severity settings for critical traps and log:
Used to display system_severity level of an alert required for log entry or trap message.
This command is used to display system_severity level of an alert required for log entry or
trap message.
None.
None.
Command: show system_severity
System Severity Trap : information
System Severity Log : information
75
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
MULTIPLE SPANNING TREE PROTOCOL (MSTP)COMMANDS
This Switch supports three versions of the Spanning Tree Protocol: 802.1D STP, 802.1w Rapid STP and 802.1s
MSTP. Multiple Spann ing Tree Protoc ol, or MSTP, is a s tandard defined b y the IEEE comm unity that allows multiple
VLANs to be m apped to a single spanning tr ee instance, which will pr ovide multiple pathways acros s the network.
Therefore, these MST P configurations will balance the traf fic load, preventing wide scale disru ptions when a single
spanning tree instanc e fails. This will al low for faster convergences of n ew topologies f or the failed insta nce. Frames
designated for these VLANs will be processed quickly and completely throughout interconnected bridges utilizing
either of the three spanning tree protocols (STP, RSTP or MSTP). This protocol will also tag BDPU packets so
receiving devices can distinguish spanning tree instances, spanning tree regions and the VLANs associated with
them. These instances will be clas s if ied by an instance_id. MSTP will connect multiple spa nning trees with a Com mon
and Internal Spann ing Tree (CIST ). The CIST will automat ically determine each MSTP re gion, its m aximum possible
extent and will appear as one virtual bridge that runs a single spanning tree. Consequentially, frames assigned to
different VLANs will fol low different data ro utes within adm inistratively estab lished regions on t he network, contin uing
to allow simple and full processing of frames, regardless of administrative errors in defining VLANs and their
respective spanning trees. Each Switch utilizing the MSTP on a network will have a single MSTP configuration that will
have the following three attributes:
a) A configuration name defined by an alphanum eric string of up to 32 characters (def ined in the config stp
mst_config_id command as name <string>).
b) A configuration revision number (named here as a revision_level) and;
c) A 4096 element table ( defined here as a vid_range) which will assoc iate each of the possible 409 6 VLANs
supported by the Switch for a given instance.
To utilize the MSTP function on the Switch, three steps need to be taken:
a) The Switch must be set to the MSTP setting (config stp version)
b) The correct spanning tree priority for the MSTP instance must be entered (config stp priority).
c) VLANs that will be shared must be added to the MSTP Instance ID (config stp instance_id).
The Multiple Spanning Tree Protocol commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
This command allows the Spanning Tree Protocol to be globally enabled on the Switch.
None.
Only Administrator and Operator and Power-User-level users can issue this command.
disable stp
Purpose
Syntax disable stp
Description
Parameters
Used to globally disable STP on the Switch.
This command allows the Spanning Tree Protocol to be globally disabled on the Switch.
None.
Restrictions
Example usage:
To disable STP on the Switch:
Command: disable stp
Success.
Only Administrator and Operator and Power-User-level users can issue this command.
This command is used to setup the Spanning Tree Protocol (STP) for the entire Switch. All
commands here will be implemented for the STP version that is currently set on the Switch.
Parameters
maxage <value 6-40>− This value may be set to ensure that old information does not
endlessly circulate through redundant paths in the network, preventing the effective
propagation of the new information. Set by the Root Bridge, this value will aid in det ermining
that the Switch has spanning tree configuration values consistent with other devices on the
bridged LAN. If the value ages out and a BPDU has still not been received from the Root
Bridge, the Switch will start sending its own BPDU to all other Switches for permission to
become the Root Bridge. If it turns out that your Switch has the lowest Bridge Identifier, it will
become the Root Bridge. The user may choose a time between 6 and 40 seconds. The
default value is 20.
maxhops <value 6-40>− The number of hops between devices in a spanning tree region
before the BPDU (bridge protocol data unit) packet sent by the Switch will be discarded.
Each Switch on the hop count will reduce the hop count by one until the value reaches zero.
The Switch will then discard the BDPU packet and the information held for the port will age
out. The user may set a hop count from 6 to 40. The default is 20.
hellotime <value 1-2>− The user may set the time interval between transmission of
configuration messages by the root device, thus stating that the Switch is still functioning. A
time between 1 and 2 seconds may be chosen, with a default setting of 2 seconds.
NOTE:
In MSTP, the spanning tree is configured by port and therefore, the
hellotime must be set using the configure stp ports command for Switches
utilizing the Multiple Spanni ng Tree Protocol.
forwarddelay <value 4-30>− The maximum amount of time (in seconds) that the root device
will wait before changing states. The user may choose a time between 4 and 30 seconds.
The default is 15 seconds.
txholdcount <value 1-10> − The maximum number of BPDU Hello packets transmitted per
interval. Default value is 6.
fbpdu [enable | disable] − Allows the forwarding of STP BPDU packets from other network
devices when STP is disabled on the Switch. The default is disabled.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To configure STP with maxage 18 and maxhops of 15:
Command: config stp maxage 18 maxhops 15
Success.
78
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
This command is used to create and configure STP for a group of ports.
<portlist> − Specifies a range of ports to be configured.
externalCost − This defines a metric that indicates the relative cost of forwarding packets to
the specified port list. Port cost can be set automatically or as a metric value. The default
value is auto.
auto – Setting this parameter for the external cost will automatically set the speed for
forwarding packets to the specified port(s) in the list for optimal efficiency. Default port
cost: 100Mbps port = 200000. Gigabit port = 20000.
<value 1-200000000>− Define a value between 1 and 200000000 to determine the
external cost. The lower the number, the greater the probability the port will be chosen
to forward packets.
hellotime <value 1-2>− The time interval between transmission of configuration messages
by the designated port, to other devices on the bridged LAN, thus stating that the Switch is
still functioning. The user may choose a time between 1 and 2 seconds. The default is 2
seconds.
migrate [yes | no] – Setting this parameter as “yes” will set the ports to send out BDPU
packets to other bridges, requesting information on their STP setting If the Switch is
configured for RSTP, the port will be capable to migrate from 802.1D STP to 802.1w RSTP.
If the Switch is configured for MSTP, the port is capable of migrating from 802.1D STP to
802.1s MSTP. RSTP and MSTP can coexist with standard STP, however the benefits of
RSTP and MSTP are not realized on a port where an 802.1D network connects to an 802.1w
or 802.1s enabled network. Migration should be set as yes on ports connected to network
stations or segments that are capable of being upgraded to 802.1w RSTP or 802.1s MSTP
on all or some portion of the segment.
edge [true | false | auto ] – true designates the port as an edge port. Edge ports cannot create
loops, however an edge port can lose edge port status if a topology change creates a
potential for a loop. An edge port normally should not receive BPDU packets. If a BPDU
packet is received it automatically loses edge port status. false indicates that the port does
not have edge port status.
auto – Indicates that the port will be able to automatically enable the edge port status if this
port links to an end station or a device that does not support the STP function. The default
setting for this parameter is false.
restricted_role[true | false] – If true causes the Port not to be selected as Root Port for the
CIST or any MSTI, even it has the best spanning tree priority vector. Such a Port will be
selected as an Alternate Port after the Root Port has been selected. This parameter should
be false by default. If set, it can cause lack of spanning tree connectivity. It is set by a
network administrator to prevent bridges external to a core region of the network influencing
the spanning tree active topology, possibly because those bridges are not under the full
control of the administrator. The default setting for this parameter is false.
restricted_tcn[true | false] – If true causes the Port not to propagate received topology
change notifications and topology changes to other Ports. This parameter should be false by
default. If set it can cause temporary loss of connectivity after changes in a spanning trees
active topology as a result of persistent incorr ec tly learned station location inform ation. It is
set by a network administrator to prevent bridges external to a core region of the network,
causing address flushing in that region, pos s ib ly beca u s e those bridges are not under the full
control of the administrator or MAC_Operational for the attached LANs transitions frequently.
The default setting for this parameter is false.
p2p [true | false | auto] – true indicates a point-to-point (P2P) shared link. P2P ports are
similar to edge ports however they are restricted in that a P2P port must operate in fullduplex. Like edge ports, P2P ports transition to a forwarding state rapidly thus benefiting
from RSTP. A p2p value of false indicates that the port cannot have p2p status. Auto allows
the port to have p2p status whenever possible and operate as if the p2p status were true. If
79
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
the port cannot maintain this status (for example if the port is forced to half-duplex operation)
This command allows the user to create a STP instance ID for the Multiple Spanning Tree
Protocol. There are 16 STP instances on the Switch (one internal CIST, unchangeable) and
the user may create up to 15 instance IDs for the Switch.
<value 1-15> − Enter a value between 1 and 15 to identify the Spanning Tree instance on the
Switch.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command
Example usage:
To create a spanning tree instance 2:
Command: create stp instance_id 2
Warning:There is no VLAN mapping to this instance_id!
Success.
Used to add or delete VID to/from an STP instance.
This command is used to map VIDs (VLAN IDs) to previously configured STP instances on
the Switch by creating an instance_id. A STP instance may have multiple members with the
same MSTP configuration. There is no limit to the number of STP regions in a network but
each region only supports a maximum of 16 spanning tree instances (one unchangeable
default entry). VIDs can belong to only one spanning tree instance at a time.
NOTE:
Switches in the same spanning tree region having the same STP
instance_id must be mapped identically, and have the same configuration
revision_level number and the same name.
<value 1-15> −Enter a number between 1 and 15 to define the instance_id. The Switch
80
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
supports 16 STP instances with one unchangeable default instance ID set as 0.
This command is used to update the STP instance configuration settings on the Switch. The
MSTP will utilize the priority in selecting the root bridge, root port and designated port.
Assigning higher priorities to STP regions will instruct the Switch to give precedence to the
selected instance_id for forwarding packets. The lower the priority value set, the higher the
priority.
81
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# config stp mst_config_id revision_level 10 name Trinity
DES-3528:admin#
config stp priority
Parameters
Restrictions
Example usage:
To set the priority value for instance_id 2 as 4096.
Command : config stp priority 4096 instance_id 2
Success.
priority <value 0-61440>− Select a value between 0 and 61440 to specify the priority for a
specified instance ID for forwarding packets. The lower the value, the higher the priority. This
value must be divisible by 4096.
instance_id <value 0-15> − Enter the value corresponding to the previously configured
instance ID of which the user wishes to set the priority value. An instance id of 0 denotes the
default instance_id (CIST) internally set on the Switch.
Only Administrator and Operator and Power-User-level users can issue this command
config stp mst_config_id
Purpose
Syntax config stp mst_config_ id {revision_level <int 0-65535> | name <string>}(1)
Description
Used to update the MSTP configurat ion ident if ic atio n.
This command will uniquely identify the MSTP configuration currently configured on the
Switch. Information entered here will be attached to BPDU packets as an identifier for the
MSTP region to which it belongs. Switches having the s am e revision_level and name will be
considered as part of the same MSTP region.
Parameters revision_level <int 0-65535>– Enter a number between 0 and 65535 to identify the MSTP
region. This value, along with the name will identify the MSTP region configured on the
Switch. The default setting is 0.
name <string>− Enter an alphanumeric string of up to 32 characters to uniquely identify the
MSTP region on the Switch. This name, along with the revision_level value will ide nt ify the
MSTP region configured on the Switch. If no name is entered, the default name will be the
MAC address of the device.
Restrictions
Example usage:
To configure the MSTP region of the Switch with revision_level 10 and the name “Trinity”:
Command : config stp mst_config_id revision_level 10 name Trinity
Success.
Only Administrator and Operator and Power-User-level users can issue this command
Used to update the port configuration for a MSTP instance.
200000000>] priority <value 0-240>}(1)
Description This command will update the port configuration f or a STP instance_id. If a loop occurs, the
MSTP function will use the port priorit y to se lect an int erface t o put into the for warding s tate.
Set a higher priorit y value f or interf ac es to be sel ec ted f or forwardi ng f irs t. In ins ta nc es where
the priority value is ident ical, the MST P function will im plement t he lowest MAC a ddress into
the forwarding state and other interfaces will be blocked. Remember that lower priority
values mean higher priorities for forwarding packets.
Parameters
<portlist>− Specifies a port or range of ports to be configured.
82
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
instance_id <value 0-15> −Enter a numerical value between 0 and 15 to identify the
instance_id previously configured on the Switch. An entry of 0 will denote the CIST (Common
and Internal Spanning Tree.
internalCost – This parameter is set to represent the relative cost of forwarding packets to
specified ports when an interface is selected within a STP instance. The default setting is
auto. There are two options:
auto – Selecting this parameter for the internalCost will set quickest route automatically and
value 1-200000000 – Selecting this parameter with a value in the range of 1-200000000
priority <value 0-240> − Enter a value between 0 and 240 to set the priority for the port
interface. A higher priority will designate the interface to forward packets first. A lower
number denotes a higher priority. This value must be divisible by 16.
optimally for an interface. The default value is derived from the media speed of the
interface.
will set the quickest route when a loop occurs. A lower internalCost represents a
quicker transmission.
Restrictions
Example usage:
To designate ports 1 through 5, with instance id 2, to have an auto internalCost and a priority of 16:
Only Administrator and Operator and Power-User-level users can issue this command
show stp
Purpose
Syntax show stp
Description
Parameters
Restrictions
Example usage:
To display the status of STP on the Switch:
Status 1: STP enabled with STP compatible version
Used to display the Switch’s current STP configuration.
This command displays the Switch’s current STP configuration.
None.
None.
Command: show stp
STP Bridge Global Settings
---------------------------
STP Status : Enabled
STP Version : STP Compatible
Max Age : 20
Hello Time : 2
Forward Delay : 15
Max Hops : 20
TX Hold Count : 6
Forwarding BPDU : Disabled
NNI BPDU Address : dot1ad
Status 2 : STP enabled for RSTP
Command: show stp
83
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
STP Bridge Global Settings
DES-3528:admin#
DES-3528:admin# show stp
DES-3528:admin#
DES-3528:admin# show stp ports
CTRL+CESCqQuit SPACEn Next Page p Previous Page rRefresh
--------------------------STP Status : Enabled
STP Version : RSTP
Max Age : 20
Hello Time : 2
Forward Delay : 15
Max Hops : 20
TX Hold Count : 6
Forwarding BPDU : Disabled
NNI BPDU Address : dot1ad
Status 3 : STP enabled for MSTP
Command: show stp
STP Bridge Global Settings
---------------------------
STP Status : Enabled
STP Version : MSTP
Max Age : 20
Forward Delay : 15
Max Hops : 20
TX Hold Count : 6
Forwarding BPDU : Disabled
NNI BPDU Address : dot1ad
show stp ports
Purpose
Syntax show stp ports <portlist>
Description
Parameters
Restrictions
Example usage:
To show STP ports information for port 1 (STP enabled on Switch):
Command: show stp ports
MSTP Port Information
--------------------- Port Index : 1 , Hello Time: 2 /2 , Port STP : Enabled ,
External PathCost : Auto/200000 , Edge Port : False/No , P2P : Auto /Yes
Port RestrictedRole : False, Port RestrictedTCN : False
Port Forward BPDU : Disabled
MSTI Designated Bridge Internal PathCost Prio Status Role
Used to display the Switch’s current STP ports configuration.
This command displays the STP ports settings for a specified port or group of ports (one port
at a time).
<portlist>− Specifies a port or range of ports to be viewed. Information for a single port is
displayed. If no ports are specified the STP information for port 1 will be displayed. Users
may use the Space bar, p and n keys to view information for the remaining ports.
None.
84
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# show stp instance 0
DES-3528:admin# config stp nni_bpdu_addr dot1ad
DES-3528:admin#
show stp instance
Purpose
Syntax show stp instance <value 0-15>
Description
Parameters
Restrictions
Example usage:
To display the STP instance configuration for instance 0 (the internal CIST) on the Switch:
Command: show stp instance 0
STP Instance Settings
-------------------------- Instance Type : CIST
Instance Status : Enabled
Instance Priority : 32768(bridge priority : 32768, sys ID ext : 0 )
CTRL+CESCqQuit SPACEn Next Page p Previous Page rRefresh
Used to display the Switch’s STP instance configuration
This command displays the Switch’s current STP Instance Settings and the STP Instance
Operational Status.
<value 0-15>− Enter a value defining the previously configured instance_id on the Switch.
An entry of 0 will display the STP configuration for the CIST internally set on the Switch.
To configure the STP BPDU destination address as dot1 ad on the Switch:
Command: config stp nni_bpdu_addr dot1ad
Success.
Used to configure BPDU destination address as dot1d or dot1ad.
This command is to configure the NNI-port-sent BPDU destination address to 802.1ad
address (0180c200000D) or 802.1d address (0180c2000021). When the Q-in-Q is enabled.,
NNI-port-sent BPDU destination address will set to dot1ad. The user can configure the NNI
port send BPDU destination address to dot1d. The default is dot1d.
None.
Only Administrator and Operator and Power-User-level users can issue this command
85
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin#show stp mst_config_id
DES-3528:admin#
show stp mst_config_id
Purpose
Syntax show stp mst_config_id
Description
Parameters
Restrictions
Example usage:
To show the MSTP configuration identification currently set on the Switch:
Command: show stp mst_config_id
Current MST Configuration Identification
----------------------------------------
Configuration Name : 00:22:B0:10:8A:00 Revision Level :0
MSTI ID VID List
Used to display the MSTP configuration identification.
This command displays the Switch’s current MSTP configuration identification.
None.
None.
86
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
DES-3528:admin# create fdb default 00-00-00-00-01-02 port 5
DES-3528:admin#
FORWARDING DATABASE COMMANDS
The layer 2 forwarding database commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Used to create a static entry to the unicast MAC address forwarding table (database).
This command will make an entry into the Switch’s unicast MAC address forwarding
database.
<vlan_name 32> − The name of the VLAN on which the MAC address resides.
<macaddr> − The MAC address that will be added to the forwarding table.
port <port> − The port number corresponding to the MAC destination address. The Switch
will always forward traffic to the specified device through this port.
drop - Specifies that all the ports specified will drop the packet of the previously configured
MAC
Only Administrator and Operator and Power-User-level users can issue this command
To create a unicast MAC FDB entry:
Command: create fdb default 00-00-00-00-01-02 port 5
Command: create fdb default 00-00-00-33-01-02 drop
Success.
This command will make an entry into the Switch’s unicast MAC address forwarding
database.
<vlanid_list> − Specifies a range of VLANs to be configured.
<macaddr> − The MAC address that will be added to the forwarding table.
port <port> − The port number corresponding to the MAC destination address. The Switch
will always forward traffic to the specified device through this port.
drop - Specifies that all the ports specified will drop the packet of the previously configured
MAC
Only Administrator and Operator and Power-User-level users can issue this command
create multicast_fdb
Purpose
Used to create a static entry to the multicast MAC address forwarding table (database)
Used to configure the Switch’s multicast MAC address forwarding database.
This command configures the multicast MAC address forwarding table.
Parameters
Restrictions
Example usage:
<vlan_name 32> − The name of the VLAN on which the MAC address resides.
<macaddr> − The MAC address that will be added to the multicast forwarding table.
[add | delete] − add will add ports to the forwarding table. delete will remove ports from the
multicast forwarding table.
<portlist> − Specifies a port or range of ports to be configured.
Only Administrator and Operator and Power-User-level users can issue this command
88
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
Used to set the aging time of the forwarding database.
The aging time affects the learning process of the Switch. Dynamic forwarding table entries,
which are made up of the source MAC addresses and their associated port numbers, are
deleted from the table if they are not accessed within the aging time. The aging time can be
from 10 to 1000000 seconds with a default value of 300 seconds. A very long aging time can
result in dynamic forwarding table entries that are out-of-date or no longer exist. This may
cause incorrect packet forwarding decisions by the Switch. If the aging time is too short
however, many entries may be aged out too soon. This will result in a high percentage of
received packets whose source addresses cannot be found in the forwarding table, in which
case the Switch will broadcast the packet to all ports, negating many of the benefits of having
a Switch.
<sec 10-1000000> − The aging time for the MAC address forwarding database value. The
value in seconds may be between 10 and 1000000 seconds.
Only Administrator and Operator and Power-User-level users can issue this command
Used to clear the Switch’s forwarding database of all dynamically learned MAC addresses.
This command is used to clear dynamically learned entries to the Switch’s forwarding
database.
<vlan_name 32> − The name of the VLAN on which the MAC address resides.
port <port> − The port number corresponding to the MAC destination address.
all − Clears all dynamic entries to the Switch’s forwarding database.
Only Administrator and Operator and Power-User-level users can issue this command
show multicast_fdb
Purpose
Used to display the contents of the Switch’s multicast forwarding database.
VLAN Name : default
MAC Address : 01-00-5E-00-00-00
Egress Ports : 1-5
Mode : Static
Total Entries : 1
This command is used to display the current contents of the Switch’s multicast MAC address
forwarding database.
<vlan_name 32> − The name of the VLAN on which the MAC address resides.
<vidlist> - Enter the VLAN ID used here.
<macaddr> − The MAC address that is present in the forwarding database table.
port <port> − The port number corresponding to the MAC destination address.
<vlan_name 32> − The name of the VLAN on which the MAC address resides.
vlanid <vidlis t > - The list of VLANs by VLAN ID.
<macaddr> − The MAC address that is present in the forwarding database table.
static − Displays the static MAC address entries.
aging_time − Displays the aging time for the MAC address forwarding database.
security – Displays the security for the MAC address forwarding database.
The command configures the multicast packet filtering mode for VLANs.
vlanid_list− Specifies a range of VLANs to be configured.
The filtering mode can be any of the following:
forward_all_groups - A ll m ulticast groups wil l be forw arded bas ed on VL AN.
forward_unregistered_groups - The registered group will be forwarded based on the register
table.The unregister group will be forwarded based on VLAN.
filter_unregistered_groups - The registered group will be forwarded based on the register
table.The unregister group will be filtered.
Only Administrator and Operator and Power-User-level users can issue this command
91
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
Used to show the multicast packet filtering mode for VLANs.
The command displays the multicast packet filtering mode for VLAN.
vlanid_list− Specifies a range of vlans to be configured.
If no parameter specified , the deivce will show all multicast filtering settings in the device.
None.
92
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
action – Used to configure the action taken when a storm control has been detected on the
TRAFFIC CONTROL COMMANDS
On a computer net work, packets such as Mul ticast packets and Broadc ast packets continuall y flood the network as
normal procedure. At tim es, this traffic may increase do to a m alicious endstation on the network or a m alfunctioning
device, such as a fault y net w ork card. Thus, Switch throughput problem s will arise and c onse quentl y affec t the over all
performance of the Switch network. To help rectify this packet storm, the Switch will monitor and control the situation.
The packet storm is monitored to determine if too m any packets are flooding the network, based on the threshold leve l
provided by the user. Onc e a packet storm has been detected, th e Switch will drop o verflow packets coming into the
Switch until the storm has subsided. This method can be utilized by selecting the Drop option of the Action field in the
window below.
The Switch will als o scan and monitor p ackets coming into th e Switch by monitoring the Switch’s chip c ounter. This
method is only viable f or Broadcast and Multicas t storms because the ch ip only has counters f or these two types of
packets. Once a storm has been detected (that is, once the packet threshold set below has been exceeded), the
Switch will shutdown the port to all incoming traffic with the exception of STP BPDU packets, for a time period
specified using the countdown field. If the p acket s torm discontinues b efore th e countd own tim er expires, the port will
again allow all incoming traffic. If this field times out and the packet storm continues, the port will be placed in a
Shutdown Forever m ode which will produce a warning message to be s ent to the Trap Receiver , if we have set th e
trap field. Once in Shutdow n Forever m ode, the port will be rec overed autom aticall y, when the auto-recover time has
expired. (If the value was s et to “0”, the port will not be auto recov ered), or the us er manual ly resets the port us ing the
config ports enable command, mentioned previously in this manual.
The broadcast storm control commands in the Command Line Interface (CL I) are listed (along wit h the appropriate
parameters) in the following table.
Command Parameters
config traffic control [<portlist> | all] {broadcast [enable | disable] | multicast [enable | disabl e] | unicast [ ena ble |
auto_recover_time
show traffic control {[<portlist>]}
config traffic trap [none | storm_occurred | storm_cleared | both]
Each command is listed, in detail, in the following sections.
[enable | disable]
[<min 0> | <min 1-65535>]
config traffic control
Purpose
Syntax config traffic contro l [<portlist> | all] {broadcast [enable | disable] | multicast [enable |
Description
Used to configure broadcast/multicast/unicast packet storm control. The software mechanism
is provided to monitor the traffic rate in addition to the hardware storm control mechanism
previously provided.
This command is used to configure broadcast/multicast/unicast storm control. By adding the
new software traffic control mechanism, the user can now use both a hardware and software
mechanism, the latter of which will now provide shutdown, recovery and trap notification
functions for the Switch.
Parameters
<portlist> − Used to specify a group list of ports to be configured for traffic control, as defined
below:
all − Specifies all portlists are to be configured for traffic control on the Switch.
broadcast [enable | disable] − Enables or disables broadcast storm control.
multicast [enable | disable] − Enables or disables multicast storm control.
unicast [enable | disable] − Enables or disables unicast traffic control.
93
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
Switch. The user has two options:
disable – Specifies that the port will enter shutdown forever at once.
DES-3528:admin# config traffic control 1-12 broadcast enable action shutdown threshold
DES-3528:admin#
config traffic control
threshold <value 0-255000> − The upper threshold at which the specified traffic control is
Switched on. The <value> is the number of broadcast/multicast/unicast packets, in packets
per second (pps), received by the Switch that will trigger the storm traffic control measures.
The default setting is 131072.
time_interval− The Interval will set the time between Multicast and Broadcast packet counts
sent from the Switch’s chip to the Traffic Control function. These packet counts are the
determining factor in deciding when incoming packets exceed the Threshold value.
<sec 5-600>− The Interval may be set between 5 and 600 seconds with the default setting
of 5 seconds.
Restrictions
countdown − The countdown timer is set to determine the amount of time, in minutes, that
the Switch will wait before shutting down the port that is experiencing a traffic storm. The
Switch will shutdown the port only if the traffic level exceeds the previously configured
threshold all the time during this countdown period. This parameter is only useful for ports
configured as shutdown in the action field of this command and therefore will not operate
for Hardware based Traffic Control implementations.
Only Administrator and Operator and Power-User-level users can issue this command.
•drop− Utilizes the hardware Traffic Control mechanism, which means the Switch’s
hardware will determine the Packet Storm based on the Threshold value stated
and drop packets until the issue is resolved.
•shutdown − Utilizes the Switch’s software Traffic Control mechanism to determine
the Packet Storm occurring. Once detected, the port will deny all incoming traffic to
the port except STP BPDU packets, which are essential in keeping the Spanning
Tree operational on the Switch. If the countdown timer has expired and yet the
Packet Storm continues, the port will be placed in Shutdown Forever mode. The
port will be recovered automatically, when the auto-recover time has expired. (If the
value was set to “0”, the port will not be auto recovered), or the user manually
resets the port using the config ports enable command. Choosing this option
obligates the user to configure the time_interval field as well , wh ic h w il l pro vi d e
packet count samplings from the Switch’s chip to determine if a Packet Storm is
occurring.
•<min 0> - is the default setting for this field and 0 will denote that the port will never
enter shutdown forever mode.
•<min 3-30> – Select a time from 3 to 30 minutes that the Switch will wait before
shutting down. Once this time expires and the port is still experiencing packet
storms, the port will be placed in shutdown forever mode and the port will be
recovered automaticall y, when aut o-recover time has expired, or be manually
recovered using the config ports command mentioned previously in this manual.
•
Example usage:
To configure traffic control and enable broadcast storm control for ports 1-12:
Purpose
Syntax config traffic contro l log state [enable | disable]
Description
This command is used to configure the traffic control log state.
When the log state is enabled, traffic control states are logged when a storm occurs and
when a storm is cleared. If the log state is disabled, traffic control events are not logged.
94
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
Note: The log state is only applicable for shutdown mode. Since shutdown mode only
DES-3528:admin# config traffic control log state enable
DES-3528:admin#
DES-3528:admin# config traffic control auto_recover_time 5
DES-3528:admin#
DES-3528:admin# show traffic control
config traffic control log state
support broadcast and multicast storm control, doesn’t support unicast storm control. The log
only generate for broadcast and multicast storm control.
Parameters enable - Both occurred and cleared are logged.
disable - Neither occurred nor cleared is logged.
Restrictions
Example usage:
To configure the traffic log state on the Switch:
Command: config traffic control log state enable
Success.
Only Administrator and Operator and Power-User-level users can issue this command.
config traffic control auto_recover_time
Purpose
Syntax config traffic contro l auto_recover_time [<min 0> | <min 1-65535>]
Description
Parameters auto_recover_time - The time allowed for auto recovery from shutdown for a port. The default
This command is used to configure the traffic auto recover time that allowed for a port to
recover from shutdown forever status.
This command is used to configure the traffic auto recover time that allowed for a port to
recover from shutdown forever status.
value is 0, so no auto recovery is possible; the port remains in shutdown forever mode. This
requires manual entry of the CLI command “config ports [ <portlist> | all ] state enable" to
return the port to a forwarding state. The default value is 0, which means disable auto
recover mode, shutdown forever.
<min 0> - Specifies that the auto recovery time will be disabled.
<min 1-65535> - Enter the auto recovery time value here. This value must be between 1 and
65535.
Restrictions
Example usage:
To configure the auto recover time to 5 minutes:
Command: config traffic control auto_recover_time 5
Success.
Only Administrator and Operator and Power-User-level users can issue this command.
show traffic contro l
Purpose
Syntax show traffic control { <portlist> }
Description
Parameters
Restrictions
Example usage:
To display traffic control settings:
Used to display current traffic control settings.
This command displays the current storm traffic control configuration on the Switch.
<portlist>− Used to specify port or list of ports for which to display traffic control settings.
The beginning and end of the port list range are separated by a dash.
None.
95
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
Command: show traffic control
CTRL+CESCqQuit SPACEn Next Page ENTER Next Entry aAll
DES-3528:admin# config traffic trap both
DES-3528:admin#
Traffic Control Trap : [None]
Traffic Control Log : Enabled
Traffic Control Auto Recover Time: 0 Minutes
Port Thres Broadcast Multicast Unicast Action Count Time Shutdown
hold Storm Storm Storm down Interval Forever
---- ------ --------- --------- -------- -------- -------- -------- -------1 131072 Disabled Disabled Disabled drop 0 5
2 131072 Disabled Disabled Disabled drop 0 5
3 131072 Disabled Disabled Disabled drop 0 5
4 131072 Disabled Disabled Disabled drop 0 5
5 131072 Disabled Disabled Disabled drop 0 5
6 131072 Disabled Disabled Disabled drop 0 5
7 131072 Disabled Disabled Disabled drop 0 5
8 131072 Disabled Disabled Disabled drop 0 5
9 131072 Disabled Disabled Disabled drop 0 5
10 131072 Disabled Disabled Disabled drop 0 5
11 131072 Disabled Disabled Disabled drop 0 5
12 131072 Disabled Disabled Disabled drop 0 5
13 131072 Disabled Disabled Disabled drop 0 5
14 131072 Disabled Disabled Disabled drop 0 5
Parameters none – No notification will be generated or sent when a packet storm control is occurred or
Restrictions
Example usage:
To configure notifications to be sent when a packet storm control has been detected and clear ed b y the
Switch.
Used to configure the trap settings for the packet storm control mechanism.
This command is used to configure how packet storm control trap messages will be used
when a packet storm is detected by the Switch. This function can only be used for the
software traffic storm control mechanism (when the action field in the config traffic storm_control command is set as shutdown).
cleared.
storm _occurred – A notification will be generated and sent when a packet storm has been
detected by the Switch.
storm_cleared− A notification will be generated and sent when a packet storm has been
cleared by the Switch.
both− A notification will be generated and sent when a packet storm has been detected and
cleared by the Switch.
Only Administrator and Operator and Power-User-level users can issue this command.
Command: config traffic trap both
Success.
96
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
QOSCOMMANDS
The Switch supports 802.1p priority queuing. The Switch has 8 priority queues, but it has 7 priority queues available .
Q7 is reserved for stacking function. These priority queues are numbered from 6 (Class 6) — the highest priority
queue — to 0 (Class 0) — the lowest priority queue. The eight priority tags specified in IEEE 802.1p (p0 to p7) are
mapped to the Switch’s priority queues as follows:
• Priority 0 is assigned to the Switch’s Q2 queue.
• Priority 1 is assigned to the Switch’s Q0 queue.
• Priority 2 is assigned to the Switch’s Q1 queue.
• Priority 3 is assigned to the Switch’s Q3 queue.
• Priority 4 is assigned to the Switch’s Q4 queue.
• Priority 5 is assigned to the Switch’s Q5 queue.
• Priority 6 is assigned to the Switch’s Q6 queue.
• Priority 7 is assigned to the Switch’s Q6 queue.
• Q7 is reserved for stacking function.
Priority scheduling is implemented by the priority queues stated above. The Switch will empty the seven hardware
priority queues in order, beginning with the highest priority queue, 6, to the lowest priority queue, 0. Each hardware
queue will transmit all of the packets in its buffer before permitting the next lower priority to transmit its packets. When
the lowest hardware priority queue has finished transmitting all of its packets, the highest hardware priority queue will
begin transmitting any packets it may have received.
The commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
This command is used to configure bandwidth on a port-by-port basis.
<portlist> − Specifies a port or range of ports to be configured.
rx_rate − Specifies that one of the parameters below (no_limit or <value 64-1024000>) wil l
be applied to the rate at which the above specified ports will be allowed to receive packets
no_limit − Specifies that there will be no limit on the rate of packets received by the
above specified ports.
<value 64-1024000> − Specifies the packet limit, in Kbps, that the above ports will
be allowed to receive.
tx_rate − Specifies that one of the parameters below (no_limit or <value 64-1024000>) wil l be
applied to the rate at which the above specified ports will be allowed to transmit packets.
no_limit − Specifies that there will be no limit on the rate of packets transmitted by
the above specified ports.
<value 64-1024000>− Specifies the packet limit, in Kbps, that the above ports will
be allowed to transmit.
Only Administrator and Operator and Power-User-level users can issue this command.
show bandwidth_control
Purpose
Syntax show bandwidth_control {<portlist>}
Description
Parameters
Restrictions
Example usage:
To display port bandwidth control table:
----- ---------- ---------- ---------------- --------------- 1 No Limit No Limit No Limit No Limit
2 No Limit No Limit No Limit No Limit
3 No Limit No Limit No Limit No Limit
4 No Limit No Limit No Limit No Limit
5 No Limit No Limit No Limit No Limit
6 No Limit No Limit No Limit No Limit
7 No Limit No Limit No Limit No Limit
8 No Limit No Limit No Limit No Limit
9 No Limit No Limit No Limit No Limit
10 No Limit No Limit No Limit No Limit
Used to display the bandwidth control table.
This command displays the current bandwidth control configuration on the Switch, on a portby-port basis.
<portlist>− Specifies a port or range of ports to be viewed.
None.
98
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switc h CLI Reference Guide
This command is used to set per port or flow bandwidth control. For per flow bandwidth
control, it can be based on the assigned CoS queue.
Mini-rate specifies the minimal quaranteed bandwidth. Specify no limit for the mini-rate
means no quaranteed bandwidth.
Max-rate speficies the max-rate limitatoin. When it is specified, packet transmitted from the
queue will not exceed the specified max-rate limitation even though there is still available
bandwidth.
The specification of mini-rate and max-rate are effective regardless whether the queue is
operated in the strict mode or in the wrr mode.
<portlist> − Specifies a port or range of ports to be configured.
<cos_id_list 0-6> − Specifies a priority queue or range of priority queues to be configured.
min_rate - Specifies one of the parameters below (no_limit or <value 64-1024000>) that will
be applied to the minimum rate at which the above specified class will be allowed to receive
packets.
no_limit − Specifies that there will be no limit on the rate of packets received by the
above specified class.
<value 64-1024000> − Specifies the packet limit, in Kbps, that the above ports will
be transmit at least.
max_rate − Specifies one of the parameters below (no_limit or <value 64-1024000>) that will
be applied to the maximum rate at which the above specified class will be allowed to transmit
packets.
no_limit − Specifies that there will be no limit on the rate of packets transmit by the
above specified class.
<value 64-1024000> − Specifies the packet limit, in Kbps, that the above ports will
Example usage:
To display port per CoS bandwidth control table:
Command: show per_queue bandwidth_control 10
Queue Bandwidth Control Table On Port: 10
Queue Min Rate(Kbit/sec) Max Rate(Kbit/sec)
0 No Limit No Limit
1 64 192
2 No Limit No Limit
3 No Limit No Limit
4 No Limit No Limit
5 No Limit No Limit
6 No Limit No Limit
Used to configure the traffic scheduling mechanism for each CoS queue.
127>]
Description
Parameters
The Switch contains seven hardware priority queues available. Incoming packets must be
mapped to one of these seven queues. This command is used to specify the rotation
mechanism regarding how packets in these seven hardware priotiry queues are being
handled and emptied.
The Switch’s default (if the config scheduling command is not used, or if the config
scheduling command is entered with weight parameters set to 0) is to empty the 7 hardware
priority queues in order − from the highest priority queue (hardware queue 6) to the lowest
priority queue (hardware queue 0). Each hardware queue will transmit all of the packets in its
buffer before allowing the next lower priority queue to transmit its packets. When the lowest
hardware priority queue has finished transmitting all of its packets, the highest hardware
priority queue can again transmit any packets it may have received.
The weight parameter allows the user to specify the maximum number of packets a given
hardware priority queue can transmit before allowing the next lower hardware priority queue
to begin transmitting its packets. A value between 0 and 127 can be specified. For example,
if a value of 3 is specified, then the highest hardware priority queue (number 6) will be
allowed to transmit 3 packets − then the next lower hardware priority queue (number 5) will
be allowed to transmit 3 packets, and so on, until all of the queues have transmitted 3
packets. The process will then repeat.
<class_id 0-6> − Specifies which of the seven hardware priority queues that the config
scheduling command will apply to. The seven hardware priority queues are identified by
number, from 0 to 6, with the queue 0 being the lowest priority.
[<portlist> | all] − Specifes a range of ports to be configured.
strict – Specifies this queue is always working in strict mode.
weight <value 1-127> − Using weighted fair algorithm to handle packets in priority queues.
Each queue will operate based on its setting of weight values.
Restrictions
Example usage:
To configure the traffic scheduling for each CoS queue:
Only Administrator and Operator and Power-User-level users can issue this command.
100
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.