D-Link DES-1228 Reference Manual

D-Link DES-1228 Reference Manual

Managed 10/100mbps metro ethernet switch
Hide thumbs Also See for DES-1228:

Advertisement

CLI Reference Manual
DES-1228/ME
Product Model :
Managed 10/100Mbps Metro Ethernet Switch
Release 1

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DES-1228

  • Page 1 CLI Reference Manual DES-1228/ME Product Model : Managed 10/100Mbps Metro Ethernet Switch Release 1...
  • Page 2 © 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.
  • Page 3: Table Of Contents

    Table of Contents INTRODUCTION ................................1 USING THE CONSOLE CLI ............................3 COMMAND SYNTAX ..............................7 BASIC SWITCH COMMANDS ............................. 9 MODIFY BANNER AND PROMPT COMMANDS ..................... 21 SWITCH PORT COMMANDS ............................ 24 PORT SECURITY COMMANDS ..........................28 NETWORK MANAGEMENT (SNMP) COMMANDS ....................32 SWITCH UTILITY COMMANDS ..........................
  • Page 4 SAFEGUARD ENGINE COMMANDS ........................182 TRAFFIC SEGMENTATION COMMANDS ......................184 TIME AND SNTP COMMANDS ..........................186 ARP COMMANDS ..............................192 ROUTING TABLE COMMANDS ..........................196 MAC NOTIFICATION COMMANDS ........................198 ACCESS AUTHENTICATION CONTROL COMMANDS ..................202 SSH COMMANDS ..............................222 SMTP COMMANDS ..............................
  • Page 5 ARP SPOOFING ATTACK PREVENTION LIST ..................... 295 TECHNICAL SPECIFICATIONS ..........................297...
  • Page 6: Introduction

    Web-based management agent is discussed in the Manual. This manual provides a reference for all of the commands contained in the CLI for members of this series, including the DES-1228/ME. Examples present in this manual may refer to any member of this series and may show different port counts, but are universal to this series of switches, unless otherwise stated.
  • Page 7 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.
  • Page 8: Using The Console Cli

    ONSOLE 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.
  • Page 9 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...
  • Page 10 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config account Command: config account Next possible completions: <username> DES-1228/ME:4#config account Command: config account Next possible completions: <username> 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 <username>, the CLI returned the Next possible completions: <username>...
  • Page 11 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show Command: show Next possible completions: 802.1p 802.1x access_profile account acct_client address_binding arp_spoofing_prevention arpentry asymmetric_vlan auth_client auth_diagnostics auth_session_statistics auth_statistics authen authen_enable authen_login authen_policy auto_fdb autoconfig bandwidth_control command command_history config cpu_access_profile cpu_filter...
  • Page 12: Command Syntax

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual OMMAND YNTAX 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.
  • Page 13 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. config dhcp_relay {hops <value 1-16> | time <sec 0-65535>}(1)
  • Page 14: Basic Switch Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ASIC WITCH OMMANDS The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable password encryption disable password...
  • Page 15 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.
  • Page 16 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create account Purpose Used to create user accounts. Syntax create account [admin | user] <username 15> 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.
  • Page 17 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.
  • Page 18 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 Login Time Live Time From Level Name -------------------- ----------- ----------- ----- ----------- 00000 days 00:00:37...
  • Page 19 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. Restrictions None Example usage: To display the serial port setting:...
  • Page 20 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.
  • Page 21 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...
  • Page 22 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 <tcp_port_number 1-65535> Description This command is used to enable the Web-based management software on the Switch.
  • Page 23 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.
  • Page 24 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.
  • Page 25 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. Example usage: To terminate the current user’s console session:...
  • Page 26: Modify Banner And Prompt Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ODIFY ANNER AND ROMPT OMMANDS Administrator level users can modify the login banner (greeting message) and command prompt by using the commands described below. Command Parameters config command_ prompt [<string 16> | username | default]...
  • Page 27 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.
  • Page 28 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.
  • Page 29: Switch Port Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual WITCH OMMANDS The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ports [<portlist> | all ] {medium_type [fiber|copper]} { speed [auto | 10_half | 10_full | 100_half | 100_full | 1000_full {[master | slave] }] | flow_control [enable | disable] | state [enable | disable] | learning [enable | disable] | [description <desc 32>...
  • Page 30 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.
  • Page 31 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/ Settings Connection Address Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning ----- -------- --------------------- --------------------- --------...
  • Page 32 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/ Settings Connection Address Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning -----...
  • Page 33: Port Security Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ECURITY OMMANDS The Switch’s port security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config port_security [ <auth_portlist>| all ] { admin_state [enable | disable] | max_learning_addr <max_lock_no ports 0-64>...
  • Page 34 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 admin_state enable max_learning_addr 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.
  • Page 35 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 <auth_portlist>} Description This command is used to display port security information of the Switch’s ports. The information displayed includes port security, admin state, maximum number of learning address and lock mode.
  • Page 36 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. Syntax...
  • Page 37: Network Management (Snmp) Commands

    OMMANDS 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.
  • Page 38 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters create trusted_host <ipaddr>| network<network_address> delete trusted_host [all | ipaddr<ipaddr>| network<network_address>] 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 <portlist>}}...
  • Page 39 Only Administrator-level users can issue this command. Example usage: To create an SNMP user on the Switch: DES-1228/ME:4#create snmp user dlink default encrypted by_password auth md5 canadian priv none Command: create snmp user dlink default encrypted by_password auth md5 canadian priv none Success.
  • Page 40 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.
  • Page 41 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.
  • Page 42 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 Subtree View Type -------------------- ----------------------- ---------- ReadView Included WriteView Included NotifyView 1.3.6 Included restricted 1.3.6.1.2.1.1 Included restricted 1.3.6.1.2.1.11...
  • Page 43 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.
  • Page 44 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 View Name Access Right ------------------ ------------------- ------------ private CommunityView...
  • Page 45 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.
  • Page 46 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 noauth_nopriv read_view write_view notify_view v1 Command: create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view Success. DES-1228/ME:4#...
  • Page 47 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 : Group3 ReadView Name : ReadView...
  • Page 48 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 <ipaddr> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv] <auth_string 32>]...
  • Page 49 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.
  • Page 50 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 <network_address>...
  • Page 51 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 Used to delete a trusted host entry made using the create trusted_host command above.
  • Page 52 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.
  • Page 53 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:...
  • Page 54 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 : Enabled Authenticate Traps : Enabled DES-1228/ME:4# disable snmp traps Purpose Used to disable SNMP trap support on the Switch.
  • Page 55 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{<sw_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.
  • Page 56 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.
  • Page 57 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|<portlist>] [enable|disable] Description Used to configure SNMP link changing port traps/ all <portlist> − The user can define either all ports or a list of port that will be configured.
  • Page 58 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.
  • Page 59: Switch Utility Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual WITCH TILITY OMMANDS The switch utility commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters download [ firmware_fromTFTP <ipaddr> <path_filename 64> image_id <value 1-2> | cfg_fromTFTP <ipaddr>...
  • Page 60 The download configuration command will initiate the loading of the various settings in the order listed in the configuration file. When the file has been successfully loaded the message “End of configuration file for DES-1228/ME” appears followed by the command prompt.
  • Page 61 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 <int 1-2> [delete | boot_up] Description This command is used to configure the firmware section image.
  • Page 62 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. Syntax show config [ current_config {[include | exclude | begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude | begin] <filter_string 80>...
  • Page 63 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. #------------------------------------------------------------------- # BASIC...
  • Page 64 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.
  • Page 65 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.
  • Page 66 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.
  • Page 67 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 from 10.48.74.121, time<10ms Reply from 10.48.74.121, time<10ms Reply from 10.48.74.121, time<10ms Reply from 10.48.74.121, time<10ms Ping statistics for 10.48.74.121...
  • Page 68 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config configuration Purpose Used to configure the configuration ID. Syntax config_id <value 1-2> [ delete | boot_up | active ] Description Used to configure the configuration ID. config_id<value 1-2> − Specifies the configuration ID to be used.
  • Page 69: Network Monitoring Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ETWORK ONITORING OMMANDS The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show packet ports <portlist> show error ports <portlist>...
  • Page 70 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 Frames/sec Frame Type Total Total/sec ------------ ------------ ---------- ---------- --------- --------- RX Bytes 65-127...
  • Page 71 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 {<portlist>}] Description This command will display the real-time port and CPU utilization statistics for the Switch.
  • Page 72 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 <portlist>} Description This command will clear the counters used by the Switch to compile statistics. <portlist> − Specifies a port or range of ports to be displayed.
  • Page 73 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 Data Time Log Text ----- ------------------- -------------------------------------------------------- 00000-00-00 01:01:09 Successful login through Console (Username: Anonymous)
  • Page 74 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.
  • Page 75 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create syslog host 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...
  • Page 76 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.
  • Page 77 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Parameters Numerical Facility Code 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...
  • Page 78 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:...
  • Page 79 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 Host IP Address Severity Facility UDP port Status ------- --------------- --------------...
  • Page 80 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#...
  • Page 81: Multiple Spanning Tree Protocol (Mstp) Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual (MSTP) C ULTIPLE PANNING ROTOCOL OMMANDS 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.
  • Page 82 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.
  • Page 83 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.
  • Page 84 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp lbd_recover_timer [0 | <value 60-1000000>] − 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.
  • Page 85 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.
  • Page 86 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...
  • Page 87 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.
  • Page 88 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config stp priority This entry must be divisible by 4096. instance_id <value 0-8> − 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.
  • Page 89 To designate ports 1 through 5, with instance id 2, to have an auto internalCost and a priority of 16: DES-1228/ME:4#config stp mst_ports 1-5 instance_id 2 internalCost auto priority 16 Command : config stp mst_ports 1-5 instance_id 2 internalCost auto priority 16 Success.
  • Page 90 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Max Hops : 20 TX Hold Count Forwarding BPDU : Enabled Loopback Detection : Enabled LBD Recover Time : 60 DES-1228/ME:4# Status 2 : STP enabled for RSTP DES-1228/ME:4#show stp Command: show stp...
  • Page 91 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. Example usage: To show STP ports information for port 1 (STP enabled on Switch):...
  • Page 92 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 )
  • Page 93: Forwarding Database Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ORWARDING ATABASE OMMANDS The layer 2 forwarding database commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create fdb <vlan_name 32> <macaddr> port <port>...
  • Page 94 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 <vlan_name 32>...
  • Page 95 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 <sec 10-1000000> 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.
  • Page 96 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 <vlan_name 32> <macaddr> Description This command is used to delete a previous entry to the Switch’s MAC address forwarding database.
  • Page 97 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 <vlan_name 32> | mac_address <macaddr>] Description This command is used to display the current contents of the Switch’s multicast MAC address forwarding database.
  • Page 98 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual default 00-00-5E-00-01-01 Dynamic default 00-00-74-60-72-2D Dynamic default 00-00-81-05-00-80 Dynamic default 00-00-81-05-02-00 Dynamic default 00-00-81-48-70-01 Dynamic default 00-00-E2-4F-57-03 Dynamic default 00-00-E2-61-53-18 Dynamic default 00-00-E2-6B-BC-F6 Dynamic default 00-00-E2-7F-6B-53 Dynamic default 00-00-E2-82-7D-90 Dynamic default...
  • Page 99 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.
  • Page 100 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.
  • Page 101 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:...
  • Page 102 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.
  • Page 103: Broadcast Storm Control Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ROADCAST TORM ONTROL OMMANDS 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.
  • Page 104 Example usage: To configure traffic control and enable broadcast storm control for ports 1-12: DES-1228/ME:4# config traffic control 1-12 broadcast enable action shutdown threshold 64 countdown 10 time_interval 10 Command: config traffic control 1-12 broadcast enable action shutdown threshold 64 countdown 10 time_interval 10 Success.
  • Page 105 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 Broadcast Multicast Unicast Action Count Time...
  • Page 106: Cos Commands

    OMMANDS 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:...
  • Page 107 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters config mgmt_pkt_priority [default | <priority 0-7>] 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.
  • Page 108 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 RX Rate TX Rate Effective RX Effective TX (Kbit/sec) (Kbit/sec) (Kbit/sec) (Kbit/sec) ---- ---------- ----------...
  • Page 109 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.
  • Page 110 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#...
  • Page 111 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 <priority 0-7> <class_id 0-3>...
  • Page 112 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command: show 802.1p user_priority QOS Class of Traffic Priority-0 -> <Class-1> Priority-1 -> <Class-0> Priority-2 -> <Class-0> Priority-3 -> <Class-1> Priority-4 -> <Class-2> Priority-5 -> <Class-2> Priority-6 -> <Class-3> Priority-7 ->...
  • Page 113 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.1p default_priority Port Priority Effective Priority ---- ----------- ------------------ DES-1228/ME:4#...
  • Page 114 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 [<portlist> | all] [none |{port_mapping | ethernet [802.1p |...
  • Page 115 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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 CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All config cos port_mapping Purpose Used to map a specific port to one of the hardware queues available on the switch.
  • Page 116 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 <portlist>} Description The show cos mac_mapping command is used to view map static destination MAC addresses to one of the CoS traffic classes.
  • Page 117 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 <macaddr>} Description The show cos mac_mapping command display the information of the destination MAC address mapped to a traffic class.
  • Page 118 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 <value 0-7>} Description The show cos tos command displays the information of ToS to traffic class mappings.
  • Page 119 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 <value 0-63>} Description The show dscp_mapping command displays the information for DSCP mapping to traffic class.
  • Page 120 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 | <priority 0-7>] Description This command is used to configure the manangement packet priority of the Switch.
  • Page 121: Port Mirroring Commands

    The Target port cannot be listed as a source port. Only Administrator-level users can issue this command. Example usage: To add the mirroring ports: DES-1228/ME:4# config mirror port 1 add source ports 2-7 both Command: config mirror port 1 add source ports 2-7 both Success. DES-1228/ME:4#...
  • Page 122 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.
  • Page 123 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.
  • Page 124: Vlan Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual VLAN C OMMANDS The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create vlan <vlan_name 32> {tag <vlanid 2-4094> | advertisement} delete vlan <vlan_name 32>...
  • Page 125 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 <vlan_name 32> Description This command will delete a previously configured VLAN on the Switch. <vlan_name 32> − The VLAN name of the VLAN to delete.
  • Page 126 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 <vidlist> { advertisement } Description The create vlans by vlanid list command creates multiple VLANs on the switch.
  • Page 127 Only Administrator-level users can issue this command. Example usage: To config vlan vlanid on the switch: DES-1228/ME:4#config vlan vlanid 5 add tagged 7 advertisement enable name RG Command: config vlan vlanid 5 add tagged 7 advertisement enable name RG Success.
  • Page 128 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.
  • Page 129 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual show vlan <vlanid> − Specifies a range of multiple VLAN IDs to be displayed. Parameters <ports> − Specifies the ports to be displayed. <vlan_name 32> − The VLAN name of the VLAN for which to display a summary of settings.
  • Page 130 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 PVID GVRP Ingress Checking Acceptable Frame Type ---- -------- -------- --------------------------------------- Disabled Enabled All Frames Disabled Enabled All Frames Disabled Enabled All Frames...
  • Page 131: Link Aggregation Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual GGREGATION OMMANDS The link aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create link_aggregation group_id <value 1-6> {type [lacp | static]} delete link_aggregation group_id <value 1-6>...
  • Page 132 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. <value 1-6> − Specifies the group ID. The Switch allows up to 6 link aggregation groups to Parameters be configured.
  • Page 133 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.
  • Page 134 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config lacp_ports Syntax config lacp_ports <portlist> mode [active | passive] Description This command is used to configure ports that have been previously designated as LACP ports (see create link_aggregation). <portlist> − Specifies a port or range of ports to be configured.
  • Page 135 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 {<portlist>} Description This command will display the LACP mode settings as they are currently configured. <portlist> − Specifies a port or range of ports to be configured.
  • Page 136: Basic Ip Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual IP C ASIC OMMANDS The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ipif [System] [{ ipaddress <network_address> | vlan <vlan_name 32> | state [enable|disable]} | bootp | dhcp | dhcp_option12 [hostname <hostname 63>...
  • Page 137 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.
  • Page 138 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.
  • Page 139: Igmp Snooping Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual IGMP S NOOPING OMMANDS The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config igmp_snooping [ vlan_name <vlan_name 32> |all] {host_timeout <sec 1-16711450> | router_timeout <sec 1-16711450>...
  • Page 140 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.
  • Page 141 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.
  • Page 142 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.
  • Page 143 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual disable igmp_snooping Used to enable IGMP snooping on the Switch. Purpose disable igmp_snooping {forward_mcrouter_only} Syntax This command disables IGMP snooping on the Switch. IGMP snooping can be disabled Description 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.
  • Page 144 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 : Disabled Multicast Router Only : Disabled Data Driven Learning Max Entries : 56 VLAN Name : default Query Interval : 125...
  • Page 145 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show router_ports Command: show router_ports VLAN Name : default Static router port : 1-2,10 Dynamic router port Total Entries: 1 DES-1228/ME:4# show igmp_snooping forwarding Purpose Used to display the current IGMP snooping forwarding state.
  • Page 146 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 : default Multicast Group: 224.0.0.22 MAC Address : 01-00-5E-00-00-16 Member Ports Router Ports : 1,13-20 VLAN Name : default Multicast Group: 239.255.255.250...
  • Page 147 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.
  • Page 148 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual...
  • Page 149: Dhcp Relay

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DHCP R ELAY The DHCP relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dhcp_relay { hops <value 1-16> | time <sec 0-65535>}(1) config dhcp_relay add ipif System <ipaddr>...
  • Page 150 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.
  • Page 151 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.
  • Page 152 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. config dhcp_relay option_82 policy [replace | drop | keep] Syntax Description This command is used to configure the reforwarding policy of DHCP relay agent information option 82 of the switch.
  • Page 153 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 <string 32>] Description Configures the processing of DHCP 82 option for the DHCP relay function.
  • Page 154 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. ipif System − The name of the IP interface for which to display the current DHCP relay Parameters configuration.
  • Page 155 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.
  • Page 156: Commands

    802.1X C OMMANDS 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.
  • Page 157 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...
  • Page 158 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 <auth_portlist>} Description The show 802.1x auth_configuration command is used to display the 802.1X Port- based or Host-based Network Access control local users currently configured on the Switch.
  • Page 159 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Port number Capability : None AdminCrlDir : Both OpenCrlDir : Both Port Control : Auto QuietPeriod : 60 sec TxPeriod : 30 sec SuppTimeout : 30 sec ServerTimeout : 30 sec...
  • Page 160 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth...
  • Page 161 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 Host- based 802.1X authentication feature on the Switch.
  • Page 162 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. <auth_portlist> − Specifies a port or range of ports to be configured. Parameters all − Specifies all of the ports on the Switch.
  • Page 163 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.
  • Page 164 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. config 802.1x reauth {port_based ports [<auth_portlist> | all] | mac_based | ports Syntax [<portlist>...
  • Page 165 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config radius add auth_port <udp_port_number 1-65535> − The UDP port number for authentication requests. The default is 1812. acct_port <udp_port_number 1-65535> − The UDP port number for accounting requests. The default is 1813.
  • Page 166 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config radius requests. The default is 1812. acct_port <udp_port_number 1-65535> − 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...
  • Page 167 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Timeout : 5 seconds Retransmit Index IP Address Auth-Port Acct-Port Status Number Number ----- ------------------ --------- --------- -------------- --------------- 10.1.1.1 1812 1813 Active switch 20.1.1.1 1800 1813 Active des3226 30.1.1.1 1812...
  • Page 168 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.
  • Page 169 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.
  • Page 170 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. Example usage: To view the current RADIUS authentication client:...
  • Page 171 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 BackendOtherRequestsToSupplicant BackendNonNakResponsesFromSupplicant BackendAuthSuccesses BackendAuthFails...
  • Page 172 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 Remote Authentication Server SessionTime SessionTerminateCause SupplicantLogoff SessionUserName Trinity CTRL+C ESC q Quit SPACE n Next Page Enter Next Entry a All...
  • Page 173 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 <username 15> Description The create 802.1x user command is used to create new 802.1X users. <username 15> − A username of up to 15 alphanumeric characters in length.
  • Page 174 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.
  • Page 175: Access Control List (Acl) Commands

    ONTROL OMMANDS 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.
  • Page 176 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.
  • Page 177 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 <netmask> − Specifies an IP address mask for the source IP address.
  • Page 178 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 <value 1-256> | all ] Description The delete access_profile command is used to delete a previously created access profile on the Switch.
  • Page 179 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.
  • Page 180 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config access_profile priority <value 0-7> − 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.
  • Page 181 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...
  • Page 182 Only Administrator-level users can issue this command. Example usage: To create a CPU access profile: DES-1228/ME:4# create cpu access_profile profile_id 1 ip vlan source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code Command: create cpu access_profile profile_id 1 ip vlan source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code...
  • Page 183 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. delete cpu access_profile profile_id <value 1-3> Syntax The delete cpu access_profile command is used to delete a previously created CPU Description access profile.
  • Page 184 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config cpu access_profile MAC address. destination_mac <macaddr> − Specifies that the access profile will apply to this destination MAC address. ethernet_type <hex 0x0-0xffff> − Specifies that the access profile will apply only to packets with this hexadecimal 802.1Q Ethernet type value in the packet header.
  • Page 185 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#config cpu access_profile profile_id 3 add access_id 1 ip vlan default source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp type 11 code 32 port all deny Command: config access_profile profile_id access_id vlan default source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp type 11 code 32 port all deny...
  • Page 186 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: DES-1228/ME:4# enable cpu_interface_filtering Purpose Used to enable CPU interface filtering on the Switch.
  • Page 187: Safeguard Engine Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual AFEGUARD NGINE OMMANDS 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.
  • Page 188 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.
  • Page 189: Traffic Segmentation Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual RAFFIC EGMENTATION OMMANDS 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.
  • Page 190 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-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28 1-28...
  • Page 191: Time And Sntp Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual SNTP C IME AND OMMANDS 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.
  • Page 192 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.
  • Page 193 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.
  • Page 194 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.
  • Page 195 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). Syntax config dst [disable | repeating {s_week <start_week 1-5,last> | s_day <start_day sun-sat>...
  • Page 196 Example usage: To configure daylight savings time on the Switch: DES-1228/ME:4#config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 10 e_time 15:30 offset 30 Command: config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 10 e_time 15:30 offset 30 Success.
  • Page 197: Arp Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ARP C OMMANDS The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create arpentry <ipaddr> <macaddr> config arpentry <ipaddr>...
  • Page 198 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.
  • Page 199 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 <ipaddr> | static} Description This command is used to display the current contents of the Switch’s ARP table.
  • Page 200 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:4#...
  • Page 201: Routing Table Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual OUTING ABLE OMMANDS 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] <ipaddr> {<metric 1-65535>}...
  • Page 202 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 {<network_address> | static} Description This command will display the Switch’s current IP routing table.
  • Page 203: Mac Notification Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual MAC N OTIFICATION OMMANDS The MAC notification commands in the Command Line Interface (CLI) are listed, in the following table, along with their appropriate parameters. Command Parameters enable mac_notification disable mac_notification config mac_notification {interval <int 1-2147483647>|historysize <int 1-500>}(1)
  • Page 204 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 <int 1-2147483647>|historysize <int 1-500>}(1) Description MAC address notification is used to monitor MAC addresses learned and entered into the FDB.
  • Page 205 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.
  • Page 206 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh...
  • Page 207: Access Authentication Control Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual CCESS UTHENTICATION ONTROL OMMANDS 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.
  • Page 208 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. Command Parameters enable authen_policy disable authen_policy show authen_policy create authen_login <string 15>...
  • Page 209 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.
  • Page 210 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.
  • Page 211 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.
  • Page 212 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.
  • Page 213 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. Example usage: To view the authentication login method list named Trinity:...
  • Page 214 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.
  • Page 215 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.
  • Page 216 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.
  • Page 217 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.
  • Page 218 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 <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] {port <int 1-65535> | key [<key_string 254> | none] | timeout <int 1-255> | retransmit <...
  • Page 219 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.
  • Page 220 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual delete authen server_host tacacs+ − Enter this parameter if the server host utilizes the TACACS+ protocol.  radius − Enter this parameter if the server host utilizes the RADIUS protocol. ...
  • Page 221 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual create authen server_group Syntax create authen server_group <string 15> 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.
  • Page 222 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 | <string 15>] [add | delete] server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] Description This command will configure an authentication server group.
  • Page 223 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 <string 15> Description This command will delete an authentication server group. <string 15> − Enter an alphanumeric string of up to 15 characters to define the previously Parameters created server group to be deleted.
  • Page 224 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 <int 0-255>...
  • Page 225 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 –...
  • Page 226 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.
  • Page 227: Ssh Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual SSH C OMMANDS 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 <username>...
  • Page 228 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.
  • Page 229 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.
  • Page 230 Restrictions Only Administrator-level users can issue this command. Usage example: To configure the SSH server: DES-1228/ME:4# config ssh server maxsession 2 contimeout 300 authfail 2 Command: config ssh server maxsession 2 contimeout 300 authfail 2 Success. DES-1228/ME:4# show ssh server Purpose Used to display the SSH server setting.
  • Page 231 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config ssh user <username 15> − Enter a username of no more than 15 characters to identify the SSH Parameters user. authmode – Specifies the authentication mode of the SSH user wishing to log on to the Switch.
  • Page 232 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 |...
  • Page 233 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. Usage Example:...
  • Page 234: Smtp Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual SMTP C OMMANDS 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.
  • Page 235 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Command Parameters enable smtp disable smtp config smtp {server <ipaddr> | server_port <tcp_port_number 1-65535> |self_mail_addr <mail_addr 64> |[add mail_receiver <mail_addr 64> | delete mail_receiver <index 1-8>]}(1) show smtp smtp send_testmsg Each command is listed, in detail, in the following sections.
  • Page 236 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config smtp Syntax config smtp {server <ipaddr> server_port <tcp_port_number 1-65535> |self_mail_addr <mail_addr 64> |[add mail_receiver <mail_addr 64> | delete mail_receiver <index 1-8>]}(1) Description This command will allow the user to set the necessary parameters to configure the SMTP server and mail recipients.
  • Page 237 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DES-1228/ME:4#show smtp Command: show smtp smtp status: Enabled smtp server address : 166.99.66.33 smtp server port : 25 self mail address: smtp@1228.dev Index Mail Receiver Address -------- --------------------------------- darren_tremblett@nhl.com dave@yeehaw.com administrator@dlink.com fattony@themob.com...
  • Page 238: Cable Diagnostics Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ABLE IAGNOSTICS OMMANDS 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 [<portlist>| all] Each command is listed, in detail, in the following sections.
  • Page 239: Dhcp Local Relay Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DHCP L OCAL ELAY OMMANDS The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters vlan[<vlan_name 32> | vlanid <vidlist>] state [enable | disable]...
  • Page 240 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...
  • Page 241: Gratuitous Arp Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ARP C RATUITOUS OMMANDS The Gratuitous ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config gratuitous_arp send [enable | disable]...
  • Page 242 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.
  • Page 243 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config gratuitous_arp periodical_send <value 0-65535> − 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.
  • Page 244 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.
  • Page 245: Vlan Trunking Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual VLAN T RUNKING OMMANDS 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 [<portlist>|all] state [enable|disable]...
  • Page 246 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 [<portlist>|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.
  • Page 247 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.
  • Page 248 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 :Enable VLAN Trunk Port :1-5,7 DES-1228/ME:4#...
  • Page 249: Asymmetric Vlan Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual VLAN C SYMMETRIC OMMANDS 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.
  • Page 250 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.
  • Page 251: Igmp Snooping Multicast Vlan Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual IGMP S VLAN C NOOPING ULTICAST OMMANDS The IGMP Snooping Multicast VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command...
  • Page 252 Restrictions Only Administrator-level users can issue this command. Example usage: To configure an IGMP snoop multicast VLAN: DES-1228/ME:4# config igmp_snooping multicast_vlan v1 add member_port 1,3 state enable Command: config igmp_snooping multicast_vlan v1 add member_port 1,3 state enable Success. DES-1228/ME:4# config igmp_snooping multicast_vlan_group...
  • Page 253 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config igmp_snooping multicast_vlan_group Syntax <vlan_name 32> [ add <mcast_address_list> | delete [<mcast_address_list> | 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.
  • Page 254 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 <vlan_name 32> Description The delete igmp_snooping multicast_vlan command allows you to delete multicat_vlan. <vlan_name 32> − The name of the multicast VLAN to be deleted.
  • Page 255 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.
  • Page 256: Lldp Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual LLDP C OMMANDS The LLDP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable lldp disable lldp config lldp message_tx_interval <sec 5 - 32768 >...
  • Page 257 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.
  • Page 258 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.
  • Page 259 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.
  • Page 260 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config lldp ports notification Syntax config lldp ports [<portlist>|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.
  • Page 261 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.
  • Page 262 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.
  • Page 263 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual config lldp dot1_tlv_vlan_name <portlist> − Specified a range of ports to be configured. Parameters 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.
  • Page 264 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.
  • Page 265 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.
  • Page 266 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 : 1.3.6.1.4.1.171.11.116.1...
  • Page 267 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 ---------------------------------------------------------------------- Admin Status : TX_and_RX Notification Status : Disable...
  • Page 268 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 -------------------------------------------------------------------------...
  • Page 269 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.00 Port 1...
  • Page 270 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...
  • Page 271 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...
  • Page 272 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...
  • Page 273 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Aggregation status : not currently in aggregation Aggregation port ID Maximum Frame Size : 1536 Unknown TLVs count (None.) DES-1228/ME:4# show lldp statistics Purpose Used to display the system LLDP statistics information.
  • Page 274 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 lldpStatsRxPortFramesErrors lldpStatsRxPortFramesTotal...
  • Page 275: Pppoe Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual OMMANDS The PPPoE commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config pppoe circuit_id_insertion state [enable | disable] show pppoe circuit_id_insertion show pppoe circuit_id_insertion ports {<portlist>}...
  • Page 276 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.
  • Page 277 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:4#...
  • Page 278: Ip-Mac-Port Binding Commands

    The maximum number of IP-MAC binding entries is dependant on chip capability (e.g. the ARP table size) and storage size of the device. For the DES-1228/ME series, the maximum number of IP- MAC-PORT Binding ARP mode is 500.
  • Page 279 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-00- 00-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. Syntax config address_binding ip_mac ipaddress <ipaddr>...
  • Page 280 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 <ipaddr> mac_address <macaddr>...
  • Page 281 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 Ports --------------- ----------------- -------------------- 10.1.1.1 00-00-00-00-00-22 1-28 Total Entries: 1 DES-1228/ME:4# delete address_binding Purpose Used to delete IP-MAC Binding entries.
  • Page 282 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.
  • Page 283: Layer 3 Control Packet Filtering

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual AYER ONTROL ACKET ILTERING 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 <portlist>...
  • Page 284 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 OSPF VRRP DVMRP IGMP Query ----- --------- --------- --------- --------- --------- ----------- Enabled Disabled Disabled Disabled Disabled Disabled Disabled Enabled Disabled...
  • Page 285: Loopback Detection Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual OOPBACK ETECTION OMMANDS The Loopback Detection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config loopdetect { recover_timer [0 | <value 60-1000000>] | interval <value 1-32767>}(1) config loopdetect ports [<portlist>...
  • Page 286 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 [<portlist> | all] | state [enable | disable] Description Used to configure loopback detection on the switch.
  • Page 287 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. show loopdetect Syntax Description Used to display the current loopback detection settings on the switch Parameters None.
  • Page 288 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 Loopdetect State Loop Status ------ ------------------ ---------- Enabled Normal Enabled Normal Enabled Normal CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh...
  • Page 289: Technical Support Commands

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ECHNICAL UPPORT OMMANDS 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 <ipaddr> <path_filename 64>...
  • Page 290 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)
  • Page 291 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 <ipaddr> <path_filename> Description The upload tech_support_to_TFTP command is used to upload the technical support information. Parameters <ipaddr>...
  • Page 292: Command History List

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual OMMAND ISTORY The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config command_history <value 1-40> show command_history...
  • Page 293 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...
  • Page 294 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 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...
  • Page 295 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:...
  • Page 296 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.
  • Page 297: Dhcp Server Screen List

    DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual DHCP S ERVER CREEN The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config filter dhcp_server [add permit server_ip <ipaddr> {client_mac <macaddr>} ports [<portlist>|all]| delete permit server_ip <ipaddr>...
  • Page 298 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.
  • Page 299 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.10...
  • Page 300 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ARP S POOFING TTACK REVENTION The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config arp_spoofing_prevention [add gateway_ip <ipaddr> gateway_mac <macaddr> ports [<portlist>|all] | delete gateway_ip <ipaddr>]...
  • Page 301 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual 10.90.90.1 00-12-34-56-78-90 1-28 Total entries : 1 DES-1228/ME:4#...
  • Page 302 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Appendix A ECHNICAL PECIFICATIONS General IEEE 802.3 10BASE-T Ethernet Protocols 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...
  • Page 303 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)
  • Page 304 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual ports When there reception transmission (i.e. Activity--Act) of data Blinking Green occurring at a 1000Mbps connected port. When there is a secure 10/100Mbps Solid Amber Fast Ethernet connection (or link) at any of the ports.
  • Page 305 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Compliant to following standards, IEEE 802.3 compliance IEEE 802.3u compliance 24 x 10/100BaseT ports 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.
  • Page 306 DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual Pin Assignment for Data: (alternative A MDI-X) PIN# Signal Receive+ Receive- Transmit+ Transmit-...

This manual is also suitable for:

Des-1228me

Table of Contents