D-Link Metro Ethernet Managed Switch
D-Link Metro Ethernet Managed Switch
Reproduction in any manner whatsoever without the written permission of D-Link Corporation is strictly forbidden.
Trademarks used in this text: D-Link and the D-Link logo are trademarks of D-Link Corporation; Microsoft and
Windows are registered trademarks of Microsoft Corporation.
Other trademarks and trade names may be used in this document to refer to either the entities claiming the
marks and names or their products. D-Link 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 B 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 his own expense.
CE Mark Warning
This is a Class B 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 B. 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 B. 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 B. 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 B. Se utilizzato in ambiente domestico il prodotto può causare
interferenze radio, nel cui caso è possibile che l`utente debba assumere provvedimenti adeguati.
VCCI Warning
March, 2014
Table of Contents
INTRODUCTION ...................................................................................................................................................... 1
USING THE COMMAND LINE INTERFACE ........................................................................................................... 2
COMMAND SYNTAX ............................................................................................................................................... 5
BASIC SWITCH COMMANDS ................................................................................................................................. 7
enable password encryption .................................................................................................................................................. 8
disable password encryption ................................................................................................................................................. 8
create account ........................................................................................................................................................................ 9
config account ......................................................................................................................................................................10
show account ........................................................................................................................................................................10
delete account .......................................................................................................................................................................11
show session.........................................................................................................................................................................11
show switch ..........................................................................................................................................................................12
enable web ...........................................................................................................................................................................12
disable web...........................................................................................................................................................................13
enable autoconfig .................................................................................................................................................................13
disable autoconfig ................................................................................................................................................................14
show autoconfig ...................................................................................................................................................................14
show config ..........................................................................................................................................................................15
enable jumbo_frame .............................................................................................................................................................16
disable jumbo_frame ............................................................................................................................................................16
show jumbo_frame ...............................................................................................................................................................17
save ......................................................................................................................................................................................17
reboot ...................................................................................................................................................................................18
reset system ..........................................................................................................................................................................18
logout ...................................................................................................................................................................................19
ping ......................................................................................................................................................................................19
ping6 ....................................................................................................................................................................................20
enable telnet .........................................................................................................................................................................21
disable telnet ........................................................................................................................................................................21
config time_range ................................................................................................................................................................21
show time_range ..................................................................................................................................................................22
MODIFY BANNER AND PROMPT COMMANDS .................................................................................................24
config command_prompt .....................................................................................................................................................24
config greeting_message ......................................................................................................................................................25
show greeting_message ........................................................................................................................................................26
SWITCH PORT COMMANDS ................................................................................................................................27
config ports ..........................................................................................................................................................................27
show ports ............................................................................................................................................................................28
show duld ports ....................................................................................................................................................................29
LOOPBACK DETECTION COMMANDS ...............................................................................................................30
enable loopdetect..................................................................................................................................................................30
disable loopdetect.................................................................................................................................................................30
config loopdetect mode ........................................................................................................................................................31
config loopdetect ports .........................................................................................................................................................31
config loopdetect ..................................................................................................................................................................32
show loopdetect....................................................................................................................................................................32
PPPOE CIRCUIT ID INSERTION COMMANDS ....................................................................................................34
config pppoe circuit_id_insertion state ................................................................................................................................34
config pppoe circuit_id_insertion ports................................................................................................................................35
show pppoe circuit_id_insertion ..........................................................................................................................................36
show pppoe circuit_id_insertion ports .................................................................................................................................36
NETWORK MANAGEMENT (SNMP) COMMANDS .............................................................................................37
create snmp user ...................................................................................................................................................................39
delete snmp user ...................................................................................................................................................................39
show snmp user ....................................................................................................................................................................40
create snmp view ..................................................................................................................................................................40
delete snmp view ..................................................................................................................................................................41
show snmp view ...................................................................................................................................................................42
create snmp community .......................................................................................................................................................42
delete snmp community .......................................................................................................................................................43
show snmp community ........................................................................................................................................................43
config snmp engineID ..........................................................................................................................................................44
create snmp group ................................................................................................................................................................44
delete snmp group ................................................................................................................................................................46
show snmp groups ................................................................................................................................................................46
show snmp global state ........................................................................................................................................................47
create snmp host ...................................................................................................................................................................47
delete snmp host ...................................................................................................................................................................48
show snmp host ....................................................................................................................................................................49
create snmp v6host ...............................................................................................................................................................50
delete snmp v6host ...............................................................................................................................................................51
show snmp v6host ................................................................................................................................................................51
enable snmp traps .................................................................................................................................................................52
disable snmp traps ................................................................................................................................................................52
show snmp traps ...................................................................................................................................................................52
enable snmp authenticate traps.............................................................................................................................................53
disable snmp authenticate traps ............................................................................................................................................54
config syslocation ................................................................................................................................................................54
config sysname .....................................................................................................................................................................54
enable snmp .........................................................................................................................................................................55
disable snmp .........................................................................................................................................................................55
enable snmp fiber_port_link traps ........................................................................................................................................56
disable snmp fiber_port_link traps .......................................................................................................................................56
enable snmp LBD traps ........................................................................................................................................................56
disable snmp LBD traps .......................................................................................................................................................57
enable snmp port_security_violation traps ...........................................................................................................................57
disable snmp port_security_violation traps ..........................................................................................................................58
enable snmp twistedpair_port_link traps ..............................................................................................................................58
disable snmp twistedpair_port_link traps .............................................................................................................................58
DOWNLOAD/UPLOAD COMMANDS ...................................................................................................................60
download ..............................................................................................................................................................................60
upload ...................................................................................................................................................................................61
DHCP RELAY COMMANDS ..................................................................................................................................63
enable dhcp_relay ................................................................................................................................................................63
disable dhcp_relay................................................................................................................................................................64
config dhcp_relay add ipif System .......................................................................................................................................64
config dhcp_relay delete ipif System ...................................................................................................................................65
config dhcp_relay hops .......................................................................................................................................................65
config dhcp_relay option_82................................................................................................................................................66
show dhcp_relay ..................................................................................................................................................................67
enable dhcp_local_relay .......................................................................................................................................................67
disable dhcp_local_relay ......................................................................................................................................................68
config dhcp_local_relay .......................................................................................................................................................68
show dhcp_local_relay .........................................................................................................................................................69
enable dhcpv6_relay ............................................................................................................................................................69
disable dhcp6_relay..............................................................................................................................................................69
show dhcpv6_relay ..............................................................................................................................................................70
config dhcpv6_relay .............................................................................................................................................................70
config dhcpv6_relay hop_count ...........................................................................................................................................71
config dhcpv6_relay option_37 ............................................................................................................................................71
NETWORK MONITORING COMMANDS ..............................................................................................................73
show packet ports .................................................................................................................................................................73
show error ports ...................................................................................................................................................................74
show utilization ....................................................................................................................................................................75
clear counters .......................................................................................................................................................................76
clear log................................................................................................................................................................................76
show log ...............................................................................................................................................................................76
save log ................................................................................................................................................................................77
enable syslog ........................................................................................................................................................................77
disable syslog .......................................................................................................................................................................78
create syslog host .................................................................................................................................................................78
config syslog host.................................................................................................................................................................80
delete syslog host .................................................................................................................................................................82
show syslog host ..................................................................................................................................................................83
cable diagnostic port ............................................................................................................................................................83
FORWARDING DATABASE COMMANDS ...........................................................................................................85
create fdb vlan ......................................................................................................................................................................85
create multicast_fdb .............................................................................................................................................................86
config multicast_fdb ............................................................................................................................................................86
config fdb aging_time ..........................................................................................................................................................87
delete fdb ..............................................................................................................................................................................87
show multicast_fdb ..............................................................................................................................................................88
show fdb ...............................................................................................................................................................................88
config multicast port_filtering_mode ...................................................................................................................................89
show multicast port_filtering_mode.....................................................................................................................................90
BROADCAST STORM CONTROL COMMANDS .................................................................................................91
config traffic control ............................................................................................................................................................91
show traffic control ..............................................................................................................................................................92
config traffic_control trap ....................................................................................................................................................92
QOS COMMANDS .................................................................................................................................................94
config bandwidth_control ....................................................................................................................................................94
show bandwidth_control ......................................................................................................................................................95
config qos mode ...................................................................................................................................................................95
show qos mode .....................................................................................................................................................................96
config scheduling_mechanism .............................................................................................................................................96
show scheduling_mechanism ...............................................................................................................................................97
config dscp_mapping ...........................................................................................................................................................97
show dscp_mapping .............................................................................................................................................................98
RMON COMMANDS ..............................................................................................................................................99
enable rmon ..........................................................................................................................................................................99
disable rmon .......................................................................................................................................................................100
create rmon alarm...............................................................................................................................................................100
delete rmon alarm...............................................................................................................................................................101
create rmon collection stats ................................................................................................................................................101
delete rmon collection stats ................................................................................................................................................102
create rmon collection history ............................................................................................................................................102
delete rmon collection history ............................................................................................................................................103
create rmon event ...............................................................................................................................................................103
delete rmon event ...............................................................................................................................................................104
show rmon ..........................................................................................................................................................................104
PORT MIRRORING COMMANDS .......................................................................................................................106
enable mirror ......................................................................................................................................................................106
disable mirror .....................................................................................................................................................................106
create mirror id ...................................................................................................................................................................107
config mirror ......................................................................................................................................................................107
show mirror ........................................................................................................................................................................108
VLAN COMMANDS .............................................................................................................................................110
create vlan ..........................................................................................................................................................................110
delete vlan ..........................................................................................................................................................................111
config vlan .........................................................................................................................................................................111
show vlan ...........................................................................................................................................................................112
enable asymmetric_vlan .....................................................................................................................................................113
disable asymmetric_vlan ....................................................................................................................................................113
show asymmetric_vlan .......................................................................................................................................................113
enable management vlan ....................................................................................................................................................114
disable management vlan ...................................................................................................................................................114
config management vlan ....................................................................................................................................................115
show management vlan ......................................................................................................................................................115
show port_vlan pvid ...........................................................................................................................................................116
Q-IN-Q COMMANDS ............................................................................................................................................117
enable qinq .........................................................................................................................................................................117
disable qinq ........................................................................................................................................................................117
show qinq ...........................................................................................................................................................................118
config qinq ports ................................................................................................................................................................118
BASIC IP COMMANDS ........................................................................................................................................120
config ipif System ..............................................................................................................................................................120
show ipif.............................................................................................................................................................................121
MAC NOTIFICATION COMMANDS ....................................................................................................................122
enable mac_notification .....................................................................................................................................................122
disable mac_notification ....................................................................................................................................................122
config mac_notification .....................................................................................................................................................123
config mac_notification ports ............................................................................................................................................123
show mac_notification .......................................................................................................................................................124
show mac_notification ports ..............................................................................................................................................124
IGMP SNOOPING COMMANDS..........................................................................................................................126
enable igmp_snooping .......................................................................................................................................................127
disable igmp_snooping.......................................................................................................................................................127
show igmp_snooping .........................................................................................................................................................128
config igmp_snooping........................................................................................................................................................128
config igmp_snooping querier ...........................................................................................................................................129
create igmp_snooping multicast_vlan ................................................................................................................................130
config igmp_snooping multicast_vlan ...............................................................................................................................130
delete igmp_snooping multicast_vlan ................................................................................................................................131
config igmp_snooping multicast_vlan_group ....................................................................................................................132
config router_ports .............................................................................................................................................................132
config igmp access_authentication ports............................................................................................................................133
show igmp access_authentication ports .............................................................................................................................133
enable igmp_snooping multicast_vlan ...............................................................................................................................134
disable igmp_snooping multicast_vlan ..............................................................................................................................134
show igmp_snooping multicast_vlan .................................................................................................................................135
show igmp_snooping multicast_vlan_group ......................................................................................................................136
show igmp_snooping group ...............................................................................................................................................136
show igmp_snooping host ..................................................................................................................................................137
show router_port ................................................................................................................................................................137
MLD SNOOPING COMMANDS ...........................................................................................................................139
enable mld_snooping .........................................................................................................................................................139
disable mld_snooping ........................................................................................................................................................140
config mld_snooping..........................................................................................................................................................140
config mld_snooping router_ports .....................................................................................................................................141
config mld_snooping querier .............................................................................................................................................141
show mld_snooping ...........................................................................................................................................................143
show mld_snooping group .................................................................................................................................................143
show mld_snooping router_ports .......................................................................................................................................144
show mld_snooping host ....................................................................................................................................................145
LIMITED IP MULTICAST ADDRESS COMMANDS ............................................................................................146
create mcast_filter_profile .................................................................................................................................................146
config mcast_filter_profile ................................................................................................................................................147
config mcast_filter_profile ipv6 ........................................................................................................................................147
delete mcast_filter_profile .................................................................................................................................................148
show mcast_filter_profile...................................................................................................................................................148
config limited_multicast_addr ports...................................................................................................................................149
show limited_multicast_addr ports ....................................................................................................................................150
show max_mcast_group ports ............................................................................................................................................150
802.1X COMMANDS ............................................................................................................................................152
enable 802.1x .....................................................................................................................................................................153
disable 802.1x ....................................................................................................................................................................153
show 802.1x .......................................................................................................................................................................153
show 802.1x auth_state ......................................................................................................................................................154
show 802.1x auth_configuration ........................................................................................................................................155
config 802.1x auth_parameter ports ...................................................................................................................................156
config 802.1x auth_protocol ..............................................................................................................................................157
config radius add ................................................................................................................................................................158
config radius delete ............................................................................................................................................................159
config radius .......................................................................................................................................................................159
show radius ........................................................................................................................................................................160
config 802.1x auth_mode ...................................................................................................................................................160
create 802.1x guest_vlan ....................................................................................................................................................161
delete 802.1x guest_vlan ....................................................................................................................................................161
config 802.1x guest_vlan ports ..........................................................................................................................................162
show 802.1x guest_vlan .....................................................................................................................................................162
create 802.1x user ..............................................................................................................................................................163
show 802.1x user................................................................................................................................................................163
delete 802.1x user ..............................................................................................................................................................164
config 802.1x capability ports ............................................................................................................................................164
PORT SECURITY COMMANDS ..........................................................................................................................166
config port_security ...........................................................................................................................................................166
show port_security .............................................................................................................................................................167
PORT PRIORITY COMMANDS ...........................................................................................................................168
config port_priority ............................................................................................................................................................168
show port_priority ..............................................................................................................................................................168
TIME AND SNTP COMMANDS ...........................................................................................................................170
config sntp ..........................................................................................................................................................................170
show sntp ...........................................................................................................................................................................171
enable sntp .........................................................................................................................................................................172
disable sntp .........................................................................................................................................................................172
config time .........................................................................................................................................................................173
config time_zone operator..................................................................................................................................................173
config dst ............................................................................................................................................................................174
show time ...........................................................................................................................................................................175
ARP COMMANDS ................................................................................................................................................176
config arp_aging time ........................................................................................................................................................176
show arpentry .....................................................................................................................................................................176
IPV6 NEIGHBOR DISCOVERY COMMANDS.....................................................................................................178
create ipv6 neighbor_cache ipif .........................................................................................................................................178
delete ipv6 neighbor_cache ................................................................................................................................................179
show ipv6 neighbor_cache .................................................................................................................................................179
config ipv6 nd ns ipif .........................................................................................................................................................180
show ipv6 nd ......................................................................................................................................................................180
create ipv6route default ......................................................................................................................................................181
delete ipv6route default ......................................................................................................................................................181
show ipv6route ...................................................................................................................................................................182
enable ipif_ipv6_link_local_auto System ..........................................................................................................................182
disable ipif_ipv6_link_local_auto System .........................................................................................................................183
BANNER COMMANDS ........................................................................................................................................184
config log_save_timing ......................................................................................................................................................184
show log .............................................................................................................................................................................185
COMMAND HISTORY LIST COMMANDS ..........................................................................................................186
? ..........................................................................................................................................................................................186
show command_history .....................................................................................................................................................187
dir .......................................................................................................................................................................................188
ACCESS AUTHENTICATION CONTROL COMMANDS ....................................................................................189
create authen_login method_list_name ..............................................................................................................................190
config authen_login............................................................................................................................................................190
delete authen_login method_list_name ..............................................................................................................................191
show authen_login .............................................................................................................................................................192
create authen_enable method_list_name ............................................................................................................................193
config authen_enable .........................................................................................................................................................193
delete authen_enable method_list_name ............................................................................................................................195
show authen_enable ...........................................................................................................................................................195
enable authen_policy..........................................................................................................................................................196
disable authen_policy .........................................................................................................................................................196
show authen_policy............................................................................................................................................................197
config authen application ...................................................................................................................................................197
show authen application .....................................................................................................................................................198
config authen parameter .....................................................................................................................................................198
show authen parameter .......................................................................................................................................................199
create authen server_host ...................................................................................................................................................199
config authen server_host ..................................................................................................................................................200
delete authen server_host ...................................................................................................................................................201
show authen server_host ....................................................................................................................................................202
create authen server_group ................................................................................................................................................203
config authen server_group ................................................................................................................................................203
delete authen server_group ................................................................................................................................................204
show authen server_group..................................................................................................................................................204
enable admin ......................................................................................................................................................................205
POWER SAVING COMMANDS ...........................................................................................................................206
config power_saving mode ................................................................................................................................................206
config power_saving ..........................................................................................................................................................206
show power_saving ............................................................................................................................................................207
LLDP COMMANDS ..............................................................................................................................................208
enable lldp ..........................................................................................................................................................................208
disable lldp .........................................................................................................................................................................209
config lldp message_tx_interval.........................................................................................................................................209
config lldp message_tx_hold_multiplier ............................................................................................................................210
config lldp reinit_delay ......................................................................................................................................................210
config lldp tx_delay ...........................................................................................................................................................211
show lldp ............................................................................................................................................................................211
show lldp ports ...................................................................................................................................................................212
show lldp local_ports .........................................................................................................................................................213
show lldp remote_ports ......................................................................................................................................................213
config lldp ports .................................................................................................................................................................214
config lldp ports .................................................................................................................................................................214
config lldp ports .................................................................................................................................................................215
config lldp ports .................................................................................................................................................................215
config lldp ports .................................................................................................................................................................216
config lldp ports .................................................................................................................................................................216
config lldp ports .................................................................................................................................................................217
config lldp ports .................................................................................................................................................................217
show lldp mgt_addr ............................................................................................................................................................218
show lldp statistics .............................................................................................................................................................218
TRAFFIC SEGMENTATION COMMANDS ..........................................................................................................220
config traffic_segmentation ...............................................................................................................................................220
show traffic_segmentation .................................................................................................................................................220
ETHERNET OAM COMMANDS ..........................................................................................................................222
config ethernet_oam ports (mode) .....................................................................................................................................223
config ethernet_oam ports (state) .......................................................................................................................................223
config ethernet_oam ports (link monitor error symbol) .....................................................................................................224
config ethernet_oam ports (link monitor error frame) .......................................................................................................225
config ethernet_oam ports (link monitor error frame seconds) ..........................................................................................226
config ethernet_oam ports (link monitor error frame period) ............................................................................................227
config ethernet_oam ports (remote loopback)....................................................................................................................227
config ethernet_oam ports (received remote loopback) .....................................................................................................228
show ethernet_oam ports (status) .......................................................................................................................................229
show ethernet_oam ports (configuration)...........................................................................................................................231
show ethernet_oam ports (statistics) ..................................................................................................................................231
show ethernet_oam ports (event log) .................................................................................................................................232
clear ethernet_oam ports ....................................................................................................................................................233
SAFEGUARD COMMANDS ................................................................................................................................234
config safeguard_engine ....................................................................................................................................................234
show safeguard_engine ......................................................................................................................................................234
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
1
INTRODUCTION
The DGS-1100-10/ME consists of 8 10/100/1000Mbps ports plus 2 100/100/SFP ports.
The Switch can be managed through the Telnet or the Web-based management agent. The Command Line
Interface (CLI) can be used to configure and manage the Switch via the 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.
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.
1
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
2
USING THE COMMAND LINE INTERFACE
The Switch allows a computer or terminal to perform some basic monitoring and configuration tasks by using the
Command Line Interface (CLI) via TELNET protocol.
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.
The command line functions are 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.
After the Switch reboots and you have to logged in, the console looks like this:
2
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
3
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
4
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
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 Telnet uses the same
syntax.
NOTE: All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted
function that changes text case.
<angle brackets>
Purpose Encloses a variable or value that must be specified.
Syntax create account [admin | oper |user] <username 15>
Description In the above syntax example, supply a username in the
<username> space. Do not type the angle brackets.
Example create account admin newadmin1
Command
[square brackets]
Purpose Encloses a required value or set of required arguments. One value
or argument can be specified.
Syntax create account [admin | oper |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 create account user newuser1
Command
| vertical bar
Purpose Separates two or more mutually exclusive items in a list, one of
which must be entered.
Syntax create account [admin | oper | user] <username 15>
Description In the above syntax example, specify admin, oper, or user. Do not
type the vertical bar.
Example create account user newuser1
Command
All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted function that changes
text case.
5
DGS-1100-10/ME Metro Ethernet Managed 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 reset
command Please be aware that all configurations will be reset to default value.
Are you sure you want to proceed with system reset now? (Y/N)[N] N
6
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
4
BASIC SWITCH COMMANDS
The Basic Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable password
encryption
disable password
encryption
create account [admin | operator | user] <username 15>
config account <username 15>
show account
delete account <username 15>
show session
show switch
enable web {<tcp_port_number 1-65535>}
disable web
enable autoconfig
disable autoconfig
show autoconfig
[[config_in_nvram config_id <value 1-2>] | current_config] [begin | exclude]
show config
<string 80>
enable jumbo_frame
disable jumbo_frame
show jumbo_frame
save [config | log]
reboot
reset system {[include | force_agree]}
logout
ping {times <value 0-255> | timeout <sec 1-99> | size <value 1-60000>}
ping6 <ipv6_addr> {size <value 1-6000> | timeout <sec 1-99> | times <value 1-255>}
enable telnet {<tcp_port_number 1-65535>}
disable telnet
<range_name 20> [hours start_time <start_time 32> end_time <end_time 32>
config time_range 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>
7
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Command Parameter
month <end_mth 1-12> date <end_date 1-31> | delete]
show time_range
Example usage:
To enable password encryption on the Switch:
DGS-1100-10/ME:5> enable password encryption
Command: enable password encryption
Success !
DGS-1100-10/ME:5>
8
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To disable password encryption on the Switch:
DGS-1100-10/ME:5> disable password encryption
Command: disable password encryption
Success !
DGS-1100-10/ME:5>
create account
Purpose To create user accounts.
Syntax create account [admin | operator | 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.
oper − Specify an operator 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.
Example usage:
To create an administrator-level user account with the username ‘dlink’:
Success!
DGS-1100-10/ME:5>
9
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
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.
Example usage:
To configure the user password of ‘dlink’ account:
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 None.
Example usage:
To display an account which has been created:
10
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Total Entries : 1
DGS-1100-10/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.
Example usage:
To delete the user account ‘System’:
Success!
DGS-1100-10/ME:5>
show session
Purpose To display information about currently logged-in users.
Syntax show session
Description The show session command displays a list of all the users that are
logged-in at the time the command is issued. The information
includes the session ID (0 for the first logged-in user, 1 for the next
logged-in user, etc.), the Protocol used to connect to the Switch, the
user’s IP address, the user’s access Level (1=user, 15=admin), and
the account name on the Switch.
Parameters None.
Restrictions None.
Example usage:
To display the way users logged in:
Total Entries: 1
11
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
show switch
Purpose To display information about the Switch.
Syntax show switch
Description The show switch command displays information about the Switch
settings, including Device Type, MAC Address, IP configuration,
Hardware/Software version, System information, and Switch
Network configuration.
Parameters None.
Restrictions None.
Example usage:
To display the Switch information:
DGS-1100-10/ME:5>
enable web
Purpose To enable the HTTP-based management software on the Switch.
12
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To enable HTTP and configure the TCP port number to listen for Telnet requests:
Success!
DGS-1100-10/ME:5>
disable web
Purpose To disable the HTTP-based management software on the Switch.
Syntax disable web
Description The disable web command disables the Web-based management
software on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable HTTP-based management software on the Switch:
Success!
DGS-1100-10/ME:5>
enable autoconfig
Purpose Used to activate the auto configuration function for the Switch. This
will load a previously saved configuration file for current use.
Syntax enable autoconfig
Description When autoconfig is enabled on the Switch, the DHCP reply will
contain a configuration file and path name. It will then request the file
from the TFTP server specified in the reply. When autoconfig is
enabled, the ipif settings will automatically become DHCP client.
Parameters None.
13
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To enable auto configuration on the Switch:
Success !
DGS-1100-10/ME:5>
disable autoconfig
Purpose Use this to deactivate auto configuration from DHCP.
Syntax disable autoconfig
Description The disable autoconfig command is used to instruct the Switch not
to accept auto configuration instruction from the DHCP server. This
does not change the IP settings of the Switch. The ipif settings will
continue as DHCP client until changed with the config ipif command.
Parameters None.
Restrictions Only Administrator-level users can issue this command. .
Example usage:
To stop the auto configuration function:
Success!
DGS-1100-10/ME:5>
show autoconfig
Purpose Used to display the current autoconfig status of the Switch.
Syntax show autoconfig
Description The show autoconfig command is used to list the current status of
the auto configuration function.
14
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Parameters None.
Restrictions None.
Example usage:
To display the autoconfig status:
Success!
DGS-1100-10/ME:5>
show config
Purpose To display the current or saved version of the configuration settings
of the Switch.
Syntax show config [[config_in_nvram config_id <value 1-2>] |
current_config] [begin | exclude | include] <string 80>
Description The show config command is used to list the current status of the
configuration settings of the Switch.
Parameters config_in_nvram config_id <value 1-2> − Display the system
configuration from NV-RAM.
current_config − Display system configuration from the DRAM
database, i.e. the current system setting.
[begin | exclude | include] − Display the configuration which is
begined, excluded or included.
<string 80> − Display the configuration which begin or exclude the
specified string. The maximum string is 80.
Restrictions None.
Example usage:
To display the autoconfig status:
#---------------------------------------------------------------------------------------------------
# DGS-1100-10/ME Gigabit Ethernet Switch Configuration
#
# Firmware: Build 1.00.002
# Copyright(C) 20113 D-Link Corporation. All rights reserved.
#--------------------------------------------------------------------------------------------------
command-start
# SNMP
enable snmp
config snmp engineID 80:00:08:1c:04:46:53
15
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
enable jumbo_frame
Purpose To enable jumbo frames on the device.
Syntax enable jumbo_frame
Description The enable jumbo_frame command enables jumbo frames on the
device.
Parameters None.
Restrictions Only Administrator or operate-level users can issue this command.
Jumbo frames will be enabled after save and restart.
Example usage:
To enable jumbo frames:
Success!
DGS-1100-10/ME:5>
disable jumbo_frame
Purpose To disable jumbo frames on the device.
Syntax disable jumbo_frame
Description The disable jumbo_frame command disables jumbo frames on the
device.
Parameters None.
Restrictions Only Administrator or operate-level users can issue this command.
Jumbo frames will be disabled after save and restart.
16
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To disable jumbo_frames:
Success!
DGS-1100-10/ME:5>
show jumbo_frame
Purpose To display the jumbo frame configuration.
Syntax show jumbo_frame
Description The show jumbo_frame command displays the jumbo frame
configuration.
Parameters None.
Restrictions None.
Example usage:
To show the jumbo_frames configuration status on the device:
save
Purpose To save changes in the Switch’s configuration to non-volatile RAM.
Syntax save [config> | log ]
Description The save command used to enter the current switch configuration
into non-volatile RAM. The saved switch configuration will be loaded
into the Switch’s memory each time the Switch is restarted.
Parameters config – Used to save the current configuration to a file.
log – Used to save the current log to a file. The log file cannot be
deleted.
Restrictions Only administrator-level users can issue this command.
Example usage:
To save the Switch’s current configuration to non-volatile RAM:
17
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
reboot
Purpose To reboot the Switch.
Syntax reboot
Description The reboot command restarts the Switch.
Parameters None.
Restrictions Only Administrator or operate-level users can issue this command.
Example usage:
To restart the Switch:
DGS-1100-10/ME:5> reboot
Command: reboot
Success!
DGS-1100-10/ME:5>
DGS-1100-10/ME Switch
DGS-1100-10/ME login:
reset system
Purpose To reset the Switch to the factory default settings.
Syntax reset system {[include | force_agree]}
Description The reset system command restores the Switch’s configuration to
the default settings assigned from the factory. Rebooting will clear all
entries in the Forwarding Data Base.
Parameters system − If the keyword ‘system’ is specified all of the factory default
settings are restored on the Switch. The Switch will save and reboot
after the settings are changed to default. Rebooting will clear all
entries in the Forwarding Data Base.
{[include | force_agree]} - When force_agree is specified, the reset
command will be executed immediately without further confirmation.
If no parameter is specified, the Switch’s current IP address, user
accounts, and the switch history log are not changed. All other
parameters are restored to the factory default settings. The Switch
will not save or reboot.
Restrictions Only administrator-level users can issue this command.
18
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To restore all of the Switch’s parameters to their default values:
Success!
DGS-1100-10/ME:5>
DGS-1100-10/ME Switch
DGS-1100-10/ME login:
logout
Purpose To log out a user from the Switch.
Syntax Logout
Description The logout command terminates the current user’s session on the
Switch.
Parameters None.
Restrictions None.
Example usage:
To terminate the current user’s Telnet session:
DGS-1100-10/ME:5> logout
ping
Purpose To test the connectivity between network devices.
Syntax ping <ipaddr> {times <value 0-255> | timeout <sec 1-99> | size
<value 1-60000>}
Description The ping command sends Internet Control Message Protocol
(ICMP) echo messages to a remote IP address. The remote IP
address then ‘echos’ or returns the message. This is used to confirm
connectivity between the Switch and the remote device.
Parameters <ipaddr> - The IP address of the host.
times <value 0-255> - The number of individual ICMP echo
messages to be sent. The maximum value is 255. The default is 4.
timeout <sec 1-99> - The time-out period while waiting for a
response from the remote device. A value of 1 to 99 seconds can be
specified. The default is 1 second.
size <value 1-60000> - Specify the size of the test packet. A value of
0 to 2080 can be specified.
Restrictions None.
19
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To ping the IP address 10.90.90.97 three times:
ping6
Purpose To test the IPv6 connectivity between network devices.
Syntax ping6 <ipv6addr> {size <value 1-6000> | timeout <sec 1-99> |
times <value 1-255>}
Description The ping6 command sends IPv6 Internet Control Message Protocol
(ICMP) echo messages to a remote IPv6 address. The remote IPv6
address will then “echo” or return the message. This is used to
confirm the IPv6 connectivity between the switch and the remote
device.
Parameters <ipv6addr> - The IPv6 address of the host.
size <value 1-6000> - Specify the size of the test packet. A value of
1 to 6000 can be specified.
timeout <sec 1-99> - The time-out period while waiting for a
response from the remote device. A value of 1 to 99 seconds can be
specified. The default is 1 second.
times <value 1-255> - The number of individual ICMP echo
messages to be sent. The maximum value is 255. The default is 4.
Restrictions None.
Example usage:
To ping the IPv6 address to “3000::1” four times:
20
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
enable telnet
Purpose To enable the telnet.
Syntax enable telnet {<tcp_port_number 1-65535>}
Description The enable telnet command enables telnet.
Parameters <tcp_port_number 1-65535> - Specify the TCP port number for the
telnet setting.
Restrictions Only Administrator or operate-level users can issue this command
Example usage:
To enable telnet:
DGS-1100-10/ME:5>enable telnet
Command: enable telnet
Success!
DGS-1100-10/ME:5>
disable telnet
Purpose To disable telnet.
Syntax disable telnet
Description The disable telnet command disables telnet.
Parameters None.
Restrictions Only Administrator or operate-level users can issue this command
Example usage:
To disable telnet:
DGS-1100-10/ME:5>disable telnet
Command: disable telnet
Success !
DGS-1100-10/ME:5>
config time_range
Purpose To configure the time range on the Switch.
Syntax config time_range <range_name 20> [[hours start_time
<start_time 32> end_time <end_time 32> 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>
21
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the time range on the Switch:
Success!
DGS-1100-10/ME:5>
show time_range
Purpose To display the currently configured access profiles on the Switch.
Syntax show time_range
Description The show time_range command displays the time range
configuration.
Parameters None.
Restrictions None.
22
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display time range settings on the Switch:
Total Entries : 1
DGS-1100-10/ME:5>
23
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
5
MODIFY BANNER AND PROMPT COMMANDS
The Modify Banner and Prompt commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
config
[<string 32> | default | username]
command_prompt
config
{default}
greeting_message
show
greeting_message
config command_prompt
Purpose To configure the command prompt.
Syntax config command_prompt [<string 32> | default | username]
Description The config command_prompt command configures the command
prompt.
Parameters <string 32> – The command prompt can be changed by entering a
new name of no more that 32 characters.
default – The command prompt will reset to factory default command
prompt. Default = the name of the Switch model, for example “DGS-
1100-10/ME”.
username – The command prompt will be changed to the login
username.
Restrictions Only Administrator-level users can issue this command. Other
restrictions include:
If the “reset” command is executed, the modified command prompt
will remain modified. However, the “reset config/reset system”
command will reset the command prompt to the original factory
banner.
Example usage:
To modify the command prompt to “AtYourService”:
Success!
AtYourService:5#
24
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
config greeting_message
Purpose Used to configure the login banner (greeting message).
Syntax config greeting_message {default}
Description The config greeting_message command to modify the login
banner (greeting message).
Parameters default – If the user enters default to the modify banner command,
then the banner will be reset to the original factory banner.
To open the Banner Editor, click Enter after typing the config
greeting_message command. Type the information to be displayed
on the banner by using the commands described on the Banner
Editor:
Quit without save: Ctrl+C
Save and quit: Ctrl+W
Move cursor: Left/Right/Up/Down
Delete line: Ctrl+D
Erase all setting: Ctrl+X
Reload original setting: Ctrl+L
Restrictions Only Administrator-level users can issue this command. Other
restrictions include:
If the “reset” command is executed, the modified banner will remain
modified. However, the “reset config/reset system” command will
reset the modified banner to the original factory banner.
The capacity of the banner is 6*80. 6 Lines and 80 characters per
line.
Ctrl+W will only save the modified banner in the DRAM. Users need
to type the “save config/save all” command to save it into Flash.
Only valid in threshold level.
Example usage:
To the banner:DGS-1100-10/ME:5>
Command: config greeting_message
25
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
show greeting_message
Purpose Used to view the currently configured greeting message configured
on the Switch.
Syntax show greeting_message
Description The show greeting_message command is used to view the
currently configured greeting message on the Switch.
Parameters None.
Restrictions None.
Example usage:
To view the currently configured greeting message:
DGS-1100-10/ME:5>show greeting_message
Command: show greeting_message
DGS-1100-10/ME:5>
26
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
6
SWITCH PORT COMMANDS
The Switch Port commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
[all | <portlist 1-10>] medium_type [copper | fiber] MDI/MDIX [MDI | MDIX | auto]
{description <desc 32> | clear_description| flow_control [enable | disable] |
config ports
learning [enable | disable] | state [enable | disable] | speed [auto | 1000_full |
100_full | 100_half | 10_full | 10_half]}
show ports {<portlist 1-10> | all} {description | err_disabled}
show duld ports {all | <portlist 1-10>}
config ports
Purpose To configure the Switch’s Ethernet port settings.
Syntax config ports [all | <portlist 1-10>] medium_type [copper | fiber]
MDI/MDIX [MDI | MDIX | auto] {description <desc 32> |
clear_description| flow_control [enable | disable] | learning
[enable | disable] | state [enable | disable] | speed [auto |
1000_full | 100_full | 100_half | 10_full | 10_half]}
Description The config ports command configures the Switch’s Ethernet port
settings. Only the ports listed in the <portlist> are affected.
Parameters <portlist 1-10> − A port or range of ports to be configured.
all − Configures all ports on the Switch.
medium_type [copper | fiber] − If configuring the Combo ports, this
defines the type of medium being configured.
MDI/MDIX [MDI | MDIX | j auto] − Specifies the MDI or MDIX setting
of the port. The MDIX setting can be auto, normal or cross.
If set to normal state, the port in MDIX mode, can be connected to
PC NIC using a straight cable. If set to cross state, the port in mdi
mode, can be connected to a port (in mdix mode) on another switch
through a straight cable.
description <desc 32> − Enter and alphanumeric string of no more
that 32 characters to describe a selected port interface.
clear_description – Clear the description for the specified ports.
flow_control [enable] – Enables flow control for the specified ports.
flow_control [disable] – Disables flow control for the specified ports.
learning [enable | disable] c Enables or disables the MAC address
learning on the specified range of ports.
state [enable | disable] − Enables or disables the specified range of
ports.
speed – Sets the speed of a port or range of ports, with the addition
of one of the following:
27
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the speed of ports 1-3 to be 100 Mbps, full duplex, learning and state enabled:
Success
DGS-1100-10/ME:5>
show ports
Purpose To display the current configuration of a range of ports.
Syntax show ports {<portlist 1-10> | all} {description | err_disabled}
Description The show ports command displays the current configuration of a
port or range of ports.
Parameters <portlist 1-10> − A port or range of ports whose settings are to be
displayed.
all – Specifies all ports to be displayed.
Restrictions None.
Example usage:
To display the configuration of port 3 on the Switch:
DGS-1100-10/ME:5>
28
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display the Switch’s Ethernet duld ports 1-5 settings:
port Admin State Oper Status Mode Link Status Discovery Time(Sec)
----- ----------------- ---------------- -------- ----------------- ----------------------------
1 Disabled Disabled Normal Unknown 5
2 Disabled Disabled Normal Unknown 5
3 Disabled Disabled Normal Unknown 5
4 Disabled Disabled Normal Unknown 5
5 Disabled Disabled Normal Unknown 5
6 Disabled Disabled Normal Unknown 5
DGS-1100-10/ME:5>
29
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
7
LOOPBACK DETECTION COMMANDS
The Loopback Detection commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable loopdetect
disable loopdetect
config loopdetect mode [portbase | vlanbase]
config loopdetect ports [<portlist 1-10> | all] [enable | disable]
config loopdetect interval_time <value 1-32767> lbd_recover_time [0 | <value 60-1000000>]
show loopdetect {ports [<portlist 1-10> | all]}
enable loopdetect
Purpose To enable the loop back detection on the Switch.
Syntax enable loopdetect
Description The enable loopdetect command enables the loop back detection
on the Switch.
Parameters None.
Restrictions Only administrator or operate-level users can issue this command.
Example usage:
To enable the loopback detection feature on the Switch:
DGS-1100-10/ME:5>enable loopdetect
Command: enable loopdetect
Success!
DGS-1100-10/ME:5>
disable loopdetect
Purpose To disable the loop back detection on the Switch.
Syntax disable loopdetect
Description The disable loopdetect command disables the loop back detection
on the Switch.
Parameters None.
30
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To disable the loopback detection feature on the Switch:
DGS-1100-10/ME:5>disable loopdetect
Command: disable loopdetect
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the loopback detection mode to be portabse on the Switch:
Success!
DGS-1100-10/ME:5>
Success!
DGS-1100-10/ME:5>
config loopdetect
Purpose To configure the loop back detection interval time and recover time
on the Switch.
Syntax config loopdetect interval_time <value 1-32767>
lbd_recover_time [0 | <value 60-1000000>]
Description The config loopdetect command configures the loop back
detection interval time and recover time on the Switch.
Parameters interval_time <value 1-32767> − Specifies the interval time of loop
back detection. The range is between 1 and 32767 seconds.
lbd_recover_time [0 | <value 60-10000>] − Specifies the recovery
time of loop back detection on the switch. The range is between 60
and 10000 seconds.
Restrictions Only administrator or operate-level users can issue this command.
Example usage:
To configure the loop back detection with interval time 500 on the Switch:
Success!
DGS-1100-10/ME:5>
show loopdetect
Purpose To display loop back detection information on the Switch.
Syntax show loopdetect {ports [<portlist 1-10> | all]}
Description The show loopdetect command displays the loop back detection
information on the Switch.
Parameters <portlist 1-10> − A port or range of ports to be displayed.
all − All ports settings are to be displayed.
Restrictions None.
Example usage:
To display the loop back detection information on the Switch:
DGS-1100-10/ME:5>show loopdetect
Command: show loopdetect
32
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
33
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
8
PPPOE CIRCUIT ID INSERTION COMMANDS
PPPoE Circuit ID Insertion is used to produce the unique subscriber mapping capability that is possible on ATM
networks between ATM-DSL local loop and the PPPoE server. The PPPoE server will use the inserted Circuit
Identifier sub-tag of the received packet to provide AAA services (Authentication, Authorization and Accounting).
Through this method, Ethernet networks can the alternative to ATM networks.
The PPPoE Circuit ID Insertion commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
config pppoe circuit_id
[enable | disable]
_insertion state
config pppoe
[all | <portlist 1-10>] [ circuit_id [ mac | ip | udf <string 32> ] | state [enable |
circuit_id_insertion
disable ] ]
ports
show pppoe
circuit_id_insertion
show pppoe
circuit_id_insertion {<portlist>}
ports
Example usage:
To globally enable PPPoE circuit identifier insertion:
34
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To enable port 1~5 PPPoE circuit ID insertion function and use Host MAC:
Success!
DGS-1100-10/ME:5>
35
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To view the global PPPoE ID insertion state:
Status: Enabled
DGS-1100-10/ME:5>
Example usage:
To view the PPPoE circuit ID configuration for ports 2 to 5:
36
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
9
NETWORK MANAGEMENT (SNMP) COMMANDS
The Switch supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. Users can specify
which version of the SNMP users want to use to monitor and control the Switch. The three versions of SNMP,
vary in the level of security provided between the management station and the network device. The following
table lists the security features of the three SNMP versions.
The Network Management commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
<username 32> <groupname 32> [v1 | v2c | v3 [MD5 <auth_password 32> |
create snmp user
SHA <auth_password 32> | none ] [DES <priv_password 32> | none]]
delete snmp user <username 32> [v1 | v2c | v3]
create snmp view <view_name 32> <oid 32> <oid_mask 32 view_type [included | excluded]
delete snmp view <view_name 32> [all | <oid 32>]
show snmp view {<view_name 32>}
create snmp community <community_string 32> <username 32>
delete snmp community <community_string 32>
show snmp community {<community_string 32>}
config snmp engineID <snmp_engineID 64>
<groupname 32> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv |
create snmp group auth_priv]{notify_view <view_name 32>}] {read_view <view_name 32> |
write_view <view_name 32>}
delete snmp group <groupname 32> [v1 | v2c | v3] [auth_nopriv | auth_priv | noauth_priv]
create snmp host <ipaddr> [v1 <username 32> | v2c <username 32> | v3 [noauth_nopriv |
37
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Command Parameter
auth_nopriv | auth_priv] <username 32>]
delete snmp host <ipaddr>
show snmp host {<ipaddr>}
<ip6_addr> [v1 <username 32> | v2c <username 32> | v3 [noauth_nopriv |
create snmp v6host
auth_nopriv | auth_priv] <username 32>]
delete snmp v6host <ip6_addr>
show snmp v6host <ip6_addr>
enable snmp
authenticate traps
disable snmp
authenticate traps
config syslocation <string 32>
config sysname <string 32>
enable snmp
disable snmp
enable snmp
fiber_port_link traps
disable snmp
fiber_port_link traps
enable snmp LBD traps
disable snmp LBD traps
enable snmp
port_security_violation
traps
disable snmp
port_security_violation
traps
enable snmp
twistedpair_port_link
traps
disable snmp
twistedpair_port_link
traps
38
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create an SNMP user on the Switch:
Success!
DGS-1100-10/ME:5>
39
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To delete a previously created SNMP user on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To display the SNMP users currently configured on the Switch:
Total Entries: 4
DGS-1100-10/ME:5>
40
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create an SNMP view:
Success!
DGS-1100-10/ME:5>
Example usage:
To delete all configured SNMP view from the Switch:
Success!
DGS-1100-10/ME:5>
41
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Total Entries: 2
DGS-1100-10/ME:5>
42
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create the SNMP community string ‘dlink:’
Success!
DGS-1100-10/ME:5>
Example usage:
To delete the SNMP community string ‘dlinkgroup’:
Success!
DGS-1100-10/ME:5>
43
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Restrictions None.
Example usage:
To display the currently entered SNMP community strings:
Total Entries: 2
DGS-1100-10/ME:5>
Example usage:
To give the SNMP agent on the Switch:
Success!
DGS-1100-10/ME:5>
44
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
<view_name 32>}
Description The create snmp group command creates a new SNMP group, or
a table that maps SNMP users to SNMP views.
Parameters <groupname 32> − A name of up to 30 alphanumeric characters that
identifies the SNMP group the new SNMP user is to be associated
with.
v1 – Specifies that SNMP version 1 is to be used. The Simple
Network Management Protocol (SNMP), version 1, is a network
management protocol that provides a means to monitor and control
network devices.
v2c – Specifies that SNMP version 2c is to be used. The SNMP v2c
supports both centralized and distributed network management
strategies. It includes improvements in the Structure of Management
Information (SMI) and adds some security features.
v3 – Specifies that the SNMP version 3 is to be used. SNMP v3
provides secure access to devices through a combination of
authentication and encrypting packets over the network. SNMP v3
adds:
• Message integrity − Ensures that packets have not been
tampered with during transit.
• Authentication − Determines if an SNMP message is from a
valid source.
• Encryption − Scrambles the contents of messages to
prevent it from being viewed by an unauthorized source.
noauth_nopriv − Specifies that there is no authorization and no
encryption of packets sent between the Switch and a remote SNMP
manager.
auth_nopriv − Specifies that authorization is required, but there is no
encryption of packets sent between the Switch and a remote SNMP
manager.
auth_priv − Specifies that authorization is required, and that packets
sent between the Switch and a remote SNMP manger are
encrypted.
read_view – Specifies that the SNMP group being created can
request SNMP messages.
• <view_name 32> − A string of up to 32 objects that a remote
SNMP manager is allowed to access on the Switch.
write_view – Specifies that the SNMP group being created has write
privileges.
• <view_name 32 identifies the group of MIB objects that a
remote SNMP manager is allowed to access on the Switch.
notify_view − Specifies that the SNMP group being created can
receive SNMP trap messages generated by the Switch’s SNMP
agent.
• <view_name 32> − A string of up to 32 alphanumeric
characters that identifies the group of MIB objects that a
remote SNMP manager is allowed to access on the Switch.
Restrictions Only administrator or operate-level users can issue this command.
45
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create an SNMP group named ‘sg1:’
Success!
DGS-1100-10/ME:5>
Example usage:
To delete the SNMP group named ‘sg1’:
DGS-1100-10/ME:5> delete snmp group sg1 v2c
Command: delete snmp group sg1 v2c
Success!
DGS-1100-10/ME:5>
46
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display the currently configured SNMP groups on the Switch:
Group Name Read View Write View Notify View Security Model Security Level
------------------ -------------- ---------------- --------------- ---------------------- -----------------
sg1 df df d v3 AuthPriv
ReadOnly ReadWrite --- ReadWrite v1 NoAuthNoPriv
ReadOnly ReadWrite --- ReadWrite v2c NoAuthNoPriv
ReadWrite ReadWrite ReadWrite ReadWrite v1 NoAuthNoPriv
ReadWrite ReadWrite ReadWrite ReadWrite v2c NoAuthNoPriv
Total Entries: 5
DGS-1100-10/ME:5>
Example usage:
To display the currently configured SNMP global state on the Switch:
DGS-1100-10/ME:5>
47
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create an SNMP host to receive SNMP messages:
Success!
DGS-1100-10/ME:5>
48
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
SNMP agent.
Syntax delete snmp host <ipaddr>
Description The delete snmp host command deletes a recipient of SNMP traps
generated by the Switch’s SNMP agent.
Parameters <ipaddr> − The IP address of a remote SNMP manager that
receives SNMP traps generated by the Switch’s SNMP agent.
Restrictions Only Administrator or operator-level users can issue this command
Example usage:
To delete an SNMP host entry:
Success!
DGS-1100-10/ME:5>
Example usage:
To display the currently configured SNMP hosts on the Switch:
Total Entries : 1
DGS-1100-10/ME:5>
49
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create an SNMP host to receive SNMP messages:
Success!
50
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
Example usage:
To delete an SNMP host entry:
Success!
DGS-1100-10/ME:5>
Example usage:
To display the currently configured SNMP hosts on the Switch:
51
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To enable SNMP trap support on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To prevent SNMP traps from being sent from the Switch:
Success!
DGS-1100-10/ME:5>
52
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To view the current SNMP trap support:
DGS-1100-10/ME:5>
Example usage:
To turn on SNMP authentication trap support:
Success!
DGS-1100-10/ME:5>
53
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To disable the SNMP authentication trap support:
Success!
DGS-1100-10/ME:5>
config syslocation
Purpose To enter a description of the location of the Switch.
Syntax config syslocation <string 32>
Description The config syslocation command enters a description of the
location of the Switch. A maximum of 32 characters can be used.
Parameters <string 32> - A maximum of 32 characters is allowed.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To configure the Switch location for ‘HQ5F’:
Success!
DGS-1100-10/ME:5>
config sysname
Purpose To define the name for the Switch.
Syntax config sysname <string 32>
Description The config sysname command defines the name of the Switch.
Parameters <string 32> - A maximum of 32 characters is allowed.
Restrictions Only Administrator or operator-level users can issue this command.
54
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the Switch name as ‘10ME’:
Success!
DGS-1100-10/ME:5>
enable snmp
Purpose To enable SNMP support.
Syntax enable snmp
Description The enable snmp command enables SNMP support on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To enable SNMP support on the Switch:
DGS-1100-10/ME:5>enable snmp
Command: enable snmp
Success!
DGS-1100-10/ME:5>
disable snmp
Purpose To disable SNMP support.
Syntax disable snmp
Description The disable snmp command disables SNMP support on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable SNMP support on the Switch:
DGS-1100-10/ME:5>disable snmp
Command: disable snmp
Success!
DGS-1100-10/ME:5>
55
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To enable SNMP fiber port link traps support on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To disable SNMP fiber port link traps support on the Switch:
Success!
DGS-1100-10/ME:5>
56
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To enable SNMP LBD traps support on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To disable SNMP LBD traps support on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To enable SNMP port security violation traps support on the Switch:
57
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Success!
DGS-1100-10/ME:5>
Example usage:
To enable the SNMP twisted pair ports link traps on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To disable the SNMP twisted pair ports link traps on the Switch:
Success!
DGS-1100-10/ME:5>
59
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
10
DOWNLOAD/UPLOAD COMMANDS
The Download/Upload commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
[cfg_fromTFTP [<ipaddr> | <ipv6_addr>] <path_filename 64>] |
[firmware_fromTFTP [<ipaddr> | <ipv6_addr>] < path_filename 64>] |
download
[log_fromTFTP [<ipaddr> | <ipv6_addr>] <path_filename 64>] | [log_toTFTP
[<ipaddr> | <ipv6_addr>] <path_filename 64>]
[[firmware_toTFTP [<ipaddr> | <ipv6_addr>] <path_filename 64>] | [cfg_toTFTP
upload
[<ipaddr> | <ipv6_addr>] <path_filename 64>]
download
Purpose To download and install a firmware, boot, or switch configuration file
from a TFTP server.
Syntax download [cfg_fromTFTP [<ipaddr> | <ipv6_addr>]
<path_filename 64>] | [firmware_fromTFTP [<ipaddr> |
<ipv6_addr>] < path_filename 64>] | [log_fromTFTP [<ipaddr> |
<ipv6_addr>] <path_filename 64>] | [log_toTFTP [<ipaddr> |
<ipv6_addr>] <path_filename 64>]
Description The download command downloads a firmware, boot, log or switch
configuration file from a TFTP server.
Parameters cfg_fromTFTP − Downloads a switch configuration file from a TFTP
server.
<ipaddr> − The IPv4 address of the TFTP server.
<ipv6_addr> − The IPv6 address of the TFTP server.
<path_filename 64> − The DOS path and filename of the switch
configuration file, up to 64 characters, on the TFTP server. For
example, C:\31xx.had.
startup − Indicates the Configuration file is to be downloaded to the
startup config.
firmware_fromTFTP − Downloads and installs firmware on the
Switch from a TFTP server.
< path_filename 64> − The DOS path and filename of the firmware
file or log file, up to 64 characters, on the TFTP server. For example,
C:\31xx.had.
log_fromTFTP − Downloads a log file from a TFTP server.
cfg_toTFTP − Downloads a log file to a TFTP server.
Restrictions Only Administrator or operator-level users can issue this command.
60
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To download a firmware file:
DGS-1100-10/ME:5>
Success!
upload
Purpose To upload the current switch settings to a TFTP server.
Syntax upload [[firmware_toTFTP [<ipaddr> | <ipv6_addr>]
<path_filename 64>] | [cfg_toTFTP [<ipaddr> | <ipv6_addr>]
<path_filename 64>
Description The upload command uploads the Switch’s current settings to a
TFTP server.
61
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
DGS-1100-10/ME:5>upload cfg_toTFTP 1.1.1.23 dgs_1100-10me.ros
Command: upload log_toTFTP 1.1.1.23 dgs_1100-10me.ros
01–Jan–2000 01:26:11 %COPY–I–FILECPY: Files Copy – source
URL running–config destination URL tftp://1.1.1.23/1\running–
config
… ..01–Jan–2000 01:26:16 %COPY–W–TRAP: The copy operation
was completed success fully!
158 bytes copied in 00:00:05 [hh:mm:ss]
DGS-1100-10/ME:5>
62
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
11
DHCP RELAY COMMANDS
The DHCP Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable dhcp_relay
disable dhcp_relay
config dhcp_relay add
<ipaddr>
ipif system
config dhcp_relay
<ipaddr>
delete ipif system
config dhcp_relay
<value 1-16>
hops
config dhcp_relay [check [enable | disable] | policy [drop | keep | replace] | remote_id [default |
option_82 user_define <string 32>] | state [enable | disable]]
show dhcp_relay {ipif}
enable
dhcp_local_relay
disable
dhcp_local_relay
config dhcp_local_relay vlan [<vlan_name 20> | vlanid <vidlist>] state[enable | disable]
show dhcp_local_relay
enable dhcpv6_relay
disable dhcpv6_relay
show dhcpv6_relay {ipif system}
config dhcpv6_relay [add | delete] ipif System <ipv6_addr>
config dhcpv6_relay
<value 1-32>
hop_count
Config dhcpv6_relay [state [enable | disable]| check ] [enable | disable] | remote_id [default |
option_37 cid_with_user_define <string 128> | user_define <string 128>]]
enable dhcp_relay
Purpose To enable DHCP Relay server on the Switch
Syntax enable dhcp_relay
Description The enable dhcp_relay command sets the DHCP Relay to be
globally enabled on the Switch and on all existing VLANs.
63
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To enable DHCP Relay on the Switch:
DGS-1100-10/ME:5>enable dhcp_relay
Command: enable dhcp_relay
Success!
DGS-1100-10/ME:5>
disable dhcp_relay
Purpose To disable DHCP Relay server on the Switch
Syntax disable dhcp_relay
Description The disable dhcp_relay command sets the DHCP Relay to be
globally disabled on the Switch and on all existing VLANs.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable DHCP Relay on the Switch:
DGS-1100-10/ME:5>disable dhcp_relay
Command: disable dhcp_relay
Success!
DGS-1100-10/ME:5>
Example usage:
To add a DHCP server as a DHCP Relay server:
Success!
DGS-1100-10/ME:5>
Example usage:
To remove a DHCP server from the DHCP Relay server list:
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the DHCP relay on the Switch:
Success!
DGS-1100-10/ME:5>
65
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
66
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To disable the DHCP relay option 82 on the Switch:
DGS-1100-10/ME:5>config dhcp_relay option_82 state disable
Command: config dhcp_relay option_82 state disable
Success!
DGS-1100-10/ME:5>
show dhcp_relay
Purpose To display the DHCP Relay settings on the Switch.
Syntax show dhcp_relay {ipif}
Description The show dhcp_relay command displays the DHCP Relay status
and list of servers defined as DHCP Relay servers on the Switch.
Parameters None.
Restrictions None.
Example usage:
To display DHCP Relay settings:
enable dhcp_local_relay
Purpose To enable the DHCP local relay feature globally
Syntax enable dhcp_local_relay
Description The enable dhcp_local_relay command enables the DHCP local
relay feature on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To enable the DHCP Local Relay:
DGS-1100-10/ME:5>enable dhcp_local_relay
Command: enable dhcp_local_relay
67
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success
DGS-1100-10/ME:5>
disable dhcp_local_relay
Purpose To disable the DHCP local relay feature globally
Syntax disable dhcp_local_relay
Description The disable dhcp_local_relay command disables the DHCP local
relay feature on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable the DHCP Local Relay:
DGS-1100-10/ME:5>disable dhcp_local_relay
Command: disable dhcp_local_relay
Success!
DGS-1100-10/ME:5>
config dhcp_local_relay
Purpose To specify which VLAN’s the feature works on.
Syntax config dhcp_local_relay vlan [<vlan_name 20> | vlanid <vidlist>]
state[enable | disable]
Description Each VLAN which was added to the DHCP Local Relay list
participates in the DHCP Local Relay process – Option 82 is added
to DHCP requests on this VLAN, and Removed from DHCP Replies
on this VLAN.
Parameters <vlan_name 20> – the VLAN name identifier
vlanid <vidlist> – The VLAN tag identifier
state [enable | disable] – enable or disable the DHCP Local Relay
status by VLAN name or VLAN ID.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable the VLAN ID10 from VLAN of DHCP Local Relay:
Success!
DGS-1100-10/ME:5>
68
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
show dhcp_local_relay
Purpose To display which VLAN’s the feature works on.
Syntax show dhcp_local_relay
Description Each VLAN which was added to the DHCP Local Relay list
participates in the DHCP Local Relay process – Option 82 is added
to DHCP requests on this VLAN, and Removed from DHCP Replies
on this VLAN.
Parameters None.
Restrictions None.
Example usage:
To display the DHCP local relay information on the Switch:
enable dhcpv6_relay
Purpose To enable DHCPv6 Relay function on the Switch
Syntax enable dhcpv6_relay
Description The enable dhcpv6_relay command is used to enable the DHCPv6
relay global state on the Switch.
Parameters None.
Restrictions Only Administrator or operate-level users can issue this command.
Example usage:
To enable DCHPv6 Relay on the Switch:
DGS-1100-10/ME:5>enable dhcpc6_relay
Command: enable dhcpc6_relay
Success!
DGS-1100-10/ME:5>
disable dhcp6_relay
Purpose To disable DHCPv6 Relay function on the Switch
Syntax disable dhcpv6_relay
Description The disable dhcpv6_relay command is used to disable the
DHCPv6 relay global state on the Switch.
69
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Parameters None.
Restrictions Only Administrator or operate-level users can issue this command.
Example usage:
To disable DHCPv6 Relay on the Switch:
DGS-1100-10/ME:5>disable dhcpv6_relay
Command: disable dhcpv6_relay
Success!
DGS-1100-10/ME:5>
show dhcpv6_relay
Purpose To display the current DHCPv6 relay configuration.
Syntax show dhcpv6_relay {ipif system}
Description The show dhcpv6_relay command displays the current DHCPv6
relay configuration for all interfaces, if a IP interface name is
specified, it will display the DHCPv6 relay configuration for that IP
interface.
Parameters None.
Restrictions None.
Example usage:
To display DHCPv6 Relay settings:
config dhcpv6_relay
Purpose Used to add or delete a destination IP address in the switch’s
DHCPv6 relay table.
Syntax config dhcpv6_relay [add | delete] ipif System <ipv6_addr>
Description The config dhcpv6_relay command can add or delete an IPv6
destination address used to forward (relay) DHCPv6 packets.
Parameters add − Add an IPv6 destination to the DHCPv6 relay table.
delete − Remove an IPv6 destination to the DHCPv6 relay table.
ipif system − The name of the IP interface in which DHCPv6 relay is
70
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
to be enabled.
<ipv6_addr> − The DHCPv6 server IP address.
Restrictions Only Administrator or operate-level users can issue this command.
Example usage:
To add the DHCPv6 relay on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the DHCPv6 relay hop count on the Switch:
Success!
DGS-1100-10/ME:5>
71
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
When the state is enabled, the DHCP packet is inserted with the
option 37 field before being relayed to the server. When the state is
disabled, the DHCP packet is relayed directly to the server.
check [enable | disable] - Specify to check the packets or not. When
the check state is enabled, packets from client side should not have
the option 37 field. If client originating packets have the option 37
field, they will be dropped. Specify for not checking the packets.
remote_id [default | cid_with_user_define <string 128> | user_define
<string 128>] - Specify the content in the remote ID.
default – Specify to have the remote ID as VLAN ID + Module + Port
+System MAC address of the device.
cid_with_user_define – Specify to have the remote ID as VLAN ID +
Module + Port + user defined string.
user_define – Use the user-defined string as the remote ID.
Restrictions Only Administrator or operate-level users can issue this command.
Example usage:
To configure the DHCPv6 relay hop count on the Switch:
Success!
DGS-1100-10/ME:5>
72
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
12
NETWORK MONITORING COMMANDS
The Network Monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
show packet ports <portlist 1-10>
show error ports <portlist 1-10>
show utilization [ports {<portlist>} | cpu | mem]
clear counters ports <porlist 1-10>
clear log
enable syslog
disable syslog
73
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
displayed.
Restrictions None.
Example usage:
To display the packets analysis for port 7:
Port Number : 1
Frame Size Frame Counts Frames/sec Frame Type Total Total/sec
---------------- -------------------- ----------------- ----------------- --------- ---------------
64 2161 2 RX Bytes 168377 128
65-127 249 0 RX Frames 2435 2
128-255 18 0
256-511 7 0 TX Bytes 331492 1071
512-1023 0 0 TX Frames 3550 3
1024-1518 0 0
Unicast RX 2158 2
Multicast RX 5 0
Broadcast RX 272 0
Example usage:
To display the errors of port 1:
Port Number : 1
RX Frames TX Frames
---------------- -------------------
CRC Error 0 Excessive Deferral 0
Undersize 0 CRC Error 0
74
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
show utilization
Purpose To display real-time port utilization statistics.
Syntax show utilization [ports {<portlist 1-10>} | cpu | dram]
Description The show utilization command displays the real-time utilization
statistics for ports in bits per second (bps) for the Switch, and for the
CPU in a percentage.
Parameters ports{ – Entering this parameter will display the current port
utilization of the Switch.
<portlist 1-10> – Specifies a range of ports to be displayed.
cpu – Entering this parameter will display the current CPU utilization
of the Switch.
dram – Entering this parameter will display the current memory
utilization of the Switch.
Restrictions None.
75
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
clear counters
Purpose To clear the Switch’s statistics counters.
Syntax clear counters ports <porlist 1-10>
Description The clear counters command clears the counters used by the
Switch to compile statistics.
Parameters <portlist 1-10> – Specifies a range of ports to be cleared.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To clear the counters:
Success!
DGS-1100-10/ME:5>
clear log
Purpose To clear the Switch’s history log.
Syntax clear log
Description The clear log command clears the Switch’s history log.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To clear the log information:
DGS-1100-10/ME:5>clear log
Command: clear log
Success!
DGS-1100-10/ME:5>
show log
Purpose To display the Switch history log.
Syntax show log {[index <value 1-500> - <value 1-500>] | severity
[debug | informational | warning ]}
Description The show log command displays the contents of the Switch’s
76
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
history log.
Parameters index <value 1-500> − The number of entries in the history log to
display.
severity [debug | informational | warning] − Specifies the severity
type to be displayed.
Restrictions None.
Example usage:
To display the Switch history log:
save log
Purpose To save the Switch history log.
Syntax save log
Description The save log command saves the contents of the Switch’s history
log.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To save the Switch history log:
Success!
DGS-1100-10/ME:5>
enable syslog
Purpose To enable the system log to be sent to a remote host.
Syntax enable syslog
Description The enable syslog command enables the system log to be sent to a
remote host.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
77
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To enable the syslog function on the Switch:
DGS-1100-10/ME:5>enable syslog
Command: enable syslog
Success!
DGS-1100-10/ME:5>
disable syslog
Purpose To disable the system log from being sent to a remote host.
Syntax disable syslog
Description The disable syslog command disables the system log from being
sent to a remote host.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable the syslog function on the Switch:
DGS-1100-10/ME:5>disable syslog
Command: disable syslog
Success!
DGS-1100-10/ME:5>
Numerical Severity
Code
78
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Numerical Facility
Code
0 kernel messages
1 user-level messages
2 mail system
3 system daemons
4 security/authorization messages
5 messages generated internally by syslog
6 line printer subsystem
7 network news subsystem
8 UUCP subsystem
9 clock daemon
10 security/authorization messages
11 FTP daemon
12 NTP subsystem
13 log audit
14 log alert
15 clock daemon
16 local use 0 (local0)
17 local use 1 (local1)
18 local use 2 (local2)
19 local use 3 (local3)
20 local use 4 (local4)
21 local use 5 (local5)
79
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create syslog host:
Success!
DGS-1100-10/ME:5>
80
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Numerical Severity
Code
Numerical Facility
Code
0 kernel messages
1 user-level messages
2 mail system
3 system daemons
4 security/authorization messages
5 messages generated internally by syslog
6 line printer subsystem
7 network news subsystem
8 UUCP subsystem
9 clock daemon
10 security/authorization messages
11 FTP daemon
12 NTP subsystem
13 log audit
14 log alert
81
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
15 clock daemon
16 local use 0 (local0)
17 local use 1 (local1)
18 local use 2 (local2)
19 local use 3 (local3)
20 local use 4 (local4)
21 local use 5 (local5)
22 local use 6 (local6)
23 local use 7 (local7)
Example usage:
To configure a syslog host:
Success!
DGS-1100-10/ME:5>
82
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To delete a previously configured syslog host:
Success!
DGS-1100-10/ME:5>
Example usage:
To show Syslog host information:
Host 1
IP Address: 1.1.2.1
Severity : Debug
Facility : local0
UDP Port : 514
Status : Enabled
Total Entries: 1
DGS-1100-10/ME:5>
83
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To determine the copper cables and position of port 3 on the Switch:
Port Type Link Status Test Result Fault Distance (meters) Length(M)
---- ----- --------------- ----------------- --------------------------------- ---------
3 GE Link Down Pair1:N/A Pair1:No Cable N/A
Pair2:OPEN Pair2:1
Pair3:N/A Pair3:N/A
Pair4:N/A Pair4:N/A
DGS-1100-10/ME:5>
84
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
13
FORWARDING DATABASE COMMANDS
The Forwarding Database commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
create fdb vlan <vlanid 1-4094> <macaddr> port <port 1-10>
create multicast_fdb <vlanid 1-4094><macaddr>
config multicast_fdb < vlanid 1-4094> <macaddr> [add | delete] <portlist 1-10>
config fdb aging_time <sec 10-600>
delete fdb <vlan_name 20> <macaddr>
show multicast_fdb {vlan <vlan_name 20> | mac_address <macaddr>}
{port <port 1-10> | vlan <vlan_name 32> | mac_address <macaddr> | static |
show fdb
aging_time}
config multicast
[all | <portlist 1-10>] [forward_unregistered_groups | filter_unregistered_groups]
port_filtering_mode
show multicast
port_filtering_mode
Example usage:
To create a unicast MAC FDB entry:
DGS-1100-10/ME:5> create fdb vlan 1 00-00-00-00-01-02 port 2
Command: create fdb vlan 1 00-00-00-00-01-02 port 2
Success!
85
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
create multicast_fdb
Purpose To create a static entry in the multicast MAC address forwarding
table (database).
Syntax create multicast_fdb <vlanid 1-4094><macaddr>
Description The create multicast_fdb command creates a static entry in the
multicast MAC address forwarding table (database).
Parameters <vlanid 1-4094> − The item of the VLAN on which the MAC address
resides. The range is between 1 and 4094.
<macaddr> − The MAC address to be added to the forwarding table.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To create multicast MAC forwarding:
Success!
DGS-1100-10/ME:5>
config multicast_fdb
Purpose To configure the Switch’s multicast MAC address forwarding
database.
Syntax config multicast_fdb <vlanid 1-4094> <macaddr> [add | delete]
<portlist 1-10>
Description The config multicast_fdb command configures the multicast MAC
address forwarding table.
Parameters <vlanid 1-4094> − The item of the VLAN on which the MAC address
resides. The range is between 1 and 4094.
<macaddr> − The MAC address to be configured to the forwarding
table.
add − Specifies that the MAC address is to be added to the
forwarding table.
delete − Specifies that the MAC address is to be removed from the
forwarding table.
<portlist 1-10> − A port or range of ports to be configured.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To configure multicast MAC forwarding:
86
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To set the fdb aging time:
Success!
DGS-1100-10/ME:5>
delete fdb
Purpose To delete an entry in the Switch’s forwarding database.
Syntax delete fdb <vlan_name 20> <macaddr>
Description The delete fdb command deletes an entry in the Switch’s MAC
address forwarding database.
Parameters <vlan_name 20> − The name of the VLAN on which the MAC
address resides.
<macaddr> − The MAC address to be removed from the forwarding
table.
Restrictions Only Administrator or operator-level users can issue this command.
87
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To delete a permanent FDB entry:
Success!
DGS-1100-10/ME:5>
show multicast_fdb
Purpose To display the contents of the Switch’s multicast forwarding
database.
Syntax show multicast_fdb {vlan <vlan_name 20> | mac_address
<macaddr>}
Description The show multicast_fdb command displays the current contents of
the Switch’s multicast MAC address forwarding database.
Parameters vlan <vlan_name 20> − The name of the VLAN on which the MAC
address resides.
mac_address <macaddr> − The MAC address that will be added to
the forwarding table.
Restrictions None.
Example usage:
To display multicast MAC address table:
Total Entries: 0
DGS-1100-10/ME:5>
show fdb
Purpose To display the current unicast MAC address forwarding database.
Syntax show fdb {port <port 1-10> | vlan <vlan_name 32> |
mac_address <macaddr> | static | aging_time}
Description The show fdb command displays the current contents of the
switch’s forwarding database.
Parameters <port 1-10> − The port number corresponding to the MAC
destination address. The Switch always forwards traffic to the
specified device through this port.
<vlan_name 32> − The name of the VLAN on which the MAC
address resides.
<macaddr> − The MAC address entry in the forwarding table.
static − Specifies that static MAC address entries are to be
88
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
displayed.
aging_time − Displays the aging time for the MAC address
forwarding database.
Restrictions None.
Example usage:
To display unicast MAC address table:
Total Entries : 1
DGS-1100-10/ME:5>
DGS-1100-10/ME:5>
Example usage:
To configure multicast filtering
89
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To show multicast filtering settings:
DGS-1100-10/ME:5>
90
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
14
BROADCAST STORM CONTROL COMMANDS
The Broadcast Storm Control commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
[<portlist 1-10> | all] {[action [drop | shutdown] | broadcast | multicast |
config traffic control
unknow_unicast | threshold <value 64-1024000> [enable | disable]
show traffic control {<portlist 1-10>}
config traffic_control
[storm_cleared | storm_occured | both | none]
trap
Example usage:
To configure traffic control and enable broadcast storm control system wide:
DGS-1100-10/ME:5> config traffic control all multicast enable unknow_unicast
91
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
disable
Command: config traffic control all multicast enable unknow_unicast disable
Success!
DGS-1100-10/ME:5>
Example usage:
To display traffic control setting:
92
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure traffic trap setting:
Success!
DGS-1100-10/ME:5>
93
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
15
QOS COMMANDS
The QoS commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameter
config [<portlist 1-10> | all] {rx_rate [no_limit | <value 16-1000000>] | tx_rate [no_limit |
bandwidth_control <value 16-1000000>]}
show
{[<portlist 1-10> | all]}
bandwidth_control
config qos mode [802.1p | dscp | portbased]
show qos mode
config
[strict | wrr]
scheduling_mechanism
show
scheduling_mechanism
config dscp_mapping dscp_value <value_list 0-63> queue <value 0-7>
show dscp_mapping {dscp_value <value_list 0-63>}
config bandwidth_control
Purpose To configure bandwidth control on the Switch.
Syntax config bandwidth control [<portlist 1-10> | all] {rx_rate [no_limit
| <value 16-1000000>] | tx_rate [no_limit | <value 16-1000000>]}
Description The config bandwidth_control command defines bandwidth
control.
Parameters <portlist 1-10> - A port or range of ports to be configured.
all - Specifies that the config bandwidth_control command applies
to all ports on the Switch.
rx_rate - Enables ingress rate limiting
• no_limit – Indicates no limit is defined.
• <value 16–1000000>] – Indicates a range between 16-
1000000 kbps.
tx_rate – Enables egress rate limiting.
• no_limit – Indicates no limit is defined.
• <value 16–1000000>] – Indicates a range between 16-
1000000 kbps.
Restrictions Only administrator or operator-level users can issue this command.
94
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure bandwidth control configuration:
Success!
DGS-1100-10/ME:5>
show bandwidth_control
Purpose To display bandwidth control settings on the Switch.
Syntax show bandwidth control {[<portlist 1-10> | all]}
Description The show bandwidth_control command displays bandwidth
control.
Parameters <portlist 1-10> – A port or range of ports to be configured.
all – Specifies that the show bandwidth_control command applies
to all ports on the Switch.
Restrictions None.
Example usage:
To display the bandwidth control configuration:
DGS-1100-10/ME:5>
95
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Description The config qos mode command is used to configure the QoS mode
on the Switch.
Parameters [802.1p | dscp | portbased] – Specifies the QoS mode to be 802.1p,
dscp or portbased.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure the QoS mode to be portbased on the Switch:
DGS-1100-10/ME:5> config qos mode portbased
Command: config qos mode portbased
Success!
DGS-1100-10/ME:5>
Example usage:
To display the QoS mode on the Switch:
config scheduling_mechanism
Purpose To configure the scheduling mechanism for the QoS function.
Syntax config scheduling_mechanism [strict | wrr]
Description The config scheduling_mechanism command configures the
scheduling mechanism for the QoS function. It allows the user to
select between a round robin (WRR) and a strict mechanism for
emptying the priority classes of service of the QoS function. The
Switch contains four hardware priority classes of service. Incoming
packets must be mapped to one of these four hardware priority
classes of service, or queues. This command is used to specify the
rotation by which these four hardware priority queues are emptied.
The Switch’s default is to empty the four hardware priority queues in
order − from the highest priority hardware queue (class 3) to the
lowest priority hardware queue (class 0). Each queue will transmit all
96
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
of the packets in its buffer before allowing the next lower priority
queue to transmit its packets. A lower priority hardware queue will
be pre-empted from emptying its queue if a packet is received on a
higher priority hardware queue. The packet received on the higher
priority hardware queue transmits its packet before allowing the
lower priority hardware queue to resume clearing its queue.
Parameters strict – Specifies that the highest class of service is the first to be
processed. That is, the highest class of service should finish
emptying before the others begin.
wrr – Specifies that the priority classes of service are to empty
packets in a weighted roundrobin (WRR) order.
Restrictions Only administrator or operator level users can issue this command.
Example usage:
To configure the traffic scheduling mechanism for each COS queue:
Success!
DGS-1100-10/ME:5>
show scheduling_mechanism
Purpose To display the current traffic scheduling mechanisms in use on the
Switch.
Syntax show scheduling_mechanism
Description The show scheduling_mechanism command displays the current
traffic scheduling mechanisms in use on the Switch.
Parameters None.
Restrictions None.
Example usage:
To show the scheduling mechanism:
config dscp_mapping
Purpose To enable setting the DSCP User Priority
Syntax config dscp_mapping dscp_value <value_list 0-63> queue
<value 0-7>
Description The config dscp_mapping command enables mapping the DSCP
value (the priority) to a specific queue (the class_id).
97
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Parameters <value_list 0-63> –The selected value of priority. The value may be
between 0 and 63.
queue <value 0-7> – Specifies the priority to be mapped.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure the DSCP mapping with value 10 and priority high:
Success!
DGS-1100-10/ME:5>
show dscp_mapping
Purpose To display the setting of DSCP mapping.
Syntax show dscp_mapping {dscp_value <value_list 0-63>}
Description The show dscp_mapping command displays the mapping of DSCP
value.
Parameters dscp_value <value_list 0-63> - The selected value of priority will be
dispalyed. The value may be between 0 and 63.
Restrictions None.
Example usage:
To display the DSCP mapping with value 10:
DSCP Priority
------- ------------
10 0
DGS-1100-10/ME:5>
98
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
16
RMON COMMANDS
The RMON commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameter
enable rmon
disable rmon
<alarm_index 1-65535> <OID_variable 255> <interval 1-2147482647> [absolute
| delta] rising-threshold <value 0-2147483647> <rising_event_index 1-65535>
create rmon alarm
falling-threshold <value 0-2147483647> <falling_event_index 1-65535> {[owner
<owner_string 32>]}
delete rmon alarm <alarm_index 1-65535>
create rmon collection
<stats_index 1-65535> port <ifindex> owner <owner_string 32>
stats
delete rmon collection
<stats_index 1-65535>
stats
create rmon collection <hist_index 1-65535> port <ifindex> {buckets <buckets_req 1-50> interval
history <interval 1-3600> owner <owner_string 32>}
delete rmon collection
<hist_index 1-65535>
history
<event_index 1-65535> description <desc_string 128> {[log | owner
create rmon event
<owner_string 32> | trap <community_string 32>]}
delete rmon event <event_index 1-65535>
{statistics <stats_index 1-65535> | alarms | events | history <hist_index 1-65535>
show rmon
| overview}
enable rmon
Purpose To enable remote monitoring (RMON) status for the SNMP function.
Syntax enable rmon
Description The enable rmon command enables remote monitoring (RMON)
status for the SNMP function on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To enable the RMON feature on the Switch:
DGS-1100-10/ME:5>enable rmon
99
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
disable rmon
Purpose To disable remote monitoring (RMON) status for the SNMP function.
Syntax disable rmon
Description The disable rmon command disables remote monitoring (RMON)
status for the SNMP function on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable the RMON feature on the Switch:
DGS-1100-10/ME:5>disable rmon
Command: disable rmon
Success!
DGS-1100-10/ME:5>
100
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create a RMON alarm on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To delete a RMON alarm on the Switch:
Success!
DGS-1100-10/ME:5>
101
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create a RMON collection stats on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To delete a RMON collection stats on the Switch:
Success!
DGS-1100-10/ME:5>
102
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create a RMON collection history on the Switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To delete a RMON collection history on the Switch:
Success!
DGS-1100-10/ME:5>
103
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Success!
DGS-1100-10/ME:5>
show rmon
Purpose To display remote monitoring (RMON) status for the SNMP function.
Syntax show rmon {statistics <stats_index 1-65535> | alarms | events |
history <hist_index 1-65535> | overview}
Description The show rmon command displays remote monitoring (RMON)
status for the SNMP function on the Switch.
Parameters statistics <stats_index 1-65535> − Specify the index of RMON
statistics to be displayed.
alarms – Specify the RMON alarm to be displayed.
events − Specify the RMON events to be displayed.
history <hist_index 1-65535> − Specify the RMON history to be
displayed.
104
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
RMON is Enabled
Collection 100 on 1 is active, and owned by dlink,
Monitors ifEntry.1.1 which has
Received 0 octets, 0 packets,
0 broadcast and 0 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 0 collisions.
# of packets received of length (in octets):
64: 0, 65-127: 0, 128-255: 0,
256-511: 0, 512-1023: 0, 1024-1518: 0
Alarm table is empty
Event table is empty
DGS-1100-10/ME:5>
105
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
17
PORT MIRRORING COMMANDS
The Port Mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable mirror
disable mirror
create mirror id <int 1-4> target <int 1-10> add source ports [rx | tx | both] <portlist 1-10>
id <int 1-4> target <short 1-10> [add | delete] source ports <portlist 1-10> [both |
config mirror
rx | tx]
show mirror {id <int 1-4>}
enable mirror
Purpose Used to enable a previously entered port mirroring configuration.
Syntax enable mirror
Description The enable mirror command, combined with the disable mirror
command below, allows the user to enter a port mirroring
configuration into the Switch, as well as turn port mirroring on and off
without having to modify the port mirroring configuration.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To enable the mirroring feature:
DGS-1100-10/ME:5>enable mirror
Command: enable mirror
Success!
DGS-1100-10/ME:5>
disable mirror
Purpose Used to disable a previously entered port mirroring configuration.
Syntax disable mirror
Description The disable mirror command, combined with the enable mirror
command above, allows the user to enter a port mirroring
configuration into the switch, and then turn the port mirroring on and
off without having to modify the port mirroring configuration.
106
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To disable mirroring configurations:
DGS-1100-10/ME:5>disable mirror
Command: disable mirror
Success!
DGS-1100-10/ME:5>
create mirror id
Purpose Used to create a port mirroring ID.
Syntax create mirror id <int 1-4> target <int 1-10> add source ports [rx |
tx | both] <portlist 1-10>
Description The create mirror id command allows a port to have all of its traffic
also sent to a designated port, where a network sniffer or other
device can monitor the network traffic. In addition, one can specify
that only traffic received by or sent by one or both is mirrored to the
target port.
Parameters id <int 1-4> − Specifies the mirror ID to be created.
target <int 1-10> − Specifies the target of mirror ID.
[rx | tx | both] − Allows mirroring of packets received, sent or both by
the source port.
<portlist 1-10> – Specifies the port or ports being mirrored. This
cannot include the target port.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To create the mirroring ID:
Success!
DGS-1100-10/ME:5>
config mirror
Purpose To configure a mirror port − source port pair on the Switch.
Syntax config mirror id <int 1-4> target <short 1-10> [add | delete]
source ports <portlist 1-10> [both | rx | tx]
Description The config mirror target command allows a port to have all of its
traffic also sent to another designated port, where a network sniffer
or other device can monitor the network traffic. In addition, one can
specify that only traffic received by or sent by one or both is mirrored
107
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To add the mirroring ports:
Success!
DGS-1100-10/ME:5>
show mirror
Purpose To show the current port mirroring configuration on the Switch.
Syntax show mirror {id <int 1-4>}
Description The show mirror command displays the current port mirroring
configuration on the Switch.
Parameters None.
Restrictions None.
Example usage:
To display mirroring ID 1 configuration:
DGS-1100-10/ME:5> show mirror id 1
Command: show mirror id 1
108
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
109
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
18
VLAN COMMANDS
The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameter
create vlan <vlan_name 20> tag <vlanid 2-4094>
delete vlan [<vlan_name 20> | vlanid <vidlist 2-4094>]
[<vlan_name 20> | vlanid <int 1-4094>] [[add [tagged | untagged] | delete ]
config vlan
<portlist 1-10>
show vlan {<vlan_name 20> | vlanid <vidlist 1-4094> | ports <portlist 1-10>}
enable asymmetric_
vlan
disable
asymmetric_vlan
show asymmetric_vlan
enable management
vlan
disable management
vlan
config management
vlanid <vlanid 1-4094>
vlan
show management
vlan
show port_vlan pvid
create vlan
Purpose To create a VLAN on the Switch.
Syntax create vlan <vlan_name 20> tag <vlanid 2-4094>
Description The create vlan command creates a VLAN on the Switch.
Parameters <vlan_name 20> − The name of the VLAN to be created.
tag <vlanid 2-4094> − The VLAN ID of the VLAN to be created. The
allowed values range from 2 to 4094.
Restrictions Each VLAN name can be up to 32 characters. If the VLAN is not
given a tag, it will be a port-based VLAN.
Only administrator or operator-level users can issue this command.
110
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create a VLAN v1 tag 3:
DGS-1100-10/ME:5>create vlan v1 tag 3
Command: create vlan v1 tag 3
Success!
DGS-1100-10/ME:5>
delete vlan
Purpose To delete a previously configured VLAN on the Switch.
Syntax delete vlan [<vlan_name 20> | vlanid <vidlist 2-4094>]
Description The delete vlan command deletes a previously configured VLAN on
the Switch.
Parameters <vlan_name 20> − The name of the VLAN to be deleted.
vlanid <vidlist 2-4092> − The VLAN of the VLAN to be deleted.
Restrictions Only administrator or operator-level users can issue this command.
A user is required to disable Guest VLAN before deleting a VLAN.
Example usage:
To remove a vlan where VLAN ID is 2:
Success!
DGS-1100-10/ME:5>
config vlan
Purpose To add additional ports to a previously configured VLAN and to
modify a VLAN name.
Syntax config vlan [<vlan_name 20> | vlanid <int 1-4094>] [[add [tagged
| untagged] | delete ] <portlist 1-10>
Description The config vlan command allows the user to add or delete ports to
the port list of a previously configured VLAN. You can specify the
additional ports as tagging, untagging, or forbidden. The default is to
assign the ports as untagged.
Parameters <vlan_name 20> − The name of the VLAN to be configured.
vlanid <int 1-4094 > − The ID of the VLAN to which to add ports.
add − Specifies that ports are to be added to a previously created
vlan.
delete - Specifies that ports are to be deleted from a previously
created vlan.
tagged − Specifies the additional ports as tagged.
untagged − Specifies the additional ports as untagged.
<portlist 1-10> − A port or range of ports to be added to or deleted
111
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To add ports 1-3 as tagged ports to the VLAN ID 1:
Success!
DGS-1100-10/ME:5>
show vlan
Purpose To display the current VLAN configuration on the Switch
Syntax show vlan {<vlan_name 20> | vlanid <vidlist 1-4094> | ports
<portlist 1-10>}
Description The show vlan command displays summary information about each
VLAN including the VLAN ID, VLAN name, the Tagging/Untagging
status, and the Member/Non-member/Forbidden status of each port
that is a member of the VLAN.
Parameters <vlan_name 20> − Specify the VLAN id to be displayed.
vlanid <vidlist 1-4094> − Specify the VLAN id to be displayed.
ports <portlist 1-10> − Specify the ports to be displayed.
Restrictions None.
Example usage:
To display the Switch’s current VLAN settings:
DGS-1100-10/ME:5>
112
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
enable asymmetric_vlan
Purpose To enable Asymmetric VLAN on the switch.
Syntax enable asymmetric_vlan
Description The enable asymmetric_vlan command, along with the disable
enable asymmetric_vlan command below, is used to enable and
disable Asymmetric VLAN on the Switch
Parameters None.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To enable Asymettric VLAN on the switch:
DGS-1100-10/ME:5>enable asymmetric_vlan
Command: enable asymmetric_vlan
Success!
DGS-1100-10/ME:5>
disable asymmetric_vlan
Purpose To disable Asymmetric VLAN on the switch.
Syntax disable asymmetric_vlan
Description The disable asymmetric_vlan command, along with the enable
asymmetric_vlan command below, is used to disable and enable
Asymmetric VLAN on the Switch.
Parameters None.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To disable asymmetric_vlan on the switch:
DGS-1100-10/ME:5>disable asymmetric_vlan
Command: disable asymmetric_vlan
Success!
DGS-1100-10/ME:5>
show asymmetric_vlan
Purpose To display the Asymmetric VLAN status on the Switch.
Syntax show asymmetric_vlan
Description The show asymmetric_vlan command displays the Asymmetric
VLAN status on the Switch.
Parameters None.
113
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Restrictions None.
Example usage:
To display Asymmetric VLAN status:
DGS-1100-10/ME:5>show asymmetric_vlan
Command: show asymmetric_vlan
Example usage:
To enable management VLAN on the switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To disable management VLAN on the switch:
114
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the management VLAN on the switch:
Success!
DGS-1100-10/ME:5>
Example usage:
To display the management VLAN on the switch:
management vlan id : 1
management vlan name: default
DGS-1100-10/ME:5>
115
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display the port PVID of VLAN on the switch:
Port PVID
--------------------
1 1
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
DGS-1100-10/ME:5>
116
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
19
Q-IN-Q COMMANDS
The Link Aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable qinq
disable qinq
show qinq {ports [<portlist 1-10> | all]}
config qinq ports [<portlist 1-10> | all] [role [nni | uni] | outer_tpid <hex 0x1-0xffff>]
enable qinq
Purpose To enable the Q-in-Q mode.
Syntax enable qinq
Description The enable qinq command is used to enable the Q-in-Q mode.
When Q-in-Q is enabled, all network port roles will be NNI port and
their outer TPID will be set to 88a8. All existing static VLANs will run
as SP-VLAN. All dynamically learned L2 address will be cleared.
The default setting of Q-in-Q is disabled.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To enable Q-in-Q:
DGS-1100-10/ME:5>enable qinq
Command: enable qinq
Success!
DGS-1100-10/ME:5>
disable qinq
Purpose To disable the Q-in-Q mode.
Syntax disable qinq
Description The disable qinq command is used to disable the Q-in-Q mode.
All dynamically learned L2 address will be cleared. All dynamically
registered VLAN entries will be cleared. All existing SP-VLANs will
run as static 1Q VLANs. The default setting of Q-in-Q is disabled.
117
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To disable Q-in-Q:
DGS-1100-10/ME:5>disable qinq
Command: disable qinq
Success!
DGS-1100-10/ME:5>
show qinq
Purpose To show global Q-in-Q and port Q-in-Q mode status.
Syntax show qinq {ports [<portlist 1-10> | all]}
Description The show qinq command is used to show the global Q-in-Q status,
including: port role in Q-in-Q mode and port outer TPID.
Parameters <portlist> - Specifies a range of ports to be displayed.
If no parameter is specified, the system will display all Q-in-Q port
information.
all - Specifies all ports to be displayed.
Restrictions None.
Example usage:
To show the Q-in-Q status for ports 1 to 4:
Total Entries : 4
DGS-1100-10/ME:5>
118
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Description The config qinq ports command is used to configure the port level
setting for the Q-in-Q VLAN function. This setting is not effective
when the Q-in-Q mode is disabled.
Parameters <portlist 1-10> - A range of ports to configure.
all – Specifies all ports to be configure.
role - Port role in Q-in-Q mode, it can be UNI port or NNI port.
outer_tpid - TPID in the SP-VLAN tag.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure all ports as UNI port, set outer TPID to 0xfffe:
Success!
DGS-1100-10/ME:5>
119
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
20
BASIC IP COMMANDS
The Basic IP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameter
[dhcp | dhcp_option12 {clear_hostname | hostname <hostname 63> state
config ipif system [enable | disable] } | ipaddress [<network_address> gateway <ipaddr>] | [ipv6
ipv6address <ipv6networkaddr>] | [dhcpv6_client [enable | disable]] ]
show ipif
120
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the DHCPv6 client state of the System interface to enabled:
Success!
DGS-1100-10/ME:5>
show ipif
Purpose To display the configuration of an IP interface on the Switch.
Syntax show ipif
Description The show ipif command displays the configuration of an IP interface
on the Switch.
Parameters None.
Restrictions None.
Example usage:
To display IP interface settings:
121
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
21
MAC NOTIFICATION COMMANDS
The MAC Notification commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable
mac_notification
disable
mac_notification
config mac_notification [interval <int 1-2147483647> | historysize <int 1-500>]
config mac_notification
[<portlist 1-10> | all] [enable | disable]
ports
show mac_notification
show mac_notification
<portlist 1-10>
ports
enable mac_notification
Purpose Used to enable global MAC address table notification on the Switch.
Syntax enable mac_notification
Description The enable mac_notification command is used to enable MAC
address notification without changing configuration.
Parameters None.
Restrictions Only administrator or operator-level users can issue this command
Example usage:
To enable MAC notification without changing basic configuration:
DGS-1100-10/ME:5>enable mac_notification
Command: enable mac_notification
Success!
DGS-1100-10/ME:5>
disable mac_notification
Purpose Used to disable global MAC address table notification on the Switch.
Syntax disable mac_notification
122
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To disable MAC notification without changing basic configuration:
DGS-1100-10/ME:5>disable mac_notification
Command: disable mac_notification
Success!
DGS-1100-10/ME:5>
config mac_notification
Purpose Used to configure MAC address notification.
Syntax config mac_notification [interval <int 1-2147483647> |
historysize <int 1-500>]
Description The config mac_notification command is used to monitor MAC
addresses learned and entered into the FDB.
Parameters interval <int 1-2147483647> − The time in seconds between
notifications. The user may choose an interval between 1 and
2147483647 seconds.
historysize <1-500> − The maximum number of entries listed in the
history log used for notification.
Restrictions Only administrator or operator-level users can issue this command
Example usage:
To configure the Switch’s MAC address table notification global settings:
Success!
DGS-1100-10/ME:5>
123
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To enable port 7 for MAC address table notification:
Success!
DGS-1100-10/ME:5>
show mac_notification
Purpose Used to display the Switch’s MAC address table notification global
settings.
Syntax show mac_notification
Description The show mac_notification command is used to display the
Switch’s MAC address table notification global settings.
Parameters None.
Restrictions None.
Example usage:
To view the Switch’s MAC address table notification global settings:
DGS-1100-10/ME:5>show mac_notification
Command: show mac_notification
State : Enabled
Interval :1
History Size :1
DGS-1100-10/ME:5>
124
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Restrictions None.
Example usage:
To display port’s MAC address table notification status settings:
DGS-1100-10/ME:5>
125
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
22
IGMP SNOOPING COMMANDS
The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable igmp_snooping {forward_mcrouter_only}
disable igmp_snooping {forward_mcrouter_only}
show igmp_snooping {vlan <vlan_name 20>}
[vlan_name <vlan_name 20> | vlanid <vidlist 1-4094> | all] [fast_leave [enable |
config igmp_snooping
disable] | state [enable | disable]]
[vlan_name <vlan_name 20> | vlanid <vidlist 1-4094> | all] state [enable |
disable] {host_timeout <sec 130-153025> | router_timeout <sec 60-600> |
config igmp_snooping
version <value 1-3> | last_member_query_interval <sec 1-25> |
querier
max_response_time <sec 10-25> | query_interval <sec 60-600> |
robustness_variable <value 2-255>}
create igmp_snooping
<vlan_name 20> <vlanid 2-4094>
multicast_vlan
<vlan_name 20> [add | delete] [member_port <portlist 1-10> | source_port
config igmp_snooping
<portlist 1-10> | tag_member_port <portlist 1-10>] state [enable | disable]
multicast_vlan
{replace_source_ip [none | <ipaddr> | <ipv6addr>]}
delete igmp_snooping
<vlan_name 20> [ip | ipv6]
multicast_vlan
config igmp_snooping
<vlan_name 20> [ip | ipv6] [add | delete] [<mcast_address_range> | all]
multicast_vlan_group
[vlan_name <string 20> | vlanid <vidlist 1-4094> | all] [add | delete] <portlist 1-
config router_ports
10>
config igmp
access_authentication [<portlist> | all] state [enable | disable]
ports
show igmp
access_authentication [<portlist> | all]
ports
enable igmp_snooping
multicast_vlan
disable igmp_snooping
multicast_vlan
show igmp_snooping
<vlan_name 20> [ip | ipv6]
multicast_vlan
show igmp_snooping
<vlan_name 20> [ip | ipv6]
multicast_vlan_group
show igmp_snooping
{vlan <vlan_name 20> | vlanid <vidlist 1-4094>}
group
126
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Command Parameter
show igmp_snooping {group <ipaddr> | ports <portlist 1-10> | vlan <vlan_name 20> | vlanid <vidlist 1-
host 4094>}
show router_port {vlan <vlan_name 20> | vlanid <vidlist 1-4094> | static | dynamic}
enable igmp_snooping
Purpose To enable IGMP snooping on the Switch.
Syntax enable igmp_snooping {forward_mcrouter_only}
Description The enable igmp_snooping command enables IGMP snooping on
the Switch.
Parameters {forward_mcrouter_only} – Only enables the forward mcrouter for
IGMP Snooping on the Switch.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To enable IGMP snooping on the Switch:
Success!
DGS-1100-10/ME:5>
disable igmp_snooping
Purpose To disable IGMP snooping on the Switch.
Syntax disable igmp_snooping {forward_mcrouter_only}
Description The disable igmp_snooping command disables IGMP snooping on
the switch.
Parameters {forward_mcrouter_only} – Only disables the forward mcrouter for
IGMP Snooping on the switch.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To disable IGMP snooping on the Switch:
Success!
DGS-1100-10/ME:5>
127
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
show igmp_snooping
Purpose To display IGMP snooping on the switch.
Syntax show igmp_snooping {vlan <vlan_name 20>}
Description The show igmp_snooping command displays IGMP snooping on
the switch.
Parameters vlan <vlan_name 20> − Displays the vlan for IGMP Snooping on the
switch.
Restrictions None.
Example usage:
To display IGMP snooping on the switch:
Total Entries: 1
DGS-1100-10/ME:5>
config igmp_snooping
Purpose To configure IGMP snooping on the switch.
Syntax config igmp_snooping [vlan_name <vlan_name 20> | vlanid
<vidlist 1-4094> | all] [fast_leave [enable | disable] | state
[enable | disable]]
Description The config igmp_snooping command configures IGMP snooping
on the switch.
Parameters vlan_name <vlan_name 20> − The name of the VLAN for which
IGMP snooping is to be configured.
128
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the igmp snooping:
DGS-1100-10/ME:5> config igmp_snooping vlan_name default state
enable
Command: config igmp_snooping vlan_name default state enable
Success !
DGS-1100-10/ME:5>
129
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the igmp snooping:
Success !
DGS-1100-10/ME:5>
Example usage:
To create an igmp snooping multicast VLAN:
Success!
DGS-1100-10/ME:5>
130
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the igmp snooping multicast VLAN:
Success!
DGS-1100-10/ME:5>
Example usage:
To remove the igmp snooping multicast VLAN ‘rd1’:
131
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the igmp snooping multicast VLAN:
Success!
DGS-1100-10/ME:5>
config router_ports
Purpose To configure ports as router ports.
Syntax config router_ports [vlan_name <string 20> | vlanid <vidlist 1-
4094> | all] [add | delete] <portlist 1-10>
Description The config router_ports command designates a range of ports as
being connected to multicast-enabled routers. This ensures all
packets with such a router as its destination will reach the multicast-
enabled router − regardless of protocol, etc.
Parameters vlan_name <string 20> − The name of the VLAN on which the router
port resides. Up to 20 characters can be used.
vlanid <vidlist 1-4094> − The VLAN id of the VLAN on which the
router port resides.
all − Specifies all ports on the Switch to be configured.
[add | delete] – Specifies whether to add or delete ports defined in
the following parameter <portlist>, to the router port function.
<portlist 1-10> − A port or range of ports that will be configured as
132
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
router ports.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To add a static router port:
Success!
DGS-1100-10/ME:5>
Example usage:
To configure authentication port of IGMP:
Success !
DGS-1100-10/ME:5>
133
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Switch.
Restrictions None.
Example usage:
To display the IGMP access authentication:
Example usage:
To enable IGMP snooping multicast VLAN on the Switch:
Success !
DGS-1100-10/ME:5>
134
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
TTo disable IGMP snooping multicast VLAN on the Switch:
Success !
DGS-1100-10/ME:5>
Example usage:
To show igmp snooping multicast VLAN:
135
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a ALL
Example usage:
To show igmp snooping multicast VLAN group:
DGS-1100-10/ME:5>
136
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To show igmp snooping group:
Total Entries: 0
DGS-1100-10/ME:5>
Example usage:
To view the IGMP snooping host table on the Switch:
Total Entries : 0
DGS-1100-10/ME:5>
show router_port
Purpose To display the currently configured router ports on the Switch.
Syntax show router_port {vlan <vlan_name 20> | vlanid <vidlist 1-4094>
| static | dynamic}
137
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Description The show router_port command displays the router ports currently
configured on the Switch.
Parameters vlan <vlan_name 20> − The name of the VLAN on which the router
port resides. Up to 32 characters can be used.
vlanid <vidlist 1-4094> − The ID of the VLAN on which the router
port resides.
static − Displays router ports that have been statically configured.
dynamic − Displays router ports that have been dynamically learned.
Restrictions None.
Example usage:
To display the router ports:
DGS-1100-10/ME:5>show router_ports
Command: show router_ports
Total Entries : 1
DGS-1100-10/ME:5>
138
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
23
MLD SNOOPING COMMANDS
The MLD Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
enable mld_snooping
disable mld_snooping
[vlan_name <vlan_name 20> | vlanid <vidlist 1-4094> | all] [state [enable |
config mld_snooping
disable] | fast_leave [enable | disable]]
config mld_snooping [vlan_name <string 20> | vlanid <vidlist 1-4094> | all] [add | delete] <portlist 1-
router_ports 10>
[vlan_name <vlan_name 20> | vlanid <vidlist 1-4094> | all] [host_timeout <sec
130-153025> | router_timeout <sec 60-600> | last_member_query_interval <sec
config mld_snooping
1-25> | max_response_time <sec 10-25> | query_interval <sec 60-600> |
querier
robustness_variable <value 2-255> | state [enable | disable] | version <value 1-
2>]
show mld snooping [vlan <vlan_name 20> | vlanid <vidlist 1-4094> | all]
show mld_snooping
[vlan <vlan_name 20> | vlanid <vidlist 1-4094>]
group
show mld_snooping
[vlan <vlan_name 20> | vlanid <vidlist 1-4094> | all ] [dynamic | static]
router_ports
show mld_snooping [vlan_name <string 20> | vlanid <vidlist 1-4094> | ports <portlist 1-10> | group
host <ipv6_addr>]
enable mld_snooping
Purpose To enable MLD snooping on the Switch.
Syntax enable mld snooping
Description The enable mld snooping command enables MLD snooping on the
Switch.
Parameters None.
Restrictions Only administrator or operator–level users can issue this command.
Example usage:
To enable the MLD snooping:
DGS-1100-10/ME:5>enable mld_snooping
Command: enable mld_snooping
Success !
139
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
disable mld_snooping
Purpose To disable MLD snooping on the Switch.
Syntax disable mld snooping
Description The disable mld snooping command disables MLD snooping on
the Switch.
Parameters None.
Restrictions Only administrator or operator–level users can issue this command.
Example usage:
To disable the MLD snooping:
DGS-1100-10/ME:5>disable mld_snooping
Command: disable mld_snooping
Success !
DGS-1100-10/ME:5>
config mld_snooping
Purpose To configure mld snooping.
Syntax config mld_snooping [vlan_name <vlan_name 20> | vlanid
<vidlist 1-4094> | all] [state [enable | disable] | fast_leave
[enable | disable]]
Description The config mld_snooping command defines mld snooping on the
VLAN.
Parameters vlan_name <vlan_name 20> – Specifies that the mld snooping
applies only to this previously created VLAN.
vlanid <vidlist 1-4094> – Specifies that the mld snooping applies
only to this VLAN ID.
all – specifies that MLD snooping is to be configured for all VLANs
on the Switch.
state – Allows the user to enable or disable MLD snooping for the
specified VLAN.
fast_leave – Allows the user to enable or disable MLD snooping for
the specified VLAN.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure mld snooping:
140
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To configure mld mrouter ports:
Success!
DGS-1100-10/ME:5>
141
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
maximum time to wait for reports from listeners and the permitted
packet loss guaranteed by MLD snooping.
Parameters vlan_name <vlan_name 20> – Specifies that the mld snooping
applies only to this previously created VLAN.
vlanid <vidlist 1-4094> – specifies that the mld snooping applies only
to this previously created VLAN id.
all – specifies that MLD snooping is to be configured for all VLANs
on the Switch.
host_timeout <sec 130-153025> − Specifies the maximum amount
of time a host can be a member of a multicast group without the
switch receiving a host membership report. The default is 260
seconds.
router_timeout <sec 60-600> − Specifies the maximum amount of
time a router can be a member of a multicast group without the
Switch receiving a host membership report.
last_member_query_interval <sec 1-25> – The maximum amount of
time to be set between group-specific query messages. This interval
may be reduced to lower the amount of time it takes a router to
detect the loss of a last listener group. The user may set this interval
between 1 and 25 seconds with a default setting of 1 second.
max_response_time <sec 10-25> – The maximum time to wait for
reports from listeners. The user may specify a time between 1 and
25 seconds with a default setting of 10 seconds.
query_interval <sec 60-600> – Specifies the amount of time
between general query transmissions. The user may specify a time
between 1 and 65535 seconds with a default setting of 125 seconds.
robustness_variable <value 2-255> – Provides fine-tuning to allow
for expected packet loss on a subnet. The user may choose a value
between 1 and 255 with a default setting of 2. If a subnet is expected
to be lossy, the user may wish to increase this interval.
state [enable | disable] – Enabling the querier state will set the
Switch as a MLD querier and disabling it will set it as a Non-querier.
The default setting is disabled.
version <value 1-2> – Specify the version of MLD packet that will be
sent by this port. If a MLD packet received by the interface has a
version higher than the specified version, this packet will be forward
from router ports or VLAN flooding. The value is between 1 and 2.
Restrictions Only administrator or operator–level users can issue this command.
Example usage:
To configure MLD snooping querier:
Success!
DGS-1100-10/ME:5>
142
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
show mld_snooping
Purpose To display mld snooping settings on the Switch.
Syntax show mld_snooping [vlan <vlan_name 20> | vlanid <vidlist 1-
4094> | all]
Description The show mld_snooping command displays a port from being
defined as a multicast router port by static configuration or by
automatic learning.
Parameters vlan <vlan_name 20> – Displays that MLD snooping applies only to
this previously created VLAN.
vlanid <vidlist 1-4094> – Displays that MLD snooping applies only to
this previously created VLAN ID.
all – Shows MLD snooping is configured for all VLANs on the
Switch.
Restrictions None.
Example usage:
To show the MLD snooping:
Total Entries: 1
DGS-1100-10/ME:5>
143
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To show the MLD snooping groups:
Total Entries: 0
DGS-1100-10/ME:5>
Example usage:
To show the MLD_snooping mrouterport:
144
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To show the MLD_snooping host:
Total Entries: 0
DGS-1100-10/ME:5>
145
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
24
LIMITED IP MULTICAST ADDRESS COMMANDS
The 802.1X commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameter
create
[ipv4 | ipv6] profile_id <integer 1-24> profile_name string
mcast_filter_profile
config [profile_id <integer 1-24> | profile_name <string 32>] [add | delete]
mcast_filter_profile <mcast_addr>
config
[profile_id <integer 1-24> | profile_name <string 32>] [add | delete]
mcast_filter_profile
<ipv6_mcast_addr>
ipv6
delete
[ipv4 | ipv6] [profile_id<integer 1-24> | profile_name <string 32>]
mcast_filter_profile
show
{[ipv4 | ipv6]} {profile_id <integer 1-24> | profile_name <string 32>}
mcast_filter_profile
config
<portlist 1-10> [ipv4 | ipv6] {[add | delete] [max_group <integer 1-256> | access
limited_multicast_addr
[permit | deny]}
ports
show
limited_multicast_addr <portlist 1-10> {[ipv4 | ipv6]}
ports
show
max_mcast_group <portlist 1-10> {[ipv4 | ipv6]}
ports
create mcast_filter_profile
Purpose To create multicast filtering profile on the Switch.
Syntax create mcast_filter_profile [ipv4 | ipv6] profile_id <integer 1-24>
profile_name string
Description The create mcast_filter_profile command displays the multicast
filtering profiles settings.
Parameters [ipv4 | ipv6] – Specifies which IPv4 or IPv6 multicast filter profile to
be created on the Switch.
profile_id <integer 1-24> - Specifies the profile ID of the multicast
filter on the Switch.
profile_name string - Specifies the profile name of the multicast filter
profile on the Switch.
Restrictions Only Administrator or operator-level users can issue this command.
146
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create an IPv4 multicast filtering profile on the Switch:
Success!
DGS-1100-10/ME:5>
config mcast_filter_profile
Purpose To configure multicast filtering profile on the Switch.
Syntax config mcast_filter_profile [profile_id <integer 1-24> |
profile_name <string 32>] [add | delete] <mcast_addr>
Description The config mcast_filter_profile command displays the multicast
filtering profiles settings.
Parameters profile_id <integer 1-24> - Specify the profile ID to be added or
deleted for the multicast filter.
profile_name <string 32> - The name of the VLAN on which the
MAC address resides.
[add | delete] – Add or delete the profile ID which user specified.
<mcast_addr> – Specify the range of IPv4 address.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To add the multicast address range 225.1.1.1 to 225.1.1.10 to the profile on the Switch:
Success!
DGS-1100-10/ME:5>
147
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
the profile
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To add the IPv6 multicast address range FFF0E::100:0:0:20 – FFF0E::100:0:0:22 to profile ID 4 on the
Switch:
Success!
DGS-1100-10/ME:5>
delete mcast_filter_profile
Purpose To delete an entry in the switch’s forwarding database.
Syntax delete mcast_filter_profile [ipv4 | ipv6] [profile_id<integer 1-24>
| profile_name <string 32>]
Description The delete mcast_filter_profile command deletes a profile in the
switch’s multicast forwarding filtering database.
Parameters [ipv4 | ipv6] – Specify the IPv4 or IPv6 of multicast filter profile to be
removed on the switch.
profile_id <integer 1-24> − The profile id of the VLAN on which the
multicast forwarding filtering database resides.
profile_name <string 32> − The name of the VLAN on which the
multicast forwarding filtering database resides.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To delete the IPv4 multicast address profile with a profile name of rd3:
Success!
DGS-1100-10/ME:5>
show mcast_filter_profile
Purpose To display multicast filtering settings on the Switch.
Syntax show mcast_filter_profile {[ipv4 | ipv6]} {profile_id <integer 1-
24> | profile_name <string 32>}
Description The show mcast_filter_profile command displays the multicast
filtering profiles settings.
Parameters [ipv4 | ipv6] – Specify the IPv4 or IPv6 of multicast filter profile to be
displayed on the Switch.
148
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display all the defined multicast address profiles:
DGS-1100-10/ME:5>
Example usage:
To configure ports 1 and 3 to set the IPv6 multicast address profile ID 1:
DGS-1100-10/ME:5> config limited_multicast_addr ports 1 ipv6 access permit
Command: config limited_multicast_addr ports 1 ipv6 access permit
149
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Port : 1
Access: permit
DGS-1100-10/ME:5>
Example usage:
To show IPv6 maximum multicast group port 1 settings:
DGS-1100-10/ME:5> show max_mcast_group ports 1 ipv6
Command: show max_mcast_group ports 1 ipv6
150
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Port MaxMcastGroup
----- --------------
1 256
DGS-1100-10/ME:5>
151
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
25
802.1X COMMANDS
The 802.1X commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameter
enable 802.1x
disable 802.1x
show 802.1x
show 802.1x
{ports <portlist 1-10>}
auth_state
show 802.1x
{ports <portlist 1-10>}
auth_configuration
[<portlist 1-10> | all] [default | { port_control [force_unauth | auto | force_auth] |
config 802.1x quiet_period <sec 0-65535> | tx_period <sec 1-65535> | supp_timeout <sec 1-
auth_parameter ports 65535> | server_timeout <sec 1-65535> | max_req <value 1-10> | reauth_period
<sec 1-65535> | enable_reauth [enable | disable] | direction [both | in]}]
config 802.1x
[radius_eap | local]
auth_protocol
<server_index 1-3> [<ipaddr> | <ipv6addr>] [key <passwd 32>] {default |
config radius add auth_port <udp_port_number 1-65535> | acct_port <udp_port_number 1-65535>
| timeout <int 1-255> | retransmit <int 1-255>}
config radius delete <server_index 1-3>
<server_index 1-3> { key <passwd 32> | auth_port <udp_port_number 1-65535>
config radius | acct_port <udp_port_number 1-65535> | ipaddress [<ipaddr> | <ipv6addr>] |
retransmit <int 1-255> | timeout <int 1-255>}
show radius
config 802.1x
[port_based | mac_based]
auth_mode
create 802.1x guest
<vlan_name 20>
vlan
delete 802.1x guest
<vlan_name 20>
vlan
config 802.1x
[<portlist 1-10> | all] state [enable | disable]
guest_vlan ports
show 802.1x
guest_vlan
create 802.1x user <username 15>
152
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Command Parameter
config 802.1x capability
[<portlist 1-10> | all] [authenticator | none]
ports
enable 802.1x
Purpose To enable the 802.1x server on the Switch.
Syntax enable 802.1x
Description The enable 802.1x command enables the 802.1x Port-based
Network Access control server application on the Switch.
Parameters None.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To enable 802.1x switch wide:
DGS-1100-10/ME:5>enable 802.1x
Command: enable 802.1x
Success!
DGS-1100-10/ME:5>
disable 802.1x
Purpose To disable the 802.1x server on the switch.
Syntax disable 802.1x
Description The disable 802.1x command disables the 802.1x port-based
network access control server application on the switch.
Parameters None.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To disable 802.1x on the Switch:
DGS-1100-10/ME:5>disable 802.1x
Command: disable 802.1x
Success!
DGS-1100-10/ME:5>
show 802.1x
Purpose To display the 802.1x server information on the Switch.
153
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display 802.1x on the Switch:
DGS-1100-10/ME:5>show 802.1x
Command: show 802.1x
802.1X : Enable
Authentication Mode : Port_base
Authentication Method : Local
DGS-1100-10/ME:5>
154
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
155
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display the 802.1x configurations of port 2:
DGS-1100-10/ME:5> show 802.1x auth_configuration ports 2
Command: show 802.1x auth_configuration ports 2
Port number :2
Capability : none
AdminCrlDir : Both
OperCrlDir : Both
Port Control : ForceAuthorized
QuietPeriod : 60 sec
TxPeriod : 30 sec
SuppTimeout : 30 sec
ServerTimeout : 30 sec
MaxReq : 2 times
ReAuthPeriod : 3600 sec
ReAuthenticate : Disabled
Success!
DGS-1100-10/ME:5>
156
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the RADIUS (AAA) authentication protocol on the Switch:
157
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the RADIUS server communication settings:
Success!
DGS-1100-10/ME:5>
158
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To delete previously configured RADIUS server communication settings:
Success!
DGS-1100-10/ME:5>#
config radius
Purpose To configure the Switch’s RADIUS settings.
Syntax config radius <server_index 1-3> { key <passwd 32> | auth_port
<udp_port_number 1-65535> | acct_port <udp_port_number 1-
65535> | ipaddress [<ipaddr> | <ipv6addr>] | retransmit <int 1-
255> | timeout <int 1-255>}
Description The config radius command configures the Switch’s RADIUS
settings.
Parameters <server_index 1-3> – The index of the RADIUS server.
key – Specifies that a password and encryption key are to be used
between the Switch and the RADIUS server.
• <passwd 32> – The shared-secret key used by the
RADIUS server and the Switch. Up to 128 characters can
be used.
auth_port <udp_port_number 1-65535> – The UDP port number for
authentication requests. The default is 1812.
acct_port <udp_port_number 1-65535> – The UDP port number for
accounting requests. The default is 1813.
ipaddress [<ipaddr> | <ipv6addr>] – The IPv4 or IPv6 address of the
RADIUS server.
retransmit <int 1-255> –The number of times the device resends an
authentication request when the server does not respond. The value
is between 1 and 255.
timeout <int 1-255> –Specifies the connection timeout. The value
may be between 1 and 255 seconds.
Restrictions Only Administrator or operator-level users can issue this command.
159
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the RADIUS settings:
Success!
DGS-1100-10/ME:5>
show radius
Purpose To display the current RADIUS configurations on the Switch.
Syntax show radius
Description The show radius command displays the current RADIUS
configurations on the Switch.
Parameters None.
Restrictions None.
Example usage:
To display RADIUS settings on the Switch:
DGS-1100-10/ME:5>show radius
Command: show radius
Total Entries : 1
DGS-1100-10/ME:5>
Example usage:
To configure 802.1x authentication by port address:
160
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To create a 802.1x Guest VLAN:
Success!
DGS-1100-10/ME:5>
Example usage:
To delete a 802.1x Guest VLAN
161
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To configure ports to the Guest VLAN:
Success!
DGS-1100-10/ME:5>
Example usage:
To display the Guest VLAN configuration information:
162
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
Example usage:
To create a 802.1x user:
Example usage:
To display the 802.1x user information:
163
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Index Username
------------ ---------------
1 dlink
Total Entries: 1
Success!
DGS-1100-10/ME:5>
Example usage:
To delete the 802.1x user:
Success!
DGS-1100-10/ME:5>
Example usage:
To configure capability ports to the 802.1x on the Switch:
164
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
165
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
26
PORT SECURITY COMMANDS
The Port Security commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
[<portlist 1-10> | all] [admin_state [enable | disable] | max_learning_addr
config port_security <max_lock_no 0-64> | lock_address_mode [Permanent | DeleteOnTimeout |
DeleteOnReset]
show port_security {ports <portlist 1-10>}
config port_security
Purpose To configure port security settings.
Syntax config port_security [<portlist 1-10> | all] [admin_state [enable |
disable] | max_learning_addr <max_lock_no 0-64> |
lock_address_mode [Permanent | DeleteOnTimeout |
DeleteOnReset]
Description The config port_security command configures port security
settings for specific ports.
Parameters <portlist 1-10> – A port or range of ports to be configured.
all – Configures port security for all ports on the Switch.
admin_state [enable | disable] – Enables or disables port security for
the listed ports.
max_learning_addr <int 0-64> - Specify the max learning address.
The range is 0 to 64.
1-64 Limits the number of MAC addresses dynamically listed in the
FDB for the ports.
lock_address_mode – Defines the TBD and contains the following
options:
• Permanent – Learns up to the maximum number of dynamic
addresses allowed on the port. The learned addresses are
not aged out or relearned on other ports as long as the port
is locked.
• DeleteOnReset – Deletes the current dynamic MAC
addresses associated with the port. Learn up to the
maximum addresses allowed on the port (this number is
also configurable). Aging is disabled; the addresses are
deleted on reset
• DeleteOnTimeout – Deletes the current dynamic MAC
addresses associated with the port. The port learns up to
the maximum addresses allowed on the port. Re-learned
MAC addresses and address aging out are also enabled.
The MAC addresses are deleted when the device is reset
and when the address is aged out.
166
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure port security:
Success!
DGS-1100-10/ME:5>
show port_security
Purpose To display the current port security configuration.
Syntax show port_security {ports <portlist 1-10>}
Description The show port_security command displays port security
information for the Switch’s ports. The information displayed
includes port security, admin state, the maximum number of learning
addresses, lock mode and trap interval.
Parameters ports <portlist 1-10> – A port or range of ports whose settings are
to be displayed.
Restrictions None.
Example usage:
To display the port security configuration:
DGS-1100-10/ME:5>
167
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
27
PORT PRIORITY COMMANDS
The Port Priority commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
config port_ priority [<portlist 1-10> | all] priority <value 0-7>
show port_priority { all | <portlist 1-10> }
config port_priority
Purpose To configure port priority settings.
Syntax config port_priority [<portlist 1-10> | all] priority [highest | low |
medium | high]
Description The config port_ priority command configures port priority settings
for specific ports.
Parameters {all | <portlist 1-10>} – Specifies all ports or a range of ports to be
configured.
<value 0-7> – Specifies the priority of ports mapping priority queue.
Restrictions Only administrator or operator-level users can issue this command
Example usage:
To configure port priority:
Success!
DGS-1100-10/ME:5>
show port_priority
Purpose To display the current port priority configuration.
Syntax show port_priority { all | <portlist 1-10> }
Description The show port_ priority command displays port priority information
for the switch’s ports.
Parameters {all | <portlist 1-10>} – All ports or range of ports whose settings are
to be displayed.
Restrictions None.
168
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display the port 1~3 priority configuration:
169
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
28
TIME AND SNTP COMMANDS
The Time and SNTP commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
{primary [<ipaddr> | <ipv6addr>] | secondary [<ipaddr> | <ipv6addr>] | poll-
config sntp
interval <sec 30-99999>}
show sntp
enable sntp
disable sntp
show time
config sntp
Purpose To setup SNTP service.
Syntax config sntp {primary [<ipaddr> | <ipv6addr>] | secondary
[<ipaddr> | <ipv6addr>] | poll-interval <sec 30-99999>}
Description The config sntp command configures SNTP service from an SNTP
server. SNTP must be enabled for this command to function (See
enable sntp).
Parameters primary [<ipaddr>| <ipv6addr>] – Specifies the IPv4 or IPv6 address
of the primary SNTP server.
secondary [<ipaddr>| <ipv6addr>] – Specifies the IPv4 or IPv6
address of the secondary SNTP server.
poll-interval <sec 30-99999> – The interval between requests for
updated SNTP information. The polling interval ranges from 60
seconds (1 minute) to 86,400 seconds (1 day).
Restrictions Only administrator or operator-level users can issue this command.
SNTP service must be enabled for this command to function (enable
sntp).
170
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure SNTP settings:
Success!
DGS-1100-10/ME:5>
show sntp
Purpose To display the SNTP information.
Syntax show sntp
Description The show sntp command displays SNTP settings information,
including the source IP address, time source and poll interval.
Parameters None.
Restrictions None.
Example usage:
To display SNTP configuration information:
DGS-1100-10/ME:5>show sntp
Command: show sntp
SNTP Information
------------------------------------------
Current Time Source : Local
SNTP : Disabled
SNTP Primary Server : 10.1.1.1
SNTP Secondary Server : 10.1.1.2
SNTP Poll Interval : 60 sec
DGS-1100-10/ME:5>
171
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
enable sntp
Purpose To enable SNTP server support.
Syntax enable sntp
Description The enable sntp command enables SNTP server support. SNTP
service must be separately configured (see config sntp). Enabling
and configuring SNTP support override any manually configured
system time settings.
Parameters None.
Restrictions Only administrator and Operator-level users can issue this
command. SNTP settings must be configured for SNTP to function
(config sntp).
Example usage:
To enable the SNTP function:
DGS-1100-10/ME:5>enable sntp
Command: enable sntp
Success!
DGS-1100-10/ME:5>
disable sntp
Purpose To disable SNTP server support.
Syntax disable sntp
Description The disable sntp command disables SNTP support.
Parameters None.
Restrictions Only administrator or operator level users can issue this command.
Example usage:
To disable SNTP support:
DGS-1100-10/ME:5>disable sntp
Command: disable sntp
Success!
DGS-1100-10/ME:5>
172
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
config time
Purpose To manually configure system time and date settings.
Syntax config time <date> <systime>
Description The config time date command configures the system time and
date settings. These will be overridden if SNTP is configured and
enabled.
Parameters <date> –Specifies the date, using two numerical characters for the
day of the month, English abbreviation for the name of the month,
and four numerical characters for the year. For example: 19jan2011.
<systime > – Specifies the system time, using the format hh:mm:ss;
that is, two numerical characters each for the hour using a 24-hour
clock, the minute and second. For example: 19:42:30.
Restrictions Only administrator or operator-level users can issue this command.
Manually configured system time and date settings are overridden if
SNTP support is enabled.
Example usage:
To manually set system time and date settings:
Success!
DGS-1100-10/ME:5>
Example usage:
To configure time zone settings:
173
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
config dst
Purpose To configure time adjustments to allow for the use of Daylight Saving
Time (DST).
Syntax config dst [disable | [annual s_date <start_date 1-31> s_mth
<start_mth 1-12> s_time <start_time> end_date <int 1-31>
e_mth <end_mth 1-12> e_time <end_time> | offset [30 | 60 | 90 |
120]]]
Description The config dst command disables or configures Daylight Saving
Time (DST). When enabled, this adjusts the system clock to comply
with any DST requirement. DST adjustment affects system time for
both manually configured time and time set using SNTP service.
Parameters disable – Disables the DST seasonal time adjustment for the switch.
annual – Enables DST seasonal time adjustment on an annual
basis. Annual mode requires that the DST beginning and ending
date be specified concisely. For example, specify to begin DST on
April 3 and end DST on October 14. The format for annual mode is
as follows, and in the order listed:
• s_date <start_date 1-31> - The day of the month to begin
DST, expressed numerically.
• s_mth <start_mth 1-12> - The month of the year to begin
DST, expressed numerically.
• s_time <start_time> - The time of day to begin DST in hours
and minutes, expressed using a 24-hour clock.
• end_date <int 1-31> - The day of the month to end DST,
expressed numerically.
• e_mth <end_mth 1-12> - The month of the year to end DST,
expressed numerically.
• e_time<end_time> - The time of day to end DST, in hours
and minutes, expressed using a 24-hour clock.
offset [30 | 60 | 90 | 120] – Indicates the number of minutes to add
during the summertime. The possible offset times are 30, 60, 90,
and 120. The default value is 60.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
nd
To configure daylight savings time on the switch to run from 3PM on Tuesday the 2 of April until 3:30 PM on
nd
Wednesday the 2 of October and add 30 minutes at the onset of DST:
174
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
show time
Purpose To display the current time settings and status.
Syntax show time
Description The show time command displays the system time and date
configuration, as well as displays the current system time.
Parameters None.
Restrictions None.
Example usage:
To show the time curently set on the switch’s system clock:
DGS-1100-10/ME:5>show time
Command: show time
Time information
------------------------------------------------------------------------------------
Current Time Source : Local
Current Time : 09 Jan 2012 15:56:02
GMT Time Zone offset : GMT +02:30
Daylight Saving Time Status : Annual
Offset in Minutes : 60
Annual From : 01 Jan 0:0
To : 01 Jan 0:0
DGS-1100-10/ME:5>
175
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
29
ARP COMMANDS
The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameter
config arp_aging time <value 0-65535 >
show arpentry { interface_Name {System} | {static} | ip_address <ipaddr>}
Success!
DGS-1100-10/ME:5>
show arpentry
Purpose To displays all ARP entries on the Switch.
Syntax show arpentry { interface_Name {System} | {static} | ip_address
<ipaddr>}
Description The show arpentry command displays all ARP entries on the
Switch.
Parameters interface_name {system} – Displays the interface name of ARP
entry.
ip_address <ipaddr> – Displays the IP address of ARP entry.
Restrictions None.
176
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display all ARP entries on the Switch:
Total Entries : 1
DGS-1100-10/ME:5>
177
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
30
IPV6 NEIGHBOR DISCOVERY COMMANDS
The IPv6 Neighbor Discovery commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
create ipv6
System <ipv6_addr> <mac_addr>
neighbor_cache ipif
delete ipv6
[<ipv6_addr> | static | dynamic | all]
neighbor_cache
show ipv6
[ipv6address <ipv6_addr> | static | dynamic | all]
neighbor_cache
config ipv6 nd ns ipif System retrans_time <integer 1-3600>
show ipv6 nd
create ipv6route default <ipv6addr>
delete ipv6route default
show ipv6route
enable
ipif_ipv6_link_local_auto
System
disable
ipif_ipv6_link_local_auto
System
178
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To delete a static neighbor cache entry on the interface System, with an IPv6 address of 3ffc::1:
Success!
DGS-1100-10/ME:5>
Example usage:
To show all neighbor cache entries on the switch:
179
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Total Entries: 0
DGS-1100-10/ME:5>
Example usage:
To configure the retrans_time of IPv6 ND neighbor solicitation to be 100:
Success!
DGS-1100-10/ME:5>
show ipv6 nd
Purpose Used to display information regarding neighbor detection on the
switch.
Syntax show ipv6 nd
Description This show ipv6 nd command is used to display information
regarding neighbor detection on the switch.
Parameters None.
Restrictions None.
180
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To show IPv6 ND related configuration:
DGS-1100-10/ME:5>
Example usage:
To add a single static IPv6 entry in IPv6 format:
Success!
DGS-1100-10/ME:5>
Example usage:
To delete a static IPv6 entry from the routing table:
181
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
show ipv6route
Purpose Used to display IPv6 routes.
Syntax show ipv6route
Description This show ipv6route command displays the IPv6 routes.
Parameters None.
Restrictions None.
Example usage:
To show IPv6 route:
Total Entries: 1
DGS-1100-10/ME:5>
182
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Example usage:
To disable the IP interface IPv6 link-local settings on the switch:
Success!
DGS-1100-10/ME:5>
183
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
31
BANNER COMMANDS
The Banner commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameter
config log_save_timing [log_trigger | on_demand | time_interval <min 1-65535>]
show log
config log_save_timing
Purpose Used to configure the method of saving logs to the switch’s flash
memory.
Syntax config log_save_timing [log_trigger | on_demand | time_interval
<min 1-65535>]
Description This config log_save_timing command is used to configure the
method used in saving logs to the switch’s flash memory.
Parameters log_trigger – Users who choose this method will have logs saved to
the switch every time a log event occurs on the switch.
on_demand – Users who choose this method will only save logs
when they manually tell the Switch to do so, using the save all or
save log command.
time_interval <min 1-65535>– Use this parameter to configure the
time interval that will be implemented for saving logs. The logs will
be saved every x number of minutes that are configured here.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure the time interval as every 30 minutes for saving logs:
Success!
DGS-1100-10/ME:5>
184
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
show log
Purpose Used to show the login banner.
Syntax show log
Description This command allows display of the log.
Parameters None.
Restrictions None.
Usage Example:
To show the log on the Switch:
DGS-1100-10/ME:5>
185
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
32
COMMAND HISTORY LIST COMMANDS
The Command History List commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
?
show
command_history
dir
?
Purpose To display all commands in the Command Line Interface (CLI).
Syntax ?
Description The ? command displays all of the commands available through the
Command Line Interface (CLI).
Parameters {<command>} – Lists all the corresponding parameters for the
specified command, along with a brief description of the command’s
function and similar commands having the same words in the
command.
Restrictions None.
Example usage:
To display all of the commands in the CLI:
186
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5> ?
Command: ?
USEREXEC commands :
? {<command>}
cable diagnostic port [<portlist 1-10> | all]
clear
clear counters ports <portlist 1-10>
clear ethernet_oam ports [<portlist 1-10> | all] {[ event_log | statistics]}
clear fdb [vlan <vlan_name 20> | port <port 1-10> | all]
clear log
clear port_security_entry port <portlist 1-10>
cmdebug flag ([ip] [icmp] [udp] [rarp] ) {enable| disable}
cmdebug flag fdb ([img] [info] [runtime]) {enable| disable}
cmdebug flag led ([read] [write] [debug] [cli] [watchdog] [path] [error])
{enable|
disable}
cmdebug killme
cmdebug lock msg
cmdebug memory
cmdebug multicast dump
cmdebug private inter mib { enable | disable}
cmdebug sem
cmdebug sig <pid> <sig_id>
cmdebug sli <integer(0-2048)>
cmdebug syscall <command1> [<command2>] [<command3>]
cmdebug task <integer(1-200)> pri <integer(1-99)>
cmdebug tcp <tcb-dump|tcp-trace> <integer(0-2048)>
cmdebug timing add <tag (32)>
cmdebug timing clear
cmdebug timing dump [<tag (32)>]
CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a ALL
show command_history
Purpose To display the command history.
Syntax show command_history
Description The show command_history command displays the command
history.
Parameters None.
Restrictions None.
187
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display the command history:
DGS-1100-10/ME:5>show command_history
Command: show command_history
?
show log
show log_save_timing
show log_save_timing
DGS-1100-10/ME:5>
dir
Purpose To display all commands.
Syntax dir
Description The dir command displays all commands.
Parameters None.
Restrictions None.
Example usage:
To display all of the commands:
DGS-1100-10/ME:5> dir
Available commands :
? cable clear cmdebug
compute config create debug
delete disable download echo
enable logout npapi ping
ping6 reboot reset rpc
save show traceroute upload
DGS-1100-10/ME:5>
188
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
33
ACCESS AUTHENTICATION CONTROL COMMANDS
The Access Authentication Control commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
create authen_login
<string 15>
method_list_name
[default | method_list_name <string 15>] method [ radius | local | server_group
config authen_login
<string 15> | none]
delete authen_login
<string 15>
method_list_name
show authen_login [all | default | method_list_name <string 15>]
create authen_enable
<string 15>
method_list_name
[default | method_list_name <string 15>] method {radius | local | server_group
config authen_enable
<string 15> | none}
delete authen_enable
<string 15>
method_list_name
show authen_enable [all | default | method_list_name <string 15>]
enable authen_policy
disable authen_policy
show authen_policy
config authen
[console | http | all] [login | enable] [default | method_list_name <string 15>]
application
show authen
application
config authen
[attempt <int 1-255> | response_timeout <int 0-255>]
parameter
show authen
parameter
create authen [<ipaddr>| <ipv6addr>] protocol radius {port <int 1-65535> | key <string 254> |
server_host timeout <int 1-255> | retransmit <int 1-255>}
config authen [<ipaddr> | <ipv6addr>] protocol radius {port <int 1-65535> | key [<string 254>] |
server_host timeout <int 1-255> | retransmit <int 1-255>}
delete authen
[<ipaddr> | <ipv6addr>] protocol radius
server_host
show authen
server_host
189
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Command Parameter
server_group
config authen [<string 15> | radius] [add | delete] server_host [<ipaddr> | <ipv6addr>] protocol
server_group radius
delete authen
<string 15>
server_group
show authen
{<string 15>}
server_group
enable admin
Example usage:
To create the method list ‘Trinity’:
Success!
DGS-1100-10/ME:5>
config authen_login
Purpose To configure a user-defined or default method list of authentication
methods for user login.
Syntax config authen_login [default | method_list_name <string 15>]
method [radius | local | server_group <string 15> | none]
Description The config authen_login command configures a user-defined or
default method list of authentication methods for users logging on to
the switch. The sequence of methods implemented in this command
affects the authentication result. For example, if a user enters a
sequence of methods like tacacs – local, the switch sends an
authentication request to the first tacacs host in the server group. If
no response comes from the server host, the switch sends an
190
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the user defined method list ‘Trinity’ with authentication methods RADIUS and local, in that
order.
Success!
DGS-1100-10/ME:5>
191
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To delete the method list name ‘Trinity’:
Success!
DGS-1100-10/ME:5>
show authen_login
Purpose To display a previously configured user defined method list of
authentication methods for users logging on to the Switch.
Syntax show authen_login [all | default | method_list_name <string
15>]
Description The show authen_login command displays a list of authentication
methods for user login.
Parameters default – Displays the default method list for users logging on to the
switch.
method_list_name <string 15> - Specifies the method_list_name to
display.
all – Displays all the authentication login methods currently
configured on the switch.
• Method List Name – The name of a previously configured
method list name.
• Method Name – Defines which security protocols are
implemeted, per method list name.
Restrictions None.
Example usage:
To view all authentication login method list names:
192
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
DGS-1100-10/ME:5>
Example usage:
To create a user-defined method list, named ‘Permit’ for promoting user privileges to adminstrator privileges:
Success!
DGS-1100-10/ME:5>
config authen_enable
Purpose To configure a user-defined method list of authentication methods
for promoting normal user level privileges to administrator level
193
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
194
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the user defined method list ‘Permit’ with authentication methods RADIUS and
local_enable, in that order.
Success!
DGS-1100-10/ME:5>
Example usage:
To delete the user-defined method list ‘Permit’
Success!
DGS-1100-10/ME:5>
show authen_enable
Purpose To display the list of authentication methods for promoting normal
user level privileges to administrator level privileges on the switch.
Syntax show authen_enable [all | default | method_list_name <string
15>]
Description The show authen_enable command deletes a user-defined list of
authentication methods for promoting user level privileges to
adminstrator level privileges.
Parameters default – Displays the default method list for users attempting to gain
access to administrator level privileges on the switch.
method_list_name <string 15> – The method_list_name to be
displayed.
all – Displays all the authentication login methods currently
configured on the switch.
The command displays the following parameters:
195
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To display all method lists for promoting user level privileges to administrator level privileges.
DGS-1100-10/ME:5>
enable authen_policy
Purpose To enable the authentication policy on the Switch.
Syntax enable authen_policy
Description The enable authen_policy command enables the authentication
policy on the Switch.
Parameters None.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To enable the authentication policy:
DGS-1100-10/ME:5>enable authen_policy
Command: enable authen_policy
Success!
DGS-1100-10/ME:5>
disable authen_policy
Purpose To disable the authentication policy on the switch.
Syntax disable authen_policy
Description The disable authen_policy command disables the authentication
policy on the switch.
Parameters None.
Restrictions Only administrator or operator-level users can issue this command.
196
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To disable the authentication policy:
DGS-1100-10/ME:5>disable authen_policy
Command: disable authen_policy
Success!
DGS-1100-10/ME:5>
show authen_policy
Purpose Used to display the system access authentication policy status on
the switch.
Syntax show authen_policy
Description The show authen_policy command displays the system access
authentication policy status on the switch.
Parameters None.
Restrictions None.
Example usage:
To display the system access authentication policy:
DGS-1100-10/ME:5>show authen_policy
Command: show authen_policy
197
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the default method list for the command line interface:
Success!
DGS-1100-10/ME:5>
Example usage:
To display the login and enable method list for all applications on the Switch:
DGS-1100-10/ME:5>
198
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the default method list for the command line interface:
Success!
DGS-1100-10/ME:5>
Example usage:
To display the authentication parameters for all applications on the Switch:
Example usage:
To create a RADIUS authentication server host, with port number 1234, a timeout value of 10 seconds
and a retransmit count of 5.
Success!
DGS-1100-10/ME:5>
200
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
201
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To delete a user-defined RADIUS authentication server host:
Success!
DGS-1100-10/ME:5>
Example usage:
To view authenticaion server hosts currently set on the Switch:
IP Address : 10.90.90.97
Protocol : radius
Port : 10
Timeout :2
Retransmit :5
Key : kdjfl
Total Entries: 1
DGS-1100-10/ME:5>
202
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To create a server group “dlinkgroup”:
Success!
DGS-1100-10/ME:5>
203
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure a RADIUS authentication server group:
Success!
DGS-1100-10/ME:5>
Example usage:
To delete a user-defined rd1 authentication server group:
Success!
DGS-1100-10/ME:5>
204
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To view authenticaion server hosts currently set on the Switch:
Total Entries: 2
DGS-1100-10/ME:5>
enable admin
Purpose To promote user level privileges up to administrator level privileges.
Syntax enable admin
Description The enable admin command enables a user to be granted
administrative privileges on to the switch. After logging on to the
switch, users have only ‘user’ level privileges. To gain access to
administrator level privileges, the user may enter this command. The
system then prompts for an authentication password. Possible
authentication methods for this function include TACACS, RADIUS,
user defined server groups, local enable (local account on the
Switch), or no authentication (none). Because TACACS does not
support the enable function, the user must create a special account
on the server host which has the username ‘enable’, and a
password configured by the administrator that will support the
‘enable’ function. This function becomes inoperable when the
authentication policy is disabled.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To enable administrator privileges on the switch:
DGS-1100-10/ME:5>enable admin
Command: enable admin
Success!
DGS-1100-10/ME:5>
205
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
34
POWER SAVING COMMANDS
The Power Saving commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
config power_saving mode [hibernation | led | length_detection | port] [enable | disable]
[hibernation | led [all | <portlist>] | port [all | <portlist 1-10>]] [add | delete]
config power_saving time_range1 <range_name 20> time_range2 <range_name 20>
{clear_time_range}
show power_saving {hibernation | led | length_detection | port}
Example usage:
To configure the power saving mode on the switch:
DGS-1100-10/ME:5> config power_saving mode port hibernation enable
Command: config power_saving mode port hibernation enable
Success!
DGS-1100-10/ME:5>
config power_saving
Purpose To configure the power saving on the switch.
206
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure power saving on the switch:
Success!
DGS-1100-10/ME:5>
show power_saving
Purpose To display power saving information on the switch.
Syntax show power_saving {hibernation | led | length_detection | port}
Description The show power_saving is used to display power saving
information.
Parameters hibernation – Display the hibernation state.
led –Display the led state.
length_detection –Display the length detection state.
port –Display ports state.
Restrictions None.
Example usage:
To display power saving information on the switch:
207
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
35
LLDP COMMANDS
The LLDP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameter
enable lldp
disable lldp
config lldp
<sec 5-32768>
message_tx_interval
config lldp
<int 2-10>
message_tx_hold_multiplier
config lldp reinit_delay <sec 1-10>
config lldp tx_delay <sec 1-8192>
show lldp
show lldp ports {<portlist 1-10>}
show lldp local_ports {<portlist 1-10>} {mode[brief | normal | detailed]}
show lldp remote_ports {<portlist 1-10>} {mode[brief | normal | detailed]}
config lldp ports [<portlist 1-10> | all] notification [enable | disable]
config lldp ports [<portlist 1-10> | all] admin_status [tx_only | rx_only | tx_and_rx | disable]
[<portlist 1-10>|all] mgt_addr [ipv4 <ipaddr>| ipv6 <ipv6addr>] [enable |
config lldp ports
disable]
[<portlist 1-10>|all] basic_tlvs [all | {port_description | system_name |
config lldp ports
system_description | system_capabilities}] [enable | disable]
[<portlist 1-10>|all] dot3_tlvs [all | link aggregation |
config lldp ports
mac_phy_configuration_status | maximum_frame_size] [enable | disable]
config lldp ports [<portlist 1-10>|all] dot1_tlv_pvid [disable | enable]
config lldp ports [<portlist 1-10>|all] dot1_tlv_protocol_identity eapol [disable | enable]
[<portlist 1-10>|all] dot1_tlv_vlan_name [vlan [<vlan_name 20> | all] | vlanid <vidlist
config lldp ports 1-4094>] [disable | enable]
enable lldp
Purpose To enable LLDP on the switch.
Syntax enable lldp
208
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Description The enable lldp command enables the Link Layer Discovery
Protocol (LLDP) on the switch.
Parameters None
Restrictions Only administrator or operator–level users can issue this command.
Example usage:
To enable LLDP on the switch:
DGS-1100-10/ME:5>enable lldp
Command: enable lldp
Success!
DGS-1100-10/ME:5>
disable lldp
Purpose To disable LLDP on the switch.
Syntax disable lldp
Description The disable lldp command disables the Link Discovery Protocol
(LLDP) on the switch.
Parameters None
Restrictions Only administrator or operator–level users can issue this command.
Example usage:
To disable LLDP on the switch:
DGS-1100-10/ME:5>disable lldp
Command: disable lldp
Success!
DGS-1100-10/ME:5>
Example usage:
To configure LLDP message tx interval on the switch:
209
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
Success!
DGS-1100-10/ME:5>
Example usage:
To configure LLDP reinit delay:
DGS-1100-10/ME:5>config lldp reinit_delay 1
Command: config lldp reinit_delay 1
Success!
DGS-1100-10/ME:5>
210
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure LLDP tx delay:
DGS-1100-10/ME:5>config lldp tx_delay 1
Command: config lldp tx_delay 1
Success!
DGS-1100-10/ME:5>
show lldp
Purpose To display the Link Layer Discovery Protocol (LLDP) on the switch.
Syntax show lldp
Description The show lldp displays the LLDP configuration on the switch.
Parameters None.
Restrictions None.
Example usage:
To show LLDP settings:
211
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
LLDP Configurations
-------------------------------------------------------------
LLDP Status : Enabled
Message Tx Interval : 10
Message Tx Hold Multiplier : 2
ReInit Delay :2
Tx Delay :2
DGS-1100-10/ME:5>
Example usage:
To show the information for port 1:
212
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Port ID :1
-------------------------------------------------------------
Admin Status : TX_and_RX
Notification Status : Disabled
Advertised TLVs Option :
Port Description Disabled
System Name Disabled
System Description Disabled
System Capabilitiess Disabled
Enabled Management Address
<None>
Port VLAN ID Disabled
Enabled VLAN Name
<None>
Enabled Protocol_Identity
<None>
MAC/PHY Configuration/Status Disabled
Maximum Frame Size Disabled
DGS-1100-10/ME:5>
Example usage:
To show the local port information for port 1 with mode brief:
DGS-1100-10/ME:5> show lldp local_ports 1 mode brief
Command: show lldp local_ports 1 mode brief
Port ID : 1
------------------------------------------
Port Id Subtype : Interface Alias
Port Id : Fa0/1
Port Description :
DGS-1100-10/ME:5>
213
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
using LLDP.
Syntax show lldp remote_ports {<portlist 1-10>} {mode[brief | normal |
detailed]}
Description The show lldp remote_ports command displays the information
regarding neighboring devices.
Parameters <portlist 1-10> − A port or range of ports to be displayed.
[mode[brief | normal | detailed]} − defines which mode of information
users want to be displayed, brief, normal or detailed.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To show the information for remote ports:
DGS-1100-10/ME:5>show lldp remote_ports 1 mode normal
Command: show lldp remote_ports 1 mode normal
Port ID : 1
---------------------------------------------------------------------------
Remote Entities Count : 0
(NONE)
DGS-1100-10/ME:5>
Success!
DGS-1100-10/ME:5>
214
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure LLDP admin status
DGS-1100-10/ME:5>config lldp ports 2 admin_status disable
Command: config lldp ports 2 admin_status disable
Success!
DGS-1100-10/ME:5>
Example usage:
To configure LLDP management address advertisement
DGS-1100-10/ME:5>config lldp ports 1 mgt_addr ipv4 100.1.1.2 enabled
Command: config lldp ports 1 mgt_addr ipv4 100.1.1.2 enabled
Success!
DGS-1100-10/ME:5>
215
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
switch.
Parameters [<portlist 1-10> | all] – Specify a port or ports to be configured.
Basic TLVs:
all – advertisement of all the basic TLVs
port description – advertisement of Port description
system name – advertisement of system name
system description – advertisement of System description
system capabilities – advertisement of system capabilities
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure LLDP Basis TLVs
DGS-1100-10/ME:5>config lldp ports 1 basic_tlvs all enable
Command: config lldp ports 1 basic_tlvs all enable
Success!
DGS-1100-10/ME:5>
Example usage:
To configure LLDP mac_phy_configuration status:
DGS-1100-10/ME:5>config lldp ports 2 dot3_tlvs mac_phy_configuration_status
enable
Command: config lldp ports 2 dot3_tlvsmac_phy_configuration_status enable
Success!
DGS-1100-10/ME:5>
216
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure LLDP TLV PVID:
DGS-1100-10/ME:5>config lldp ports all dot1_tlv_pvid disable
Command: config lldp ports all dot1_tlv_pvid disable
Success!
DGS-1100-10/ME:5>
Example usage:
To configure LLDP ports configuration status:
DGS-1100-10/ME:5>config lldp ports all dot1_tlv_protocol_identity eapol enable
Command: config lldp ports all dot1_tlv_protocol_identity eapol enable
Success!
DGS-1100-10/ME:5>
217
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure LLDP mac_phy_configuration status:
DGS-1100-10/ME:5>config lldp ports all dot1_tlv_vlan_name vlanid 1 disable
Command: config lldp ports all dot1_tlv_vlan_name vlanid 1 disable
Success!
DGS-1100-10/ME:5>
Example usage:
To show the LLDP management address advertisement:
DGS-1100-10/ME:5> show lldp mgt_addr
Command: show lldp mgt_addr
Address : 1
-----------------------------------------------
Subtype : IPv4
Address : 10.90.90.90
IF Type : ifIndex
OID : 1.3.6.1.2.1.2.2.1.1
Advertising Ports : <NONE>
Address : 2
-----------------------------------------------
Subtype : IPv6
Address : fe80::dcad:beff:feef:102
IF Type : ifIndex
OID : 1.3.6.1.2.1.2.2.1.1
Advertising Ports : <NONE>
Total Address : 2
DGS-1100-10/ME:5>
218
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To show the LLDP statistics for port 3:
DGS-1100-10/ME:5>show lldp statistics ports 3
Command: show lldp statistics ports 3
Port ID : 3
---------------------------------------------
lldpStatsTxPortFramesTotal :0
lldpStatsRxPortFramesDiscardedTotal : 0
lldpStatsRxPortFramesErrors :0
lldpStatsRxPortFramesTotal :0
lldpStatsRxPortTLVsDiscardedTotal :0
lldpStatsRxPortTLVsUnrecognizedTotal : 0
lldpStatsRxPortAgeoutsTotal :0
DGS-1100-10/ME:5>
219
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
36
TRAFFIC SEGMENTATION COMMANDS
The Traffic Segmentation commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
config
<portlist 1-10> forward_list [null | <portlist 1-10>]
traffic_segmentation
show traffic_
{<portlist 1-10>}
segmentation
config traffic_segmentation
Purpose To configure traffic segmentation on the switch.
Syntax config traffic_segmentation <portlist 1-10> forward_list [null |
<portlist 1-10>]
Description The config traffic_segmentation command configures traffic
segmentation on the switch.
Parameters <portlist 1-10> – A port or a port channel for which the current traffic
segmentation configuration on the switch is to be displayed.
forward_list – Specifies a port or a port channel to receive forwarded
frames from the source ports specified in the portlist, above.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure ports 1~3 to be able to forward frames to port 5:
DGS-1100-10/ME:5>config traffic_segmentation 1-3 forward_list 5
Command: config traffic_segmentation 1-3 forward_list 5
Success!
DGS-1100-10/ME:5>
show traffic_segmentation
Purpose To display the current traffic segmentation configuration on the
switch.
Syntax show traffic_segmentation {<portlist 1-10>}
Description The show traffic_segmentation command displays the current
traffic segmentation configuration on the switch.
Parameters <portlist 1-10> – A port or a port channel for which the current traffic
segmentation configuration on the switch is to be displayed.
220
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Restrictions None.
Example usage:
To display the current traffic segmentation configuration on the switch:
DGS-1100-10/ME:5>
221
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
37
ETHERNET OAM COMMANDS
Ethernet OAM (Operations, Administration, and Maintenance) is a data link layer protocol which provides
network administrators the ability to monitor the health of the network and quickly determine the location of
failing links or fault conditions on point-to-point and emulated point-to-point Ethernet link. The Ethernet OAM
commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameter
config ethernet_oam
[all | <portlist 1-10>] mode [active | passive]
ports (mode)
config ethernet_oam
[all | <portlist 1-10>] state [enable | disable]
ports (state)
config ethernet_oam
[all | <portlist 1-10>] link_monitor error_symbol {threshold <integer 1-
ports (link monitor error
4294967295> | window < integer 1000-60000> | notify_state [enable | disable]}
symbol)
config ethernet_oam
[all | <portlist 1-10>] link_monitor error_frame {threshold <integer> | window <
ports (link monitor error
integer 1000-60000> | notify_state [enable | disable]}
frame)
config ethernet_oam
[all | <portlist 1-10>] link_monitor error_frame_seconds {threshold < integer 1-
ports (link monitor error
4294967295> | window < integer 1000-60000> | notify_state [ enable | disable]}
frame seconds)
config ethernet_oam [all | <portlist 1-10>] link_monitor error_frame_period {threshold < integer 1-
ports (link monitor error 4294967295> | window < integer 148810-100000000> | notify_state [ enable |
frame period) disable]}
config ethernet_oam
ports (remote [all | <portlist 1-10>] remote_loopback [start | stop]
loopback)
config ethernet_oam
ports (received remote [all | <portlist 1-10>] received_remote_loopback [process | ignore]
loopback)
show ethernet_oam
[all | <portlist 1-10>] status
ports (status)
show ethernet_oam
[all | <portlist 1-10>] configuration
ports (configuration)
show ethernet_oam
[all | <portlist 1-10>] statistics
ports (statistics)
show ethernet_oam
[all | <portlist 1-10>] event_log {index <value_list}
ports (event log)
clear ethernet_oam
[all | <portlist 1-10>] [event_log| statistics]
ports
Each command is listed in detail, as follows:
222
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure port 1 OAM mode to passive:
DGS-1100-10/ME:5> config ethernet_oam ports 1 mode passive
Command: config ethernet_oam ports 1 mode passive
Success!
DGS-1100-10/ME:5>
223
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To enable Ethernet OAM on port 1:
DGS-1100-10/ME:5> config ethernet_oam ports 1 state enable
Command: config ethernet_oam ports 1 state enable
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the error symbol threshold to 2 and period to 1000ms for port 1:
DGS-1100-10/ME:5> config ethernet_oam ports 1 link_monitor error_symbol
threshold 2 window 1000 notify_state enable
Command: config ethernet_oam ports 1 link_monitor error_symbol threshold 2
window 1000 notify_state enable
Success!
DGS-1100-10/ME:5>
224
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
225
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Success!
DGS-1100-10/ME:5>
226
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To configure the error frame threshold to 10 and period to 1000000 for port 1:
DGS-1100-10/ME:5> config ethernet_oam ports 1 link_monitor error_frame_period
threshold 10 window 1000000 notify_state enable
Command: config ethernet_oam ports 1 link_monitor error_frame_period threshold
10 window 1000000 notify_state enable
Success!
DGS-1100-10/ME:5>
227
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
configured.
remote_loopback [start | stop] – If start is specified, a request is sent
to the remote peer to change to remote loopback mode. If stop is
specified, a request is sent to the remote peer to change to normal
operation mode.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To start remote loopback on port 1 of unit 1:
DGS-1100-10/ME:5> config ethernet_oam ports 1 remote_loopback start
Command: config ethernet_oam ports 1 remote_loopback start
Success!
DGS-1100-10/ME:5>
Example usage:
To configure the method of processing the received remote loopback command as “process” on port 1:
DGS-1100-10/ME:5> config ethernet_oam ports 1 received_remote_loopback
process
Command: config ethernet_oam ports 1 received_remote_loopback process
Success!
DGS-1100-10/ME:5>
228
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
229
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
mode.
Initiating Loopback – The local port has sent the start remote
loopback request to the peer and is waiting for response.
Remote Loopback – This indicates that both the local and
remote ports entered the loopback mode. Any non-OAM packet
received in the local port will be dropped.
Local Loopback – This indicates that both the local and remote
ports entered the loopback mode. The local port is doing the
loopback. Any non-OAM packets received on the port will be sent
back to the same port.
Terminate Loopback - The port is stopping loopback on the port.
Parameters [all | <portlist 1-10>] – Specifies a range of ports or all ports to
display status.
Restrictions None.
Example usage:
To show OAM control and status information on port 3:
Port 3
Local Client
------------------------------------------------------------
OAM : Disabled
Mode : Passive
Max OAMPDU : 1518
Remote Loopback : Support
Unidirection : Not Supported
Link Monitoring : Support
Variable Request : Support
PDU Revision :0
Operation Status : Disabled
Loopback Status : No Loopback
Remote Client
------------------------------------------------------------
Mode : Unknown
MAC Address : 00:00:00:00:00:00
Vendor (OUI) : 00:00:00
230
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To show Ethernet OAM configuration on port 3:
Port 3
------------------------------------------------------------
OAM : Disabled
Mode : Passive
Critical Event : Enabled
Remote Loopback OAMPDU : Not Processed
Symbol Error
Notify State : Enabled
Window : 1000
Threshold : 23
Frame Error
Notify State : Enabled
Window : 1000
Threshold :1
231
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Restrictions None.
Example usage:
To show Ethernet OAM statistics on port 2:
Port 2
------------------------------------------------------------------------
Information OAMPDU Tx :0
Information OAMPDU Rx :0
Unique Event Notification OAMPDU Tx : 0
Unique Event Notification OAMPDU Rx : 0
Duplicate Event Notification OAMPDU Tx: 0
Duplicate Event Notification OAMPDU Rx: 0
Loopback Control OAMPDU Tx :0
Loopback Control OAMPDU Rx :0
Variable Request OAMPDU Tx :0
Variable Request OAMPDU Rx :0
Variable Response OAMPDU Tx :0
Variable Response OAMPDU Rx :0
Organization Specific OAMPDUs Tx :0
Organization Specific OAMPDUs Rx :0
Unsupported OAMPDU Tx :0
Unsupported OAMPDU Rx :0
Frames Lost Due To OAM :0
DGS-1100-10/ME:5>
232
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To show Ethernet OAM event log on port 1:
Port 1
------------------------------------------------------------
Event Listing:
Index Type Location Time Stamp Value Window
Threshold Accumulated errors
----- -------------------- ---------- -------------------- ---------- --------
-- ---------- --------------------
DGS-1100-10/ME:5>
Example usage:
To clear port 1 OAM statistics:
Success!
DGS-1100-10/ME:5>
233
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
38
SAFEGUARD COMMANDS
The Safeguard commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
config
state [enable | disable]
safeguard_engine
show
safeguard_engine
config safeguard_engine
Purpose To define the safeguard engine on the switch.
Syntax config safeguard_engine state [enable | disable]
Description To define the safeguard_engine on the switch.
Parameters state [enable | disable] – enable and disable Safeguard engine on
the switch.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To enable the safeguard engine on the switch:
Success!
DGS-1100-10/ME:5>
show safeguard_engine
Purpose To show the safeguard engine status on the switch.
Syntax show safeguard_engine
Description To show the safeguard engine on the switch.
Parameters None.
Restrictions None.
234
DGS-1100-10/ME Metro Ethernet Managed Switch CLI Reference Guide
Example usage:
To show the safeguard engine status on the switch:
DGS-1100-10/ME:5> show safeguard_engine
Command: show safeguard_engine
DGS-1100-10/ME:5>
235