DES-3226S Layer 2 Switch Command Line Interface Reference Manual Third Edition (December 2003) 651E3226S055 Printed In Taiwan RECYCLABLE
DES-3226S Layer 2 Switch CLI Reference D-Link Offices for Registration and Warranty Service The product's Registration Card, provided at the back of this manual, must be sent to a D-Link office. To obtain an RMA number for warranty service as to a hardware product, or to obtain warranty service as to a software product, contact the D-Link office nearest you. An address/telephone/fax/e-mail/Web site list of D-Link offices is provided in the back of this manual.
DES-3226S Layer 2 Switch CLI Reference FCC Warning This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
Table of Contents Introduction ....................................................................................................... 1 Using the Console CLI...................................................................................... 5 Command Syntax ............................................................................................ 12 Basic Switch Commands................................................................................. 17 Switch Port Commands............................
Asymmetric VLANs Commands ...................................................................276 Command History List...................................................................................281 Technical Specifications ................................................................................
DES-3226S Layer 2 Switch CLI Reference 1 I NTRODUCTION The DES-3226 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. This manual provides a reference for all of the commands contained in the CLI. Configuration and management of the switch via the Web-based management agent is discussed in the User’s Guide.
DES-3226S Layer 2 Switch CLI Reference 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-3226S:4#. 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.
DES-3226S Layer 2 Switch CLI Reference Figure 1-2. Boot Screen The switch’s MAC address can also be found in the Web management program on the Switch Information (Basic Settings) window on the Configuration menu. The IP address for the switch must be set before it can be managed with the Web-based manager. The switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the switch must be known.
DES-3226S Layer 2 Switch CLI Reference The IP interface named System on the switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the switch’s Telnet or Web-based management agent. Figure 1-3. Assigning an IP Address In the above example, the switch was assigned an IP address of 10.41.44.2 with a subnet mask of 255.0.0.0. The system message Success indicates that the command was executed successfully.
DES-3226S Layer 2 Switch CLI Reference 2 U SING THE C ONSOLE CLI The DES-3226S 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.
DES-3226S Layer 2 Switch CLI Reference You can also access the same functions over a Telnet interface. Once you have set an IP address for your Switch, you 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 you have logged in, the console looks like this: Figure 2-1.
DES-3226S Layer 2 Switch CLI Reference Figure 2-2. The ? Command The dir command has the same function as the ? command. When you enter a command without its required parameters, the CLI will prompt you with a Next possible completions: message.
DES-3226S Layer 2 Switch CLI Reference Figure 2-3. Example Command Parameter Help In this case, the command config account was entered with the parameter . The CLI will then prompt you to enter the with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
DES-3226S Layer 2 Switch CLI Reference Figure 2-4. Using the Up Arrow to Re-enter a Command In the above example, the command config account was entered without the required parameter , the CLI returned the Next possible completions: prompt. The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt. Now the appropriate User name can be entered and the config account command re-executed.
DES-3226S Layer 2 Switch CLI Reference Figure 2-5. The Next Available Commands Prompt The top-level commands consist of commands such as show or config. Most of these commands require one or more parameters to narrow the top-level command. This is equivalent to show what? or config what? Where the what? is the next parameter. For example, if you enter the show command with no additional parameters, the CLI will then display all of the possible next parameters.
DES-3226S Layer 2 Switch CLI Reference Figure 2-6. Next possible completions: Show Command In the above example, all of the possible next parameters for the show command are displayed. At the next command prompt, the up arrow was used to re-enter the show command, followed by the account parameter. The CLI then displays the user accounts configured on the switch.
DES-3226S Layer 2 Switch CLI Reference 3 C OMMAND S YNTAX 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. Purpose Encloses a variable or value that must be specified.
DES-3226S Layer 2 Switch CLI Reference [square brackets] Purpose Encloses a required value or set of required arguments. One value or argument can be specified. Syntax create account [admin|user] Description In the above syntax example, you must specify either an admin or a user level account to be created. Do not type the square brackets. Example Command create account admin | vertical bar Purpose Separates two or more mutually exclusive items in a list, one of which must be entered.
DES-3226S Layer 2 Switch CLI Reference {braces} Purpose Encloses an optional value or set of optional arguments. Syntax reset {[config|system]} Description In the above syntax example, you have the option to specify config or detail. 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.
DES-3226S Layer 2 Switch CLI Reference Line Editing Key Usage Delete Backspace Left Arrow Right Arrow Up Arrow Down Arrow Tab Deletes the character under the cursor and then shifts the remaining characters in the line to the left. Deletes the character to the left of the cursor and shifts the remaining characters in the line to the left. Moves the cursor to the left. Moves the cursor to the right. Repeat the previously entered command.
DES-3226S Layer 2 Switch CLI Reference CTRL+c ESC n p q r a Enter Stops the display of remaining pages when multiple pages are to be displayed. Stops the display of remaining pages when multiple pages are to be displayed. Displays the next page. Displays the previous page. Stops the display of remaining pages when multiple pages are to be displayed. Refreshes the pages currently displayed. Displays the remaining pages without pausing between pages. Displays the next line or table entry.
DES-3226S Layer 2 Switch CLI Reference 4 B ASIC S WITCH C OMMANDS The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference create account Purpose Used to create user accounts Syntax create [admin|user] Description The create account 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. Parameters Admin User Restrictions Only Administrator-level users can issue this command. Usernames can be between 1 and 15 characters.
DES-3226S Layer 2 Switch CLI Reference config account Purpose Used to configure user accounts Syntax config account Description The config account command configures a user account that has been created using the create account command. Parameters Restrictions Only Administrator-level users can issue this command. Usernames can be between 1 and 15 characters. Passwords can be between 0 15 characters.
DES-3226S Layer 2 Switch CLI Reference show account Purpose Used to display user accounts Syntax show account Description Displays all user accounts created on the switch. Up to 8 user accounts can exist on the switch at one time. Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference delete account Purpose Used to delete an existing user account Syntax delete account Description The delete account command deletes a user account that has been created using the create account command. Parameters Restrictions Only Administrator-level users can issue this command. Example usage: To delete the user account “System”: DES-3226S:4#delete account System Command: delete account System Success.
DES-3226S Layer 2 Switch CLI Reference show session Purpose Used to display a list of currently logged-in users. Syntax show session Description This command displays a list of all the users that are logged-in at the time the command is issued. Parameters None Restrictions None.
DES-3226S Layer 2 Switch CLI Reference show switch Purpose Used to display information about the switch. Syntax show switch Description This command displays information about the switch. Parameters None. Restrictions None. Example usage: To display the switch information: DES-3226S:4#show switch Command: show switch Device Type : DES-3226S Fast-Ethernet Switch Module Type : DES-332GS 1-port GBIC Gigabit Ethernet and 1 Stacking Port Unit ID :1 MAC Address : DA-10-21-00-00-01 IP Address : 10.41.
DES-3226S Layer 2 Switch CLI Reference show serial_port Purpose Used to display the current serial port settings. Syntax show serial_port Description This command displays the current serial port settings. Parameters None.
DES-3226S Layer 2 Switch CLI Reference config serial_port Purpose Used to configure the serial port. Syntax config serial_port {baud_rate[9600|19200|38400|115200]|auto_logout [never|2_minutes|5_minutes|10_minutes| 15_minutes]} Description This command is used to configure the serial port’s baud rate and auto logout settings. Parameters [9600|19200|38400|115200] − The serial bit rate that will be used to communicate with the management host.
DES-3226S Layer 2 Switch CLI Reference enable clipaging Purpose Used to pause the scrolling of the console screen when the show command displays more than one page. Syntax enable clipaging Description This command is used when issuing the show 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. Parameters None.
DES-3226S Layer 2 Switch CLI Reference disable clipaging Purpose Used to disable the pausing of the console screen scrolling at the end of each page when the show command displays more than one screen of information. Syntax disable clipaging Description This command is used to disable the pausing of the console screen at the end of each page when the show command would display more than one screen of information. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference enable telnet Purpose Used to enable communication with and management of the switch using the Telnet protocol. Syntax enable telnet Description 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. Parameters − The TCP port number. TCP ports are numbered between 1 and 65535.
DES-3226S Layer 2 Switch CLI Reference disable telnet Purpose Used to disable the Telnet protocol on the switch. Syntax disable telnet Description This command is used to disable the Telnet protocol on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable the Telnet protocol on the switch: DES-3226S:4#disable telnet Command: disable telnet Success.
DES-3226S Layer 2 Switch CLI Reference enable web Purpose Used to enable the HTTP-based management software on the switch. Syntax enable web Description This command is used to enable the Webbased management software on the switch. The user can specify the TCP port number the switch will use to listen for Telnet requests. Parameters − The TCP port number. TCP ports are numbered between 1 and 65535. The “well-known” port for the Web-based management software is 80.
DES-3226S Layer 2 Switch CLI Reference disable web Purpose Used to disable the HTTP-based management software on the switch. Syntax disable web Description This command disables the Web-based management software on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable HTTP: DES-3226S:4#disable web Command: disable web Success.
DES-3226S Layer 2 Switch CLI Reference save Purpose Used to save changes in the switch’s configuration to non-volatile RAM. Syntax Save Description 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. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference reboot Purpose Used to restart the switch. Syntax reboot Description This command is used to restart the switch. Parameters None. Restrictions None. Example usage: To restart the switch: DES-3226S:4#reboot Command: reboot Are you sure want to proceed with the system reboot? (y|n) Please wait, the switch is rebooting...
DES-3226S Layer 2 Switch CLI Reference reset Purpose Used to reset the switch to the factory default settings. Syntax reset {[config|system]} Description This command is used to restore the switch’s configuration to the default settings assigned from the factory. Parameters 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.
DES-3226S Layer 2 Switch CLI Reference login Purpose Used to log in a user to the switch’s console. Syntax login Description This command is used to initiate the login procedure. The user will be prompted for his Username and Password. Parameters None. Restrictions None. Example usage: To initiate the login procedure: DES-3226S:4#login Command: login UserName: logout Purpose Used to log out a user from the switch’s console.
DES-3226S Layer 2 Switch CLI Reference 5 S WITCH P ORT C OMMANDS The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ports speed [auto|10_half|10_full|100_half|100_full| 1000_half|1000_full] flow_control [enable|disable] learning [enable|disable] state [enable|disable] show ports Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference config ports Purpose Used to configure the switch’s Ethernet port settings. Syntax config ports [] {speed[auto|10_half|10_full|100_half|100_half|100 0_full] flow_control [enable|disable] learning [enable|disable] state [enable|disable]} Description This command allows for the configuration of the switch’s Ethernet ports. Only the ports listed in the will be affected. Parameters all − Configure all ports on the switch.
DES-3226S Layer 2 Switch CLI Reference config ports command. Example usage: To configure the speed of port 3 to be 10 Mbps, full duplex, learning and state enabled: DES-3226S:4#config ports 1-3 speed 10_full learning enable state enable Command: config ports 1-3 speed 10_full learning enable state enable Success. DES-3226S:4# show ports Purpose Used to display the current configuration of a range of ports.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the configuration of all ports an a standalone switch: DES-3226S:4#show ports Command show ports: Port Port Settings Connection Address State Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning ------ -------- --------------------- --------------------- -------1 Enabled Auto/Enabled Link Down Enabled 2 Enabled Auto/Enabled Link Down Enabled 3 Enabled Auto/Enabled Link Down Enabled 4 Enabled Auto/Enabled Link Down Enabled 5 Enabled Auto/Enab
DES-3226S Layer 2 Switch CLI Reference 6 P ORT S ECURITY C OMMANDS The switch port security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference config port_security ports Purpose Used to configure port security settings. Syntax config port_security ports [ | all ] {admin_state [enable | disable] | max_learning_addr | lock_address_mode [Permanent|DeleteOnTimeout|DeleteOnReset]} Description This command allows for the configuration of the port security feature. Only the ports listed in the are effected.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure the port security: DES-3226S:4#config port_security ports 5:1-5:5 admin_state enable max_learning_addr 5 lock_address_mode Permanent Command: config port_security ports 5:1-5:5 admin_state enable max_learning_addr 5 lock_address_mode Permanent Stacking port 5:5 can not be a port-security port DES-3226S:4# 42
DES-3226S Layer 2 Switch CLI Reference clear port_security_entry Purpose Used to delete a previously configured port security entry. Syntax clear port_security_entry vlan_name mac_address port . Description This command can delete port security settings according to specified VLAN, MAC address and port. Parameters vlan_name – The name of the VLAN to which the port belongs. mac_address – The MAC address being deleted from the FDB for the port.
DES-3226S Layer 2 Switch CLI Reference show port_security Purpose Used to display the current port security configuration. Syntax show port_security {ports } Description This command is used to display port security information of the switch ports. The information displayed includes port security admin state, maximum number of learning address and lock mode. Parameters − specifies a range of ports to be viewed.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the port security configuration: DES-3226S:4#show port_security ports 1-24 Command: show port_security ports 1-24 Port# Admin State Max. Learning Addr.
DES-3226S Layer 2 Switch CLI Reference 7 N ETWORK M ANAGEMENT (SNMP) C OMMANDS The network management commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. The DES-3226S supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. You can specify which version of the SNMP you want to use to monitor and control the switch.
DES-3226S Layer 2 Switch CLI Reference Command Parameters create snmp user create snmp user {encrypted(1) [by_password(1) auth [md5(2) | sha(3) ] priv [none(1) | des(2) ] | by_key(2) auth [md5(2) | sha(3) ] priv [none(1) | des(2) ]]} delete snmp user show snmp user create snmp view view_type [included | excluded] delete snmp
DES-3226S Layer 2 Switch CLI Reference Command Parameters auth_priv read_view write_view notify_view delete snmp group show snmp groups create snmp host v1|v2c|v3 noauth_nopriv auth_nopriv auth_priv delete snmp host show snmp host config mac_notification ports |all interval historysize enable mac_notification disable mac_notification show mac_notific
DES-3226S Layer 2 Switch CLI Reference create snmp user Purpose Syntax Description Parameters Used to create a new SNMP user and adds the user to an SNMP group that is also created by this command.
DES-3226S Layer 2 Switch CLI Reference create snmp user Restrictions encrypted – Specifies that the password will be in an encrypted format. auth [md5|sha] – Initiate an authentication-level setting session. md5 − Specifies that the HMAC-MD5-96 authentication level will be used. sha − Specifies that the HMAC-SHA-96 authentication level will be used. − An alphanumeric sting of between 8 and 20 characters that will be used to authorize the agent to receive packets for the host.
DES-3226S Layer 2 Switch CLI Reference delete snmp user Purpose Used to remove an SNMP user from an SNMP group and also to delete the associated SNMP group. Syntax delete snmp user Description The delete snmp user command removes an SNMP user from its SNMP group and then deletes the associated SNMP group. Parameters − An alphanumeric string of up to 32 characters that identifies the SNMP user that will be deleted.
DES-3226S Layer 2 Switch CLI Reference show snmp user Purpose Used to display information about each SNMP username in the SNMP group username table. Syntax show snmp user Description The show snmp user command displays information about each SNMP username in the SNMP group username table. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference create snmp view Purpose Syntax Description Parameters Restrictions Used to assign views to community strings to limit which MIB objects and SNMP manager can access. create snmp view view_type [included|excluded] The create snmp view command assigns views to community strings to limit which MIB objects an SNMP manager can access. − An alphanumeric string of up to 32 characters that identifies the SNMP view that will be created.
DES-3226S Layer 2 Switch CLI Reference delete snmp view Purpose Used to remove an SNMP view entry previously created on the switch. Syntax delete snmp view [all|] Description The delete snmp view command is used to remove an SNMP view previously created on the switch. Parameters − 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.
DES-3226S Layer 2 Switch CLI Reference show snmp view Purpose Used to display an SNMP view previously created on the switch. Syntax show snmp view {} Description The show snmp view command displays an SNMP view previously created on the switch. Parameters − An alphanumeric string of up to 32 characters that identifies the SNMP view that will be displayed. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference 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 agent on the switch. One or more of the following characteristics can be associated with the community string: 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.
DES-3226S Layer 2 Switch CLI Reference 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. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference delete snmp community Purpose Used to remove a specific SNMP community string from the switch. Syntax delete snmp community Description The delete snmp community command is used to remove a previously defined SNMP community string from the switch. Parameters − An alphanumeric string of up to 32 characters that is used to identify members of an SNMP community.
DES-3226S Layer 2 Switch CLI Reference show snmp community Purpose Used to display SNMP community strings configured on the switch. Syntax show snmp community {} Description The show snmp community command is used to display SNMP community strings that are configured on the switch. Parameters − An alphanumeric string of up to 32 characters that is used to identify members of an SNMP community.
DES-3226S Layer 2 Switch CLI Reference config snmp engineID Purpose Used to configure a name for the SNMP engine on the switch. Syntax config snmp engineID Description The config snmp engineID command configures a name for the SNMP engine on the switch. Parameters − An alphanumeric string that will be used to identify the SNMP engine on the switch. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference show snmp engineID Purpose Used to display the identification of the SNMP engine on the switch. Syntax show snmp engineID Description The show snmp engineID command displays the identification of the SNMP engine on the switch. Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference create snmp group Purpose Used to create a new SNMP group, or a table that maps SNMP users to SNMP views. Syntax create snmp group [v1|v2c|v3 [noauth_nopriv|auth_nopriv|auth_priv]] {read_view |write_view |notify_view } Description The create snmp group command creates a new SNMP group, or a table that maps SNMP users to SNMP views.
DES-3226S Layer 2 Switch CLI Reference create snmp group 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.
DES-3226S Layer 2 Switch CLI Reference Example usage: To create an SNMP group named “sg1:” DES-3226S:4#create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 Command: create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 Success.
DES-3226S Layer 2 Switch CLI Reference delete snmp group Purpose Used to remove an SNMP group from the switch. Syntax delete snmp group Description The delete snmp group command is used to remove an SNMP group from the switch. Parameters − An alphanumeric name of up to 32 characters that will identify the SNMP group the new SNMP user will be associated with. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference show snmp groups Purpose 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. Syntax show snmp groups Description The show snmp groups 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. Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference Security Level : authNoPriv Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : Group5 : ReadView : WriteView : NotifyView : SNMPv3 : authNoPriv Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : Group6 : ReadView : WriteView : NotifyView : SNMPv3 : authPriv Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : Group7 : ReadView : WriteView : NotifyView
DES-3226S Layer 2 Switch CLI Reference Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : ReadGroup : CommunityView : : CommunityView : SNMPv2 : NoAuthNoPriv Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : WriteGroup : CommunityView : CommunityView : CommunityView : SNMPv1 : NoAuthNoPriv Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : WriteGroup : CommunityView : CommunityView : Comm
DES-3226S Layer 2 Switch CLI Reference create snmp host Purpose Used to create a recipient of SNMP traps generated by the switch’s SNMP agent. Syntax create snmp host [v1|v2c|v3 [noauth_nopriv|auth_nopriv|auth_priv] ] Description The create snmp host command creates a recipient of SNMP traps generated by the switch’s SNMP agent. Parameters − The IP address of the remote management station that will serve as the SNMP host for the switch.
DES-3226S Layer 2 Switch CLI Reference create snmp host 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.
DES-3226S Layer 2 Switch CLI Reference DES-3226S:4#create snmp host 10.48.74.100 v3 auth_priv public Command: create snmp host 10.48.74.100 v3 auth_priv public Success. DES-3226S:4# delete snmp host Purpose Used to remove a recipient of SNMP traps generated by the switch’s SNMP agent. Syntax delete snmp host Description The delete snmp host command deletes a recipient of SNMP traps generated by the switch’s SNMP agent.
DES-3226S Layer 2 Switch CLI Reference DES-3226S:4#delete snmp host 10.48.74.100 Command: delete snmp host 10.48.74.100 Success. DES-3226S:4# show snmp host Purpose Used to display the recipient of SNMP traps generated by the switch’s SNMP agent. Syntax show snmp host {} Description The show snmp host 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.
DES-3226S Layer 2 Switch CLI Reference DES-3226S:4#show snmp host Command: show snmp host SNMP Host Table Host IP Address SNMP Version --------------- Community Name --------------------- ------------------------------ 10.48.76.23 V2c private 10.48.74.
DES-3226S Layer 2 Switch CLI Reference 8 MAC N OTIFICATION C OMMANDS Command Parameters config mac_notification ports |all interval historysize enable mac_notification disable mac_notification show mac_notification {ports} 74
DES-3226S Layer 2 Switch CLI Reference config mac_notification Purpose Used to configure MAC address notification. Syntax config mac_notification ports |all interval historysize <1 - 500> Description MAC address notification is used to monitor MAC addresses learned and entered into the FDB. Parameters ports - specifies a range of ports to be configured.
DES-3226S Layer 2 Switch CLI Reference Example usage: To enable MAC address notification for unit 1 ports 6-9: DES-3226S:4#config mac_notification ports 1:6-1:9 enabled Command: config mac_notification ports 1:6-1:9 enabled Success.
DES-3226S Layer 2 Switch CLI Reference config mac_notification Purpose Used to configure MAC address notification. Syntax config mac_notification ports /all interval historysize <1 - 500> Description MAC address notification is used to monitor MAC addresses learned and entered into the FDB. Parameters ports - specifies a range of ports to be configured.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure a 60 second interval for MAC address notification on unit 1 ports 6-9: DES-3226S:4#config mac_notification ports 1:6-1:9 60 Command: config mac_notification ports 1:6-1:9 interval 60 Success. DES-3226S:4# enable mac_notification Purpose Used to globally enable MAC address notification without changing the mac_notification configuration. Syntax enable mac_notification Description Enables MAC notification on the switch.
DES-3226S Layer 2 Switch CLI Reference disable mac_notification Purpose Used to disable MAC address notification globally without changing mac_notification configuration.. Syntax disable mac_notification Description Disables MAC notification on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To globally disable MAC notification: DES-3226S:4#disable mac_notification Command: disable mac_notification Success.
DES-3226S Layer 2 Switch CLI Reference show mac_notification Purpose Used to display MAC address notification. Syntax show mac_notification {ports} Description Displays MAC notification settings either per port or globally as desired. Parameters none – this will display global MAC notification settings currently configured including Interval, History Size and State. ports – this displays per ports MAC notification settings. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display per port MAC notification settings: DES-3226S:4#show mac_notification ports Command: show mac_notification ports Port # MAC Address Table Notification State ------ ---------------------------------1 Enabled 2 Enabled 3 Enabled 4 Enabled 5 Enabled 6 Enabled 7 Enabled 8 Enabled 9 Enabled 10 Enabled 11 Enabled 12 Enabled 13 Enabled 14 Enabled 15 Enabled 16 Enabled 17 Enabled 18 Enabled 19 Enabled 20 Enabled CTRL+C ESC q Quit SPACE n Next Page p
DES-3226S Layer 2 Switch CLI Reference 9 D OWNLOAD /U PLOAD C OMMANDS The download|upload commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters download firmware unit [all|] configuration {increment} upload configuration log Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference download Purpose Used to download and install new firmware or a switch configuration file from a TFTP server. Syntax download [ firmware {unit [all|]}|configuration {increment}] Description This command is used to download a new firmware or a switch configuration file from a TFTP server. Parameters firmware − Download and install new firmware on the switch from a TFTP server.
DES-3226S Layer 2 Switch CLI Reference Example usage: To download a configuration file: DES-3226S:4#download configuration 10.48.74.121 c:\cfg\setting.txt Command: download configuration 10.48.74.121 c:\cfg\setting.txt Connecting to server................... Done. Download configuration............. Done.
DES-3226S Layer 2 Switch CLI Reference upload Purpose Used to upload the current switch settings or the switch history log to a TFTP server. Syntax upload [configuration|log] Description This command is used to upload either the switch’s current settings or the switch’s history log to a TFTP server. Parameters configuration − Specifies that the switch’s current settings will be uploaded to the TFTP server.
DES-3226S Layer 2 Switch CLI Reference 10 N ETWORK M ONITORING C OMMANDS The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference Command Parameters local4 local5 local6 local7 udp_port ipaddress state [enabled|disabled] config syslog host delete syslog host show syslog host all severity informational warning all facility local0 local1 local2 local3 local4 local5 local6 local7 udp_port ipaddress state [enabled|disabled] all Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference show packet ports Purpose Used to display statistics about the packets sent and received by the switch. Syntax show packet ports Description This command is used to display statistics about packets sent and received by ports specified in the port list. Parameters − specifies a range of ports to be displayed. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the packets analysis for port 7 of module 2: DES-3226S:4#show packet port 2:7 Port number : 2:7 Frame Size Total|sec ------------ Frame Counts Frames|sec ------------ 64 ---------- Frame Type ---------- 3275 10 RX Bytes 65-127 755 10 128-255 316 1 256-511 145 512-1023 1024-1518 ------- Total --------- 408973 1657 RX Frames 4395 19 0 TX Bytes 7918 178 15 0 TX Frames 111 2 0 0 Unicast RX 152 1 Multicast R
DES-3226S Layer 2 Switch CLI Reference show error ports Purpose Used to display the error statistics for a range of ports. Syntax show error ports Description This command will display all of the packet error statistics collected and logged by the switch for a given port list. Parameters − Specifies a range of ports to be displayed. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the errors of the port 3 of module 1: DES-3226S:4#show errors port 1:3 RX Frames TX Frames --------------- ---------------- CRC Error 0 Excessive Deferral 0 Undersize 0 CRC Error 0 Oversize 0 Late Collision 0 Fragment 0 Excessive Collision 0 Jabber 0 Drop Pkts Single Collision 0 Collision 0 0 show utilization Purpose Used to display real-time port utilization statistics.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the port utilization statistics: DES-3226S:4#show utilization Port TX|sec RX|sec Util ---- ---------- ---------- ---1:1 0 0 0 1:2 0 0 0 1:3 0 0 0 1:4 0 0 0 1:5 0 0 0 1:6 0 0 0 1:7 0 0 0 1:8 0 0 0 1:9 0 0 0 1:10 0 0 0 1:11 0 0 0 1:12 0 0 0 1:13 0 0 0 1:14 0 0 0 1:15 0 0 0 1:16 0 0 0 1:17 0 0 0 1:18 0 0 0 1:19 0 0 0 1:20 0 0 0 1:21 0 0 0 Port TX|sec RX|sec Util ------------- ---------- ---1:22 0 0 0 1:23 0 0 0 1:24 0 0 0 1:25 0 0 0 1:26 19 49
DES-3226S Layer 2 Switch CLI Reference clear counters Purpose Used to clear the switch’s statistics counters. Syntax clear counters {ports } Description This command will clear the counters used by the switch to compile statistics. Parameters − Specifies a range of ports to be configured. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
DES-3226S Layer 2 Switch CLI Reference clear log Purpose Used to clear the switch’s history log. Syntax clear log Description This command will clear the switch’s history log. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To clear the log information: DES-3226S:4#clear log Command: clear log Success.
DES-3226S Layer 2 Switch CLI Reference show log Purpose Used to display the switch history log. Syntax show log {index } Description This command will display the contents of the switch’s history log. Parameters index − The show log command will display the history log until the log number reaches this value. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference enable syslog Purpose Used to enable the system log to be sent to a remote host. Syntax enable syslog Description The enable syslog command enables the system log to be sent to a remote host. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To the syslog function on the switch: DES-3226S:4#enable syslog Command: enable syslog Success.
DES-3226S Layer 2 Switch CLI Reference disable syslog Purpose Used to enable the system log to be sent to a remote host. Syntax disable syslog Description The disable syslog command enables the system log to be sent to a remote host. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable the syslog function on the switch: DES-3226S:4#disable syslog Command: disable syslog Success.
DES-3226S Layer 2 Switch CLI Reference show syslog Purpose Used to display the syslog protocol status as enabled or disabled. Syntax show syslog Description The show syslog command displays the syslog status as enabled or disabled. Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference create syslog host Purpose Used to create a new syslog host. Syntax config syslog host [all|] {severity [informational|warning|all]| facility[local0|local1|local2|local3| local4|local5|local6|local7]|udp_port| ipaddress | state[enabled|disabled] Description The create syslog host command is used to create a new syslog host. Parameters all − Specifies that the command will be applied to all hosts.
DES-3226S Layer 2 Switch CLI Reference create syslog host informational − Specifies that informational messages will be sent to the remote host. This corresponds to number 6 from the list above. warning − Specifies that warning messages will be sent to the remote host. This corresponds to number 4 from the list above. all − Specifies that all of the currently supported syslog messages that are generated by the switch will be sent to the remote host.
DES-3226S Layer 2 Switch CLI Reference create syslog host 10 security|authorization messages 11 FTP daemon 12 NTP subsystem 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) local0 − Specifies that local use 0 messages will be sent to the remote host.
DES-3226S Layer 2 Switch CLI Reference create syslog host 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.
DES-3226S Layer 2 Switch CLI Reference config syslog host Purpose Used to configure the syslog protocol to send system log data to a remote host. Syntax config syslog host [all|] {severity [informational|warning|all]| facility[local0|local1|local2|local3| local4|local5|local6|local7]|udp_port| ipaddress | state[enabled|disabled] Description The config syslog host command is used to configure the syslog protocol to send system log information to a remote host.
DES-3226S Layer 2 Switch CLI Reference messages will be sent to the remote host. This corresponds to number 6 from the list above. warning − Specifies that warning messages will be sent to the remote host. This corresponds to number 4 from the list above. all − Specifies that all of the currently supported syslog messages that are generated by the switch will be sent to the remote host. facility − Some of the operating system daemons and processes have been assigned Facility values.
DES-3226S Layer 2 Switch CLI Reference 12 NTP subsystem 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) local0 − Specifies that local use 0 messages will be sent to the remote host. This corresponds to number 16 from the list above.
DES-3226S Layer 2 Switch CLI Reference 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 − Specifies the UDP port number that the syslog protocol will use to send messages to the remote host.
DES-3226S Layer 2 Switch CLI Reference delete syslog host Purpose Used to remove a syslog host, that has been previously configured, from the switch. Syntax delete syslog host [|all] Description The delete syslog host command is used to remove a syslog host that has been previously configured from the switch. Parameters − Specifies that the command will be applied to an index of hosts. There are four available indexes, numbered 1 through 4.
DES-3226S Layer 2 Switch CLI Reference show syslog host Purpose Used to display the syslog hosts currently configured on the switch. Syntax show syslog host {} Description The show syslog host command is used to display the syslog hosts that are currently configured on the switch. Parameters − Specifies that the command will be applied to an index of hosts. There are four available indexes, numbered 1 through 4. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference 11 S PANNING T REE C OMMANDS The switch supports 802.1d STP and 802.1w Rapid STP. The spanning tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference config stp Purpose Used to setup STP and RSTP on the switch. Syntax config stp {maxage |hellotime |forwarddelay |priority |fbpdu [enabled|disabled]| txholdcount <1-10>| version[rstp|stp]} Description This command is used to setup the Spanning Tree Protocol (STP) for the entire switch. Parameters maxage − The maximum amount of time (in seconds) that the switch will wait to receive a BPDU packet before reconfiguring STP.
DES-3226S Layer 2 Switch CLI Reference config stp 802.1d STP select stp. Select rstp for IEEE 802.1w Rapid STP. Restrictions Only administrator-level users can issue this command. Example usage: To configure STP with maxage 18 and hellotime 4: DES-3226S:4#config stp maxage 18 hellotime 4 Command: config stp maxage 18 hellotime 4 Success.
DES-3226S Layer 2 Switch CLI Reference config stp ports Purpose Used to setup STP on the port level. Syntax config stp ports {cost |priority | migrate [yes|no]| edge [true|false]| p2p [true|false]| state [enabled|disabled] Description This command is used to create and configure STP for a group of ports. Parameters cost − This defines a metric that indicates the relative cost of forwarding packets to the specified port list. Port cost can be set from 1 to 200000000.
DES-3226S Layer 2 Switch CLI Reference config stp ports RSTP status. RSTP can coexist with standard STP, however the benefits of RSTP are not realized on a port where an 802.1d network connects to an 802.1w enabled network. Migration should be enabled (yes) on ports connected to network stations or segments that will be upgraded to 802.1w RSTP onall or some portion of the segment. edge [true|false] – true designates the port as an edge port.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure STP with path cost 19, priority 15, and state enabled for ports 1-5 of module 1. DES-3226S:4#config stp ports 1:1-1:5 cost 19 priority 15 state enabled Command: config stp ports 1-5 cost 19 priority 15 state enabled Success. DES-3226S:4# enable stp Purpose Used to globally enable STP on the switch. Syntax enable stp Description This command allows the Spanning Tree Protocol to be globally enabled on the switch. Parameters None.
DES-3226S Layer 2 Switch CLI Reference Example usage: To enable STP, globally, on the switch: DES-3226S:4#enable stp Command: enable stp Success. DES-3226S:4# disable stp Purpose Used to globally disable STP on the switch. Syntax disable stp Description This command allows the Spanning Tree Protocol to be globally disabled on the switch. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference Example usage: To disable STP on the switch: DES-3226S:4#disable stp Command: disable stp Success. DES-3226S:4# show stp Purpose Used to display the switch’s current STP configuration. Syntax show stp Description This command displays the switch’s current STP configuration. Parameters none Restrictions None.
DES-3226S Layer 2 Switch CLI Reference To display the status of STP on the switch: Status 1: STP enabled with STP compatible version DES-3226S:4#show stp Command: show stp Bridge Parameters Settings STP Status : Enabled Max Age : 20 Hello Time :2 Forward Delay : 15 Priority : 32768 STP Version : STP compatible TX Hold Count : 3 Forwarding BPDU : Enabled Bridge Current Status Designated Root Bridge : 00-00-51-43-70-00 Root Priority : 32768 Cost to Root : 200000 Root Port : 10 Last Topology Change : 53sec To
DES-3226S Layer 2 Switch CLI Reference Status 2 : STP disabled DES-3226S:4#show stp Command: show stp Bridge Parameters Settings STP Status : Disabled Max Age : 20 Hello Time :2 Forward Delay : 15 Priority : 32768 STP Version : STP compatible TX Hold Count : 3 Forwarding BPDU : Enabled DES-3226S:4# 118
DES-3226S Layer 2 Switch CLI Reference show stp ports Purpose Used to display the switch’s current per-port group STP configuration. Syntax show stp ports Description This command displays the switch’s current perport group STP configuration. Parameters − Specifies a range of ports to be configured. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display STP state of port 1-9 of module 1: DES-3226S:4#show stp ports Command: show ports Port Designated Bridge State Cost ------ ------------------ ----- Pri Edge P2P Status ---------- ---- ---- --- ---------- Role ---------- 1 N/A Yes *200000 128 No Yes Disabled Disabled 2 N/A Yes *200000 128 No Yes Disabled Disabled 3 N/A Yes *200000 128 No Yes Disabled Disabled 4 N/A Yes *200000 128 No Yes Disabled Disabled 5 N/A Yes *200
DES-3226S Layer 2 Switch CLI Reference 12 F ORWARDING D ATABASE C OMMANDS The layer 2 forwarding database commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference Command Parameters port_filtering_mod e show fdb port vlan mac_address static aging_time Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference create fdb Purpose Used to create a static entry to the unicast MAC address forwarding table (database) Syntax create fdb [port ] Description This command will make an entry into the switch’s unicast MAC address forwarding database. Parameters − The name of the VLAN on which the MAC address resides. − The MAC address that will be added to the forwarding table.
DES-3226S Layer 2 Switch CLI Reference create multicast_fdb Purpose Used to create a static entry to the multicast MAC address forwarding table (database) Syntax create multicast_fdb Description This command will make an entry into the switch’s multicast MAC address forwarding database. Parameters − The name of the VLAN on which the MAC address resides. − The MAC address that will be added to the forwarding table.
DES-3226S Layer 2 Switch CLI Reference config multicast_fdb Purpose Used to configure the switch’s multicast MAC address forwarding database. Syntax config multicast_fdb [add|delete] Description This command configures the multicast MAC address forwarding table. Parameters − The name of the VLAN on which the MAC address resides. − The MAC address that will be added to the forwarding table.
DES-3226S Layer 2 Switch CLI Reference Example usage: To add multicast MAC forwarding: DES-3226S:4#config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Command: config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Success.
DES-3226S Layer 2 Switch CLI Reference config multicast port_filtering_mode Purpose Used to configure the multicast port filtering. Syntax config multicast port_filtering_mode [|all] [forward_all_groups|forward_unregistered_groups | filter_unregistered_groups] Description This command configures the multicast filtering and forwarding for specified ports. Parameters − Specifies a range of ports to be configured.
DES-3226S Layer 2 Switch CLI Reference config multicast port_filtering_mode Restrictions Only administrator-level users can issue this command. Example usage: To configure the multicast packet filtering mode for ports: DES-3226S:4#config multicast port_filtering_mode 1:1-1:4 forward_all_groups Command: config multicast port_filtering_mode 1:1-1:4 forward_all_groups Success.
DES-3226S Layer 2 Switch CLI Reference config fdb aging_time Purpose Used to set the aging time of the forwarding database. Syntax config fdb aging_time Description 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.
DES-3226S Layer 2 Switch CLI Reference Example usage: To set the fdb aging time: DES-3226S:4#config fdb aging_time 300 Command: config fdb aging_time 300 Success.
DES-3226S Layer 2 Switch CLI Reference delete fdb Purpose Used to delete an entry to the switch’s forwarding database. Syntax delete fdb Description This command is used to delete a previous entry to the switch’s MAC address forwarding database. Parameters − The name of the VLAN on which the MAC address resides. − The MAC address that will be added to the forwarding table. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference clear fdb Purpose Used to clear the switch’s forwarding database of all dynamically learned MAC addresses. Syntax clear fdb [vlan |port |all] Description This command is used to clear dynamically learned entries to the switch’s forwarding database. Parameters − The name of the VLAN on which the MAC address resides. − The port number corresponding to the MAC destination address.
DES-3226S Layer 2 Switch CLI Reference show multicast_fdb Purpose Used to display the contents of the switch’s multicast forwarding database. Syntax show mulitcast_fdb [vlan |mac_address Description This command is used to display the current contents of the switch’s multicast MAC address forwarding database. Parameters − The name of the VLAN on which the MAC address resides. − The MAC address that will be added to the forwarding table.
DES-3226S Layer 2 Switch CLI Reference show multicast_port_filtering_mode Purpose Used to display the current multicast port filtering mode. Syntax show multicast port_filtering_mode {} Description This command is used to display the current multicast port filtering settings. Parameters − Specifies a range of ports to be displayed. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
DES-3226S Layer 2 Switch CLI Reference Example usage: To show multicast port_filtering_mode for ports: DES-3226S:4#show multicast port_filtering_mode 1:1-1:12 Command: show multicast port_filtering_mode 1:1-1:12 Port Multicast Filter Mode ------ --------------------------1:1 forward_all_groups 1:2 forward_all_groups 1:3 forward_all_groups 1:4 forward_all_groups 1:5 forward_unregistered_groups 1:6 forward_unregistered_groups 1:7 forward_unregistered_groups 1:8 forward_unregistered_groups
DES-3226S Layer 2 Switch CLI Reference show fdb Purpose Used to display the current unicast MAC address forwarding database. Syntax show fdb {port |vlan |mac_address |static|aging_time} Description This command will display the current contents of the switch’s forwarding database. Parameters − The port number corresponding to the MAC destination address. The switch will always forward traffic to the specified device through this port.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display unicast MAC address table: DES-3226S:4#show fdb Command: show fdb Unicast MAC Address Ageing Time = 300 VID VLAN Name MAC Address Port Type ---- ---------------- ----------------- ------ ---------------1 default 00-00-39-34-66-9A 10 Dynamic 1 default 00-00-51-43-70-00 10 Dynamic 1 default 00-00-5E-00-01-01 10 Dynamic 1 default 00-00-74-60-72-2D 10 Dynamic 1 default 00-00-81-05-00-80 10 Dynamic 1 default 00-00-81-05-02-00 10 Dynamic 1 default
DES-3226S Layer 2 Switch CLI Reference 13 B ROADCAST S TORM C ONTROL C OMMANDS The broadcast storm control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config traffic control Parameters all broadcast [enable|disable] multicast [enable|disable] dlf [enable|disable] threshold show traffic control group_list Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference config traffic control Purpose Used to configure broadcast|multicast traffic control. Syntax config traffic control [|all] broadcast [enable|disable]|multicast [enable|disable]|dlf [enable|disable]|threshold Description This command is used to configure broadcast storm control. Parameters − Used to specify a broadcast storm control group with the syntax: module_id:group_id.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure traffic control and enable broadcast storm control system wide: DES-3226S:4#config traffic control all broadcast enable Command: config traffic control all broadcast enable Success. DES-3226S:4# show traffic control Purpose Used to display current traffic control settings. Syntax show traffic control Description This command displays the current storm traffic control configuration on the switch.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display traffic control setting: DES-3226S:4#show traffic control Command: show traffic control Traffic Control Broadcast Multicast Destination Module Group [ports] Threshold Storm Storm Lookup Fail ------ ------------- --------- --------- --------- ----------1 1 [ 1 - 8 ] 128 Disabled Disabled Disabled 1 2 [ 9 - 16] 128 Disabled Disabled Disabled 1 3 [17 - 24] 128 Disabled Disabled Disabled 1 4 [ 25 ] 128 Disabled Disabled Disabled 1
DES-3226S Layer 2 Switch CLI Reference 14 QOS C OMMANDS The DES-3226S switch supports 802.1p priority queuing. The switch has 4 priority queues. These priority queues are numbered from 0 (Class 0) — the lowest priority queue — to 3 (Class 3) — the highest priority queue. The eight priority queues specified in IEEE 802.1p (p0 to p7) are mapped to the switch’s priority queues as follows: • p1 and p2 are assigned to the switch’s Class 0 queue. • p0 and p3 are assigned to the switch’s Class 1 queue.
DES-3226S Layer 2 Switch CLI Reference To use implement round-robin (weighted) priority, the switch’s four priority queues can be configured to reduce the buffer in a round-robin fashion beginning with the highest priority queue, and proceeding to the lowest priority queue before returning to the highest priority queue.
DES-3226S Layer 2 Switch CLI Reference The commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config bandwidth_control rx_rate no_limit tx_rate no_limit show bandwidth_control config scheduling show scheduling config 802.1p user_priority show 802.1p user_priority config 802.1p default_priority show 802.
DES-3226S Layer 2 Switch CLI Reference config bandwidth_control Purpose Used to configure bandwidth control on a byport basis. Syntax config bandwidth_control {re_rate [no_limit|]|tx_rate [no_limit|]} Description The config bandwidth_control command is used to configure bandwidth on a by-port basis. Parameters − Specifies a range of ports to be configured.
DES-3226S Layer 2 Switch CLI Reference config bandwidth_control no_limit − Specifies that there will be no limit on the rate of packets received by the above specified ports. − Specifies the packet limit, in Mbps, that the above ports will be allowed to receive. Gigabit ports must be configured to using a limit value that is a multiple of 8 i.e. for Gigabit ports . Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference show bandwidth_control Purpose Used to display the bandwidth control configuration on the switch. Syntax show bandwidth_control {} Description The show bandwidth_control command displays the current bandwidth control configuration on the switch, on a port-by-port basis. Parameters − Specifies a range of ports to be configured.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display bandwidth control settings: DES-3226S:4#show bandwidth_control 1-10 Command: show bandwidth_control 1-10 Bandwidth Control Table Port RX Rate (Mbit|sec) TX_RATE (Mbit|sec) ---- ------------------------ ---------------------- 1 no_limit 10 2 no_limit 10 3 no_limit 10 4 no_limit 10 5 no_limit 10 6 no_limit 10 7 no_limit 10 8 no_limit 10 9 no_limit 10 10 no_limit 10 DES-3226S:4# 148
DES-3226S Layer 2 Switch CLI Reference config scheduling Purpose Used to configure traffic scheduling for each of the switch’s QoS queues. Syntax config scheduling {max_packet |max_latency } Description The switch contains four hardware priority queues per device. The switch’s default settings draw down the four hardware queues in order, from the highest priority (Class 3) to the lowest priority (Class 0).
DES-3226S Layer 2 Switch CLI Reference config scheduling next lowest priority queue to begin transmitting its packets. A value between 0 and 255 packets can be specified. For example, if a value of 5 is specified, then the highest priority queue (queue 3) will be allowed to transmit 5 packets. Then the next lower priority queue (queue 2) will be allowed to transmit 5 packets, and so on, until all of the queues have transmitted 5 packets. The process will then repeat.
DES-3226S Layer 2 Switch CLI Reference config scheduling max_latency − Specifies the maximum amount of time the above specified priority queue will have to wait before being allowed to transmit any packets that have accumulated in its transmit buffer. A value between 0 and 255 can be specified. This value multiplied by 16 ms is the total time the priority queue will have to wait. The default value is 0. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure traffic scheduling: DES-3226S:4# config scheduling 0 max_packet 100 max_latency 150 Command: config scheduling 0 max_packet 100 max_latency 150 Success. DES-3226S:4# show scheduling Purpose Used to display the currently configured traffic scheduling on the switch.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the current scheduling configuration: DES-3226S:4# show scheduling Command: show scheduling QOS Output Scheduling MAX. Packets MAX.
DES-3226S Layer 2 Switch CLI Reference config 802.1p user_priority Purpose Used to map the 802.1p user priority of an incoming packet to one of the four hadware queues available on the switch. Syntax config 802.1p user_priority The config 802.1p user_priority command is used to configure the way the switch will map an incoming packet, based on its 802.1p user priority tag, to one of the four hardware priority queues available on the switch.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure 802.1 user priority on the switch: DES-3226S:4# config 802.1p user_priority 1 3 Command: config 802.1p user_priority 1 3 Success.
DES-3226S Layer 2 Switch CLI Reference show 802.1p user_priority Purpose Used to display the current mapping between an incoming packet’s 802.1p priority value and one of the switch’s four hardware priority queues. Syntax show 802.1p user_priority Description The show 802.1p user_priority command displays the current mapping of an incoming packet’s 802.1p priority value to one of the switch’s four hardware priority queues. Parameters None. Restrictions None. Example usage: To show 802.
DES-3226S Layer 2 Switch CLI Reference config 802.1p default_priority Purpose Used to specify how to map an incoming packet that has no 802.1p priority tag to one of the switch’s four hardware priority queues. Syntax config 802.1p default_priority [|all] Description The config 802.1p default_priority command allows you to specify the 802.1p priority value an untagged, incoming packet will be assigned before being forwarded to its destination.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure 802.1p default priority on the switch: DES-3226S:4#config 802.1p default_priority all 5 Command: config 802.1p default_priority all 5 Success. DES-3226S:4# show 802.1 default_priority Purpose Used to display the currently configured 802.1p priority value that will be assigned to an incoming, untagged packet before being forwarded to its destination. Syntax show 802.1p default_priority {} Description The show 802.
DES-3226S Layer 2 Switch CLI Reference show 802.1 default_priority Restrictions None. Example usage: To display the current 802.
DES-3226S Layer 2 Switch CLI Reference DES-3226S:4# show 802.1p default_priority Command: show 802.
DES-3226S Layer 2 Switch CLI Reference 15 P ORT M IRRORING C OMMANDS The port mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config mirror port [add|delete] source ports [rx|tx|both] enable mirror disable mirror show mirror Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference config mirror port Purpose Used to configure a mirror port − source port pair on the switch. Syntax config mirror port add source ports [rx|tx|both] Description This command allows a range of ports to have all of their traffic also sent to a designated port, where a network sniffer or other device can monitor the network traffic. In addition, you can specify that only traffic received by or sent by one or both is mirrored to the Target port.
DES-3226S Layer 2 Switch CLI Reference config mirror port both − Mirrors all the packets received or sent by the port or ports in the port list. Restrictions The Target port cannot be listed as a source port. Only administrator-level users can issue this command. Example usage: To add the mirroring ports: DES-3226S:4# config mirror port 1:5 add source ports 1:1-1:5 both Command: config mirror port 1:5 add source ports 1:1-1:5 both Success.
DES-3226S Layer 2 Switch CLI Reference config mirror delete Purpose Used to delete a port mirroring configuration| Syntax config mirror port delete source port [rx|tx|both] Description This command is used to delete a previously entered port mirroring configuration. Parameters −This specifies the Target port (the port where mirrored packets will be sent). − This specifies a range of ports that will be mirrored.
DES-3226S Layer 2 Switch CLI Reference enable mirror Purpose Used to enable a previously entered port mirroring configuration. Syntax enable mirror Description This command, combined with the disable mirror command below, allows you to enter a port mirroring configuration into the switch, and then turn the port mirroring on and off without having to modify the port mirroring configuration. Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference disable mirror Purpose Used to disable a previously entered port mirroring configuration. Syntax disable mirror Description This command, combined with the enable mirror command above, allows you to enter a port mirroring configuration into the switch, and then turn the port mirroring on and off without having to modify the port mirroring configuration. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference show mirror Purpose Used to show the current port mirroring configuration on the switch. Syntax show mirror Description This command displays the current port mirroring configuration on the switch. Parameters None Restrictions None.
DES-3226S Layer 2 Switch CLI Reference 16 VLAN C OMMANDS The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference create vlan Purpose Used to create a VLAN on the switch. Syntax create vlan {tag |advertisement} Description This command allows you to create a VLAN on the switch. Parameters − The name of the VLAN to be created. − The VLAN ID of the VLAN to be created. Allowed values = 1-4094 advertisement − Specifies that the VLAN is able to join GVRP.
DES-3226S Layer 2 Switch CLI Reference delete vlan Purpose Used to delete a previously configured VLAN on the switch. Syntax delete vlan Description This command will delete a previously configured VLAN on the switch. Parameters − The VLAN name of the VLAN you want to delete. Restrictions Only administrator-level users can issue this command. Example usage: To remove a vlan v1: DES-3226S:4#delete vlan v1 Command: delete vlan v1 Success.
DES-3226S Layer 2 Switch CLI Reference config vlan Purpose Used to add additional ports to a previously configured VLAN. Syntax config vlan { [ add [ tagged | untagged | forbidden ] | delete ] | advertisement [ enable | disable]} Description This command allows you to add ports to the port list of a previously configured VLAN. You can specify the additional ports as tagging, untagging, or forbidden. The default is to assign the ports as untagging.
DES-3226S Layer 2 Switch CLI Reference config vlan advertisement [enable|disable] − Enables or disables GVRP on the specified VLAN. Restrictions Only administrator-level users can issue this command. Example usage: To add 4 through 8 of module 2 as tagged ports to the VLAN v1: DES-3226S:4#config vlan v1 add tagged 2:4-2:8 Command: config vlan v1 add tagged 2:4-2:8 Success.
DES-3226S Layer 2 Switch CLI Reference config gvrp Purpose Used to configure GVRP on the switch. Syntax config gvrp [ | all] {state [enable | disable]|ingress_checking [enable | disable]|acceptable_frame[tagged_only | admit_all]pvid } Description This command is used to configure the Group VLAN Registration Protocol on the switch. You can configure ingress checking, the sending and receiving of GVRP information, and the Port VLAN ID (PVID).
DES-3226S Layer 2 Switch CLI Reference config gvrp pvid – Specifies the default VLAN associated with the port. Restrictions Only administrator-level users can issue this command. Example usage: To set the ingress checking status, the sending and receiving GVRP information : DES-3226S:4#config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Command: config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Success.
DES-3226S Layer 2 Switch CLI Reference enable gvrp Purpose Used to enable GVRP on the switch. Syntax enable gvrp Description This command, along with disable gvrp below, is used to enable and disable GVRP on the switch, without changing the GVRP configuration on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To enable the generic VLAN Registration Protocol (GVRP): DES-3226S:4#enable gvrp Command: enable gvrp Success.
DES-3226S Layer 2 Switch CLI Reference disable gvrp Purpose Used to disable GVRP on the switch. Syntax disable gvrp Description This command, along with disable gvrp below, is used to enable and disable GVRP on the switch, without changing the GVRP configuration on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable the Generic VLAN Registration Protocol (GVRP): DES-3226S:4#disable gvrp Command: disable gvrp Success.
DES-3226S Layer 2 Switch CLI Reference show vlan Purpose Used to display the current VLAN configuration on the switch Syntax show vlan {} Description This command displays summary information about each VLAN including the VLAN ID, VLAN name, the Tagging|Untagging status, and the Member|Non-member|Forbidden status of each port that is a member of the VLAN. Parameters − The VLAN name of the VLAN for which you want to display a summary of settings. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the switch’s current VLAN settings: DES-3226S:4#show vlan Command: show vlan VID :1 VLAN TYPE : static Member ports : 1:1-1:26,2:1-2:26 Static ports : 1:1-1:26,2:1-2:26 Untagged ports VLAN Name Advertisement : default : Enabled : 1:1-1:25,2:1-2:25 Forbidden ports : VID :2 VLAN TYPE : static Member ports : 1:26,2:26 Static ports : 1:26,2:26 Untagged ports VLAN Name Advertisement : Forbidden ports : Total Entries : 2 DES-
DES-3226S Layer 2 Switch CLI Reference show gvrp Purpose Used to display the GVRP status for a port list on the switch. Syntax show gvrp {} Description This command displays the GVRP status for a port list on the switch Parameters − Specifies a range of ports for which the GVRP status is to be displayed. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display GVRP port status: DES-3226S:4#show gvrp Command: show gvrp Global GVRP : Disabled Port -----1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 PVID GVRP Ingress Checking Acceptable Frame Type ---- -------- ---------------- --------------------------1 Disabled Enabled All Frames 1 Disabled Enabled All Frames 1 Disabled Enabled All Frames 1 Disabled Enabled All Frames 1 Disabled Enabled All Frames 1 Disabled Enabled All Frame
DES-3226S Layer 2 Switch CLI Reference 17 L INK A GGREGATION C OMMANDS The link aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference create link_aggregation Purpose Used to create a link aggregation group on the switch. Syntax create link_aggregation group_id {type[lacp|static]} Description This command will create a link aggregation group with a unique identifier. Parameters − Specifies the group id. The switch allows up to 6 link aggregation groups to be configured. The group number identifies each of the groups.
DES-3226S Layer 2 Switch CLI Reference Example usage: To create a link aggregation group: DES-3226S:4#create link_aggregation group_id 1 Command: create link_aggregation group_id 1 Success.
DES-3226S Layer 2 Switch CLI Reference delete link_aggregation group_id Purpose Used to delete a previously configured link aggregation group. Syntax delete link_aggregation group_id Description This command is used to delete a previously configured link aggregation group. Parameters − Specifies the group id. The switch allows up to 6 link aggregation groups to be configured. The group number identifies each of the groups.
DES-3226S Layer 2 Switch CLI Reference config link_aggregation Purpose Syntax Description Parameters Used to configure a previously created link aggregation group. config link_aggregation group_id {master_port |ports | state [enabled|disabled] This command allows you to configure a link aggregation group that was created with the create link_aggregation command above. − Specifies the group id. The switch allows up to 6 link aggregation groups to be configured.
DES-3226S Layer 2 Switch CLI Reference config link_aggregation Restrictions or disable the specified link aggregation group. Only administrator-level users can issue this command. Link aggregation groups may not overlap and must be contained on a single switch.
DES-3226S Layer 2 Switch CLI Reference config link_aggregation algorithm Purpose Used to configure the link aggregation algorithm. Syntax config link_aggregation algorithm [mac_source|mac_destination|mac_source_dest| ip_source|ip_destination|ip_source_dest] Description This command configures to part of the packet examined by the switch when selecting the egress port for transmitting load-sharing data. This feature is only available using the address-based load-sharing algorithm.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure link aggregation algorithm for mac-source-dest: DES-3226S:4#config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success.
DES-3226S Layer 2 Switch CLI Reference show link_aggregation Purpose Used to display the current link aggregation configuration on the switch. Syntax show link_aggregation {group_id |algorithm} Description This command will display the current link aggregation configuration of the switch. Parameters − Specifies the group id. The switch allows up to 6 link aggregation groups to be configured. The group number identifies each of the groups.
DES-3226S Layer 2 Switch CLI Reference config lacp_ports Purpose Used to configure settings for LACP compliant ports. Syntax config lacp_ports mode [active|passive] Description This command is used to configure ports that have been previously designated as LACP ports (see create link_aggregation). Parameters − Specifies a range of ports to be configured. The port list is specified by listing the beginning port number and the highest port number of the range.
DES-3226S Layer 2 Switch CLI Reference config lacp_ports LACP ports (see above). Restrictions Only administrator-level users can issue this command. Note: For LACP implementations, both devices utilizing the aggregated link must support IEEE 802.1ad Link Aggregation Control Protocol and one device must designate the participating ports as “active” while this other device must designate the participating ports as “passive”.
DES-3226S Layer 2 Switch CLI Reference show lacp_ports Purpose Used to display current LACP port mode settings. Syntax show lacp_ports {} Description This command will display the LACP mode settings as they are currently configured. Parameters - Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference DES-3226S:4# 193
DES-3226S Layer 2 Switch CLI Reference 18 B ASIC IP C OMMANDS The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ipif System ipaddress vlan state [enabled|disabled] bootp dhcp show ipif Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference config ipif System Purpose Used to configure the System IP interface. Syntax config ipif System [{vlan |ipaddress |state [enabled|disabled]|bootp|dhcp}] Description This command is used to configure the System IP interface on the switch. Parameters − IP address and netmask of the IP interface to be created. You can specify the address and mask information using the traditional format (for example, 10.1.2.3|255.0.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure the IP interface System: DES-3226S:4#config ipif System ipaddress 10.48.74.122|8 Command: config ipif System ipaddress 10.48.74.122|8 Success.
DES-3226S Layer 2 Switch CLI Reference show ipif Purpose Used to display the configuration of an IP interface on the switch. Syntax show ipif Description This command will display the configuration of an IP interface on the switch. Parameters None. Restrictions None. Example usage: To display IP interface settings. DES-3226S:4#show ipif System Command: show ipif System IP Interface Settings Interface Name : System IP Address : 10.48.74.122 (MANUAL) Subnet Mask : 255.0.0.
DES-3226S Layer 2 Switch CLI Reference 19 IGMP S NOOPING C OMMANDS The Switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference Command Parameters show igmp snooping group vlan show router ports vlan static dynamic Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference config igmp_snooping Purpose Used to configure IGMP snooping on the Switch. Syntax config igmp_snooping [|all] {host_timeout |router_timeout |leave_timer |state [enable|disable]} Description This command allows you to configure IGMP snooping on the Switch. Parameters − The name of the VLAN for which IGMP snooping is to be configured.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure the igmp snooping: DES-3226S:4#config igmp_snooping default host_timeout 250 state enable Command: config igmp_snooping default host_timeout 250 state enable Success. DES-3226S:4# config igmp_snooping querier Purpose Used to configure the time in seconds between general query transmissions, the maximum time in seconds to wait for reports from members and the permitted packet loss that guarantees IGMP snooping.
DES-3226S Layer 2 Switch CLI Reference config igmp_snooping querier querier. Parameters − The name of the VLAN for which IGMP snooping querier is to be configured. query_interval − Specifies the amount of time in seconds between general query transmissions. The default setting is 125 seconds. max_response_time − Specifies the maximum time in seconds to wait for reports from members. The default setting is 10 seconds.
DES-3226S Layer 2 Switch CLI Reference config igmp_snooping querier router assumes there are no local members of a group. The default number is the value of the robustness variable. • By default, the robustness variable is set to 2. You might want to increase this value if you expect a subnet to be lossy. last_member_query_interval − The maximum amount of time between groupspecific query messages, including those sent in response to leave-group messages.
DES-3226S Layer 2 Switch CLI Reference DES-3226S:4# config router_ports Purpose Used to configure ports as router ports. Syntax config router_ports [add|delete] Description This command allows you to designate a range of ports as being connected to multicastenabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router − regardless of protocol, etc.
DES-3226S Layer 2 Switch CLI Reference Example usage: To set up static router ports: DES-3226S:4#config router_ports default add 2:1-2:10 Command: config router_ports default add 2:1-2:10 Success.
DES-3226S Layer 2 Switch CLI Reference enable igmp_snooping Purpose Used to enable IGMP snooping on the Switch. Syntax enable igmp_snooping {forward_mcrouter_only} Description This command allows you to enable IGMP snooping on the Switch. If forward_mcrouter_only is specified, the Switch will only forward all multicast traffic to the multicast router, only. Otherwise, the Switch forwards all multicast traffic to any IP router.
DES-3226S Layer 2 Switch CLI Reference disable igmp_snooping Purpose Used to enable IGMP snooping on the Switch. Syntax disable igmp_snooping Description This command disables IGMP snooping on the Switch. IGMP snooping can be disabled only if IP multicast routing is not being used. Disabling IGMP snooping allows all IGMP and IP multicast traffic to flood within a given IP interface. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference show igmp_snooping Purpose Used to show the current status of IGMP snooping on the Switch. Syntax show igmp_snooping {vlan } Description This command will display the current IGMP snooping configuration on the Switch. Parameters − The name of the VLAN for which you want to view the IGMP snooping configuration. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference Host Timeout Route Timeout Leave Timer Querier State Querier Router Behavior State : 260 : 260 :2 : Disabled : Non-Querier : Disabled VLAN Name : vlan2 Query Interval : 125 Max Response Time : 10 Robustness Value :2 Last Member Query Interval : 1 Host Timeout : 260 Route Timeout : 260 Leave Timer :2 Querier State : Disabled Querier Router Behavior : Non-Querier State : Disabled Total Entries: 2 DES-3226S:4# show igmp_snooping group 209
DES-3226S Layer 2 Switch CLI Reference show igmp_snooping group Purpose Used to display the current IGMP snooping group configuration on the Switch. Syntax show igmp_snooping group {vlan } Description This command will display the current IGMP snooping group configuration on the Switch. Parameters − The name of the VLAN for which you want to view IGMP snooping group configuration information. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference Example usage: To show igmp snooping group: DES-3226S:4#show igmp_snooping group Command: show igmp_snooping group VLAN Name : default Multicast group: 224.0.0.2 MAC address : 01-00-5E-00-00-02 Reports :1 Port Member : 1:26,2:7 VLAN Name : default Multicast group: 224.0.0.9 MAC address : 01-00-5E-00-00-09 Reports :1 Port Member : 1:26,2:7 VLAN Name : default Multicast group: 234.5.6.
DES-3226S Layer 2 Switch CLI Reference show router_ports Purpose Used to display the currently configured router ports on the Switch. Syntax show router_ports {vlan } {static|dynamic} Description This command will display the router ports currently configured on the Switch. Parameters − The name of the VLAN on which the router port resides. static − Displays router ports that have been statically configured.
DES-3226S Layer 2 Switch CLI Reference 20 802.1X C OMMANDS The DES-3226S implements the server-side of the IEEE 802.1x Port-based and MAC-based Network Access Control. This mechanism is intended to allow only authorized users, or other network devices, access to network resources by establishing criteria for each port on the switch that a user or network device must meet before allowing that port to forward or receive frames. Command Parameters enable 802.1x disable 802.1x show 802.
DES-3226S Layer 2 Switch CLI Reference Command Parameters enable_reauth [enable|disable] config 802.1x auth_mode [port_based |mac_based] config 802.1x init config 802.1x init [port_based ports [] |mac_based ports [|all] {mac_address }] config 802.
DES-3226S Layer 2 Switch CLI Reference enable 802.1x Purpose Used to enable the 802.1x server on the switch. Syntax enable 802.1x Description The enable 802.1x command enables the 802.1x Port-based Network Access control server application on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To enable 802.1x switch wide: DES-3226S:4#enable 802.1x Command: enable 802.1x Success.
DES-3226S Layer 2 Switch CLI Reference disable 802.1x Purpose Used to disable the 802.1x server on the switch. Syntax disable 802.1x Description The disable 802.1x command is used to disable the 802.1x Port-based Network Access control server application on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable 802.1x on the switch: DES-3226S:4#disable 802.1x Command: disable 802.1x Success.
DES-3226S Layer 2 Switch CLI Reference show 802.1x Purpose Used to display the current configuration of the 802.1x server on the switch. Syntax show 802.1x [auth_state | auth_configuration] {ports } Description The show 802.1x command is used to display the current configuration of the 802.1x Portbased Network Access Control server application on the switch. Parameters auth_state – Displays the current 802.1x authentication state of the specified ports.
DES-3226S Layer 2 Switch CLI Reference show 802.1x Capability: Authenticator|None − Shows the capability of 802.1x functions on the port number displayed above. There are four 802.1x capabilities that can be set on the switch: Authenticator, Supplicant, Authenticator and Supplicant, and None. Port Status: Authorized|Unauthorized − Shows the result of the authentication process. Authorized means that the user was authenticated, and can access the network.
DES-3226S Layer 2 Switch CLI Reference show 802.1x Unauthorized. QuietPeriod − Shows the time interval between authentication failure and the start of a new authentication attempt. TxPeriod − Shows the time to wait for a response from a supplicant (user) to send EAP Request|Identiy packets. SuppTimeout − Shows the time to wait for a response from a supplicant (user) for all EAP packets, except for the Request|Identity packets.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the 802.1x authtication states (stacking disabled): DES-3226S:4#show 802.1x auth_state ports 1-5 Command: show 802.
DES-3226S Layer 2 Switch CLI Reference To display the 802.1x configurations: DES-3226S:4#show 802.1x auth_configuration ports 1 Command: show 802.1x auth_configuration ports 1 802.
DES-3226S Layer 2 Switch CLI Reference config 802.1x capability Purpose Used to configure the 802.1x capability of a range of ports on the switch. Syntax config 802.1x capability ports [|all] [authenticator|none] Description The config 802.1x command has four capabilities that can be set for each port. Authenticator, Supplicant, Authenticator and Supplicant, and None. Parameters − Specifies a range of ports.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure 802.1x capability on ports 1-10 on switch 1: DES-3226S:4#config 802.1x capability ports 1:1 – 1:10 authenticator Command: config 802.1x capability ports 1-10 authenticator Success.
DES-3226S Layer 2 Switch CLI Reference config 802.1x auth_parameter Purpose Used to configure the 802.1x Authentication parameters on a range of ports. The default parameter will return all ports in the specified range to their default 802.1x settings. Syntax config 802.
DES-3226S Layer 2 Switch CLI Reference config 802.1x auth_parameter controlled port blocks communication in both the receiving and transmitting directions, or just the receiving direction. port_control − Configures the administrative control over the authentication process for the range of ports. force_auth − Forces the Authenticator for the port to become authorized. Network access is allowed. auto − Allows the port’s status to reflect the outcome of the authentication process.
DES-3226S Layer 2 Switch CLI Reference config 802.1x auth_parameter enable_reauth [enabled|disabled] − Determines whether or not the switch will re-authenticate. Enabled causes re-authentication of users at the time interval specified in the Reauthentication Period field, above. Restrictions Only administrator-level users can issue this command. Example usage: To configure 802.1x authentication parameters for ports 1 – 20 of switch 1: DES-3226S:4#config 802.
DES-3226S Layer 2 Switch CLI Reference config 802.1x auth_mode Purpose Used to configure 802.1x authentication mode. Syntax config 802.1x auth_mode [port_based |mac_based] Description The config 802.1x auth_mode command configures the authentication mode. 802.1x authorization can be based on the port from which the request is made or a list of authorized MAC addresses can be consulted. Parameters port_based – Authorization can be port based. Ports listed in the 802.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure the authentication mode.: DES-3226S:4#config 802.1x auth_mode port_based Command: config 802.1x auth_mode port_based Success.
DES-3226S Layer 2 Switch CLI Reference config 802.1x init Purpose Used to initialize the 802.1x function on a range of ports or a list of MAC addresses. Syntax config 802.1x init [port_based ports [] |mac_based ports [|all] {mac_address }] Description The config 802.1x init command is used to immediately initialize the 802.1x functions on a specified range of ports or for specified MAC addresses operating from a specified range of ports.
DES-3226S Layer 2 Switch CLI Reference config 802.1x init can be added by requiring a match for both MAC address and port. - Specify the MAC address to add to the list for MAC based 802.1x initialization. Restrictions Only administrator-level users can issue this command. Example usage: To initialize the authentication state machine of some or all.: DES-3226S:4# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success.
DES-3226S Layer 2 Switch CLI Reference config 802.1x reauth ports Purpose Used to configure the 802.1x re-authentication feature of the switch. Syntax config 802.1x reauth [port_based ports [] |mac_based ports [|all] {mac_address }] Description The config 802.1x reauth command is used to re-authenticate a previously authenticated device based on either MAC address or port number. Parameters port_based – This instructs the switch to reauthorize 802.
DES-3226S Layer 2 Switch CLI Reference config 802.1x reauth ports for both MAC address and port. - Specify the MAC address to add to the list for MAC based 802.1x initialization. Restrictions Only administrator-level users can issue this command. Example usage: To configure 802.1x reauthentication for ports 1-18: DES-3226S:4#config 802.1x reauth mac_based ports 1-18 Command: config 802.1x reauth mac_based ports 1-18 Success.
DES-3226S Layer 2 Switch CLI Reference config radius add Purpose Used to configure the settings the switch will use to communicate with a Radius server. Syntax config radius add key [default|{auth_port | acct_port }] Description The config radius add command is used to configure the settings the switch will use to communicate with a Radius server.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure Radius server communication setttings: DES-3226S:4#config radius add 1 10.48.74.121 key dlink default Command: config radius add 1 10.48.74.121 key dlink default Success. DES-3226S:4# config radius delete Purpose Used to delete a previously entered Radius server configuration. Syntax config radius delete Description The config radius delete command is used to delete a previously entered Radius server configuration.
DES-3226S Layer 2 Switch CLI Reference Example usage: To delete previously configured Radius server communication settings: DES-3226S:4#config radius delete 1 Command: config radius delete 1 Success.
DES-3226S Layer 2 Switch CLI Reference config radius Purpose Used to configure the switch’s Radius settings. Syntax config radius {ipaddress {ipaddress |key |auth_port |acct_port } Description The config radius command is Used to configure the switch’s Radius settings. Parameters − Assigns a number to the current set of Radius server settings.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure Radius settings: DES-3226S:4#config radius 1 10.48.74.121 key dlink default Command: config radius 1 10.48.74.121 key dlink default Success.
DES-3226S Layer 2 Switch CLI Reference show radius Purpose Used to display the current Radius configurations on the switch. Syntax show radius Description The show radius command is used to display the current Radius configurations on the switch. Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference 21 A CCESS C ONTROL L IST (ACL) C OMMANDS The DES-3226S implements Access Control Lists that enable the Switch to deny network access to specific devices or device groups based on IP settings or MAC address. Command Parameters create access_profile ethernet vlan source_mac destination_mac 802.
DES-3226S Layer 2 Switch CLI Reference Command delete access_profile config access_profile Parameters udp src_port_mask dst_port_mask protocol_id user_mask permit deny profile_id } profile_id profile_id add access_id ethernet vlan source_mac destination_mac 802.
DES-3226S Layer 2 Switch CLI Reference Command Parameters user_define priority replace_priority replace_dscp delete Due to a chipset limitation, the Switch currently supports a maximum of 10 access profiles, each containing a maximum of 50 rules − with the additional limitation of 50 rules total for all 10 access profiles.
DES-3226S Layer 2 Switch CLI Reference follows to the list of rules that are associated with access profile 1. For each rule entered into the access profile, you can assign an access_id that both identifies the rule and establishes a priority within the list of rules. A lower access_id gives the rule a higher priority. In case of a conflict in the rules entered for an access profile, the rule with the highest priority (lowest access_id) will take precedence.
DES-3226S Layer 2 Switch CLI Reference create access_profile Purpose Used to create an access profile on the Switch and to define which parts of each incoming frame’s header the Switch will examine. Masks can be entered that will be combined with the values the Switch finds in the specified frame header fields. Specific values for the rules are entered using the config access_profile command, below. Syntax create access_profile [ethernet {vlan | source_mac | destination_mac | 802.
DES-3226S Layer 2 Switch CLI Reference create access_profile mask for the source MAC address. This mask is entered in the following hexadecimal format: destination_mac − Specifies a MAC address mask for the destination MAC address. 802.1p − Specifies that the Switch will examine the 802.1p priority value in the frame’s header. ethernet_type − Specifies that the Switch will examine the Ethernet type value in each frame’s header.
DES-3226S Layer 2 Switch CLI Reference create access_profile src_port_mask − Specifies a TCP port mask for the source port. dst_port_mask − Specifies a TCP port mask for the destination port. flag_mask – Specifies examination of TCP flag field according to the type of flag. Specify all to examine all type of TCP flag fields. urg – Specifies urgent TCP flag field. ack – Specifies acknowledge TCP flag field. psh - Specifies push TCP flag field.
DES-3226S Layer 2 Switch CLI Reference create access_profile Restrictions this command. Only administrator-level users can issue this command. Example usage: To create an access profile that will deny service to the subnet ranging from 10.42.73.0 to 10.42.73.255: DES-3226S:4# create access_profile ip source_ip_mask 255.255.255.0 profile_id 1 deny Command: create access_profile ip source_ip_mask 255.255.255.0 profile_id 1 deny Success.
DES-3226S Layer 2 Switch CLI Reference delete access_profile Purpose Used to delete a previously created access profile. Syntax delete access_profile [profile_id ] Description The delete access_profile command is used to delete a previously created access profile on the Switch. Parameters profile_id − an integer between 1 and 255 that is used to identify the access profile that will be deleted with this command.
DES-3226S Layer 2 Switch CLI Reference config access_profile Purpose Used to configure an access profile on the Switch and to define specific values that will be used to by the Switch to determine if a given packet should be forwarded or filtered. Masks entered using the create access_profile command will be combined, using a logical AND operation, with the values the Switch finds in the specified frame header fields.
DES-3226S Layer 2 Switch CLI Reference config access_profile add access_id − Adds an additional rule to the above specified access profile. The value specifies the relative priority of the additional rule. The lower access ID, the higher the priority the rule will be given. ethernet − Specifies that the Switch will look only into the layer 2 part of each packet. vlan − Specifies that the access profile will apply to only to this VLAN.
DES-3226S Layer 2 Switch CLI Reference config access_profile will apply only to packets that have this value in their Type-of-Service (DiffServ code point, DSCP) field in their IP packet header. icmp − Specifies that the Switch will examine the Internet Control Message Protocol (ICMP) field within each packet. type − Specifies that the access profile will apply to this ICMP type value. code − Specifies that the access profile will apply to this ICMP code.
DES-3226S Layer 2 Switch CLI Reference config access_profile fin - Specifies finish TCP flag field. udp − Specifies that the Switch will examine the Universal Datagram Protocol (UDP) field in each packet. src_port − Specifies that the access profile will apply only to packets that have this UDP source port in their header. dst_port − Specifies that the access profile will apply only to packets that have this UDP destination port in their header.
DES-3226S Layer 2 Switch CLI Reference config access_profile Restrictions Only administrator-level users can issue this command. Example usage: To configure the access profile with the profile ID of 1 to filter frames that have IP addresses in the range between 10.42.73.0 to 10.42.73.255: DES-3226S:4# config access_profile profile_id 1 add access_id 1 ip source_ip 10.42.73.1 Command: config access_profile profile_id 1 add access_id 1 ip source_ip 10.42.73.1 Success.
DES-3226S Layer 2 Switch CLI Reference show access_profile Purpose Used to display the currently configured access profiles on the Switch. Syntax show access_profile Description The show access_profile command is used to display the currently configured access profiles Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference 22 T RAFFIC S EGMENTATION C OMMANDS Traffic segmentation allows you to further sub-divide VLANs into smaller groups of ports that will help to reduce traffic on the VLAN. The VLAN rules take precedence, and then the traffic segmentation rules are applied.
DES-3226S Layer 2 Switch CLI Reference config traffic_segmentation Purpose Used to configure traffic segmentation on the switch. Syntax config traffic_segmentation forward_list [null|] Description The config traffic_segmentation command is used to configure traffic segmentation on the switch. Parameters − Specifies a range of ports that will be configured for traffic segmentation.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure ports 1 through 10 to be able to forward frames to port 11 through 15: DES-3226S:4# config traffic_segmentation 1-10 forward_list 1115 Command: config traffic_segmentation 1-10 forward_list 11-15 Success.
DES-3226S Layer 2 Switch CLI Reference show traffic_segmentation Purpose Used to display the current traffic segmentation configuration on the switch. Syntax config traffic_segmentation forward_list [null|] Description The show traffic_segmentation command is used to display the current traffic segmentation configuration on the switch. Parameters − Specifies a range of ports for which the current traffic segmentation configuration on the switch will be displayed.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the current traffic segmentation configuration on the switch.
DES-3226S Layer 2 Switch CLI Reference 23 S TACKING C OMMANDS The stacking configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config stacking mode disable enable master auto slave show stacking {mode} Each command is listed, in detail, in the following sections. NOTE: The default settings for the switch allow the switch to function as either a member of a stacked group or as a standalone device.
DES-3226S Layer 2 Switch CLI Reference config stacking mode Purpose Syntax Description Parameters Used to enable or disable switch stacking and to configure the stacking mode. config stacking mode [ disable | enable [master | auto | slave ] ] Use this command to setup switch stacking or disable the stacking function. Each switch should be configured separately prior to establishing the physical link through the stacking ports. enable – Stacking mode is enabled by default.
DES-3226S Layer 2 Switch CLI Reference config stacking mode Restrictions all configuration settings for the stacked group including stacking configuration - are saved in configuration files in the master switch. The stack is managed as a single entity through the master. slave − This overrides the auto stacking mode. When the switch is in slave mode in cannot function as a master and a master switch must be properly connected to the stack for a switch to operate in slave mode.
DES-3226S Layer 2 Switch CLI Reference Example usage: To configure the stacking mode: DES-3226S:4#config stack mode disable Command: config stacking mode disable Do you want to save the system's configuration to NV-RAM?(y/n) Saving all configurations to NV-RAM... Done. Success. DES-3226S:4# show stacking Purpose Used to display the current stacking information. Syntax show stacking {mode} Description This command will display the current stacking information.
DES-3226S Layer 2 Switch CLI Reference Example usage: To display the current stacking information: DES-3226S:4#show stacking Command: show stacking ID MAC Address Port Range Mode --- ----------------- ---------- ---------- Version RPS Status Model Name -------- ----------- *1 00-80-C8-32-12-30 1 - 12 STANDALONE 1.
DES-3226S Layer 2 Switch CLI Reference 24 T IME AND SNTP C OMMANDS The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NPT)) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-3226S Layer 2 Switch CLI Reference config sntp Purpose Used to setup SNTP service. Syntax config sntp {primary | secondary | poll-interval } Description Use this command to configure SNTP service from an SNTP server. SNTP must be enabled for this command to function (See enable sntp). Parameters primary − This is the primary server the SNTP information will be taken from. − The IP address of the primary server.
DES-3226S Layer 2 Switch CLI Reference show sntp Purpose Used to display the SNTP information. Syntax show sntp Description This command will display SNTP settings information including the source IP address, time and poll interval. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To display SNTP configuration information: GS-3212SR:4#show sntp Command: show sntp Current Time Source : System Clock SNTP : Disabled SNTP Primary Server : 10.1.1.
DES-3226S Layer 2 Switch CLI Reference enable sntp Purpose Enables SNTP server support. Syntax enable sntp Description This will enable SNTP support. SNTP service must be separately configured (see config sntp).Enabling and configuring SNTP support will override any manually configured system time settings. Parameters None. Restrictions Only administrator-level users can issue this command. SNTP settings must be configured for SNTP to function (config sntp).
DES-3226S Layer 2 Switch CLI Reference disable sntp Purpose Disables SNTP server support. Syntax disable sntp Description This will disable SNTP support. SNTP service must be separately configured (see config sntp). Parameters None. Restrictions Only administrator-level users can issue this command. Example: To stop SNTP support: DES-3226S:4#disable sntp Command: disable sntp Success.
DES-3226S Layer 2 Switch CLI Reference config time Purpose Used to manually configure system time and date settings. Syntax config time date
DES-3226S Layer 2 Switch CLI Reference config time zone Purpose Used to determine the time zone used in order to adjust the system clock. Syntax config time-zone {operator [+ | -] | hour | min } Description This will adjust system clock settings according to the time zone. Time zone settings will adjust SNTP information accordingly. Parameters operator – Choose to add (+) or subtract (-) time to adjust for time zone relative to GMT.
DES-3226S Layer 2 Switch CLI Reference config dst Purpose Used to enable and configure time adjustments to allow for the use of Daylight Savings Time (DST).
DES-3226S Layer 2 Switch CLI Reference config dst Parameters disable -Disable the DST seasonal time adjustment for the switch. repeating - Using repeating mode will enable DST seasonal time adjustment. Repeating mode requires that the DST beginning and ending date be specified using a formula. For example, specify to begin DST on Saturday during the second week of April and end DST on Sunday during the last week of October. annual - Using annual mode will enable DST seasonal time adjustment.
DES-3226S Layer 2 Switch CLI Reference config dst DST ends. - The day of the week in which DST ends expressed using a three character abbreviation (sun, mon, tue, wed, thu, fri, sat) s-mth - Configure the month in which DST begins. - The month to begin DST expressed as a number. e-mth - Configure the month in which DST ends. - The month to end DST expressed as a number. s-time – Configure the time of day to begin DST.
DES-3226S Layer 2 Switch CLI Reference DES-3226S:4#config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 10 e_time 15:30 offset 30 Command: config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e _day wed e_mth 10 e_time 15:30 offset 30 Success. DES-3226S:4# show time Purpose Used to display the current time settings and status. Syntax show time Description This will display system time and date configuration as well as display current system time.
DES-3226S Layer 2 Switch CLI Reference To show time: DES-3226S:4#show time Command: show time Current Time Source : System Clock Current Time : 01 Jul 2003 01:43:41 Time Zone : GMT +02:30 Daylight Saving Time : Repeating Offset in Minutes : 30 Repeating From : Apr 2nd Tue 15:00 To Annual To : Oct 2nd Wed 15:30 From : 29 Apr 00:00 : 012 Oct 00:00 DES-3226S:4# 275
DES-3226S Layer 2 Switch CLI Reference 25 A SYMMETRIC VLAN S C OMMANDS The DES-3226S supports Asymmetric VLANs implementation for more efficient use of shared resources such as server or gateway devices. An asymmetric VLAN can be set up to allow a server (or several servers) to communicate with several clients through a single physical link on the switch. At the same time however, the clients are not allowed to link to each other directly.
DES-3226S Layer 2 Switch CLI Reference Command Parameters enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan 277
DES-3226S Layer 2 Switch CLI Reference enable asymmetric_vlan Purpose Used to enable Asymmetric VLANs system wide. Syntax enable asymmetric_vlan Description This command enables Asymmetric VLANs system wide. A unique PVID is assigned to all ports creating a separate VLAN for each port. Each port is still able to receive frames from the default VLAN. Asymmetric VLANs are disabled by default. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference disable asymmetric_vlan Purpose Used to disable Asymmetric VLANs system wide. Syntax disable asymmetric_vlan Description This will disable Assymetric VLANs configured on the system. By default, Asymmetric VLANs are disabled. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable Asymmetric VLANs: DES-3226S:4#disable asymmetric_vlan Command: disable asymmetric_vlan Success.
DES-3226S Layer 2 Switch CLI Reference show asymmetric_vlan Purpose Used to display Asymmetric VLAN status for the system. Syntax show asymmetric_vlan Description This displays whether Asymmetric VLANs are enabled or disabled system wide. Parameters None. Restrictions Only administrator-level users can issue this command.
DES-3226S Layer 2 Switch CLI Reference 26 C OMMAND H ISTORY L IST The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters ? show command_history dir config command_history Each command is listed, in detail, in the following sections.
DES-3226S Layer 2 Switch CLI Reference ? Purpose Used to display all commands in the Command Line Interface (CLI). Syntax ? Description This command will display all of the commands available through the Command Line Interface (CLI). Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference show command_history Purpose Used to display the command history. Syntax show command_history Description This command will display the command history. Parameters None. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference dir Purpose Used to display all commands. Syntax dir Description This command will display all commands. Parameters None. Restrictions None. Example usage To display all of the commands: DES-3226S:4#dir Command: dir .
DES-3226S Layer 2 Switch CLI Reference config command_history Purpose Used to configure the command history. Syntax config command_history Description This command is used to configure the command history. Parameters <1-40> − the number of previously executed commands maintained in the buffer. Up to 40 of the latest executed commands may be viewed. Restrictions None.
DES-3226S Layer 2 Switch CLI Reference A T ECHNICAL S PECIFICATIONS Physical and Environmental AC input & External Redundant power Supply: 100 – 120; 200 - 240 VAC, 50|60 Hz (internal universal power supply) Power Consumption: 30 watts maximum DC fans: 3 built-in 40 x 40 x10 mm fans Operating Temperature: 0 to 40 degrees Celsius Storage Temperature: -40 to 70 degrees Celsius Humidity: Operating: 5% to 95% RH non-condensing; Storage: 0% to 95% RH non-condensing Dimensions: 441 mm x 207 mm x 44
DES-3226S Layer 2 Switch CLI Reference General Standards: IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3z 1000BASE-SX Gigabit Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet IEEE 802.1 P|Q VLAN IEEE 802.3x Full-duplex Flow Control IEEE 802.3 Nway auto-negotiation Protocols: CSMA|CD Data Transfer Rates: Half-duplex Full-duplex 10 Mbps 20Mbps 100Mbps 200Mbps n|a 2000Mbps Ethernet Fast Ethernet Gigabit Ethernet Network Cables: 10BASE-T: 2-pair UTP Cat.
DES-3226S Layer 2 Switch CLI Reference Performance Transmission Method: Store-and-forward RAM Buffer: 8 Megabytes per device Filtering Address Table: 8K MAC address per device Packet Filtering| Forwarding Rate: Full-wire speed for all connections. 148,800 pps per port (for 100Mbps) 1,488,000 pps per port (for 1000Mbps) MAC Address Learning: Automatic update.