PLANET GS-5220-48T4X User Manual

Command Guide
-1-
Command Guide
Contents
Chapter 1 COMMAND LINE INTERFACE......................................................... 20
1.1 Accessing the CLI.......................................................................................................20
1.2 Command Line Modes................................................................................................20
1.3 Requirements.............................................................................................................. 21
1.4 Command Support......................................................................................................22
Chapter 2 CONSOLE CLI MANAGEMENT ....................................................... 23
2.1 Terminal Setup............................................................................................................23
2.2 Logon to the Console.................................................................................................25
2.3 Configuring IP Address..............................................................................................25
Chapter 3 TELNET CLI MANAGEMENT .......................................................... 28
3.1 Telnet Login................................................................................................................. 28
Chapter 4 Commands for CLI Configuration.................................................. 29
4.1 clear .............................................................................................................................29
4.1.1 clear access management statistics....................................................................................................................29
4.1.2 clear access-list ace statistics..............................................................................................................................29
4.1.3 clear dot1x statistics interface .............................................................................................................................30
4.1.4 clear eps..............................................................................................................................................................30
4.1.5 clear erps.............................................................................................................................................................30
4.1.6 clear erps statistics..............................................................................................................................................31
4.1.7 clear evc statistics ...............................................................................................................................................31
4.1.8 clear ip arp...........................................................................................................................................................32
4.1.9 clear ip dhcp detailed statistics all .......................................................................................................................32
4.1.10 clear ip dhcp detailed statistics client.................................................................................................................33
4.1.11 clear ip dhcp detailed statistics helper ...............................................................................................................33
4.1.12 clear ip dhcp detailed statistics server...............................................................................................................34
4.1.13 clear ip dhcp detailed statistics snooping ..........................................................................................................34
4.1.14 clear ip dhcp relay statistics...............................................................................................................................35
4.1.15 clear ip dhcp server binding...............................................................................................................................35
4.1.16 clear ip dhcp server binding automatic ..............................................................................................................35
4.1.17 clear ip dhcp server binding expired..................................................................................................................36
4.1.18 clear ip dhcp server binding manual..................................................................................................................36
-2-
Command Guide
4.1.19 clear ip igmp snooping statistics........................................................................................................................37
4.1.20 clear ip igmp snooping vlan...............................................................................................................................37
4.1.21 clear ip statistics icmp icmp-msg.......................................................................................................................38
4.1.22 clear ip statistics icmp interface vlan .................................................................................................................38
4.1.23 clear ip statistics system icmp icmp-msg...........................................................................................................39
4.1.24 clear ip statistics system icmp interface vlan.....................................................................................................39
4.1.25 clear ipv6 mld snooping statistics......................................................................................................................40
4.1.26 clear ipv6 mld snooping vlan .............................................................................................................................40
4.1.27 clear ipv6 neighbors ..........................................................................................................................................41
4.1.28 clear ipv6 statistics icmp icmp-msg ...................................................................................................................41
4.1.29 clear ipv6 statistics icmp interface vlan..............................................................................................................42
4.1.30 clear ipv6 statistics system icmp icmp-msg.......................................................................................................42
4.1.31 clear ipv6 statistics system icmp interface vlan .................................................................................................43
4.1.32 clear lacp statistics ............................................................................................................................................43
4.1.33 clear lldp statistics .............................................................................................................................................44
4.1.34 clear logging error info.......................................................................................................................................44
4.1.35 clear logging error warning................................................................................................................................44
4.1.36 clear logging info error.......................................................................................................................................45
4.1.37 clear logging info warning..................................................................................................................................45
4.1.38 clear logging warning error................................................................................................................................46
4.1.39 clear logging warning info..................................................................................................................................46
4.1.40 clear mac address-table ....................................................................................................................................46
4.1.41 clear mep...........................................................................................................................................................47
4.1.42 clear mvr name..................................................................................................................................................47
4.1.43 clear mvr statistics.............................................................................................................................................47
4.1.44 clear mvr vlan....................................................................................................................................................48
4.1.45 clear network-clock clk-source ..........................................................................................................................48
4.1.46 clear spanning-tree detected-protocols interface * ............................................................................................49
4.1.47 clear spanning-tree detected-protocols interface * ............................................................................................49
4.1.48 clear spanning-tree detected-protocols interface GigabitEthernet.....................................................................50
4.1.49 clear spanning-tree detected-protocols interface 10GigabitEthernet.................................................................50
4.1.50 clear spanning-tree statistics interface *............................................................................................................51
4.1.51 clear spanning-tree statistics interface GigabitEthernet.....................................................................................51
4.1.52 clear spanning-tree statistics interface 10GigabitEthernet.................................................................................51
4.1.53 clear statistics *..................................................................................................................................................52
4.1.54 clear statistics GigabitEthernet..........................................................................................................................52
4.1.55 clear statistics 10GigabitEthernet......................................................................................................................53
4.2 configure terminal.......................................................................................................53
4.2.1 aaa authentication login console local.................................................................................................................53
4.2.2 aaa authentication login console radius ...............................................................................................................54
4.2.3 aaa authentication login console tacacs..............................................................................................................54
-3-
Command Guide
4.2.4 aaa authentication login http local .......................................................................................................................54
4.2.5 aaa authentication login http radius.....................................................................................................................55
4.2.6 aaa authentication login http tacacs ....................................................................................................................55
4.2.7 aaa authentication login ssh local........................................................................................................................56
4.2.8 aaa authentication login ssh radius .....................................................................................................................56
4.2.9 aaa authentication login ssh tacacs.....................................................................................................................57
4.2.10 aaa authentication login telnet local...................................................................................................................57
4.2.11 aaa authentication login telnet radius ................................................................................................................58
4.2.12 aaa authentication login telnet tacacs................................................................................................................58
4.2.13 access management .........................................................................................................................................59
4.2.14 access-list ace...................................................................................................................................................59
4.2.15 access-list ace update.......................................................................................................................................60
4.2.16 access-list rate-limiter........................................................................................................................................62
4.2.17 access-list rate-limiter pps.................................................................................................................................62
4.2.18 aggregation mode..............................................................................................................................................63
4.2.19 aggregation mode..............................................................................................................................................63
4.2.20 banner...............................................................................................................................................................64
4.2.21 banner exec.......................................................................................................................................................65
4.2.22 banner login.......................................................................................................................................................65
4.2.23 banner motd ......................................................................................................................................................66
4.2.24 clock summer-time ............................................................................................................................................67
4.2.25 clock timezone...................................................................................................................................................67
4.2.26 default access-list rate-limiter............................................................................................................................68
4.2.27 dot1x authentication timer inactivity...................................................................................................................68
4.2.28 dot1x authentication timer re-authenticate.........................................................................................................69
4.2.29 dot1x feature .....................................................................................................................................................69
4.2.30 dot1x guest-vlan................................................................................................................................................70
4.2.31 dot1x guest-vlan supplicant...............................................................................................................................70
4.2.32 dot1x max-reauth-req ........................................................................................................................................71
4.2.33 dot1x system-auth-control .................................................................................................................................71
4.2.34 dot1x timeout quiet-period.................................................................................................................................71
4.2.35 dot1x timeout tx-period......................................................................................................................................72
4.2.36 enable password ...............................................................................................................................................72
4.2.37 enable password level.......................................................................................................................................73
4.2.38 enable secret.....................................................................................................................................................74
4.2.39 end ....................................................................................................................................................................75
4.2.40 erps <1-64> guard.............................................................................................................................................75
4.2.41 erps <1-64> holdoff ...........................................................................................................................................76
4.2.42 erps <1-64> major.............................................................................................................................................76
4.2.43 erps <1-64> mep...............................................................................................................................................77
4.2.44 erps <1-64> mep...............................................................................................................................................77
-4-
Command Guide
4.2.45 erps <1-64> rpl neighbor ...................................................................................................................................78
4.2.46 erps <1-64> rpl owner .......................................................................................................................................78
4.2.47 erps <1-64> sub ................................................................................................................................................79
4.2.48 erps <1-64> topology-change propagate...........................................................................................................79
4.2.49 erps <1-64> topology-change propagate...........................................................................................................80
4.2.50 erps <1-64> vlan................................................................................................................................................80
4.2.51 evc.....................................................................................................................................................................81
4.2.52 evc ece..............................................................................................................................................................82
4.2.53 evc ece update..................................................................................................................................................85
4.2.54 evc policer .........................................................................................................................................................87
4.2.55 evc policer update .............................................................................................................................................88
4.2.56 evc update.........................................................................................................................................................89
4.2.57 exit.....................................................................................................................................................................90
4.2.58 green-ethernet led interval.................................................................................................................................91
4.2.59 green-ethernet led on-event ..............................................................................................................................91
4.2.60 gvrp ...................................................................................................................................................................92
4.2.61 gvrp max-vlans..................................................................................................................................................92
4.2.62 gvrp time............................................................................................................................................................93
4.2.63 help....................................................................................................................................................................93
4.2.64 hostname...........................................................................................................................................................94
4.2.65 interface * | 10GigabitEthernet | GigabitEthernet...............................................................................................95
4.2.65.1 access-list action permit..........................................................................................................................95
4.2.65.2 access-list action deny............................................................................................................................96
4.2.65.3 access-list logging...................................................................................................................................96
4.2.65.4 access-list policy .....................................................................................................................................97
4.2.65.5 access-list port-state ...............................................................................................................................97
4.2.65.6 access-list rate-limiter..............................................................................................................................98
4.2.65.7 access-list redirect interface....................................................................................................................98
4.2.65.8 access-list shutdown ...............................................................................................................................99
4.2.65.9 aggregation group ...................................................................................................................................99
4.2.65.10 description...........................................................................................................................................100
4.2.65.11 do........................................................................................................................................................100
4.2.65.12 dot1x guest-vlan..................................................................................................................................101
4.2.65.13 dot1x port-control ................................................................................................................................101
4.2.65.14 dot1x radius-qos..................................................................................................................................102
4.2.65.15 dot1x radius-vlan.................................................................................................................................102
4.2.65.16 dot1x re-authenticate...........................................................................................................................103
4.2.65.17 duplex..................................................................................................................................................103
4.2.65.18 end ......................................................................................................................................................104
4.2.65.19 evc dei.................................................................................................................................................104
4.2.65.20 evc l2cp discard(GG)...........................................................................................................................105
-5-
Command Guide
4.2.65.21 evc l2cp forward(GG)..........................................................................................................................105
4.2.65.22 evc l2cp peer(GG)...............................................................................................................................106
4.2.65.23 evc update dei.....................................................................................................................................107
4.2.65.24 excessive-restart.................................................................................................................................107
4.2.65.25 exit.......................................................................................................................................................108
4.2.65.26 flowcontrol...........................................................................................................................................108
4.2.65.27 green-ethernet energy-detect(GG)......................................................................................................109
4.2.65.28 green-ethernet short-reach(GG)..........................................................................................................109
4.2.65.29 gvrp join-request vlan(GG)..................................................................................................................110
4.2.65.30 gvrp leave-request vlan(GG)...............................................................................................................110
4.2.65.31 ip arp inspection check-vlan................................................................................................................111
4.2.65.32 ip arp inspection logging......................................................................................................................111
4.2.65.33 ip arp inspection trust ..........................................................................................................................112
4.2.65.34 ip dhcp snooping trust .........................................................................................................................112
4.2.65.35 ip igmp snooping filter .........................................................................................................................113
4.2.65.36 ip igmp snooping immediate-leave...................................................................................................... 113
4.2.65.37 ip igmp snooping max-groups .............................................................................................................114
4.2.65.38 ip igmp snooping mrouter....................................................................................................................114
4.2.65.39 ip verify source....................................................................................................................................115
4.2.65.40 ip verify source limit.............................................................................................................................115
4.2.65.41 ipv6 mld snooping filter ........................................................................................................................116
4.2.65.42 ipv6 mld snooping immediate-leave ....................................................................................................116
4.2.65.43 ipv6 mld snooping max-groups............................................................................................................117
4.2.65.44 ipv6 mld snooping mrouter..................................................................................................................117
4.2.65.45 lacp......................................................................................................................................................118
4.2.65.46 lacp key...............................................................................................................................................118
4.2.65.47 lacp port-priority...................................................................................................................................119
4.2.65.48 lacp role...............................................................................................................................................119
4.2.65.49 lacp timeout.........................................................................................................................................120
4.2.65.50 lldp cdp-aware.....................................................................................................................................120
4.2.65.51 lldp med media-vlan policy-list.............................................................................................................121
4.2.65.52 lldp med transmit-tlv ............................................................................................................................121
4.2.65.53 lldp receive..........................................................................................................................................122
4.2.65.54 lldp tlv-select management-address....................................................................................................122
4.2.65.55 lldp tlv-select port-description..............................................................................................................123
4.2.65.56 lldp tlv-select system-capabilities ........................................................................................................123
4.2.65.57 lldp tlv-select system-description.........................................................................................................124
4.2.65.58 lldp tlv-select system-name.................................................................................................................124
4.2.65.59 lldp transmit.........................................................................................................................................125
4.2.65.60 loop-protect .........................................................................................................................................125
4.2.65.61 loop-protect action...............................................................................................................................126
-6-
Command Guide
4.2.65.62 loop-protect tx-mode ...........................................................................................................................126
4.2.65.63 loop-protect tx-mode ...........................................................................................................................127
4.2.65.64 mac address-table learning .................................................................................................................127
4.2.65.65 media-type...........................................................................................................................................128
4.2.65.66 mtu......................................................................................................................................................128
4.2.65.67 mvr immediate-leave...........................................................................................................................129
4.2.65.68 mvr name ............................................................................................................................................129
4.2.65.69 mvr vlan...............................................................................................................................................130
4.2.65.70 network-clock synchronization ssm.....................................................................................................131
4.2.65.71 no........................................................................................................................................................131
4.2.65.72 ping ip..................................................................................................................................................132
4.2.65.73 poe mode ............................................................................................................................................132
4.2.65.74 poe pdcheck IP....................................................................................................................................133
4.2.65.75 poe pdcheck action .............................................................................................................................133
4.2.65.76 poe pdcheck enable ............................................................................................................................134
4.2.65.77 poe pdcheck interval ...........................................................................................................................135
4.2.65.78 poe pdcheck reboot-time.....................................................................................................................135
4.2.65.79 poe pdcheck retry-count......................................................................................................................136
4.2.65.80 poe power limit....................................................................................................................................136
4.2.65.81 poe priority...........................................................................................................................................137
4.2.65.82 poe time-range....................................................................................................................................137
4.2.65.83 port-security.........................................................................................................................................138
4.2.65.84 port-security maximum........................................................................................................................138
4.2.65.85 port-security violation ..........................................................................................................................139
4.2.65.86 port-security violation ..........................................................................................................................140
4.2.65.87 pvlan....................................................................................................................................................140
4.2.65.88 pvlan isolation......................................................................................................................................141
4.2.65.89 qos cos................................................................................................................................................141
4.2.65.90 qos dei.................................................................................................................................................142
4.2.65.91 qos dpl.................................................................................................................................................142
4.2.65.92 qos dscp-classify.................................................................................................................................143
4.2.65.93 qos dscp-remark..................................................................................................................................143
4.2.65.94 qos dscp-translate...............................................................................................................................144
4.2.65.95 qos map cos-tag..................................................................................................................................144
4.2.65.96 qos map tag-cos..................................................................................................................................145
4.2.65.97 qos pcp................................................................................................................................................146
4.2.65.98 qos policer...........................................................................................................................................147
4.2.65.99 qos queue-policer queue.....................................................................................................................147
4.2.65.100 qos queue-shaper queue...................................................................................................................148
4.2.65.101 qos shaper.........................................................................................................................................148
4.2.65.102 qos storm broadcast..........................................................................................................................149
-7-
Command Guide
4.2.65.103 qos storm unicast ..............................................................................................................................149
4.2.65.104 qos storm unknown ...........................................................................................................................150
4.2.65.105 qos tag-remark ..................................................................................................................................151
4.2.65.106 qos tag-remark mapped ....................................................................................................................151
4.2.65.107 qos trust dscp....................................................................................................................................152
4.2.65.108 qos trust tag.......................................................................................................................................152
4.2.65.109 rmon collection history.......................................................................................................................153
4.2.65.110 rmon collection stats..........................................................................................................................154
4.2.65.111 shutdown...........................................................................................................................................154
4.2.65.112 spanning-tree ....................................................................................................................................155
4.2.65.113 spanning-tree auto-edge ...................................................................................................................155
4.2.65.114 spanning-tree bpdu-guard .................................................................................................................156
4.2.65.115 spanning-tree edge............................................................................................................................156
4.2.65.116 spanning-tree link-type......................................................................................................................157
4.2.65.117 spanning-tree mst <Instance : 0-7> cost ...........................................................................................157
4.2.65.118 spanning-tree mst <Instance : 0-7> cost ...........................................................................................158
4.2.65.119 spanning-tree restricted-role..............................................................................................................159
4.2.65.120 spanning-tree restricted-tcn...............................................................................................................159
4.2.65.121 speed ................................................................................................................................................160
4.2.65.122 switchport access vlan ......................................................................................................................160
4.2.65.123 switchport forbidden vlan add............................................................................................................161
4.2.65.124 switchport forbidden vlan remove......................................................................................................161
4.2.65.125 switchport hybrid acceptable-frame-type...........................................................................................162
4.2.65.126 switchport hybrid allowed vlan...........................................................................................................163
4.2.65.127 switchport hybrid egress-tag..............................................................................................................163
4.2.65.128 switchport hybrid ingress-filtering ......................................................................................................164
4.2.65.129 switchport hybrid native vlan .............................................................................................................164
4.2.65.130 switchport hybrid port-type ................................................................................................................ 165
4.2.65.131 switchport mode ................................................................................................................................166
4.2.65.132 switchport vlan ip-subnet...................................................................................................................166
4.2.65.133 switchport vlan mac...........................................................................................................................167
4.2.65.134 switchport vlan mapping....................................................................................................................168
4.2.65.135 switchport vlan protocol group...........................................................................................................168
4.2.65.136 switchport voice vlan discovery-protocol ...........................................................................................169
4.2.65.137 switchport voice vlan mode ...............................................................................................................169
4.2.65.138 switchport voice vlan security............................................................................................................170
4.2.66 interface vlan...................................................................................................................................................171
4.2.66.1 do..........................................................................................................................................................171
4.2.66.2 end........................................................................................................................................................172
4.2.66.3 exit.........................................................................................................................................................172
4.2.66.4 ip address..............................................................................................................................................173
-8-
Command Guide
4.2.66.5 ip address dhcp.....................................................................................................................................173
4.2.66.6 ip address dhcp fallback........................................................................................................................174
4.2.66.7 ip dhcp server........................................................................................................................................174
4.2.66.8 ip igmp snooping ...................................................................................................................................175
4.2.66.9 ip igmp snooping compatibility...............................................................................................................175
4.2.66.10 ip igmp snooping last-member-query-interval......................................................................................176
4.2.66.11 ip igmp snooping priority .....................................................................................................................177
4.2.66.12 ip igmp snooping querier address .......................................................................................................177
4.2.66.13 ip igmp snooping querier election........................................................................................................178
4.2.66.14 ip igmp snooping query-interval...........................................................................................................178
4.2.66.15 ip igmp snooping query-max-response-time........................................................................................179
4.2.66.16 ip igmp snooping robustness-variable.................................................................................................180
4.2.66.17 ip igmp snooping unsolicited-report-interval ........................................................................................180
4.2.66.18 ipv6 address........................................................................................................................................181
4.2.66.19 ipv6 mld snooping ...............................................................................................................................181
4.2.66.20 ipv6 mld snooping compatibility...........................................................................................................182
4.2.66.21 ipv6 mld snooping last-member-query-interval....................................................................................182
4.2.66.22 ipv6 mld snooping priority....................................................................................................................183
4.2.66.23 ipv6 mld snooping querier election......................................................................................................184
4.2.66.24 ipv6 mld snooping query-interval.........................................................................................................184
4.2.66.25 ipv6 mld snooping query-max-response-time......................................................................................185
4.2.66.26 ipv6 mld snooping robustness-variable ...............................................................................................185
4.2.66.27 ipv6 mld snooping unsolicited-report-interval ......................................................................................186
4.2.66.28 no........................................................................................................................................................186
4.2.67 ip arp inspection ..............................................................................................................................................187
4.2.68 ip arp inspection entry interface .......................................................................................................................187
4.2.69 ip arp inspection translate................................................................................................................................188
4.2.70 ip arp inspection translate interface.................................................................................................................189
4.2.71 ip arp inspection vlan.......................................................................................................................................189
4.2.72 ip dhcp excluded-address................................................................................................................................190
4.2.73 ip dhcp pool.....................................................................................................................................................191
4.2.73.1 broadcast...............................................................................................................................................191
4.2.73.2 client-identifier fqdn ...............................................................................................................................192
4.2.73.3 client-identifier mac-address..................................................................................................................192
4.2.73.4 client-name............................................................................................................................................193
4.2.73.5 default-router.........................................................................................................................................193
4.2.73.6 dns-server .............................................................................................................................................194
4.2.73.7 do..........................................................................................................................................................194
4.2.73.8 domain-name ........................................................................................................................................195
4.2.73.9 end........................................................................................................................................................195
4.2.73.10 exit.......................................................................................................................................................196
-9-
Command Guide
4.2.73.11 hardware-address ............................................................................................................................... 196
4.2.73.12 host .....................................................................................................................................................197
4.2.73.13 lease....................................................................................................................................................197
4.2.73.14 netbios-name-server ...........................................................................................................................198
4.2.73.15 netbios-node-type................................................................................................................................198
4.2.73.16 netbios-scope......................................................................................................................................199
4.2.73.17 network................................................................................................................................................199
4.2.73.18 nis-domain-name.................................................................................................................................200
4.2.73.19 nis-server.............................................................................................................................................200
4.2.73.20 no........................................................................................................................................................201
4.2.73.21 ntp-server............................................................................................................................................201
4.2.73.22 vendor .................................................................................................................................................202
4.2.74 ip dns proxy.....................................................................................................................................................202
4.2.75 ip helper-address.............................................................................................................................................203
4.2.76 ip http secure-redirect......................................................................................................................................203
4.2.77 ip http secure-server........................................................................................................................................204
4.2.78 ip igmp host-proxy...........................................................................................................................................204
4.2.79 ip igmp host-proxy leave-proxy........................................................................................................................205
4.2.80 ip igmp snooping .............................................................................................................................................205
4.2.81 ip igmp snooping vlan......................................................................................................................................206
4.2.82 ip igmp ssm-range...........................................................................................................................................207
4.2.83 ip igmp unknown-flooding................................................................................................................................207
4.2.84 ip name-server ................................................................................................................................................208
4.2.85 ip name-server dhcp........................................................................................................................................208
4.2.86 ip name-server dhcp interface vlan..................................................................................................................209
4.2.87 ip route ............................................................................................................................................................209
4.2.88 ip routing..........................................................................................................................................................210
4.2.89 ip source binding interface...............................................................................................................................210
4.2.90 ip ssh...............................................................................................................................................................211
4.2.91 ip verify source ................................................................................................................................................212
4.2.92 ip verify source translate..................................................................................................................................212
4.2.93 ipmc profile......................................................................................................................................................213
4.2.94 ipmc profile <word16> .....................................................................................................................................213
4.2.94.1 default range .........................................................................................................................................214
4.2.94.2 description.............................................................................................................................................214
4.2.94.3 do..........................................................................................................................................................215
4.2.94.4 end........................................................................................................................................................215
4.2.94.5 exit.........................................................................................................................................................216
4.2.94.6 no..........................................................................................................................................................216
4.2.94.7 range.....................................................................................................................................................217
4.2.95 ipv6 mld host-proxy .........................................................................................................................................217
-
Command Guide
4.2.96 ipv6 mld host-proxy leave-proxy......................................................................................................................218
4.2.97 ipv6 mld snooping............................................................................................................................................218
4.2.98 ipv6 mld snooping vlan....................................................................................................................................219
4.2.99 ipv6 mld ssm-range.........................................................................................................................................219
4.2.100 ipv6 mld unknown-flooding............................................................................................................................220
4.2.101 ipv6 route.......................................................................................................................................................220
4.2.102 lacp system-priority........................................................................................................................................221
4.2.103 line.................................................................................................................................................................222
4.2.103.1 do ........................................................................................................................................................222
4.2.103.2 editing..................................................................................................................................................223
4.2.103.3 end ......................................................................................................................................................223
4.2.103.4 exec-banner ........................................................................................................................................224
4.2.103.5 exec-timeout........................................................................................................................................224
4.2.103.6 exec-timeout........................................................................................................................................225
4.2.103.7 exit.......................................................................................................................................................225
4.2.103.8 history size ..........................................................................................................................................226
4.2.103.9 length ..................................................................................................................................................226
4.2.103.10 location..............................................................................................................................................227
4.2.103.11 motd-banner......................................................................................................................................227
4.2.103.12 no ......................................................................................................................................................228
4.2.103.13 privilege level.....................................................................................................................................228
4.2.103.14 width..................................................................................................................................................229
4.2.104 lldp holdtime ..................................................................................................................................................229
4.2.105 lldp med datum..............................................................................................................................................230
4.2.106 lldp med fast..................................................................................................................................................230
4.2.107 lldp med location-tlv altitude ..........................................................................................................................231
4.2.108 lldp med location-tlv elin-addr........................................................................................................................231
4.2.109 lldp med location-tlv latitude ..........................................................................................................................232
4.2.110 lldp med location-tlv longitude........................................................................................................................232
4.2.111 lldp med media-vlan-policy.............................................................................................................................233
4.2.112 lldp reinit ........................................................................................................................................................234
4.2.113 lldp timer........................................................................................................................................................235
4.2.114 lldp transmission-delay ..................................................................................................................................235
4.2.115 logging host ...................................................................................................................................................236
4.2.116 logging level...................................................................................................................................................236
4.2.117 logging on......................................................................................................................................................237
4.2.118 loop-protect....................................................................................................................................................237
4.2.119 loop-protect shutdown-time............................................................................................................................238
4.2.120 loop-protect transmit-time..............................................................................................................................238
4.2.121 mac address-table aging-time .......................................................................................................................239
4.2.122 mac address-table static................................................................................................................................239
1-
-1
Command Guide
4.2.123 mep <Instance> ais.......................................................................................................................................240
4.2.124 mep <Instance> aps......................................................................................................................................241
4.2.125 mep <Instance> cc........................................................................................................................................241
4.2.126 mep <Instance> client domain.......................................................................................................................242
4.2.127 mep <Instance> client flow............................................................................................................................243
4.2.128 mep <Instance> dm.......................................................................................................................................244
4.2.129 mep <Instance> dm ns..................................................................................................................................245
4.2.130 mep <Instance> dm overflow-reset ...............................................................................................................245
4.2.131 mep <Instance> dm proprietary.....................................................................................................................246
4.2.132 mep <Instance> dm syncronized...................................................................................................................246
4.2.133 mep <Instance> down ...................................................................................................................................247
4.2.134 mep <Instance> lb.........................................................................................................................................248
4.2.135 mep <Instance> lck .......................................................................................................................................249
4.2.136 mep <Instance> level ....................................................................................................................................249
4.2.137 mep <Instance> lm........................................................................................................................................250
4.2.138 mep <Instance> lt..........................................................................................................................................251
4.2.139 mep <Instance> meg-id.................................................................................................................................251
4.2.140 mep <Instance> mep-id.................................................................................................................................252
4.2.141 mep <Instance> peer-mep-id.........................................................................................................................253
4.2.142 mep <Instance> performance-monitoring......................................................................................................253
4.2.143 mep <Instance> tst........................................................................................................................................254
4.2.144 mep <Instance> up........................................................................................................................................255
4.2.145 mep <Instance> vid.......................................................................................................................................256
4.2.146 mep <Instance> voe......................................................................................................................................256
4.2.147 monitor destination........................................................................................................................................257
4.2.148 monitor source...............................................................................................................................................257
4.2.149 mvr ................................................................................................................................................................258
4.2.150 mvr name <mvr_name> channel...................................................................................................................258
4.2.151 mvr name <mvr_name> frame priority...........................................................................................................259
4.2.152 mvr name <mvr_name> frame tagged ..........................................................................................................259
4.2.153 mvr name <mvr_name> igmp-address..........................................................................................................260
4.2.154 mvr name <mvr_name> last-member-query-interval.....................................................................................260
4.2.155 mvr name <mvr_name> mode ......................................................................................................................261
4.2.156 mvr vlan <vlan_list>.......................................................................................................................................261
4.2.157 mvr vlan <vlan_list> channel .........................................................................................................................262
4.2.158 mvr vlan <vlan_list> frame priority.................................................................................................................262
4.2.159 mvr vlan <vlan_list> tagged...........................................................................................................................263
4.2.160 mvr vlan <vlan_list> igmp-address................................................................................................................264
4.2.161 mvr vlan <vlan_list> last-member-query-interval...........................................................................................264
4.2.162 mvr vlan <vlan_list> mode.............................................................................................................................265
4.2.163 mvr vlan <vlan_list> name.............................................................................................................................265
-
Command Guide
4.2.164 network-clock clk-source <clk-source> aneg-mode.......................................................................................266
4.2.165 no ..................................................................................................................................................................266
4.2.166 ntp .................................................................................................................................................................267
4.2.167 ntp server ......................................................................................................................................................267
4.2.168 poe admin-mode enable................................................................................................................................268
4.2.169 poe management mode.................................................................................................................................268
4.2.170 poe sequential enable ...................................................................................................................................269
4.2.171 poe sequential interval...................................................................................................................................270
4.2.172 poe sequential rule........................................................................................................................................270
4.2.173 poe supply.....................................................................................................................................................271
4.2.174 poe temperature-protection enable................................................................................................................271
4.2.175 poe temperature-threshold ............................................................................................................................272
4.2.176 poe usage-threshold......................................................................................................................................272
4.2.177 poe-time-range..............................................................................................................................................273
4.2.177.1 do ........................................................................................................................................................273
4.2.177.2 end ......................................................................................................................................................274
4.2.177.3 exit.......................................................................................................................................................274
4.2.177.4 no ........................................................................................................................................................275
4.2.177.5 periodic................................................................................................................................................275
4.2.177.6 reboot-only ..........................................................................................................................................276
4.2.178 port-security...................................................................................................................................................277
4.2.179 port-security aging.........................................................................................................................................277
4.2.180 port-security aging time .................................................................................................................................278
4.2.181 privilege.........................................................................................................................................................278
4.2.182 qos map cos-dscp .........................................................................................................................................279
4.2.183 qos map dscp-classify ...................................................................................................................................280
4.2.184 qos map dscp-cos .........................................................................................................................................281
4.2.185 qos map dscp-egress-translation...................................................................................................................283
4.2.186 qos map dscp-ingress-translation..................................................................................................................284
4.2.187 qos qce..........................................................................................................................................................285
4.2.188 qos qce update..............................................................................................................................................286
4.2.189 qos qce refresh ..............................................................................................................................................288
4.2.190 qos wred........................................................................................................................................................288
4.2.191 radius-server attribute 32...............................................................................................................................289
4.2.192 radius-server attribute 4.................................................................................................................................290
4.2.193 radius-server attribute 95...............................................................................................................................290
4.2.194 radius-server deadtime..................................................................................................................................291
4.2.195 radius-server host..........................................................................................................................................291
4.2.196 radius-server key...........................................................................................................................................292
4.2.197 radius-server retransmit.................................................................................................................................293
4.2.198 radius-server timeout.....................................................................................................................................293
-
Command Guide
4.2.199 rmon alarm ....................................................................................................................................................294
4.2.200 rmon event ....................................................................................................................................................295
4.2.201 sflow agent-ip ................................................................................................................................................296
4.2.202 sflow collector-address..................................................................................................................................296
4.2.203 sflow collector-port.........................................................................................................................................297
4.2.204 sflow max-datagram-size...............................................................................................................................297
4.2.205 sflow timeout .................................................................................................................................................298
4.2.206 sfp temperature-threshold .............................................................................................................................298
4.2.207 snmp-server ..................................................................................................................................................299
4.2.208 snmp-server access ......................................................................................................................................299
4.2.209 snmp-server community ................................................................................................................................300
4.2.210 snmp-server contact......................................................................................................................................301
4.2.211 snmp-server engine-id...................................................................................................................................301
4.2.212 snmp-server host...........................................................................................................................................302
4.2.212.1 do ........................................................................................................................................................302
4.2.212.2 end ......................................................................................................................................................303
4.2.212.3 exit.......................................................................................................................................................303
4.2.212.4 host .....................................................................................................................................................304
4.2.212.5 no ........................................................................................................................................................305
4.2.212.6 informs ................................................................................................................................................305
4.2.212.7 shutdown.............................................................................................................................................306
4.2.212.8 traps ....................................................................................................................................................306
4.2.212.9 version.................................................................................................................................................307
4.2.213 spanning-tree aggregation.............................................................................................................................308
4.2.213.1 do ........................................................................................................................................................308
4.2.213.2 end ......................................................................................................................................................309
4.2.213.3 exit.......................................................................................................................................................309
4.2.213.4 no ........................................................................................................................................................310
4.2.213.5 spanning-tree auto-edge .....................................................................................................................310
4.2.213.6 spanning-tree bpdu-guard ...................................................................................................................311
4.2.213.7 spanning-tree edge .............................................................................................................................311
4.2.213.8 spanning-tree link-type........................................................................................................................312
4.2.213.9 spanning-tree mst <instance> cost......................................................................................................312
4.2.213.10 spanning-tree mst <instance> port-priority ........................................................................................313
4.2.213.11 spanning-tree restricted-role..............................................................................................................313
4.2.213.12 spanning-tree restricted-tcn...............................................................................................................314
4.2.214 switchport vlan mapping................................................................................................................................314
4.2.215 tacacs-server deadtime .................................................................................................................................315
4.2.216 tacacs-server host.........................................................................................................................................315
4.2.217 transport email authentication .......................................................................................................................316
4.2.218 transport email from.......................................................................................................................................317
-
Command Guide
4.2.219 transport email smtp-server...........................................................................................................................317
4.2.220 transport email to...........................................................................................................................................318
4.2.221 upnp ..............................................................................................................................................................318
4.2.222 upnp advertising-duration..............................................................................................................................319
4.2.223 upnp ttl...........................................................................................................................................................319
4.2.224 username ......................................................................................................................................................320
4.2.225 vlan................................................................................................................................................................321
4.2.225.1 do ........................................................................................................................................................321
4.2.225.2 end ......................................................................................................................................................322
4.2.225.3 exit.......................................................................................................................................................322
4.2.225.4 name ...................................................................................................................................................323
4.2.225.5 no ........................................................................................................................................................323
4.2.226 vlan ethertype s-custom-port.........................................................................................................................324
4.2.227 vlan protocol..................................................................................................................................................324
4.2.228 voice vlan ......................................................................................................................................................325
4.2.229 voice vlan aging-time.....................................................................................................................................326
4.2.230 voice vlan class .............................................................................................................................................326
4.2.231 voice vlan oui.................................................................................................................................................327
4.2.232 voice vlan vid.................................................................................................................................................327
4.2.233 web privilege group .......................................................................................................................................328
4.3 copy ...........................................................................................................................329
4.3.1 copy ...................................................................................................................................................................329
4.4 debug.........................................................................................................................329
4.4.1 debug ................................................................................................................................................................329
4.5 delete .........................................................................................................................330
4.5.1 delete.................................................................................................................................................................330
4.6 dir...............................................................................................................................331
4.6.1 dir ......................................................................................................................................................................331
4.7 disable .......................................................................................................................331
4.7.1 disable...............................................................................................................................................................331
4.8 do ...............................................................................................................................332
4.8.1 do ......................................................................................................................................................................332
4.9 dot1x..........................................................................................................................333
4.9.1 dot1x initialize....................................................................................................................................................333
4.10 enable ......................................................................................................................333
4.10.1 enable..............................................................................................................................................................333
4.11 erps ..........................................................................................................................334
-
Command Guide
4.11.1 erps..................................................................................................................................................................334
4.12 exit............................................................................................................................335
4.12.1 exit...................................................................................................................................................................335
4.13 firmware...................................................................................................................335
4.13.1 firmware swap .................................................................................................................................................335
4.13.2 firmware upgrade.............................................................................................................................................336
4.14 ip...............................................................................................................................336
4.14.1 ip dhcp retry interface vlan ..............................................................................................................................336
4.15 logout.......................................................................................................................337
4.15.1 logout...............................................................................................................................................................337
4.16 more.........................................................................................................................337
4.16.1 more................................................................................................................................................................337
4.17 no .............................................................................................................................338
4.17.1 no ....................................................................................................................................................................338
4.18 ping..........................................................................................................................339
4.18.1 ping ip..............................................................................................................................................................339
4.18.2 ping ipv6..........................................................................................................................................................340
4.19 reload.......................................................................................................................341
4.19.1 reload cold.......................................................................................................................................................341
4.19.2 reload defaults.................................................................................................................................................341
4.20 send .........................................................................................................................342
4.20.1 send.................................................................................................................................................................342
4.21 show.........................................................................................................................343
4.21.1 show aaa.........................................................................................................................................................343
4.21.2 show access management..............................................................................................................................343
4.21.3 show access-list ..............................................................................................................................................344
4.21.4 show access-list ..............................................................................................................................................345
4.21.5 show access-list ace-status.............................................................................................................................347
4.21.6 show aggregation............................................................................................................................................348
4.21.7 show aggregation mode ..................................................................................................................................348
4.21.8 show clock.......................................................................................................................................................349
4.21.9 show clock detail .............................................................................................................................................350
4.21.10 show dot1x statistics......................................................................................................................................351
4.21.11 show dot1x status..........................................................................................................................................352
4.21.12 show eps .......................................................................................................................................................353
4.21.13 show erps......................................................................................................................................................354
-
Command Guide
4.21.14 show evc .......................................................................................................................................................355
4.21.15 show evc statistics.........................................................................................................................................356
4.21.16 show green-ethernet......................................................................................................................................356
4.21.17 show green-ethernet energy-detect...............................................................................................................357
4.21.18 show green-ethernet short-reach...................................................................................................................357
4.21.19 show history ..................................................................................................................................................358
4.21.20 show interface <port_type> <port_type_list> capabilities ..............................................................................358
4.21.21 show interface <port_type> <port_type_list> statistics..................................................................................359
4.21.22 show interface <port_type> <port_type_list> status ......................................................................................360
4.21.23 show interface <port_type> <port_list> switchport.........................................................................................360
4.21.24 show interface <port_type> <port_type_list> veriphy ....................................................................................361
4.21.25 show interface <port_type> <port_type_list> veriphy ....................................................................................362
4.21.26 show interface vlan........................................................................................................................................362
4.21.27 show ip arp....................................................................................................................................................363
4.21.28 show ip arp inspection...................................................................................................................................364
4.21.29 show ip arp inspection...................................................................................................................................364
4.21.30 show ip arp inspection entry..........................................................................................................................365
4.21.31 show ip dhcp detailed statistics .....................................................................................................................366
4.21.32 show ip dhcp excluded-address ....................................................................................................................367
4.21.33 show ip dhcp pool..........................................................................................................................................368
4.21.34 show ip dhcp relay.........................................................................................................................................369
4.21.35 show ip dhcp server.......................................................................................................................................369
4.21.36 show ip dhcp server binding (GG).................................................................................................................370
4.21.37 show ip dhcp server declined-ip (GG) ...........................................................................................................371
4.21.38 show ip dhcp server statistics........................................................................................................................371
4.21.39 show ip dhcp snooping..................................................................................................................................372
4.21.40 show ip dhcp snooping table .........................................................................................................................373
4.21.41 show ip http server secure status..................................................................................................................374
4.21.42 show ip igmp snooping..................................................................................................................................374
4.21.43 show ip igmp snooping mrouter.....................................................................................................................375
4.21.44 show ip interface brief....................................................................................................................................376
4.21.45 show ip name-server.....................................................................................................................................376
4.21.46 show ip route.................................................................................................................................................377
4.21.47 show ip source binding..................................................................................................................................377
4.21.48 show ip ssh....................................................................................................................................................378
4.21.49 show ip statistics............................................................................................................................................378
4.21.50 show ip verify source.....................................................................................................................................380
4.21.51 show ipmc profile...........................................................................................................................................381
4.21.52 show ipmc range ...........................................................................................................................................381
4.21.53 show ipv6 interface........................................................................................................................................382
4.21.54 show ipv6 mld snooping ................................................................................................................................383
-
Command Guide
4.21.55 show ipv6 mld snooping mrouter...................................................................................................................384
4.21.56 show ipv6 neighbor........................................................................................................................................384
4.21.57 show ipv6 route .............................................................................................................................................385
4.21.58 show ipv6 statistics........................................................................................................................................386
4.21.59 show lacp ......................................................................................................................................................388
4.21.60 show line .......................................................................................................................................................388
4.21.61 show lldp med media-vlan-policy...................................................................................................................389
4.21.62 show lldp med remote-device........................................................................................................................ 390
4.21.63 show lldp neighbors.......................................................................................................................................390
4.21.64 show lldp statistics.........................................................................................................................................391
4.21.65 show logging .................................................................................................................................................391
4.21.66 show loop-protect..........................................................................................................................................392
4.21.67 show mac address-table................................................................................................................................393
4.21.68 show mep......................................................................................................................................................394
4.21.69 show mvr.......................................................................................................................................................395
4.21.70 show network-clock.......................................................................................................................................396
4.21.71 show ntp status..............................................................................................................................................396
4.21.72 show platform phy .........................................................................................................................................397
4.21.73 show platform phy failover.............................................................................................................................398
4.21.74 show platform phy id......................................................................................................................................398
4.21.75 show platform phy status...............................................................................................................................399
4.21.76 show port-security port ..................................................................................................................................399
4.21.77 show port-security switch ..............................................................................................................................400
4.21.78 show privilege................................................................................................................................................401
4.21.79 show pvlan ....................................................................................................................................................401
4.21.80 show pvlan isolation ......................................................................................................................................402
4.21.81 show qos .......................................................................................................................................................402
4.21.82 show radius-server........................................................................................................................................405
4.21.83 show rmon alarm...........................................................................................................................................405
4.21.84 show rmon event...........................................................................................................................................406
4.21.85 show rmon history .........................................................................................................................................407
4.21.86 show rmon statistics......................................................................................................................................407
4.21.87 show running-config ......................................................................................................................................408
4.21.88 show snmp ....................................................................................................................................................410
4.21.89 show snmp access........................................................................................................................................412
4.21.90 show snmp community v3 .............................................................................................................................413
4.21.91 show snmp host.............................................................................................................................................413
4.21.92 show snmp mib context.................................................................................................................................414
4.21.93 show snmp mib ifmib ifIndex .........................................................................................................................416
4.21.94 show snmp security-to-group ........................................................................................................................418
4.21.95 show snmp user ............................................................................................................................................419
-
Command Guide
4.21.96 show snmp view............................................................................................................................................419
4.21.97 show spanning-tree.......................................................................................................................................420
4.21.98 show switchport forbidden.............................................................................................................................421
4.21.99 show tacacs-server........................................................................................................................................422
4.21.100 show terminal ..............................................................................................................................................422
4.21.101 show upnp...................................................................................................................................................423
4.21.102 show users ..................................................................................................................................................424
4.21.103 show version ...............................................................................................................................................425
4.21.104 show vlan ....................................................................................................................................................426
4.21.105 show vlan ip-subnet.....................................................................................................................................426
4.21.106 show vlan mac.............................................................................................................................................427
4.21.107 show vlan protocol.......................................................................................................................................427
4.21.108 show voice vlan...........................................................................................................................................428
4.21.109 show web privilege group............................................................................................................................429
4.22 terminal....................................................................................................................431
4.22.1 terminal editing................................................................................................................................................431
4.22.2 terminal exec-timeout......................................................................................................................................431
4.22.3 terminal history size.........................................................................................................................................432
4.22.4 terminal length.................................................................................................................................................432
4.22.5 terminal width ..................................................................................................................................................433
-
Command Guide

Chapter 1 COMMAND LINE INTERFACE

1.1 Accessing the CLI

When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet connection, the switch can be managed by entering command keywords and parameters at the prompt. Using the switch's command-line interface (CLI) is very similar to entering commands on a UNIX system. This chapter describes how to use the Command Line Interface (CLI).

1.2 Command Line Modes

The CLI groups all the commands in appropriate modes according to the nature of the command. A sample of the CLI command modes are described below. Each of the command modes supports specific software commands.
Mode-based Command Hierarchy
The Command Line Interface (CLI) groups all the commands in appropriate modes by the nature of the commands. Examples of the CLI command modes are described below. Each of the command modes supports specific switch’s commands. The CLI Command Modes table captures the command modes, the prompts visible in that mode and the exit method from that mode.
Command Mode Access Method Prompt Exit or Access Previous Mode
This is the first level of
User Mode
Privileged Mode
Global Config Mode
access. Perform basic tasks and list system information.
From the User Mode, enter the enable command.
From the Privileged Mode, enter the configuration command.
COMMAND>
Switch#
Switch (Config)#
Enter Logout command
To exit to the User Mode, enter exit or Logout.
To exit to the Privileged Mode, enter the exit command.
Interface Config Mode
The CLI is divided into various modes. The commands in one mode are not available until the operator switches to that particular mode. The commands available to the operator at any point in time depend upon the mode. Entering a question mark (?) at the CLI prompt, and displays a list of the available commands and descriptions of the commands.
From the Global Config mode, enter the interface <port#> command.
Table 1-1 CLI Command Modes
Switch (Interface <port#>)#
-
To exit to the Global Config mode, enter exit.
Command Guide
The CLI provides the following modes:
User Mode
When the operator logs into the CLI, the User Mode is the initial mode. The User Mode contains a limited set of commands. The command prompt shown at this level is:
Command Prompt: switch>
Privileged Mode
To have access to the full suite of commands, the operator must enter the Privileged Mode. The Privileged Mode requires password authentication. From Privileged Mode, the operator can issue any Exec command to enter the Global Configuration mode. The command prompt shown at this level is:
Command Prompt: switch#
Global Config Mode
This mode permits the operator to make modifications to the running configuration. General setup commands are gr ouped in this mode. From the Global Configuration mode, the operator can enter the Interface Configuration mode. The command prompt at this level is:
Command Prompt: switch(Config)#
From the Global Config mode, the operator may enter the following configuration modes:
Interface Config Mode
Many features are enabled for a particular interface. The Interface commands enable or modify the operation of an interface. In this mode, a physical port is set up for a specific logical connection operation. The command prompt at this level is:
Command Prompt: Switch(Interface <port#>)#

1.3 Requirements

Workstations running Windows XP/Vista/7/8/, Windows 2003/2008, MAC OS X or later, Linux, UNIX, or other platforms
are compatible with TCP/IP protocols.
Workstations are installed with Ethernet NIC (Network Interface Card) Serial Port Connection (Terminal)
The above Workstations come with COM Port (DB9) or USB-to-RS-232 converter. The above Workstations have been installed with terminal emulator, such as Hyper Terminal included in Windows
XP/2003.
Serial cable -- one end is attached to the RS-232 serial port, while the other end to the console port of the Managed
Switch.
Ethernet Port Connection
Network cables -- Use standard network (UTP) cables with RJ-45 connectors. The above PC is installed with Web Browser and JAVA runtime environment plug-in.
-
Command Guide

1.4 Command Support

As shown in the following table, some command groups or commands are supported on particular switch models.
Command Group or Command 10GigabitEthernet Power over Ethernet E.R.P.S (Ring) DIDO IEEE1588 PTP WGSD-10020(v2) WGSD-10020HP(v3) WGSW-24040/R WGSW-20160HP WGSW-24040HP/HP4 XGSW-28040 XGSW-28040HP WGSW-48040HP GS-5220-16S8C/16S8CR GS-5220-48T4X SGS-5220-24T2X SGS-5220-24P2X MGSD-10080F MGSW-28240F IGS-10020MT(v2) IGS-10020PT
- - - - -
-
- - - - -
-
-
-
- - - - -
- -
- -
-
- - - -
- - - -
- - - -
- - -
- - -
- - -
- -
- - -
- - -
- -
-
-
-
IGS-10020HPT IGS-10080MFT IGS-20040MT
= Supported, - = Not supported
-
- -
- -
-
-
-
Command Guide

Chapter 2 CONSOLE CLI MANAGEMENT

2.1 Terminal Setup

To configure the system, connect a serial cable to a COM port on a PC or notebook computer and to RJ-45 type of serial (console) port of the Managed Switch.
Figure 2-1 Managed Switch Console Connectivity
The console port of the Managed Switch is a RJ-45 type, RS-23 2 serial port connector. It is an interface for connecting a terminal directly. Through the console port, it provides rich diagnostic information including IP Address setting, factory reset, port management, link status and system setting. Users can use the attached RS-232 cable in the package and connect to the console port on the device. After the connection, users can run any terminal emulatio n program (Hyper Terminal, ProComm Plus, Telix, Winterm and so on) to enter the startup screen of the device.
A terminal program is required to make the software connection to the Managed Switch. Windows' Hyper Terminal program may be a good choice. The Hyper Terminal can be accessed from the Start menu.
1. Click START, then Programs, Accessories and then Hyper Terminal.
2. When the following screen appears, make sure that the COM port should be configured as:
Baud : 115200 Data bits : 8 Parity : None Stop bits : 1 Flow control : None
-
Command Guide
Figure 2-3 Hyper Terminal COM Port Configuration
You can change these settings, if desired, after you log on. This management method is often preferred because you can remain connected and monitor the system during system reboots. Also, certain error messag es are sent to the serial port, regardless of the interface through which the associated action was initiated. A Macintosh or PC attachment can use any terminal-emulation program for connecting to the terminal serial port. A workstation attachment under UNIX can use an emulator such as TIP.
-
Command Guide

2.2 Logon to the Console

Once the terminal is connected to the device, power on the Managed Switch, and the terminal will display “running testing procedures”. Then, the following message asks to log-in user name and password. The factory default user name and password are shown as follows and the login screen in Figure 3-1 appears.
Username: admin Password: admin
Figure 3-1: Managed Switch Console Login Screen
The user can now enter commands to manage the Managed Switch. For a detailed description of the commands, please refer to the following chapters.
1. For security reason, please change and memorize the new password after this first setup.
2. Only accept command in lowercase letter under console interface.

2.3 Configuring IP Address

The Managed Switch is shipped with default IP address shown below.
IP Address: 192.168.0.100 Subnet Mask: 255.255.255.0
To check the current IP address or modify a new IP address for the Switch, please use the procedures as follows:
-
Show the current IP Address
1. At the “#” prompt, enter “show ip interface brief”.
2. The screen displays the current IP address and Subnet Mask as shown in Figure 3-2.
Figure 3-2: IP Information Screen
Command Guide
Configuring IP Address
3. At the “#” prompt, enter the following command and press <Enter>. As shown in Figure 3-3.
# configure terminal (config)# interface vlan 1 (config-if-vlan)# ip address 192.168.1.100 255.255.255.0
The previous command would apply the following settings for the Managed Switch.
IP Address: 192.168.1.100 Subnet Mask: 255.255.255.0
Figure 3-3: Configuring IP Address Screen
-
4. Repeat step 1 to check if the IP address is changed.
Store current switch configuration
5. At the “#” prompt, enter the following command and press <Enter>.
# copy running-config startup-config
Command Guide
Figure 3-4: Saving Current Configuration Command Screen
If the IP is successfully configured, the Managed Switch will apply the new IP address setting immediately. You can access the Web interface of the Managed Switch through the new IP address.
If you are not familiar with the console command or the related parameter, enter “ ?” anytime in console to get the help description.
-
Command Guide

Chapter 3 TELNET CLI MANAGEMENT

3.1 Telnet Login

The Managed Switch also supports telnet for remote management. The switch asks for user name and password for remote login when using telnet, please use “admin” for username & password.
Default IP address: 192.168.0.100 Username: admin Password: admin
Figure 3-1 Managed Switch Telnet Login Screen
-

Chapter 4 Commands for CLI Configuration

4.1 clear

4.1.1 clear access management statistics

Command:
clear access management statistics
Default:
N/A
Usage Guide:
Command Guide
To clear the access management statistics.
Example:
To clear the Switch’s access management statistics.
Switch# clear access management statistics

4.1.2 clear access-list ace statistics

Command:
clear access-list ace statistics
Default:
N/A
Usage Guide:
To clear the Access list entry statistics.
Example:
To clear the Switch’s Access list entry statistics.
Switch# clear access-list ace statistics
-

4.1.3 clear dot1x statistics interface

Command:
clear dot1x statistics interface GigabitEthernet | 10GigabitEthernet
Default:
N/A
Usage Guide:
To clear the dot1x statistics.
Example:
To clear the Switch’s GigabitEthernet 1/25 dot1x statistics.
Switch# clear dot1x statistics interface GigabitEthernet 1/25
Command Guide

4.1.4 clear eps

Command:
clear eps <Inst : uint>
<Inst : uint> The EPS instance number.
Default:
N/A
Usage Guide:
To clear the EPS instance number.

4.1.5 clear erps

Command:
clear erps < ERPS group numbers > statistics
Default:
N/A
Usage Guide:
To clear the ERPS group numbers statistics.
Example:
-
Loading...
+ 403 hidden pages