PLANET SGS-5220-24T2X User Manual

Command Guide of SGS-5220-24T2X
-1-
Command Guide of SGS-5220-24T2X
Contents
Chapter 1 COMMAND LINE INTERFACE......................................................... 18
1.1 Accessing the CLI.......................................................................................................18
1.2 Command Line Modes................................................................................................18
1.3 Requirements.............................................................................................................. 19
Chapter 2 CONSOLE CLI MANAGEMENT ....................................................... 20
2.1 Terminal Setup............................................................................................................20
2.2 Logon to the Console.................................................................................................22
2.3 Configuring IP Address..............................................................................................22
Chapter 3 TELNET CLI MANAGEMENT .......................................................... 25
3.1 Telnet Login................................................................................................................. 25
Chapter 4 Commands for CLI Configuration.................................................. 26
4.1 clear .............................................................................................................................26
4.1.1 clear access management statistics....................................................................................................................26
4.1.2 clear access-list ace statistics..............................................................................................................................26
4.1.3 clear dot1x statistics interface .............................................................................................................................27
4.1.4 clear ip arp...........................................................................................................................................................27
4.1.5 clear ip dhcp detailed statistics all .......................................................................................................................27
4.1.6 clear ip dhcp detailed statistics client...................................................................................................................28
4.1.7 clear ip dhcp detailed statistics helper.................................................................................................................28
4.1.8 clear ip dhcp detailed statistics server.................................................................................................................29
4.1.9 clear ip dhcp detailed statistics snooping ............................................................................................................29
4.1.10 clear ip dhcp relay statistics...............................................................................................................................29
4.1.11 clear ip dhcp server binding...............................................................................................................................30
4.1.12 clear ip dhcp server binding automatic ..............................................................................................................30
4.1.13 clear ip dhcp server binding expired..................................................................................................................31
4.1.14 clear ip dhcp server binding manual..................................................................................................................31
4.1.15 clear ip igmp snooping statistics........................................................................................................................31
4.1.16 clear ip igmp snooping vlan...............................................................................................................................32
4.1.17 clear ip statistics icmp icmp-msg.......................................................................................................................32
4.1.18 clear ip statistics icmp interface vlan .................................................................................................................33
4.1.19 clear ip statistics system icmp icmp-msg...........................................................................................................33
-2-
Command Guide of SGS-5220-24T2X
4.1.20 clear ip statistics system icmp interface vlan.....................................................................................................34
4.1.21 clear ipv6 mld snooping statistics......................................................................................................................34
4.1.22 clear ipv6 mld snooping vlan .............................................................................................................................34
4.1.23 clear ipv6 neighbors ..........................................................................................................................................35
4.1.24 clear ipv6 statistics icmp icmp-msg ...................................................................................................................35
4.1.25 clear ipv6 statistics icmp interface vlan..............................................................................................................36
4.1.26 clear ipv6 statistics system icmp icmp-msg.......................................................................................................36
4.1.27 clear ipv6 statistics system icmp interface vlan .................................................................................................37
4.1.28 clear lacp statistics ............................................................................................................................................37
4.1.29 clear lldp statistics .............................................................................................................................................37
4.1.30 clear logging error info.......................................................................................................................................38
4.1.31 clear logging error warning................................................................................................................................38
4.1.32 clear logging info error.......................................................................................................................................39
4.1.33 clear logging info warning..................................................................................................................................39
4.1.34 clear logging warning error................................................................................................................................39
4.1.35 clear logging warning info..................................................................................................................................40
4.1.36 clear mac address-table ....................................................................................................................................40
4.1.37 clear mvr name..................................................................................................................................................41
4.1.38 clear mvr statistics.............................................................................................................................................41
4.1.39 clear mvr vlan....................................................................................................................................................41
4.1.40 clear network-clock clk-source ..........................................................................................................................42
4.1.41 clear spanning-tree detected-protocols interface * ............................................................................................42
4.1.42 clear spanning-tree detected-protocols interface * ............................................................................................43
4.1.43 clear spanning-tree detected-protocols interface GigabitEthernet.....................................................................43
4.1.44 clear spanning-tree detected-protocols interface 10GigabitEthernet.................................................................44
4.1.45 clear spanning-tree statistics interface *............................................................................................................44
4.1.46 clear spanning-tree statistics interface GigabitEthernet.....................................................................................44
4.1.47 clear spanning-tree statistics interface 10GigabitEthernet.................................................................................45
4.1.48 clear statistics *..................................................................................................................................................45
4.1.49 clear statistics GigabitEthernet..........................................................................................................................46
4.1.50 clear statistics 10GigabitEthernet......................................................................................................................46
4.2 configure terminal.......................................................................................................47
4.2.1 aaa authentication login console local.................................................................................................................47
4.2.2 aaa authentication login console radius ...............................................................................................................47
4.2.3 aaa authentication login console tacacs..............................................................................................................47
4.2.4 aaa authentication login http local .......................................................................................................................48
4.2.5 aaa authentication login http radius.....................................................................................................................48
4.2.6 aaa authentication login http tacacs ....................................................................................................................49
4.2.7 aaa authentication login ssh local........................................................................................................................49
4.2.8 aaa authentication login ssh radius .....................................................................................................................50
4.2.9 aaa authentication login ssh tacacs.....................................................................................................................50
-3-
Command Guide of SGS-5220-24T2X
4.2.10 aaa authentication login telnet local...................................................................................................................50
4.2.11 aaa authentication login telnet radius ................................................................................................................51
4.2.12 aaa authentication login telnet tacacs................................................................................................................51
4.2.13 access management .........................................................................................................................................52
4.2.14 access-list ace...................................................................................................................................................52
4.2.15 access-list ace update.......................................................................................................................................54
4.2.16 access-list rate-limiter........................................................................................................................................55
4.2.17 access-list rate-limiter pps.................................................................................................................................55
4.2.18 aggregation mode..............................................................................................................................................56
4.2.19 aggregation mode..............................................................................................................................................56
4.2.20 banner...............................................................................................................................................................57
4.2.21 banner exec.......................................................................................................................................................58
4.2.22 banner login.......................................................................................................................................................58
4.2.23 banner motd ......................................................................................................................................................59
4.2.24 clock summer-time ............................................................................................................................................60
4.2.25 clock timezone...................................................................................................................................................60
4.2.26 default access-list rate-limiter............................................................................................................................61
4.2.27 dot1x authentication timer inactivity...................................................................................................................61
4.2.28 dot1x authentication timer re-authenticate.........................................................................................................62
4.2.29 dot1x feature .....................................................................................................................................................62
4.2.30 dot1x guest-vlan................................................................................................................................................63
4.2.31 dot1x guest-vlan supplicant...............................................................................................................................63
4.2.32 dot1x max-reauth-req ........................................................................................................................................64
4.2.33 dot1x system-auth-control .................................................................................................................................64
4.2.34 dot1x timeout quiet-period.................................................................................................................................64
4.2.35 dot1x timeout tx-period......................................................................................................................................65
4.2.36 enable password ...............................................................................................................................................65
4.2.37 enable password level.......................................................................................................................................66
4.2.38 enable secret.....................................................................................................................................................67
4.2.39 end ....................................................................................................................................................................68
4.2.40 exit.....................................................................................................................................................................68
4.2.41 green-ethernet led interval.................................................................................................................................69
4.2.42 green-ethernet led on-event ..............................................................................................................................69
4.2.43 help....................................................................................................................................................................70
4.2.44 hostname...........................................................................................................................................................71
4.2.45 interface * | 10GigabitEthernet | GigabitEthernet...............................................................................................71
4.2.45.1 access-list action permit..........................................................................................................................72
4.2.45.2 access-list action deny............................................................................................................................72
4.2.45.3.................................................................................................................................................................73
4.2.45.4 ++access-list logging...............................................................................................................................73
4.2.45.5 access-list policy .....................................................................................................................................73
-4-
Command Guide of SGS-5220-24T2X
4.2.45.6 access-list port-state ...............................................................................................................................74
4.2.45.7 access-list rate-limiter..............................................................................................................................74
4.2.45.8 access-list redirect interface....................................................................................................................75
4.2.45.9 access-list shutdown ...............................................................................................................................75
4.2.45.10 aggregation group .................................................................................................................................76
4.2.45.11 description.............................................................................................................................................76
4.2.45.12 do..........................................................................................................................................................77
4.2.45.13 dot1x guest-vlan....................................................................................................................................77
4.2.45.14 dot1x port-control ..................................................................................................................................78
4.2.45.15 dot1x radius-qos....................................................................................................................................78
4.2.45.16 dot1x radius-vlan...................................................................................................................................79
4.2.45.17 dot1x re-authenticate.............................................................................................................................79
4.2.45.18 duplex....................................................................................................................................................80
4.2.45.19 end ........................................................................................................................................................80
4.2.45.20 excessive-restart...................................................................................................................................81
4.2.45.21 exit.........................................................................................................................................................81
4.2.45.22 flowcontrol.............................................................................................................................................82
4.2.45.23 ip arp inspection check-vlan..................................................................................................................82
4.2.45.24 ip arp inspection logging........................................................................................................................83
4.2.45.25 ip arp inspection trust ............................................................................................................................84
4.2.45.26 ip dhcp snooping trust ...........................................................................................................................84
4.2.45.27 ip igmp snooping filter ...........................................................................................................................85
4.2.45.28 ip igmp snooping immediate-leave........................................................................................................85
4.2.45.29 ip igmp snooping max-groups ...............................................................................................................85
4.2.45.30 ip igmp snooping mrouter......................................................................................................................86
4.2.45.31 ip verify source......................................................................................................................................87
4.2.45.32 ip verify source limit...............................................................................................................................87
4.2.45.33 ipv6 mld snooping filter ..........................................................................................................................88
4.2.45.34 ipv6 mld snooping immediate-leave ......................................................................................................88
4.2.45.35 ipv6 mld snooping max-groups..............................................................................................................88
4.2.45.36 ipv6 mld snooping mrouter....................................................................................................................89
4.2.45.37 lacp........................................................................................................................................................90
4.2.45.38 lacp key.................................................................................................................................................90
4.2.45.39 lacp port-priority.....................................................................................................................................91
4.2.45.40 lacp role.................................................................................................................................................91
4.2.45.41 lacp timeout...........................................................................................................................................92
4.2.45.42 lldp cdp-aware.......................................................................................................................................92
4.2.45.43 lldp med media-vlan policy-list...............................................................................................................93
4.2.45.44 lldp med transmit-tlv ..............................................................................................................................93
4.2.45.45 lldp receive............................................................................................................................................94
4.2.45.46 lldp tlv-select management-address......................................................................................................95
-5-
Command Guide of SGS-5220-24T2X
4.2.45.47 lldp tlv-select port-description................................................................................................................95
4.2.45.48 lldp tlv-select system-capabilities ..........................................................................................................96
4.2.45.49 lldp tlv-select system-description...........................................................................................................96
4.2.45.50 lldp tlv-select system-name...................................................................................................................97
4.2.45.51 lldp transmit...........................................................................................................................................97
4.2.45.52 loop-protect ...........................................................................................................................................98
4.2.45.53 loop-protect action.................................................................................................................................98
4.2.45.54 loop-protect tx-mode .............................................................................................................................99
4.2.45.55 loop-protect tx-mode .............................................................................................................................99
4.2.45.56 mac address-table learning .................................................................................................................100
4.2.45.57 media-type...........................................................................................................................................100
4.2.45.58 mtu......................................................................................................................................................101
4.2.45.59 mvr immediate-leave...........................................................................................................................101
4.2.45.60 mvr name ............................................................................................................................................102
4.2.45.61 mvr vlan...............................................................................................................................................102
4.2.45.62 network-clock synchronization ssm.....................................................................................................103
4.2.45.63 no........................................................................................................................................................103
4.2.45.64 ping ip..................................................................................................................................................104
4.2.45.65 port-security.........................................................................................................................................104
4.2.45.66 port-security maximum........................................................................................................................105
4.2.45.67 port-security violation ..........................................................................................................................105
4.2.45.68 port-security violation ..........................................................................................................................106
4.2.45.69 pvlan....................................................................................................................................................107
4.2.45.70 pvlan isolation......................................................................................................................................107
4.2.45.71 qos cos................................................................................................................................................108
4.2.45.72 qos dei.................................................................................................................................................108
4.2.45.73 qos dpl.................................................................................................................................................109
4.2.45.74 qos dscp-classify.................................................................................................................................109
4.2.45.75 qos dscp-remark..................................................................................................................................110
4.2.45.76 qos dscp-translate...............................................................................................................................110
4.2.45.77 qos map cos-tag..................................................................................................................................111
4.2.45.78 qos map tag-cos..................................................................................................................................112
4.2.45.79 qos pcp................................................................................................................................................112
4.2.45.80 qos policer...........................................................................................................................................113
4.2.45.81 qos queue-policer queue.....................................................................................................................113
4.2.45.82 qos queue-shaper queue ....................................................................................................................114
4.2.45.83 qos shaper...........................................................................................................................................115
4.2.45.84 qos storm broadcast............................................................................................................................115
4.2.45.85 qos storm unicast................................................................................................................................116
4.2.45.86 qos storm unknown .............................................................................................................................116
4.2.45.87 qos tag-remark....................................................................................................................................117
-6-
Command Guide of SGS-5220-24T2X
4.2.45.88 qos tag-remark mapped ......................................................................................................................117
4.2.45.89 qos trust dscp......................................................................................................................................118
4.2.45.90 qos trust tag.........................................................................................................................................118
4.2.45.91 rmon collection history .........................................................................................................................119
4.2.45.92 rmon collection stats............................................................................................................................120
4.2.45.93 shutdown.............................................................................................................................................120
4.2.45.94 spanning-tree ......................................................................................................................................121
4.2.45.95 spanning-tree auto-edge .....................................................................................................................121
4.2.45.96 spanning-tree bpdu-guard...................................................................................................................122
4.2.45.97 spanning-tree edge .............................................................................................................................122
4.2.45.98 spanning-tree link-type........................................................................................................................123
4.2.45.99 spanning-tree mst <Instance : 0-7> cost .............................................................................................123
4.2.45.100 spanning-tree mst <Instance : 0-7> cost ...........................................................................................124
4.2.45.101 spanning-tree restricted-role..............................................................................................................125
4.2.45.102 spanning-tree restricted-tcn...............................................................................................................125
4.2.45.103 speed ................................................................................................................................................126
4.2.45.104 switchport access vlan ......................................................................................................................126
4.2.45.105 switchport forbidden vlan add............................................................................................................127
4.2.45.106 switchport forbidden vlan remove......................................................................................................127
4.2.45.107 switchport hybrid acceptable-frame-type...........................................................................................128
4.2.45.108 switchport hybrid allowed vlan...........................................................................................................129
4.2.45.109 switchport hybrid egress-tag..............................................................................................................129
4.2.45.110 switchport hybrid ingress-filtering ......................................................................................................130
4.2.45.111 switchport hybrid native vlan .............................................................................................................130
4.2.45.112 switchport hybrid port-type ................................................................................................................ 131
4.2.45.113 switchport mode ................................................................................................................................132
4.2.45.114 switchport vlan ip-subnet...................................................................................................................132
4.2.45.115 switchport vlan mac...........................................................................................................................133
4.2.45.116 switchport vlan mapping....................................................................................................................134
4.2.45.117 switchport vlan protocol group...........................................................................................................134
4.2.45.118 switchport voice vlan discovery-protocol ...........................................................................................135
4.2.45.119 switchport voice vlan mode ...............................................................................................................135
4.2.45.120 switchport voice vlan security............................................................................................................136
4.2.46 interface vlan...................................................................................................................................................137
4.2.46.1 do..........................................................................................................................................................137
4.2.46.2 end........................................................................................................................................................138
4.2.46.3 exit.........................................................................................................................................................138
4.2.46.4 ip address..............................................................................................................................................139
4.2.46.5 ip address dhcp.....................................................................................................................................139
4.2.46.6 ip address dhcp fallback........................................................................................................................140
4.2.46.7 ip dhcp server........................................................................................................................................140
-7-
Command Guide of SGS-5220-24T2X
4.2.46.8 ip igmp snooping ...................................................................................................................................141
4.2.46.9 ip igmp snooping compatibility...............................................................................................................141
4.2.46.10 ip igmp snooping last-member-query-interval......................................................................................142
4.2.46.11 ip igmp snooping priority .....................................................................................................................143
4.2.46.12 ip igmp snooping querier address .......................................................................................................143
4.2.46.13 ip igmp snooping querier election........................................................................................................144
4.2.46.14 ip igmp snooping query-interval...........................................................................................................144
4.2.46.15 ip igmp snooping query-max-response-time........................................................................................145
4.2.46.16 ip igmp snooping robustness-variable.................................................................................................146
4.2.46.17 ip igmp snooping unsolicited-report-interval ........................................................................................146
4.2.46.18 ipv6 address........................................................................................................................................147
4.2.46.19 ipv6 mld snooping ...............................................................................................................................147
4.2.46.20 ipv6 mld snooping compatibility...........................................................................................................148
4.2.46.21 ipv6 mld snooping last-member-query-interval....................................................................................148
4.2.46.22 ipv6 mld snooping priority....................................................................................................................149
4.2.46.23 ipv6 mld snooping querier election......................................................................................................149
4.2.46.24 ipv6 mld snooping query-interval.........................................................................................................150
4.2.46.25 ipv6 mld snooping query-max-response-time......................................................................................151
4.2.46.26 ipv6 mld snooping robustness-variable ...............................................................................................151
4.2.46.27 ipv6 mld snooping unsolicited-report-interval ......................................................................................152
4.2.46.28 no........................................................................................................................................................152
4.2.47 ip arp inspection ..............................................................................................................................................153
4.2.48 ip arp inspection entry interface .......................................................................................................................153
4.2.49 ip arp inspection translate................................................................................................................................154
4.2.50 ip arp inspection translate interface.................................................................................................................155
4.2.51 ip arp inspection vlan.......................................................................................................................................155
4.2.52 ip dhcp excluded-address................................................................................................................................156
4.2.53 ip dhcp pool.....................................................................................................................................................157
4.2.53.1 broadcast...............................................................................................................................................157
4.2.53.2 client-identifier fqdn ...............................................................................................................................158
4.2.53.3 client-identifier mac-address..................................................................................................................158
4.2.53.4 client-name............................................................................................................................................159
4.2.53.5 default-router.........................................................................................................................................159
4.2.53.6 dns-server .............................................................................................................................................160
4.2.53.7 do..........................................................................................................................................................160
4.2.53.8 domain-name ........................................................................................................................................161
4.2.53.9 end........................................................................................................................................................161
4.2.53.10 exit.......................................................................................................................................................162
4.2.53.11 hardware-address ............................................................................................................................... 162
4.2.53.12 host .....................................................................................................................................................163
4.2.53.13 lease....................................................................................................................................................163
-8-
Command Guide of SGS-5220-24T2X
4.2.53.14 netbios-name-server ...........................................................................................................................164
4.2.53.15 netbios-node-type................................................................................................................................164
4.2.53.16 netbios-scope......................................................................................................................................165
4.2.53.17 network................................................................................................................................................165
4.2.53.18 nis-domain-name.................................................................................................................................166
4.2.53.19 nis-server.............................................................................................................................................166
4.2.53.20 no........................................................................................................................................................167
4.2.53.21 ntp-server............................................................................................................................................167
4.2.53.22 vendor .................................................................................................................................................168
4.2.54 ip dns proxy.....................................................................................................................................................168
4.2.55 ip helper-address.............................................................................................................................................169
4.2.56 ip http secure-redirect......................................................................................................................................169
4.2.57 ip http secure-server........................................................................................................................................170
4.2.58 ip igmp host-proxy...........................................................................................................................................170
4.2.59 ip igmp host-proxy leave-proxy........................................................................................................................171
4.2.60 ip igmp snooping .............................................................................................................................................171
4.2.61 ip igmp snooping vlan......................................................................................................................................172
4.2.62 ip igmp ssm-range...........................................................................................................................................173
4.2.63 ip igmp unknown-flooding................................................................................................................................173
4.2.64 ip name-server ................................................................................................................................................174
4.2.65 ip name-server dhcp........................................................................................................................................174
4.2.66 ip name-server dhcp interface vlan..................................................................................................................175
4.2.67 ip route ............................................................................................................................................................175
4.2.68 ip routing..........................................................................................................................................................176
4.2.69 ip source binding interface...............................................................................................................................176
4.2.70 ip ssh...............................................................................................................................................................177
4.2.71 ip verify source ................................................................................................................................................178
4.2.72 ip verify source translate..................................................................................................................................178
4.2.73 ipmc profile......................................................................................................................................................179
4.2.74 ipmc profile <word16> .....................................................................................................................................179
4.2.74.1 default range .........................................................................................................................................180
4.2.74.2 description.............................................................................................................................................180
4.2.74.3 do..........................................................................................................................................................181
4.2.74.4 end........................................................................................................................................................181
4.2.74.5 exit.........................................................................................................................................................182
4.2.74.6 no..........................................................................................................................................................182
4.2.74.7 range.....................................................................................................................................................183
4.2.75 ipv6 mld host-proxy .........................................................................................................................................183
4.2.76 ipv6 mld host-proxy leave-proxy......................................................................................................................184
4.2.77 ipv6 mld snooping............................................................................................................................................184
4.2.78 ipv6 mld snooping vlan....................................................................................................................................185
-9-
Command Guide of SGS-5220-24T2X
4.2.79 ipv6 mld ssm-range.........................................................................................................................................185
4.2.80 ipv6 mld unknown-flooding..............................................................................................................................186
4.2.81 ipv6 route.........................................................................................................................................................186
4.2.82 lacp system-priority..........................................................................................................................................187
4.2.83 line...................................................................................................................................................................188
4.2.83.1 do..........................................................................................................................................................188
4.2.83.2 editing....................................................................................................................................................189
4.2.83.3 end........................................................................................................................................................189
4.2.83.4 exec-banner ..........................................................................................................................................190
4.2.83.5 exec-timeout..........................................................................................................................................190
4.2.83.6 exec-timeout..........................................................................................................................................191
4.2.83.7 exit.........................................................................................................................................................191
4.2.83.8 history size ............................................................................................................................................192
4.2.83.9 length .................................................................................................................................................... 192
4.2.83.10 location................................................................................................................................................193
4.2.83.11 motd-banner........................................................................................................................................193
4.2.83.12 no........................................................................................................................................................194
4.2.83.13 privilege level.......................................................................................................................................194
4.2.83.14 width....................................................................................................................................................195
4.2.84 lldp holdtime ....................................................................................................................................................195
4.2.85 lldp med datum................................................................................................................................................196
4.2.86 lldp med fast....................................................................................................................................................196
4.2.87 lldp med location-tlv altitude ............................................................................................................................197
4.2.88 lldp med location-tlv elin-addr..........................................................................................................................197
4.2.89 lldp med location-tlv latitude ............................................................................................................................198
4.2.90 lldp med location-tlv longitude .........................................................................................................................199
4.2.91 lldp med media-vlan-policy..............................................................................................................................199
4.2.92 lldp reinit..........................................................................................................................................................200
4.2.93 lldp timer..........................................................................................................................................................201
4.2.94 lldp transmission-delay....................................................................................................................................201
4.2.95 logging host.....................................................................................................................................................202
4.2.96 logging level ....................................................................................................................................................202
4.2.97 logging on........................................................................................................................................................203
4.2.98 loop-protect .....................................................................................................................................................203
4.2.99 loop-protect shutdown-time .............................................................................................................................204
4.2.100 loop-protect transmit-time..............................................................................................................................204
4.2.101 mac address-table aging-time .......................................................................................................................205
4.2.102 mac address-table static................................................................................................................................205
4.2.103 monitor destination........................................................................................................................................206
4.2.104 monitor source...............................................................................................................................................206
4.2.105 mvr ................................................................................................................................................................207
-10
Command Guide of SGS-5220-24T2X
4.2.106 mvr name <mvr_name> channel...................................................................................................................207
4.2.107 mvr name <mvr_name> frame priority...........................................................................................................208
4.2.108 mvr name <mvr_name> frame tagged ..........................................................................................................209
4.2.109 mvr name <mvr_name> igmp-address..........................................................................................................209
4.2.110 mvr name <mvr_name> last-member-query-interval.....................................................................................210
4.2.111 mvr name <mvr_name> mode.......................................................................................................................210
4.2.112 mvr vlan <vlan_list>.......................................................................................................................................211
4.2.113 mvr vlan <vlan_list> channel..........................................................................................................................211
4.2.114 mvr vlan <vlan_list> frame priority .................................................................................................................212
4.2.115 mvr vlan <vlan_list> tagged...........................................................................................................................212
4.2.116 mvr vlan <vlan_list> igmp-address ................................................................................................................213
4.2.117 mvr vlan <vlan_list> last-member-query-interval ...........................................................................................213
4.2.118 mvr vlan <vlan_list> mode.............................................................................................................................214
4.2.119 mvr vlan <vlan_list> name.............................................................................................................................215
4.2.120 network-clock clk-source <clk-source> aneg-mode.......................................................................................215
4.2.121 no ..................................................................................................................................................................216
4.2.122 ntp .................................................................................................................................................................216
4.2.123 ntp server ......................................................................................................................................................217
4.2.124 port-security...................................................................................................................................................217
4.2.125 port-security aging.........................................................................................................................................218
4.2.126 port-security aging time .................................................................................................................................218
4.2.127 privilege.........................................................................................................................................................219
4.2.128 qos map cos-dscp .........................................................................................................................................219
4.2.129 qos map dscp-classify ...................................................................................................................................221
4.2.130 qos map dscp-cos .........................................................................................................................................222
4.2.131 qos map dscp-egress-translation...................................................................................................................223
4.2.132 qos map dscp-ingress-translation..................................................................................................................224
4.2.133 qos qce..........................................................................................................................................................225
4.2.134 qos qce update..............................................................................................................................................227
4.2.135 qos qce refresh ..............................................................................................................................................228
4.2.136 qos wred........................................................................................................................................................228
4.2.137 radius-server attribute 32...............................................................................................................................229
4.2.138 radius-server attribute 4.................................................................................................................................230
4.2.139 radius-server attribute 95...............................................................................................................................230
4.2.140 radius-server deadtime..................................................................................................................................231
4.2.141 radius-server host..........................................................................................................................................231
4.2.142 radius-server key...........................................................................................................................................232
4.2.143 radius-server retransmit.................................................................................................................................233
4.2.144 radius-server timeout.....................................................................................................................................233
4.2.145 rmon alarm ....................................................................................................................................................234
4.2.146 rmon event ....................................................................................................................................................235
1-
-1
Command Guide of SGS-5220-24T2X
4.2.147 sfp temperature-threshold .............................................................................................................................236
4.2.148 snmp-server ..................................................................................................................................................236
4.2.149 snmp-server access ......................................................................................................................................237
4.2.150 snmp-server community ................................................................................................................................237
4.2.151 snmp-server contact......................................................................................................................................238
4.2.152 snmp-server engine-id...................................................................................................................................239
4.2.153 snmp-server host...........................................................................................................................................239
4.2.153.1 do ........................................................................................................................................................240
4.2.153.2 end ......................................................................................................................................................240
4.2.153.3 exit.......................................................................................................................................................241
4.2.153.4 host .....................................................................................................................................................241
4.2.153.5 no ........................................................................................................................................................242
4.2.153.6 informs ................................................................................................................................................243
4.2.153.7 shutdown.............................................................................................................................................243
4.2.153.8 traps ....................................................................................................................................................244
4.2.153.9 version.................................................................................................................................................244
4.2.154 spanning-tree aggregation.............................................................................................................................245
4.2.154.1 do ........................................................................................................................................................246
4.2.154.2 end ......................................................................................................................................................246
4.2.154.3 exit.......................................................................................................................................................247
4.2.154.4 no ........................................................................................................................................................247
4.2.154.5 spanning-tree auto-edge .....................................................................................................................248
4.2.154.6 spanning-tree bpdu-guard ...................................................................................................................248
4.2.154.7 spanning-tree edge .............................................................................................................................249
4.2.154.8 spanning-tree link-type........................................................................................................................249
4.2.154.9 spanning-tree mst <instance> cost......................................................................................................250
4.2.154.10 spanning-tree mst <instance> port-priority ........................................................................................250
4.2.154.11 spanning-tree restricted-role..............................................................................................................251
4.2.154.12 spanning-tree restricted-tcn...............................................................................................................251
4.2.155 switchport vlan mapping................................................................................................................................252
4.2.156 tacacs-server deadtime .................................................................................................................................253
4.2.157 tacacs-server host.........................................................................................................................................253
4.2.158 transport email authentication .......................................................................................................................254
4.2.159 transport email from.......................................................................................................................................254
4.2.160 transport email smtp-server...........................................................................................................................255
4.2.161 transport email to...........................................................................................................................................256
4.2.162 upnp ..............................................................................................................................................................256
4.2.163 upnp advertising-duration..............................................................................................................................257
4.2.164 upnp ttl...........................................................................................................................................................257
4.2.165 username ......................................................................................................................................................258
4.2.166 vlan................................................................................................................................................................258
-12
Command Guide of SGS-5220-24T2X
4.2.166.1 do ........................................................................................................................................................259
4.2.166.2 end ......................................................................................................................................................259
4.2.166.3 exit.......................................................................................................................................................260
4.2.166.4 name ...................................................................................................................................................261
4.2.166.5 no ........................................................................................................................................................261
4.2.167 vlan ethertype s-custom-port.........................................................................................................................262
4.2.168 vlan protocol..................................................................................................................................................262
4.2.169 voice vlan ......................................................................................................................................................263
4.2.170 voice vlan aging-time.....................................................................................................................................263
4.2.171 voice vlan class .............................................................................................................................................264
4.2.172 voice vlan oui.................................................................................................................................................265
4.2.173 voice vlan vid.................................................................................................................................................265
4.2.174 web privilege group .......................................................................................................................................266
4.3 copy ...........................................................................................................................267
4.3.1 copy ...................................................................................................................................................................267
4.4 debug.........................................................................................................................267
4.4.1 debug ................................................................................................................................................................267
4.5 delete .........................................................................................................................268
4.5.1 delete.................................................................................................................................................................268
4.6 dir...............................................................................................................................269
4.6.1 dir ......................................................................................................................................................................269
4.7 disable .......................................................................................................................269
4.7.1 disable...............................................................................................................................................................269
4.8 do ...............................................................................................................................270
4.8.1 do ......................................................................................................................................................................270
4.9 dot1x..........................................................................................................................270
4.9.1 dot1x initialize....................................................................................................................................................270
4.10 enable ......................................................................................................................271
4.10.1 enable..............................................................................................................................................................271
4.11 exit............................................................................................................................271
4.11.1 exit...................................................................................................................................................................271
4.12 firmware...................................................................................................................272
4.12.1 firmware swap .................................................................................................................................................272
4.12.2 firmware upgrade.............................................................................................................................................272
4.13 ip...............................................................................................................................273
4.13.1 ip dhcp retry interface vlan ..............................................................................................................................273
-13
Command Guide of SGS-5220-24T2X
4.14 logout.......................................................................................................................274
4.14.1 logout...............................................................................................................................................................274
4.15 more.........................................................................................................................274
4.15.1 more................................................................................................................................................................274
4.16 no .............................................................................................................................275
4.16.1 no ....................................................................................................................................................................275
4.17 ping..........................................................................................................................275
4.17.1 ping ip..............................................................................................................................................................275
4.17.2 ping ipv6..........................................................................................................................................................276
4.18 reload.......................................................................................................................277
4.18.1 reload cold.......................................................................................................................................................277
4.18.2 reload defaults.................................................................................................................................................278
4.19 send .........................................................................................................................278
4.19.1 send.................................................................................................................................................................278
4.20 show.........................................................................................................................279
4.20.1 show aaa.........................................................................................................................................................279
4.20.2 show access management..............................................................................................................................280
4.20.3 show access-list ..............................................................................................................................................280
4.20.4 show access-list ..............................................................................................................................................282
4.20.5 show access-list ace-status.............................................................................................................................283
4.20.6 show aggregation............................................................................................................................................284
4.20.7 show aggregation mode ..................................................................................................................................285
4.20.8 show clock.......................................................................................................................................................285
4.20.9 show clock detail .............................................................................................................................................286
4.20.10 show dot1x statistics......................................................................................................................................287
4.20.11 show dot1x status..........................................................................................................................................288
4.20.12 show green-ethernet......................................................................................................................................289
4.20.13 show green-ethernet energy-detect...............................................................................................................289
4.20.14 show green-ethernet short-reach...................................................................................................................290
4.20.15 show history ..................................................................................................................................................290
4.20.16 show interface <port_type> <port_type_list> capabilities ..............................................................................291
4.20.17 show interface <port_type> <port_type_list> statistics..................................................................................292
4.20.18 show interface <port_type> <port_type_list> status ......................................................................................292
4.20.19 show interface <port_type> <port_list> switchport.........................................................................................293
4.20.20 show interface <port_type> <port_type_list> veriphy ....................................................................................294
4.20.21 show interface <port_type> <port_type_list> veriphy ....................................................................................294
4.20.22 show interface vlan........................................................................................................................................295
4.20.23 show ip arp....................................................................................................................................................296
-14
Command Guide of SGS-5220-24T2X
4.20.24 show ip arp inspection...................................................................................................................................296
4.20.25 show ip arp inspection...................................................................................................................................297
4.20.26 show ip arp inspection entry..........................................................................................................................298
4.20.27 show ip dhcp detailed statistics .....................................................................................................................298
4.20.28 show ip dhcp excluded-address ....................................................................................................................300
4.20.29 show ip dhcp pool..........................................................................................................................................300
4.20.30 show ip dhcp relay.........................................................................................................................................301
4.20.31 show ip dhcp server.......................................................................................................................................302
4.20.32 show ip dhcp server binding (GG).................................................................................................................302
4.20.33 show ip dhcp server declined-ip (GG) ...........................................................................................................303
4.20.34 show ip dhcp server statistics........................................................................................................................304
4.20.35 show ip dhcp snooping..................................................................................................................................305
4.20.36 show ip dhcp snooping table .........................................................................................................................306
4.20.37 show ip http server secure status..................................................................................................................306
4.20.38 show ip igmp snooping..................................................................................................................................307
4.20.39 show ip igmp snooping mrouter.....................................................................................................................307
4.20.40 show ip interface brief....................................................................................................................................308
4.20.41 show ip name-server.....................................................................................................................................309
4.20.42 show ip route.................................................................................................................................................309
4.20.43 show ip source binding..................................................................................................................................310
4.20.44 show ip ssh....................................................................................................................................................310
4.20.45 show ip statistics............................................................................................................................................311
4.20.46 show ip verify source.....................................................................................................................................313
4.20.47 show ipmc profile...........................................................................................................................................313
4.20.48 show ipmc range ...........................................................................................................................................314
4.20.49 show ipv6 interface........................................................................................................................................314
4.20.50 show ipv6 mld snooping ................................................................................................................................316
4.20.51 show ipv6 mld snooping mrouter...................................................................................................................316
4.20.52 show ipv6 neighbor........................................................................................................................................317
4.20.53 show ipv6 route .............................................................................................................................................318
4.20.54 show ipv6 statistics........................................................................................................................................318
4.20.55 show lacp ......................................................................................................................................................320
4.20.56 show line .......................................................................................................................................................321
4.20.57 show lldp med media-vlan-policy...................................................................................................................322
4.20.58 show lldp med remote-device........................................................................................................................ 322
4.20.59 show lldp neighbors.......................................................................................................................................323
4.20.60 show lldp statistics.........................................................................................................................................323
4.20.61 show logging .................................................................................................................................................324
4.20.62 show loop-protect..........................................................................................................................................325
4.20.63 show mac address-table................................................................................................................................325
4.20.64 show mep......................................................................................................................................................326
-15
Command Guide of SGS-5220-24T2X
4.20.65 show mvr.......................................................................................................................................................327
4.20.66 show network-clock.......................................................................................................................................328
4.20.67 show ntp status..............................................................................................................................................329
4.20.68 show platform phy .........................................................................................................................................330
4.20.69 show platform phy failover.............................................................................................................................330
4.20.70 show platform phy id......................................................................................................................................331
4.20.71 show platform phy status...............................................................................................................................331
4.20.72 show port-security port ..................................................................................................................................332
4.20.73 show port-security switch ..............................................................................................................................333
4.20.74 show privilege................................................................................................................................................333
4.20.75 show pvlan ....................................................................................................................................................334
4.20.76 show pvlan isolation ......................................................................................................................................334
4.20.77 show qos .......................................................................................................................................................335
4.20.78 show radius-server........................................................................................................................................337
4.20.79 show rmon alarm...........................................................................................................................................338
4.20.80 show rmon event...........................................................................................................................................339
4.20.81 show rmon history .........................................................................................................................................339
4.20.82 show rmon statistics......................................................................................................................................340
4.20.83 show running-config ......................................................................................................................................341
4.20.84 show snmp ....................................................................................................................................................342
4.20.85 show snmp access........................................................................................................................................344
4.20.86 show snmp community v3 .............................................................................................................................345
4.20.87 show snmp host.............................................................................................................................................346
4.20.88 show snmp mib context.................................................................................................................................347
4.20.89 show snmp mib ifmib ifIndex .........................................................................................................................349
4.20.90 show snmp security-to-group ........................................................................................................................350
4.20.91 show snmp user ............................................................................................................................................351
4.20.92 show snmp view............................................................................................................................................352
4.20.93 show spanning-tree.......................................................................................................................................353
4.20.94 show switchport forbidden.............................................................................................................................354
4.20.95 show tacacs-server........................................................................................................................................354
4.20.96 show terminal ................................................................................................................................................355
4.20.97 show upnp.....................................................................................................................................................356
4.20.98 show users ....................................................................................................................................................356
4.20.99 show version .................................................................................................................................................357
4.20.100 show vlan ....................................................................................................................................................358
4.20.101 show vlan ip-subnet.....................................................................................................................................359
4.20.102 show vlan mac.............................................................................................................................................359
4.20.103 show vlan protocol.......................................................................................................................................360
4.20.104 show voice vlan...........................................................................................................................................361
4.20.105 show web privilege group............................................................................................................................362
-16
Command Guide of SGS-5220-24T2X
4.21 terminal....................................................................................................................363
4.21.1 terminal editing................................................................................................................................................363
4.21.2 terminal exec-timeout......................................................................................................................................364
4.21.3 terminal history size.........................................................................................................................................364
4.21.4 terminal length.................................................................................................................................................365
4.21.5 terminal width ..................................................................................................................................................365
-17
Command Guide of SGS-5220-24T2X

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 4-1 CLI Command Modes
Switch (Interface <port#>)#
-18
To exit to the Global Config mode, enter exit.
Command Guide of SGS-5220-24T2X
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.
-19
Command Guide of SGS-5220-24T2X

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.
SGS-5220-24T2X Rear Panel
Fi
A terminal pr may be a good choice. The Hyper Terminal can be accessed from the Start menu.
ogram is required to make the software connection to the Managed Switch. Windows' Hyper Terminal program
gure 2-2: Front Panel of SGS-5220-24T2X
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
-20-
Command Guide of SGS-5220-24T2X
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.
-21
Command Guide of SGS-5220-24T2X

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:
-22
Command Guide of SGS-5220-24T2X
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
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
-23
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 of SGS-5220-24T2X
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.
-24
Command Guide of SGS-5220-24T2X

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 4-1 Managed Switch Telnet Login Screen
-25

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 of SGS-5220-24T2X
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
-26

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 of SGS-5220-24T2X

4.1.4 clear ip arp

Command:
clear ip arp
Default:
N/A
Usage Guide:
To clear the ARP cache.
Example:
To clear the Switch’s ARP cache.
Switch# clear ip arp

4.1.5 clear ip dhcp detailed statistics all

Command:
clear ip dhcp detailed statistics all
Default:
-27
Command Guide of SGS-5220-24T2X
N/A
Usage Guide:
To clear the DHCP detailed statistics for all.
Example:
To clear the Switch’s DHCP detailed statistics for all.
Switch# clear ip dhcp detailed statistics all

4.1.6 clear ip dhcp detailed statistics client

Command:
clear ip dhcp detailed statistics client
Default:
N/A
Usage Guide:
To clear the DHCP client statistics.
Example:
To clear the Switch’s DHCP client statistics.
Switch# clear ip dhcp detailed statistics client

4.1.7 clear ip dhcp detailed statistics helper

Command:
clear ip dhcp detailed statistics helper
Default:
N/A
Usage Guide:
To clear the DHCP normal L2 or L3 forward statistics.
Example:
To clear the Switch’s DHCP normal L2 or L3 forward statistics.
Switch# clear ip dhcp detailed statistics helper
-28
Command Guide of SGS-5220-24T2X

4.1.8 clear ip dhcp detailed statistics server

Command:
clear ip dhcp detailed statistics server
Default:
N/A
Usage Guide:
To clear the DHCP server statistics.
Example:
To clear the Switch’s DHCP server statistics.
Switch# clear ip dhcp detailed statistics server

4.1.9 clear ip dhcp detailed statistics snooping

Command:
clear ip dhcp detailed statistics snooping
Default:
N/A
Usage Guide:
To clear the DHCP snooping statistics.
Example:
To clear the Switch’s DHCP normal L2 or L3 forward statistics.
Switch# clear ip dhcp detailed statistics snooping

4.1.10 clear ip dhcp relay statistics

Command:
clear ip dhcp relay statistics
-29
Default:
N/A
Usage Guide:
To clear the DHCP relay statistics.
Example:
To clear the Switch’s DHCP relay statistics.
Switch# clear ip dhcp relay statistics

4.1.11 clear ip dhcp server binding

Command:
Command Guide of SGS-5220-24T2X
clear ip dhcp server binding <IP>
<IP> A.B.C.D
Default:
N/A
Usage Guide:
To clear the DHCP server binding cache.
Example:
To clear the Switch’s DHCP server(192.168.0.100) binding cache.
Switch# clear ip dhcp server binding 192.168.0.100

4.1.12 clear ip dhcp server binding automatic

Command:
clear ip dhcp server binding automatic
Default:
N/A
Usage Guide:
To clear the DHCP automatic bindings cache.
Example:
-30
Command Guide of SGS-5220-24T2X
To clear the Switch’s DHCP automatic bindings cache.
Switch# clear ip dhcp server binding automatic

4.1.13 clear ip dhcp server binding expired

Command:
clear ip dhcp server binding expired
Default:
N/A
Usage Guide:
To clear the DHCP expired bindings for free.
Example:
To clear the Switch’s DHCP expired bindings for free.
Switch# clear ip dhcp server binding expired

4.1.14 clear ip dhcp server binding manual

Command:
clear ip dhcp server binding manual
Default:
N/A
Usage Guide:
To clear the DHCP server manual binding cache.
Example:
To clear the Switch’s DHCP server manual binding cache.
Switch# clear ip dhcp server binding manual

4.1.15 clear ip igmp snooping statistics

Command:
-31
clear ip igmp snooping statistics
Default:
N/A
Usage Guide:
To clear the IGMP snooping statistics.
Example:
To clear the Switch’s IGMP snooping statistics.
Switch# clear ip igmp snooping statistics

4.1.16 clear ip igmp snooping vlan

Command Guide of SGS-5220-24T2X
Command:
clear ip igmp snooping vlan < vlan_list> statistics
<vlan_list> VLAN identifier(s): VID
Default:
N/A
Usage Guide:
To clear the IGMP snooping vlan < vlan_list> statistics.
Example:
To clear the Switch’s IGMP snooping vlan 1 statistics.
Switch# clear ip igmp snooping vlan 1 statistics

4.1.17 clear ip statistics icmp icmp-msg

Command:
clear ip statistics icmp icmp-msg <Type : 0~255>
<Type : 0~255> ICMP message type ranges from 0 to 255
Default:
N/A
Usage Guide:
-32
Command Guide of SGS-5220-24T2X
To clear the IPv4 ICMP traffic for designated message type.
Example:
To clear the Switch’s IPv4 ICMP traffic for designated message type 0.
Switch# clear ip statistics icmp icmp-msg 0

4.1.18 clear ip statistics icmp interface vlan

Command:
clear ip statistics icmp interface vlan <vlan_list>
<vlan_list> VLAN identifier(s): VID
Default:
N/A
Usage Guide:
To clear the IPv4 interface/ICMP statistics for specific VLAN.
Example:
To clear the Switch’s IP interface/ICMP statistics for specific VLAN 1.
Switch# clear ip statistics icmp interface vlan 1

4.1.19 clear ip statistics system icmp icmp-msg

Command:
clear ip statistics system icmp icmp-msg <Type : 0~255>
<Type : 0~255> ICMP message type ranges from 0 to 255
Default:
N/A
Usage Guide:
To clear the IPv4 ICMP statistics for specific ICMP message type.
Example:
To clear the Switch’s IPv4 ICMP statistics for specific ICMP message type 0.
Switch# clear ip statistics system icmp icmp-msg 0
-33
Command Guide of SGS-5220-24T2X

4.1.20 clear ip statistics system icmp interface vlan

Command:
clear ip statistics system icmp interface vlan
<vlan_list> VLAN identifier(s): VID
Default:
N/A
Usage Guide:
To clear the IPv4 ICMP interface statistics for specific VLAN.
Example:
To clear the Switch’s IPv4 ICMP interface statistics for specific VLAN 1.
Switch# clear ip statistics system icmp interface vlan 1

4.1.21 clear ipv6 mld snooping statistics

Command:
clear ipv6 mld snooping statistics
Default:
N/A
Usage Guide:
To clear the ipv6 mld snooping statistics.
Example:
To clear the Switch’s ipv6 mld snooping statistics.
Switch# clear ipv6 mld snooping statistics

4.1.22 clear ipv6 mld snooping vlan

Command:
clear ipv6 mld snooping vlan <vlan_list> statistics
<vlan_list> VLAN identifier(s): VID
-34
Default:
N/A
Usage Guide:
To clear the ipv6 mld snooping statistics for specific VLAN.
Example:
To clear the Switch’s ipv6 mld snooping statistics for specific VLAN 1.
Switch# clear ipv6 mld snooping vlan 1 statistics

4.1.23 clear ipv6 neighbors

Command:
clear ipv6 neighbors
Command Guide of SGS-5220-24T2X
Default:
N/A
Usage Guide:
To clear the ipv6 neighbors.
Example:
To clear the Switch’s ipv6 neighbors.
Switch# clear ipv6 neighbors

4.1.24 clear ipv6 statistics icmp icmp-msg

Command:
clear ipv6 statistics icmp icmp-msg <Type : 0~255>
<Type : 0~255> ICMP message type ranges from 0 to 255
Default:
N/A
Usage Guide:
To clear the IPv6 ICMP traffic for designated message type.
-35
Command Guide of SGS-5220-24T2X
Example:
To clear the Switch’s IPv6 ICMP traffic for designated message type 0.
Switch# clear ipv6 statistics icmp icmp-msg 0

4.1.25 clear ipv6 statistics icmp interface vlan

Command:
clear ipv6 statistics icmp interface vlan <vlan_list>
<vlan_list> VLAN identifier(s): VID
Default:
N/A
Usage Guide:
To clear the IPv6 interface/ICMP statistics for specific VLAN.
Example:
To clear the Switch’s IPv6 interface/ICMP statistics for specific VLAN 1.
Switch# clear ipv6 statistics icmp interface vlan 1

4.1.26 clear ipv6 statistics system icmp icmp-msg

Command:
clear ipv6 statistics system icmp icmp-msg <Type : 0~255>
<Type : 0~255> ICMP message type ranges from 0 to 255
Default:
N/A
Usage Guide:
To clear the IPv6 ICMP statistics for specific ICMP message type.
Example:
To clear the Switch’s IPv6 ICMP statistics for specific ICMP message type 0.
Switch# clear ipv6 statistics system icmp icmp-msg 0
-36
Command Guide of SGS-5220-24T2X

4.1.27 clear ipv6 statistics system icmp interface vlan

Command:
clear ipv6 statistics system icmp interface vlan
<vlan_list> VLAN identifier(s): VID
Default:
N/A
Usage Guide:
To clear the IPv6 ICMP interface statistics for specific VLAN.
Example:
To clear the Switch’s IPv6 ICMP interface statistics for specific VLAN 1.
Switch# clear ipv6 statistics system icmp interface vlan 1

4.1.28 clear lacp statistics

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

4.1.29 clear lldp statistics

Command:
clear lldp statistics
Default:
-37
N/A
Usage Guide:
To clear the lldp statistics.
Example:
To clear the Switch’s lldp statistics.
Switch# clear lldp statistics

4.1.30 clear logging error info

Command:
clear logging error info
Command Guide of SGS-5220-24T2X
Default:
N/A
Usage Guide:
To clear the logging error info.
Example:
To clear the Switch’s logging error info.
Switch# clear logging error info

4.1.31 clear logging error warning

Command:
clear logging error warning
Default:
N/A
Usage Guide:
To clear the logging error warning.
Example:
To clear the Switch’s logging error warning.
Switch# clear logging error warning
-38

4.1.32 clear logging info error

Command:
clear logging info error
Default:
N/A
Usage Guide:
To clear the logging info error.
Example:
To clear the Switch’s logging info error.
Switch# clear logging info error
Command Guide of SGS-5220-24T2X

4.1.33 clear logging info warning

Command:
clear logging info warning
Default:
N/A
Usage Guide:
To clear the logging info warning.
Example:
To clear the Switch’s logging info warning.
Switch# clear logging info warning

4.1.34 clear logging warning error

Command:
clear logging warning error
Default:
N/A
-39
Usage Guide:
To clear the logging warning error.
Example:
To clear the Switch’s logging warning error.
Switch# clear logging warning error

4.1.35 clear logging warning info

Command:
clear logging warning info
Command Guide of SGS-5220-24T2X
Default:
N/A
Usage Guide:
To clear the logging warning info.
Example:
To clear the Switch’s logging warning info.
Switch# clear logging warning info

4.1.36 clear mac address-table

Command:
clear mac address-table
Default:
N/A
Usage Guide:
To clear the mac address-table.
Example:
To clear the Switch’s mac address-table.
Switch# clear mac address-table
-40

4.1.37 clear mvr name

Command:
clear mvr name <MvrName : word16>
<MvrName : word16> MVR multicast VLAN name
Default:
N/A
Usage Guide:
To clear the mvr name profiles.

4.1.38 clear mvr statistics

Command Guide of SGS-5220-24T2X
Command:
clear mvr statistics
Default:
N/A
Usage Guide:
To clear the mvr statistics.
Example:
To clear the Switch’s mvr statistics.
Switch# clear mvr statistics

4.1.39 clear mvr vlan

Command:
clear mvr vlan <vlan_list> statistics
<vlan_list> MVR multicast VLAN list
Default:
N/A
Usage Guide:
To clear the mvr vlan statistics for specific VLAN.
Example:
To clear the Switch’s mvr vlan statistics for specific VLAN 1.
-41
Switch# clear mvr vlan 1 statistics

4.1.40 clear network-clock clk-source

Command:
clear network-clock clk-source <clk-source : 1-2>
<clk-source : 1-2> Clock source number
Default:
N/A
Usage Guide:
Command Guide of SGS-5220-24T2X
To clear the ERPS WTR timer for a specific profile.
Example:
To clear the Switch’s ERPS WTR timer for a specific profile 1.
Switch# clear network-clock clk-source 1

4.1.41 clear spanning-tree detected-protocols interface *

Command:
clear spanning-tree detected-protocols interface *
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for all.
Example:
To clear the Switch’s spanning-tree detected-protocols for all.
Switch# clear spanning-tree detected-protocols interface *
-42
Command Guide of SGS-5220-24T2X

4.1.42 clear spanning-tree detected-protocols interface *

Command:
clear spanning-tree detected-protocols interface *
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for all.
Example:
To clear the Switch’s spanning-tree detected-protocols for all.
Switch# clear spanning-tree detected-protocols interface *

4.1.43 clear spanning-tree detected-protocols interface GigabitEthernet

Command:
clear spanning-tree detected-protocols interface GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for specific GigabitEthernet port.
Example:
To clear the Switch’s spanning-tree detected-protocols for specific GigabitEthernet 1/1.
Switch# clear spanning-tree detected-protocols interface GigabitEthernet 1/1
-43
Command Guide of SGS-5220-24T2X

4.1.44 clear spanning-tree detected-protocols interface 10GigabitEthernet

Command:
clear spanning-tree detected-protocols interface 10GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for specific 10GigabitEthernet port.
Example:
To clear the Switch’s spanning-tree detected-protocols for specific 10GigabitEthernet 1/1.
Switch# clear spanning-tree detected-protocols interface 10GigabitEthernet 1/1

4.1.45 clear spanning-tree statistics interface *

Command:
clear spanning-tree statistics interface *
Default:
N/A
Usage Guide:
To clear the spanning-tree statistics for all.
Example:
To clear the Switch’s spanning-tree statistics for all.
Switch# clear spanning-tree statistics interface *

4.1.46 clear spanning-tree statistics interface GigabitEthernet

Command:
clear spanning-tree statistics interface GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
-44
Command Guide of SGS-5220-24T2X
Default:
N/A
Usage Guide:
To clear the spanning-tree statistics for specific GigabitEthernet port.
Example:
To clear the Switch’s spanning-tree statistics for specific GigabitEthernet 1/1.
Switch# clear spanning-tree statistics interface GigabitEthernet 1/1

4.1.47 clear spanning-tree statistics interface 10GigabitEthernet

Command:
clear spanning-tree statistics interface 10GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the spanning-tree statistics for specific 10GigabitEthernet port.
Example:
To clear the Switch’s spanning-tree statistics for specific 10GigabitEthernet 1/1.
Switch# clear spanning-tree statistics interface 10GigabitEthernet 1/1

4.1.48 clear statistics *

Command:
clear statistics *
Default:
N/A
Usage Guide:
To clear the statistics for all.
Example:
To clear the Switch’s statistics for all.
-45
Switch# clear statistics *

4.1.49 clear statistics GigabitEthernet

Command:
clear statistics GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
Command Guide of SGS-5220-24T2X
To clear the statistics for specific GigabitEthernet port.
Example:
To clear the Switch’s statistics for specific GigabitEthernet 1/1.
Switch# clear statistics GigabitEthernet 1/1

4.1.50 clear statistics 10GigabitEthernet

Command:
clear statistics 10GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the statistics for specific 10GigabitEthernet port.
Example:
To clear the Switch’s statistics for specific 10GigabitEthernet 1/1.
Switch# clear statistics 10GigabitEthernet 1/1
-46
Command Guide of SGS-5220-24T2X

4.2 configure terminal

4.2.1 aaa authentication login console local

Command:
aaa authentication login console local
Default:
console : local
Usage Guide:
To authenticate the local account via console only.
Example:
To authenticate the local account via console.
Switch# configure terminal Switch (config)# aaa authentication login console local

4.2.2 aaa authentication login console radius

Command:
aaa authentication login console radius
Default:
console : local
Usage Guide:
To authenticate the radius account via console only.
Example:
To authenticate the local and radius account via console.
Switch# configure terminal Switch (config)# aaa authentication login console local radius

4.2.3 aaa authentication login console tacacs

Command:
aaa authentication login console tacacs
-47
Default:
console : local
Usage Guide:
To authenticate the tacacs account via console only.
Example:
To authenticate the local and radius and tacacs account via console.
Switch# configure terminal Switch (config)# aaa authentication login console local radius tacacs

4.2.4 aaa authentication login http local

Command Guide of SGS-5220-24T2X
Command:
aaa authentication login http local
Default:
http : local
Usage Guide:
To authenticate the local account via http only.
Example:
To authenticate the local account via http.
Switch# configure terminal Switch (config)# aaa authentication login http local

4.2.5 aaa authentication login http radius

Command:
aaa authentication login http radius
Default:
http : local
Usage Guide:
To authenticate the radius account via http only.
Example:
-48
To authenticate the local and radius account via http.
Switch# configure terminal Switch (config)# aaa authentication login http local radius

4.2.6 aaa authentication login http tacacs

Command:
aaa authentication login http tacacs
Default:
http : local
Command Guide of SGS-5220-24T2X
Usage Guide:
To authenticate the tacacs account via http only.
Example:
To authenticate the local and radius and tacacs account via http.
Switch# configure terminal Switch (config)# aaa authentication login http local radius tacacs

4.2.7 aaa authentication login ssh local

Command:
aaa authentication login ssh local
Default:
ssh : local
Usage Guide:
To authenticate the local account via ssh only.
Example:
To authenticate the local account via ssh.
Switch# configure terminal Switch (config)# aaa authentication login ssh local
-49

4.2.8 aaa authentication login ssh radius

Command:
aaa authentication login ssh radius
Default:
ssh : local
Usage Guide:
To authenticate the radius account via ssh only.
Example:
To authenticate the local and radius account via ssh.
Switch# configure terminal Switch (config)# aaa authentication login ssh local radius
Command Guide of SGS-5220-24T2X

4.2.9 aaa authentication login ssh tacacs

Command:
aaa authentication login ssh tacacs
Default:
ssh : local
Usage Guide:
To authenticate the tacacs account via ssh only.
Example:
To authenticate the local and radius and tacacs account via console.
Switch# configure terminal Switch (config)# aaa authentication login ssh local radius tacacs

4.2.10 aaa authentication login telnet local

Command:
aaa authentication login telnet local
-50
Command Guide of SGS-5220-24T2X
Default:
telnet : local
Usage Guide:
To authenticate the local account via telnet only.
Example:
To authenticate the local account via telnet.
Switch# configure terminal Switch (config)# aaa authentication login telnet local

4.2.11 aaa authentication login telnet radius

Command:
aaa authentication login telnet radius
Default:
telnet : local
Usage Guide:
To authenticate the radius account via telnet only.
Example:
To authenticate the local and radius account via telnet.
Switch# configure terminal Switch (config)# aaa authentication login telnet local radius

4.2.12 aaa authentication login telnet tacacs

Command:
aaa authentication login telnet tacacs
Default:
telnet : local
Usage Guide:
To authenticate the tacacs account via telnet only.
Example:
To authenticate the local and radius and tacacs account via telnet.
-51
Switch# configure terminal Switch (config)# aaa authentication login telnet local radius tacacs

4.2.13 access management

Command:
access management <AccessId : 1-16> <AccessVid : 1-4095> <AddrRangeStart : ipv4_addr | ipv6_addr> all | snmp | telnet | to | Web
<AccessId : 1-16> ID of access management entry
<AccessVid : 1-4095> The VLAN ID for the access management entry <AddrRangeStart : ipv4_addr> Start IPv4 address
<AddrRangeStart : ipv6_addr> Start IPv6 address
Command Guide of SGS-5220-24T2X
all All services snmp SNMP service telnet TELNET/SSH service to End address of the range web Web service
Default:
access management : disable
Usage Guide:
To enable the access management profile to allow SNMP / Telnet / HTTP services.
Example:
To create a Profile 1 enabling all services for VLAN 1 (IPv6 address 2001::7788) .
Switch# configure terminal Switch (config)# access management 1 1 2001::7788 all

4.2.14 access-list ace

Command:
access-list ace <AceId : 1-512> action {deny, permit} | dmac-type {any, broadcast, multicast, unicast} | frametype {any, arp, etype, ipv4, ipv4-icmp, ipv4-tcp, ipv4-udp, ipv6, ipv6-icmp, ipv6-tcp, ipv6-udp} | ingress {any, interface 10GigabitEthernet |
-52
Command Guide of SGS-5220-24T2X
GigabitEthernet <PORT_ID>} | logging {disable, next, policy, rate-limiter, shutdown, tag-priority, vid} | next {<AceId : 1-512>, last}| policy <PolicyId : 0-255> | rate-limiter {<RateLimiterId : 1-16>, disable} | redirect {disable, interface 10GigabitEthernet | GigabitEthernet <PORT_ID>} | tag-priority {0-1, 0-3, 2-3, 4-5, 4-7, 6-7, <TagPriority : 0-7>, any} | vid {<Vid : 1-4095>, any}
<AceId : 1-512> ACE ID
action Access list action dmac-type The type of destination MAC address frametype Frame type ingress Ingress logging Logging frame information. Note: The logging feature only
works when the packet length is less than 1518 (without VLAN tags) and the System Log memory size and logging rate
are limited. next Insert the current ACE before the next ACE ID policy Policy rate-limiter Rate limiter redirect Redirect frame to specific port shutdown Shutdown incoming p ort. The shutdown feature only works
when the packet length is less than 1518 (without VLAN tags).
tag-priority Tag priority vid VID field
Default:
N/A
Usage Guide:
To create and set up a profile for the access list. Example:
To set a Profile 1 up (action: permit, dmac-type: unicast, frametype: ipv4-icmp, ingress: any, logging: disable, policy:
1, rate-limiter: 1, tag-priority: 1. vid: 1).
Switch# configure terminal Switch (config)# access-list ace 1 action permit dmac-type unicast frametype
ipv4-icmp ingress any logging disable policy 1 rate-limiter 1 tag-priority 1 vid 1
-53-

4.2.15 access-list ace update

Command:
access-list ace update <AceId : 1-512> action {deny, permit} | dmac-type {any, broadcast, multicast, unicast} | frametype {any, arp, etype, ipv4, ipv4-icmp, ipv4-tcp, ipv4-udp, ipv6, ipv6-icmp, ipv6-tcp, ipv6-udp} | ingress {any, interface 10GigabitEthernet | GigabitEthernet <PORT_ID>} | logging {disable, next, policy, rate-limiter, shutdown, tag-priority, vid} | next {<AceId : 1-512>, last}| policy <PolicyId : 0-255> | rate-limiter {<RateLimiterId : 1-16>, disable} | redirect {disab le, interface 10GigabitEthernet | GigabitEthernet <PORT_ID>} | tag-priority {0-1, 0-3, 2-3, 4-5, 4-7, 6-7, <TagPriority : 0-7>, any} | vid {<Vid : 1-4095>, any}
<AceId : 1-512> ACE ID
action Access list action dmac-type The type of destination MAC address
Command Guide of SGS-5220-24T2X
frametype Frame type ingress Ingress logging Logging frame information. Note: The logging feature only works when the packet length is less than 1518 (without
VLAN tags) and the System Log memory size and logging rate are limited.
next Insert the current ACE before the next ACE ID policy Policy rate-limiter Rate limiter redirect Redirect frame to specific port shutdown Shutdown incoming p ort. The shutdown feature only works
when the packet length is less than 1518 (without VLAN tags).
tag-priority Tag priority vid VID field
Default:
N/A
Usage Guide:
To update the specific profile for the access list. Example:
Original:
Profile 1 (action: permit, dmac-type: unicast, frametype: ipv4-icmp, ingress: any, logging: disable, policy: 1,
rate-limiter: 1, tag-priority: 1. vid: 1).
Updated:
-54
Command Guide of SGS-5220-24T2X
Profile 1 (action: deny, dmac-type: any, frametype: ipv4-icmp, ingress: any, logging: disable, policy: 1, rate-limiter:
1, tag-priority: 1. vid: 1).
Switch# configure terminal Switch (config)# access-list ace update 1 action deny dmac-type any

4.2.16 access-list rate-limiter

Command:
access-list rate-limiter <RateLimiterList : 1~16> pps <PpsRate : 0-131071>
<RateLimiterList : 1~16> Rate limiter ID <PpsRate : 0-131071> Rate value
Default:
0
Usage Guide:
To set pps rate for specific rate-limiter ID. Example:
To set pps rate(10000 pps) for specific rate-limiter ID 1.
Switch# configure terminal Switch (config)# access-list rate-limiter 1 pps 10000

4.2.17 access-list rate-limiter pps

Command:
access-list rate-limiter pps <PpsRate : 0-131071>
<PpsRate : 0-131071> Rate value
Default:
0
Usage Guide:
To set pps rate for all rate-limiter ID. Example:
To set pps rate(10000 pps) for all rate-limiter ID.
-55
Switch# configure terminal Switch (config)# access-list rate-limiter pps 100

4.2.18 aggregation mode

Command:
aggregation mode dmac | ip | port | smac
dmac Destination MAC affects the distribution ip IP address affects the distribution port IP port affects the distribution smac Source MAC affects the distribution
Command Guide of SGS-5220-24T2X
Default:
SMAC : Enabled
DMAC : Disabled
IP : Enabled
Port : Enabled
Usage Guide:
To configure static aggregation mode type. Example:
To configure static aggrega tion mode ty pe with Destination MAC affects the distribution and Source MAC affects the
distribution only.
Switch# configure terminal Switch (config)# access-list rate-limiter pps 100

4.2.19 aggregation mode

Command:
aggregation mode dmac | ip | port | smac
dmac Destination MAC affects the distribution ip IP address affects the distribution port IP port affects the distribution smac Source MAC affects the distribution
Default:
-56
Command Guide of SGS-5220-24T2X
SMAC : Enabled
DMAC : Disabled
IP : Enabled
Port : Enabled
Usage Guide:
To configure static aggregation mode type. Example:
To configure static aggrega tion mode ty pe with Destination MAC affects the distribution and Source MAC affects the
distribution only.
Switch# configure terminal Switch (config)# access-list rate-limiter pps 100

4.2.20 banner

Command:
banner <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
Default:
N/A
Usage Guide:
To configure banner-text. Example:
To configure banner-text with word “ddddd”.
Switch# configure terminal Switch (config)# banner 1
Enter TEXT message. End with the character '1'. ddddd 1
Telnet 192.168.0.100
ddddd
Username:
-57

4.2.21 banner exec

Command:
banner login <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
Default:
N/A
Usage Guide:
To configure login banner-text. Example:
To configure login banner-text with word “wwwwwwwwww”.
Switch# configure terminal
Command Guide of SGS-5220-24T2X
Switch (config)# banner exec 1
Enter TEXT message. End with the character '1'. gggggg 1
Telnet 192.168.0.100:
Username: admin Password:
gggggg
#

4.2.22 banner login

Command:
banner login <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
Default:
N/A
Usage Guide:
To configure login banner-text.
-58
Example:
To configure login banner-text with word “wwwwwwwwww”.
Switch# configure terminal Switch (config)# banner login 1
Enter TEXT message. End with the character '1'. wwwwwwwwww 1
Console:
Press ENTER to get started
wwwwwwwwww
Command Guide of SGS-5220-24T2X
Username: admin Password:

4.2.23 banner motd

Command:
banner motd <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
Default:
N/A
Usage Guide:
To configure motd banner-tex t . Example:
To configure motd banner-tex t with word “ffffff”.
Switch# configure terminal Switch (config)# banner motd 1
Enter TEXT message. End with the character '1'. ffffff 1
Console:
-59
ffffff
Press ENTER to get started
Username:

4.2.24 clock summer-time

Command:
clock summer-time <WORD> date <Monthstart: 1-12> <Daystart: 1-31> <Yearstart: 1-12> <Timestart: hh:mm > <Monthend: 1-12> <Dayend: 1-31> <Yearend: 1-12>
Command Guide of SGS-5220-24T2X
<Timeend: hh:mm > <Offset minutes: 1-1440 >
Default:
N/A
Usage Guide:
To set daylight saving. Example:
To set daylight saving (Started time: Feb, 3. 2013 8:8AM, End time: Dec, 31. 2013 8:8AM, Offset time: 60 minutes).
Switch# configure terminal Switch (config)# clock summer-time 1 date 2 3 2013 8:8 12 31 2013 8:8 60

4.2.25 clock timezone

Command:
clock timezone <WORD> <timezone: -23-23>
<WORD> name of time zone
Default:
0
Usage Guide:
To set timezone.
-60
Example:
To set timezone (GMT -15) with profile 1.
Switch# configure terminal Switch (config)# clock timezone 1 -15

4.2.26 default access-list rate-limiter

Command:
default access-list rate-limiter <RateLimiterId : 1-16>
<RateLimiterId : 1-16> Rate limiter ID
Command Guide of SGS-5220-24T2X
Default:
0
Usage Guide:
To default the Rate limiter. Example:
To default the Rate limiter ID 1.
Switch# configure terminal Switch (config)# default access-list rate-limiter 1

4.2.27 dot1x authentication timer inactivity

Command:
dot1x authentication timer inactivity <10-1000000>
Default:
Aging period: 300
Usage Guide:
To set the Aging period for Network A ccess Server. Example:
To set the Aging period (147 seconds).
Switch# configure terminal
-61
Command Guide of SGS-5220-24T2X
Switch (config)# dot1x authentication timer inactivity 147

4.2.28 dot1x authentication timer re-authenticate

Command:
dot1x authentication timer re-authenticate <1-3600>
Default:
Re-authenticated Period: 3600
Usage Guide:
To set the Re-authenticated Period for Network Access Server. Example:
To set the Re-authenticated Period (777 seconds).
Switch# configure terminal Switch (config)# dot1x authentication timer re-authenticate 777

4.2.29 dot1x feature

Command:
dot1x feature guest-vlan | radius-qos | radius-vlan
Default:
Disable
Usage Guide:
To enable the guest-vlan, radius-qos, radius-vlan for Network Access Server
Example:
To enable the guest-vlan, radius-qos, radius-vlan for Network Access Server.
Switch# configure terminal Switch (config)# dot1x authentication timer re-authenticate 777
-62-

4.2.30 dot1x guest-vlan

Command:
dot1x guest-vlan <1-4095>
<1-4095> Guest VLAN ID used when entering the Guest VLAN.
Default:
1
Usage Guide:
To set the value of guest-vlan for Network Access Server Example:
To set the value of guest-vlan(2) for Network Access Server
Switch# configure terminal
Command Guide of SGS-5220-24T2X
Switch (config)# dot1x guest-vlan 2

4.2.31 dot1x guest-vlan supplicant

Command:
dot1x guest-vlan supplicant
supplicant The switch remembers if an EAPOL frame has been received on the port for the life-time of the port. Once the
switch considers whether to enter the Guest VLAN, it will first check if this option is enabled or disabled.
Default:
Disable
Usage Guide:
To allow all frames automatically entering guest-vlan for Network Access Server Example:
To allow all frames automatically entering guest-vlan for Network Access Server
Switch# configure terminal Switch (config)# dot1x guest-vlan supplicant
-63
Command Guide of SGS-5220-24T2X

4.2.32 dot1x max-reauth-req

Command:
dot1x max-reauth-req <1-255>
Default:
2
Usage Guide:
To define 802.1X re-authentication frequency for Network Access Server Example:
To define 802.1X re-authentication frequency with 78 times for Network Access Server
Switch# configure terminal Switch (config)# dot1x max-reauth-req 78

4.2.33 dot1x system-auth-control

Command:
dot1x system-auth-control
Default:
Disable
Usage Guide:
To enable 802.1X service for Network Access Server Example:
To enable 802.1X service for Network Access Server
Switch# configure terminal Switch (config)# dot1x system-auth-control

4.2.34 dot1x timeout quiet-period

Command:
dot1x timeout quiet-period <10-1000000>
quiet-period Time in seconds before a MAC-address that failed authentication gets a new authentication chance. Default:
-64
10
Usage Guide:
To configure 802.1X hold time for Network Access Server Example:
To configure 802.1X hold time(12 seconds) for Network Access Server
Switch# configure terminal Switch (config)# dot1x timeout quiet-period 12

4.2.35 dot1x timeout tx-period

Command:
dot1x timeout tx-period <1-65535>
Command Guide of SGS-5220-24T2X
tx-period The time between EAPOL retransmissions.
Default:
30
Usage Guide:
To configure 802.1X EPOAL timeout for Network Access Server Example:
To configure 802.1X EPOAL timeout (45 seconds) for Network Access Server
Switch# configure terminal Switch (config)# dot1x timeout tx-period 45

4.2.36 enable password

Command:
enable password <WORD>
<WORD> The UNENCRYPTED (cleartext) password.
Default:
Disable
Usage Guide:
To configure enable password for user
-65
Example:
To configure enable password(admin) for user
Switch# configure terminal Switch (config)# enable password admin
Press ENTER to get started
Username: Password:
> enable Password: ***** #
Command Guide of SGS-5220-24T2X

4.2.37 enable password level

Command:
enable password level <1-15> <WORD>
<1-15> Level number
<WORD> The UNENCRYPTED (cleartext) password.
Default:
Disable
Usage Guide:
To configure enable password and specific level for user Example:
To configure enable password(admin) and specific level(15) for user
Switch# configure terminal Switch (config)# enable password level 15 admin
Press ENTER to get started
Username: Password:
> enable
-66
Password: admin #

4.2.38 enable secret

Command:
enable secret 0 | 5 level <1-15> <WORD>
0 Specifies an UNENCRYPTED password will follow 5 Specifies an ENCRYPTED secret will follow <1-15> Level number
<WORD> The UNENCRYPTED (cleartext) / ENCRYPTED(MD5) password.
Command Guide of SGS-5220-24T2X
Default:
Disable
Usage Guide:
To configure enable password to encrypted secret in the system configurations and specific level for user Example:
To configure enable password(cisco) to encrypted secret in the system configurations and specific level(15) for user
Switch# configure terminal Switch (config)# enable secret 0 level 15 cisco
# show running-config Building configuration... enable secret 5 level 15 FC89368B9513DE0760290BCE 9A1DA90A
……………
Press ENTER to get started
Username: Password:
> enable Password: cisco #
-67

4.2.39 end

Command:
end
Default:
N/A
Usage Guide:
To level the configure terminal mode Example:
To level the configure terminal mode
Switch# configure terminal Switch (config)# end
Command Guide of SGS-5220-24T2X
#

4.2.40 exit

Command:
exit
Default:
N/A
Usage Guide:
To exit configure terminal mode. Example:
To exit configure terminal mode.
Switch# configure terminal Switch (config)# exit #
-68-

4.2.41 green-ethernet led interval

Command:
green-ethernet led interval <0~24> intensity <0-100>
<0~24> Interval from 00.00 to 24.00 (00 is used to start at midnight, while 24 is used to stop at midnight). intensity LEDs intensity. <0-100> Intensity from 0% (LEDs OFF) to 100%
Default:
N/A
Usage Guide:
To configure LED Power reduction for interval time. Example:
Command Guide of SGS-5220-24T2X
To configure LED Power reduction as tabled below.
Switch# configure terminal Switch (config)# green-ethernet led interval 8-13 intensity 80

4.2.42 green-ethernet led on-event

Command:
green-ethernet led on-event error | link-change <0-65535>
error Set LEDs intensity to 100% if an error occurs. link-change Specifies how long to turn LEDs intensity into 100%, when a link changes state. <0-65535> Number of seconds to set LEDs intensity at 100% at link change.
Default:
N/A
Usage Guide:
To configure LED Power on-event to trigger LED light Example:
To configure LED Power on-event as tabled below:
-69
Switch# configure terminal Switch (config)# green-ethernet led on-event error link-change 55

4.2.43 help

Command:
help
Command Guide of SGS-5220-24T2X
Default:
N/A
Usage Guide:
To explain how to use commands.
Example:
To explain how to use commands.
Switch# configure terminal Switch (config)# help Help may be requested at any point in a command by entering a question mark '?'. If nothing matches, the help list will be empty and you must back up until entering a '?' showing the available options. Two styles of help are provided:
1. Full help is available when you are ready to enter a command argument (e.g. 'show ?') and describes each possible argument.
2. Partial help is provided when an abbreviated argument is entered and you want to know what arguments match the input (e.g. 'show pr?'.)
-70-

4.2.44 hostname

Command:
hostname < WORD >
< WORD > This system's network name
Default:
N/A
Usage Guide:
To configure switch’s hostname. Example:
To configure switch’s hostname with “planetbestswitch”
Switch# configure terminal
Command Guide of SGS-5220-24T2X
Switch (config)# hostname planetbestswitch
planetbestswitch(config)#

4.2.45 interface * | 10GigabitEthernet | GigabitEthernet

Command:
interface * | 10GigabitEthernet <port_type_list> | GigabitEthernet <port_type_list>
* A ll switches or All ports GigabitEthernet 1 Gigabit Ethernet Port 10GigabitEthernet 10 Gigabit Ethernet Port
Default:
N/A
Usage Guide:
To enter the interface mode. Example:
To enter the interface 10GigabitEthernet 1/2
Switch# configure terminal Switch (config)# interface 10GigabitEthernet 1/2 Switch (config-if) #
-71
4.2.45.1 access-list action permit
Command:
access-list action permit
action Access list action
Default:
Permit
Usage Guide:
To configure Permit for the ACL action. Example:
To configure Permit ACL action for the GigabitEthernet X/X.
Switch# configure terminal
Command Guide of SGS-5220-24T2X
Switch (config)# interface GigabitEthernet X/X Switch (config-if) # access-list action permit
4.2.45.2 access-list action deny
Command:
access-list action deny
action Access list action
Default:
Deny
Usage Guide:
To configure Deny for the A CL action. Example:
To configure Deny ACL action for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # access-list action deny
-72-
Command Guide of SGS-5220-24T2X
4.2.45.3
4.2.45.4 ++access-list logging
Command:
access-list logging
logging Logging frame information. Note: The logging feature only works when the packet length is less than
1518 (without VLAN tags) and the System Log memory size and logging rate is limited.
Default:
Disable
Usage Guide:
To enable Logging function for the ACL. Example:
To enable ACL Logging function for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # access-list logging
4.2.45.5 access-list policy
Command:
access-list policy <PolicyId : 0-255>
policy Policy
<PolicyId : 0-255> Policy ID
Default:
Policy ID: 0
Usage Guide:
To configure Policy ID for the ACL. Example:
To configure ACL Policy ID 1 for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X
-73
Command Guide of SGS-5220-24T2X
Switch (config-if) # access-list policy 1
4.2.45.6 access-list port-state
Command:
access-list port-state
port-state Re-enable shutdown port that was shutdown by access-list module
Default:
Enable
Usage Guide:
To enable Port-state function for the ACL. Example:
To configure ACL Port-state function for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # access-list port-state
4.2.45.7 access-list rate-limiter
Command:
access-list rate-limiter <RateLimiterId : 1-16>
rate-limiter Rate limiter
<RateLimiterId : 1-16> Rate limiter ID
Default:
Disable
Usage Guide:
To apply Rate Limiter ID for the ACL. Example:
To apply ACL Rate Limiter ID 1 for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X
-74
Switch (config-if) # access-list rate-limiter 1
4.2.45.8 access-list redirect interface
Command:
access-list redirect interface 10GigabitEthernet <port_type_list> | GigabitEthernet <port_type_list>
redirect Redirect frame to specific port
Default:
Disable
Usage Guide:
Command Guide of SGS-5220-24T2X
To redirect frames to specific Port.
Example:
To redirect GigabitEthernet X/X frames to GigabitEthernet 1 /2 .
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # access-list redirect interface GigabitEthernet 1/2
4.2.45.9 access-list shutdown
Command:
access-list shutdown
shutdown Shut down incoming port. The shutdown feature only works when the packet length is less than 1518
(without VLAN tags).
Default:
Disable
Usage Guide:
To enable Shutdown function for the ACL. Example:
To enable ACL Shutdown function for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X
-75
Switch (config-if) # access-list shutdown
4.2.45.10 aggregation group
Command:
aggregation group <uint>
aggregation Create an aggregation
group Create an aggregation group
<uint> The aggregation group id
Default:
N/A
Command Guide of SGS-5220-24T2X
Usage Guide:
To configure aggregation group. Example:
To configure aggregation group 7 for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # aggregation group 7
4.2.45.11 description
Command:
description <string>
description Port description
<string> specifies a comment or a description of the port to assist the user. (Length: 1-12 characters)
Default:
N/A
Usage Guide:
To configure port description. Example:
To configure port description (IPTV_Port) for the GigabitEthernet X/X.
Switch# configure terminal
-76
Switch (config)# interface GigabitEthernet X/X Switch (config-if) # description IPTV_Port
4.2.45.12 do
Command:
do < exec commands >
do To run exec commands in config mode
Default:
N/A
Usage Guide:
Command Guide of SGS-5220-24T2X
To run exec commands in configure terminal mode
Example:
To run “show aaa” in configure terminal mode.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # do show aaa console : local telnet : local ssh : local http : local
4.2.45.13 dot1x guest-vlan
Command:
dot1x guest-vlan
dot1x IEEE Standard for port-based Network Access Control guest-vlan Enables/disables guest VLAN
Default:
Disable
Usage Guide:
To enable Guest VLAN Example:
To enable Guest VLAN for GigabitEthernet X/X.
-77
Command Guide of SGS-5220-24T2X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # dot1x guest-vlan
4.2.45.14 dot1x port-control
Command:
dot1x port-control auto | force-authorized | force-unauthorized | mac-based | multi | single
dot1x IEEE Standard for port-based Network Access Control port-control Sets the port security state.
auto Port-based 802.1X Authentication force-authorized Port access is allowed force-unauthorized Port access is not allowed mac-based Switch authenticates on behalf of the client multi Multiple Host 802.1X Authentication single Single Host 802.1X Authentication
Default:
Force-authorized
Usage Guide:
To configure Port-control mode for 802.1X Example:
To configure Port-Based 802.1X(Auto) mode for GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # dot1x port-control auto
4.2.45.15 dot1x radius-qos
Command:
dot1x radius-qos
dot1x IEEE Standard for port-based Network Access Control radius-qos Enables/disables per-port state of RADIUS-assigned QoS.
Default:
-78
Disable
Usage Guide:
To enable RADIUS-assigned QoS for 802.1X Example:
To enable RADIUS-assigned QoS for GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # dot1x radius-qos
4.2.45.16 dot1x radius-vlan
Command:
Command Guide of SGS-5220-24T2X
dot1x radius-vlan
dot1x IEEE Standard for port-based Network Access Control radius-vlan Enables/disables per-port state of RADIUS-assigned VLAN.
Default:
Disable
Usage Guide:
To enable RADIUS-assigned VLAN for 802.1X Example:
To enable RADIUS-assigned VLAN for GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # dot1x radius-vlan
4.2.45.17 dot1x re-authenticate
Command:
dot1x re-authenticate
dot1x IEEE Standard for port-based Network Access Control re-authenticate Refresh (restart) 802.1X authentication process.
Default:
-79
N/A
Usage Guide:
To restart 802.1X authentication process.
Example:
To restart 802.1X authentication process for GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # dot1x re-authenticate
4.2.45.18 duplex
Command:
Command Guide of SGS-5220-24T2X
duplex auto | full | half
duplex Interface duplex auto Auto negotiation of duplex mode. full Forced full duplex. half Forced half duplex.
Default:
Auto
Usage Guide:
To configure duplex mode for interface.
Example:
To configure auto duplex mode for GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # duplex auto
4.2.45.19 end
Command:
end
end Go back to EXEC mode
-80
Default:
Auto
Usage Guide:
To back to EXEC mode Example:
To back to EXEC mode
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # end Switch#
Command Guide of SGS-5220-24T2X
4.2.45.20 excessive-restart
Command:
excessive-restart
excessive-restart Restart backoff algorithm after 16 collisions (No excessive-restart means discard frame after 16
collisions)
Default:
Discard
Usage Guide:
To enable Backoff Algorithm for the specific interface Example:
To enable Backoff Algorithm for the GigabitEthernet X/X.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # excessive-restart
4.2.45.21 exit
Command:
exit
exit Exit from current mode
-81
Default:
None
Usage Guide:
To exit current mode
Example:
To exit current mode.
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # exit Switch (config)#
Command Guide of SGS-5220-24T2X
4.2.45.22 flowcontrol
Command:
flowcontrol off | on
flowcontrol Traffic flow control. off Disable flow control. on Enable flow control.
Default:
Disable
Usage Guide:
To enable Flow-control for specific interface Example:
To enable Flow-control for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # flowcontrol on
4.2.45.23 ip arp inspection check-vlan
Command:
ip arp inspection check-vlan
-82
Command Guide of SGS-5220-24T2X
arp Address Resolution Protocol
inspection ARP inspection check-vlan ARP inspection VLAN mode config
Default:
Disable
Usage Guide:
To configure Check-VLAN mode into ARP inspection for specific interface Example:
To configure Check-VLAN mode (Enabled) into ARP inspection for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip arp inspection check-vlan
4.2.45.24 ip arp inspection logging
Command:
ip arp inspection logging all | deny | permit
arp Address Resolution Protocol inspection ARP inspection logging ARP inspection logging mode config all log all entries deny log denied entries permit log permitted entries
Default:
None
Usage Guide:
To configure Logging type into ARP inspection for specific interface Example:
To configure Logging type (All) into ARP inspection for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip arp inspection logging all
-83
4.2.45.25 ip arp inspection trust
Command:
ip arp inspection trust
arp Address Resolution Protocol inspection ARP inspection trust ARP inspection trust config
Default:
Trusted
Usage Guide:
To configure Trusted into ARP inspection for specific interface Example:
To configure Trusted into ARP inspection for GigabitEthernet X/X
Command Guide of SGS-5220-24T2X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip arp inspection trust
4.2.45.26 ip dhcp snooping trust
Command:
ip dhcp snooping trust
Default:
Trusted
Usage Guide:
To configure Trusted into DHCP Snooping for specific interface Example:
To configure Trusted into DHCP Snooping for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip dhcp snooping trust
-84
4.2.45.27 ip igmp snooping filter
Command:
ip igmp snooping filter <ProfileName : word16>
<ProfileName : word16> Profile name in 16 words
Default:
N/A
Usage Guide:
To apply the IGMP Snooping filter ID for specific interface Example:
To apply the IGMP Snooping filter ID 1 for GigabitEthernet X/X
Switch# configure terminal
Command Guide of SGS-5220-24T2X
Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip igmp snooping filter 1
4.2.45.28 ip igmp snooping immediate-leave
Command:
ip igmp snooping immediate-leave
Default:
Disabled
Usage Guide:
To enable IGMP Snooping Immediate-leave (Fast Leave) for specific interface Example:
To enable IGMP Snooping Immediate-leave (Fast Leave) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip igmp snooping immediate-leave
4.2.45.29 ip igmp snooping max-groups
-85
Command:
ip igmp snooping max-groups <Throttling : 1-10>
max-groups IGMP group throttling configuration
<Throttling : 1-10> Maximum number of IGMP group registration
Default:
Unlimited
Usage Guide:
To limit maximum number of IGMP group for specific interface Example:
To limit 5 groups of IGMP for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip igmp snooping max-groups 5
Command Guide of SGS-5220-24T2X
4.2.45.30 ip igmp snooping mrouter
Command:
ip igmp snooping mrouter [ automatic | fix | none ]
mrouter Multicast router port configuration
automatic auto mode
fix fix mode
none none mode
Default:
Auto
Usage Guide:
To configure Multicast router port mode for specific interface Example:
To configure Multicast router port mode (fix) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip igmp snooping mrouter fix
-86
4.2.45.31 ip verify source
Command:
ip verify source
Default:
Disabled
Usage Guide:
To enable IP Source Guard for specific interface Example:
To enable IP Source Guard for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X
Command Guide of SGS-5220-24T2X
Switch (config-if) # ip verify source
4.2.45.32 ip verify source limit
Command:
ip verify source limit <0-2>
<0-2> the number of limit
Default:
Unlimited
Usage Guide:
To limit numbers of Dynamic Client for specific interface Example:
To limit 2 numbers of Dynamic Client for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ip verify source limit 2
-87-
4.2.45.33 ipv6 mld snooping filter
Command:
ipv6 mld snooping filter <ProfileName : word16>
filter Access control on MLD multicast group registration
<ProfileName : word16> Profile name in 16 words
Default:
N/A
Usage Guide:
To apply the MLD Snooping filter ID for specific interface Example:
To apply the MLD Snooping filter ID 1 for GigabitEthernet X/X
Command Guide of SGS-5220-24T2X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ipv6 mld snooping filter 1
4.2.45.34 ipv6 mld snooping immediate-leave
Command:
ipv6 mld snooping immediate-leave
Default:
Disabled
Usage Guide:
To enable MLD Snooping Immediate-leave (Fast Leave) for specific interface Example:
To enable MLD Snooping Immediate-leave (Fast Leave) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ipv6 mld snooping immediate-leave
4.2.45.35 ipv6 mld snooping max-groups
-88
Command:
ipv6 mld snooping max-groups <Throttling : 1-10>
max-groups IGMP group throttling configuration
<Throttling : 1-10> Maximum number of IGMP group registration
Default:
Unlimited
Usage Guide:
To limit maximum number of MLD group for specific interface Example:
To limit 5 groups of MLD for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ipv6 mld snooping max-groups 5
Command Guide of SGS-5220-24T2X
4.2.45.36 ipv6 mld snooping mrouter
Command:
ipv6 mld snooping mrouter [ automatic | fix | none]
mrouter Multicast router port configuration
automatic auto mode
fix fix mode
none none mode
Default:
Auto
Usage Guide:
To configure MLD router port mode for specific interface Example:
To configure MLD router port mode (fix) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # ipv6 mld snooping mrouter fix
-89
4.2.45.37 lacp
Command:
lacp
lacp Enable LACP on this interface
Default:
Disabled
Usage Guide:
To enable LACP for specific interface Example:
To enable LACP for GigabitEthernet X/X
Switch# configure terminal
Command Guide of SGS-5220-24T2X
Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lacp
4.2.45.38 lacp key
Command:
lacp key <1-65535> | auto
lacp Enable LACP on this interface
key Key of the LACP aggregation
<1-65535> Key value auto Choose a key based on port speed
Default:
Auto
Usage Guide:
To configure LACP key for specific interface Example:
To configure LACP key (555) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lacp key 555
-90
4.2.45.39 lacp port-priority
Command:
lacp port-priority <1-65535>
lacp Enable LACP on this interface
port-priority LACP priority of the port
<1-65535> Priority value, lower means higher priority
Default:
32768
Usage Guide:
To configure LACP port-priority for specific interface Example:
Command Guide of SGS-5220-24T2X
To configure LACP port-priority (555) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lacp port-priority 555
4.2.45.40 lacp role
Command:
lacp role active | passive
lacp Enable LACP on this interface
role Active / Passive (speak if spoken to) role
active Transmit LACP BPDUs continously
passive Wait for neighbour LACP BPDUs before transmitting
Default:
Active
Usage Guide:
To configure LACP role for specific interface Example:
To configure LACP role (passive) for GigabitEthernet X/X
Switch# configure terminal
-91
Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lacp role passive
4.2.45.41 lacp timeout
Command:
lacp timeout fast | slow
lacp Enable LACP on this interface
timeout The period between BPDU transmissions
fast Transmit BPDU each second (fast timeout)
slow Transmit BPDU each 30th second (slow timeout)
Command Guide of SGS-5220-24T2X
Default:
Fast
Usage Guide:
To configure LACP timeout type for specific interface Example:
To enable LACP timeout type (slow) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lacp timeout slow
4.2.45.42 lldp cdp-aware
Command:
lldp cdp-aware
lldp LLDP configurations
cdp-aware Configures if the interface shall be CDP aware (CDP discovery information is added to the LLDP neighbor
table)
Default:
Passive
Usage Guide:
To configure MIB variable retrieve local info or remote info of LLDP for specific interface Example:
-92
To configure MIB variable retrieve (local info) of LLDP for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp cdp-aware
4.2.45.43 lldp med media-vlan policy-list
Command:
lldp med media-vlan policy-list <v_range_list>
lldp LLDP configurations
med Media Endpoint Discovery
Command Guide of SGS-5220-24T2X
media-vlan Media VLAN assignment
policy-list Assignment of policies
<v_range_list> Policies to assign to the interface
Default:
N/A
Usage Guide:
To apply MED Media-VLAN policy of LLDP for specific interface Example:
To apply MED Media-VLAN policy 2 of LLDPfor GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp med media-vlan policy-list 2
4.2.45.44 lldp med transmit-tlv
Command:
lldp med transmit-tlv [ capabilities ] [ location ] [ network-policy ]
lldp LLDP configurations
med Media Endpoint Discovery
-93
transmit-tlv LLDP-MED Location Type Length Value parameter.
capabilities Enable transmission of the optional capabilities TLV.
location Enable transmission of the optional location TLV.
network-policy Enable transmission of the optional network-policy TLV.
Default:
N/A
Usage Guide:
To configure LLDP-MED TLV Type for specific interface Example:
To enable LLDP-MED TLV (capabilities and location) for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp med transmit-tlv capabilities location
Command Guide of SGS-5220-24T2X
4.2.45.45 lldp receive
Command:
lldp receive
lldp LLDP configurations
receive Enable/Disable decoding of received LLDP frames.
Default:
Both (Tx +Rx)
Usage Guide:
To configure LLDP Rx only mode for specific interface Example:
To configure LLDP Rx only mode for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp receive
-94-
Command Guide of SGS-5220-24T2X
4.2.45.46 lldp tlv-select management-address
Command:
lldp tlv-select management-address
lldp LLDP configurations
tlv-select To transmit which optional TLVs.
management-address Enable/Disable transmission of management address.
Default:
Enabled
Usage Guide:
To enable management address of LLDP TLV for specific interface Example:
To enable management address of LLDP TLV for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp tlv-select management-address
4.2.45.47 lldp tlv-select port-description
Command:
lldp tlv-select port-description
lldp LLDP configurations
tlv-select To transmit which optional TLVs.
port-description Enable/Disable transmission of port description.
Default:
Enabled
Usage Guide:
To enable port-description of LLDP TLV for specific interface Example:
To enable port-description of LLDP TLV for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp tlv-select port-description
-95
Command Guide of SGS-5220-24T2X
4.2.45.48 lldp tlv-select system-capabilities
Command:
lldp tlv-select system-capabilities
lldp LLDP configurations
tlv-select To transmit which optional TLVs.
system-capabilities Enable/Disable transmission of system capabilities.
Default:
Enabled
Usage Guide:
To enable system-capabilities of LLDP TLV for specific interface Example:
To enable system-capabilities of LLDP TLV for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp tlv-select system-capabilities
4.2.45.49 lldp tlv-select system-description
Command:
lldp tlv-select system-description
lldp LLDP configurations
tlv-select To transmit which optional TLVs.
system-description Enable/Disable transmission of system description.
Default:
Enabled
Usage Guide:
To enable system-description of LLDP TLV for specific interface Example:
To enable system-description of LLDP TLV for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp tlv-select system-description
-96
4.2.45.50 lldp tlv-select system-name
Command:
lldp tlv-select system-name
lldp LLDP configurations
tlv-select To transmit which optional TLVs.
system-name Enable/Disable transmission of system name.
Default:
Enabled
Usage Guide:
To enable system-name of LLDP TLV for specific interface Example:
To enable system-name of LLDP TLV for GigabitEthernet X/X
Command Guide of SGS-5220-24T2X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp tlv-select system-name
4.2.45.51 lldp transmit
Command:
lldp transmit
lldp LLDP configurations
transmit Enable/Disabled transmision of LLDP frames.
Default:
Both (Tx +Rx)
Usage Guide:
To configure LLDP Tx only mode for specific interface Example:
To configure LLDP Tx only mode for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # lldp transmit
-97
4.2.45.52 loop-protect
Command:
loop-protect
loop-protect Loop protection configuration
Default:
Enabled
Usage Guide:
To enable loop-protect for specific interface Example:
To enable loop-protect for GigabitEthernet X/X
Switch# configure terminal
Command Guide of SGS-5220-24T2X
Switch (config)# interface GigabitEthernet X/X Switch (config-if) # loop-protect
4.2.45.53 loop-protect action
Command:
loop-protect action [log] [shutdown]
loop-protect Loop protection configuration
action Action if loop detected
log Generate lo g
shutdown Shutdown port
Default:
Shutdown
Usage Guide:
To configure action mode of Loop protection for specific interface Example:
To configure action mode (log and shutdown) of Loop protection for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # loop-protect action shutdown log
-98
4.2.45.54 loop-protect tx-mode
Command:
loop-protect tx-mode
loop-protect Loop protection configuration
tx-mode Actively generate PDUs
Default:
Enabled
Usage Guide:
To enable tx-mode of Loop protection for specific interface Example:
To enable tx-mode of Loop protection for GigabitEthernet X/X
Command Guide of SGS-5220-24T2X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # loop-protect tx-mode
4.2.45.55 loop-protect tx-mode
Command:
loop-protect tx-mode
loop-protect Loop protection configuration
tx-mode Actively generate PDUs
Default:
Enabled
Usage Guide:
To enable tx-mode of Loop protection for specific interface Example:
To enable tx-mode of Loop protection for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # loop-protect tx-mode
-99
4.2.45.56 mac address-table learning
Command:
mac address-table learning [secure]
mac MAC keyword
address-table MAC table configuration
learning Port learning mode
secure Port Secure mode
Default:
Enabled (Auto)
Usage Guide:
To enable learning of MAC address table for specific interface Example:
Command Guide of SGS-5220-24T2X
To enable learning of MAC address table for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X Switch (config-if) # mac address-table learning
4.2.45.57 media-type
Command:
media-type dual | rj45 | sfp
media-type Media type.
dual Dual media interface (copper & fiber interface).
rj45 rj45 interface (copper interface).
sfp sfp interface (fiber interface). Default:
N/A
Usage Guide:
To configure Copper or Fiber mode of media type for specific interface Example:
To configure Copper mode of media type for GigabitEthernet X/X
Switch# configure terminal Switch (config)# interface GigabitEthernet X/X
-
-100
Loading...