CLI Reference Manual Product Model : DES-1228/ME Managed 10/100Mbps Metro Ethernet Switch Release 1
_________________________________________________________________________________ Information in this document is subject to change without notice. © 2009 D-Link Corporation. All rights reserved. Reproduction in any manner whatsoever without the written permission of D-Link Corporation is strictly forbidden. Trademarks used in this text: D-Link and the D-LINK logo are trademarks of D-Link Corporation; Microsoft and Windows are registered trademarks of Microsoft Corporation.
Table of Contents INTRODUCTION .......................................................................................................................................................... 1 USING THE CONSOLE CLI......................................................................................................................................... 3 COMMAND SYNTAX ...................................................................................................................................................
SAFEGUARD ENGINE COMMANDS ..................................................................................................................... 182 TRAFFIC SEGMENTATION COMMANDS .............................................................................................................. 184 TIME AND SNTP COMMANDS ............................................................................................................................... 186 ARP COMMANDS ...................................................
ARP SPOOFING ATTACK PREVENTION LIST ..................................................................................................... 295 TECHNICAL SPECIFICATIONS ..............................................................................................................................
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 1 INTRODUCTION The Switch can be managed through the Switch’s serial port, Telnet, or the Web-based management agent. The Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces. 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 Manual.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Setting the Switch’s IP Address Each Switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s default IP address is 10.90.90.90. Users can change the default Switch IP address to meet the specification of your networking address scheme. The Switch is also assigned a unique MAC address by the factory.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 2 USING THE CONSOLE CLI The DES-1228/ME support 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual . ? cable_diag ports clear clear arptable clear counters clear fdb clear flood_fdb clear igmp_snooping data_driven_group clear log clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports config 802.1x guest_vlan ports config 802.1x init config 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config account Command: config account Next possible completions: DES-1228/ME:4#config account Command: config account Next possible completions: DES-1228/ME:4# 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show Command: show Next possible completions: 802.1p 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 3 COMMAND SYNTAX The following symbols are used to describe how command entries are made and values and arguments are specified in this manual. 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual (parentheses) Purpose Indicates at least one or more of the values or arguments in the preceding syntax enclosed by braces must be specified. Syntax config dhcp_relay {hops | time }(1) Description In the above syntax example, users have the option to specify hops or time or both of them. The "(1)" following the set of braces indicates at least one argument or value within the braces must be specified.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 4 BASIC SWITCH COMMANDS The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual enable password encryption Purpose Used to enable password encryption on a user account. Syntax enable password encryption Description The user account configuration information will be stored in the configuration file, and can be applied to the system at a time in the future. If the password encryption is enabled, the password will be in encrypted form.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create account Purpose Used to create user accounts. Syntax create account [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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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 at one time. Parameters None. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the way that the users logged in: DES-1228/ME:4#show session Command: show session ID -8 Login Time -------------------00000 days 00:00:37 Live Time ----------0:3:36:27 From ----------Serial Port Level ----4 Total Entries: 1 CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show switch Purpose Used to display general information about the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual enable clipaging Purpose Used to pause the scrolling of the console screen when a command displays more than one page. Syntax enable clipaging Description This command is used when issuing a command which causes the console screen to rapidly scroll through several pages. This command will cause the console to pause at the end of each page. The default setting is enabled. Parameters None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To enable Telnet and configure port number: DES-1228/ME:4#enable telnet 23 Command: enable telnet 23 Success. DES-1228/ME:4# 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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 Web-based management software on the Switch. 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To save the Switch’s current configuration to non-volatile RAM: DES-1228/ME:4#save Command: save Saving all configurations to NV-RAM... Done. Success. DES-1228/ME:4# reboot Purpose Used to restart the Switch. Syntax reboot Description This command is used to restart the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual reset Purpose Used to reset the Switch to the factory default settings. Syntax reset {[config | system]} {force_agree} 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual logout Purpose Used to log out a user from the Switch’s console. Syntax logout Description This command terminates the current user’s session on the Switch’s console. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 5 MODIFY BANNER AND PROMPT COMMANDS Administrator level users can modify the login banner (greeting message) and command prompt by using the commands described below.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config greeting _message described on the Banner Editor: Quit without save: Ctrl+C Save and quit: Ctrl+W Move cursor: Left/Right/Up/Down Delete line: Ctrl+D Erase all setting: Ctrl+X Reload original setting: Ctrl+L Restrictions Only Administrator-level users can issue this command. Other restrictions include: If the “reset/reset config” command is executed, the modified banner will remain modified.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To view the currently configured greeting message: DES-1228/ME:4#show greeting_message Command: show greeting_message ========================================================================= DES-1228/ME Metro Ethernet Switch Command Line Interface Firmware: Build 1.00.B04 Copyright(C) 2009 D-Link Corporation. All rights reserved.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 6 SWITCH PORT COMMANDS The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config ports If set to normal state, the port in MDIX mode, can be connected to PC NIC using a straight cable. If set to cross state, the port in mdi mode, can be connected to a port (in mdix mode) on another switch through a straight cable. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the configuration of all ports on a standalone switch: DES-1228/ME:4#show ports Command show ports Port State/ MDI ----- -------1 Enabled Auto 2 Enabled Auto 3 Enabled Auto 4 Enabled Auto 5 Enabled Auto 6 Enabled Auto 7 Enabled Auto 8 Enabled Auto 9 Enabled Auto Settings Speed/Duplex/FlowCtrl --------------------Auto/Disabled Connection Speed/Duplex/FlowCtrl --------------------LinkDown Auto/Disabled LinkDown Enab
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the configuration of all ports on a standalone switch, with description: DES-1228/ME:4#show ports description Command: show ports description Port State/ MDI ----- -------1 Enabled Auto Desc: 2 Enabled Auto Desc: 3 Enabled Auto Desc: 4 Enabled Auto Desc: 5 Enabled Auto Desc: 6 Enabled Auto Desc: Settings Speed/Duplex/FlowCtrl --------------------Auto/Disabled Connection Speed/Duplex/FlowCtrl --------------------LinkD
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 7 PORT SECURITY COMMANDS The Switch’s port security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config port_security ports 1-5 admin_state enable max_learning_addr 5 lock_address_mode DeleteOnReset Command: config port_security ports 1-5 admin_state enable max_learning_addr 5 lock_address_mode DeleteOnReset Success. DES-1228/ME:4# delete port_security_entry Purpose Used to delete a port security entry by MAC address, port number and VLAN ID.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4# clear port_security_entry port 6 Command: clear port_security_entry port 6 Success. DES-1228/ME:4# 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’s ports.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To enable the port security trap log setting: DES-1228/ME:4#enable port_security trap_log Command: enable port_security trap_log Success. DES-1228/ME:4# disable port_security trap_log Purpose Used to disable the trap log for port security.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 8 NETWORK MANAGEMENT (SNMP) COMMANDS The DES-1228/ME support the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. Users can specify which version of the SNMP users want to use to monitor and control the Switch. The three versions of SNMP vary in the level of security provided between the management station and the network device.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters create trusted_host | network delete trusted_host [all | ipaddr| network] show trusted_host enable snmp traps enable snmp authenticate traps config stp trap {new_root [enable|disable]|topo_change [enable|disable]}(1) show snmp traps {linkchange_traps { ports }} disable snmp traps disable snmp authenticate traps config snmp system_contact conf
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create snmp user is not recommended. auth − The user may also choose the type of authentication algorithms used to authenticate the snmp user. The choices are: md5 − Specifies that the HMAC-MD5-96 authentication level will be used. md5 may be utilized by entering one of the following: − An alphanumeric sting of between 8 and 16 characters that will be used to authorize the agent to receive packets for the host.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To delete a previously entered SNMP user on the Switch: DES-1228/ME:4#delete snmp user dlink Command: delete snmp user dlink Success. DES-1228/ME:4# 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To create an SNMP view: DES-1228/ME:4#create snmp view dlinkview 1.3.6 view_type included Command: create snmp view dlinkview 1.3.6 view_type included Success. DES-1228/ME:4# 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show snmp view Command: show snmp view Vacm View Table Settings View Name -------------------ReadView WriteView NotifyView restricted restricted restricted restricted restricted CommunityView CommunityView CommunityView Subtree ----------------------1 1 1.3.6 1.3.6.1.2.1.1 1.3.6.1.2.1.11 1.3.6.1.6.3.10.2.1 1.3.6.1.6.3.11.2.1 1.3.6.1.6.3.15.1.1 1 1.3.6.1.6.3 1.3.6.1.6.3.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To create the SNMP community string “dlink:” DES-1228/ME:4#create snmp community dlink view ReadView read_write Command: create snmp community dlink view ReadView read_write Success. DES-1228/ME:4# delete snmp community Purpose Used to remove a specific SNMP community string from the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the currently entered SNMP community strings: DES-1228/ME:4#show snmp community Command: show snmp community SNMP Community Table Community Name -----------------private public dlink View Name ------------------CommunityView CommunityView ReadView Access Right -----------read_write read_only read_write Total Entries: 3 DES-1228/ME:4# config snmp engineID Purpose Used to configure a name for the SNMP engine on the S
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the current name of the SNMP engine on the Switch: DES-1228/ME:4#show snmp engineID Command: show snmp engineID SNMP Engine ID : 0035636666 DES-1228/ME:4# create snmp group Purpose Used to create a new SNMP group, or a table that maps SNMP users to SNMP views.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To create an SNMP group named “sg1:” DES-1228/ME: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-1228/ME:4# delete snmp group Purpose Used to remove an SNMP group from the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the currently configured SNMP groups on the Switch: DES-1228/ME:4#show snmp groups Command: show snmp groups Vacm Access Table Settings Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : : : : : : Group3 ReadView WriteView NotifyView SNMPv3 NoAuthNoPriv Group Name ReadView Name WriteView Name Notify View Name Security Model Security Level : : : : : : Group4 ReadView WriteView N
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To delete an SNMP host entry: DES-1228/ME:4#delete snmp host 10.48.74.100 Command: delete snmp host 10.48.74.100 Success. DES-1228/ME:4# show snmp host Purpose Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To create the trusted host: DES-1228/ME:4#create trusted_host 10.48.74.121 Command: create trusted_host 10.48.74.121 Success. DES-1228/ME:4# create trusted_host network Purpose Used to create the trusted host subnet. Syntax create trusted_host network Description The create trusted host network command creates the trusted host subnet.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example Usage: To display the list of trust hosts: DES-1228/ME:4#show trusted_host Command: show trusted_host Management Stations IP Address/Netmask ----------------------10.53.13.94 Total Entries: 1 DES-1228/ME:4# delete trusted_host Purpose Used to delete a trusted host entry made using the create trusted_host command above.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To delete a trusted host network with an IP address 10.62.0.0/16: DES-1228/ME:4#delete trusted_host network 10.62.0.0/16 Command: delete trusted_host network 10.62.0.0/16 Success. DES-1228/ME:4# delete trusted_host all Purpose Used to delete all trusted host entries made using the create trusted_host ipaddr and create trusted_host network commands above.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual enable snmp authenticate traps Description This command is used to enable SNMP authentication trap support on the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command. Example Usage: To turn on SNMP authentication trap support: DES-1228/ME:4#enable snmp authenticate traps Command: enable snmp authenticate traps Success. DES-1228/ME:4# config stp trap Purpose Used to configure STP traps for SNMP.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To view the current SNMP trap support: DES-1228/ME:4#show snmp traps Command: show snmp traps SNMP Traps Authenticate Traps : Enabled : Enabled DES-1228/ME:4# disable snmp traps Purpose Used to disable SNMP trap support on the Switch. Syntax disable snmp traps Description This command is used to disable SNMP trap support on the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config snmp system_contact Purpose Used to enter the name of a contact person who is responsible for the Switch. Syntax config snmp system_contact{} Description The config snmp system_contact command is used to enter the name and/or other information to identify a contact person who is responsible for the Switch. A maximum of 128 characters can be used. Parameters − A maximum of 128 characters is allowed.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To configure the Switch name for “DES-1228/ME Switch”: DES-1228/ME:4#config snmp system_name DES-1228/ME Switch Command: config snmp system_name DES-1228/ME Switch Success. DES-1228/ME:4# enable rmon Purpose Used to enable RMON on the Switch. Syntax enable rmon Description This command is used, in conjunction with the disable rmon command below, to enable and disable remote monitoring (RMON) on the Switch. Parameters None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config snmp linkchange_traps ports Purpose Used to configure SNMP link changing port traps/ Syntax config snmp linkchange_traps ports [all|] [enable|disable] Description Used to configure SNMP link changing port traps/ Parameters all − The user can define either all ports or a list of port that will be configured.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example Usage: To disable SNMP link changing traps: DES-1228/ME:4#disable snmp linkchange_traps Command: disable snmp linkchange_traps Success. DES-1228/ME:4# config snmp coldstart_traps Purpose Used to configure cold start SNMP traps. Syntax config snmp coldstart_traps [enable|disable] Description Used to configure cold start SNMP traps. Parameters [enable|disable] − Choose enable or disable to enable or disable this function.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 9 SWITCH UTILITY COMMANDS The switch utility commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual download image_id − Specify the working section ID. The Switch can hold two firmware versions for the user to select from, which are specified by section ID. increment − Allows the download of a partial switch configuration file. This allows a file to be downloaded that will change only the switch parameters explicitly stated in the configuration file. All other switch parameters will remain unchanged.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config firmware Purpose Used to configure the firmware section image as a boot up section, or to delete the firmware section Syntax config firmware image_id [delete | boot_up] Description This command is used to configure the firmware section image. The user may choose to remove the firmware section or use it as a boot up section. Parameters image_id – Specifies the working section image.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show config Purpose Used to display the current or saved version of the configuration settings of the switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To view the current configuration settings: DES-1228/ME:4#show config current_config Command: show config current_config ------------------------------------------------------------------# DES-1228/ME Configuration # # Firmware: Build 1.00.B04 # Copyright(C) 2009 D-Link Corporation. All rights reserved.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Note: The TFTP server must be on the same IP subnet as the Switch Example usage: To upload a configuration file: DES-1228/ME:4#upload cfg_toTFTP 10.48.74.121 c:\cfg\log.txt Command: upload cfg_toTFTP 10.48.74.121 c:\cfg\log.txt Connecting to server................... Done. Upload configuration...................Done.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME Metro Ethernet Switch Command Line Interface Firmware: Build 1.00.B04 Copyright(C) 2009 D-Link Corporation. All rights reserved. DES-1228/ME:4# DES-1228/ME:4# DES-1228/ME:4#download cfg_fromTFTP 10.41.44.44 c:\cfg\setting.txt Command: download cfg_fromTFTP 10.41.44.44 c:\cfg\setting.txt Connecting to server................... Done. Download configuration................. Done.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To stop the auto configuration function: DES-1228/ME:4#disable autoconfig Command: disable autoconfig Success. DES-1228/ME:4# show autoconfig Purpose Used to display the current autoconfig status of the Switch. Syntax show autoconfig Description This command will list the current status of the auto configuration function. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To ping the IP address 10.48.74.121 four times: DES-1228/ME:4#ping 10.48.74.121 times 4 Command: ping 10.48.74.121 Reply Reply Reply Reply from from from from 10.48.74.121, 10.48.74.121, 10.48.74.121, 10.48.74.121, time<10ms time<10ms time<10ms time<10ms Ping statistics for 10.48.74.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config configuration Purpose Used to configure the configuration ID. Syntax config_id [ delete | boot_up | active ] Description Used to configure the configuration ID. Parameters config_id − Specifies the configuration ID to be used. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 10 NETWORK MONITORING COMMANDS The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show packet ports 2 Command: show packet ports 2 Port Number : 2 Frame Size Frame Counts ------------ -----------64 0 65-127 0 128-255 0 256-511 0 512-1023 0 1024-1518 0 Unicast RX Multicast RX Broadcast RX 0 0 0 Frames/sec ---------0 0 0 0 0 0 Frame Type ---------RX Bytes RX Frames Total --------0 0 Total/sec --------0 0 TX Bytes TX Frames 0 0 0 0 0 0 0 CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show utilization Purpose Used to display real-time port and CPU utilization statistics. Syntax show utilization [cpu | ports {}] Description This command will display the real-time port and CPU utilization statistics for the Switch. Parameters cpu – Entering this parameter will display the current cpu utilization of the Switch. ports − Entering this parameter will display the current port utilization of the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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 port or range of ports to be displayed. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the switch history log: DES-1228/ME:4#show log index 1-5 Command: show log index 1-5 Index ----5 4 3 2 1 Data Time ------------------00000-00-00 01:01:09 00000-00-00 00:00:14 00000-00-00 00:00:06 00000-00-00 00:00:01 00000-00-00 00:06:31 Log Text -------------------------------------------------------Successful login through Console (Username: Anonymous) System started up Port 1 link up, 100Mbps FULL duplex Spanning T
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To disable the syslog function on the Switch: DES-1228/ME:4#disable syslog Command: disable syslog Success. DES-1228/ME:4# 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create syslog host 0 1 2 3 4 5 6 7 Emergency: system is unusable Alert: action must be taken immediately Critical: critical conditions Error: error conditions Warning: warning conditions Notice: normal but significant condition Informational: informational messages Debug: debug-level messages Numerical Code Facility 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 kernel messages user-level messages mail system system daemons
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create syslog host Restrictions Only Administrator-level users can issue this command. Example usage: To create syslog host: DES-1228/ME:4#create syslog host 1 severity all facility local0 Command: create syslog host 1 severity all facility local0 Success. DES-1228/ME:4# config syslog host Purpose Used to configure the syslog protocol to send system log data to a remote host.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Parameters Parameters Numerical Code 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Facility kernel messages user-level messages mail system system daemons security/authorization messages messages generated internally by syslog line printer subsystem network news subsystem UUCP subsystem clock daemon security/authorization messages FTP daemon NTP subsystem log audit log alert clock daemon local use 0 (local0) local use 1 (loca
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To configure a Syslog host: DES-1228/ME:4#config syslog host 1 severity all facility local0 Command: config syslog host all severity all facility local0 Success. DES-1228/ME:4# Example usage: To configure a Syslog host for all hosts: DES-1228/ME:4#config syslog host all severity all facility local0 Command: config syslog host all severity all facility local0 Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To show Syslog host information: DES-1228/ME:4#show syslog host Command: show syslog host Syslog Global State: Disabled Host Id ------1 2 3 Host IP Address --------------10.1.1.2 10.40.2.3 10.21.13.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display the time interval for saving log files: DES-1228/ME:4#show log_save_timing Command: show log_save_timing Saving log method: time_interval Interval : 30 DES-1228/ME:4# 75
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 11 MULTIPLE SPANNING TREE PROTOCOL (MSTP) COMMANDS This Switch supports three versions of the Spanning Tree Protocol; 802.1D STP, 802.1w Rapid STP and 802.1s MSTP. Multiple Spanning Tree Protocol, or MSTP, is a standard defined by the IEEE community that allows multiple VLANs to be mapped to a single spanning tree instance, which will provide multiple pathways across the network.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters show stp mst_config id Each command is listed, in detail, in the following sections. 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. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp version Switch. Restrictions Only Administrator-level users can issue this command. Example usage: To set the Switch globally for the Multiple Spanning Tree Protocol (MSTP): DES-1228/ME:4#config stp version mstp Command: config stp version mstp Success. DES-1228/ME:4# config stp Purpose Used to setup STP, RSTP and MSTP on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp lbd_recover_timer [0 | ] − This field will set the time the STP port will wait before recovering the STP state set. 0 will denote that the LBD will never time out or restart until the administrator personally changes it. The user may also set a time between 60 and 1000000 seconds. The default is 60 seconds. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp ports to an 802.1w or 802.1s enabled network. Migration should be set as yes on ports connected to network stations or segments that are capable of being upgraded to 802.1w RSTP or 802.1s MSTP on all or some portion of the segment. edge [true | false | auto] – true designates the port as an edge port. Edge ports cannot create loops, however an edge port can lose edge port status if a topology change creates a potential for a loop.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To configure STP with path cost auto, hellotime set to 2 seconds, migration enable, and state enable for ports 1-2 of module 1. DES-1228/ME:4#config stp ports 1-2 externalCost auto hellotime 2 migrate yes state enable Command: config stp ports 1-2 externalCost auto hellotime 2 migrate yes state en able DES-1228/ME:4# create stp instance_id Purpose Used to create a STP instance ID for MSTP.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp instance_id Restrictions Only Administrator-level users can issue this command. Example usage: To configure instance ID 2 to add VID 10: DES-1228/ME:4#config stp instance_id 2 add_vlan 10 Command : config stp instance_id 2 add_vlan 10 Success. DES-1228/ME:4# Example usage: To remove VID 10 from instance ID 2: DES-1228/ME:4#config stp instance_id 2 remove_vlan 10 Command : config stp instance_id 2 remove_vlan 10 Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp priority This entry must be divisible by 4096. instance_id − Enter the value corresponding to the previously configured instance ID of which the user wishes to set the priority value. An instance id of 0 denotes the default instance_id (CIST) internally set on the Switch. Restrictions Only Administrator-level users can issue this command. Example usage: To set the priority value for instance_id 2 as 4096.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp mst_ports instances where the priority value is identical, the MSTP function will implement the lowest MAC address into the forwarding state and other interfaces will be blocked. Remember that lower priority values mean higher priorities for forwarding packets. Parameters − Specifies a port or range of ports to be configured.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Max Hops TX Hold Count Forwarding BPDU Loopback Detection LBD Recover Time : : : : : 20 6 Enabled Enabled 60 DES-1228/ME:4# Status 2 : STP enabled for RSTP DES-1228/ME:4#show stp Command: show stp STP Bridge Global Settings --------------------------STP Status : STP Version : Max Age : Hello Time : Forward Delay : Max Hops : TX Hold Count : Forwarding BPDU : Loopback Detection : LBD Recover Time : Enabled RSTP 20 2 15 20 6 Enabled Enabled 60
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show stp ports may use the Space bar, p and n keys to view information for the remaining ports. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show stp instance 0 Command: show stp instance 0 STP Instance Settings --------------------------Instance Type : CIST Instance Status : Enabled Instance Priority : 32768(bridge priority : 32768, sys ID ext : 0 ) STP Instance Operational Status -------------------------------Designated Root Bridge : 32766/00-90-27-39-78-E2 External Root Cost : 200012 Regional Root Bridge : 32768/00-53-13-1A-33-24 Internal Root Cost : 0 Designated Br
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 12 FORWARDING DATABASE COMMANDS The layer 2 forwarding database commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#create fdb default 00-00-00-00-01-02 port 5 Command: create fdb default 00-00-00-00-01-02 port 5 Success. DES-1228/ME:4# 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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 00-00-81-48-70-01 10 Dynamic 1 default 00-00-E2-4F-57-03 10 Dynamic 1 default 00-00-E2-61-53-18 10 Dynamic 1 default 00-00-E2-6B-BC-F6 10 Dynamic 1 default 00-00-E2-7F-6B-53 10 Dynamic 1 default 00-00-E2-82-7D-90 10 Dynamic 1 default 00-00-F8-7C-1C-29 10 Dynamic 1 default 00-01-02-0
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To view the multicast port filtering mode for all ports: DES-1228/ME:4#show multicast port_filtering_mode Command: show multicast port_filtering_mode Multicast Filter Mode For Unregistered Group: Forwarding List: 1-28 Filtering List: DES-1228/ME:4# enable flood_fdb Purpose Used to enable flooding MAC function. Syntax enable flood_fdb Description The enable flood_fdb command is used to enable flooding MAC function. The default is disabled.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show flood_fdb Purpose Used to show the flooding Flood Database. Syntax show flood_fdb Description The show flood_fdb command is used to display flooding MAC function state and flooding database. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual clear flood_fdb Purpose Used to clear the flooding database. Syntax clear flood_fdb Description Clear the flooding database. Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To clear flood_fdb: DES-1228/ME:4#clear flood_fdb Command: clear flood_fdb Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show auto_fdb 10.90.90.10 Command: show auto_fdb 10.90.90.10 IP Address VLAN ID MAC Address Port Time Stamp --------------- ------- ----------------- ---- ---------10.90.90.10 DES-1228/ME:4# delete auto_fdb Purpose Use to delete specified IP address entry. Syntax delete auto_fdb < ipaddr > Description The delete auto_fdb command is used to delete specified IP address entry from auto FDB.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 13 BROADCAST STORM CONTROL COMMANDS On a computer network, packets such as Multicast packets and Broadcast packets continually flood the network as normal procedure. At times, this traffic may increase due to a malicious endstation on the network or a malfunctioning device, such as a faulty network card. Thus, switch throughput problems will arise and consequently affect the overall performance of the switch network.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config traffic control the port except STP BPDU packets, which are essential in keeping the Spanning Tree operational on the Switch. If the countdown timer has expired and yet the Packet Storm continues, the port will be placed in Rest mode and is no longer operational until (1) auto-recovery after 5 minutes or (2) the user manually resets the port using the config ports 1 state disable and config ports 1 state enable command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display traffic control setting for ports 1-4: DES-1228/ME:4#show traffic control 1-4 Command: show traffic control 1-4 Traffic Storm Control Trap :[None] Port Thres hold ---- ----1 64 2 64 3 64 4 64 Broadcast Storm --------Disabled Disabled Disabled Disabled Total Entries Multicast Storm --------Disabled Disabled Disabled Disabled Unicast Storm -------Disabled Disabled Disabled Disabled Action Count down -------- ----dro
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 14 COS COMMANDS The DES-1228/ME supports 802.1p priority queuing. The Switch has four priority queues. These priority queues are numbered from 3 (Class 3) — the highest priority queue — to 0 (Class 0) — the lowest priority queue. The eight priority tags specified in IEEE 802.1p (p0 to p7) are mapped to the Switch’s priority queues as follows: • Priority 0 is assigned to the Switch’s Q1 queue. • Priority 1 is assigned to the Switch’s Q0 queue.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters config mgmt_pkt_priority [default | ] show mgmt_pkt_priority Each command is listed, in detail, in the following sections. config bandwidth_control Purpose Used to configure bandwidth control on a port by-port basis.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To display bandwidth control settings: DES-1228/ME:4#show bandwidth_control 1-5 Command: show bandwidth_control 1-5 Bandwidth Control Table Port ---1 2 3 4 5 RX Rate (Kbit/sec) ---------no_limit no_limit no_limit no_limit no_limit TX Rate (Kbit/sec) ---------no_limit no_limit no_limit no_limit no_limit Effective RX (Kbit/sec) ---------------no_limit no_limit no_limit no_limit no_limit Effective TX (Kbit/sec) ------------no_limit no_limit no_
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show scheduling Purpose Used to display the currently configured traffic scheduling on the Switch. Syntax show scheduling Description The show scheduling command will display the current traffic scheduling mechanisms in use on the Switch. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config scheduling_mechanism strict Command: config scheduling_mechanism strict Note: The strict mode is only supported at the highest queue and the other lower queues will still work at WRR mode. Success. DES-1228/ME:4# show scheduling_mechanism Purpose Used to display the current traffic scheduling mechanisms in use on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config 802.1p user_priority Purpose Used to map the 802.1p user priority of an incoming packet to one of the four hardware queues available on the Switch. Syntax config 802.1p user_priority Description This command allows users to configure the way the Switch will map an incoming packet, based on its 802.1p user priority, to one of the four available hardware priority queues on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command: show 802.1p user_priority QOS Class of Traffic Priority-0 Priority-1 Priority-2 Priority-3 Priority-4 Priority-5 Priority-6 Priority-7 -> -> -> -> -> -> -> -> DES-1228/ME:4# config 802.1p default_priority Purpose Used to configure the 802.1p default priority settings on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To display the current 802.1p default priority configuration on the Switch: DES-1228/ME:4# show 802.1p default_priority Command: show 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config cos mapping Purpose Used to configure the CoS to port mapping method to be used on the switch. Syntax config cos mapping port [ | all] [none |{port_mapping | ethernet [802.1p | mac_mapping] | ip [tos | dscp]}(1)] Description The config cos mapping is used to set the method of which incoming packets will be identified for the CoS to port mapping feature on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 6 off 7 off 8 off 9 off 10 off 11 off 12 off 13 off 14 off 15 off 16 off 17 off 18 off 19 off 20 off CTRL+C ESC q Quit SPACE n Next 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p 802.1p Page ENTER Next Entry a All off off off off off off off off off off off off off off off config cos port_mapping Purpose Used to map a specific port to one of the hardware queues available on the switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show cos port_mapping Purpose Used to map the destination MAC address in incoming packets to one of the hardware queues available on the switch. Syntax show cos port_mapping {port } Description The show cos mac_mapping command is used to view map static destination MAC addresses to one of the CoS traffic classes. Parameters − Specifies a port or range of ports to be configured.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show cos mac_mapping Purpose Used to show the mapping between destination MAC addresses and CoS traffic classes. Syntax show cos mac_mapping {destination_addr } Description The show cos mac_mapping command display the information of the destination MAC address mapped to a traffic class. Parameters destination_addr − The MAC address of the incoming packet destination address.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show cos tos Purpose Used to show TOS value to traffic class mapping. Syntax show cos tos {value } Description The show cos tos command displays the information of ToS to traffic class mappings. Parameters − The TOS value of the incoming packet. If no parameter is specified, all the ToS values to traffic class mappings will be shown. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show dscp_mapping Purpose Used to show DSCP value map to traffic class. Syntax show dscp_mapping {dscp_value } Description The show dscp_mapping command displays the information for DSCP mapping to traffic class. This command is supported when the ACL commands are not supported. Parameters − The DSCP value of the incoming packet.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config mgmt_pkt_priority Purpose This command is used to configure the manangement packet priority of the Switch. Syntax config mgmt_pkt_priority [default | ] Description This command is used to configure the manangement packet priority of the Switch. Parameters default | - This field specifies the default VLAN priority value Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 15 PORT MIRRORING COMMANDS 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To delete the mirroring ports: DES-1228/ME:4#config mirror port 1 delete source port 2-4 both Command: config mirror 1 delete source 2-4 both Success. DES-1228/ME:4# enable mirror Purpose Used to enable a previously entered port mirroring configuration.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 16 VLAN COMMANDS The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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 to delete. Restrictions Only Administrator-level users can issue this command. Example usage: To remove the VLAN “v1”: DES-1228/ME:4#delete vlan v1 Command: delete vlan v1 Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4# create vlan vlanid Purpose Used to create multiple VLANs by VLAN ID list on the switch. Syntax create vlan vlanid { advertisement } Description The create vlans by vlanid list command creates multiple VLANs on the switch. Parameters − Specifies a range of multiple VLAN IDs to be created. advertisement − Join GVRP or not. If not, the VLAN can’t join dynamically.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config vlan vlanid The name parameter allows you to specify the name of the VLAN that needs to be modified. Parameters − Specifies a range of multiple VLAN IDs to be configured. tagged − Specifies the additional ports as tagged. untagged − Specifies the additional ports as untagged. forbidden − Specifies the additional ports as forbidden. − A range of ports to add to the VLAN.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual tagged_only pvid 2 Success. DES-1228/ME:4# 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show vlan − Specifies a range of multiple VLAN IDs to be displayed. Parameters − Specifies the ports to be displayed. − The VLAN name of the VLAN for which to display a summary of settings. − Specifies a port or range of ports that will be displayed. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show gvrp 1-10 Command: show gvrp 1-10 Port ---1 2 3 4 5 6 7 8 9 10 PVID -------1 1 1 1 1 1 1 1 1 1 Total Entries GVRP -------Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Ingress Checking Acceptable Frame Type --------------------------------------Enabled All Frames Enabled All Frames Enabled All Frames Enabled All Frames Enabled All Frames Enabled All Frames Enabled All Frames Enabl
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 17 LINK AGGREGATION COMMANDS The link aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config link_aggregation algorithm address-based load-sharing algorithm. mac_source − Indicates that the Switch should examine the MAC source address. Parameters mac_destination − Indicates that the Switch should examine the MAC destination address. mac_source_dest − Indicates that the Switch should examine the MAC source and destination addresses Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config lacp_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 port or range of ports to be configured. mode – Select the mode to determine if LACP ports will process LACP control frames.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show lacp_port Purpose Used to display current LACP port mode settings. Syntax show lacp_port {} Description This command will display the LACP mode settings as they are currently configured. Parameters − Specifies a port or range of ports to be configured. If no parameter is specified, the system will display the current LACP status for all ports. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 18 BASIC IP COMMANDS The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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-1228/ME:4#show ipif Command: show ipif IP Interface Settings Interface Name IP Address Subnet Mask VLAN Name Admin.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#enable autoconfig Command: enable autoconfig Success. DES-1228/ME:4# NOTE: More detailed information for this command and related commands can be found in the section titled Switch Utility Commands.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 19 IGMP SNOOPING COMMANDS The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config igmp_snooping Note: The leave timer does not need to be configured as its action has no effect on the IGMP snooping settings. state [enable | disable] − Allows users to enable or disable IGMP snooping for the specified VLAN. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config igmp_snooping querier proxy function but not provide the multicast routing function, then this state must be configured as disabled. Otherwise, if the Layer 3 router is not selected as the querier, it will not send the IGMP query packet. Since it will not also send the multicast-routing protocol packet, the port will be timed out as a router port. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To set up forbidden router ports: DES-1228/ME:4# config router_ports_forbidden default add 2-10 Command: config router_ports_forbidden default add 2-10 Success. DES-1228/ME:4# enable igmp_snooping Purpose Used to enable IGMP snooping on the Switch. Syntax enable igmp_snooping {forward_mcrouter_only} Description This command allows users to enable IGMP snooping on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual disable igmp_snooping Purpose Used to enable IGMP snooping on the Switch. Syntax disable igmp_snooping {forward_mcrouter_only} 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.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State Multicast Router Only Data Driven Learning Max Entries : Disabled : Disabled : 56 VLAN Name Query Interval Max Response Time Robustness Value Last Member Query Interval Host Timeout Route Timeout Leave Timer Querier State Querier Router Behavior State Multicast Fast Leave Data Driven Learning Aged Out : : : : : : : : : : : : : default 125 10 2 1 260 260 2
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show router_ports Command: show router_ports VLAN Name Static router port Dynamic router port : default : 1-2,10 : Total Entries: 1 DES-1228/ME:4# show igmp_snooping forwarding Purpose Used to display the current IGMP snooping forwarding state. Syntax show igmp_snooping forwarding {vlan } Description Used to display the current IGMP snooping forwarding state.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show igmp_snooping group Command: show igmp_snooping group VLAN Name : Multicast Group: MAC Address : Member Ports : Router Ports : VLAN Name : Multicast Group: MAC Address : Member Ports : Router Ports : default 224.0.0.22 01-00-5E-00-00-16 1,13-20 default 239.255.255.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config igmp_snooping data_driven_learning vlan_name default aged_out enable Command: config igmp_snooping data_driven_learning vlan_name default aged_out enable Success. DES-1228/ME:4# config igmp_snooping data_driven_learning max_learned_entry Purpose Used to configure the IGMP snooping data driven learning max learned entry.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 143
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 20 DHCP RELAY The DHCP relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To add an IP destination to the DHCP relay table: DES-1228/ME:4#config dhcp_relay add ipif System 10.58.44.6 Command: config dhcp_relay add ipif System 10.58.44.6 Success. DES-1228/ME:4# config dhcp_relay delete ipif Purpose Used to delete one or all IP destination addresses from the Switch's DHCP/BOOTP relay table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To configure DHCP relay option 82 state: DES-1228/ME:4#config dhcp_relay option_82 state enable Command: config dhcp_relay option_82 state enable Success. DES-1228/ME:4# config dhcp_relay option_82 check Purpose Used to configure the checking mechanism of DHCP relay agent information option 82 of the switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config dhcp_relay option_82 policy Purpose Used to configure the reforwarding policy of relay agent information option 82 of the switch. Syntax config dhcp_relay option_82 policy [replace | drop | keep] Description This command is used to configure the reforwarding policy of DHCP relay agent information option 82 of the switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config dhcp_relay option_82 remote id Purpose Used to configure the processing of DHCP 82 remote id option for the DHCP. Syntax config dhcp_relay option_82 remote_id [default | user_define ] Description Configures the processing of DHCP 82 option for the DHCP relay function. When DHCP 82 option is enabled, the DHCP packet received from the client will be inserted with option 82 field before being relayed to the server.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show dhcp_relay Purpose Used to display the current DHCP/BOOTP relay configuration. Syntax show dhcp_relay {ipif [System]} Description This command will display the current DHCP relay configuration for the Switch. Parameters ipif System − The name of the IP interface for which to display the current DHCP relay configuration. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#enable dhcp_relay Command: enable dhcp_relay Success. DES-1228/ME:4# disable dhcp_relay Purpose Used to disable the DHCP/BOOTP relay function on the Switch. Syntax disable dhcp_relay Description This command is used to disable the DHCP/BOOTP relay function on the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 21 802.1X COMMANDS The DES-1228/ME implements IEEE 802.1X Port-based and Host-based 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters show 802.1x user Each command is listed, in detail, in the following sections 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 Network Access control application on the Switch. To select between port-based or Host-based, use the config 802.1x auth_mode command. Parameters None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show 802.1x auth_configuration Purpose Used to display the current configuration of the 802.1X server on the Switch. Syntax show 802.1x auth_configuration {ports } Description The show 802.1x auth_configuration command is used to display the 802.1X Portbased or Host-based Network Access control local users currently configured on the Switch. Parameters ports − Specifies a port or range of ports to view.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Port number Capability AdminCrlDir OpenCrlDir Port Control QuietPeriod TxPeriod SuppTimeout ServerTimeout MaxReq ReAuthPeriod ReAuthenticate : : : : : : : : : : : : 1 None Both Both Auto 60 sec 30 sec 30 sec 30 sec 2 times 3600 sec Disabled CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show 802.1x auth_state Purpose Used to display the current authentication state of the 802.1X server on the Switch. Syntax show 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth Success Success Success Success Success Success Success Success Success Success Success Success Success Success Success Success Success CTRL+C ESC q Quit SPACE n Next Page Enter Next Entry a All Example usage: To display the 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config 802.1x auth_mode Purpose Used to configure the 802.1X authentication mode on the Switch. Syntax config 802.1x auth_mode {port_based | mac_based] Description The config 802.1x auth_mode command is used to enable either the port-based or Hostbased 802.1X authentication feature on the Switch. Parameters [port_based | mac_based] − The Switch allows users to authenticate 802.1X by either port or MAC address.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config 802.1x auth_parameter in the specified range to their default 802.1X settings. Parameters − Specifies a port or range of ports to be configured. all − Specifies all of the ports on the Switch. default − Returns all of the ports in the specified range to their 802.1X default settings.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To configure 802.1X authentication parameters for ports 1 – 20: DES-1228/ME:4#config 802.1x auth_parameter ports 1–20 direction both Command: config 802.1x auth_parameter ports 1–20 direction both Success. DES-1228/ME:4# config 802.1x auth_protocol Purpose Used to configure the 802.1X authentication protocol on the Switch. Syntax config 802.1x auth_protocol [local | radius_eap] Description The config 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success. DES-1228/ME:4# config 802.1x reauth Purpose Used to configure the 802.1X re-authentication feature of the Switch. Syntax config 802.1x reauth {port_based ports [ | all] | mac_based | ports [ | all] {mac_address }] Description The config 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config radius add auth_port − The UDP port number for authentication requests. The default is 1812. acct_port − The UDP port number for accounting requests. The default is 1813. Restrictions Only Administrator-level users can issue this command. Example usage: To configure the RADIUS server communication settings: DES-1228/ME:4#config radius add 1 10.48.74.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config radius requests. The default is 1812. acct_port − The UDP port number for accounting requests. The default is 1813. Restrictions Only Administrator-level users can issue this command. Example usage: To configure the RADIUS settings: DES-1228/ME:4#config radius 1 10.48.74.121 key dlink default Command: config radius 1 10.48.74.121 key dlink default Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Timeout Retransmit : 5 seconds : 2 Index IP Address ----1 2 3 -----------------10.1.1.1 20.1.1.1 30.1.1.1 Auth-Port Number --------1812 1800 1812 Acct-Port Number --------1813 1813 1813 Status Key -------------Active Active Active --------------switch des3226 dlink Total Entries : 3 DES-1228/ME:4# create 802.1x guest_vlan Purpose Used to configure a pre-existing VLAN as a 802.1X Guest VLAN. Syntax create 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config 802.1x guest_vlan ports the specific port state changes from an enabled state to a disabled state, these ports will return to the default VLAN. Example usage: To configure the ports for a previously created 802.1X Guest VLAN as enabled. DES-1228/ME:4#config 802.1x guest_vlan ports 1-5 state enable Command: config 802.1x guest_vlan ports 1-5 state enable Success. DES-1228/ME:4# show 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To delete a previously created 802.1X Guest VLAN. DES-1228/ME:4#delete 802.1x guest_vlan Trinity Command: delete 802.1x guest_vlan Trinity Success. DES-1228/ME:4# show acct_client Purpose Used to display the current RADIUS accounting client. Syntax show acct_client Description The show acct_client command is used to display the current RADIUS accounting client currently configured on the Switch. Parameters None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show auth_client Description The show auth_client command is used to display the current RADIUS authentication client currently configured on the Switch. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show auth_diagnostics ports 1 Command: show auth_diagnostics ports 1 Port number : 1 EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses BackendAccessChallenges
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show auth_session_statistics ports 1 Command: show auth_session_statistics ports 1 Port number : 1 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod SessionTime SessionTerminateCause SessionUserName 0 0 0 0 Remote Authentication Server 0 SupplicantLogoff Trinity CTRL+C ESC q Quit SPACE n Next Page Enter Next Entry a All show auth_statistics Purpose Used to display the current authe
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create 802.1x user Purpose Used to create a new 802.1X user. Syntax create 802.1x user Description The create 802.1x user command is used to create new 802.1X users. Parameters − A username of up to 15 alphanumeric characters in length. Restrictions Only Administrator-level users can issue this command. Example usage: To create an 802.1X user: DES-1228/ME:4#create 802.1x user dtremblett Command: create 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual delete 802.1x user Restrictions Only Administrator-level users can issue this command. Example usage: To delete 802.1X users: DES-1228/ME:4#delete 802.1x user dtremblett Command: delete 802.1x user dtremblett Are you sure to delete the user?(y/n) Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 22 ACCESS CONTROL LIST (ACL) COMMANDS The DES-1228/ME implements Access Control Lists that enable the Switch to deny network access to specific devices or device groups based on IP settings and MAC address. The access profile commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create access_profile ip source_ip_mask 255.255.255.0 profile_id 1 profile_name 1 Here we have created an access profile that will examine the IP field of each frame received by the Switch. Each source IP address the Switch finds will be combined with the source_ip_mask with a logical AND operation.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create access_profile ip − Specifies that the Switch will examine the IP address in each frame’s header. vlan − Specifies a VLAN mask. source_ip_mask − Specifies an IP address mask for the source IP address. destination_ip_mask − Specifies an IP address mask for the destination IP address. dscp − Specifies that the Switch will examine the DiffServ Code Point (DSCP) field in each frame’s header.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual delete access_profile Purpose Used to delete a previously created access profile. Syntax delete access_profile [profile_id | all ] Description The delete access_profile command is used to delete a previously created access profile on the Switch. Parameters profile_id − Enter an integer between 1 and 256 that is used to identify the access profile that will be deleted with this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config access_profile auto_assign – Choose this parameter to configure the Switch to automatically assign a numerical value (between 1 and 65535) for the rule being configured. 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config access_profile priority − This parameter is specified if you want to re-write the 802.1p default priority previously set in the Switch, which is used to determine the CoS queue to which packets are forwarded to. Once this field is specified, packets accepted by the Switch that match this priority are forwarded to the CoS queue specified previously by the user.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display all of the currently configured access profiles on the Switch: DES-1228/ME:4#show access_profile Command: show access_profile Access Profile Table ================================================================================ Profile ID: 101 Type: IPv4 Frame Filter - ICMP ================================================================================ Masks Option VLAN Source IP Dest.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create cpu access_profile source_ip_mask − Specifies an IP address mask for the source IP address. destination_ip_mask − Specifies an IP address mask for the destination IP address. dscp − Specifies that the Switch will examine the DiffServ Code Point (DSCP) field in each frame’s header. icmp − Specifies that the Switch will examine the Internet Control Message Protocol (ICMP) field in each frame’s header.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual delete cpu access_profile Purpose Used to delete a previously created CPU access profile. Syntax delete cpu access_profile profile_id Description The delete cpu access_profile command is used to delete a previously created CPU access profile. Parameters profile_id − Enter an integer between 1 and 3 that is used to identify the CPU access profile to be deleted with this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config cpu access_profile MAC address. destination_mac − Specifies that the access profile will apply to this destination MAC address. ethernet_type − Specifies that the access profile will apply only to packets with this hexadecimal 802.1Q Ethernet type value in the packet header. ip − Specifies that the Switch will look into the IP fields in each packet.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config cpu access_profile profile_id source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 Command: config cpu access_profile profile_id 3 source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 3 add access_id 1 ip vlan default icmp type 11 code 32 port all deny add access_id 1 ip vlan default icmp type 11 code 32 port all deny Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show cpu access_profile profile_id 2 Command: show cpu access_profile profile_id 2 CPU Interface Filtering state: Disabled Access Profile Table ============================================= Total Profile Entries: 0 Total Rule Entries: 0 DES-1228/ME:4# enable cpu_interface_filtering Purpose Used to enable CPU interface filtering on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 23 SAFEGUARD ENGINE COMMANDS Periodically, malicious hosts on the network will attack the Switch by utilizing packet flooding (ARP Storm) or other methods. These attacks may increase the CPU utilization beyond its capability. To alleviate this problem, the Safeguard Engine function was added to the Switch’s software.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To configure the safeguard engine for the Switch: DES-1228/ME:4#config safeguard_engine state enable utilization rising 45 Command: config safeguard_engine state enable utilization rising 45 Success. DES-1228/ME:4# show safeguard_engine Purpose Used to display current Safeguard Engine settings. Syntax show safeguard_engine Description This will list the current status and type of the Safeguard Engine settings currently configured.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 24 TRAFFIC SEGMENTATION COMMANDS Traffic segmentation allows users 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-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show traffic_segmentation Command: show traffic_segmentation Traffic Segmentation Table Port Forward Portlist ------------------------------1 1-28 2 1-28 3 1-28 4 1-28 5 1-28 6 1-28 7 1-28 8 1-28 9 1-28 10 1-28 11 1-28 12 1-28 13 1-28 14 1-28 15 1-28 16 1-28 17 1-28 18 1-28 CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All 185
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 25 TIME AND SNTP COMMANDS The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NTP)) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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 None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual disable sntp Purpose To disable 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 usage: To disable SNTP support: DES-1228/ME:4#disable sntp Command: disable sntp Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config time_zone hour – Select the number of hours different from GMT. min – Select the number of minutes difference added or subtracted to adjust the time zone. Restrictions Only Administrator-level users can issue this command. Example usage: To configure time zone settings: DES-1228/ME:4#config time_zone operator + hour 2 min 30 Command: config time_zone operator + hour 2 min 30 Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config dst Purpose Used to enable and configure time adjustments to allow for the use of Daylight Savings Time (DST).
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config dst e_time − Configure the time of day to end DST. • − Time is expressed using a 24-hour clock, in hours and minutes. s_date − Configure the specific date (day of the month) to begin DST. • − The start date is expressed numerically. e_date − Configure the specific date (day of the month) to begin DST. • − The end date is expressed numerically.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 26 ARP COMMANDS The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To configure a static ARP entry for the IP address 10.48.74.12 and MAC address 00:50:BA:00:07:36: DES-1228/ME:4#config arpentry 10.48.74.12 00-50-BA-00-07-36 Command: config arpentry 10.48.74.12 00-50-BA-00-07-36 Success. DES-1228/ME:4# delete arpentry Purpose Used to delete a static entry into the ARP table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show arpentry Purpose Used to display the ARP table. Syntax show arpentry {ipif [System] | ipaddress | static} Description This command is used to display the current contents of the Switch’s ARP table. Parameters ipif [System] − The name of the IP interface, the end node or station for which the ARP table entry was made, resides on. ipaddress − The network address corresponding to the IP interface name above.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To remove dynamic entries in the ARP table: DES-1228/ME:4#clear arptable Command: clear arptable Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 27 ROUTING TABLE COMMANDS The routing table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create iproute [default] {} delete iproute [default] show iproute { | static} Each command is listed, in detail, in the following sections.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#delete iproute default 10.53.13.254 Command: delete iproute default 10.53.13.254 Success. DES-1228/ME:4# show iproute Purpose Used to display the Switch’s current IP routing table. Syntax show iproute { | static} Description This command will display the Switch’s current IP routing table. Parameters − The network IP address. static – Select a static IP route. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 28 MAC NOTIFICATION COMMANDS The MAC notification commands in the Command Line Interface (CLI) are listed, in the following table, along with their appropriate parameters.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config mac_notification Purpose Used to configure MAC address notification. Syntax config mac_notification {interval |historysize }(1) Description MAC address notification is used to monitor MAC addresses learned and entered into the FDB. Parameters interval − The time in seconds between notifications. The user may choose an interval between 1 and 2,147,483,647 seconds.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show mac_notification Purpose Used to display the Switch’s MAC address table notification global settings. Syntax show mac_notification Description This command is used to display the Switch’s MAC address table notification global settings. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 10 Disabled 11 Disabled 12 Disabled 13 Disabled 14 Disabled 15 Disabled 16 Disabled 17 Disabled 18 Disabled 19 Disabled 20 Disabled CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh 201
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 29 ACCESS AUTHENTICATION CONTROL COMMANDS The TACACS / XTACACS / TACACS+ / RADIUS commands allows secure access to the Switch using the TACACS / XTACACS / TACACS+ / RADIUS protocols. When a user logs in to the Switch or tries to access the administrator level privilege, he or she is prompted for a password.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual The Access Authentication Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual enable authen_policy Purpose Used to enable system access authentication policy. Syntax enable authen_policy Description This command will enable an administrator-defined authentication policy for users trying to access the Switch. When enabled, the device will check the method list and choose a technique for user authentication upon login. Parameters None. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To display the system access authentication policy: DES-1228/ME:4#show authen_policy Command: show authen_policy Authentication Policy: Enabled DES-1228/ME:4# create authen_login method_list_name Purpose Used to create a user defined method list of authentication methods for users logging on to the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config authen_login user may choose one or a combination of up to four(4) of the following authentication methods: tacacs – Adding this parameter will require the user to be authenticated using the TACACS protocol from the remote TACACS server hosts of the TACACS server group list.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To configure the default method list with authentication methods XTACACS, TACACS+ and local, in that order: DES-1228/ME:4#config authen_login default method xtacacs tacacs+ local Command: config authen_login default method xtacacs tacacs+ local Success. DES-1228/ME:4# delete authen_login method_list_name Purpose Used to delete a previously configured user defined method list of authentication methods for users logging on to the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show authen_login user account on the Switch) and none (no authentication necessary to access any function on the Switch). Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config authen_enable level privileges on the Switch, he or she must be authenticated by a method on the Switch to gain administrator privileges on the Switch, which is defined by the Administrator. A maximum of eight (8) enable method lists can be implemented simultaneously on the Switch. The sequence of methods implemented in this command will affect the authentication result.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To configure the user defined method list “Permit” with authentication methods TACACS, XTACACS and local, in that order. DES-1228/ME:4#config authen_enable method_list_name Trinity method tacacs xtacacs local Command: config authen_enable method_list_name Trinity method tacacs xtacacs local Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show authen_enable all – Entering this parameter will display all the authentication login methods currently configured on the Switch. The window will display the following parameters: Method List Name – The name of a previously configured method list name. Priority – Defines which order the method list protocols will be queried for authentication when a user attempts to log on to the Switch. Priority ranges from 1(highest) to 4 (lowest).
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config authen application ssh – Choose this parameter to configure the Secure Shell login method. http – Choose this parameter to configure the web interface login method. all – Choose this parameter to configure all applications (console, telnet, ssh, web) login method. login – Use this parameter to configure an application for normal login on the user level, using a previously configured method list.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create authen server_host Purpose Used to create an authentication server host. Syntax create authen server_host protocol [tacacs | xtacacs | tacacs+ | radius] {port | key [ | none] | timeout | retransmit < 1-255>} Description This command will create an authentication server host for the TACACS/XTACACS/TACACS+/RADIUS security protocols on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config authen server_host attempts to access the Switch with the authentication protocol enabled, the Switch will send authentication packets to a remote TACACS/XTACACS/TACACS+/RADIUS server host on a remote host. The TACACS/XTACACS/TACACS+/RADIUS server host will then verify or deny the request and return the appropriate message to the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual delete authen server_host Restrictions tacacs+ − Enter this parameter if the server host utilizes the TACACS+ protocol. radius − Enter this parameter if the server host utilizes the RADIUS protocol. Only Administrator-level users can issue this command. Example usage: To delete a user-defined TACACS+ authentication server host: DES-1228/ME:4#delete authen server_host 10.1.1.121 protocol tacacs+ Command: delete authen server_host 10.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create authen server_group Syntax create authen server_group Description This command will create an authentication server group. A server group is a technique used to group TACACS/XTACACS/TACACS+/RADIUS server hosts into user defined categories for authentication using method lists. The user may add up to eight (8) authentication server hosts to this group using the config authen server_group command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config authen server_group Purpose Used to configure a user-defined authentication server group. Syntax config authen server_group [tacacs | xtacacs | tacacs+ | radius | ] [add | delete] server_host protocol [tacacs | xtacacs | tacacs+ | radius] Description This command will configure an authentication server group.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual delete authen server_group Purpose Used to delete a user-defined authentication server group. Syntax delete authen server_group Description This command will delete an authentication server group. Parameters − Enter an alphanumeric string of up to 15 characters to define the previously created server group to be deleted. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config authen parameter response_timeout Purpose Used to configure the amount of time the Switch will wait for a user to enter authentication before timing out. Syntax config authen parameter response_timeout Description This command will set the time the Switch will wait for a response of authentication from the user.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show authen parameter Description This command will display the authentication parameters currently configured on the Switch, including the response timeout and user authentication attempts. This command will display the following fields: Response timeout – The configured time allotted for the Switch to wait for a response of authentication from the user attempting to log in from the command line interface or telnet interface.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config admin local_enable command. When a user chooses the “local_enable” method to promote user level privileges to administrator privileges, he or she will be prompted to enter the password configured here that is set locally on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 30 SSH COMMANDS The steps required to use the Secure Shell (SSH) protocol for secure communication between a remote PC (the SSH Client) and the Switch (the SSH Server), are as follows: Create a user account with admin-level access using the create account admin command. This is identical to creating any other admin-lever user account on the Switch, including specifying a password.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual enable ssh Purpose Used to enable SSH. Syntax enable ssh Description This command allows users to enable SSH on the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command. Usage example: To enable SSH: DES-1228/ME:4#enable ssh Command: enable ssh Success. DES-1228/ME:4# disable ssh Purpose Used to disable SSH.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config ssh authmode Parameters password – This parameter may be chosen if the administrator wishes to use a locally configured password for authentication on the Switch. publickey − This parameter may be chosen if the administrator wishes to use a publickey configuration set on a SSH server, for authentication. hostbased − This parameter may be chosen if the administrator wishes to use a host computer for authentication.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config ssh server Parameters maxsession − Allows the user to set the number of users that may simultaneously access the Switch. The default setting is 8. contimeout − Allows the user to set the connection timeout. The user may set a time between 120 and 600 seconds. The default is 120 seconds.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config ssh user Parameters − Enter a username of no more than 15 characters to identify the SSH user. authmode – Specifies the authentication mode of the SSH user wishing to log on to the Switch. The administrator may choose between: hostbased – This parameter should be chosen if the user wishes to use a remote SSH server for authentication purposes.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config ssh algorithm Purpose Used to configure the SSH algorithm. Syntax config ssh algorithm [3DES | AES128 | AES192 | AES256 | arcfour | blowfish | cast128 | twofish128 | twofish192 | twofish256 | MD5 | SHA1 | RSA | DSA] [enable | disable] Description This command allows users to configure the desired type of SSH algorithm used for authentication encryption.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show ssh algorithm Purpose Used to display the SSH algorithm setting. Syntax show ssh algorithm Description This command will display the current SSH algorithm setting status. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 31 SMTP COMMANDS SMTP or Simple Mail Transfer Protocol is a function of the Switch that will send switch events to mail recipients based on e-mail addresses entered using the commands below. The Switch is to be configured as a client of SMTP while the server is a remote device that will receive messages from the Switch, place the appropriate information into an e-mail and deliver it to recipients configured on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters enable smtp disable smtp config smtp {server | server_port |self_mail_addr |[add mail_receiver | delete mail_receiver ]}(1) show smtp smtp send_testmsg Each command is listed, in detail, in the following sections. enable smtp Purpose Used to enable the Switch as a SMTP client.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config smtp Syntax config smtp {server | server_port |self_mail_addr |[add mail_receiver | delete mail_receiver ]}(1) Description This command will allow the user to set the necessary parameters to configure the SMTP server and mail recipients. This command must be completely configured properly for the SMTP function of the switch to correctly operate.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show smtp Command: show smtp smtp smtp smtp self status: Enabled server address : 166.99.66.33 server port : 25 mail address: smtp@1228.dev Index -------1 2 3 4 5 6 7 8 Mail Receiver Address --------------------------------darren_tremblett@nhl.com dave@yeehaw.com administrator@dlink.com fattony@themob.com DES-1228/ME:4# smtp send_testmsg Purpose Used to send a test message to mail recipients configured on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 32 CABLE DIAGNOSTICS COMMANDS The Cable Diagnostics commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters cable_diag ports [| all] Each command is listed, in detail, in the following sections. cable_diag ports Purpose Used to test the copper cable.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 33 DHCP LOCAL RELAY COMMANDS The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dhcp_local _relay vlan[ | vlanid ] state [enable | disable] enable dhcp_local _relay disable dhcp _local_relay show dhcp _local_relay Each command is listed, in detail, in the following sections.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To enable DHCP local relay function: DES-1228/ME:4#enable dhcp_local_relay Command: enable dhcp_local_relay Success. DES-1228/ME:4# disable dhcp_local_relay Purpose Used to disable the DHCP local relay function on the switch. Syntax disable dhcp_local_relay Description The disable dhcp_local_relay command globally disables the DHCP local relay function on the switch. Parameters None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 34 GRATUITOUS ARP COMMANDS The Gratuitous ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config gratuitous_arp send duplicate_ip_detected was sent by an IP address that matched the system’s own IP address. In this case, the system knows that somebody out there uses an IP address that is conflicting with the system. In order to reclaim the correct host of this IP address, the system can send out the gratuitous ARP request packet for this duplicate IP address.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config gratuitous_arp periodical_send − Periodically send gratuitous ARP interval time in seconds. 0- means it will not send gratuitous ARP periodically. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To disable the System’s interface gratuitous ARP log and trap: DES-1228/ME:4#disable gratuitous_arp System trap log Command: disable gratuitous_arp System trap log Success. DES-1228/ME:4# show gratuitous_arp Purpose Used to display gratuitous ARP configuration. Syntax show gratuitous_arp {ipif } Description The show gratuitous_arp command is used to display gratuitous ARP configurations.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 35 VLAN TRUNKING COMMANDS The VLAN Trunking commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable vlan_trunk disable vlan_trunk config vlan_trunk ports [|all] state [enable|disable] show vlan_trunk Each command is listed, in detail, in the following sections. enable vlan_trunk Purpose Used to enable the VLAN trunk function.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config vlan_trunk Purpose Used to configure a port as a VLAN trunk port. Syntax config vlan_trunk ports [|all] | state [enable|disable] Description This command is used to configure a port as a VLAN trunk port. By default, none of the ports on the Switch are VLAN trunk ports. A VLAN trunk port and a non-VLAN trunk port cannot be grouped as an aggregated link.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To configure a VLAN Trunk port if Port 6 is LA-1 member port; port 7 is LA-2 master port. DES-1228/ME:4# config vlan_trunk ports 6-7 state enable Command: config vlan_trunk ports 6-7 state enable Can not operate the member ports of any trunk. DES-1228/ME:4# config vlan_trunk ports 7 state disable Command: config vlan_trunk ports 7 state disable Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To display VLAN Trunk information: DES-1228/ME:4#show vlan_trunk Command: show vlan_trunk VLAN Trunk VLAN Trunk Port :Enable :1-5,7 DES-1228/ME:4# 243
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 36 ASYMMETRIC VLAN COMMANDS The asymmetric VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan Each command is listed, in detail, in the following sections. enable asymmetric_vlan Purpose Used to enable the asymmetric VLAN function on the Switch.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show asymmetric_vlan Purpose Used to view the asymmetric VLAN state on the Switch. Syntax show asymmetric_vlan Description This command displays the asymmetric VLAN state on the Switch Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 37 IGMP SNOOPING MULTICAST VLAN COMMANDS The IGMP Snooping Multicast VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage: To create IGMP snoop multicast VLAN mv12: DES-1228/ME:4# create igmp_snoop multicast_vlan mv1 2 Command: create igmp_snoop multicast_vlan mv1 2 Success. DES-1228/ME:4# config igmp_snooping multicast_vlan Purpose Used to configure the parameter of the specific multicast VLAN.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config igmp_snooping multicast_vlan_group Syntax [ add | delete [ | all]] Description Used to configure the multicast group which will be learned with the specific multicast VLAN. There are two cases need to be considered. The join packet will be learned with the multicast VLAN that contain the destination multicast group.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual delete igmp_snooping multicast_vlan Purpose Used to delete a multicast VLAN. Syntax delete igmp_snooping multicast_vlan Description The delete igmp_snooping multicast_vlan command allows you to delete multicat_vlan. Parameters − The name of the multicast VLAN to be deleted. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual disable igmp_snooping multicast_vlan Purpose Used to disable the multicast VLAN function. Syntax disable igmp_snooping multicast_vlan Description This command controls the multicast VLAN function. The ISM VLAN will take effect when igmp snooping multicast vlan is enabled. By default, the multicast VLAN is in a disabled state. Parameters None. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 38 LLDP COMMANDS The LLDP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual enable lldp and process the LLDP packets. The specific function of each port will depend on the per port LLDP setting. For the advertisement of LLDP packets, the switch announces the information to its neighbor through ports. For the receiving of LLDP packets, the switch will learn the information from the LLDP packets advertised from the neighbor in the neighbor table. The default state for LLDP is disabled. Parameters None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To change the packet transmission interval: DES-1228/ME:4# config lldp message_tx_interval 30 Command: config lldp message_tx_interval 30 Success. DES-1228/ME:4# config lldp message_tx_hold_multiplier Purpose This command is used to configure the message hold multiplier.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To configure the delay-interval interval: DES-1228/ME:4# config lldp tx_delay 8 Command: config lldp tx_delay 8 Success. DES-1228/ME:4# config lldp reinit_delay Purpose Change the minimum time of reinitialization delay interval.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config lldp ports notification Syntax config lldp ports [|all] notification [enable | disable] Description Enable or disable each port for sending change notifications to configured SNMP trap receiver(s) if an LLDP data change is detected in an advertisement received on the port from an LLDP neighbor. The definition of change includes new available information, information timeout and information update.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To configure the port’s transmit and receive mode: DES-1228/ME:4# config lldp ports 1-5 admin_status tx_and_rx Command: config lldp ports 1-5 admin_status tx_and_rx Success. DES-1228/ME:4# config mgt_addr Purpose Used to enable or disable the port(s) which have been specified for advertising the indicated management address instances.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config lldp basic_tlvs 'System Name TLV'. The default state is disabled. system_description − This TLV optional data type indicates that the LLDP agent should transmit 'System Description TLV'. The default state is disabled. system_capabilities − This TLV optional data type indicates that the LLDP agent should transmit 'System Capabilities TLV'.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config lldp dot1_tlv_vlan_name Parameters − Specified a range of ports to be configured. all − To set all ports in the system, you may use the “all” parameter. dot1_tlv_vlan_name − This TLV optional data type indicates whether the corresponding Local System’s VLAN name instance will be transmitted on the port. If a port is associated with multiple VLANs those enabled VLAN IDs will be advertised. The default state is disable.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To configure the protocol identity TLV from the outbound LLDP advertisements for all ports: DES-1228/ME:4# config lldp ports all dot1_tlv_protocol_identity all enable Command: config lldp ports all dot1_tlv_protocol_identity all enable Success. DES-1228/ME:4# config lldp dot3_tlvs Purpose Used to configure an individual port or group of ports to exclude one or more of IEEE 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To configure the LLDP forward_lldpdu: DES-1228/ME:4# config lldp forward_ message enable Command: config lldp forward_ message enable Success. DES-1228/ME:4# show lldp Purpose This command displays the switch’s general LLDP configuration status. Syntax show lldp Description This command displays the switch’s general LLDP configuration status. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display the management address information: DES-1228/ME:4#show lldp mgt_addr ipv4 192.168.69.123 Command: show lldp mgt_addr ipv4 192.168.69.123 Address 1 : -----------------------------------------------Subtype : IPv4 Address : 192.168.69.123 IF Type : Unknown OID : 1.3.6.1.4.1.171.11.116.1 Advertising Ports : DES-1228/ME:4# show lldp ports Purpose Display the LLDP per port configuration for advertisement options.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display the LLDP per port TLV option configuration: DES-1228/ME:4# show lldp ports 1 Command: show lldp ports 1 Port ID : 1 ---------------------------------------------------------------------Admin Status : TX_and_RX Notification Status : Disable Advertised TLVs Option : Port Description Disable System Name Disable System Description Disable System Capabilities Disable Enabled Management Address (NONE.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display outbound LLDP advertisements for individual ports in detail: DES-1228/ME:4# show lldp local_ports 1 mode detailed Command: show lldp local_ports 1 mode detailed Port ID : 1 ------------------------------------------------------------------------Port Id Subtype : Local Port Id : 1/1 Port Description : D-Link DES-1228/ME R1.00 Port 1 Port PVID : 1 Management Address Count : 1 Subtype : IPv4 Address : 192.168.69.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show lldp local_ports 1 mode normal Command: show lldp local_ports 1 mode normal Port ID : 1 ------------------------------------------------------------------------Port Id Subtype : Local Port Id : 1/1 Port Description : D-Link DES-1228/ME R1.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display remote table entries in brief mode: DES-1228/ME:4# show lldp remote_ports 1-2 mode brief Command: show lldp remote_ports 1-2 mode brief Port ID: 1 ----------------------------------------------------------Remote Entities Count : 2 Entity 1 Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-01 Port ID Subtype : Local Port ID : 1/3 Port Description : D-Link DES-1228/ME R1.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4# show lldp remote_ports ports 1 mode normal Command: show lldp remote_ports ports 1 mode normal Port ID : 1 ----------------------------------------------------------Remote Entities Count : 1 Entity 1 Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-01 Port ID Subtype : Local Port ID : 1/3 Port Description : D-Link DES-1228/ME R1.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4# show lldp remote_ports 1 mode detailed Command: show lldp remote_ports 1 mode detailed Port ID : 1 ---------------------------------------------------------------------Remote Entities count : 1 Entity 1 Chassis Id Subtype : MACADDRESS Chassis Id : 00-00-00-48-46-29 Port Id Subtype : LOCAL Port ID : 1/16 Port Description : D-Link DES-1228/ME R1.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Aggregation status Aggregation port ID Maximum Frame Size Unknown TLVs count (None.) : not currently in aggregation : 0 : 1536 : 0 DES-1228/ME:4# show lldp statistics Purpose Used to display the system LLDP statistics information. Syntax show lldp statistics Description The global LLDP statistics displays an overview of neighbor detection activity on the switch. Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display statistics information of port 1: DES-1228/ME:4# show lldp statistics ports 1 Command: show lldp statistics ports 1 Port ID: 1 ----------------------------------------------------------lldpStatsTxPortFramesTotal : 27 lldpStatsRxPortFramesDiscardedTotal : 0 lldpStatsRxPortFramesErrors : 0 lldpStatsRxPortFramesTotal : 27 lldpStatsRxPortTLVsDiscardedTotal : 0 lldpStatsRxPortTLVsUnrecognizedTotal : 0 lldpStatsRxPortAgeoutsTo
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 39 PPPOE COMMANDS The PPPoE commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display PPPoE circuit ID insertion: DES-1228/ME:4#show pppoe circuit_id_insertion Command: show pppoe circuit_id_insertion Status: Enabled DES-1228/ME:4# show pppoe circuit_id_insertion ports Purpose Used to display PPPoE circuit ID insertion operations on the switch by ports. Syntax show pppoe circuit_id_insertion ports {} Description Used to display PPPoE circuit ID insertion operations on the switch by ports.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To configure PPPoE circuit ID insertion: DES-1228/ME:4#config pppoe circuit_id_insertion ports 1-24 state enable circuit_ id ip Command: config pppoe circuit_id_insertion ports 1-24 state enable circuit_id ip Success.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 40 IP-MAC-PORT BINDING COMMANDS The IP network layer uses a four-byte address. The Ethernet link layer uses a six-byte MAC address. Binding these two address types together allows the transmission of data between the layers. The primary purpose of IP-MAC-PORT binding is to restrict the access to a switch to a number of authorized users.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#create address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00-00-0000-04 Command: create address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00-00-00-00-04 Success. DES-1228/ME:4# config address_binding ip_mac ipaddress Purpose Used to configure an IP-MAC Binding entry.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config address_binding ip_mac ports 2 state enable Command: config address_binding ip_mac ports 2 state enable Success. DES-1228/ME:4# show address_binding Purpose Used to display IP-MAC Binding entries. Syntax show address_binding {[ip_mac [all | ipaddress mac_address ]|blocked [all | vlan_name mac_address ] |ports]} Description This command will display IP-MAC Binding entries.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show address_binding ip_mac all Command: show address_binding ip_mac all IP Address MAC Address --------------- ----------------10.1.1.1 00-00-00-00-00-22 Ports -------------------1-28 Total Entries: 1 DES-1228/ME:4# delete address_binding Purpose Used to delete IP-MAC Binding entries.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#delete address_binding ip_mac all Command: delete address_binding ip_mac all Success. DES-1228/ME:4# enable address_binding trap_log Purpose Used to enable the trap log for the IP-MAC binding function. Syntax enable address_binding trap_log Description This command, along with the disable address_binding trap_log will enable and disable the sending of trap log messages for IP-MAC binding.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 41 LAYER 3 CONTROL PACKET FILTERING The Layer 3 Control Packet Filtering commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config cpu_filter l3_control_pkt [{dvmrp|pim|igmp_query|ospf|rip|vrrp}(1) | all] state [enable|disable] show cpu_filter l3_control_pkt {} Each command is listed, in detail, in the following sections.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show cpu_filter l3_control_pkt 1-5 Command: show cpu_filter l3_control_pkt 1-5 Port ----1 2 3 4 5 RIP --------Enabled Disabled Disabled Disabled Disabled OSPF --------Disabled Enabled Disabled Disabled Disabled VRRP --------Disabled Disabled Enabled Disabled Disabled PIM --------Disabled Disabled Disabled Enabled Disabled DES-1228/ME:4# 279 DVMRP --------Disabled Disabled Disabled Disabled Enabled IGMP Query ----------Disab
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 42 LOOPBACK DETECTION COMMANDS The Loopback Detection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config loopdetect ports Purpose Used to configure loopback detection on the switch. Syntax config loopdetect ports [ | all] | state [enable | disable] Description Used to configure loopback detection on the switch. Parameters − Specifies a range of ports for the loopback detection state [enable | disable] – Allows the loopback detection to be disabled or enabled.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#disable loopdetect Command: disable loopdetect Success DES-1228/ME:4# show loopdetect Purpose Used to display the current loopback detection settings on the switch. Syntax show loopdetect Description Used to display the current loopback detection settings on the switch Parameters None. Restrictions None.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show loopdetect ports 1-3 Command: show loopdetect ports 1-3 Port -----1 2 3 Loopdetect State Loop Status ------------------ ---------Enabled Normal Enabled Normal Enabled Normal CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh 283
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 43 TECHNICAL SUPPORT COMMANDS The Technical Support commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show tech_support upload tech_support_to_TFTP Each command is listed, in detail, in the following sections. show tech_support Purpose Used to show the information for technical support.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display technical support information on the Switch: DES-1228/ME:4# show tech_support Command: show tech_support [Device Information 61450ms] Device Type : DES-1228/ME Metro Ethernet Switch MAC Address : 00-1B-11-B1-5A-FE IP Address : 192.168.69.123 (Manual) VLAN Name : default Subnet Mask : 255.255.255.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 1.00.B01 Firmware Version : Build 1.00.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4# upload tech_support_to_TFTP Purpose Used to upload the information of technical support. Syntax upload tech_support_to_TFTP Description The upload tech_support_to_TFTP command is used to upload the technical support information. Parameters – Specifies the ipaddress of TFTP server. – Specifies the file path to store the information of technique’s support in TFTP server.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 44 COMMAND HISTORY LIST The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters ? dir config command_history show command_history enable command logging disable command logging show command logging Each command is listed, in detail, in the following sections.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Example usage To display all of the commands in the CLI: DES-1228/ME:4#? .. ? cable_diag ports clear clear arptable clear counters clear fdb clear flood_fdb clear igmp_snooping data_driven_group clear log clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports config 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual dir Parameters None. Restrictions None. Example usage: To display all commands: DES-1228/ME:4#dir .. ? clear clear arptable clear counters clear fdb clear log clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports config 802.1x init config 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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. Example usage To display the command history: DES-1228/ME:4#show command_history Command: show command_history ? ? show show vlan show command history DES-1228/ME:4# enable command logging Purpose This command is used to enable command logging.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show command logging Command: show command logging Command Logging State : Enabled DES-1228/ME:4# disable command logging Purpose This command is used to disable command logging. Syntax disable command logging Description This command is used to disable command logging. Parameters None. Restrictions Only Administrator-level users can issue this command.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 45 DHCP SERVER SCREEN LIST The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual To configure filtering trap logs for the DHCP Server: DES-1228/ME:4#config filter dhcp_server trap_log enable Command: config filter dhcp_server trap_log enable Success. DES-1228/ME:4# config filter dhcp_server illegal_server_log_suppress_duration Purpose This command is used to configure the filtering illegal server log duration for the DHCP Server.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show filter dhcp_server Command: show filter dhcp_server Enabled ports: Filter DHCP Server Trap & Log State: Enabled Illegal_Server_Log_Suppress_Duration : 30 Minutes Filter DHCP Server/Client Table: Server IP Address Client MAC address Ports ----------------- ------------------ ---------------10.90.90.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 46 ARP SPOOFING ATTACK PREVENTION LIST The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 10.90.90.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Appendix A TECHNICAL SPECIFICATIONS General Protocols Fiber-Optic IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet IEEE 802.3z 1000BASE-T (SFP “Mini GBIC”) IEEE 802.1D/s/w Spanning Tree IEEE 802.1Q VLAN IEEE 802.1p Priority Queues IEEE 802.1X Port Based Network Access Control IEEE 802.3ad Link Aggregation Control IEEE 802.3x Full-duplex Flow Control IEEE 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Power Consumption 18.8W DC Fans None Operating Temperature 0 - 40°C Storage Temperature -40 - 70°C Humidity 5 - 95% non-condensing Dimensions 441(W) x 207(D) x 44(H) mm Weight 2.36kg (5.20lbs) Performance Transmission Method Store-and-forward Packet Buffer 512 KB per device Packet Filtering/ 14,881 pps (10M port) Forwarding Rate 148.810 pps (100M port) 1,488,100 pps (1Gbps port) MAC Address Learning Automatic update.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ports When there is reception or transmission (i.e. Activity--Act) of data Blinking Green occurring at a 1000Mbps connected port. Solid Amber When there is a secure 10/100Mbps Fast Ethernet connection (or link) at any of the ports. When there is reception or transmission (i.e. Activity—Act) of data Blinking Amber occurring at a Fast Ethernet connected port.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 24 x 10/100BaseT ports Compliant to following standards, IEEE 802.3 compliance IEEE 802.3u compliance Support Half/Full-Duplex operations All ports support Auto MDI-X/MDI-II cross over IEEE 802.3x Flow Control support for Full-Duplex mode, Back Pressure when Half-Duplex mode, and Head-of-line blocking prevention. combo 1000BASE-T/SFP ports 1000BASE-T ports compliant to following standards: IEEE 802.3 compliance IEEE 802.3u compliance IEEE 802.
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Pin Assignment for Data: (alternative A MDI-X) PIN# Signal 1 Receive+ 2 Receive- 3 Transmit+ 4 5 6 Transmit- 7 8 301