D-Link DES-1210-52/ME Cli Reference Manual

CLI Reference Guide
Product Model: DES-1210-52/ME
L2 Managed Metro Ethernet Switch
Version 1.00 (release 20.01)
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 logo are trademarks of D-Link Computer Corporation; Microsoft and Windows are registered trademarks of Microsoft Corporation.
Other trademarks and trade names may be used in th is document to refer to either the entities claiming the marks and names or their products. D-Link
Computer Corporation disclaims any proprietary interest in trademarks and trade names other than its own.
FCC Warning This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance
with this user’s guide, may cause harmful interference to radio communications. Operation of this
equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at hisown expense.
CE Mark Warning This is a Class A product. In a domestic environment, this product may cause radio interference in
which case the user may be required to take adequate measures.
Warnung!
Dies ist ein Produkt der Klasse A. Im Wohnbereich kann dieses Produkt Funkstoerungen verursachen. In diesem Fall kann vom Benutzer verlangt werden, angemessene Massnahmen zu ergreifen.
Precaución!
Este es un producto de Clase A. En un entorno doméstico, puede causar interferencias de radio, en cuyo case, puede requerirse al usuario para que adopte las medidas adecuadas.
Attention!
Ceci est un produit de classe A. Dans un environnement domestique, ce produit pourrait causer des interférences radio, auquel cas l`utilisateur devrait prendre les mesures adéquates.
Attenzione!
Il presente prodotto appartiene alla classe A. Se utilizzato in ambiente domestico il prodotto può causare interferenze radio, nel cui caso è possibile che l`utente debba assumere provvedimenti adeguati.
VCCI Warning
Sept, 2014
Table of Contents
INTRODUCTION ...................................................................................................................................................... 1
USING THE CONSOLE CLI ..................................................................................................................................... 3
COMMAND SYNTAX ............................................................................................................................................... 6
BASIC SWITCH COMMANDS ................................................................................................................................. 8
enable password encryption .................................................................................................................................................. 9
disable password encryption ................................................................................................................................................. 9
create account .......................................................................................................................................................................10
config account ......................................................................................................................................................................11
show account ........................................................................................................................................................................11
delete account .......................................................................................................................................................................12
reset account .........................................................................................................................................................................12
show session .........................................................................................................................................................................13
show switch ..........................................................................................................................................................................13
enable jumbo_frame .............................................................................................................................................................14
disable jumbo_frame ............................................................................................................................................................14
show jumbo_frame ...............................................................................................................................................................15
config bootrom password .....................................................................................................................................................15
enable clipaging ...................................................................................................................................................................16
disable clipaging ..................................................................................................................................................................16
enable web ...........................................................................................................................................................................16
disable web ...........................................................................................................................................................................17
enable autoconfig ................................ ................................................................ ................................ .................................17
disable autoconfig ................................................................................................................................................................18
config autoconfig .................................................................................................................................................................18
show autoconfig ...................................................................................................................................................................19
enable auto learning .............................................................................................................................................................19
disable auto learning ............................................................................................................................................................19
save ......................................................................................................................................................................................20
reload config ........................................................................................................................................................................20
reboot ...................................................................................................................................................................................21
reset ......................................................................................................................................................................................24
logout ...................................................................................................................................................................................25
ping ......................................................................................................................................................................................25
ping6 ....................................................................................................................................................................................26
traceroute ................................................................................................ ................................................................ ..............27
traceroute6 ............................................................................................................................................................................27
show cpu port .......................................................................................................................................................................28
reset cpu port ........................................................................................................................................................................29
enable telnet .........................................................................................................................................................................29
disable telnet ........................................................................................................................................................................30
telnet .....................................................................................................................................................................................30
config time_range ................................................................................................................................................................30
show time_range ..................................................................................................................................................................31
show tech support .................................................................................................................................................................32
clear tech support .................................................................................................................................................................33
DHCP AUTOIMAGE COMMANDS ........................................................................................................................ 34
enable autoimage ..................................................................................................................................................................34
disable autoimage .................................................................................................................................................................34
show autoimage....................................................................................................................................................................35
SMTP SERVER COMMANDS ............................................................................................................................... 36
enable smtp ..........................................................................................................................................................................36
disable smtp .........................................................................................................................................................................36
config smtp ...........................................................................................................................................................................37
show smtp ............................................................................................................................................................................37
smtp sent_testmsg ................................................................................................................................................................38
MODIFY BANNER AND PROMPT COMMANDS ................................................................................................. 40
config command_prompt .....................................................................................................................................................40
config greeting_message ......................................................................................................................................................41
show greeting_message ........................................................................................................................................................42
SWITCH PORT COMMANDS ................................................................................................................................ 43
config ports ..........................................................................................................................................................................43
config ports ..........................................................................................................................................................................44
show ports ............................................................................................................................................................................45
delete ports ...........................................................................................................................................................................45
LOOPBACK DETECTION COMMANDS ............................................................................................................... 47
enable loopdetect ..................................................................................................................................................................47
disable loopdetect .................................................................................................................................................................47
config loopdetect mode ........................................................................................................................................................48
config loopdetect ports .........................................................................................................................................................48
config loopdetect ..................................................................................................................................................................49
show loopdetect....................................................................................................................................................................49
DOS PREVENTION COMMANDS ......................................................................................................................... 51
config dos_prevention dos_type ..........................................................................................................................................51
show dos_prevention ............................................................................................................................................................52
enable dos_prevention trap_log ...........................................................................................................................................53
disable dos_prevention trap_log...........................................................................................................................................53
PPPOE CIRCUIT ID INSERTION COMMANDS .................................................................................................... 54
config pppoe circuit_id_insertion state ................................................................................................................................54
config pppoe circuit_id_insertion ports ................................................................................................................................55
show pppoe circuit_id_insertion ..........................................................................................................................................55
show pppoe circuit_id_insertion ports .................................................................................................................................56
DHCP SERVER SCREENING COMMANDS ......................................................................................................... 57
config filter dhcp_server ......................................................................................................................................................57
config filter dhcp_server ......................................................................................................................................................58
config filter dhcp_server log state ........................................................................................................................................59
show filter dhcp_server ........................................................................................................................................................59
show dhcp_server screening ................................................................................................................................................59
create filter dhcpv6_server permit_entry .............................................................................................................................60
delete filter dhcpv6_server permit_entry .............................................................................................................................61
config filter dhcpv6_server ports .........................................................................................................................................61
config filter dhcpv6_server log state ....................................................................................................................................62
show filter dhcpv6_server ....................................................................................................................................................62
IP-MAC-PORT BINDING COMMANDS ................................................................................................................. 63
create address_binding ip_mac ............................................................................................................................................64
config address_binding ip_mac ports ...................................................................................................................................65
config address_binding ip_mac log ......................................................................................................................................65
show address_binding ip_mac log .......................................................................................................................................66
config address_binding auto_scan .......................................................................................................................................66
config address_binding auto_scan ipv6address ...................................................................................................................66
delete address_binding .........................................................................................................................................................67
show address_binding ..........................................................................................................................................................68
show address_binding auto_scan list ...................................................................................................................................69
enable address_binding dhcp_snoop ....................................................................................................................................69
disable address_binding dhcp_snoop ...................................................................................................................................69
config address_binding dhcp_snoop max_entry ports .........................................................................................................70
show address_binding dhcp_snoop ......................................................................................................................................70
enable address_binding dhcp_pd_snoop ................................................................ ................................ ..............................71
disable address_binding dhcp_pd_snoop .............................................................................................................................71
show address_binding dhcp_pd_snoop ................................................................................................................................72
enable address_binding roaming ..........................................................................................................................................72
disable address_binding roaming .........................................................................................................................................73
show address_binding roaming ............................................................................................................................................73
clear address_binding dhcp_snoop binding_entry ports ......................................................................................................73
NETWORK MANAGEMENT (SNMP) COMMANDS ............................................................................................. 75
create snmp user ...................................................................................................................................................................78
delete snmp user ...................................................................................................................................................................79
show snmp user ....................................................................................................................................................................79
create snmp view ..................................................................................................................................................................80
delete snmp view ..................................................................................................................................................................80
show snmp view ...................................................................................................................................................................81
create snmp community .......................................................................................................................................................81
delete snmp community .......................................................................................................................................................82
show snmp community ........................................................................................................................................................82
config snmp engineID ..........................................................................................................................................................83
show snmp engineID ............................................................................................................................................................83
create snmp group ................................................................................................................................................................84
delete snmp group ................................................................................................................................................................85
show snmp global state ........................................................................................................................................................86
show snmp groups ................................................................................................................................................................86
create snmp host ...................................................................................................................................................................87
delete snmp host ...................................................................................................................................................................88
show snmp host ....................................................................................................................................................................88
create snmp v6host ...............................................................................................................................................................89
delete snmp v6host ...............................................................................................................................................................90
show snmp v6host ................................................................................................................................................................90
enable trusted_host ...............................................................................................................................................................91
disable trusted_host ................................................................................................................................ ..............................91
create trusted_host ................................................................................................................................................................92
show trusted_host .................................................................................................................................................................93
delete trusted_host ................................................................................................................................................................93
enable snmp traps .................................................................................................................................................................94
disable snmp traps ................................................................................................................................................................94
enable snmp authenticate_traps ............................................................................................................................................95
disable snmp authenticate_traps ................................................................ ................................................................ ...........95
show snmp traps ...................................................................................................................................................................95
enable snmp linkchange_traps .............................................................................................................................................96
disable snmp linkchange_traps.............................................................................................................................................96
config snmp linkchange_traps ports ....................................................................................................................................97
show snmp traps linkchange_traps .......................................................................................................................................97
config snmp system_contact ................................................................................................................................................98
config snmp system_location ...............................................................................................................................................98
config snmp system_name ...................................................................................................................................................99
config snmp warmstart_traps ...............................................................................................................................................99
config snmp coldstart_traps ...............................................................................................................................................100
enable snmp .......................................................................................................................................................................100
disable snmp .......................................................................................................................................................................100
enable snmp DHCP_ screening traps .................................................................................................................................101
disable snmp DHCP_ screening traps ................................................................................................................................101
enable snmp DHCPv6_ screening traps .............................................................................................................................101
disable snmp DHCPv6_ screening traps ............................................................................................................................102
enable snmp IMPB_violation traps ................................................................................................................................ ....102
disable snmp IMPB_violation traps ...................................................................................................................................103
enable snmp firmware_upgrade_state traps .......................................................................................................................103
disable snmp firmware_upgrade_state traps ......................................................................................................................103
enable snmp LBD traps ......................................................................................................................................................104
disable snmp LBD traps .....................................................................................................................................................104
enable snmp port_security_violation traps .........................................................................................................................105
disable snmp port_security_violation traps ........................................................................................................................105
enable snmp rstpport_state_change traps ...........................................................................................................................105
disable snmp rstpport_state_change traps ..........................................................................................................................106
enable snmp duplicate_IP_detected traps...........................................................................................................................106
disable snmp duplicate_IP_detected traps ................................................................ ................................ ..........................107
DOWNLOAD/UPLOAD COMMANDS ................................................................................................................. 108
download ............................................................................................................................................................................108
upload .................................................................................................................................................................................109
config configuration config_id ...........................................................................................................................................110
show firmware information ................................................................................................................................................110
show config ........................................................................................................................................................................111
show boot_file ....................................................................................................................................................................112
config firmware image_id ..................................................................................................................................................112
DHCP RELAY COMMANDS ................................................................................................................................ 114
enable dhcp_relay ..............................................................................................................................................................115
disable dhcp_relay ..............................................................................................................................................................115
config dhcp_relay port .......................................................................................................................................................116
config dhcp_relay add ipif System .....................................................................................................................................116
config dhcp_relay delete ipif System .................................................................................................................................117
config dhcp_relay hops .....................................................................................................................................................117
config dhcp_relay vlan ......................................................................................................................................................117
config dhcp_relay option_82 ..............................................................................................................................................118
config dhcp_relay port_option_82 .....................................................................................................................................119
show dhcp_relay port_option_82 .......................................................................................................................................120
show dhcp_relay ................................................................................................................................................................120
enable dhcp_local_relay .....................................................................................................................................................121
disable dhcp_local_relay ....................................................................................................................................................121
config dhcp_local_relay port ..............................................................................................................................................122
config dhcp_local_relay vlan .............................................................................................................................................122
show dhcp_local_relay .......................................................................................................................................................123
enable dhcpv6_relay ..........................................................................................................................................................123
disable dhcpv6_relay ..........................................................................................................................................................124
show dhcpv6_relay ............................................................................................................................................................124
config dhcpv6_relay ...........................................................................................................................................................125
config dhcpv6_relay hop_count .........................................................................................................................................125
config dhcpv6_relay option_18 ..........................................................................................................................................126
config dhcpv6_relay option_37 ..........................................................................................................................................127
config dhcpv6_relay option_38 ..........................................................................................................................................127
show dhcpv6_relay option_38 ...........................................................................................................................................128
CPU PROTECTION COMMANDS ....................................................................................................................... 129
enable cpu_protect .............................................................................................................................................................129
disable cpu_protect ............................................................................................................................................................129
config cpu_protect type ......................................................................................................................................................130
show cpu_protect ...............................................................................................................................................................130
GRATUITOUS ARP COMMANDS ....................................................................................................................... 132
config gratuitous_arp send ipif_status_up ................................................................................................ ..........................132
config gratuitous_arp send dup_ip_detected ......................................................................................................................133
config gratuitous_arp learning ...........................................................................................................................................133
enable gratuitous_arp log ...................................................................................................................................................134
disable gratuitous_arp log ..................................................................................................................................................134
show gratuitous_arp ...........................................................................................................................................................135
config gratuitous_arp send periodically .............................................................................................................................135
POWER SAVING COMMANDS ........................................................................................................................... 137
config power_saving mode ................................................................................................................................................137
config power_saving ..........................................................................................................................................................137
show power_saving ................................................................................................................................ ............................138
NETWORK MONITORING COMMANDS ............................................................................................................ 139
show packet ports ...............................................................................................................................................................139
show error ports .................................................................................................................................................................140
show utilization ..................................................................................................................................................................141
clear counters .....................................................................................................................................................................142
save log ..............................................................................................................................................................................142
clear log ..............................................................................................................................................................................142
show log .............................................................................................................................................................................143
enable syslog ......................................................................................................................................................................143
disable syslog .....................................................................................................................................................................144
show syslog ........................................................................................................................................................................144
create syslog host ...............................................................................................................................................................145
config syslog host...............................................................................................................................................................147
delete syslog host ...............................................................................................................................................................149
show syslog host ................................................................................................................................................................149
cable diagnostic port ..........................................................................................................................................................150
config syslogintimeout .......................................................................................................................................................150
SPANNING TREE COMMANDS.......................................................................................................................... 153
config stp ............................................................................................................................................................................153
config stp ports ...................................................................................................................................................................154
config stp version ...............................................................................................................................................................156
config stp fbpdu .................................................................................................................................................................156
config stp priority ...............................................................................................................................................................157
enable stp ...........................................................................................................................................................................157
disable stp ................................................................................................ ................................................................ ...........157
show stp .............................................................................................................................................................................158
show stp ports ....................................................................................................................................................................159
show stp instance ...............................................................................................................................................................159
show stp mst_config_id......................................................................................................................................................160
create stp instance_id .........................................................................................................................................................160
delete stp instance_id .........................................................................................................................................................161
config stp instance_id .........................................................................................................................................................161
config stp mst_config_id ....................................................................................................................................................162
config stp mst_ports ...........................................................................................................................................................163
config stp trap.....................................................................................................................................................................164
FORWARDING DATABASE COMMANDS ......................................................................................................... 165
create fdb ............................................................................................................................................................................165
create multicast_fdb ...........................................................................................................................................................166
config multicast_fdb ..........................................................................................................................................................166
config fdb aging_time ........................................................................................................................................................167
delete fdb ............................................................................................................................................................................167
enable flood_fdb ................................................................................................................................................................168
disable flood_fdb................................................................................................................................................................168
config flood_fdb .................................................................................................................................................................169
show flood_fdb ..................................................................................................................................................................169
clear flood_fdb ...................................................................................................................................................................169
show flow_meter ................................................................................................................................................................170
show multicast_fdb ............................................................................................................................................................170
show fdb .............................................................................................................................................................................171
config multicast filter .........................................................................................................................................................172
show multicast filter port_mode .........................................................................................................................................172
create auto_fdb ...................................................................................................................................................................173
delete auto_fdb ...................................................................................................................................................................173
show auto_fdb ....................................................................................................................................................................174
BROADCAST STORM CONTROL COMMANDS ............................................................................................... 175
config traffic control ..........................................................................................................................................................175
config traffic control auto_recover_time ............................................................................................................................176
show traffic control ............................................................................................................................................................176
config traffic trap ...............................................................................................................................................................177
PASSWORD RECOVERY COMMANDS ............................................................................................................. 178
enable password_recovery .................................................................................................................................................178
disable password_recovery ................................................................................................................................................178
show password_recovery ...................................................................................................................................................179
QOS COMMANDS ............................................................................................................................................... 180
config scheduling ................................ ................................................................................................ ...............................181
show scheduling .................................................................................................................................................................182
config bandwidth_control ..................................................................................................................................................183
show bandwidth_control ....................................................................................................................................................184
config cos mac_mapping....................................................................................................................................................184
show cos mac_mapping .....................................................................................................................................................185
delete cos mac_mapping ....................................................................................................................................................185
config cos ip_mapping ................................................................................................................................ .......................186
show cos ip_mapping .........................................................................................................................................................186
delete cos ip_mapping ........................................................................................................................................................187
config cos ipv6_mapping ...................................................................................................................................................187
show cos ipv6_mapping .....................................................................................................................................................187
delete cos ipv6_mapping ....................................................................................................................................................188
config cos ipv6_tc_mapping ..............................................................................................................................................188
delete cos ipv6_tc_mapping ...............................................................................................................................................189
show cos ipv6_tc_mapping ................................................................................................................................................189
config cos mapping ............................................................................................................................................................190
show cos mapping ..............................................................................................................................................................190
config cos protocol_mapping .............................................................................................................................................191
show cos protocol_mapping ...............................................................................................................................................191
delete cos protocol_mapping ..............................................................................................................................................192
config cos vlanid_mapping ................................................................................................................................................192
show cos vlanid_mapping ..................................................................................................................................................193
delete cos vlanid_mapping .................................................................................................................................................193
config cos tos value ................................................................................................................................ ............................193
show cos tos .......................................................................................................................................................................194
config cos tcp_port_mapping .............................................................................................................................................195
show cos tcp_port_mapping ...............................................................................................................................................195
delete cos tcp_port_mapping ..............................................................................................................................................195
config cos udp_port_mapping ............................................................................................................................................196
show cos udp _port_mapping .............................................................................................................................................196
delete cos udp_port_mapping ............................................................................................................................................197
config 802.1p user_priority ................................................................................................................................................197
show 802.1p user_priority ..................................................................................................................................................198
config 802.1p default_priority ...........................................................................................................................................199
show 802.1p default_priority .............................................................................................................................................199
config scheduling_mechanism ...........................................................................................................................................200
show scheduling_mechanism .............................................................................................................................................200
config dscp mode ...............................................................................................................................................................201
config dscp_mapping .........................................................................................................................................................201
show dscp_mapping ...........................................................................................................................................................202
RMON COMMANDS ............................................................................................................................................ 203
enable rmon ........................................................................................................................................................................203
disable rmon .......................................................................................................................................................................204
create rmon alarm ...............................................................................................................................................................204
delete rmon alarm ...............................................................................................................................................................205
create rmon collection stats ................................................................................................................................................205
delete rmon collection stats ................................................................................................................................................206
create rmon collection history ............................................................................................................................................206
delete rmon collection history ............................................................................................................................................207
create rmon event ...............................................................................................................................................................207
delete rmon event ...............................................................................................................................................................208
show rmon ..........................................................................................................................................................................208
show rmon statistics ...........................................................................................................................................................209
PORT MIRRORING COMMANDS ....................................................................................................................... 210
enable mirror ......................................................................................................................................................................210
disable mirror .....................................................................................................................................................................210
config mirror target ............................................................................................................................................................211
show mirror ........................................................................................................................................................................212
VLAN COMMANDS ............................................................................................................................................. 213
create vlan ................................................................................................................................................................ ..........214
delete vlan ..........................................................................................................................................................................214
config vlan .........................................................................................................................................................................215
config gvrp .........................................................................................................................................................................215
config gvrp timer ................................................................................................................................................................216
enable gvrp .........................................................................................................................................................................217
disable gvrp ........................................................................................................................................................................217
show vlan ...........................................................................................................................................................................217
create dot1v_protocol_group .............................................................................................................................................218
config dot1v_protocol_group .............................................................................................................................................219
delete dot1v_protocol_group .............................................................................................................................................219
show dot1v_protocol_group ...............................................................................................................................................220
config port dot1v ports all ..................................................................................................................................................220
show port dot1v ..................................................................................................................................................................221
show gvrp ...........................................................................................................................................................................222
show gvrp timer .................................................................................................................................................................222
enable vlan_trunk ...............................................................................................................................................................223
disable vlan_trunk ..............................................................................................................................................................223
show vlan_trunk .................................................................................................................................................................223
config vlan_trunk ports ......................................................................................................................................................224
enable asymmetric_vlan .....................................................................................................................................................224
disable asymmetric_vlan ....................................................................................................................................................225
show asymmetric_vlan .......................................................................................................................................................225
enable pvid auto_assign .....................................................................................................................................................226
disalbe pvid auto_assign ....................................................................................................................................................226
show pvid auto_assign .......................................................................................................................................................226
Q-IN-Q COMMANDS ............................................................................................................................................ 228
enable qinq .........................................................................................................................................................................228
disable qinq ................................................................ ................................................................................................ ........229
show qinq ...........................................................................................................................................................................229
config qinq ports ................................................................................................................................................................230
config qinq inner_tpid ........................................................................................................................................................230
create vlan_translation .......................................................................................................................................................231
show vlan_translation ........................................................................................................................................................231
delete vlan_translation cvid ................................................................................................................................................232
LINK AGGREGATION COMMANDS .................................................................................................................. 233
create link_aggregation ................................ ................................................................ ................................ ......................233
delete link_aggregation ................................ ................................................................................................ ......................234
config link_aggregation group_id ......................................................................................................................................234
config link_aggregation algorithm ................................................................ ................................................................ .....235
config link_aggregation state .............................................................................................................................................235
show link_aggregation .......................................................................................................................................................236
BASIC IP COMMANDS ........................................................................................................................................ 237
create ipif ...........................................................................................................................................................................237
delete ipif ...........................................................................................................................................................................238
enable ipif ................................................................ ................................................................................................ ...........238
disable ipif ..........................................................................................................................................................................238
config ipif ...........................................................................................................................................................................239
BPDU ATTACK PROTECTION COMMANDS .................................................................................................... 241
config bpdu_protection ports .............................................................................................................................................241
config bpdu_protection recovery_timer .............................................................................................................................242
config bpdu_protection ......................................................................................................................................................243
enable bpdu_protection ................................ ................................................................................................ ......................243
disable bpdu_protection .....................................................................................................................................................244
show bpdu_protection ........................................................................................................................................................244
ETHERNET OAM COMMANDS .......................................................................................................................... 246
config ethernet_oam ports ................................ ................................................................................................ ..................246
config ethernet_oam ports ................................ ................................................................................................ ..................247
config ethernet_oam ports ................................ ................................................................................................ ..................247
show ethernet_oam ports....................................................................................................................................................248
show ethernet_oam ports....................................................................................................................................................249
show ethernet_oam ports....................................................................................................................................................250
show ethernet_oam ports....................................................................................................................................................251
clear ethernet_oam ports ....................................................................................................................................................252
MAC NOTIFICATION COMMANDS .................................................................................................................... 253
enable mac_notification .....................................................................................................................................................253
disable mac_notification ....................................................................................................................................................253
config mac_notification .....................................................................................................................................................254
config mac_notification ports ............................................................................................................................................254
show mac_notification .......................................................................................................................................................255
show mac_notification ports ..............................................................................................................................................255
IGMP SNOOPING COMMANDS.......................................................................................................................... 257
config igmp_snooping ........................................................................................................................................................258
config igmp_snooping querier ...........................................................................................................................................259
create igmp_snooping multicast_vlan ................................................................................................................................260
config igmp_snooping multicast_vlan ................................................................ ................................ ...............................260
delete igmp_snooping multicast_vlan ................................................................................................................................261
config igmp_snooping multicast_vlan_group ....................................................................................................................261
create igmp_snooping static_group ....................................................................................................................................262
config igmp_snooping static_group ...................................................................................................................................262
delete igmp_snooping static_group ....................................................................................................................................263
show igmp_snooping static_group .....................................................................................................................................263
config igmp_snooping data_driven_learning .....................................................................................................................264
config igmp_snooping data_driven_learning .....................................................................................................................265
clear igmp_snooping data_driven_group ...........................................................................................................................265
config router_ports .............................................................................................................................................................266
config router_ports_forbidden ...........................................................................................................................................266
config igmp access_authentication ports ............................................................................................................................267
show igmp access_authentication ports .............................................................................................................................267
enable igmp_snooping .......................................................................................................................................................268
disable igmp_snooping.......................................................................................................................................................268
show igmp_snooping .........................................................................................................................................................269
show igmp_snooping group ...............................................................................................................................................270
show igmp_snooping forwarding .......................................................................................................................................270
show igmp_snooping host ................................................................................................................................ ..................271
show igmp_snooping multicast_vlan .................................................................................................................................272
show igmp_snooping multicast_vlan_group ......................................................................................................................272
show router_ports ...............................................................................................................................................................273
DIGITAL DIAGNOSTIC MONITORING COMMANDS......................................................................................... 274
config ddm ports ................................................................................................................................................................274
config ddm power_unit ......................................................................................................................................................275
show ddm ports ..................................................................................................................................................................275
MLD SNOOPING COMMANDS ........................................................................................................................... 277
enable mld_snooping .........................................................................................................................................................278
disable mld_snooping ........................................................................................................................................................278
config mld_snooping ..........................................................................................................................................................279
create mld_snooping multicast_vlan ..................................................................................................................................279
config mld_snooping multicast_vlan .................................................................................................................................280
show mld_snooping multicast_vlan ................................................................ ................................ ...................................281
delete mld_snooping multicast_vlan ..................................................................................................................................281
config mld_snooping multicast_vlan_group ......................................................................................................................282
show mld_snooping multicast_vlan_group ........................................................................................................................282
config mld_snooping mrouter_ports ..................................................................................................................................283
config mld_snooping mrouter_port_forbidden ..................................................................................................................283
config mld_snooping querier .............................................................................................................................................284
config mld_snooping data_driven_learning .......................................................................................................................285
clear mld_snooping data_driven_group .............................................................................................................................286
show mld_snooping ...........................................................................................................................................................286
show mld_snooping forwarding ................................................................ ................................................................ .........287
show mld_snooping group .................................................................................................................................................288
show mld_snooping mrouter_ports ....................................................................................................................................288
show mld_snooping host ....................................................................................................................................................289
LIMITED IP MULTICAST ADDRESS COMMANDS ............................................................................................ 290
create mcast_filter_profile .................................................................................................................................................290
config mcast_filter_profile profile_id ...............................................................................................................................291
config mcast_filter_profile profile_name ................................................................ ................................ ..........................291
config mcast_filter_profile ipv6 ................................ ................................ ................................................................ ........292
delete mcast_filter_profile .................................................................................................................................................292
show mcast_filter_profile...................................................................................................................................................293
config limited_multicast_addr ...........................................................................................................................................294
show limited_multicast_addr .............................................................................................................................................294
config max_mcast_group ...................................................................................................................................................295
show max_mcast_group .....................................................................................................................................................295
LAYER 2 PROTOCOL TUNNELING COMMANDS ............................................................................................ 297
enable l2protocol_tunnel ....................................................................................................................................................297
disable l2protocol_tunnel ...................................................................................................................................................297
config l2protocol_tunnel ....................................................................................................................................................298
show l2protocol_tunnel ......................................................................................................................................................298
802.1X COMMANDS ............................................................................................................................................ 300
enable 802.1x .....................................................................................................................................................................301
disable 802.1x ....................................................................................................................................................................301
show 802.1x .......................................................................................................................................................................302
show 802.1x auth_state ................................................................................................ ................................ ......................302
show 802.1x auth_configuration ........................................................................................................................................303
config 802.1x auth_parameter ports ...................................................................................................................................304
config 802.1x init ................................................................................................ ................................ ...............................305
config 802.1x auth_protocol ..............................................................................................................................................306
config 802.1x reauth ..........................................................................................................................................................306
config radius add ................................................................................................................................................................307
config radius delete ............................................................................................................................................................308
config radius .......................................................................................................................................................................308
show radius ........................................................................................................................................................................309
config 802.1x fwd_pdu system ..........................................................................................................................................309
show 802.1x fwd_pdu system status ..................................................................................................................................310
config 802.1x auth_mode ................................................................................................................................ ...................310
create 802.1x guest_vlan ....................................................................................................................................................311
delete 802.1x guest_vlan ....................................................................................................................................................311
config 802.1x guest_vlan ports ..........................................................................................................................................312
show 802.1x guest_vlan .....................................................................................................................................................312
create 802.1x user ..............................................................................................................................................................313
show 802.1x user................................................................................................................................................................313
delete 802.1x user ..............................................................................................................................................................314
config 802.1x capability ports ............................................................................................................................................314
PORT SECURITY COMMANDS .......................................................................................................................... 316
config port_security ...........................................................................................................................................................316
show port_security .............................................................................................................................................................317
delete port_security _entry .................................................................................................................................................318
TIME AND SNTP COMMANDS ........................................................................................................................... 319
config sntp ..........................................................................................................................................................................319
show sntp ...........................................................................................................................................................................320
enable sntp .........................................................................................................................................................................320
disable sntp .........................................................................................................................................................................321
config time .........................................................................................................................................................................321
config time_zone operator ..................................................................................................................................................322
config dst ............................................................................................................................................................................322
show time ...........................................................................................................................................................................323
ARP COMMANDS ................................................................................................................................................ 325
create ArpSpoofing ............................................................................................................................................................325
show ArpSpoofing .............................................................................................................................................................326
delete ArpSpoofing ............................................................................................................................................................326
config arp_aging time ........................................................................................................................................................327
clear arptable ......................................................................................................................................................................327
create arpentry ....................................................................................................................................................................328
config arpentry ...................................................................................................................................................................328
delete arpentry ....................................................................................................................................................................329
show arpentry ................................................................................................................................................................ .....329
show arpentry aging_time ..................................................................................................................................................330
ROUTING TABLE COMMANDS.......................................................................................................................... 331
create iproute ......................................................................................................................................................................331
delete iproute ......................................................................................................................................................................332
show iproute .......................................................................................................................................................................332
STATIC MAC_BASED VLAN COMMANDS ....................................................................................................... 333
create mac_based_vlan mac_address .................................................................................................................................333
delete mac_based_vlan.......................................................................................................................................................334
show mac_based_vlan ........................................................................................................................................................334
D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS .............................................................. 335
config duld ports ................................................................................................................................................................335
show duld ports ..................................................................................................................................................................336
config duld recover_timer ..................................................................................................................................................336
show duld recover_timer ....................................................................................................................................................337
IPV6 NEIGHBOR DISCOVERY COMMANDS ..................................................................................................... 338
create ipv6 neighbor_cache ................................................................................................................................................338
delete ipv6 neighbor_cache ................................................................................................................................................339
show ipv6 neighbor_cache .................................................................................................................................................339
show ipv6 nd ......................................................................................................................................................................340
config ipv6 nd ns ipif System .............................................................................................................................................340
create ipv6route default ......................................................................................................................................................341
delete ipv6route default ......................................................................................................................................................341
show ipv6route ................................ ................................................................ ................................ ...................................342
enable ipif_ipv6_link_local_auto System ..........................................................................................................................342
disable ipif_ipv6_link_local_auto System .........................................................................................................................343
BANNER COMMANDS ........................................................................................................................................ 344
config log_save_timing ......................................................................................................................................................344
show log_save_timing ........................................................................................................................................................345
show log_software_module ...............................................................................................................................................345
show log .............................................................................................................................................................................346
COMMAND HISTORY LIST COMMANDS .......................................................................................................... 347
? ..........................................................................................................................................................................................347
show command_history .....................................................................................................................................................348
dir .......................................................................................................................................................................................349
SSH COMMANDS ................................................................................................................................................ 350
enable ssh ...........................................................................................................................................................................350
disable ssh ..........................................................................................................................................................................351
config ssh algorithm ................................................................................................ ................................ ...........................351
config ssh authmode ...........................................................................................................................................................352
show ssh authmode ............................................................................................................................................................352
config ssh server.................................................................................................................................................................353
show ssh server ..................................................................................................................................................................353
show ssh algorithm .............................................................................................................................................................354
config ssh user ....................................................................................................................................................................355
show ssh user authmode .....................................................................................................................................................355
SSL COMMANDS ................................................................................................................................................ 356
enable ssl ............................................................................................................................................................................356
disable ssl ...........................................................................................................................................................................357
show ssl ................................................................................................................................................................ ..............357
download ssl certificate ......................................................................................................................................................358
ACCESS AUTHENTICATION CONTROL COMMANDS .................................................................................... 359
create authen_login method_list_name ..............................................................................................................................360
config authen_login ............................................................................................................................................................360
delete authen_login method_list_name ..............................................................................................................................362
show authen_login .............................................................................................................................................................362
show authen_policy ............................................................................................................................................................363
create authen_enable method_list_name ............................................................................................................................363
config authen_enable .........................................................................................................................................................364
delete authen_enable method_list_name ............................................................................................................................365
show authen_enable ...........................................................................................................................................................366
enable authen_policy ..........................................................................................................................................................366
disable authen_policy .........................................................................................................................................................367
config authen application ...................................................................................................................................................367
show authen application .....................................................................................................................................................368
config authen parameter .....................................................................................................................................................369
show authen parameter .......................................................................................................................................................369
create authen server_host ...................................................................................................................................................369
config authen server_host ..................................................................................................................................................371
delete authen server_host ...................................................................................................................................................372
show authen server_host ....................................................................................................................................................372
create authen server_group ................................................................................................................................................373
config authen server_group ................................................................................................................................................374
delete authen server_group ................................................................................................................................................374
show authen server_group ..................................................................................................................................................375
enable admin ......................................................................................................................................................................376
config admin local_enable .................................................................................................................................................376
LACP COMMANDS ............................................................................................................................................. 378
config lacp port_priority ....................................................................................................................................................378
show lacp ...........................................................................................................................................................................378
config lacp_ports ................................................................................................................................................................379
LLDP COMMANDS .............................................................................................................................................. 381
enable lldp ..........................................................................................................................................................................382
disable lldp .........................................................................................................................................................................382
config lldp message_tx_interval.........................................................................................................................................382
config lldp message_tx_hold_multiplier ................................................................................................ ............................383
config lldp reinit_delay ......................................................................................................................................................383
config lldp tx_delay ...........................................................................................................................................................384
config lldp notification_interval ................................................................ ................................................................ .........384
show lldp ............................................................................................................................................................................384
show lldp ports ...................................................................................................................................................................385
show lldp local_ports .........................................................................................................................................................386
show lldp remote_ports ......................................................................................................................................................386
config lldp ports .................................................................................................................................................................387
show lldp power_pse_tlv....................................................................................................................................................391
show lldp mgt_addr ............................................................................................................................................................392
show lldp statistics .............................................................................................................................................................393
ACCESS CONTROL LIST COMMANDS ............................................................................................................ 394
create access_profile ..........................................................................................................................................................395
config access_profile ..........................................................................................................................................................397
delete access_profile ..........................................................................................................................................................401
show access_profile ...........................................................................................................................................................401
create cpu_access_profile ...................................................................................................................................................402
config cpu_access_profile ..................................................................................................................................................403
delete cpu_access_profile ...................................................................................................................................................405
enable cpu_interface_filtering ............................................................................................................................................406
disable cpu_interface_filtering ...........................................................................................................................................406
show cpu_access_profile ....................................................................................................................................................407
config flow_meter profile_id .............................................................................................................................................407
TRAFFIC SEGMENTATION COMMANDS .......................................................................................................... 409
config traffic_segmentation ...............................................................................................................................................409
show traffic_segmentation .................................................................................................................................................409
SAFEGUARD COMMANDS ................................................................................................................................ 411
config safeguard_engine ....................................................................................................................................................411
show safeguard_engine ................................ ................................................................ ................................ ......................411
DEVICE SPECIFICATIONS ................................................................................................................................. 413
Technical Specifications ....................................................................................................................................................413
Supported Transceivers ......................................................................................................................................................415
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
1
INTRODUCTION
The DES-1210-52/ME is L2 Metro Ethernet switche. It consists of 48 10/100Mbps ports plus 4 combo 10/100/1000Base-T ports and 2 dedicated SFP ports.
The Switch can be managed through the Switch’s serial port, Telnet, or the Web-based management agent. The Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces.
This manual provides a reference for all of the commands contained in the CLI. Configuration and management of the Switch via the Web-based management agent is discussed in the Manual. For detailed information on installing hardware please refer also to the Manual.
Accessing the Switch via the Serial Port. The Switch’s serial port’s default settings are as follows:
9600 bps No parity 8 data bits 1 stop bit
A computer running a terminal emulation program capable of emulating a VT-100 terminal and a serial port configured as above then connected to the Switch’s serial port via an RJ-45 cable.
With the serial port properly connected to a management computer, the following screen should be visible. If this screen does not appear, try pressing Ctrl+r to refresh the console screen.
Figure 1–1 Initial CLI screen
There is no initial username or password. Just press the Enter key twice to display the CLI input cursor
DES-1210-52/ME:5#. This is the command line where all commands are input. Setting the Switch’s IP Address
Each Switch must be assigned its own IP Address, which is used for communication with an SNMP
network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s default IP
address is 10.90.90.90. You can change the default Switch IP address to meet the specification of your networking address scheme.
The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, but can be found on the initial boot console screen – shown below.
1
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
Figure 12 Boot Screen
The Switch’s MAC address can also be found in the Web management program on the Switch
Information (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 which case the actual address assigned to the Switch must be known.
The IP address may be set using the Command Line Interface (CLI) over the console serial port as follows: Starting at the command line prompt, enter the command config ipif System ipaddress xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x’s represent the IP address to be assigned to the IP interface named System and the y’s represent the corresponding subnet mask.
Alternatively, users can enter config ipif System ipaddress xxx.xxx.xxx.xxx/z. Where the x’s represent the IP address to be assigned to the IP interface named System and the z represents the corresponding number of subnets in CIDR notation.
The IP interface named System on the Switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the Switch’s Telnet or Web-based management agent.
Figure 1–3 Assigning an IP Address
In the above example, the Switch was assigned an IP address of 10.90.90.91 with a subnet mask of
255.0.0.0. The system message Success. indicates that the command was executed Success.fully. The Switch can now be configured and managed via Telnet, SNMP MIB browser and the CLI or via the Web­based management agent using the above IP address to connect to the Switch.
2
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
NOTE: Switch configuration settings are saved to non-volatile RAM using the save command.
The current configuration will then be retained in the Switch’s NV-RAM, and reloaded when the Switch is rebooted. If the Switch is rebooted without using the save command, the last configuration saved to NV-RAM is loaded.
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. The console can also be used over the network using the TCP/IP Telnet protocol. The console program can be used to configure the Switch to use a SNMP-based network management software over the network.
This chapter describes how to use the console interface to access the Switch, change its settings, and monitor its operation.
Connecting to the Switch
The console interface is used by connecting the Switch to a VT100-compatible terminal or a computer running an ordinary terminal emulator program (for example, the HyperTerminal program included with the Windows operating system) using an RJ-45 serial cable. Your terminal parameters will need to be set to:
VT-100 compatible  9600 bps  8 data bits  No parity  One stop bit  No flow control
The same functions may also be accessed over a Telnet interface. Once an IP address for the Switch has been set, A Telnet program can be used (in VT-100 compatible terminal mode) to access and control the Switch. All of the screens are identical, whether accessed from the console port or from a Telnet interface.
After the Switch reboots and you have to logged in, the console looks like this:
Figure 2–1 Initial Console Screen after Logging In
Commands are entered at the command prompt, DES-1210-52/ME:5# There are a number of helpful features included in the CLI. Entering the ? command displays a list of all
of the top-level commands.
3
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
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 command config account was entered with the parameter <username>. The CLI will then prompt to enter the <username> with the message, command: config account. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
In addition, after typing any given command plus one space, users can see all of the next possible sub­commands, in sequential order, by pressing the ? key.
To re-enter the previous command at the command prompt, press the up arrow cursor key. The previous command appears at the command prompt.
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 command: config account prompt. The up arrow cursor control key
4
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
was pressed to re-enter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed.
All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual angle brackets < > indicate a numerical value or character string. The < > can also indicate a word with a number for character allowed.
If a command is entered that is unrecognized by the CLI, the top-level commands are displayed under the Available commands: prompt.
Figure 2–5 Available Commands
The top-level commands consist of commands such as show or config. Most of these commands require one or more parameters to narrow the top-level command. This is equivalent to show what? or config what? Where the what? is the next parameter.
For example, entering the show command with no additional parameters, the CLI will then display all of the possible next parameters.
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 command, followed by the account parameter. The CLI then displays the user accounts configured on the Switch.
5
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
NOTE: All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted function that changes text case.
<angle brackets>
Purpose
Encloses a variable or value that must be specified.
Syntax
create account [admin | operator | power-user |user] <username 15>
Description
In the above syntax example, supply a username in the <username 15> space. Do not type the angle brackets.
Example Command
create account admin newadmin1
[square brackets]
Purpose
Encloses a required value or set of required arguments. One value or argument can be specified.
Syntax
create account [admin | operator | power-user |user] <username 15>
Description
In the above syntax example, specify admin, oper or a user level account to be created. Do not type the square brackets.
Example Command
create account user newuser1
| vertical bar
Purpose
Separates two or more mutually exclusive items in a list, one of which must be entered.
Syntax
create account [admin | operator | power-user |user] <username 15>
Description
In the above syntax example, specify admin, oper, or user. Do not type the vertical bar.
Example Command
create account user newuser1
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 uses the same syntax.
All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted function that changes text case.
6
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
{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 will be reset to default value. Are you sure you want to proceed with system reset now? (Y/N)[N] N
Line Editing Key Usage
Delete
Deletes the character under the cursor and then shifts the remaining characters in the line to the left.
Backspace
Deletes the character to the left of the cursor and then shifts the remaining characters in the line to the left.
Left Arrow
Moves the cursor to the left.
Right Arrow
Moves the cursor to the right.
Up Arrow
Repeats the previously entered command. Each time the up arrow is pressed, the command previous to that displayed appears. This way it is possible to review the command history for the current session. Use the down arrow to progress sequentially forward through the command history list.
Down Arrow
The down arrow displays the next command in the command history entered in the current session. This displays each command sequentially as it was entered. Use the up arrow to review previous commands.
Tab
Shifts the cursor to the next field to the left.
Multiple Page Display Control Keys
Space
Displays the next page.
CTRL+c
Stops the display of remaining pages when multiple pages are to be displayed.
ESC
Stops the display of remaining pages when multiple pages are to be displayed.
n
Displays the next page.
p
Displays the previous page.
q
Stops the display of remaining pages when multiple pages are to be displayed.
r
Refreshes the pages currently displayed.
a
Displays the remaining pages without pausing between pages.
Enter
Displays the next line or table entry.
7
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
Command
Parameter
enable password encryption
disable password encryption
create account
[admin | operator | power-user | user] <username 15>
config account
<username 15>
show account
delete account
<username 15>
show session
show switch
enable jumbo_frame
disable jumbo_frame
show jumbo_frame
enable clipaging
disable clipaging
enable web
{<tcp_port_number 1-65535>}
disable web
enable autoconfig
disable autoconfig
save
{[config config_id <value 1-2> | log]}
reload config
config_id <value 1-2>
reboot
reset
{[config | system | account | password | cpu]} {force_agree}
logout
ping
<ipaddr> {times <value 1-255> | timeout <sec 1-99> | size <short 0-2080>}
ping6
<ipv6_addr> {frequency <sec 0-86400> | size <value 1-1522> | source_ip <ipv6_addr> | timeout <sec 1-99> | times <value 1-255>}
enable telnet
disable telnet
config time_range
<range_name 20> [[hours start_time <start_time 32> end_time <end_time 32>
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.
8
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
Command
Parameter
weekdays <daylist 32> date from_day year <start_year 2011-2029> month <start_mth 1-12> date <start_date 1-31> to_day year <end_year 2011-2029> month <end_mth 1-12> date <end_date 1-31>] | delete]
show time_range
show tech support
Clear tech support
enable password encryption
Purpose
Used to enable password encryption on a user account.
Syntax
enable password encryption
Description
The user account configuration information will be stored in the configuration file, and can be applied to the system at a time in the future. If the password encryption is enabled, the password will be in encrypted form. If password encryption is disabled and the user specifies the password in encrypted form, or if the password has 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 issue this command.
DES-1210-52/ME:5# enable password encryption Command: enable password encryption
Success.
DES-1210-52/ME:5#
disable password encryption
Purpose
Used to disable password encryption on a user account.
Syntax
disable password encryption
Description
The user account configuration information will be stored in the configuration file, and can be applied to the system at a time in the future. If the password encryption is enabled, the password will be in encrypted form. If password encryption is disabled and the user specifies the password in encrypted form, or if the password has 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.
Each command is listed in detail, as follows:
Example usage:
To enable password encryption on the Switch:
9
Restrictions
Only Administrat level users can issue this command.
DES-1210-52/ME:5# disable password encryption Command: disable password encryption
Success.
DES-1210-52/ME:5#
create account
Purpose
To create user accounts.
Syntax
create account [admin | operator | power-user | user] <username 15>
Description
The create account command creates an administrator, operator, or user account that consists of a username and an optional 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 password on the same line.
Parameters
admin Name of the administrator account. opeator − Specify an operator level account. power-user − Specify an power-user level account. user Specify a user account with read-only permissions. <username 1-15> − The account username may be between 1 and
15 characters. password <password_string> {encrypted} - the account password
can be included, and (optionally) can be encrypted.
Restrictions
Only Administrator level users can issue this command. Usernames can be between 1 and 15 characters. Passwords can be between 0 and 15 characters.
NOTE: You are not required to enter a User Name. However, if you do not enter a User Name, you cannot perform the following actions:
Create a monitor or operator (level 1 or level 14) users until an administrator user (level 15) is defined.
Delete the last administrator user if there are monitor and/or operator users defined.
DES-1210-52/ME:5# create account admin dlink Command: create account admin dlink
Example usage:
To disable password encryption on the Switch:
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
Example usage:
To create an administrator-level user account with the username dlink:
10
Enter a case-sensitive new password:***** Enter the new password again for confirmation:*****
Success.
DES-1210-52/ME:5#
config account
Purpose
To change the password for an existing user account.
Syntax
config account <username 15>
Description
The config account command changes the password for a user account that has been created using the create account command.
The system prompts for the account’s new password, which may be
between 0 and 15 characters.
Parameters
<username 15> − the account username.
Restrictions
Only Administrator-level users can issue this command.
DES-1210-52/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-52/ME:5#
show account
Purpose
To display information about all user accounts on the Switch.
Syntax
show account
Description
The show account command displays all account usernames and their access levels created on the Switch. Up to 31 user accounts can exist on the Switch at one time.
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
DES-1210-52/ME:5# show account Command: show account
Username Access Level
------------------ ---------------------
Example usage:
To configure the user password of dlink account:
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
Example usage:
To display the account which have been created:
11
dlink Admin
Total Entries : 1
DES-1210-52/ME:5#
delete account
Purpose
To delete an existing user account.
Syntax
delete account <username 15>
Description
The delete account command deletes a user account that has been created using the create account command.
Parameters
<username 15> − the account username.
Restrictions
Only Administrator-level users can issue this command.
DES-1210-52/ME:5# delete account System Command: delete account System
Success.
DES-1210-52/ME:5#
reset account
Purpose
To deletes all the previously created accounts.
Syntax
reset account
Description
The reset account command deletes all the previously created accounts.
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
DES-1210-52/ME:5# reset account Command: reset account
Are you sure to proceed with clean account?(y/n)y Success.
DES-1210-52/ME:5#
Example usage:
To delete the user account ‘System’:
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
Example usage:
To deletes all the previously created accounts:
12
Loading...
+ 403 hidden pages