D-Link DES-1210-28/ME Reference Manual - Command Syntax

Summary of DES-1210-28/ME

  • Page 1

    Cli reference guide des-1210-28/me metro ethernet managed switch v1.1.

  • Page 2

    Information in this document is subject to change without notice. © 2009 d-link computer corporation. All rights reserved. Reproduction in any manner whatsoever without the written permission of d-link computer corporation is strictly forbidden. Trademarks used in this text: d-link and the d-link lo...

  • Page 3: Table Of Contents

    Table of contents introduction...................................................................................................................................................... 1 using the console cli...................................................................................................

  • Page 4

    Config dos_prevention dos_type.......................................................................................................................................... 34 show dos_prevention ...............................................................................................................

  • Page 5

    Delete trusted_host ............................................................................................................................................................... 66 enable snmp traps ......................................................................................................

  • Page 6

    Config gratuitous_arp send dup_ip_detected ....................................................................................................................... 90 config gratuitous_arp learning...........................................................................................................

  • Page 7

    Show multicast_fdb............................................................................................................................................................ 121 show fdb ...................................................................................................................

  • Page 8

    Enable rmon ....................................................................................................................................................................... 149 disable rmon ..........................................................................................................

  • Page 9

    Link aggregation commands.................................................................................................................. 176 create link_aggregation .......................................................................................................................................

  • Page 10

    Limited ip multicast address commands ........................................................................................... 205 create mcast_filter_profile..............................................................................................................................................

  • Page 11

    Arp commands ............................................................................................................................................... 234 create arpspoofing............................................................................................................................

  • Page 12

    Show authen parameter ...................................................................................................................................................... 262 create authen server_host ....................................................................................................

  • Page 13: Introduction

    Des-1210-28/me metro ethernet managed switch cli reference guide 1 1 1 1 1 introduction the des-1210-28/me consists of 24 10/100mbps ports plus 2 combo 10/100/100/sfp ports and 2 dedicated sfp ports. The switch can be managed through the switch’s serial port, telnet, or the web-based management agen...

  • Page 14

    Des-1210-28/me metro ethernet managed switch cli reference guide 2 (basic settings) window in the configuration folder. The ip address for the switch must be set before it can be managed with the web-based manager. The switch ip address can be automatically set using bootp or dhcp protocols, in whic...

  • Page 15: Using The Console Cli

    Des-1210-28/me metro ethernet managed switch cli reference guide 3 2 2 2 2 using the console cli the switch supports a console management interface that allows the user to connect to the switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. Th...

  • Page 16

    Des-1210-28/me metro ethernet managed switch cli reference guide 4 figure 2–2 the ? Command when entering a command without its required parameters, the cli displays the prompt: command: config account message and the options listed below. Figure 2–3 example command parameter help in this case, the ...

  • Page 17

    Des-1210-28/me metro ethernet managed switch cli reference guide 5 figure 2–4 using the up arrow to re-enter a command in the above example, the command config account was entered without the required parameter , the cli returned the command: config account prompt. The up arrow cursor control key wa...

  • Page 18

    Des-1210-28/me metro ethernet managed switch cli reference guide 6 figure 2–6 next possible completions: show command in the above example, all of the possible next parameters for the show command are displayed. At the next command prompt in the example, the up arrow was used to re-enter the show co...

  • Page 19: Command Syntax

    Des-1210-28/me metro ethernet managed switch cli reference guide 7 3 3 3 3 command syntax the following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the cli and available through the console interface us...

  • Page 20

    Des-1210-28/me metro ethernet managed switch cli reference guide 8 {braces} purpose encloses an optional value or set of optional arguments. Syntax reset description execute “reset” will return the switch to its factory default setting. Example command reset please be aware that all configuration wi...

  • Page 21

    Des-1210-28/me metro ethernet managed switch cli reference guide 9 multiple page display control keys space displays the next page. Ctrl+c stops the display of remaining pages when multiple pages are to be displayed. Esc stops the display of remaining pages when multiple pages are to be displayed. N...

  • Page 22: Basic Switch Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 10 4 4 4 4 basic switch commands the basic switch commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable password encryption disable password enc...

  • Page 23

    Des-1210-28/me metro ethernet managed switch cli reference guide 11 been converted to encrypted form by the last enabled password encryption command, the password will still be in encrypted form. It can not revert back to plain text. Parameters none. Restrictions only administrator level users can i...

  • Page 24

    Des-1210-28/me metro ethernet managed switch cli reference guide 12 password. Up to 31 accounts can be created. You can enter username and enter. In this case, the system prompts for the account’s password, which may be between 0 and 15 characters. Alternatively, you can enter the username and passw...

  • Page 25

    Des-1210-28/me metro ethernet managed switch cli reference guide 13 des-1210-28/me:5# config account dlink enter a old password:**** enter a case-sensitive new password:****** enter the new password again for confirmation:****** success. Des-1210-28/me:5# show account purpose to display information ...

  • Page 26

    Des-1210-28/me metro ethernet managed switch cli reference guide 14 success. Des-1210-28/me:5# show session purpose to display information about currently logged-in users. Syntax show session description the show session command displays a list of all the users that are logged-in at the time the com...

  • Page 27

    Des-1210-28/me metro ethernet managed switch cli reference guide 15 des-1210-28/me:5# show switch command: show switch system name : system contact : system location : system up time : 0 days, 1 hrs, 17 min, 19 secs system time : 01/01/2011 01:17:20 system hardware version : system firmware version ...

  • Page 28

    Des-1210-28/me metro ethernet managed switch cli reference guide 16 disable web purpose to disable the http-based management software on the switch. Syntax disable web description the disable web command disables the web-based management software on the switch. Parameters none. Restrictions only adm...

  • Page 29

    Des-1210-28/me metro ethernet managed switch cli reference guide 17 disable autoconfig purpose use this to deactivate auto configuration from dhcp. Syntax disable autoconfig description the disable autoconfig command is used to instruct the switch not to accept auto configuration instruction from th...

  • Page 30

    Des-1210-28/me metro ethernet managed switch cli reference guide 18 log – used to save the current log to a file. The log file cannot be deleted. Account – used to save the account to a file. Restrictions only administrator-level users can issue this command. Example usage: to save the switch’s curr...

  • Page 32

    Des-1210-28/me metro ethernet managed switch cli reference guide 20 switch’s console. Parameters none. Restrictions none. Example usage: to terminate the current user’s console session: des-1210-28/me:5# logout ping purpose to test the connectivity between network devices. Syntax ping {times } {time...

  • Page 33

    Des-1210-28/me metro ethernet managed switch cli reference guide 21 command: enable telnet success. Des-1210-28/me:5# disable telnet purpose to disable telnet. Syntax disable telnet description the disable telnet command disables telnet. Parameters none. Restrictions only administrator or operate-le...

  • Page 34

    Des-1210-28/me metro ethernet managed switch cli reference guide 22 command: show tech support - system info. - system name : system contact : system location : system up time : 0 days, 1 hrs, 28 min, 24 secs system time : 01/01/2011 01:28:22 system hardware version : system firmware version : 6.00....

  • Page 35: Smtp Server Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 23 5 5 5 5 smtp server commands the smtp server commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable smtp disable smtp config smtp [self_mail_a...

  • Page 36

    Des-1210-28/me metro ethernet managed switch cli reference guide 24 des-1210-28/me:5# disable smtp command: disable smtp success! Des-1210-28/me:5# config smtp purpose to configure the fields to set up the smtp server for the switch, along with setting e-mail addresses to which switch log files can ...

  • Page 37

    Des-1210-28/me metro ethernet managed switch cli reference guide 25 restrictions none. Example usage: to display smtp information on the switch: des-1210-28/me:5# show smtp command: show smtp smtp status : enable smtp server address : 0.0.0.0 smtp server port : 25 self mail address : dlink@mail.Com....

  • Page 38

    Des-1210-28/me metro ethernet managed switch cli reference guide 26 6 6 6 6 modify banner and prompt commands the modify banner and prompt commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config command_prompt [...

  • Page 39

    Des-1210-28/me metro ethernet managed switch cli reference guide 27 config greeting_message purpose used to configure the login banner (greeting message). Syntax config greeting_message {default} description the config greeting_message command to modify the login banner (greeting message). Parameter...

  • Page 40

    Des-1210-28/me metro ethernet managed switch cli reference guide 28 des-1210-28/me:5# command: config greeting_message greeting messages editor =========================================================== des-1210-28/me fast ethernet switch command line interface copyright(c) 2012 d-link corporation....

  • Page 44

    Des-1210-28/me metro ethernet managed switch cli reference guide 32 restrictions none. Example usage: to configure the loopback detection mode to be portabse on the switch: des-1210-28/me:5# config loopdetect mode portbase command: config loopdetect mode portbase success! Des-1210-28/me:5# config lo...

  • Page 45

    Des-1210-28/me metro ethernet managed switch cli reference guide 33 example usage: to configure the loop back detection with interval time 500 on the switch: des-1210-28/me:5# config loopdetect interval_time 500 command: config loopdetect interval_time 500 success! Des-1210-28/me:5# show loopdetect ...

  • Page 46: Dos Prevention Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 34 9 9 9 9 dos prevention commands the dos prevention commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config dos_prevention dos_type [ {land_atta...

  • Page 47

    Des-1210-28/me metro ethernet managed switch cli reference guide 35 priority – change packet priority by the switch from 0 to 7. If the priority is not specified, the original priority will be used. Rx_rate – controls the rate of the received dos attack packets. • if not specified, the default actio...

  • Page 48

    Des-1210-28/me metro ethernet managed switch cli reference guide 36 to display dos prevention information for land attack: des-1210-28/me:5# show dos_prevention land_attack command: show dos_prevention land_attack dos type: land attack state: disabled action: mirror port: 7 priority: 5 rx rate(kbit/...

  • Page 49

    Des-1210-28/me metro ethernet managed switch cli reference guide 37 des-1210-28/me:5# enable dos_prevention trap_log command: enable dos_prevention trap_log des-1210-28/me:5# disable dos_prevention trap_log purpose used to disable a dos prevention trap/log. Syntax disable dos_prevention trap_log des...

  • Page 50

    Des-1210-28/me metro ethernet managed switch cli reference guide 38 10 10 10 10 pppoe circuit id insertion commands pppoe circuit id insertion is used to produce the unique subscriber mapping capability that is possible on atm networks between atm-dsl local loop and the pppoe server. The pppoe serve...

  • Page 51

    Des-1210-28/me metro ethernet managed switch cli reference guide 39 success. Des-1210-28/me:5# config pppoe circuit_id_insertion ports purpose used to enable and disable pppoe circuit identifier insertion on a per port basis and specify how to encode the circuit id option. Syntax config pppoe circui...

  • Page 52

    Des-1210-28/me metro ethernet managed switch cli reference guide 40 the global state configuration of the pppoe circuit id insertion function. Parameters none. Restrictions none. Example usage: to view the global pppoe id insertion state: des-1210-28/me:5# show pppoe circuit_id_insertion command: sh...

  • Page 53

    Des-1210-28/me metro ethernet managed switch cli reference guide 41 11 11 11 11 dhcp server screening commands the dhcp server screenint commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Due to this function allow you not only to ...

  • Page 54

    Des-1210-28/me metro ethernet managed switch cli reference guide 42 restrictions only administrator or operate-level users can issue this command. Example usage: to add an entry from the dhcp server/client filter list in the switch’s database: des-1210-28/me:5# config filter dhcp_server add permit s...

  • Page 56

    Des-1210-28/me metro ethernet managed switch cli reference guide 44 10 disabled 11 disabled 12 disabled 13 disabled.

  • Page 57

    Des-1210-28/me metro ethernet managed switch cli reference guide 45 12 12 12 12 ip-mac-port binding commands the ip network layer uses a four-byte address. The ethernet link layer uses a six-byte mac address. Binding these two address types together allows the transmission of data between the layers...

  • Page 58

    Des-1210-28/me metro ethernet managed switch cli reference guide 46 – the mac address of the device where the ip-mac- port binding is made. – specifies a port to be configured for address binding. Restrictions only administrator or operate-level users can issue this command. Example usage: to create...

  • Page 59

    Des-1210-28/me metro ethernet managed switch cli reference guide 47 description the config address_binding auto_scan command is used to configure the ip-mac-port binding auto scan for specified ip addresses. Parameters − specifies a range of ip addresses for address binding auto scan on the switch. ...

  • Page 61

    Des-1210-28/me metro ethernet managed switch cli reference guide 49 show address_binding auto_scan list purpose used to display ip-mac-port binding entries. Syntax show address_binding auto_scan list description this command is used to display auto scan list of address binding on the switch. Paramet...

  • Page 62

    Des-1210-28/me metro ethernet managed switch cli reference guide 50 example usage: to disable the dhcp snooping of address binding for port 3~5 on the switch: des-1210-28/me:5# disable address_binding dhcp_snoop ports 4 command: disable address_binding dhcp_snoop ports 4 success. Des-1210-28/me:5#.

  • Page 63

    Des-1210-28/me metro ethernet managed switch cli reference guide 51 13 13 13 13 network management (snmp) commands the switch supports the simple network management protocol (snmp) versions 1, 2c, and 3. Users can specify which version of the snmp users want to use to monitor and control the switch....

  • Page 65

    Des-1210-28/me metro ethernet managed switch cli reference guide 53 command parameter disable snmp lbd traps enable snmp port_security_violation traps disable snmp port_security_violation traps enable snmp rstpport_state_change traps disable snmp rstpport_state_change traps enable snmp system_device...

  • Page 66

    Des-1210-28/me metro ethernet managed switch cli reference guide 54 algorithms used to authenticate the snmp user. The choices are: • md5 − specifies that the hmac-md5-96 authentication level to be used. Md5 may be utilized by entering one of the following: • - a string of between 1 and 32 alphanume...

  • Page 67

    Des-1210-28/me metro ethernet managed switch cli reference guide 55 syntax show snmp user description the show snmp user command displays information about each snmp username in the snmp group username table. Parameters none. Restrictions none. Example usage: to display the snmp users currently conf...

  • Page 68

    Des-1210-28/me metro ethernet managed switch cli reference guide 56 success! Des-1210-28/me:5# delete snmp view purpose to remove an snmp view entry previously created on the switch. Syntax delete snmp view description the delete snmp view command removes an snmp view previously created on the switc...

  • Page 69

    Des-1210-28/me metro ethernet managed switch cli reference guide 57 total entries: 2 des-1210-28/me:5# create snmp community purpose to create an snmp community string to define the relationship between the snmp manager and an snmp agent. Syntax create snmp community 32> description the create snmp ...

  • Page 70

    Des-1210-28/me metro ethernet managed switch cli reference guide 58 restrictions only administrator or operate-level users can issue this command. Example usage: to delete the snmp community string ‘dlink’: des-1210-28/me:5# delete snmp community dlink command: delete snmp community dlink success! D...

  • Page 71

    Des-1210-28/me metro ethernet managed switch cli reference guide 59 alphanumeric characters, to be used to identify the snmp engine on the switch. Restrictions only administrator or operate-level users can issue this command. Example usage: to give the snmp agent on the switch: des-1210-28/me:5# con...

  • Page 72

    Des-1210-28/me metro ethernet managed switch cli reference guide 60 network devices. V2c – specifies that snmp version 2c is to be used. The snmp v2c supports both centralized and distributed network management strategies. It includes improvements in the structure of management information (smi) and...

  • Page 74

    Des-1210-28/me metro ethernet managed switch cli reference guide 62 syntax show snmp groups description the show snmp groups command displays the group-names of snmp groups currently configured on the switch. The security model, level, and status of each group are also displayed. Parameters none. Re...

  • Page 75

    Des-1210-28/me metro ethernet managed switch cli reference guide 63 tampered with during transit. • authentication − determines if an snmp message is from a valid source. • encryption − scrambles the contents of messages to prevent it being viewed by an unauthorized source. − a string of up to 32 al...

  • Page 76

    Des-1210-28/me metro ethernet managed switch cli reference guide 64 show snmp host purpose to display the recipient of snmp traps generated by the switch’s snmp agent. Syntax show snmp host {} description the show snmp host command is used to display the ip addresses and configuration information of...

  • Page 77

    Des-1210-28/me metro ethernet managed switch cli reference guide 65 disable trusted_host purpose to enable the trusted host. Syntax disable trusted_host description the disable trusted_host command disables the trusted host feature. Parameters none. Restrictions only administrator or operator level ...

  • Page 78

    Des-1210-28/me metro ethernet managed switch cli reference guide 66 syntax show trusted_host description the show trusted_host command displays a list of trusted hosts entered on the switch using the create trusted_host command above. Parameters none. Restrictions none. Example usage: to display the...

  • Page 79

    Des-1210-28/me metro ethernet managed switch cli reference guide 67 enable snmp traps purpose to enable snmp trap support. Syntax enable snmp traps description the enable snmp traps command enables snmp trap support on the switch. Parameters none. Restrictions only administrator or operator-level us...

  • Page 80

    Des-1210-28/me metro ethernet managed switch cli reference guide 68 des-1210-28/me:5# enable snmp authenticate traps command: enable snmp authenticate traps success! Des-1210-28/me:5# disable snmp authenticate trap purpose to disable snmp authentication trap support. Syntax disable snmp authenticate...

  • Page 81

    Des-1210-28/me metro ethernet managed switch cli reference guide 69 impbv2 state : disable loopback detection state : disable dhcp server screen state : disable gratutious arp state : disable des-1210-28/me:5# config syslocation purpose to enter a description of the location of the switch. Syntax co...

  • Page 82

    Des-1210-28/me metro ethernet managed switch cli reference guide 70 description the enable snmp command enables snmp support on the switch. Parameters none. Restrictions only administrator or operator-level users can issue this command example usage: to enable snmp support on the switch: des-1210-28...

  • Page 83

    Des-1210-28/me metro ethernet managed switch cli reference guide 71 des-1210-28/me:5# disable snmp dhcp_ screening traps purpose to disable snmp dhcp screening traps. Syntax disable snmp dhcp_screening traps description the disable snmp dhcp_screening traps command enables snmp dhcp screening traps ...

  • Page 84

    Des-1210-28/me metro ethernet managed switch cli reference guide 72 restrictions only administrator or operator-level users can issue this command example usage: to disable snmp impb violation traps support on the switch: des-1210-28/me:5# disable snmp impb_violation traps command: disable snmp impb...

  • Page 85

    Des-1210-28/me metro ethernet managed switch cli reference guide 73 success! Des-1210-28/me:5# enable snmp firmware_upgrade_state traps purpose to enable snmp firmware upgrade state traps. Syntax enable snmp firmware_upgrade_state traps description the enable snmp firmware_upgrade_state traps comman...

  • Page 86

    Des-1210-28/me metro ethernet managed switch cli reference guide 74 syntax enable snmp lbd traps description the enable snmp lbd traps command enables snmp lbd traps support on the switch. Parameters none. Restrictions only administrator or operator-level users can issue this command. Example usage:...

  • Page 87

    Des-1210-28/me metro ethernet managed switch cli reference guide 75 command: enable snmp port_security_violation traps success! Des-1210-28/me:5# disable snmp port_security_violation traps purpose to disable snmp port security violation traps. Syntax disable snmp port_security_violation traps descri...

  • Page 88

    Des-1210-28/me metro ethernet managed switch cli reference guide 76 disable snmp rstpport_state_change traps purpose to disable snmp rstp port state change traps. Syntax disable snmp rstpport_state_change traps description the disable snmp rstpport_state_change traps command disables snmp rstp port ...

  • Page 89

    Des-1210-28/me metro ethernet managed switch cli reference guide 77 parameters none. Restrictions only administrator or operator-level users can issue this command. Example usage: to disable the snmp system device bootup traps on the switch: des-1210-28/me:5# disable snmp system_device_bootup traps ...

  • Page 90

    Des-1210-28/me metro ethernet managed switch cli reference guide 78 success! Des-1210-28/me:5# enable snmp duplicate_ip_detected traps purpose to enable snmp duplicate ip detected traps support on the switch. Syntax enable snmp duplicate_ip_detected traps description the enable snmp duplicate_ip_det...

  • Page 92

    Des-1210-28/me metro ethernet managed switch cli reference guide 80 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...

  • Page 93

    Des-1210-28/me metro ethernet managed switch cli reference guide 81 config … ..01–jan–2000 01:26:16 %copy–w–trap: the copy operation was completed success fully! 158 bytes copied in 00:00:05 [hh:mm:ss] des-1210-28/me:5#.

  • Page 94: Dhcp Relay Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 82 15 15 15 15 dhcp relay commands the dhcp relay commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable dhcp_relay disable dhcp_relay config dhc...

  • Page 95

    Des-1210-28/me metro ethernet managed switch cli reference guide 83 des-1210-28/me:5# disable dhcp_relay purpose to disable dhcp relay server on the switch syntax disable dhcp_relay description the disable dhcp_relay command sets the dhcp relay to be globally disabled on the switch and on all existi...

  • Page 96

    Des-1210-28/me metro ethernet managed switch cli reference guide 84 config dhcp_relay delete ipif system purpose to delete a dhcp server from the dhcp relay server list. Syntax config dhcp_relay delete ipif system description the config dhcp_relay delete ipif system command deletes a dhcp servers de...

  • Page 98

    Des-1210-28/me metro ethernet managed switch cli reference guide 86 example usage: to disable the dhcp relay option 82 on the switch: des-1210-28/me:5# config dhcp_relay option_82 state disable command: config dhcp_relay option_82 state disable success! Des-1210-28/me:5# show dhcp_relay purpose to d...

  • Page 99

    Des-1210-28/me metro ethernet managed switch cli reference guide 87 to enable the dhcp local relay: des-1210-28/me:5# enable dhcp_local_relay command: enable dhcp_local_relay success des-1210-28/me:5# disable dhcp_local_relay purpose to disable the dhcp local relay feature globally syntax disable dh...

  • Page 100

    Des-1210-28/me metro ethernet managed switch cli reference guide 30 • [10

  • Page 101: Gratuitous Arp Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 89 16 16 16 16 gratuitous arp commands the gratuitous arp commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config gratuitous_arp send ipif_status_...

  • Page 102

    Des-1210-28/me metro ethernet managed switch cli reference guide 90 success! Des-1210-28/me:5# config gratuitous_arp send dup_ip_detected purpose used to enable or disable the sending of gratuitous arp requests while duplicate ip addresses are detected. Syntax config gratuitous_arp send send dup_ip_...

  • Page 103

    Des-1210-28/me metro ethernet managed switch cli reference guide 91 restrictions only administrator or operator-level users can issue this command. Example usage: to enable learning of arp entries based on the received gratuitous arp packets: des-1210-28/me:5# config gratuitous_arp learning enable c...

  • Page 104

    Des-1210-28/me metro ethernet managed switch cli reference guide 92 command: disable gratuitous_arp trap success! Des-1210-28/me:5# show gratuitous_arp purpose used to display the gratuitous arp configuration. Syntax show gratuitous_arp description the show gratuitous_arp command is used to display ...

  • Page 105

    Des-1210-28/me metro ethernet managed switch cli reference guide 93 des-1210-28/me:5# config gratuitous_arp send periodically interval 100 command: config gratuitous_arp send periodically interval 100 success! Des-1210-28/me:5#.

  • Page 106

    Des-1210-28/me metro ethernet managed switch cli reference guide 94 17 17 17 17 network monitoring commands the network monitoring commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter show packet ports show error po...

  • Page 107

    Des-1210-28/me metro ethernet managed switch cli reference guide 95 restrictions none. Example usage: to display the packets analysis for port 1: des-1210-28/me:5# show packet ports 1 command: show packet ports 1 port number : 1 frame size frame counts frames/sec frame type total total/sec ---------...

  • Page 109

    Des-1210-28/me metro ethernet managed switch cli reference guide 97 ctrl+c esc q quit space n next page p previous page r refresh des-1210-28/me:5# clear counters purpose to clear the switch’s statistics counters. Syntax clear counters description the clear counters command clears the counters used ...

  • Page 110

    Des-1210-28/me metro ethernet managed switch cli reference guide 98 restrictions none. Example usage: to display the switch history log: des-1210-28/me:5# show log command: show log index time log text -------- ------------------------------ ----------------------------------- 1 03-jan-2000 17:48:21...

  • Page 111

    Des-1210-28/me metro ethernet managed switch cli reference guide 99 command: disable syslog success! Des-1210-28/me:5# show syslog purpose to display the syslog protocol status. Syntax show syslog description the show syslog command displays the syslog status (enabled or disabled). Parameters none. ...

  • Page 112

    Des-1210-28/me metro ethernet managed switch cli reference guide 100 4 warning: warning conditions 5 notice: normal but significant condition 6 informational: informational messages 7 debug: debug-level messages informational − specifies that informational messages are to be sent to the remote host....

  • Page 113

    Des-1210-28/me metro ethernet managed switch cli reference guide 101 local1 − specifies that local use 1 messages are to be sent to the remote host. This corresponds to number 17 from the list above. Local2 − specifies that local use 2 messages are to be sent to the remote host. This corresponds to ...

  • Page 114

    Des-1210-28/me metro ethernet managed switch cli reference guide 102 0 emergency: system is unusable 1 alert: action must be taken immediately 2 critical: critical conditions 3 error: error conditions 4 warning: warning conditions 5 notice: normal but significant condition 6 informational: informati...

  • Page 115

    Des-1210-28/me metro ethernet managed switch cli reference guide 103 21 local use 5 (local5) 22 local use 6 (local6) 23 local use 7 (local7) local0 − specifies that local use 0 messages are to be sent to the remote host. This corresponds to number 16 from the list above. Local1 − specifies that loca...

  • Page 116

    Des-1210-28/me metro ethernet managed switch cli reference guide 104 to delete a previously configured syslog host: des-1210-28/me:5# delete syslog host all command: delete syslog host all success! Des-1210-28/me:5# show syslog host purpose to display the syslog hosts currently configured on the swi...

  • Page 117

    Des-1210-28/me metro ethernet managed switch cli reference guide 105 to determine the copper cables and position of port 3 on the switch: des-1210-28/me:5# cable diagnostic port 3 command: cable diagnostic port 3 perform cable diagnostics ... Port type link status test result fault distance (meters)...

  • Page 119

    Des-1210-28/me metro ethernet managed switch cli reference guide 107 the network, preventing the effective propagation of the new information. Set by the root bridge, this value aids in determining that the switch has spanning tree configuration values consistent with other devices on the bridged la...

  • Page 120

    Des-1210-28/me metro ethernet managed switch cli reference guide 108 automatically or as a metric value. The default value is auto. • auto – automatically sets the speed for forwarding packets to the specified port(s) in the list for optimal efficiency. Default port cost:10mbps port = 2000000. 100mb...

  • Page 121

    Des-1210-28/me metro ethernet managed switch cli reference guide 109 des-1210-28/me:5# config stp ports 1-3 externalcost 19 state enable command: config stp ports 1-3 externalcost 19 state enable success. Des-1210-28/me:5# config stp version purpose to globally set the version of stp on the switch. ...

  • Page 122

    Des-1210-28/me metro ethernet managed switch cli reference guide 110 config stp priority purpose to update the stp instance configuration. Syntax config stp priority instance_id description the config stp priority command updates the stp instance configuration settings on the switch. The mstp uses t...

  • Page 123

    Des-1210-28/me metro ethernet managed switch cli reference guide 111 description the disable stp command sets the spanning tree protocol to be globally disabled on the switch. Parameters none. Restrictions only administrator or operator-level users can issue this command. Example usage: to disable s...

  • Page 124

    Des-1210-28/me metro ethernet managed switch cli reference guide 112 stp status : enabled stp version : rstp bridge priority : 32768 max age : 8 hello time : 2 forward delay : 15 tx hold count : 6 forward bpdu : enabled root cost : 0 root maximum age : 8 root forward delay : 15 root port : 0 root br...

  • Page 125

    Des-1210-28/me metro ethernet managed switch cli reference guide 113 restrictions none. Example usage: to show stp port 1 on switch one: des-1210-28/me:5# show stp ports 1 command: show stp ports 1 mstp port information --------- --------------------- port index:1 , port stp:enabled , p2p:auto , ext...

  • Page 126

    Des-1210-28/me metro ethernet managed switch cli reference guide 114 ------------- -------- --- ---- -------- ---- des-1210-28/me:5# show stp mst_config_id purpose to display the mstp configuration identification. Syntax show stp mst_config_id description the show stp mst_config_id command displays ...

  • Page 127

    Des-1210-28/me metro ethernet managed switch cli reference guide 115 delete stp instance_id purpose to delete instance id on the swiwtch. Syntax delete stp instance_id description the delete stp instance_id command removes the instance id of stp on the switch. Parameters - the value of the instance ...

  • Page 129

    Des-1210-28/me metro ethernet managed switch cli reference guide 117 19 19 19 19 forwarding database commands the forwarding database commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter create fdb port create multi...

  • Page 130

    Des-1210-28/me metro ethernet managed switch cli reference guide 118 restrictions only administrator or operator-level users can issue this command. Example usage: to create a unicast mac fdb entry: des-1210-28/me:5# create fdb default 00-00-00-00-01-02 port 2 command: create fdb default 00-00-00-00...

  • Page 131

    Des-1210-28/me metro ethernet managed switch cli reference guide 119 example usage: to configure multicast mac forwarding: des-1210-28/me:5# config multicast_fdb 1 00-00-00-01-02-03 command: config multicast_fdb 1 00-00-00-01-02-03 success. Des-1210-28/me:5# config fdb aging_time purpose to set the ...

  • Page 132

    Des-1210-28/me metro ethernet managed switch cli reference guide 120 restrictions only administrator or operator-level users can issue this command. Example usage: to delete a permanent fdb entry: des-1210-28/me:5# delete fdb default 00-00-00-00-01-02 command: delete fdb default 00-00-00-00-01-02 su...

  • Page 133

    Des-1210-28/me metro ethernet managed switch cli reference guide 121 show flood_fdb purpose to display the switch’s forwarding database on the switch. Syntax show flood_fdb description the show flood_fdb command displays dynamically learned entries from the switch’s forwarding database. Parameters n...

  • Page 134

    Des-1210-28/me metro ethernet managed switch cli reference guide 122 parameters vlan − the name of the vlan on which the mac address resides. Mac_address − the mac address that will be added to the forwarding table. Restrictions none. Example usage: to display multicast mac address table: des-1210-2...

  • Page 135

    Des-1210-28/me metro ethernet managed switch cli reference guide 123 des-1210-28/me:5# to display the aging time: des-1210-28/me:5# show fdb aging_time command: show fdb aging_time unicast mac address aging time = 300 (seconds) des-1210-28/me:5# config multicast filter purpose to configure multicast...

  • Page 136

    Des-1210-28/me metro ethernet managed switch cli reference guide 124 3 forward unregistered groups 4 forward unregistered groups 5 forward unregistered groups 6 forward unregistered groups 7 forward unregistered groups 8 forward unregistered groups 9 forward unregistered groups 10 forward unregister...

  • Page 137

    Des-1210-28/me metro ethernet managed switch cli reference guide 125 des-1210-28/me:5# delete auto_fdb 172.21.47.13 command: delete auto_fdb 172.21.47.13 success. Des-1210-28/me:5#.

  • Page 138

    Des-1210-28/me metro ethernet managed switch cli reference guide 126 20 20 20 20 broadcast storm control commands the broadcast storm control commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config traffic contr...

  • Page 139

    Des-1210-28/me metro ethernet managed switch cli reference guide 127 to configure traffic control and enable broadcast storm control system wide: des-1210-28/me:5# config traffic control all multicast enable unicast disable br oadcast enable threshold 65 command: config traffic control all multicast...

  • Page 140

    Des-1210-28/me metro ethernet managed switch cli reference guide 128 is cleared. Storm_occured – a notification will be generated when a storm event is detected. Both – a notification will be generated both when a storm event is detected and cleared. None – no notification will be generated when sto...

  • Page 141: Qos Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 129 21 21 21 21 qos commands the qos commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config scheduling weight show scheduling config bandwidth_co...

  • Page 142

    Des-1210-28/me metro ethernet managed switch cli reference guide 130 command parameter tcp_port_mapping delete cos tcp_port_mapping destination_port config cos udp_port_mapping destination_port class show cos udp_port_mapping {destination_port } delete cos udp_port_mapping destination_port config 80...

  • Page 143

    Des-1210-28/me metro ethernet managed switch cli reference guide 131 the max_packets parameter allows the user to specify the maximum number of packets a given hardware priority queue can transmit before allowing the next lowest hardware priority queue to begin transmitting its packets. A value betw...

  • Page 145

    Des-1210-28/me metro ethernet managed switch cli reference guide 133 example usage: t o display the bandwidth control configuration: des-1210-28/me:5# show bandwidth_control command: show bandwidth_control port rx rate tx rate ---- ------- ------- 1 no_limit no_limit 2 no_limit no_limit 3 no_limit n...

  • Page 146

    Des-1210-28/me metro ethernet managed switch cli reference guide 134 show cos mac_mapping purpose to display the cos mac mapping method. Syntax show cos mac_mapping {destination_addr } description the show cos mac_mapping command is used to display the cos mac mapping method on the switch. Parameter...

  • Page 147

    Des-1210-28/me metro ethernet managed switch cli reference guide 135 ip mapping method on the switch. Parameters - specifies the ip address to be mapped. For example, 10.90.90.99. - specifies the number of the switch’s hardware priority queue. Restrictions only administrator or operator-level users ...

  • Page 148

    Des-1210-28/me metro ethernet managed switch cli reference guide 136 example usage: to delete the cos ip mapping on the switch: des-1210-28/me:5# delete cos ip_mapping destination_ip 10.0.0.56 command: delete cos ip_mapping destination_ip 10.0.0.56 success! Des-1210-28/me:5# config cos mapping purpo...

  • Page 149

    Des-1210-28/me metro ethernet managed switch cli reference guide 137 command: show cos mapping port 1-5 port port_priority ethernet_priority ip_priority ------------------------------------------------------- 1 off 802.1p dscp 2 off 802.1p dscp 3 off 802.1p dscp 4 off 802.1p dscp 5 off 802.1p dscp d...

  • Page 150

    Des-1210-28/me metro ethernet managed switch cli reference guide 138 des-1210-28/me:5# show cos protocol_mapping command: show cos protocol_mapping ip protocol class -------------------------------------- 10 1 des-1210-28/me:5# delete cos protocol_mapping purpose to delete the cos protocol mapping b...

  • Page 151

    Des-1210-28/me metro ethernet managed switch cli reference guide 139 success! Des-1210-28/me:5# show cos vlanid_mapping purpose to display the cos vlan id mapping information between an incoming packet’s 802.1p priority value. Syntax show cos vlanid_mapping {vid } description the show cos vlanid_map...

  • Page 152

    Des-1210-28/me metro ethernet managed switch cli reference guide 140 des-1210-28/me:5# config cos tos purpose to configure the cos tos on the switch. Syntax config cos tos value class description the config cos tos command is used to configure the cos tos on the switch. Parameters - specifies the va...

  • Page 153

    Des-1210-28/me metro ethernet managed switch cli reference guide 141 6 0 7 0 des-1210-28/me:5# config cos tcp_port_mapping purpose to configure the cos tcp port mapping on the switch. Syntax config cos tcp_port_mapping destination_port class description the config cos tcp_port_mapping command is use...

  • Page 154

    Des-1210-28/me metro ethernet managed switch cli reference guide 142 des-1210-28/me:5# delete cos tcp_port_mapping purpose to delete the cos tcp port mapping information on the switch. Syntax delete cos tcp_port_mapping destination_port description the delete cos tcp_port_mapping command is used to ...

  • Page 155

    Des-1210-28/me metro ethernet managed switch cli reference guide 143 syntax show cos udp_port_mapping {destination_port 65535>} description the show cos udp _port_mapping command is used to display the cos udp port mapping information on the switch. Parameters - specifies the mapped udp port informa...

  • Page 156

    Des-1210-28/me metro ethernet managed switch cli reference guide 144 on the switch. The switch’s default is to map the incoming 802.1p priority values to the four hardware classes of service according to the following chart: 802.1p value switch priority queue switch priority queue(stack) -----------...

  • Page 157

    Des-1210-28/me metro ethernet managed switch cli reference guide 145 priority-1 -> priority-2 -> priority-3 -> priority-4 -> priority-5 -> priority-6 -> priority-7 -> des-1210-28/me:5# config 802.1p default_priority purpose to assign an 802.1p priority tag to an incoming untagged packet that has no ...

  • Page 158

    Des-1210-28/me metro ethernet managed switch cli reference guide 146 command: show 802.1p default_priority 1-5 port default priority effective priority ---- ---------------- ------------------ 1 0 4 2 0 4 3 0 4 4 0 4 5 0 4 des-1210-28/me:5# config scheduling_mechanism purpose to configure the schedu...

  • Page 159

    Des-1210-28/me metro ethernet managed switch cli reference guide 147 show scheduling_mechanism purpose to display the current traffic scheduling mechanisms in use on the switch. Syntax show scheduling_mechanism description the show scheduling_mechanism command displays the current traffic scheduling...

  • Page 160

    Des-1210-28/me metro ethernet managed switch cli reference guide 148 value (the priority) to a specific queue (the class_id). Parameters –the selected value of priority. The value may be between 0 and 63. – the class_id (queue) mapped to the priority. The value may be between 0 and 3 restrictions on...

  • Page 162

    Des-1210-28/me metro ethernet managed switch cli reference guide 150 success! Des-1210-28/me:5# disable rmon purpose to disable remote monitoring (rmon) status for the snmp function. Syntax disable rmon description the disable rmon command disables remote monitoring (rmon) status for the snmp functi...

  • Page 163

    Des-1210-28/me metro ethernet managed switch cli reference guide 151 − specifies the event that triggers the specific alarm. Falling-threshold − specifies the falling counter value that triggers the falling threshold alarm. − specifies the event that triggers the specific alarm. The possible field v...

  • Page 164

    Des-1210-28/me metro ethernet managed switch cli reference guide 152 was taken. Owner − specifies the device or user that defined the stats. Restrictions only administrator or operator-level users can issue this command. Example usage: to create a rmon collection stats on the switch: des-1210-28/me:...

  • Page 165

    Des-1210-28/me metro ethernet managed switch cli reference guide 153 that requested the rmon information. Restrictions only administrator or operator-level users can issue this command. Example usage: to create a rmon collection history on the switch: des-1210-28/me:5# create rmon collection history...

  • Page 166

    Des-1210-28/me metro ethernet managed switch cli reference guide 154 restrictions only administrator or operator-level users can issue this command. Example usage: to create a rmon collection history on the switch: des-1210-28/me:5# create rmon event 125 description linkrmon owner dlink command: cre...

  • Page 167

    Des-1210-28/me metro ethernet managed switch cli reference guide 155 success! Des-1210-28/me:5#.

  • Page 168: Port Mirroring Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 156 23 23 23 23 port mirroring commands the port mirroring commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable mirror disable mirror config mi...

  • Page 169

    Des-1210-28/me metro ethernet managed switch cli reference guide 157 parameters none. Restrictions only administrator or operator-level users can issue this command. Example usage: to disable mirroring configurations: des-1210-28/me:5# disable mirror command: disable mirror success des-1210-28/me:5#...

  • Page 170

    Des-1210-28/me metro ethernet managed switch cli reference guide 158 show mirror purpose to show the current port mirroring configuration on the switch. Syntax show mirror description the show mirror command displays the current port mirroring configuration on the switch. Parameters none. Restrictio...

  • Page 174

    Des-1210-28/me metro ethernet managed switch cli reference guide 162 pvid – specifies the default vlan associated with the port, by vlan id. Restrictions only administrator or operator-level users can issue this command. Example usage: to set the ingress checking status: des-1210-28/me:5# config gvr...

  • Page 175

    Des-1210-28/me metro ethernet managed switch cli reference guide 163 restrictions only administrator or operator-level users can issue this command. Example usage: to set the gvrp packet join time: des-1210-28/me:5# config gvrp timer join_timer 100 command: config gvrp timer join_timer 100 success. ...

  • Page 176

    Des-1210-28/me metro ethernet managed switch cli reference guide 164 show vlan purpose to display the current vlan configuration on the switch syntax show vlan {} description the show vlan command displays summary information about each vlan including the vlan id, vlan name, the tagging/untagging st...

  • Page 177

    Des-1210-28/me metro ethernet managed switch cli reference guide 165 global gvrp : enable port pvid gvrp state ingress checking acceptable frame type ---- ---- ---------- ----------------------- --------------------------------- 5 1 enable enable all frames 6 1 enable enable all frames 7 1 enable en...

  • Page 178

    Des-1210-28/me metro ethernet managed switch cli reference guide 166 to enable vlan_trunk on the switch: des-1210-28/me:5#enable vlan_trunk command: enable vlan_trunk success. Des-1210-28/me:5# disable vlan_trunk purpose to disable vlan trunking on the switch. Syntax disable vlan_trunk description t...

  • Page 180

    Des-1210-28/me metro ethernet managed switch cli reference guide 168 example usage: to disable asymmetric_vlan on the switch: des-1210-28/me:5# disable asymmetric_vlan command: disable asymmetric_vlan success des-1210-28/me:5# show asymmetric_vlan purpose to display the asymmetric vlan status on the...

  • Page 181

    Des-1210-28/me metro ethernet managed switch cli reference guide 169 description the disable management vlan command disables the management vlan on the switch. Parameters none. Restrictions only administrator or operator-level users can issue this command. Example usage: to disable management vlan ...

  • Page 182

    Des-1210-28/me metro ethernet managed switch cli reference guide 170 management vlan is enable management vlan id : 1 management vlan name: default des-1210-28/me:5#.

  • Page 183: Q-In-Q Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 171 25 25 25 25 q-in-q commands the link aggregation commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable qinq disable qinq show qinq {ports [ ...

  • Page 184

    Des-1210-28/me metro ethernet managed switch cli reference guide 172 disable qinq purpose to disable the q-in-q mode. Syntax disable qinq description the disable qinq command creates a used to disable the q-in-q mode. All dynamically learned l2 address will be cleared. All dynamically registered vla...

  • Page 186

    Des-1210-28/me metro ethernet managed switch cli reference guide 174 to create a vlan translation on the switch: des-1210-28/me:5# create vlan_translation add cvid 2 svid 2 command: create vlan_translation add cvid 2 svid 2 success! Des-1210-28/me:5# show vlan_translation purpose to display the curr...

  • Page 187

    Des-1210-28/me metro ethernet managed switch cli reference guide 175 success! Des-1210-28/me:5#.

  • Page 188: Link Aggregation Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 176 26 26 26 26 link aggregation commands the link aggregation commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter create link_aggregation group_id {...

  • Page 189

    Des-1210-28/me metro ethernet managed switch cli reference guide 177 success. Des-1210-28/me:5# delete link_aggregation purpose to delete a previously configured link aggregation group. Syntax delete link_aggregation group_id description the delete link_aggregation group_id command deletes a previou...

  • Page 192

    Des-1210-28/me metro ethernet managed switch cli reference guide 180 show ipif purpose to display the configuration of an ip interface on the switch. Syntax show ipif description the show ipif command displays the configuration of an ip interface on the switch. Parameters none. Restrictions none. Ex...

  • Page 193

    Des-1210-28/me metro ethernet managed switch cli reference guide 181 28 28 28 28 bpdu attack protection commands the bpdu attack protection commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config bpdu_protection...

  • Page 194

    Des-1210-28/me metro ethernet managed switch cli reference guide 182 how to handle bpdu. That is, when bpdu tunneling is enabled on a port and the bpdu attack protection function is enabled, then bpdu tunneling is effectively disabled on the port. Parameters – specifies a range of ports to be config...

  • Page 196

    Des-1210-28/me metro ethernet managed switch cli reference guide 184 des-1210-28/me:5# enable bpdu_protection command: enable bpdu_protection success! Des-1210-28/me:5# disable bpdu_protection purpose used to globally disablebpdu attack protection on the switch. Syntax disable bpdu_protection descri...

  • Page 197

    Des-1210-28/me metro ethernet managed switch cli reference guide 185 des-1210-28/me:5# show bpdu_protection command: show bpdu_protection bpdu protection global settings -------------------------------------- bpdu protection status : disabled bpdu protection recover time : 60 seconds bpdu protection...

  • Page 198: Mac Notification Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 186 29 29 29 29 mac notification commands the igmp snooping commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable mac_notification disable mac_n...

  • Page 199

    Des-1210-28/me metro ethernet managed switch cli reference guide 187 address notification without changing configuration. Parameters none. Restrictions only administrator or operator-level users can issue this command example usage: to disable mac notification without changing basic configuration: d...

  • Page 200

    Des-1210-28/me metro ethernet managed switch cli reference guide 188 to enable port 7 for mac address table notification: des-1210-28/me:5# config mac_notification ports 7 enable command: config mac_notification ports 7 enable success. Des-1210-28/me:5# show mac_notification purpose used to display ...

  • Page 201

    Des-1210-28/me metro ethernet managed switch cli reference guide 189 port mac address table notification state ---- ---------------------------------------------------- 1 disabled 2 disabled 3 disabled 4 disabled 5 disabled des-1210-28/me:5#.

  • Page 205

    Des-1210-28/me metro ethernet managed switch cli reference guide 193 to configure the igmp snooping querier selection: des-1210-28/me:5# config igmp_snooping querier_selection vlanid 2 disable command: config igmp_snooping querier_selection vlanid 2 disable success ! Des-1210-28/me:5# config igmp_sn...

  • Page 206

    Des-1210-28/me metro ethernet managed switch cli reference guide 194 create igmp_snooping multicast_vlan purpose to create an igmp snooping multicast vlan on the switch. Syntax create igmp_snooping multicast_vlan 2-4094> description the create igmp_snooping multicast_vlan command creates an igmp sno...

  • Page 207

    Des-1210-28/me metro ethernet managed switch cli reference guide 195 command: config igmp_snooping multicast_vlan default state enable success! Des-1210-28/me:5# delete igmp_snooping multicast_vlan purpose to remove an igmp snooping multicast vlan on the switch. Syntax delete igmp_snooping multicast...

  • Page 211

    Des-1210-28/me metro ethernet managed switch cli reference guide 199 restrictions only administrator or operator-level users can issue this command. Example usage: to deny router ports: des-1210-28/me:5# config router_ports_forbidden vlanid 2 add 10-12 command: config router_ports_forbidden vlanid 2...

  • Page 212

    Des-1210-28/me metro ethernet managed switch cli reference guide 200 des-1210-28/me:5# show igmp access_authentication ports 1-5 command: show igmp access_authentication ports 1-5 port authentication state ------ --------------------- 1 disabled 2 disabled 3 disabled 4 disabled 5 disabled des-1210-2...

  • Page 215

    Des-1210-28/me metro ethernet managed switch cli reference guide 203 command: show igmp_snooping forwarding vlan default vlan name : trinity multicast group : 224.0.0.2 mac address : 01-00-5e-00-00-02 port member : 3,4 total entries : 1 des-1210-28/me:5# show igmp_snooping host purpose to display th...

  • Page 216

    Des-1210-28/me metro ethernet managed switch cli reference guide 204 des-1210-28/me:5# show router_ports command: show router_ports vlan name : default static router port : dynamic router port : forbidden router port : total entries : 1 des-1210-28/me:5#.

  • Page 217

    Des-1210-28/me metro ethernet managed switch cli reference guide 205 31 31 31 31 limited ip multicast address commands the 802.1x commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter create mcast_filter_profile prof...

  • Page 218

    Des-1210-28/me metro ethernet managed switch cli reference guide 206 des-1210-28/me:5# create mcast_filter_profile profile_id 1 profile_name rd2 command: create mcast_filter_profile profile_id 1 profile_name rd2 add profile success! Des-1210-28/me:5# config mcast_filter_profile profile_id purpose to...

  • Page 221

    Des-1210-28/me metro ethernet managed switch cli reference guide 209 port : 1 access : deny profile id name multicast addresses ------------ ---------- -------------------------------- 2 rd2 port : 3 access : deny profile id name multicast addresses ---------- ---------- ----------------------------...

  • Page 222

    Des-1210-28/me metro ethernet managed switch cli reference guide 210 example usage: to show maximum multicast group port 12 settings: des-1210-28/me:5# show max_mcast_group ports 12 command: show max_mcast_group ports 12 port maxmcastgroup ---- ---------- 12 256 des-1210-28/me:5#.

  • Page 223: 802.1X Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 211 32 32 32 32 802.1x commands the 802.1x commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable 802.1x disable 802.1x config 802.1x feap [enabl...

  • Page 225

    Des-1210-28/me metro ethernet managed switch cli reference guide 213 show 802.1x purpose to display the 802.1x server information on the switch. Syntax show 802.1x description the show 802.1x command displays the 802.1x port-based network access control server application on the switch. Parameters n...

  • Page 226

    Des-1210-28/me metro ethernet managed switch cli reference guide 214 port number − shows the physical port number on the switch. Auth pae state: initialize / disconnected / connecting / authenticating / authenticated / held / forceauth / forceunauth − shows the current state of the authenticator pae...

  • Page 227

    Des-1210-28/me metro ethernet managed switch cli reference guide 215 show 802.1x auth_configuration purpose to display the current configuration of the 802.1x server on the switch. Syntax show 802.1x auth_configuration {ports } description the show 802.1x auth_configuration command displays the curr...

  • Page 228

    Des-1210-28/me metro ethernet managed switch cli reference guide 216 capability : none admincrldir : both opencrldir : both port control : forceauthorized quietperiod : 60 sec txperiod : 30 sec supptimeout : 30 sec servertimeout : 30 sec maxreq : 2 times reauthperiod : 3600 sec reauthenticate : disa...

  • Page 233

    Des-1210-28/me metro ethernet managed switch cli reference guide 221 des-1210-28/me:5# show radius command: show radius index ip address auth-port acct-port timeout retransmit key (secs) ----- ---------------- --------- ---------- --------- --------------- ------ 1 10.48.74.121 1812 1813 5 10 dlink ...

  • Page 234

    Des-1210-28/me metro ethernet managed switch cli reference guide 222 des-1210-28/me:5# create 802.1x guest_vlan default command: create 802.1x guest_vlan default success. Des-1210-28/me:5# delete 802.1x guest_vlan purpose disables network access to a guest vlan. Syntax delete 802.1x guest vlan descr...

  • Page 235

    Des-1210-28/me metro ethernet managed switch cli reference guide 223 example usage: to configure ports to the guest vlan des-1210-28/me:5# config 802.1x guest_vlan ports 1-5 state enable command: config 802.1x guest_vlan ports 1-5 state enable success. Des-1210-28/me:5# show 802.1x guest_vlan purpos...

  • Page 236

    Des-1210-28/me metro ethernet managed switch cli reference guide 224 des-1210-28/me:5# create 802.1x user dlink command: create 802.1x user dlink enter a case-sensitive new password:**** enter the new password again for confirmation:**** success! Des-1210-28/me:5# show 802.1x user purpose displays t...

  • Page 237

    Des-1210-28/me metro ethernet managed switch cli reference guide 225 des-1210-28/me:5# delete 802.1x user dlink command: delete 802.1x user dlink success! Des-1210-28/me:5# config 802.1x capability ports purpose defines a port or range of ports to be members of the guest vlan. Syntax config 802.1x c...

  • Page 239

    Des-1210-28/me metro ethernet managed switch cli reference guide 227 to configure port security: des-1210-28/me:5# config port_security 1-5 admin_state enable max_learning_addr 5 lock_address_mode deleteonreset command: config port_security 1-5 admin_state enable max_learning_addr 5 lock_ad dress_mo...

  • Page 241

    Des-1210-28/me metro ethernet managed switch cli reference guide 229 des-1210-28/me:5# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll- interval 60 command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 60 success! Des-1210-28/me:5# show sntp purpose to display the sntp informat...

  • Page 242

    Des-1210-28/me metro ethernet managed switch cli reference guide 230 des-1210-28/me:5# enable sntp command: enable sntp success! Des-1210-28/me:5# disable sntp purpose to disable sntp server support. Syntax disable sntp description the disable sntp command disables sntp support. Parameters none. Res...

  • Page 243

    Des-1210-28/me metro ethernet managed switch cli reference guide 231 des-1210-28/me:5# config time 09jan2012 15:50:50 command: config time 09jan2012 15:50:50 success! Des-1210-28/me:5# config time_zone operator purpose to determine the time zone used in order to adjust the system clock. Syntax confi...

  • Page 244

    Des-1210-28/me metro ethernet managed switch cli reference guide 232 • s_date - the day of the month to begin dst, expressed numerically. • s_mth - the month of the year to begin dst, expressed numerically. • s_time - the time of day to begin dst in hours and minutes, expressed using a 24-hour clock...

  • Page 245

    Des-1210-28/me metro ethernet managed switch cli reference guide 233 des-1210-28/me:5# show time command: show time time information ------------------------------------------ current time source : local current time : 09 jan 2012 15:56:02 gmt time zone offset : gmt +02:30 daylight saving time statu...

  • Page 247

    Des-1210-28/me metro ethernet managed switch cli reference guide 235 show arpspoofing purpose to display the arp spoofing information on the switch. Syntax show arpspoofing description the show arpspoofing displays the information, indludes ip address, mac address and port list information on the sw...

  • Page 248

    Des-1210-28/me metro ethernet managed switch cli reference guide 236 config arp_aging time purpose to configure the age-out timer for arp table entries on the switch. Syntax config arp_aging time description the config arp_aging time command sets the maximum amount of time, in minutes, that an arp e...

  • Page 251

    Des-1210-28/me metro ethernet managed switch cli reference guide 239 show log_save_timing purpose used to show the login banner. Syntax show log_save_timing description this command allows display of the log save timing on the switch parameters none. Restrictions none. Usage example: to show the log...

  • Page 252

    Des-1210-28/me metro ethernet managed switch cli reference guide 240 37 37 37 37 command history list commands the command history list commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter ? Show command_history dir...

  • Page 253

    Des-1210-28/me metro ethernet managed switch cli reference guide 241 des-1210-28/me:5# ? Command: ? ? Cable diagnostic port clear arptable clear counters clear dos_prevention counters clear flood_fdb clear igmp_snooping data_driven_group clear log config 802.1p default_priority config 802.1p user_pr...

  • Page 254

    Des-1210-28/me metro ethernet managed switch cli reference guide 242 des-1210-28/me:5# dir purpose to display all commands. Syntax dir description the dir command displays all commands. Parameters none. Restrictions none. Example usage: to display all of the commands: des-1210-28/me:5# dir available...

  • Page 256

    Des-1210-28/me metro ethernet managed switch cli reference guide 244 des-1210-28/me:5# enable ssh command: enable ssh success. The ssh server is enabled. Des-1210-28/me:5# disable ssh purpose to disable ssh. Syntax disable ssh description the disable ssh command disables ssh on the switch. Parameter...

  • Page 257

    Des-1210-28/me metro ethernet managed switch cli reference guide 245 example usage: to configure ssh algorithm: des-1210-28/me:5# config ssh algorithm 3des enable command: config ssh algorithm 3des enable success. Des-1210-28/me:5# config ssh authmode purpose to configure the ssh authentication mode...

  • Page 258

    Des-1210-28/me metro ethernet managed switch cli reference guide 246 des-1210-28/me:5# show ssh authmode command: show ssh authmode the ssh authmode : ------------------------------------------------------------ password : disabled publickey : enabled hostbased : disabled success. Des-1210-28/me:5# ...

  • Page 259

    Des-1210-28/me metro ethernet managed switch cli reference guide 247 to display the ssh server: des-1210-28/me:5# show ssh server command: show ssh server the ssh server configuration : max session : 1 connection timeout : 120 authfail attempts : 20 rekey timeout : never success. Des-1210-28/me:5# s...

  • Page 261: Ssl Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 249 39 39 39 39 ssl commands the ssl commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable ssl disable ssl show ssl download ssl certificate cer...

  • Page 262

    Des-1210-28/me metro ethernet managed switch cli reference guide 250 parameters none. Restrictions only administrator or operator-level users can issue this command. Example usage: to disable the ssl status on the switch: des-1210-28/me:5# disable ssl command: disable ssl success. Des-1210-28/me:5# ...

  • Page 263

    Des-1210-28/me metro ethernet managed switch cli reference guide 251 –the dos path and filename of the ssl file, up to 64 characters, on the tftp server. For example, c:\1210.Had. Restrictions only administrator or operator-level users can issue this command. Example usage: to download ssl on the sw...

  • Page 264

    Des-1210-28/me metro ethernet managed switch cli reference guide 252 40 40 40 40 access authentication control commands the access authentication control commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter create a...

  • Page 266

    Des-1210-28/me metro ethernet managed switch cli reference guide 254 affects the authentication result. For example, if a user enters a sequence of methods like tacacs – local, the switch sends an authentication request to the first tacacs host in the server group. If no response comes from the serv...

  • Page 267

    Des-1210-28/me metro ethernet managed switch cli reference guide 255 des-1210-28/me:5# config authen_login method_list_name trinity method tacacs+ ra dius local command: config authen_login method_list_name trinity method tacacs+ radius local success. Des-1210-28/me:5# delete authen_login method_lis...

  • Page 268

    Des-1210-28/me metro ethernet managed switch cli reference guide 256 example usage: to view all authentication login method list names: des-1210-28/me:5# show authen_login all command: show authen_login all method list name priority method name comment -------------------------- ---------- ---------...

  • Page 269

    Des-1210-28/me metro ethernet managed switch cli reference guide 257 parameters - defines the authen_enable method_list_name to be created as a string of up to 12 alphanumeric characters. Restrictions only administrator or operator-level users can issue this command. Example usage: to create a user-...

  • Page 270

    Des-1210-28/me metro ethernet managed switch cli reference guide 258 • server_group – specifies the server group name for authentication. • none – specifies that no authentication is required to access the switch. Method_list_name – specifies a previously created authen_enable method_list_name. The ...

  • Page 271

    Des-1210-28/me metro ethernet managed switch cli reference guide 259 des-1210-28/me:5# delete authen_enable method_list_name permit command: delete authen_enable method_list_name permit success. Des-1210-28/me:5# show authen_enable purpose to display the list of authentication methods for promoting ...

  • Page 272

    Des-1210-28/me metro ethernet managed switch cli reference guide 260 parameters none. Restrictions only administrator or operator-level users can issue this command. Example usage: to enable the authentication policy: des-1210-28/me:5# enable authen_policy command: enable authen_policy success. Des-...

  • Page 273

    Des-1210-28/me metro ethernet managed switch cli reference guide 261 login methods. Login – configures an application for normal login on the user level, using a previously configured method list. Enable – configures an application for upgrading a normal user level to administrator privileges, using...

  • Page 276

    Des-1210-28/me metro ethernet managed switch cli reference guide 264 des-1210-28/me:5# create authen server_host 10.1.1.121 protocol tacacs+ port 1234 timeout 10 retransmit 5 command: create authen server_host 10.1.1.121 protocol tacacs+ port 1234 timeout 10 retransmit 5 key is empty for tacacs+ or ...

  • Page 277

    Des-1210-28/me metro ethernet managed switch cli reference guide 265 restrictions only administrator or operator-level users can issue this command. Example usage: to configure a tacacs+ authentication server host, with port number 4321, a timeout value of 12 seconds and a retransmit count of 4. Des...

  • Page 278

    Des-1210-28/me metro ethernet managed switch cli reference guide 266 authentication server hosts previously created on the switch. The following parameters are displayed: ip address – the ip address of the authentication server host. Protocol – the protocol used by the server host. Possible results ...

  • Page 279

    Des-1210-28/me metro ethernet managed switch cli reference guide 267 des-1210-28/me:5# create authen server_group dlinkgroup command: create authen server_group dlinkgroup success. Des-1210-28/me:5# config authen server_group purpose to configure a user-defined authentication server host. Syntax con...

  • Page 280

    Des-1210-28/me metro ethernet managed switch cli reference guide 268 delete authen server_group purpose to delete a user-defined authentication server host. Syntax delete authen server_group description the delete authen server_ group command deletes a user-defined authentication server group previo...

  • Page 281

    Des-1210-28/me metro ethernet managed switch cli reference guide 269 des-1210-28/me:5# show authen server_group command: show authen server_group group name ip address protocol ------------------ --------------- -------------- tacacs+ 10.1.1.121 tacacs+ radius 10.1.1.121 radius total entries : 2 des...

  • Page 282

    Des-1210-28/me metro ethernet managed switch cli reference guide 270 privileges to administrator privileges, the user is prompted to enter the password configured here. After entering the config admin local_enable command, the user is prompted to enter the old password, then a new password in a stri...

  • Page 283: Lacp Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 271 41 41 41 41 lacp commands the lacp commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config lacp port_priority [timeout ] show lacp {} each com...

  • Page 284

    Des-1210-28/me metro ethernet managed switch cli reference guide 272 displayed. If no parameter is specified, the system displays the current lacp status for all ports. Restrictions none. Example usage: to display lacp information for port1~5: des-1210-28/me:5# show lacp 1-5 command: show lacp 1-5 p...

  • Page 285: Lldp Commands

    Des-1210-28/me metro ethernet managed switch cli reference guide 273 42 42 42 42 lldp commands the lldp commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter enable lldp disable lldp config lldp message_tx_interval c...

  • Page 286

    Des-1210-28/me metro ethernet managed switch cli reference guide 274 description the enable lldp command enables the link layer discovery protocol (lldp) on the switch. Parameters none restrictions only administrator or operator–level users can issue this command. Example usage: to enable lldp on th...

  • Page 287

    Des-1210-28/me metro ethernet managed switch cli reference guide 275 des-1210-28/me:5# config lldp message_tx_interval 10 command: config lldp message_tx_interval 10 success! Des-1210-28/me:5# config lldp message_tx_hold_multiplier purpose to define the lldp hold-multiplier on the switch. Syntax con...

  • Page 288

    Des-1210-28/me metro ethernet managed switch cli reference guide 276 config lldp tx_delay purpose to configure the lldp tx_delay on the switch. Syntax config lldp tx_delay description the config lldp tx_delay command specifies the delay between successive lldp frame transmissions initiated by value/...

  • Page 289

    Des-1210-28/me metro ethernet managed switch cli reference guide 277 des-1210-28/me:5# show lldp command: show lldp lldp system information chassis id subtype : mac address chassis id : 00-b2-fd-da-ee-eb system name : system description : des-1210-28/me 6.00.011 system capabilities : bridge lldp con...

  • Page 290

    Des-1210-28/me metro ethernet managed switch cli reference guide 278 des-1210-28/me:5# show lldp ports 1 port id : 1 ------------------------------------------------------------------ admin status : tx_and_rx notification status : disable advertised tlvs option : port description disable port descri...

  • Page 295

    Des-1210-28/me metro ethernet managed switch cli reference guide 283 des-1210-28/me:5# config lldp ports all dot1_tlv_vlan_name vlanid 1 disable command: config lldp ports all dot1_tlv_vlan_name vlanid 1 disable success! Des-1210-28/me:5# show lldp mgt_addr purpose to display the link layer discover...

  • Page 296

    Des-1210-28/me metro ethernet managed switch cli reference guide 284 des-1210-28/me:5# show lldp statistics ports 15 command: show lldp statistics ports 15 port id : 15 --------------------------------------------- lldpstatstxportframestotal : 0 lldpstatsrxportframesdiscardedtotal : 0 lldpstatsrxpor...

  • Page 297

    Des-1210-28/me metro ethernet managed switch cli reference guide 285 43 43 43 43 access control list commands the access control list commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter create access_profile [ ethe...

  • Page 298

    Des-1210-28/me metro ethernet managed switch cli reference guide 286 create access_profile purpose to create an access profile on the switch by examining the ethernet part of the packet header. Masks entered are combined with the values the switch finds in the specified frame header fields. Specific...

  • Page 299

    Des-1210-28/me metro ethernet managed switch cli reference guide 287 tcp) for the action to take place. • src_port_mask – specifies a tcp port mask for the source port. • dst_port_mask – specifies a tcp port mask for the destination port. • flag_mask– specifies the appropriate flag_mask parameter. U...

  • Page 300

    Des-1210-28/me metro ethernet managed switch cli reference guide 288 description the config access_profile ethernet command defines the rules used by the switch to either filter or forward packets based on the ethernet part of each packet header. Parameters profile_id – specifies the access profile ...

  • Page 301

    Des-1210-28/me metro ethernet managed switch cli reference guide 289 • source_ip – specifies that the access profile applies only to packets with this source ip address. • protocol_id – specifies that the switch examine the protocol field in each packet and if this field contains the value entered h...

  • Page 302

    Des-1210-28/me metro ethernet managed switch cli reference guide 290 forwarded by the switch. • replace_dscp_with – specifies a value to be written to the dscp field of an incoming packet that meets the criteria specified in the first part of the command. This value will over-write the value in the ...

  • Page 303

    Des-1210-28/me metro ethernet managed switch cli reference guide 291 configured access profiles. Parameters profile_id – specifies the access profile to be displayed. This value is assigned to the access profile when it is created with the create access_profilecommand. If the profile_id parameter is...

  • Page 304

    Des-1210-28/me metro ethernet managed switch cli reference guide 292 ethernet_type – specifies the ethernet type mask. Ip - specifies that the switch examines the ip fields in each packet with special emphasis on one or more of the following: • type – specifies that the switch examine each frame’s i...

  • Page 306

    Des-1210-28/me metro ethernet managed switch cli reference guide 294 port in their header. • flag – specifies the appropriate flag parameter. • src_port –specifies that the cpu access profile applies only to packets that have this tcp source port in their header. Udp – specifies that the switch exam...

  • Page 307

    Des-1210-28/me metro ethernet managed switch cli reference guide 295 show cpu_access_profile purpose to view the cpu access profile entry currently set in the switch. Syntax show cpu_access_profile {profile_id } description the show cpu access_profilecommand is used view the current cpu interface fi...

  • Page 308

    Des-1210-28/me metro ethernet managed switch cli reference guide 296 44 44 44 44 traffic segmentation commands the traffic segmentation commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter config traffic_segmentatio...

  • Page 309

    Des-1210-28/me metro ethernet managed switch cli reference guide 297 restrictions none. Example usage: to display the current traffic segmentation configuration on the switch: des-1210-28/me:5# show traffic_segmentation command: show traffic_segmentation port forward portlist ---- ------------------...

  • Page 311

    Des-1210-28/me metro ethernet managed switch cli reference guide 299 to show the safeguard engine status on the switch: des-1210-28/me:5# show safeguard_engine command: show safeguard_engine safe guard : enabled des-1210-28/me:5#.

  • Page 312: Device Specifications

    Des-1210-28/me metro ethernet managed switch cli reference guide 300 46 46 46 46 3 3 3 3 device specifications this appendix contains the device specifications, and contains the following topics: • technical specifications • cable lengths technical specifications performance transmission method stor...

  • Page 313

    Des-1210-28/me metro ethernet managed switch cli reference guide 301 general standards ieee 802.3 10base-t ethernet ieee 802.3u 100base-tx fast ethernet ieee 802.3z gigabit ethernet ieee 802.1q tagged vlan ieee 802.1p tagged packets ieee 802.3ab 1000base-t ieee 802.3x full-duplex flow control ansi/i...

  • Page 314: Cable Lengths

    Des-1210-28/me metro ethernet managed switch cli reference guide 302 cable lengths use the following table to as a guide for the maximum cable lengths: standard media type maximum distance mini gbic dem-310gt: sfp transceiver for 1000base-lx, single-mode fiber module 10km dem-311gt: sfp transceiver ...