D-link DGS-1210-28P, DGS-1210-52, DGS-1210-28 User Manual [ru]

CLI Reference Guide
DGS-1210/ME Metro Ethernet Switch Series
Rev. A1
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Information in this document is subject to change without notice.
Reproduction in any manner whatsoever without the written permission of D-Link Computer Corporation is strictly forbidden.
Trademarks used in this text: D-Link and the D-Link logo are trademarks of D-Link Computer Corporation; Microsoft and Windows are registered trademarks of Microsoft Corporation.
Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. D-Link Computer Corporation disclaims any proprietary interest in trademarks and trade names other than its own.
FCC Warning
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are DGSigned to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with this user’s guide, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at hisown expense.
CE Mark Warning
This is a Class A product. In a domestic environment, this product may cause radio interference in which case the user may be required to take adequate measures.
Warnung!
Dies ist ein Produkt der Klasse A. Im Wohnbereich kann dieses Produkt Funkstoerungen verursachen. In diesem Fall kann vom Benutzer verlangt werden, angemessene Massnahmen zu ergreifen.
Precaución!
Este es un producto de Clase A. En un entorno doméstico, puede causar interferencias de radio, en cuyo case, puede requerirse al usuario para que adopte las medidas adecuadas.
Attention!
Ceci est un produit de classe A. Dans un environnement domestique, ce produit pourrait causer DGS interférences radio, auquel cas l`utilisateur devrait prendre les mesures adéquates.
Attenzione!
Il presente prodotto appartiene alla classe A. Se utilizzato in ambiente domestico il prodotto può causare interferenze radio, nel cui caso è possibile che l`utente debba assumere provvedimenti adeguati.
VCCI Warning
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Table of Contents
INTRODUCTION ...................................................................................................................................................... 1
USING THE CONSOLE CLI ..................................................................................................................................... 3
COMMAND SYNTAX ............................................................................................................................................... 7
BASIC SWITCH COMMANDS ............................................................................................................................... 10
enable password encryption ............................................................................................................................... 11
disable password encryption ............................................................................................................................... 11
create account ..................................................................................................................................................... 12
config account ..................................................................................................................................................... 12
show account ...................................................................................................................................................... 13
delete account ..................................................................................................................................................... 13
show session ....................................................................................................................................................... 14
show switch ......................................................................................................................................................... 14
show serial_port .................................................................................................................................................. 15
config serial_port ................................................................................................................................................. 16
enable clipaging .................................................................................................................................................. 17
disable clipaging .................................................................................................................................................. 17
enable web .......................................................................................................................................................... 17
disable web ......................................................................................................................................................... 18
enable autoconfig ................................................................................................................................................ 18
disable autoconfig ............................................................................................................................................... 19
show autoconfig .................................................................................................................................................. 19
save ..................................................................................................................................................................... 20
reboot .................................................................................................................................................................. 20
reset .................................................................................................................................................................... 21
logout ................................................................................................................................................................... 22
ping ...................................................................................................................................................................... 22
ping6 .................................................................................................................................................................... 23
enable telnet ........................................................................................................................................................ 24
disable telnet ....................................................................................................................................................... 24
show tech support ............................................................................................................................................... 25
SMTP SERVER COMMANDS ............................................................................................................................... 26
enable smtp ......................................................................................................................................................... 26
disable smtp ........................................................................................................................................................ 26
config smtp .......................................................................................................................................................... 27
show smtp ........................................................................................................................................................... 27
smtp sent_testmsg .............................................................................................................................................. 28
MODIFY BANNER AND PROMPT COMMANDS ................................................................................................. 30
config command_prompt ..................................................................................................................................... 30
config greeting_message .................................................................................................................................... 31
show greeting_message ..................................................................................................................................... 32
SWITCH PORT COMMANDS ................................................................................................................................ 33
config ports .......................................................................................................................................................... 33
show ports ........................................................................................................................................................... 34
LOOPBACK DETECTION COMMANDS ............................................................................................................... 35
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
enable loopdetect ................................................................................................................................................ 35
disable loopdetect ............................................................................................................................................... 35
config loopdetect mode ....................................................................................................................................... 36
config loopdetect ports ........................................................................................................................................ 36
config loopdetect ................................................................................................................................................. 37
show loopdetect .................................................................................................................................................. 37
DOS PREVENTION COMMANDS ......................................................................................................................... 39
config dos_prevention dos_type ......................................................................................................................... 39
show dos_prevention .......................................................................................................................................... 40
PPPOE CIRCUIT ID INSERTION COMMANDS .................................................................................................... 42
config pppoe circuit_id_insertion state ................................................................................................................ 42
config pppoe circuit_id_insertion ports ................................................................................................................ 43
show pppoe circuit_id_insertion .......................................................................................................................... 43
show pppoe circuit_id_insertion ports ................................................................................................................. 44
DHCP SERVER SCREENING COMMANDS ......................................................................................................... 45
config filter dhcp_server ...................................................................................................................................... 45
config filter dhcp_server ...................................................................................................................................... 46
show filter dhcp_server ....................................................................................................................................... 46
IP-MAC-PORT BINDING COMMANDS ................................................................................................................. 48
create address_binding ip_mac .......................................................................................................................... 49
config address_binding ip_mac ports ................................................................................................................. 49
config address_binding auto_scan ..................................................................................................................... 50
config address_binding auto_scan ipv6address ................................................................................................. 50
delete address_binding ....................................................................................................................................... 51
show address_binding ........................................................................................................................................ 51
show address_binding auto_scan list ................................................................................................................. 52
enable address_binding dhcp_snoop ................................................................................................................. 53
disable address_binding dhcp_snoop ................................................................................................................. 53
config address_binding dhcp_snoop max_entry ports ....................................................................................... 53
show address_binding dhcp_snoop .................................................................................................................... 54
NETWORK MANAGEMENT (SNMP) COMMANDS ............................................................................................. 56
create snmp user ................................................................................................................................................ 59
delete snmp user ................................................................................................................................................. 59
show snmp user .................................................................................................................................................. 60
create snmp view ................................................................................................................................................ 60
delete snmp view ................................................................................................................................................ 61
show snmp view .................................................................................................................................................. 61
create snmp community ...................................................................................................................................... 62
delete snmp community ...................................................................................................................................... 63
show snmp community ........................................................................................................................................ 63
config snmp engineID ......................................................................................................................................... 64
show snmp engineID ........................................................................................................................................... 64
create snmp group .............................................................................................................................................. 65
delete snmp group .............................................................................................................................................. 66
show snmp global state ....................................................................................................................................... 66
show snmp groups .............................................................................................................................................. 67
create snmp host ................................................................................................................................................. 68
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
delete snmp host ................................................................................................................................................. 69
show snmp host .................................................................................................................................................. 69
create snmp v6host ............................................................................................................................................. 70
delete snmp v6host ............................................................................................................................................. 71
show snmp v6host .............................................................................................................................................. 71
enable trusted_host ............................................................................................................................................. 72
disable trusted_host ............................................................................................................................................ 72
create trusted_host ............................................................................................................................................. 72
show trusted_host ............................................................................................................................................... 73
delete trusted_host .............................................................................................................................................. 74
enable snmp traps ............................................................................................................................................... 74
disable snmp traps .............................................................................................................................................. 75
enable snmp authenticate traps .......................................................................................................................... 75
disable snmp authenticate traps ......................................................................................................................... 76
show snmp traps ................................................................................................................................................. 76
config snmp linkchange_traps ports .................................................................................................................. 77
show snmp traps linkchange_traps ..................................................................................................................... 77
config snmp system_contact ............................................................................................................................... 78
config snmp system_location .............................................................................................................................. 78
config snmp system_name ................................................................................................................................. 79
config snmp warmstart_traps .............................................................................................................................. 79
enable snmp ........................................................................................................................................................ 79
disable snmp ....................................................................................................................................................... 80
enable snmp DHCP_ screening traps ................................................................................................................. 80
disable snmp DHCP_ screening traps ................................................................................................................ 81
enable snmp IMPB_violation traps ..................................................................................................................... 81
disable snmp IMPB_violation traps ..................................................................................................................... 81
enable snmp firmware_upgrade_state traps ....................................................................................................... 82
disable snmp firmware_upgrade_state traps ...................................................................................................... 82
enable snmp LBD traps ....................................................................................................................................... 83
disable snmp LBD traps ...................................................................................................................................... 83
enable snmp port_security_violation traps .......................................................................................................... 83
disable snmp port_security_violation traps ......................................................................................................... 84
enable snmp rstpport_state_change traps .......................................................................................................... 84
disable snmp rstpport_state_change traps ......................................................................................................... 85
enable snmp duplicate_IP_detected traps .......................................................................................................... 85
disable snmp duplicate_IP_detected traps ......................................................................................................... 85
DOWNLOAD/UPLOAD COMMANDS ................................................................................................................... 87
download ............................................................................................................................................................. 87
upload .................................................................................................................................................................. 88
show firmware information .................................................................................................................................. 89
show config ......................................................................................................................................................... 89
DHCP RELAY COMMANDS .................................................................................................................................. 91
enable dhcp_relay ............................................................................................................................................... 91
disable dhcp_relay .............................................................................................................................................. 92
config dhcp_relay add ipif System ...................................................................................................................... 92
config dhcp_relay delete ipif System .................................................................................................................. 93
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
config dhcp_relay hops ...................................................................................................................................... 93
config dhcp_relay option_82 ............................................................................................................................... 94
show dhcp_relay ................................................................................................................................................. 95
enable dhcp_local_relay ..................................................................................................................................... 96
disable dhcp_local_relay ..................................................................................................................................... 96
config dhcp_local_relay vlan ............................................................................................................................... 97
show dhcp_local_relay ........................................................................................................................................ 97
enable dhcpv6_relay ........................................................................................................................................... 98
disable dhcp_relay .............................................................................................................................................. 98
show dhcpv6_relay ............................................................................................................................................. 98
config dhcpv6_relay ............................................................................................................................................ 99
config dhcpv6_relay hop_count ........................................................................................................................ 100
config dhcpv6_relay option_37 ......................................................................................................................... 100
config dhcpv6_relay option_38 ......................................................................................................................... 101
GRATUITOUS ARP COMMANDS ....................................................................................................................... 102
config gratuitous_arp send ipif_status_up ........................................................................................................ 102
config gratuitous_arp send dup_ip_detected .................................................................................................... 103
config gratuitous_arp learning ........................................................................................................................... 103
enable gratuitous_arp ....................................................................................................................................... 104
disable gratuitous_arp ....................................................................................................................................... 104
show gratuitous_arp .......................................................................................................................................... 105
config gratuitous_arp send periodically interval ................................................................................................ 105
NETWORK MONITORING COMMANDS ............................................................................................................ 107
show packet ports ............................................................................................................................................. 107
show error ports ................................................................................................................................................ 108
show utilization .................................................................................................................................................. 109
clear counters .................................................................................................................................................... 110
clear log ............................................................................................................................................................. 110
show log ............................................................................................................................................................ 110
enable syslog .................................................................................................................................................... 111
disable syslog .................................................................................................................................................... 111
show syslog ....................................................................................................................................................... 112
create syslog host ............................................................................................................................................. 112
config syslog host .............................................................................................................................................. 114
delete syslog host ............................................................................................................................................. 116
show syslog host ............................................................................................................................................... 117
cable diagnostic port ......................................................................................................................................... 117
POE COMMANDS ................................................................................................................................................ 119
config poe ports ................................................................................................................................................. 119
config poe system ............................................................................................................................................. 120
show poe ports .................................................................................................................................................. 120
show poe system .............................................................................................................................................. 121
SPANNING TREE COMMANDS.......................................................................................................................... 123
config stp ........................................................................................................................................................... 123
config stp ports .................................................................................................................................................. 124
config stp version .............................................................................................................................................. 126
config stp fbpdu ................................................................................................................................................. 126
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
config stp priority ............................................................................................................................................... 126
enable stp .......................................................................................................................................................... 127
disable stp ......................................................................................................................................................... 127
show stp ............................................................................................................................................................ 128
show stp ports ................................................................................................................................................... 129
show stp instance .............................................................................................................................................. 130
show stp mst_config_id ..................................................................................................................................... 131
create stp instance_id ....................................................................................................................................... 131
delete stp instance_id ....................................................................................................................................... 132
config stp instance_id ........................................................................................................................................ 132
config stp mst_config_id .................................................................................................................................... 133
config stp mst_ports .......................................................................................................................................... 133
FORWARDING DATABASE COMMANDS ......................................................................................................... 135
create fdb .......................................................................................................................................................... 135
create multicast_fdb .......................................................................................................................................... 136
config multicast_fdb .......................................................................................................................................... 136
config fdb aging_time ........................................................................................................................................ 137
delete fdb........................................................................................................................................................... 137
enable flood_fdb ................................................................................................................................................ 138
disable flood_fdb ............................................................................................................................................... 138
show flood_fdb .................................................................................................................................................. 138
clear flood_fdb ................................................................................................................................................... 139
show multicast_fdb ............................................................................................................................................ 139
show fdb ............................................................................................................................................................ 140
config multicast filter .......................................................................................................................................... 141
show multicast filter port_mode ........................................................................................................................ 141
create auto_fdb ................................................................................................................................................. 142
delete auto_fdb ................................................................................................................................................. 142
show auto_fdb ................................................................................................................................................... 143
BROADCAST STORM CONTROL COMMANDS ............................................................................................... 144
config traffic control ........................................................................................................................................... 144
show traffic control ............................................................................................................................................ 145
config traffic trap ................................................................................................................................................ 145
QOS COMMANDS ............................................................................................................................................... 147
config scheduling .............................................................................................................................................. 148
show scheduling ................................................................................................................................................ 149
config bandwidth_control .................................................................................................................................. 150
show bandwidth_control .................................................................................................................................... 151
config cos mac_mapping .................................................................................................................................. 151
show cos mac_mapping .................................................................................................................................... 152
delete cos mac_mapping .................................................................................................................................. 152
config cos ip_mapping ...................................................................................................................................... 152
show cos ip_mapping ........................................................................................................................................ 153
delete cos ip_mapping ...................................................................................................................................... 153
config cos ipv6_mapping ................................................................................................................................... 154
show cos ipv6_mapping .................................................................................................................................... 154
delete cos ipv6_mapping .................................................................................................................................. 155
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
config cos ipv6_tc_mapping .............................................................................................................................. 155
delete cos ipv6_tc_mapping.............................................................................................................................. 156
config cos mapping ........................................................................................................................................... 156
show cos mapping ............................................................................................................................................ 156
config cos protocol_mapping ............................................................................................................................ 157
show cos protocol_mapping.............................................................................................................................. 157
delete cos protocol_mapping ............................................................................................................................ 158
config cos vlanid_mapping ................................................................................................................................ 158
show cos vlanid_mapping ................................................................................................................................. 159
delete cos vlanid_mapping................................................................................................................................ 159
config cos tos value ........................................................................................................................................... 160
show cos tos ..................................................................................................................................................... 160
config cos tcp_port_mapping ............................................................................................................................ 161
show cos tcp_port_mapping ............................................................................................................................. 161
delete cos tcp_port_mapping ............................................................................................................................ 162
config cos udp_port_mapping ........................................................................................................................... 162
show cos udp _port_mapping ........................................................................................................................... 163
delete cos udp_port_mapping ........................................................................................................................... 163
config 802.1p user_priority ................................................................................................................................ 163
show 802.1p user_priority ................................................................................................................................. 164
config 802.1p default_priority ............................................................................................................................ 165
show 802.1p default_priority ............................................................................................................................. 165
config scheduling_mechanism .......................................................................................................................... 166
show scheduling_mechanism ........................................................................................................................... 167
config dscp mode .............................................................................................................................................. 167
config dscp_mapping ........................................................................................................................................ 167
show dscp_mapping ......................................................................................................................................... 168
RMON COMMANDS ............................................................................................................................................ 169
enable rmon ...................................................................................................................................................... 169
disable rmon ...................................................................................................................................................... 170
create rmon alarm ............................................................................................................................................. 170
delete rmon alarm ............................................................................................................................................. 171
show rmon alarm ............................................................................................................................................... 171
create rmon collection stats .............................................................................................................................. 172
delete rmon collection stats............................................................................................................................... 173
create rmon collection history ........................................................................................................................... 173
delete rmon collection history............................................................................................................................ 174
create rmon event ............................................................................................................................................. 174
delete rmon event ............................................................................................................................................. 175
show rmon ......................................................................................................................................................... 175
show rmon statistics .......................................................................................................................................... 175
PORT MIRRORING COMMANDS ....................................................................................................................... 177
enable mirror ..................................................................................................................................................... 177
disable mirror .................................................................................................................................................... 177
config mirror target ............................................................................................................................................ 178
show mirror........................................................................................................................................................ 179
VLAN COMMANDS ............................................................................................................................................. 180
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
create vlan ......................................................................................................................................................... 181
delete vlan ......................................................................................................................................................... 181
config vlan ......................................................................................................................................................... 182
config gvrp ......................................................................................................................................................... 182
config gvrp timer ................................................................................................................................................ 183
enable gvrp ....................................................................................................................................................... 184
disable gvrp ....................................................................................................................................................... 184
show vlan .......................................................................................................................................................... 184
create dot1v_protocol_group ............................................................................................................................ 185
config dot1v_protocol_group ............................................................................................................................. 186
delete dot1v_protocol_group............................................................................................................................. 186
show dot1v_protocol_group .............................................................................................................................. 187
show gvrp .......................................................................................................................................................... 187
show gvrp timer ................................................................................................................................................. 188
enable vlan_trunk .............................................................................................................................................. 188
disable vlan_trunk ............................................................................................................................................. 189
show vlan_trunk ................................................................................................................................................ 189
config vlan_trunk ports ...................................................................................................................................... 189
enable asymmetric_vlan ................................................................................................................................... 190
disable asymmetric_vlan ................................................................................................................................... 190
show asymmetric_vlan ...................................................................................................................................... 191
enable pvid auto_assign ................................................................................................................................... 191
disalbe pvid auto_assign ................................................................................................................................... 191
show pvid auto_assign ...................................................................................................................................... 192
Q-IN-Q COMMANDS ............................................................................................................................................ 193
enable qinq ........................................................................................................................................................ 193
disable qinq ....................................................................................................................................................... 194
show qinq .......................................................................................................................................................... 194
config qinq ports ................................................................................................................................................ 195
create vlan_translation ...................................................................................................................................... 195
show vlan_translation ........................................................................................................................................ 196
delete vlan_translation cvid ............................................................................................................................... 196
LINK AGGREGATION COMMANDS .................................................................................................................. 198
create link_aggregation ..................................................................................................................................... 198
delete link_aggregation ..................................................................................................................................... 199
config link_aggregation group_id ...................................................................................................................... 199
config link_aggregation algorithm ..................................................................................................................... 200
config link_aggregation state ............................................................................................................................ 200
show link_aggregation ...................................................................................................................................... 201
BASIC IP COMMANDS ........................................................................................................................................ 202
config ipif System .............................................................................................................................................. 202
show ipif ............................................................................................................................................................ 203
BPDU ATTACK PROTECTION COMMANDS .................................................................................................... 204
config bpdu_protection ports ............................................................................................................................. 204
config bpdu_protection recovery_timer ............................................................................................................. 205
config bpdu_protection ...................................................................................................................................... 206
enable bpdu_protection ..................................................................................................................................... 206
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
disable bpdu_protection .................................................................................................................................... 207
show bpdu_protection ....................................................................................................................................... 207
ETHERNET OAM COMMANDS .......................................................................................................................... 209
config ethernet_oam ports ................................................................................................................................ 209
config ethernet_oam ports ................................................................................................................................ 210
config ethernet_oam ports ................................................................................................................................ 210
show ethernet_oam ports .................................................................................................................................. 211
show ethernet_oam ports .................................................................................................................................. 212
show ethernet_oam ports .................................................................................................................................. 213
show ethernet_oam ports .................................................................................................................................. 214
clear ethernet_oam ports .................................................................................................................................. 215
MAC NOTIFICATION COMMANDS .................................................................................................................... 216
enable mac_notification .................................................................................................................................... 216
disable mac_notification .................................................................................................................................... 216
config mac_notification ...................................................................................................................................... 217
config mac_notification ports ............................................................................................................................ 217
show mac_notification ....................................................................................................................................... 218
show mac_notification ports .............................................................................................................................. 218
IGMP SNOOPING COMMANDS.......................................................................................................................... 220
config igmp_snooping ....................................................................................................................................... 221
config igmp_snooping querier ........................................................................................................................... 222
create igmp_snooping multicast_vlan ............................................................................................................... 222
config igmp_snooping multicast_vlan ............................................................................................................... 223
delete igmp_snooping multicast_vlan ............................................................................................................... 224
config igmp_snooping multicast_vlan_group .................................................................................................... 224
config igmp_snooping data_driven_learning .................................................................................................... 225
clear igmp_snooping data_driven_group .......................................................................................................... 225
config router_ports ............................................................................................................................................ 226
config router_ports_forbidden ........................................................................................................................... 226
config igmp access_authentication ports .......................................................................................................... 227
show igmp access_authentication ports ........................................................................................................... 227
enable igmp_snooping ...................................................................................................................................... 228
disable igmp_snooping ..................................................................................................................................... 228
show igmp_snooping ........................................................................................................................................ 229
show igmp_snooping group .............................................................................................................................. 230
show igmp_snooping forwarding ...................................................................................................................... 230
show igmp_snooping host................................................................................................................................. 231
show router_ports ............................................................................................................................................. 231
MLD SNOOPING COMMANDS ........................................................................................................................... 233
enable mld_snooping ........................................................................................................................................ 234
disable mld_snooping ....................................................................................................................................... 234
config mld_snooping ......................................................................................................................................... 235
create mld_snooping multicast_vlan ................................................................................................................. 235
config mld_snooping multicast_vlan ................................................................................................................. 236
show mld_snooping multicast_vlan .................................................................................................................. 237
delete mld_snooping multicast_vlan ................................................................................................................. 237
config mld_snooping multicast_vlan_group ...................................................................................................... 238
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
show mld_snooping multicast_vlan_group ....................................................................................................... 238
config mld_snooping mrouter_ports .................................................................................................................. 239
config mld_snooping mrouter_port_forbidden .................................................................................................. 239
config mld_snooping querier ............................................................................................................................. 240
config mld_snooping data_driven_learning ...................................................................................................... 241
clear mld_snooping data_driven_group ............................................................................................................ 242
show mld_snooping .......................................................................................................................................... 242
show mld_snooping forwarding ........................................................................................................................ 243
show mld_snooping group ................................................................................................................................ 244
show mld_snooping mrouter_ports ................................................................................................................... 244
show mld_snooping host ................................................................................................................................... 245
LIMITED IP MULTICAST ADDRESS COMMANDS ............................................................................................ 246
create mcast_filter_profile ................................................................................................................................. 246
config mcast_filter_profile profile_id ................................................................................................................. 247
config mcast_filter_profile profile_name .......................................................................................................... 247
config mcast_filter_profile ipv6 ......................................................................................................................... 248
delete mcast_filter_profile ................................................................................................................................. 248
show mcast_filter_profile ................................................................................................................................... 249
config limited_multicast_addr ............................................................................................................................ 250
show limited_multicast_addr ............................................................................................................................. 250
config max_mcast_group .................................................................................................................................. 251
show max_mcast_group ................................................................................................................................... 251
802.1X COMMANDS ............................................................................................................................................ 253
enable 802.1x .................................................................................................................................................... 254
disable 802.1x ................................................................................................................................................... 254
show 802.1x ...................................................................................................................................................... 255
show 802.1x auth_state .................................................................................................................................... 255
show 802.1x auth_configuration ....................................................................................................................... 256
config 802.1x auth_parameter ports ................................................................................................................. 257
config 802.1x init ............................................................................................................................................... 258
config 802.1x auth_protocol .............................................................................................................................. 259
config 802.1x reauth .......................................................................................................................................... 259
config radius add ............................................................................................................................................... 260
config radius delete ........................................................................................................................................... 260
config radius ...................................................................................................................................................... 261
show radius ....................................................................................................................................................... 262
config 802.1x fwd_pdu system .......................................................................................................................... 262
show 802.1x fwd_pdu system status ................................................................................................................ 263
config 802.1x auth_mode .................................................................................................................................. 263
create 802.1x guest_vlan .................................................................................................................................. 264
delete 802.1x guest_vlan .................................................................................................................................. 264
config 802.1x guest_vlan ports ......................................................................................................................... 265
show 802.1x guest_vlan .................................................................................................................................... 265
create 802.1x user ............................................................................................................................................ 266
show 802.1x user .............................................................................................................................................. 266
delete 802.1x user ............................................................................................................................................. 267
config 802.1x capability ports ............................................................................................................................ 267
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
PORT SECURITY COMMANDS .......................................................................................................................... 269
config port_security ........................................................................................................................................... 269
show port_security ............................................................................................................................................ 270
TIME AND SNTP COMMANDS ........................................................................................................................... 271
config sntp ......................................................................................................................................................... 271
show sntp .......................................................................................................................................................... 272
enable sntp ........................................................................................................................................................ 272
disable sntp ....................................................................................................................................................... 273
config time ......................................................................................................................................................... 273
config time_zone operator................................................................................................................................. 274
config dst ........................................................................................................................................................... 274
show time .......................................................................................................................................................... 275
ARP COMMANDS ................................................................................................................................................ 277
create ArpSpoofing ........................................................................................................................................... 277
show ArpSpoofing ............................................................................................................................................. 278
delete ArpSpoofing ............................................................................................................................................ 278
config arp_aging time ........................................................................................................................................ 279
clear arptable .................................................................................................................................................... 279
show arpentry .................................................................................................................................................... 280
show arpentry aging_time ................................................................................................................................. 280
ROUTING TABLE COMMANDS.......................................................................................................................... 282
create iproute .................................................................................................................................................... 282
delete iproute .................................................................................................................................................... 283
show iproute ...................................................................................................................................................... 283
D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS .............................................................. 284
config duld ports ................................................................................................................................................ 284
show duld ports ................................................................................................................................................. 285
IPV6 NEIGHBOR DISCOVERY COMMANDS..................................................................................................... 286
create ipv6 neighbor_cache .............................................................................................................................. 286
delete ipv6 neighbor_cache .............................................................................................................................. 287
show ipv6 neighbor_cache................................................................................................................................ 287
config ipv6 nd ns ipif System............................................................................................................................. 288
create ipv6route default ..................................................................................................................................... 288
delete ipv6route default ..................................................................................................................................... 289
show ipv6route .................................................................................................................................................. 289
enable ipif_ipv6_link_local_auto System .......................................................................................................... 290
disable ipif_ipv6_link_local_auto System .......................................................................................................... 290
BANNER COMMANDS ........................................................................................................................................ 292
config log_save_timing ...................................................................................................................................... 292
show log_save_timing ....................................................................................................................................... 293
show log ............................................................................................................................................................ 293
COMMAND HISTORY LIST COMMANDS .......................................................................................................... 294
show command_history .................................................................................................................................... 295
dir ...................................................................................................................................................................... 296
SSH COMMANDS ................................................................................................................................................ 297
enable ssh ......................................................................................................................................................... 297
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
disable ssh ........................................................................................................................................................ 298
config ssh algorithm .......................................................................................................................................... 298
config ssh authmode ......................................................................................................................................... 299
show ssh authmode .......................................................................................................................................... 299
config ssh server ............................................................................................................................................... 300
show ssh server ................................................................................................................................................ 300
show ssh algorithm ........................................................................................................................................... 301
config ssh user .................................................................................................................................................. 301
show ssh user authmode .................................................................................................................................. 302
SSL COMMANDS ................................................................................................................................................ 303
enable ssl .......................................................................................................................................................... 303
disable ssl.......................................................................................................................................................... 304
show ssl............................................................................................................................................................. 304
download ssl certificate ..................................................................................................................................... 305
ACCESS AUTHENTICATION CONTROL COMMANDS .................................................................................... 306
create authen_login method_list_name ............................................................................................................ 307
config authen_login ........................................................................................................................................... 307
delete authen_login method_list_name ............................................................................................................ 309
show authen_login ............................................................................................................................................ 309
show authen_policy ........................................................................................................................................... 310
create authen_enable method_list_name ......................................................................................................... 310
config authen_enable ........................................................................................................................................ 311
delete authen_enable method_list_name ......................................................................................................... 312
show authen_enable ......................................................................................................................................... 313
enable authen_policy ........................................................................................................................................ 313
disable authen_policy ........................................................................................................................................ 314
config authen application .................................................................................................................................. 314
show authen application .................................................................................................................................... 315
config authen parameter ................................................................................................................................... 316
show authen parameter .................................................................................................................................... 316
create authen server_host ................................................................................................................................ 316
config authen server_host ................................................................................................................................. 318
delete authen server_host................................................................................................................................. 319
show authen server_host .................................................................................................................................. 319
create authen server_group .............................................................................................................................. 320
config authen server_group .............................................................................................................................. 321
delete authen server_group .............................................................................................................................. 321
show authen server_host .................................................................................................................................. 322
enable admin ..................................................................................................................................................... 322
config admin local_enable................................................................................................................................. 323
LACP COMMANDS ............................................................................................................................................. 324
config lacp port_priority ..................................................................................................................................... 324
show lacp .......................................................................................................................................................... 324
config lacp_ports ............................................................................................................................................... 325
LLDP COMMANDS .............................................................................................................................................. 327
enable lldp ......................................................................................................................................................... 328
disable lldp ........................................................................................................................................................ 328
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
config lldp message_tx_interval ........................................................................................................................ 328
config lldp message_tx_hold_multiplier ............................................................................................................ 329
config lldp reinit_delay ....................................................................................................................................... 329
config lldp tx_delay ............................................................................................................................................ 330
config lldp notification_interval .......................................................................................................................... 330
show lldp ........................................................................................................................................................... 330
show lldp ports .................................................................................................................................................. 331
show lldp local_ports ......................................................................................................................................... 332
show lldp remote_ports ..................................................................................................................................... 333
config lldp ports ................................................................................................................................................. 333
show lldp mgt_addr ........................................................................................................................................... 337
show lldp statistics ............................................................................................................................................ 337
ACCESS CONTROL LIST COMMANDS ............................................................................................................ 339
create access_profile ........................................................................................................................................ 340
config access_profile ......................................................................................................................................... 342
delete access_profile ........................................................................................................................................ 346
show access_profile .......................................................................................................................................... 346
create cpu_access_profile ................................................................................................................................ 347
config cpu_access_profile ................................................................................................................................. 348
delete cpu_access_profile................................................................................................................................. 350
show cpu_access_profile .................................................................................................................................. 351
TRAFFIC SEGMENTATION COMMANDS .......................................................................................................... 352
config traffic_segmentation ............................................................................................................................... 352
show traffic_segmentation ................................................................................................................................ 352
SAFEGUARD COMMANDS ................................................................................................................................ 354
config safeguard_engine ................................................................................................................................... 354
show safeguard_engine .................................................................................................................................... 354
DEVICE SPECIFICATIONS ................................................................................................................................. 356
Technical Specifications .................................................................................................................................... 356
Supported Transceivers .................................................................................................................................... 359
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
1

INTRODUCTION

The DGS-1210-20/ME, DGS-1210-28/ME, DGS-1210-28P/ME and DGS-1210-52/ME are L2 Managed Metro Ethernet switches. They consist of 16/24/48 10/100/1000Mbps ports plus 4 dedicated SFP ports.
The Switch can be managed through the Switch’s serial port, Telnet, or the Web-based management agent. The Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces.
This manual provides a reference for all of the commands contained in the CLI. Configuration and management of the Switch via the Web-based management agent is discussed in the Manual. For detailed information on installing hardware please refer also to the Manual.
Accessing the Switch via the Serial Port. The Switch’s serial port’s default settings are as follows:
Firmware version 6.10: Baud rate 115200bps Firmware version 6.11: Baud rate 9600bps
No parity
8 data bits
1 stop bit
A computer running a terminal emulation program capable of emulating a VT-100 terminal and a serial port configured as above then connected to the Switch’s serial port via an RJ-45 cable.
With the serial port properly connected to a management computer, the following screen should be visible. If this screen does not appear, try pressing Ctrl+r to refresh the console screen.
Figure 1–1 Initial CLI screen
There is no initial username or password. Just press the Enter key twice to display the CLI input cursor
DGS-1210-28P/ME:5#. This is the command line where all commands are input. Setting the Switch’s IP Address
Each Switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s default IP address is 10.90.90.90. You can change the default Switch IP address to meet the specification of your networking address scheme.
The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, but can be found on the initial boot console screen – shown below.
1
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Figure 1–2 Boot Screen
The Switch’s MAC address can also be found in the Web management program on the Switch Information (Basic Settings) window in the Configuration folder. The IP address for the Switch must be set before it can be managed with the Web-based manager. The Switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the Switch must be known.
The IP address may be set using the Command Line Interface (CLI) over the console serial port as follows: Starting at the command line prompt, enter the command config ipif System ipaddress xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x’s represent the IP address to be assigned to the IP interface named System and the y’s represent the corresponding subnet mask.
Alternatively, users can enter config ipif System ipaddress xxx.xxx.xxx.xxx/z. Where the x’s represent the IP address to be assigned to the IP interface named System and the z represents the corresponding number of subnets in CIDR notation.
The IP interface named System on the Switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the Switch’s Telnet or Web-based management agent.
Figure 1–3 Assigning an IP Address
In the above example, the Switch was assigned an IP address of 10.90.90.91 with a subnet mask of
255.0.0.0. The system message Success indicates that the command was executed successfully. The Switch can now be configured and managed via Telnet, SNMP MIB browser and the CLI or via the Web­based management agent using the above IP address to connect to the Switch.
2
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
2

USING THE CONSOLE CLI

The Switch supports a console management interface that allows the user to connect to the Switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. The console can also be used over the network using the TCP/IP Telnet protocol. The console program can be used to configure the Switch to use a SNMP-based network management software over the network.
This chapter describes how to use the console interface to access the Switch, change its settings, and monitor its operation.
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.
Connecting to the Switch The console interface is used by connecting the Switch to a VT100-compatible terminal or a computer
running an ordinary terminal emulator program (for example, the HyperTerminal program included with the Windows operating system) using an RJ-45 serial cable. Your terminal parameters will need to be set to:
VT-100 compatible
Firmware version 6.10: Baud rate 115200bps
Firmware version 6.11: Baud rate 9600bps
8 data bits
No parity
One stop bit
No flow control
The same functions may also be accessed over a Telnet interface. Once an IP address for the Switch has been set, A Telnet program can be used (in VT-100 compatible terminal mode) to access and control the Switch. All of the screens are identical, whether accessed from the console port or from a Telnet interface.
After the Switch reboots and you have to logged in, the console looks like this:
Figure 2–1 Initial Console Screen after Logging In
Commands are entered at the command prompt, DGS-1210-28P/ME:5#
There are a number of helpful features included in the CLI. Entering the ? command displays a list of all of the top-level commands.
3
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Figure 2–2 The ? Command
When entering a command without its required parameters, the CLI displays the prompt: command: config account message and the options listed below.
Figure 2–3 Example Command Parameter Help
In this case, the command config account was entered with the parameter <username>. The CLI will then prompt to enter the <username> with the message, command: config account. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
In addition, after typing any given command plus one space, users can see all of the next possible sub­commands, in sequential order, by pressing the ? key.
To re-enter the previous command at the command prompt, press the up arrow cursor key. The previous command appears at the command prompt.
4
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Figure 2–4 Using the Up Arrow to Re-enter a Command
In the above example, the command config account was entered without the required parameter <username>, the CLI returned the command: config account prompt. The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed.
All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual angle brackets < > indicate a numerical value or character string. The < > can also indicate a word with a number for character allowed.
If a command is entered that is unrecognized by the CLI, the top-level commands are displayed under the Available commands: prompt.
Figure 2–5 Available Commands
The top-level commands consist of commands such as show or config. Most of these commands require one or more parameters to narrow the top-level command. This is equivalent to show what? or config what? Where the what? is the next parameter.
For example, entering the show command with no additional parameters, the CLI will then display all of the possible next parameters.
5
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Figure 2–6 Next possible completions: Show Command
In the above example, all of the possible next parameters for the show command are displayed. At the next command prompt in the example, the up arrow was used to re-enter the show command, followed by the account parameter. The CLI then displays the user accounts configured on the Switch.
6
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
3
| vertical bar

COMMAND SYNTAX

The following symbols are used to DGScribe how command entries are made and values and arguments are specified in this manual. The online help contained in the CLI and available through the console interface uses the same syntax.
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
Description In the above syntax example, supply a username in the <username
Example Command
create account [admin | operator | power-user |user] <username 15>
15> space. Do not type the angle brackets.
create account admin newadmin1
[square brackets]
Purpose Encloses a required value or set of required arguments. One value
or argument can be specified.
Syntax
Description
Example Command
create account [admin | operator | power-user |user] <username 15>
In the above syntax example, specify admin, oper or a user level account to be created. Do not type the square brackets.
create account user newuser1
All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted function that changes text case.
Purpose Separates two or more mutually exclusive items in a list, one of
which must be entered.
Syntax
Description
Example Command
create account [admin | operator | power-user |user] <username 15>
In the above syntax example, specify admin, oper, or user. Do not type the vertical bar.
create account user newuser1
7
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Line Editing Key Usage
{braces}
Purpose Encloses an optional value or set of optional arguments.
Syntax reset
Description execute “reset” will return the switch to its factory default setting.
Example command
Delete Deletes the character under the cursor and then shifts the
Backspace Deletes the character to the left of the cursor and then shifts the
Insert or Ctrl+R Toggle on and off. When toggled on, inserts text and shifts previous
Left Arrow Moves the cursor to the left.
Right Arrow Moves the cursor to the right.
Up Arrow Repeats the previously entered command. Each time the up arrow
Down Arrow The down arrow displays the next command in the command
reset
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
remaining characters in the line to the left.
remaining characters in the line to the left.
text to the right.
is pressed, the command previous to that displayed appears. This way it is possible to review the command history for the current session. Use the down arrow to progress sequentially forward through the command history list.
history entered in the current session. This displays each command sequentially as it was entered. Use the up arrow to review previous commands.
Tab Shifts the cursor to the next field to the left.
Multiple Page Display Control Keys
Space Displays the next page.
CTRL+c Stops the display of remaining pages when multiple pages are to be
displayed.
ESC Stops the display of remaining pages when multiple pages are to be
displayed.
n Displays the next page.
p Displays the previous page.
q Stops the display of remaining pages when multiple pages are to be
displayed.
r Refreshes the pages currently displayed.
8
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
a Displays the remaining pages without pausing between pages.
Enter Displays the next line or table entry.
9
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
4
Command
Parameter

BASIC SWITCH COMMANDS

The Basic Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
enable password encryption
disable password encryption
create account [admin | operator | power-user | user] <username 15>
config account <username 15>
show account
delete account <username 15>
show session
show switch
show serial_port
config serial_port
enable clipaging
disable clipaging
enable web {<tcp_port_number 1-65535>}
disable web
{baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]}
enable autoconfig
disable autoconfig
save {[config config_id <value 1-2> | log]}
reboot
reset {[config | system | account | password]} {force_agree}
logout
ping <ipaddr> {times <value 1-255> | timeout <sec 1-99> | size <short 0-2080>}
ping6
enable telnet
disable telnet
show tech support
Each command is listed in detail, as follows:
<ipv6_addr> {frequency <sec 0-86400> | size <value 1-1522> | source_ip
<ipv6_addr> | timeout <sec 1-99> | times <value 1-255>}
10
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
sword has
disable password encryption
e in encrypted form. It
enable password encryption
Purpose Used to enable password encryption on a user account.
Syntax
Description The user account configuration information will be stored in the
Parameters None.
Restrictions Only Administrator level users can issue this command.
Example usage:
To enable password encryption on the Switch:
enable password encryption
configuration file, and can be applied to the system at a time in the future. If the password encryption is enabled, the password will be in encrypted form. If password encryption is disabled and the user specifies the password in encrypted form, or if the pas been converted to encrypted form by the last enabled password encryption command, the password will still be in encrypted form. It can not revert back to plain text.
DGS-1210-28P/ME:5# enable password encryption Command: enable password encryption
Success.
DGS-1210-28P/ME:5#
Purpose Used to disable password encryption on a user account.
Syntax
Description The user account configuration information will be stored in the
Parameters None.
Restrictions Only Administrat level users can issue this command.
Example usage:
To disable password encryption on the Switch:
disable password encryption
configuration file, and can be applied to the system at a time in the future. If the password encryption is enabled, the password will be in encrypted form. If password encryption is disabled and the user specifies the password in encrypted form, or if the password has been converted to encrypted form by the last enabled password encryption command, the password will still b can not revert back to plain text.
DGS-1210-28P/ME:5# disable password encryption Command: disable password encryption
Success.
11
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
DGS-1210-28P/ME:5#
The create account command creates an administrator, operator,
same line.
the account password
config account
create account
Purpose To create user accounts.
Syntax
Description
Parameters
Restrictions Only Administrator level users can issue this command.
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.
create account [admin | operator | power-user | user] <username 15>
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
admin Name of the administrator account.
opeator Specify an operator level account.
power-user Specify an power-user level account.
user Specify a user account with read-only permissions.
<username 15> − The account username may be between 1 and 15
characters. password <password_string> {encrypted} -
can be included, and (optionally) can be encrypted.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
Example usage:
To create an administrator-level user account with the username ‘dlink’:
DGS-1210-28P/ME:5# create account admin dlink Command: create account admin dlink
Enter a case-sensitive new password:***** Enter the new password again for confirmation:*****
Success.
DGS-1210-28P/ME:5#
Purpose To change the password for an existing user account.
12
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
show account
Syntax
Description
Parameters
Restrictions Only Administrator-level users can issue this command.
Example usage:
To configure the user password of ‘dlink’ account:
config account <username 15>
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.
<username 15> − the account username.
DGS-1210-28P/ME:5# config account dlink Enter a old password:****
Enter a case-sensitive new password:****** Enter the new password again for confirmation:******
Success.
DGS-1210-28P/ME:5#
Purpose To display information about all user accounts on the Switch.
Syntax
Description
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To display the account which have been created:
show account
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.
DGS-1210-28P/ME:5# show account Command: show account
Username Access Level
------------------ ---------------------­dlink Admin
Total Entries : 1
DGS-1210-28P/ME:5#
delete account
Purpose To delete an existing user account.
13
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Only Administrator-level users can issue this command.
DGS-1210-28P/ME:5#
The information
Syntax
Description
Parameters
Restrictions
Example usage:
To delete the user account ‘System’:
show session
Purpose To display information about currently logged-in users.
Syntax
Description
delete account <username 15>
The delete account command deletes a user account that has been created using the create account command.
<username 15> − the account username.
DGS-1210-28P/ME:5# delete account System Command: delete account System
Success.
show session
The show session command displays a list of all the users that are logged-in at the time the command is issued. incluDGS 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:
show switch
Purpose To display information about the Switch.
Syntax
Description
ID Live Time From Level Name
--- --------------- --------------------------------------- ------ --------------­0 00:01:32 Serial Port 5 anonymous
Total Entries: 1
CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh
show switch
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.
14
Parameters None.
Used to display the current serial port settings.
Restrictions None.
Example usage:
To display the Switch information:
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
DGS-1210-28P/ME:5# show switch Command: show switch
Device Type : DGS-1210-28P/ME MAC Address : 9C-D6-43-60-4F-A4 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Default Gateway : 0.0.0.0 System Protocol Version : 2.001.004 System Firmware Version : 6.10.B019 System Hardware Version : A1 System Serial Number : S3221DB000014 System Name : 2 System Location : System up time : 0 days, 0 hrs, 4 min, 43 secs System Contact : System Time : 01/01/2014 00:04:11 STP : Disabled GVRP : Disabled IGMP Snooping : Disabled VLAN Trunk : Disabled
802.1X Status : Disabled Telnet : Enabled (TCP 23) Web : Enabled (TCP 80) RMON : Disabled SSH : Disabled Syslog Global State : Disabled SSL : Disabled CLI Paging : Enabled Password Encryption State : Disabled
DGS-1210-28P/ME:5#
show serial_port
Purpose
Syntax
Description
Parameters None.
show serial_port
The show serial_port command displays the current serial port settings.
15
Restrictions None.
DGS-1210-28P/ME:5#
Used to configure the serial port.
auto_logout [never | 2_minutes | 5_minutes | 10_minutes |
used to configure the serial
baud_rate [9600 | 19200 | 38400 | 115200] The serial bit rate that
115200. Factory default
Example usage:
To display the serial port settings:
config serial_port
Purpose
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
DGS-1210-28P/ME:5# show serial_port Command: show serial_port
Baud Rate : 115200 Data Bits : 8 Parity Bits : None Stop Bits : 1 Auto-Logout : 10 minutes
Syntax
Description
Parameters
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To configure the serial port baud rate:
DGS-1210-28P/ME:5# config serial_port baud_rate 115200 Command: config serial_port baud_rate 115200
Please change your baud rate to 115200 for new baud rate !! Success.
DGS-1210-28P/ME:5#
config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] |
15_minutes]}
The config serial_port command is port’s baud rate and auto logout settings.
will be used to communicate with the management host. There are four options: 9600, 19200, 38400 and setting is 115200. never − No time limit on the length of time the console can be open with no user input. 2_minutes − The console will log out the current user if there is no user input for 2 minutes. 5_minutes − The console will log out the current user if there is no user input for 5 minutes. 10_minutes − The console will log out the current user if there is no user input for 10 minutes.
15_minutes − The console will log out the current user if there is no user input for 15 minutes.
16
Loading...
+ 343 hidden pages