GPON OLT Command Line Configuration Manual
GPON OLT Command Line Configuration Manual
I
2.1.4 duplex......................................................................................- 19 -
2.1.5 flow-control..............................................................................- 20 -
2.1.6 ingress acceptable-frame........................................................- 21 -
2.1.7 ingress filtering........................................................................- 22 -
2.1.8 priority......................................................................................- 22 -
2.1.9 show description......................................................................- 23 -
2.1.10 show interface.......................................................................- 24 -
2.1.11 show statistics interface.........................................................- 24 -
2.1.12 show statistics higig...............................................................- 25 -
2.1.13 clear higig-statistics...............................................................- 26 -
2.1.14 shutdown...............................................................................- 27 -
2.1.15 port-control mode..................................................................- 27 -
2.1.16 show port-control mode.........................................................- 28 -
2.1.17 speed.....................................................................................- 29 -
2.1.18 switchport mode....................................................................- 30 -
2.1.19 switchport trunk allowed vlan.................................................- 30 -
2.1.20 switchport trunk default vlan..................................................- 31 -
2.1.21 show statistics dynamic interface..........................................- 32 -
2.1.22 show utilization interface........................................................- 32 -
2.1.23 local-switch............................................................................- 33 -
2.2 Interface Mirror Configuration Command...........................................- 34 -
2.2.1 mirror destination-interface......................................................- 34 -
2.2.2 mirror source-interface.............................................................- 35 -
2.2.3 show mirror..............................................................................- 35 -
2.3 Port CAR Configuration Command....................................................- 36 -
2.3.1 port-car....................................................................................- 36 -
2.3.2 port-car-open-time...................................................................- 37 -
2.3.3 port-car-rate.............................................................................- 37 -
2.3.4 show port-car...........................................................................- 38 -
2.4 Port LACP Configuration Command..................................................- 38 -
2.4.1 channel-group..........................................................................- 39 -
II
2.4.2 channel-group mode................................................................- 40 -
2.4.3 channel-group load-balance....................................................- 41 -
2.4.4 higig-trunk load-balance..........................................................- 41 -
2.4.5 lacp system-priority..................................................................- 42 -
2.4.6 lacp port-priority.......................................................................- 43 -
2.4.7 show higig-trunk load-balance.................................................- 43 -
2.4.8 show utilization higig................................................................- 44 -
2.4.9 show lacp sys-id......................................................................- 44 -
2.4.10 show lacp internal..................................................................- 45 -
2.4.11 show statistics channel-group................................................- 46 -
2.4.12 clear channel-group...............................................................- 46 -
2.4.13 show statistics dynamic channel-group.................................- 47 -
2.4.14 show utilization channel-group..............................................- 47 -
2.4.15 show lacp neighbor................................................................- 48 -
2.5 Port Alarm Configuration Command..................................................- 49 -
2.5.1 alarm all-packets.....................................................................- 49 -
2.5.2 alarm all-packets threshold......................................................- 49 -
2.5.3 show alarm all-packets............................................................- 50 -
2.5.4 show alarm all-packets interface.............................................- 51 -
2.6 Interface shutdown-control Configuration Command.........................- 52 -
2.6.1 shutdown-control.....................................................................- 52 -
2.6.2 shutdown-control-open-time....................................................- 52 -
2.6.3 no shutdown-control-recover...................................................- 53 -
2.6.4 show shutdown-control............................................................- 53 -
Chapter 3 VLAN Configuration Command................................................- 55 -
3.1 VLAN Configuration...........................................................................- 55 -
3.1.1 description...............................................................................- 55 -
3.1.2 show vlan.................................................................................- 56 -
3.1.3 switchport................................................................................- 56 -
3.1.4 vlan.......................................................................................... - 58 -
3.2 GVRP Configuration Command.........................................................- 59 -
III
3.2.1 gvrp.......................................................................................... - 59 -
3.2.2 show gvrp................................................................................- 60 -
3.2.3 show gvrp interface.................................................................- 60 -
3.2.4 garp permit vlan.......................................................................- 61 -
3.2.5 show garp permit vlan..............................................................- 61 -
3.3 QinQ command..................................................................................- 62 -
3.3.1 dtag.......................................................................................... - 62 -
3.3.2 dtag inner-tpid..........................................................................- 63 -
3.3.3 dtag outer-tpid.........................................................................- 63 -
3.3.4 dtag mode................................................................................- 64 -
3.3.5 show dag.................................................................................- 64 -
3.3.6 dtag insert................................................................................- 65 -
3.3.7 show dag insert.......................................................................- 65 -
3.3.8 dtag swap................................................................................- 66 -
3.3.9 show dag swap........................................................................- 66 -
3.3.10 dtag pass-through..................................................................- 67 -
3.3.11 show dag pass-through..........................................................- 67 -
3.4 l2-tunnel Configuration.......................................................................- 68 -
3.4.1 l2-tunnel...................................................................................- 68 -
3.4.2 show l2-tunnel interface...........................................................- 69 -
3.4.3 l2-tunnel drop-threshold...........................................................- 69 -
3.4.4 show l2-tunnel drop-threshold.................................................- 70 -
Chapter 4 IP Interface Configuration Command.......................................- 71 -
4.1 IP Interface Configuration Command.................................................- 71 -
4.1.1 arp-proxy.................................................................................- 71 -
4.1.2 interface vlan-interface............................................................- 72 -
4.1.3 interface supervlan-interface...................................................- 72 -
4.1.4 ip address................................................................................- 73 -
4.1.5 ip address primary...................................................................- 74 -
4.1.6 ip address range......................................................................- 74 -
4.1.7 ip def cpu.................................................................................- 75 -
IV
4.1.8 ip def cpu vlan.........................................................................- 75 -
4.1.9 show ip interface supervlan-interface......................................- 76 -
4.1.10 show ip interface vlan-interface.............................................- 77 -
4.1.11 show ip def cpu......................................................................- 77 -
4.1.12 subvlan..................................................................................- 78 -
4.1.13 urpf........................................................................................- 78 -
4.1.14 show urpf...............................................................................- 79 -
Chapter 5 ARP Configuration Command...................................................- 80 -
5.1 ARP Configuration Command............................................................- 80 -
5.1.1 arp........................................................................................... - 81 -
5.1.2 arp bind dynamic.....................................................................- 82 -
5.1.3 arp aging..................................................................................- 83 -
5.1.4 show arp..................................................................................- 83 -
5.1.5 show arp aging-time................................................................- 84 -
5.1.6 arp-attack-protect....................................................................- 84 -
5.1.7 show arp-attack-protect...........................................................- 85 -
5.1.8 arp anti-flood............................................................................- 86 -
5.1.9 arp anti-flood action.................................................................- 86 -
5.1.10 arp anti-flood recover-time.....................................................- 87 -
5.1.11 arp anti-flood recover.............................................................- 87 -
5.1.12 show arp anti-flood................................................................- 88 -
5.1.13 arp anti-flood bind blackhole..................................................- 88 -
5.1.14 arp anti-spoofing....................................................................- 89 -
5.1.15 arp anti-spoofing unknown.....................................................- 90 -
5.1.16 arp anti-spoofing valid-check.................................................- 90 -
5.1.17 arp anti-spoofing deny-disguiser............................................- 91 -
5.1.18 show arp anti-spoofing...........................................................- 92 -
5.1.19 arp anti trust...........................................................................- 92 -
5.1.20 arp-dos-protect......................................................................- 92 -
5.1.21 show arp-dos-protect.............................................................- 93 -
5.1.22 arp overwrite..........................................................................- 93 -
V
5.1.23 show arp overwrite.................................................................- 94 -
Chapter 6 DHCP Configuration Command................................................- 95 -
6.1 DHCP Configuration Command.........................................................- 95 -
6.1.1 dhcp-relay................................................................................- 95 -
6.1.2 dhcp-relay hide server-ip.........................................................- 96 -
6.1.3 dhcp-server..............................................................................- 97 -
6.1.4 dhcp-snooping.........................................................................- 98 -
6.1.5 dhcp-snooping trust.................................................................- 99 -
6.1.6 dhcp-snooping max-clients......................................................- 99 -
6.1.7 dhcp option82........................................................................- 100 -
6.1.8 dhcp option82 strategy..........................................................- 100 -
6.1.9 dhcp option82 format.............................................................- 101 -
6.1.10 dhcp option82 circuit-id string..............................................- 102 -
6.1.11 dhcp option82 remote-id string.............................................- 103 -
6.1.12 ip-source-guard...................................................................- 104 -
6.1.13 ip-source-guard bind ip........................................................- 104 -
6.1.14 show dhcp-relay..................................................................- 105 -
6.1.15 show dhcp-relay hide server-ip............................................- 105 -
6.1.16 show dhcp-server................................................................- 106 -
6.1.17 show dhcp-server inerface...................................................- 106 -
6.1.18 show dhcp-snooping interface.............................................- 107 -
6.1.19 show dhcp-snooping vlan....................................................- 108 -
6.1.20 show ip-source-guard bind ip...............................................- 108 -
6.1.21 show dhcp-snooping clients.................................................- 109 -
Chapter 7 Local IP Address Pool Configuration Command.....................- 110 -
7.1 Local IP Address Pool Configuration Command..............................- 110 -
7.1.1 dhcp-client.............................................................................- 110 -
7.1.2 dns primary-ip........................................................................- 111 -
7.1.3 dns second-ip.........................................................................- 112 -
7.1.4 dns third-ip.............................................................................- 112 -
7.1.5 dns fourth-ip...........................................................................- 113 -
VI
7.1.6 dns suffix................................................................................- 114 -
7.1.7 gateway.................................................................................- 114 -
7.1.8 ip............................................................................................- 115 -
7.1.9 ip-bind....................................................................................- 116 -
7.1.10 ip pool..................................................................................- 116 -
7.1.11 lease....................................................................................- 117 -
7.1.12 section.................................................................................- 117 -
7.1.13 show dhcp-client..................................................................- 118 -
7.1.14 show ip-bind.........................................................................- 119 -
7.1.15 show ip pool.........................................................................- 119 -
7.1.16 wins primary-ip....................................................................- 120 -
7.1.17 wins second-ip.....................................................................- 120 -
Chapter 8 Static Routing Configuration Command.................................- 122 -
8.1 Static Routing Configuration Command...........................................- 122 -
8.1.1 ip route...................................................................................- 122 -
8.1.2 show ip route.........................................................................- 123 -
Chapter 9 RIP Configuration Command..................................................- 125 -
9.1 RIP Configuration Command...........................................................- 125 -
9.1.1 auto-summary........................................................................- 126 -
9.1.2 host-route..............................................................................- 126 -
9.1.3 ip rip authentication................................................................- 127 -
9.1.4 ip rip input..............................................................................- 128 -
9.1.5 ip rip metricin.........................................................................- 128 -
9.1.6 ip rip metricout.......................................................................- 129 -
9.1.7 ip rip output............................................................................- 130 -
9.1.8 ip rip split...............................................................................- 130 -
9.1.9 ip rip version..........................................................................- 131 -
9.1.10 ip rip work............................................................................- 132 -
9.1.11 network................................................................................- 132 -
9.1.12 router rip..............................................................................- 133 -
9.1.13 ip prefix-list..........................................................................- 134 -
VII
9.1.14 ip prefix-list default...............................................................- 136 -
9.1.15 show ip prefix-list.................................................................- 137 -
9.1.16 redistribute...........................................................................- 137 -
9.1.17 distribute-list........................................................................- 139 -
9.1.18 show ip rip...........................................................................- 139 -
9.1.19 show ip rip interface.............................................................- 140 -
Chapter 10 OSPF Configuration Command............................................- 141 -
10.1 OSPF configuration command.......................................................- 141 -
10.1.1 area authentication..............................................................- 142 -
10.1.2 area default-cost..................................................................- 143 -
10.1.3 area range...........................................................................- 144 -
10.1.4 area nssa.............................................................................- 145 -
10.1.5 area stub..............................................................................- 146 -
10.1.6 area virtual-link....................................................................- 147 -
10.1.7 default-information originate................................................- 149 -
10.1.8 default redistribute metric....................................................- 150 -
10.1.9 default redistribute type.......................................................- 151 -
10.1.10 ip ospf authentication-key..................................................- 152 -
10.1.11 ip ospf cost.........................................................................- 153 -
10.1.12 ip ospf dead-interval..........................................................- 154 -
10.1.13 ip ospf hello-interval...........................................................- 155 -
10.1.14 ip ospf message-digest-key...............................................- 155 -
10.1.15 ip ospf network..................................................................- 156 -
10.1.16 ip ospf priority....................................................................- 157 -
10.1.17 ip ospf retransmit-interval..................................................- 159 -
10.1.18 ip ospf transmit-delay.........................................................- 160 -
10.1.19 network area......................................................................- 161 -
10.1.20 redistribute.........................................................................- 162 -
10.1.21 ip ospf distribute-list...........................................................- 163 -
10.1.22 ip ospf bfd..........................................................................- 164 -
10.1.23 router id.............................................................................- 165 -
VIII
10.1.24 router ospf.........................................................................- 166 -
10.1.25 show ip ospf.......................................................................- 166 -
10.1.26 show ip ospf border-routers...............................................- 167 -
10.1.27 show ip ospf cumulative.....................................................- 167 -
10.1.28 show ip ospf database.......................................................- 168 -
10.1.29 show ip ospf error..............................................................- 168 -
10.1.30 show ip ospf interface........................................................- 169 -
10.1.31 show ip ospf neighbor........................................................- 170 -
10.1.32 show ip ospf request-list....................................................- 170 -
10.1.33 show ip ospf retrans-list.....................................................- 170 -
10.1.34 show ip ospf virtual-link......................................................- 171 -
10.1.35 show ip route ospf..............................................................- 172 -
10.1.36 show router id....................................................................- 172 -
10.1.37 show ip ospf distribute-list..................................................- 173 -
Chapter 11 BGP Configuration Command...............................................- 174 -
11.1 BGP Configuration Command........................................................- 174 -
11.1.1 aggregate-address...............................................................- 175 -
11.1.2 bgp always-compare-med....................................................- 176 -
11.1.3 bgp default local-preference................................................- 177 -
11.1.4 bgp router-id.........................................................................- 177 -
11.1.5 default-metric.......................................................................- 178 -
11.1.6 ip as-path access-list...........................................................- 179 -
11.1.7 ip distribute-list.....................................................................- 181 -
11.1.8 neighbor advertisement-interval...........................................- 182 -
11.1.9 neighbor distribute-list..........................................................- 183 -
11.1.10 neighbor ebgp-multihop.....................................................- 184 -
11.1.11 neighbor filter-list................................................................- 185 -
11.1.12 neighbor next-hop-self.......................................................- 186 -
11.1.13 neighbor remote-as............................................................- 186 -
11.1.14 neighbor timers..................................................................- 187 -
11.1.15 network..............................................................................- 188 -
IX
11.1.16 redistribute.........................................................................- 189 -
11.1.17 router bgp..........................................................................- 190 -
11.1.18 show ip as-path access-list................................................- 190 -
11.1.19 show ip bgp........................................................................- 191 -
11.1.20 show ip bgp neighbors.......................................................- 192 -
11.1.21 show ip bgp summary........................................................- 193 -
11.1.22 show ip distribute-list..........................................................- 194 -
11.1.23 timers bgp..........................................................................- 194 -
Chapter 12 Multicast Protocol Configuration Command.........................- 196 -
12.1 Static Multicast Configuration Command.......................................- 196 -
12.1.1 multicast mac-address.........................................................- 196 -
12.1.2 multicast mac-address vlan interface...................................- 197 -
12.1.3 show multicast.....................................................................- 198 -
12.2 IGMP snooping and GMRP Configuration Command....................- 199 -
12.2.1 gmrp....................................................................................- 199 -
12.2.2 igmp-snooping.....................................................................- 200 -
12.2.3 igmp-snooping host-aging-time...........................................- 200 -
12.2.4 igmp-snooping max-response-time......................................- 201 -
12.2.5 igmp-snooping fast-leave.....................................................- 202 -
12.2.6 igmp-snooping group-limit...................................................- 202 -
12.2.7 igmp-snooping permit/deny group.......................................- 203 -
12.2.8 igmp-snooping route-port forward........................................- 203 -
12.2.9 igmp-snooping multicast vlan..............................................- 204 -
12.2.10 show gmrp.........................................................................- 205 -
12.2.11 show gmrp interface...........................................................- 205 -
12.2.12 garp permit multicast mac-address....................................- 206 -
12.2.13 show garp permit multicast................................................- 207 -
12.2.14 show igmp-snooping..........................................................- 207 -
12.3 IGMP Configuration Command......................................................- 208 -
12.3.1 ip igmp.................................................................................- 209 -
12.3.2 igmp-proxy...........................................................................- 209 -
X
12.3.3 ip igmp access-group...........................................................- 210 -
12.3.4 ip igmp last-member-query-interval......................................- 211 -
12.3.5 ip igmp query-interval..........................................................- 212 -
12.3.6 ip igmp query-max-response-time.......................................- 213 -
12.3.7 ip igmp static-group.............................................................- 215 -
12.3.8 ip igmp create-group............................................................- 216 -
12.3.9 ip igmp robustness-varible...................................................- 217 -
12.3.10 ip igmp limit-group.............................................................- 218 -
12.3.11 ip igmp version...................................................................- 219 -
12.3.12 ip multicast-routing.............................................................- 220 -
12.3.13 show igmp-proxy................................................................- 221 -
12.3.14 show ip igmp groups..........................................................- 221 -
12.3.15 show ip igmp interface.......................................................- 222 -
12.3.16 ip igmp ssm-mapping.........................................................- 222 -
12.3.17 mroute igmp.......................................................................- 223 -
12.3.18 ssm-mapping static............................................................- 224 -
12.3.19 show ip igmp ssm-mapping...............................................- 224 -
12.4 PIM Configuration Command.........................................................- 225 -
12.4.1 ip pim dense-mode..............................................................- 226 -
12.4.2 ip pim neighbor-limit.............................................................- 227 -
12.4.3 ip pim neighbor-policy..........................................................- 228 -
12.4.4 ip pim query-interval............................................................- 229 -
12.4.5 ip pim sparse-mode.............................................................- 230 -
12.4.6 ip pim bsr-border.................................................................- 230 -
12.4.7 mroute pim...........................................................................- 231 -
12.4.8 show ip mroute....................................................................- 231 -
12.4.9 show ip pim neighbor...........................................................- 232 -
12.4.10 show ip pim interface.........................................................- 233 -
12.4.11 show ip pim rp-info.............................................................- 233 -
12.4.12 show ip pim bsr..................................................................- 234 -
12.4.13 source-policy.....................................................................- 234 -
XI
12.4.14 static-rp..............................................................................- 235 -
12.4.15 bsr-candidate.....................................................................- 236 -
12.4.16 rp-candidate.......................................................................- 237 -
12.4.17 spt-threshold......................................................................- 238 -
12.4.18 ssm....................................................................................- 239 -
12.4.19 show ip pim ssm range......................................................- 240 -
Chapter 13 ACL Configuration Command...............................................- 242 -
13.1 ACL configuration command list....................................................- 242 -
13.1.1 absolute...............................................................................- 243 -
13.1.2 access-group.......................................................................- 244 -
13.1.3 access-list............................................................................- 245 -
13.1.4 access-list extended............................................................- 250 -
13.1.5 access-list link.....................................................................- 252 -
13.1.6 access-list match-order........................................................- 253 -
13.1.7 access-list standard.............................................................- 254 -
13.1.8 { permit | deny }....................................................................- 256 -
13.1.9 periodic................................................................................- 260 -
13.1.10 port-isolation......................................................................- 263 -
13.1.11 port-isolation group............................................................- 264 -
13.1.12 show access-list config......................................................- 265 -
13.1.13 show access-list config statistic.........................................- 266 -
13.1.14 show access-list runtime....................................................- 266 -
13.1.15 show access-list runtime statistic.......................................- 267 -
13.1.16 show port-isolation.............................................................- 267 -
13.1.17 show time-range................................................................- 268 -
13.1.18 time-range.........................................................................- 269 -
Chapter 14 QOS Configuration Command..............................................- 270 -
14.1 QoS Configuration Command........................................................- 270 -
14.1.1 clear traffic-statistic..............................................................- 271 -
14.1.2 bandwidth egress.................................................................- 272 -
14.1.3 mirrored-to...........................................................................- 273 -
XII
14.1.4 queue-scheduler..................................................................- 274 -
14.1.5 queue-scheduler cos-map...................................................- 275 -
14.1.6 queue-scheduler dscp-map.................................................- 276 -
14.1.7 rate-limit...............................................................................- 277 -
14.1.8 two-rate-policer mode..........................................................- 278 -
14.1.9 two-rate-policer set-pre-color...............................................- 279 -
14.1.10 show qos-info all................................................................- 280 -
14.1.11 show qos-info mirrored-to..................................................- 281 -
14.1.12 show qos-info statistic........................................................- 281 -
14.1.13 show qos-info traffic-copy-to-cpu.......................................- 282 -
14.1.14 show qos-info traffic-priority...............................................- 282 -
14.1.15 show qos-info traffic-redirect..............................................- 283 -
14.1.16 show qos-info traffic-statistic..............................................- 283 -
14.1.17 show qos-interface all........................................................- 284 -
14.1.18 show qos-interface line-rate...............................................- 284 -
14.1.19 show qos-interface rate-limit..............................................- 285 -
14.1.20 show qos-interface statistic................................................- 286 -
14.1.21 show queue-scheduler.......................................................- 286 -
14.1.22 show queue-scheduler cos-map........................................- 287 -
14.1.23 show queue-scheduler dscp-map......................................- 287 -
14.1.24 show two-rate-policer.........................................................- 287 -
14.1.25 storm-control......................................................................- 288 -
14.1.26 traffic-copy-to-cpu..............................................................- 288 -
14.1.27 traffic-priority......................................................................- 290 -
14.1.28 traffic-redirect.....................................................................- 292 -
14.1.29 traffic-statistic.....................................................................- 293 -
Chapter 15 STP Configuration Command...............................................- 295 -
15.1 STP Configuration Command........................................................- 295 -
15.1.1 show spanning-tree interface...............................................- 295 -
15.1.2 show spanning-tree remote-loop-detect interface................- 296 -
15.1.3 spanning-tree.......................................................................- 297 -
XIII
15.1.4 spanning-tree cost...............................................................- 298 -
15.1.5 spanning-tree forward-time..................................................- 299 -
15.1.6 spanning-tree hello-time......................................................- 300 -
15.1.7 spanning-tree max-age........................................................- 300 -
15.1.8 spanning-tree port-priority....................................................- 301 -
15.1.9 spanning-tree mcheck.........................................................- 302 -
15.1.10 spanning-tree point-to-point...............................................- 303 -
15.1.11 spanning-tree portfast........................................................- 303 -
15.1.12 spanning-tree transit-limit..................................................- 304 -
15.1.13 spanning-tree priority.........................................................- 305 -
15.1.14 spanning-tree mode...........................................................- 306 -
15.1.15 spanning-tree remote-loop-detect......................................- 306 -
15.1.16 clear spanning-tree............................................................- 307 -
15.2 MSTP Cconfiguration Command...................................................- 308 -
15.2.1 spanning-tree mst max-hops...............................................- 309 -
15.2.2 spanning-tree mst name......................................................- 309 -
15.2.3 spanning-tree mst revision...................................................- 310 -
15.2.4 spanning-tree mst instance vlan..........................................- 311 -
15.2.5 spanning-tree mst instance instance-num priority................- 311 -
15.2.6 spanning-tree mst external cost...........................................- 312 -
15.2.7 spanning-tree mst instance cost..........................................- 313 -
15.2.8 spanning-tree mst instance port-priority...............................- 313 -
15.2.9 show spanning-tree mst config-id........................................- 314 -
15.2.10 show spanning-tree mst instance interface........................- 315 -
Chapter 16 822.1X Configuration Command..........................................- 316 -
16.1 Domain Configuration Command...................................................- 316 -
16.1.1 aaa.......................................................................................- 316 -
16.1.2 access-limit..........................................................................- 317 -
16.1.3 default domain-name enbale...............................................- 318 -
16.1.4 domain.................................................................................- 319 -
16.1.5 show domain.......................................................................- 320 -
XIV
16.1.6 radius host binding...............................................................- 320 -
16.1.7 state.....................................................................................- 321 -
16.2 RADIUS Server Configuration Command......................................- 322 -
16.2.1 accounting-on......................................................................- 323 -
16.2.2 acct-secret-key....................................................................- 323 -
16.2.3 auth-secret-key....................................................................- 324 -
16.2.4 dnrate-value.........................................................................- 325 -
16.2.5 h3c-cams.............................................................................- 325 -
16.2.6 nas-ipaddress......................................................................- 326 -
16.2.7 primary-acct-ip.....................................................................- 327 -
16.2.8 primary-auth-ip....................................................................- 327 -
16.2.9 show radius attribute............................................................- 328 -
16.2.10 show radius config-attribute...............................................- 328 -
16.2.11 show radius host................................................................- 329 -
16.2.12 uprate-value.......................................................................- 329 -
16.2.13 radius 8021p......................................................................- 330 -
16.2.14 radius accounting...............................................................- 331 -
16.2.15 radius attribute...................................................................- 332 -
16.2.16 radius bandwidth-limit........................................................- 332 -
16.2.17 radius config-attribute........................................................- 333 -
16.2.18 radius host.........................................................................- 334 -
16.2.19 radius mac-address-number..............................................- 334 -
16.2.20 radius server-disconnect drop 1x.......................................- 335 -
16.2.21 radius vlan.........................................................................- 336 -
16.2.22 realtime-account................................................................- 337 -
16.2.23 second-acct-ip...................................................................- 337 -
16.2.24 second-auth-ip...................................................................- 338 -
16.2.25 username-format...............................................................- 339 -
16.3 822.1X Related Configuration Command......................................- 340 -
16.3.1 dot1x method.......................................................................- 340 -
16.3.2 dot1x daemon......................................................................- 341 -
XV
16.3.3 dot1x eap-finish...................................................................- 343 -
16.3.4 dot1x eap-transfer................................................................- 343 -
16.3.5 dot1x max-user....................................................................- 344 -
16.3.6 dot1x port-control.................................................................- 345 -
16.3.7 dot1x re-authenticate...........................................................- 347 -
16.3.8 dot1x re-authentication........................................................- 347 -
16.3.9 dot1x timeout re-authperiod.................................................- 348 -
16.3.10 dot1x user cut....................................................................- 349 -
16.3.11 dot1x detect.......................................................................- 350 -
16.3.12 dot1x quiet-period-value....................................................- 350 -
16.3.13 show dot1x........................................................................- 351 -
16.3.14 show dot1x daemon...........................................................- 351 -
16.3.15 show dot1x interface..........................................................- 352 -
16.3.16 show dot1x session...........................................................- 353 -
Chapter 17 SNTP Client Configuration Command..................................- 354 -
17.1 SNTP client configuration command list........................................- 354 -
17.1.1 show sntp client...................................................................- 354 -
17.1.2 sntp client............................................................................- 355 -
17.1.3 sntp client authenticate........................................................- 355 -
17.1.4 sntp client authentication-key..............................................- 356 -
17.1.5 sntp client broadcastdelay...................................................- 357 -
17.1.6 sntp client mode..................................................................- 357 -
17.1.7 sntp client multicast ttl..........................................................- 358 -
17.1.8 sntp client poll-interval.........................................................- 359 -
17.1.9 sntp client retransmit............................................................- 360 -
17.1.10 sntp client retransmit-interval.............................................- 361 -
17.1.11 sntp client valid-server.......................................................- 362 -
17.1.12 sntp server.........................................................................- 362 -
17.1.13 sntp client summer-time.....................................................- 363 -
17.1.14 sntp trusted-key.................................................................- 364 -
Chapter 18 Syslog Configiration Command............................................366
XVI
18.1 Syslog Configuration Command....................................................366
18.1.1 show logging.......................................................................367
18.1.2 show logging buffered.........................................................367
18.1.3 show logging flash...............................................................368
18.1.4 show logging filter................................................................368
18.1.5 show debug.........................................................................369
18.1.6 logging.................................................................................369
18.1.7 logging sequence-numbers.................................................370
18.1.8 logging timestamps.............................................................370
18.1.9 logging language.................................................................371
18.1.10 logging monitor..................................................................372
18.1.11 terminal monitor.................................................................373
18.1.12 logging buffered.................................................................374
18.1.13 clear logging buffered........................................................375
18.1.14 logging flash......................................................................375
18.1.15 clear logging flash.............................................................377
18.1.16 logging host.......................................................................377
18.1.17 logging facility....................................................................378
18.1.18 logging source...................................................................379
18.1.19 logging snmp-agent...........................................................380
18.1.20 debug................................................................................382
18.1.21 upload logging...................................................................383
Chapter 19 SSH Configuration Command..............................................- 385 -
19.1 SSH configuration command list....................................................- 385 -
19.1.1 show ssh..............................................................................- 385 -
19.1.2 show keyfile.........................................................................- 385 -
19.1.3 ssh.......................................................................................- 386 -
19.1.4 crypto key generate rsa.......................................................- 386 -
19.1.5 crypto key zeroize rsa..........................................................- 387 -
19.1.6 crypto key refresh................................................................- 387 -
19.1.7 load keyfile...........................................................................- 387 -
XVII
19.1.8 upload keyfile.......................................................................- 388 -
Chapter 20 VRRP Configuration Command............................................- 390 -
20.1 VRRP configuration command list.................................................- 390 -
20.1.1 ip vrrp...................................................................................- 390 -
20.1.2 show vrrp.............................................................................- 391 -
20.1.3 vrrp ping-enable...................................................................- 392 -
20.1.4 vrrp preempt........................................................................- 392 -
20.1.5 vrrp priority...........................................................................- 393 -
20.1.6 vrrp track..............................................................................- 394 -
20.1.7 vrrp timer.............................................................................- 395 -
Chapter 21 Switch Manage and Maintenance Command.......................- 397 -
21.1 Configuration Files Management...................................................- 397 -
21.1.1 buildrun mode continue.......................................................- 397 -
21.1.2 buildrun mode stop..............................................................- 398 -
21.1.3 clear startup-config..............................................................- 398 -
21.1.4 copy nm-interface-config startup-config...............................- 398 -
21.1.5 copy running-config startup-config.......................................- 400 -
21.1.6 copy startup-config running-config.......................................- 400 -
21.1.7 show running-config.............................................................- 400 -
21.1.8 show startup-config..............................................................- 401 -
21.2 Online Loading Upgrade Program.................................................- 402 -
21.2.1 load application ftp...............................................................- 402 -
21.2.2 load application tftp..............................................................- 403 -
21.2.3 load application xmodem.....................................................- 404 -
21.2.4 load configuration ftp...........................................................- 404 -
21.2.5 load configuration tftp..........................................................- 405 -
21.2.6 load configuration xmodem..................................................- 406 -
21.2.7 load whole-bootrom ftp........................................................- 406 -
21.2.8 load whole-bootrom tftp.......................................................- 407 -
21.2.9 load whole-bootrom xmodem..............................................- 408 -
21.2.10 upload alarm ftp.................................................................- 408 -
XVIII
21.2.11 upload alarm tftp................................................................- 409 -
21.2.12 upload configuration ftp.....................................................- 409 -
21.2.13 upload configuration tftp....................................................- 410 -
21.2.14 upload logging ftp...............................................................- 411 -
21.2.15 upload logging tftp.............................................................- 412 -
21.3 Reboot Switch................................................................................- 412 -
21.3.1 reboot..................................................................................- 412 -
21.4 Basic Configuration and Maintenance...........................................- 413 -
21.4.1 broadcast-suppression........................................................- 414 -
21.4.2 clock set...............................................................................- 415 -
21.4.3 clock timezone.....................................................................- 415 -
21.4.4 discard-bpdu........................................................................- 416 -
21.4.5 discard-l2-tunnel..................................................................- 417 -
21.4.6 dlf-forward............................................................................- 418 -
21.4.7 loopback..............................................................................- 418 -
21.4.8 vct run..................................................................................- 419 -
21.4.9 vct auto-run..........................................................................- 419 -
21.4.10 show vct auto-run..............................................................- 420 -
21.4.11 mac-address-table.............................................................- 420 -
21.4.12 mac-address-table age-time..............................................- 422 -
21.4.13 mac-address-table learning...............................................- 422 -
21.4.14 mac-address-table max-mac-count...................................- 423 -
21.4.15 ping....................................................................................- 424 -
21.4.16 show broadcast-suppression.............................................- 424 -
21.4.17 show clock.........................................................................- 425 -
21.4.18 show cpu-utilization...........................................................- 425 -
21.4.19 show dhcp-server clients...................................................- 426 -
21.4.20 show discard-bpdu.............................................................- 426 -
21.4.21 show dlf-forward................................................................- 427 -
21.4.22 show ip fdb........................................................................- 427 -
21.4.23 show mac-address-table....................................................- 427 -
XIX
21.4.24 show mac-address-table age-time.....................................- 429 -
21.4.25 show mac-address-table learning......................................- 429 -
21.4.26 show memory....................................................................- 429 -
21.4.27 show system......................................................................- 430 -
21.4.28 show users........................................................................- 430 -
21.4.29 show version......................................................................- 430 -
21.4.30 login-access-list telnet-limit................................................- 431 -
21.4.31 tracert................................................................................- 432 -
21.4.32 cpu-car...............................................................................- 433 -
21.4.33 show cpu-car.....................................................................- 433 -
21.4.34 show cpu- statistics............................................................- 434 -
21.4.35 clear cpu- statistics............................................................- 434 -
21.5 SNMP Configuration......................................................................- 434 -
21.5.1 show snmp community........................................................- 435 -
21.5.2 show snmp contact..............................................................- 436 -
21.5.3 show snmp host...................................................................- 436 -
21.5.4 show snmp notify.................................................................- 436 -
21.5.5 show snmp location.............................................................- 437 -
21.5.6 show snmp engineID...........................................................- 437 -
21.5.7 show snmp group................................................................- 438 -
21.5.8 show snmp user..................................................................- 438 -
21.5.9 show snmp view..................................................................- 439 -
21.5.10 snmp-server community....................................................- 439 -
21.5.11 snmp-server contact..........................................................- 440 -
21.5.12 snmp-server host...............................................................- 441 -
21.5.13 snmp-server location.........................................................- 442 -
21.5.14 snmp-server name.............................................................- 443 -
21.5.15 snmp-server enable traps..................................................- 443 -
21.5.16 snmp-server trap-source....................................................- 444 -
21.5.17 snmp-server engineID.......................................................- 445 -
21.5.18 snmp-server view...............................................................- 446 -
XX
21.5.19 snmp-server group.............................................................- 447 -
21.5.20 snmp-server user...............................................................- 449 -
21.6 Manage IP Restriction Configuration.............................................- 451 -
21.6.1 login-access-list...................................................................- 451 -
21.6.2 show login-access-list..........................................................- 452 -
21.7 Telnet Client...................................................................................- 452 -
21.7.1 telnet....................................................................................- 452 -
21.7.2 show telnet client.................................................................- 453 -
21.7.3 stop telnet client...................................................................- 454 -
21.8 CPU Alarm Configuration Command.............................................- 454 -
21.8.1 alarm cpu.............................................................................- 455 -
21.8.2 alarm cpu threshold.............................................................- 455 -
21.8.3 show alarm cpu...................................................................- 456 -
21.9 Mail Alarm Configuration................................................................- 456 -
21.9.1 mailalarm.............................................................................- 457 -
21.9.2 mailalarm server..................................................................- 457 -
21.9.3 mailalarm receiver...............................................................- 458 -
21.9.4 mailalarm ccaddr.................................................................- 458 -
21.9.5 mailalarm smtp authentication.............................................- 459 -
21.9.6 mailalarm logging level........................................................- 460 -
21.9.7 show mailalarm....................................................................- 461 -
21.10 Anti-DOS Attack...........................................................................- 461 -
21.10.1 anti-dos ip fragment...........................................................- 462 -
21.10.2 anti-dos ip ttl......................................................................- 462 -
21.10.3 show anti-dos....................................................................- 463 -
Chapter 22 LLDP Configuration Command.............................................- 464 -
22.1 LLDP Configuration Command......................................................- 464 -
22.1.1 lldp.......................................................................................- 464 -
22.1.2 lldp hello-time......................................................................- 465 -
22.1.3 lldp hold-time.......................................................................- 465 -
22.1.4 lldp { rx | tx | rxtx }................................................................- 466 -
XXI
22.1.5 show lldp interface [ <interface-list> ]...................................- 466 -
Chapter 23 Flex links Configuration Command.......................................- 467 -
23.1 Flex links Configuration Command................................................- 467 -
23.1.1 switchport backup................................................................- 467 -
23.1.2 channel-group channel-group-number backup....................- 467 -
23.1.3 switchport backup preemption mode...................................- 468 -
23.1.4 channel group backup preemption mode.............................- 468 -
23.1.5 switchport backup preemption delay....................................- 469 -
23.1.6 channel-group backup preemption delay.............................- 470 -
23.1.7 show swithport interface backup..........................................- 470 -
23.1.8 mac-address-table move update transmit............................- 471 -
23.1.9 mac-address-table move update receive.............................- 471 -
23.1.10 show swithport interface backup........................................- 471 -
Chapter 24 CFM Configuration Command..............................................- 473 -
24.1.1 cfm md.................................................................................- 473 -
24.1.2 cfm mep...............................................................................- 474 -
24.1.3 cfm mip................................................................................- 475 -
24.1.4 cfm rmep..............................................................................- 475 -
24.1.5 cfm cc interval......................................................................- 476 -
24.1.6 cfm loopback.......................................................................- 477 -
24.1.7 cfm linktrack.........................................................................- 477 -
24.1.8 show cfm md.......................................................................- 478 -
24.1.9 show cfm mp local...............................................................- 478 -
24.1.10 show cfm mp remote.........................................................- 478 -
24.1.11 show cfm cc database.......................................................- 479 -
24.1.12 show cfm errors.................................................................- 479 -
Chapter 25 PPPoE PlusConfiguration Command...................................- 480 -
25.1 PPPoE PlusConfiguration Command............................................- 480 -
25.1.1 pppoeplus............................................................................- 480 -
25.1.2 pppoeplus type....................................................................- 480 -
XXII
25.1.3 show pppoeplus...................................................................- 481 -
Chapter 26 BFD Configuration................................................................- 482 -
26.1 BFD Configuration.........................................................................- 482 -
26.1.1 ip ospf bfd............................................................................- 482 -
26.1.2 bfd min-transmit-interval value.............................................- 483 -
26.1.3 bfd min-receive-interval value..............................................- 483 -
26.1.4 bfd detect-multiplier value....................................................- 484 -
26.1.5 bfd demand { on | off }.........................................................- 485 -
26.1.6 bfd session init-mode { passive | active}..............................- 485 -
26.1.7 clear bfd statistics................................................................- 486 -
26.1.8 show bfd session [verbose].................................................- 486 -
26.1.9 show bfd interface [verbose]................................................- 487 -
Chapter 27 ERRP Configuration Command............................................- 488 -
27.1 ERRP Configuration Command.....................................................- 488 -
27.1.1 errp......................................................................................- 488 -
27.1.2 errp hello-timer....................................................................- 489 -
27.1.3 errp fail-timer.......................................................................- 489 -
27.1.4 errp domain.........................................................................- 490 -
27.1.5 control-vlan..........................................................................- 490 -
27.1.6 ring role primary-port secondary-port level..........................- 492 -
27.1.7 ring role common-port edge-port.........................................- 492 -
27.1.8 ring { enable | disable }........................................................- 493 -
27.1.9 show errp.............................................................................- 494 -
27.1.10 ring query-solicit.................................................................- 494 -
Chapter 28 OLT Slot Management Configuration Command..................- 496 -
28.1 OLT Slot Management Configuration Command...........................- 496 -
28.1.1 set slot.................................................................................- 496 -
28.1.2 show slot..............................................................................- 497 -
28.1.3 show pon.............................................................................- 497 -
Chapter 29 PON Configuration Command..............................................- 499 -
XXIII
29.1 PON Configuration Command.......................................................- 499 -
29.1.1 onu-authenticate..................................................................- 500 -
29.1.2 white-list...............................................................................- 500 -
29.1.3 black-list...............................................................................- 501 -
29.1.4 loid-list.................................................................................- 501 -
29.1.5 hybrid-list.............................................................................- 502 -
29.1.6 onu-p2p...............................................................................- 502 -
29.1.7 encryp..................................................................................- 503 -
29.1.8 dba.......................................................................................- 504 -
29.1.9 mac-address-table...............................................................- 504 -
29.1.10 classif.................................................................................- 505 -
29.1.11 no classif............................................................................- 510 -
29.1.12 enable-pon-vlan-isolation...................................................- 511 -
29.1.13 show onu-mac-auth...........................................................- 511 -
29.1.14 show white-list...................................................................- 512 -
29.1.15 show black-list...................................................................- 512 -
29.1.16 show loid-list......................................................................- 513 -
29.1.17 show hybrid-list..................................................................- 513 -
29.1.18 show onu-p2p....................................................................- 514 -
29.1.19 show dba...........................................................................- 514 -
29.1.20 show mac-address-table....................................................- 515 -
29.1.21 show classif.......................................................................- 516 -
29.1.22 show enable-pon-vlan-isolation.........................................- 516 -
Chapter 30 ONU Management Configuration Commands......................- 518 -
30.1 ONU Management Configuration Commands...............................- 518 -
30.1.1 onu-description....................................................................- 519 -
30.1.2 show onu-description...........................................................- 519 -
30.1.3 onu-binding..........................................................................- 520 -
30.1.4 show onu-status..................................................................- 521 -
30.1.5 onu-reboot...........................................................................- 522 -
30.1.6 onu-bandwidth.....................................................................- 522 -
XXIV
30.1.7 onu-encrypt..........................................................................- 524 -
30.1.8 onu-loopback.......................................................................- 524 -
30.1.9 onu-flow-control...................................................................- 525 -
30.1.10 onu-shutdown....................................................................- 525 -
30.1.11 onu-speed auto..................................................................- 526 -
30.1.12 onu-bandwidth...................................................................- 526 -
30.1.13 onu-bandwidth multicast....................................................- 527 -
30.1.14 onu-bandwidth broadcast..................................................- 527 -
30.1.15 onu-vlan-mode...................................................................- 528 -
30.1.16 onu-classification...............................................................- 529 -
30.1.17 onu-multicast mode...........................................................- 530 -
30.1.18 onu-multicast tag...............................................................- 530 -
30.1.19 onu-multicast fastleave......................................................- 531 -
30.1.20 onu-igmp-snooping vlan....................................................- 531 -
30.1.21 onu-igmp-snooping group-number.....................................- 532 -
30.1.22 onu-multicast-ctrl...............................................................- 532 -
30.1.23 onu-fec mode.....................................................................- 532 -
30.1.24 no onu-classification..........................................................- 533 -
30.1.25 no onu-igmp-snooping vlan...............................................- 533 -
30.1.26 no onu-multicast-ctrl..........................................................- 534 -
30.1.27 no onu-bandwidth multicast...............................................- 534 -
30.1.28 no onu-bandwidth broadcast.............................................- 534 -
30.1.29 onu-mac-address-table max-mac-count............................- 535 -
30.1.30 onu-mac-address-table age-time.......................................- 535 -
30.1.31 onu-queue-scheduler.........................................................- 536 -
30.1.32 onu-queue-scheduler cos-map..........................................- 537 -
30.1.33 onu-queue-scheduler cos-remap.......................................- 538 -
30.1.34 onu-mac-address-table blackhole......................................- 539 -
30.1.35 onu-dtag............................................................................- 539 -
30.1.36 onu-ip address static..........................................................- 541 -
30.1.37 no onu-ip address..............................................................- 542 -
XXV
30.1.38 onu-vlan.............................................................................- 542 -
30.1.39 no onu-vlan........................................................................- 542 -
30.1.40 onu-swithport.....................................................................- 543 -
30.1.41 no onu-swithport................................................................- 543 -
30.1.42 onu-swithport access vlan.................................................- 543 -
30.1.43 no onu-swithport access vlan............................................- 544 -
30.1.44 onu-tag-mode....................................................................- 544 -
30.1.45 onu-com-session...............................................................- 545 -
30.1.46 no onu-com-session..........................................................- 546 -
30.1.47 clear onu-com-statistic.......................................................- 546 -
30.1.48 onu-event-alarm loopback.................................................- 546 -
30.1.49 onu-ctc-upgrade.................................................................- 547 -
30.1.50 onu-ctc-upgrade-commit....................................................- 547 -
30.1.51 show onu-port-info.............................................................- 548 -
30.1.52 show onu-status.................................................................- 548 -
30.1.53 show statistics onu.............................................................- 549 -
30.1.54 show onu-bandwidth..........................................................- 549 -
30.1.55 show onu-encrypt..............................................................- 550 -
30.1.56 show onu-loopback oam....................................................- 551 -
30.1.57 show onu-interface............................................................- 551 -
30.1.58 show onu-sn......................................................................- 552 -
30.1.59 show onu-firmware............................................................- 553 -
30.1.60 show onu-pon-chip............................................................- 553 -
30.1.61 show onu-capabilities........................................................- 554 -
30.1.62 show onu-bandwidth..........................................................- 554 -
30.1.63 show vlan-mode.................................................................- 556 -
30.1.64 show onu-classification......................................................- 557 -
30.1.65 show onu-multicast mode..................................................- 557 -
30.1.66 show onu-multicast tag......................................................- 558 -
30.1.67 show onu-multicast fast-leave...........................................- 558 -
30.1.68 show onu-igmp-snooping vlan...........................................- 559 -
XXVI
30.1.69 show onu-multicast-ctrl local-ctrl........................................- 559 -
30.1.70 show onu-multicast-ctrl......................................................- 560 -
30.1.71 show onu-fec.....................................................................- 560 -
30.1.72 show onu-mac-address-table max-mac-count...................- 561 -
30.1.73 show onu-mac-address-table age-time..............................- 562 -
30.1.74 show onu-queue-scheduler...............................................- 562 -
30.1.75 show onu-mac-address-table blackhole............................- 563 -
30.1.76 show onu-bandwidth multicast...........................................- 563 -
30.1.77 show onu-bandwidth broadcast.........................................- 564 -
30.1.78 show onu-dtag...................................................................- 564 -
30.1.79 show onu-mac-address-table blackhole............................- 566 -
30.1.80 show onu-ip address onu...................................................- 566 -
30.1.81 show onu-com-session......................................................- 566 -
30.1.82 show onu-com-statistic......................................................- 567 -
30.1.83 show onu-event-alarm loopback........................................- 568 -
Chapter 31 PSG Management Configuration Command........................- 569 -
31.1 PSG Management Configuration Command.................................- 569 -
31.1.1 mpcp-delay-time..................................................................- 569 -
31.1.2 admin-enable-pon................................................................- 570 -
31.1.3 psg creat..............................................................................- 571 -
31.1.4 psg delete............................................................................- 571 -
31.1.5 psg switch............................................................................- 572 -
31.1.6 admin-enable-psg................................................................- 572 -
31.1.7 show mpcp-delay-time.........................................................- 573 -
31.1.8 show admin-enable-pon......................................................- 574 -
31.1.9 show psg.............................................................................- 574 -
31.1.10 show admin-enable-psg.....................................................- 575 -
Chapter 32 Controllable Multicast Profile Managmenet Commands.......- 576 -
32.1 Controllable multicast profile management commands.................- 576 -
32.1.1 multicast-ctrl profile..............................................................- 576 -
32.1.2 multicast-ctrl........................................................................- 577 -
XXVII
32.1.3 show multicast-ctrl profile....................................................- 577 -
32.1.4 enable multicast-ctrl profile..................................................- 578 -
32.1.5 onu-multicast-ctrl profile-binding..........................................- 578 -
XXVIII
Command line configuration manual
Command
cls
configure terminal
enable
end
exit
help
hostname
interface
muser
quit
show muser
show username
stop
terminal language
timeout
1
Command line configuration manual
username
username change-password
1.1.1 cls
cls
【Example】
GPON>cls
configure terminal
Privileged mode
【Example】
GPON#configure terminal
GPON(config)#
【Related command】
exit,end
1.1.3 enable
2
Command line configuration manual
Use enable command to enter privileged mode from user mode.
enable
User mode
【Example】
GPON>enable
GPON#
【Related command】
exit,end
1.1.4 end
end
【Usage】
User mode
Privileged mode
Global configuration mode
Interface configuration mode, VLAN configuration mode, and
AAA configuration mode
3
Command line configuration manual
Domain configuration mode and radius configuration mode
End command can back from global configuration mode or other superior
mode to privileged mode.
【Example】
GPON(config-if-ethernet-2/1)#end
GPON#
【Related command】
exit
1.1.5 exit
Use exit command to be back to inferior mode. For the user mode, exit.
exit
【Usage】
【Example】
GPON(config-if-ethernet-2/1)#exit
GPON(config)#
【Related command】
end
4
Command line configuration manual
1.1.6 help
help
【Usage】
Use help command can display any command in current mode, and user can
key in “?” at any moment.
【Example】
GPON(config)#help
1.1.7 hostname
hostname hostname
no hostname
【Parameter】
【Default】
【Usage】
5
Command line configuration manual
Modify system hostname. If the hostname is GPON,the hostname in global
configuration mode is GPON(config)#.
【Example】
GPON(config)#hostname GPONEL8600-04
GPONEL8600-04(config)#
1.1.8 interface
【Parameter】
【Usage】
【Example】
6
Command line configuration manual
【Parameter】
interface-list:interface list
【Usage】
After entering Ethernet interface group mode, inputting command once can
configure all interface members of this group and failure in halfway will not
affect the configuration o following interfaces. All command which can be
used in Ethernet interface mode can be used in this mode. This is a dynamic
mode.the current group will not be existed after exit. All configuration
command in this mode can generate anticompile for single interface.
【Example】
1.1.10 muser
【Parameter】
7
Command line configuration manual
【Usage】
【Example】
1.1.11 quit
quit
【Usage】
If the current connect is in telnet, use quit command to disconnect with the
8
Command line configuration manual
switch and exit. If the current connect is in serial port, after using quit
command, you will re-log in.
【Example】
GPON#quit
show muser
【Example】
GPON(config)#show muser
show tacacs+
【Example】
GPON(config)#show tacacs+
9
Command line configuration manual
Use show username command to display all the users or the user’s
privilege or the existed user and his privilege.
【Parameter】
【Example】
1.1.15 stop
Use stop command to stop the session between user and telnet forcibly, that
is, after using this command, telnet user with the username of “username”
will force to disconnect with telnet.
stop username
【Parameter】
Privileged mode
【Usage】
【Example】
10
Command line configuration manual
!Force user “green” to disconnect with telnet
GPON#stop green
1.1.16 tacacs+
【Parameter】
keyvalue:the key between switch and server, which is in the length of 1~16
characters.
【Usage】
【Example】
11
Command line configuration manual
Use this command to shift language mode of command line interface.
【Parameter】
It is defaulted to be English
Privileged mode
【Usage】
【Example】
1.1.18 timeout
Use timeout command to configure the overtime of user’s logging in. Use no
timeout command to configure overtime to be non-over timing.
timeout [ minute ]
no timeout
【Parameter】
【Default】
12
Command line configuration manual
【Usage】
【Example】
GPON#timeout 30
GPON#no timeout
no username username
【Parameter】
13
Command line configuration manual
password:Log in password for new user and modified password of the
existed user ranges from 1 to 16 characters or numbers.
【Usage】
When inputting the privilege of the new user, 0 to 1 means ordinary user and
2 to 15 means administrator. If the privilege doesn’t configure, the default
privilege is ordinary user.
【Example】
username change-password
【Parameter】
14
Command line configuration manual
Username must be existed.
【Usage】
【Example】
GPON(config)#username change-password
15
Command line configuration manual
Command
clear interface
combo
description
duplex
flow-control
ingress acceptable-frame
ingress filtering
link-aggregation
priority
show description
show interface
show statistics interface
shutdown
speed
switchport access
16
Command line configuration manual
switchport mode
switchport trunk allowed vlan
switchport trunk
tag
show statistics dynamic interface
show utilization interface
【Parameter】
【Usage】
17
Command line configuration manual
【Example】
GPON(config)#clear interface
GPON(config-if-ethernet-2/5)#clear interface
1.2.2 combo
【Parameter】
fiber:FX attribution
copper:TX arrtibution
【Default】
fiber
【Usage】
【Example】
GPON(config-if-ethernet-2/1)#combo copper
18
Command line configuration manual
1.2.3 description
description description-list
no description
【Parameter】
【Example】
GPON(config-if-ethernet-2/3)#description green
GPON(config-if-ethernet-2/3)#no description
【Related command】
show description
1.2.4 duplex
Use duplex command to configure the duplex mode of the current port. Use
no duplex command to restore the default duplex mode, that is, auto-
negotiation.
no duplex
【Parameter】
19
Command line configuration manual
half:Half duplex mode
auto:Auto-negotiation mode
【Default】
auto
【Usage】
When configuring duplex mode, full duplex means receiving and sending
messages at the same time; half duplex means receiving or sending
message at one time, and auto means the duplex mode negotiating by each
port.
【Example】
GPON(config-if-ethernet-2/5)#duplex full
1.2.5 flow-control
Use flow-control command to enable flow control on the Ethernet port. Use
no flow-control command to disable flow control on the port.
flow-control
no flow-control
【Default】
Disable
20
Command line configuration manual
【Command configuration mode】
【Usage】
If the port is crowded, it needs controlling to avoid congestion and data loss.
Use flow-control command to control the flow.
【Example】
GPON(config-if-ethernet-2/5)#flow-control
GPON(config-if-ethernet-2/5)#no flow-control
no ingress acceptable-frame
【Default】
【Usage】
21
Command line configuration manual
【Example】
ingress filtering
no ingress filtering
【Default】
【Usage】
When interface ingress filtering enables, the frame with the VLAN ID being
different from the VLAN ID of the interface which the frame is received will be
dropped; when interface ingress filtering disables, the frame will not be
dropped.
【Example】
GPON(config-if-ethernet-2/5)#ingress filtering
22
Command line configuration manual
GPON(config-if-ethernet-2/5)#no ingress filtering
1.2.8 priority
priority priority-value
no priority
【Parameter】
priority-value:Ranges from 2 to 7
【Default】
Default priority-value is 2
【Usage】
【Example】
GPON(config-if-ethernet-2/3)#priority 1
【Parameter】
23
Command line configuration manual
【Command configuration mode】
【Usage】
【Example】
【Related command】
description
【Parameter】
【Usage】
If port type and port number are not specified, the command displays
information about all ports. If both port type and port number are specified,
24
Command line configuration manual
the command displays information about the specified port.
【Example】
【Parameter】
Any mode
【Usage】
If port type and port number are not specified, the command displays statistic
information about all ports. If both port type and port number are specified,
the command displays statistic information about the specified port.
【Example】
25
Command line configuration manual
Use show statistics higig [unit unit higig-port higig-port] command in any
mode to show port info.
【Parameter】
dynamic:dynamic statistics
unit:chip unit
higig-port:port number
Any mode
【Usage】
【Example】
Use clear statistics [all | unit unit higig-port higig-port] command to clear
info.
【Parameter】
unit:chip unit
26
Command line configuration manual
higig-port:port number
【Usage】
【Example】
1.2.14 shutdown
shutdown
no shutdown
【Default】
【Usage】
【Example】
27
Command line configuration manual
!Disable Ethernet 2/1, then enable it.
GPON(config-if-ethernet-2/1)#shutdown
GPON(config-if-ethernet-2/1)#no shutdown
no port-control mode
【Default】
slave
【Usage】
When two extended GE electric ports connect to each other and speed is in
force, and the two sides are master and slave, the connection is successful.
【Example】
28
Command line configuration manual
Any configuration mode
【Usage】
【Example】
1.2.17 speed
Use speed command to configure the port speed. Use no speed command
to restore the port speed to the defaulting setting.
no speed
【Parameter】
auto: means both port speed and duplex mode are auto-negotiation
【Default】
auto
29
Command line configuration manual
【Usage】
122 BASE TX supports the speed of 12Mbps and 122Mbps and the duplex
mode of half, full duplex and auto-negotiation mode. 122 BASE FX supports
the speed of 122Mbps and the duplex mode of full duplex.
【Example】
GPON(config-if-ethernet-2/1)#speed 122
no switchport mode
【Parameter】
【Default】
【Usage】
30
Command line configuration manual
then create a vlan, this port will automatically be added to the vlan.
【Example】
【Parameter】
【Usage】
Use this command to add trunk port to specified VLAN. Trunk port can belong
to more VLANs. If use switchport trunk allowed vlan command in many
times, VLAN allowed by the trunk port is the congregation of these vlan-list.
【Example】
31
Command line configuration manual
1.2.20 switchport trunk default vlan
【Parameter】
【Default】
【Command mode】
【Example】
【Usage】
32
Command line configuration manual
【Example】
【Usage】
Receiving and sending rate and bandwidth utilization rate refresh every 3
seconds.
【Example】
1.2.23 local-switch
local-switch
no local-switch
【Default】
Disable
33
Command line configuration manual
【Command configuration mode】
【Usage】
Enabling local switching feature of Ethernet interface can transmit the packet
from the port where it is in.
【Example】
GPON(config-if-ethernet-2/5)#local-switch
GPON(config-if-ethernet-2/5)#no local-switch
mirror destination-interface
mirror source-interface
show mirror
【Parameter】
34
Command line configuration manual
interface-num:Means Ethernet port. Interface-num is in the form of interface-
type + interface-number. Interface-type is Ethernet and interface-number is
slot-num/port-num, in which slot-num is in the range of 2 to 2, and port-num
is in the range of 1 to 24.
【Example】
【Parameter】
35
Command line configuration manual
【Example】
show mirror
【Example】
GPON(config)#show mirror
port-car
port-car-open-time
port-car-rate
show port-car
1.4.1 port-car
Use port-car command to enable port CAR of global system or port. Use no
port-car command to disable port CAR of global system or port.
port-car
36
Command line configuration manual
no port-car
【Default】
【Example】
GPON(config)#port-car
GPON(config-if-ethernet-2/8)#port-car
1.4.2 port-car-open-time
port-car-open-time port-car-open-time
no port-car-open-time
【Parameter】
【Default】
37
Command line configuration manual
【Example】
GPON(config)#port-car-open-time 12
1.4.3 port-car-rate
port-car-rate port-car-rate
no port-car-rate
【Parameter】
【Default】
【Example】
GPON(config)#port-car-rate 122
show port-car
38
Command line configuration manual
【Example】
GPON(config)#show port-car
channel-group
channel-group mode
channel-group load-balance
higig-trunk load-balance
lacp system-priority
lacp port-priority
show higig-trunk load-balance
show utilization higig
show lacp sys-id
show lacp internal
show lacp neighbor
show statistics channel-group
clear channel-group
show statistics dynamic channel-group
show utilization channel-group
1.5.1 channel-group
39
Command line configuration manual
group.
channel-group channel-group-number
no channel-group channel-group-number
【Parameter】
channel-group-number:Range from 2 to 5
【Default】
Non
【Example】
GPON(config)#channel-group 1
Use channel-group mode command to add port members to the group, and
specify the mode.
no channel-group channel-group-number
【Parameter】
channel-group-number:Range from 2 to 5
【Default】
Non
40
Command line configuration manual
Interface /Interface group configuration mode
【Example】
!Add Ethernet 2/6 to ethernet 2/8 to channel-group 2 and specify the ports
to be on mode
GPON(config-if-range)#channel-group 2 mode on
{dst-ip|dst-mac|src-dst-ip|src-dst-mac|src-ip|src-mac}
【Parameter】
channel-group-number:Range from 2 to 5
【Default】
【Example】
41
Command line configuration manual
1.5.4 higig-trunk load-balance
higig-trunk load-balance
{dst-ip|dst-mac|src-dst-ip|src-dst-mac|src-ip|src-mac}
【Default】
Source MAC
【Example】
The redundancy influence made by LACP system and port priority shows:
LACP providing redundancy system needs guarantee the consistency of the
choosing redundancy for conterminous switches, and user can configure
redundancy link, which is realized by system and port priority. Choose
redundancy in following steps:
1,Make sure which switch is the standard of choice. For exchanging the
message, two switches know each other’s LACP system priority and system
mac. They compare local LACP system priority, the smaller one is the
standard; if they have the same priority, compare the system MAC, the
smaller is the standard.
42
Command line configuration manual
2,Choose redundancy link with the port parameter of the standard switch.
Compare the port LACP priority first, the inferior is the redundant; if they have
the same priority, the larger number of the port is redundant.
【Parameter】
【Default】
【Example】
【Parameter】
【Default】
43
Command line configuration manual
【Command configuration mode】
【Example】
【Parameter】
None
【Default】
None
【Command mode】
All modes
【Example】
Use this command to show all HiGig port utilization, including HiGig port
receive and send rate, port bandwidth occupancy rate etc.
【Command mode】
44
Command line configuration manual
All command mode
【Usage】
When displaying HiGig port,informaton of HiGig port receive and send rate,
port bandwidth occupancy rate refreshes every 3s.
【Example】
Use show lacp sys-id command to display lacp system id, which is in the
form of 16 characters of system priority and 32 characters of system MAC
address.
【Parameter】
Non
【Default】
Non
【Example】
45
Command line configuration manual
members, if the there is no keywords, all groups are displayed.
【Parameter】
channel-group-number:Range from 2 to 5
【Default】
Non
【Example】
!Such as:
【Parameter】
【Default】
None
【Command mode】
All modes
【Example】
46
Command line configuration manual
!For example:
【Parameter】
【Default】
None
【Command mode】
All modes
【Example】
!For example:
GPON#clear channel-group
【Default】
None
【Command mode】
All modes
47
Command line configuration manual
【Example】
!For example:
Use this command to display all channel utilization, including receive and
send rate, port bandwidth occupancy rate etc.
【Parameter】
None
【Default】
None
【Command mode】
All modes
【Example】
!For example:
【Parameter】
channel-group-number:Range from 2 to 5
48
Command line configuration manual
【Default】
Non
【Example】
!Such as:
alarm all-packets
alarm all-packets threshold
show alarm all-packets
alarm all-packets
no alarm all-packets
【Default】
49
Command line configuration manual
【Example】
GPON(config)#alarm all-packets
GPON(config-if-ethernet-2/8)#alarm all-packets
no alarm all-packets
【Parameter】
【Usage】
【Example】
50
Command line configuration manual
1.6.3 show alarm all-packets
【Example】
Use show alarm all-packets interface command to display port alarm all-
packets information.
【Parameter】
51
Command line configuration manual
Any configuration mode
【Usage】
【Example】
shutdown-control
shutdown-control-open-time
show shutdown-control
1.7.1 shutdown-control
【Parameter】
52
Command line configuration manual
【Command configuration mode】
【Example】
1.7.2 shutdown-control-open-time
Shutdown-control-open-time open-time
no shutdown-control-open-time
【Parameter】
【Default】
【Example】
GPON(config)#shutdown-control-open-time 12
1.7.3 no shutdown-control-recover
53
Command line configuration manual
no shutdown-control-recover mode | automatic-open-time
【Command mode】
【Example】
show shutdown-control
【Example】
GPON(config)#show shutdown-control
54
Command line configuration manual
Command
description
show vlan
switchport
vlan
1.8.1 description
description string
no description
【Parameter】
55
Command line configuration manual
VLAN configuration mode
【Usage】
【Example】
Use show vlan command to display the information about the specified
VLAN
【Parameter】
【Usage】
This command is used to display the information about the specified VLAN,
including VLAN ID, VLAN description, and member ports.
If the VLAN with specified keyword exists, this command displays the
information of the specified VLAN. If no keyword is specified, this command
displays the list of all the existing VLANs.
【Example】
GPON(config)#show vlan
1.8.3 switchport
56
Command line configuration manual
Use switchport command to add a port or multiple ports to a VLAN. Use no
switchport command to remove a port or multiple ports from a VLAN.
【Parameter】
all:Means all the interfaces. When the keyword all is specified, all the
interfaces in the system are added to a VLAN by using the switchport
command, and all the interfaces are removed from a VLAN by using the no
switchport command.
【View】
【Usage】
【Example】
57
Command line configuration manual
!Add Ethernet 1, 3, 4, 5, 8 to current VLAN
1.8.4 vlan
Use vlan command to enter VLAN mode. If the VLAN identified by the vlan-
id argument does not exist, this command creates the VLAN and then enters
VLAN mode. Use the no vlan commands to remove a VLAN.
vlan vlan-list
【Parameter】
vlan-list:The VLAN which you want to create and whose view you want to
enter. Each id ranges from 1 to 4294.
all:Specifying all when removing VLAN, all created VLANs are removed
except the default VLAN.
【Usage】
Use the vlan command to enter VLAN configuration view. If the vlan identified
by the vlan-id keyword exists, enter VLAN configuration view. If not, this
command creates the VLAN and then enters VLAN configuration view. Use
the no vlan command to remove a VLAN. Caution: Default VLAN (VLAN 1)
cannot be removed. If there is some port with the same default vlan-id as
VLAN 1, the port’s VLAN will become VLAN 1 after using the no vlan
command. If the VLAN to be removed exists in the multicast group, remove
58
Command line configuration manual
the related multicast group first.
【Example】
GPON(config)#vlan 1
gvrp
show gvrp
show gvrp interface
1.9.1 gvrp
gvrp
no gvrp
【Default】
【Usage】
59
Command line configuration manual
【Example】
GPON(config)#gvrp
GPON(config-if-ethernet-2/8)#gvrp
Use show gvrp command to display the information about GVRP globally.
show gvrp
【Example】
GPON(config)#show gvrp
【Parameter】
60
Command line configuration manual
but the port number to the right of the to keyword must be larger than the one
to the left of the keyword, and this argument only can be repeated for up to 3
times.
【Usage】
【Example】
Use garp permit vlan command to add configured static vlan to GVRP
module for other switches to learn.
【Parameter】
【Example】
61
Command line configuration manual
!Add vlan 2, 3, 7 to GVRP
Use show garp permit vlan command to display current static vlan
permitted learning by GVRP
【Example】
dtag
dtag inner-tpid
dtag outer-tpid
dtag mode
show dtag
dtag insert
show dtag insert
dtag swap
show dtag swap
dtag pass-through
62
Command line configuration manual
1.10.1 dtag
dtag
no dtag
【Example】
!Enable QinQ
GPON(config)dtag
no dtag inner-tpid
【Parameter】
【Example】
63
Command line configuration manual
dtag outer-tpid tpid
no dtag outer-tpid
【Parameter】
【Example】
no dtag mode
【Parameter】
customer: In this mode, the original tag head will be ignored and a new one
will be added.
【Example】
64
Command line configuration manual
GPON(config-if-ethernet-2/1)#dtag mode customer
show dtag
【Example】
GPON(config)#show dtag
【Parameter】
【Example】
Configure all vlans from vlan1 to vlan2 in e2/1 to add new tag head with the
tag vlan to be vlan3
65
Command line configuration manual
GPON(config-if-ethernet-2/1)#dtag insert 1 2 3
【Example】
【Parameter】
【Example】
GPON(config-if-ethernet-2/1)#dtag swap 1 3 5
66
Command line configuration manual
1.10.9 show dag swap
【Example】
【Parameter】
【Example】
GPON(config-if-ethernet-2/1)#dtag pass-through 1 3
67
Command line configuration manual
show dtag pass-through
【Example】
l2-tunnel
show l2-tunnel interface
l2-tunnel drop-threshold
show l2-tunnel drop-threshold
1.11.1 l2-tunnel
【Parameter】
68
Command line configuration manual
cdp:tunnel cisco cdp packet
【Example】
GPON(config-if-ethernet-2/1)#l2-tunnel stp
【Parameter】
【Example】
69
Command line configuration manual
l2-tunnel drop-threshold[ cdp | pagp | lacp | stp | udld | vtp ] target-rate
【Parameter】
【Example】
【Example】
70
Command line configuration manual
arp-proxy
interface vlan-interface
interface supervlan-interface
ip address
ip address primary
ip address range
ip def cpu
show ip interface supervlan-interface
show ip interface vlan-interface
subvlan
1.12.1 arp-proxy
Use arp-proxy command to enable ARP proxy to make arp of all subvlan
can intercommunicate. Use no arp-proxy command to disable ARP proxy.
arp-proxy
no arp-proxy
【Default】
71
Command line configuration manual
【Command configuration mode】
【Example】
GPON(config)#arp-proxy
GPON(config)#no arp-proxy
【Parameter】
【Usage】
【Example】
72
Command line configuration manual
1.12.3 interface supervlan-interface
【Parameter】
【Usage】
【Example】
GPON(config)#interface supervlan-interface 2
1.12.4 ip address
no ip address
【Parameter】
73
Command line configuration manual
mask:netmask of VLAN interface
【Usage】
【Example】
GPON(config-if-vlanInterface-22)#no ip address
【Parameter】
【Example】
74
Command line configuration manual
1.12.6 ip address range
【Parameter】
startip:start IP address
endip:end IP address
【Example】
Use ip def cpu command to allow hardware to search failed routing or failed
destination host routing sending to CPU to shift to flow transmission mode
and network topology transmission mode.
ip def cpu
no ip def cpu
【Example】
75
Command line configuration manual
GPON(config)#ip def cpu
【Parameter】
【Example】
【Parameter】
【Usage】
76
Command line configuration manual
show ip interface can display all VLAN or superVLAN interface.
【Example】
【Parameter】
【Usage】
【Example】
77
Command line configuration manual
【Usage】
【Example】
1.12.12 subvlan
subvlan vlan-id
no subvlan [ vlan-id ]
【Parameter】
【Usage】
【Example】
GPON(config-if-superVLANInterface-1)#subvlan 8
1.12.13 urpf
Use this command to enable URPF of VLAN interface and configure the
mode. Use the no command to disable it.
78
Command line configuration manual
urpf { strict | loose }
no urpf
【Parameter】
【Usage】
【Example】
GPON(config-if-vlanInterface-1)#urpf strict
GPON(config-if-vlanInterface-1)#no urpf
show urpf
【Example】
79
Command line configuration manual
GPON(config-if-vlanInterface-1)#show urpf
80
Command line configuration manual
Command
arp
arp bind dynacmic
arp aging
show arp
show arp aging
arp-attack-protect
show arp-attack-protect
arp anti-flood
arp anti-flood action
arp anti-flood recover-time
arp anti-flood recover
show arp anti-flood
arp anti-spoofing
arp unknown
arp anti-spoofing valid-check
81
Command line configuration manual
arp anti-spoofing deny-disguiser
show arp anti-spoofing
arp-dos-protect
show arp-dos-protect
arp overwrite
show arp overwrite
1.13.1 arp
Use arp command to adda a static arp table item. Use no arp command to
delete a specified arp item.
【Parameter】
vlan-id:local VLAN ID which the frame with the destination address to be mac
passed. It is in the range of 1~4294
82
Command line configuration manual
【Usage】
This command can add or delete a static arp item. Vlan-id must be the ID of
created VLAN and the following interface interface must belong to this vlan.
In no command, if IP address is specified, delete the corresponded item; if
choose static, delete all static arp item; if choose dynamic, delete all dynamic
arp item; if choose all, delete all arp item. Above command cannot delete
interface corresponded arp item.
【Example】
Use this command to bind static arp table item to be dynamic arp item.
【Parameter】
【Usage】
Use this command to bind effective dynamic arp item. Effective here means
valid and mac address cannot be all 2,multicast address or broadcast
address.
83
Command line configuration manual
【Example】
Use arp aging command to modify arp aging time. Use no command to
restore it.
no arp aging-time
【Parameter】
time:new aging time with the unit being minute which is in the range of 3 to
2882. The default value is 22.
【Example】
GPON(config)#arp aging 22
【Parameter】
84
Command line configuration manual
dynamic:display all dynamic arp item
【Usage】
【Example】
85
Command line configuration manual
【Example】
1.13.6 arp-attack-protect
【Parameter】
【Example】
!Configure to stop arp packet with the source IP address being 1.1.1.1
255,255,255,255 to go through switch
Use his command to display the ARP packet with configured IP address to
be stopped.
show arp-attack-protect
【Parameter】
Non
86
Command line configuration manual
Any configuration mode
【Example】
GPON(config)#show arp-attack-protect
Use this command to enable arp anti-flood. Use no command to disable arp
anti-flood.
arp anti-flood
no arp anti-flood
【Example】
GPON(config)#arp anti-flood
Use this command to configure deny action and threshold of ARP anti-flood.
【Parameter】
deny-arp : deny arp packet and filtrate all arp packets from this mac.
deny-all : deny all packets and filtrate all L2 frame from this mac.
87
Command line configuration manual
rate-limit: rate threshold. Start deny when beyond it.
【Default】
【Example】
【Parameter】
【Default】
【Example】
88
Command line configuration manual
use this command to recover MAC banned by ARP anti-flood manually.
【Parameter】
【Example】
【Example】
89
Command line configuration manual
be manually added.
【Parameter】
【Example】
arp anti-spoofing
【Usage】
After enabling this function, all ARP through switch will be redirected to CPU.
If source IP, source MAC,interface number,vlan id and static ARP are totally
matched, it is thought to be valid and permitted normal handling and transmit.
If not, drop it. If there is not corresponded static ARP table item, handle it as
strategy of configuring unknown arp packet:drop it or flood(send to each
90
Command line configuration manual
interfce).
【Example】
GPON(config)#arp anti-spoofing
【Parameter】
【Default】
【Example】
Use this command to enable check the validity of source MAC of ARP
packet. Use no command to disable it.
91
Command line configuration manual
arp anti-spoofing valid-check
【Usage】
After enabling this function,it will check whether the source mac of arp packet
sending to cpu is the as that in arp protocol packet. Drop it if they are
different.
【Example】
【Usage】
After enabling this function, when switch cpu receives the ARP packet which
is conflict with gateway address, push source mac of arp protocol packet to
mac blackhole and send its own free arp. It will check arp broadcast packet.
92
Command line configuration manual
Those arp unicast packet not only for arp will not be checked for no uplink
cpu.
【Example】
【Example】
Use this command to set the port to be trust and ARP packet from this port
will not be check attacking and spoofing.
【Example】
93
Command line configuration manual
GPON(config-if-ethernet-2/1)#arp anti trust
1.13.20 arp-dos-protect
Use this command to configure ARP packet rate, which is to limit ARP packet
through switch.
arp-dos-protect rate
【Parameter】
rate:the max rate of ARP packet through switch. The speed rate is in the unit
of kbps and in the range of 64kbps--16384kbps (16mbps). In addition, the
rate configured here can only be the multiple of 64kbps(it is restricted by
hardware).
【Example】
!Restrict the max speed rate of ARP packet through switch to be 128
GPON(config)#arp-dos-protect 128
Use this command to display the restriction to the speed rate of ARP packet.
show arp-dos-protect
【Parameter】
Non
【Example】
94
Command line configuration manual
!Display the restriction to the speed rate of ARP packet.
GPON(config)#show arp-dos-protect
Use this command to enable and disable ARP overwrite and configure arp
conflict. When this function is enabled, the table will be update with arp
conflict.
【Parameter】
Non
【Example】
GPON(config)#arp overwrite
【Parameter】
Non
【Example】
95
Command line configuration manual
!Display arp overwrite configuration
96
Command line configuration manual
Command
(124) dhcp-relay
(125) dhcp-relay hide server-ip
(126) dhcp-server
(127) dhcp-snooping
(128) dhcp-snooping trust
(129) dhcp-snooping max-clients
(130) dhcp option82
(131) dhcp option82 strategy
(132) dhcp option82 format
(133) dhcp option82 circuit-id string
(134) dhcp option82 remote-id string
(135) ip-source-guard
(136) ip-source-guard bind ip
(137) show dhcp-relay
(138) show dhcp-relay hide server-ip
(139) show dhcp-server
97
Command line configuration manual
(140) show dhcp-server interface
(141) show dhcp-snooping
(142) show dhcp-snooping clients
1.14.1 dhcp-relay
Dhcp-relay
no dhcp-relay
【Usage】
【Example】
GPON(config)#dhcp-relay
GPON(config)#no dhcp-relay
98
Command line configuration manual
【Command configuration mode】
【Default】
Disable
【Usage】
Enable DHCP relay before enabling DHCP hide server. Only after enabling
all DHCP, network can operate normally.
【Example】
1.14.3 dhcp-server
no dhcp-server dhcp-num
dhcp-server dhcp-num
no dhcp-server
【Parameter】
99
Command line configuration manual
ip-addres:IP address of DHCP server
【Usage】
【Example】
GPON(config)#dhcp-server 2 ip 192.168.2.122
GPON(config)#no dhcp-server 2
GPON(config-if-vlanInterface-2)#dhcp-server 1
GPON(config-if-vlanInterface-2)#no dhcp-server
1.14.4 dhcp-snooping
dhcp-snooping
no dhcp-snooping
100
Command line configuration manual
Global configuration mode
【Example】
GPON(config)#dhcp-snooping
dhcp-snooping trust
no dhcp-snooping trust
【Usage】
【Example】
GPON(config-if-ethernet-2/1)#dhcp-snooping trust
Followings are used to configure interface or the max DHCP client number
permitted by VLAN.
no dhcp-snooping max-clients
101
Command line configuration manual
【Parameter】
【Example】
GPON(config-if-ethernet-2/1)#dhcp-snooping max-clients 33
GPON(config-if-vlan)#dhcp-snooping max-clients 33
dhcp option82
no dhcp option82
【Default】
Disable
【Usage】
【Example】
102
Command line configuration manual
!Enable option82 of DHCP relay.
GPON(config)#dhcp option82
【Parameter】
【Default】
Replace
【Usage】
【Example】
103
Command line configuration manual
dhcp option82 format {normal | verbose [ node-identifier { mac | hostname |
user-defined node-identifier } ] }
【Parameter】
【Default】
normal
【Usage】
104
Command line configuration manual
【Example】
【Parameter】
【Default】
【Usage】
After configuring user-defined Circuit ID, it will be used in normal mode, but
not, in verbose mode.
【Example】
105
Command line configuration manual
dhcp option82 remote-id string {remotet-id | hostname}
【Parameter】
【Default】
【Usage】
【Example】
1.14.12 ip-source-guard
ip-source-guard
no ip-source-guard
【Example】
106
Command line configuration manual
!Enable IP source guard of e2/1
GPON(config-if-ethernet-2/1)#ip-source-guard
Use this command to configure IP source guard to static bind entry, use no
to delete IP source guard static bind entry
【Command mode】
【Example】
show dhcp-relay
【Example】
GPON(config)#show dhcp-relay
107
Command line configuration manual
1.14.15 show dhcp-relay hide server-ip
【Example】
【Parameter】
【Example】
GPON(config)#show dhcp-server
108
Command line configuration manual
Use show dhcp-server inerface command to display Dhcp server
configuration specified for layer 3 interface.
【Parameter】
【Usage】
【Example】
【Parameter】
109
Command line configuration manual
【Command configuration mode】
【Usage】
When displaying port information, if not appoints the port type and port num,it
displays all ports information;if appoints to port type and port num, it
displays select port information.
【Example】
【Command mode】
【Usage】
【Example】
110
Command line configuration manual
【Command mode】
【Example】
【Example】
111
Command line configuration manual
Command
dhcp-client
dns primary-ip
dns second-ip
dns suffix
gateway
ip
ip-bind
ip pool
lease
section
show dhcp-client
show ip-bind
show ip pool
wins primary-ip
wins second-ip
112
Command line configuration manual
1.15.1 dhcp-client
Use this command to configure dhcp client. When ip-bind enables, only
configured dhcp client can apply specified IP address.
【Parameter】
【Example】
no dns primary-ip
113
Command line configuration manual
【Parameter】
【Example】
no dns second-ip
【Parameter】
【Example】
114
Command line configuration manual
!Delete second DNS server of local IP address pool green
no dns third-ip
【Parameter】
【Example】
no dns fourth-ip
115
Command line configuration manual
【Parameter】
【Example】
Use dns suffix command to configure DNS suffix of local IP address pool.
Use no dns suffix command to delete DNS suffix of local IP address pool.
no dns suffix
【Parameter】
suffix-name:DNS suffix
【Example】
116
Command line configuration manual
GPON(config-ip-pool-green)#no dns suffix
1.15.7 gateway
【Parameter】
【Usage】
【Example】
1.15.8 ip
【Parameter】
117
Command line configuration manual
Local IP address pool configuration mode
【Example】
1.15.9 ip-bind
ip-bind
no ip-bind
【Parameter】
non
【Example】
!Enable ip bind
ip-bind
!Disable ip-bind
no ip-bind
1.15.10 ip pool
118
Command line configuration manual
ip pool ippoolname
no ip pool ippoolname
【Parameter】
【Usage】
【Example】
GPON (config-ip-pool-green)#
1.15.11 lease
lease day:hour:min
【Parameter】
【Example】
119
Command line configuration manual
!Configure lease of local IP pool green is 1 day 1 hour 1 minute
GPON(config-ip-pool-green)#lease 1:1:1
1.15.12 section
no section section-id
【Parameter】
section-id is the section number of this address pool and at most 8 groups.
from-ip is the start address of this address section. to-ip is the end address of
this address section. This two ip must be in the address area determined by
gateway and netmask excluding gateway address.
【Example】
GPON(config-ip-pool-green)#no section 2
【Parameter】
120
Command line configuration manual
mac:mac address of dhcp client
【Example】
GPON(config)#show dhcp-client
show ip-bind
【Parameter】
non
【Example】
GPON(config)#show ip-bind
【Parameter】
121
Command line configuration manual
section-num: section number of specified IP pool
【Example】
GPON(config)#show ip pool
no wins primary-ip
【Parameter】
【Example】
122
Command line configuration manual
Use wins second-ip command to configure second WINS server IP address
of this IP pool. Use no wins second-ip command to delete second WINS
server IP address of this IP pool.
no wins second-ip
【Parameter】
【Example】
123
Command line configuration manual
ip route
show ip route
1.16.1 ip route
【Parameter】
gate-ip:static route next hop address which is in the form of dotted decimal
【Usage】
124
Command line configuration manual
This command can add or delete a static routing table item. If destination IP
and mask are 2, the added route is default route. Gateway address may not
be input when deleting route, if it is inputted, it must be the same as that in
routing table.
【Example】
【Parameter】
125
Command line configuration manual
【Usage】
【Example】
GPON(config)#show ip route
126
Command line configuration manual
Command
auto-summary
host-route
ip rip authentication
ip rip input
ip rip metricin
ip rip metricout
ip rip output
ip rip split
ip rip version
ip rip work
network
router rip
ip prefix-list
ip prefix-list default
show ip prefix-list
127
Command line configuration manual
redistribute
distribute-list
show ip rip
show ip rip interface
1.17.1 auto-summary
auto-summary
no auto-summary
【Default】
【Example】
GPON(config-router-rip)#auto-summary
1.17.2 host-route
host-route
no host-route
128
Command line configuration manual
【Default】
【Example】
GPON(config-router-rip)#no host-route
no ip rip authentication
【Parameter】
【Default】
129
Command line configuration manual
【Usage】
【Example】
Use ip rip input command to permit interface receiving RIP packet. Use no
ip rip input command to configure interface refuse to receive RIP packet.
ip rip input
no ip rip input
【Default】
【Example】
Use ip rip metricin command to configure the added metricin value of router
when receiving RIP packet. Use no ip rip metricin command to restore the
default metricin value.
130
Command line configuration manual
ip rip metricin value
no ip rip metricin
【Parameter】
Value: the added metricin value of router when receiving RIP packet which is
in the range of 2 to 16.
【Default】
It is defaulted to be 2.
【Example】
!Configure the added metricin value of router when receiving RIP packet of
VLAN interface 3 to be 1
no ip rip metricout
【Parameter】
Value: the added metricout value of router when sending RIP packet which is
in the range of 2 to 16.
【Default】
131
Command line configuration manual
It is defaulted to be 2.
【Example】
!Configure the added metricout value of router when sending RIP packet of
VLAN interface 3 to be 1
Use ip rip output command to permit interface sending RIP packet. Use no
ip rip output command to forbid interface sending RIP packet.
ip rip output
no ip rip output
【Default】
【Example】
Use ip rip split command to enable the split when interface sending RIP
packet. Use no ip rip split command to disable it.
ip rip split
132
Command line configuration manual
no ip rip split
【Default】
【Usage】
【Example】
ip rip version 1
no ip rip version
【Parameter】
【Default】
133
Command line configuration manual
It is defaulted to run RIP-1. If configuring to be RIP-2, it is defaulted to use
multicast.
【Usage】
Running RIP-1, it can receive and send RIP-1 broadcast packet; when
running RIP-2 and using broadcast, it can receive RIP-1 packet and RIP-2
broadcast packet not RIP-2 multicast packet; when running RIP-2 and using
multicast, it can only send and receive RIP-2 multicast packet.
【Example】
Use ip rip work command to permit sending and receiving RIP packet. Use
no ip rip work command to refuse to send and receive RIP packet.
ip rip work
no ip rip work
【Default】
【Usage】
This command equals to ip rip input and ip rip output command. The latter
two control the receiving and sending RIP packet of interface.
134
Command line configuration manual
【Example】
1.17.11 network
network ip-address
no network ip-address
【Default】
【Usage】
After enabling RIP, use this command to specify the IP network interface to
run RIP protocol. Attribution of all interface will be effective after running RIP.
Because the mask has been configured when creating this IP network
interface, this command needs not input mask.
【Example】
GPON(config-router-rip)#network 192.1.1.1
Use router rip command to enable RIP protocol and enter RIP mode. Use
no router rip command to disable RIP protocol.
135
Command line configuration manual
router rip
no router rip
【Default】
RIP disables.
【Example】
GPON(config)#router rip
1.17.13 ip prefix-list
Use this command to configure an address prefix list or item. Use the no
command to remove it.
【Parameter】
prefix-list-name:name of prefix-list
136
Command line configuration manual
network:giving the prefix to be matched
ge-value:match the range of mask length for the more concrete prefix
than“network/len”. If only “ge” is specified, the range is from “ge-
value”(larger than or equal to ge-value)to 32(smaller or equal to 32)
le-value:match the range of mask length for the more concrete prefix
than“network/len”. If only “le” is specified, the range is from “length”(larger
than or equal to length)to“le-value”(smaller or equal to le-value)
【Default】
when the seq number is not specified, the default adding value is 12,that is,
the first seq number in a prefix acl is 12,and the second and the third is 22
and 32. If the specified seq number is 24,the following is 34, 44 etc. The
adding value is not 1 is convenient to insert sentence in configured ones.
【Usage】
length<ge-value<=le-value<=32
Example:
137
Command line configuration manual
GPON(config)#ip prefix-list prefix221 permit 192.2.2.2 8 le 24
The above commands will check whether the first byte of the toute
destination address is 192;then, check the route mask length. The mask
with the length larger than and equal to 8 and smaller than and equal to 24
matches “permit”, and the mask with the length larger than and equal to 25
and smaller than and equal to 24 matches “deny”.
Specially, the form with prefix being 2.2.2.2/32can match the route with the
destination address and mask being 2(not matching the route with
destination being 2 and mask being 1);2.2.2.2 matches all routes.
【Example】
Use this command to configure the matching mode when the item does not
exist in current prefix list or has no matching item in prefix list.Use the no
command to restore the default matching mode.
【Parameter】
138
Command line configuration manual
permit:permit matching mode
【Default】
By default, the matching mode that the prefix list does not exist is permit and
the other is deny.
【Example】
【Parameter】
【Example】
GPON(config)#show ip prefix-list
1.17.16 redistribute
139
Command line configuration manual
to cancel the introduction.
no redistribute [ protocol ]
【Parameter】
【Default】
None introduction.
【Usage】
OSPF uses following 4 kinds of different router which as priority order are:
The first category external routing is received IGP router (such as: RIP and
STATIC). This kind of router is more credible, so the cost volume of external
router and autonomy system is the same and can compare with the router of
140
Command line configuration manual
OSPF itself, that is, the cost to external router= the cost to its ASBR +the
cost of ASBR to destination address.
The second category external routing is the received EGP router. This kind of
router is less credible, so the cost volume of ASBR to the outside of
autonomy system is far more expensive than that of autonomy system to
ASBR, so the former is mainly considered, that is, the cost to the second
external router = the cost of ASBR to destination address. If the cost is the
same, consider the cost of this router to corresponded ASBR.
【Example】
GPON(config-router-ospf)#redistribute rip
1.17.17 distribute-list
【Parameter】
141
Command line configuration manual
RIP protocol configuration mode
【Example】
Use show ip rip command to display RIP statistics, such as received error
RIP packet number and error routing number.
show ip rip
【Example】
GPON(config)#show ip rip
【Parameter】
142
Command line configuration manual
【Example】
143
Command line configuration manual
area authentication
area default-cost
area range
area stub
area virtual-link
default-information originate
default redistribute metric
default redistribute type
ip ospf authentication-key
ip ospf cost
ip ospf dead-interval
ip ospf hello-interval
ip ospf message-digest-key
ip ospf network
ip ospf priority
ip ospf retransmit-interval
ip ospf transmit-delay
network area
144
Command line configuration manual
redistribute
router id
router ospf
show ip ospf
show ip ospf border-routers
show ip ospf cumulative
show ip ospf database
show ip ospf error
show ip ospf interface
show ip ospf neighbor
show ip ospf request-list
show ip ospf retrans-list
show ip ospf virtual-link
show ip route ospf
show router id
【Parameter】
【Default】
145
Command line configuration manual
None authentication.
【Usage】
【Example】
Use area default-cost command to specify the cost sending to default router
in STUB domain. Use no area default-cost command to restore it to default
value.
【Parameter】
cost:the cost sending to default router in STUB domain which is in the range
of 2~16777215
【Default】
146
Command line configuration manual
The cost sending to default router in STUB domain is 1.
【Usage】
This command is for edge router connected to STUB domain. STUB domain
configuration command are: area stub and area default-cost. All routers
connected to STUB domain must use area stub command to configure to be
stub. Command area default-cost is for edge router connected to this STUB
domain. This command specify the cost sending to default router in STUB
domain.
【Example】
【Parameter】
mask:net mask
147
Command line configuration manual
notadvertise:not to sent convergent summary LSAs to other domain
【Default】
【Usage】
【Example】
【Parameter】
148
Command line configuration manual
no-summary:forbid ABR to sending NSSA area with Summary LSAs
【Default】
【Command mode】
【Usage】
Two configuration commands about NSSA area:area nssa and area default-
cost,routers which all connect to NSSA area must use area nssa to
configure this area as NSSA.area default-cost is only effective in the area
border router and also appoint the default cost of area border router which
sends to NSSA area .
【Example】
Use area stub command to configure one area to be STUB area. Use no
area stub command too cancel this configuration.
【Parameter】
149
Command line configuration manual
no-summary:Forbid ABR sending Summary LSAs to STUB area.
【Default】
【Usage】
There are two configuration command in STUB area: area stub and area
default-cost. All routers connected to STUB area must use area stub
command to configure to be STUB attribution. Command area default-cost
only be effective in ABR configuration. This command can specify the cost for
ABR to send default routing to STUB area.
【Example】
Use area virtual-link command to create and configure a virtual link. Use no
area virtual-link command to delete a existed virtual link.
【Parameter】
150
Command line configuration manual
area-id:the ID of virtual link transferring area which can be decimal integeral
number or in the form of IP address.
【Default】
151
Command line configuration manual
OSPF protocol configuration mode
【Usage】
In OSPF protocol, all areas must connect with bone area(area 2). If there
cannot be connected with bone area physically in some area, it can establish
virtual link logically.
The smaller the hello-interval value is, the fastest the network change will be
noticed, but more network resources will be cost.
Consider the delay of interface sending when configure the value of transmit-
delay.
【Example】
!Configure a virtual link with the transmission domain to be 1.1.1.1 and the
opposite router at to be 12.11.5.2
type-value ]
no default-information originate
152
Command line configuration manual
【Parameter】
always:if default routing hasn’t configured, this parameter will cause ase LSA
to describe default routing and publish it. If there is no keyward, it must
configure default routing to introduce ase LSA.
type-value :metric type of ase LSA which is in the range of 1~2. If it is not
configured, it is defaulted to be 2
【Default】
【Usage】
【Example】
!Produce ase Lsa of default routing if there is; don’t produce it if there isn’t.
GPON(config-router-ospf)#default-information originate
!Produce ase Lsa of default routing and publish to OSPF routing area.
153
Command line configuration manual
default redistribute metric metric
【Parameter】
【Default】
It is defaulted to be 1.
【Usage】
OSPF can introduce external routing and publish the information to the
autonomous system, so it is necessary to introduce default routing metric of
external routing.
【Example】
【Parameter】
154
Command line configuration manual
type 1:the first type of external routing
【Default】
【Usage】
OSPF can introduce external routing and publish the information to the
autonomous system, so it is necessary to introduce default routing type of
external routing.
【Example】
no ip ospf authentication-key
【Parameter】
【Default】
155
Command line configuration manual
Interface will not authenticate OSPF packet.
【Usage】
The router authentication key in the same interface must be the same. Only
using area authentication command to specify the authentication key type
being plain text, this configuration can be effective.
【Example】
Use ip ospf cost command to configure the cost of interface sending packet.
Use no ip ospf cost command to restore the default cost.
no ip ospf cost
【Parameter】
【Default】
It is defaulted to be 1.
【Usage】
156
Command line configuration manual
calculate the cost of interface according to the bandwidth of current interface.
【Example】
no ip ospf dead-interval
【Parameter】
【Default】
【Usage】
The dead interval of OSPF neighbor is: in the time interval, if the Hello packet
hasn’t received, it is thought the neighbor is ineffective. dead-interval
seconds must be 4 times of Hello-interval seconds, and the dead-interval
seconds must be the same in the same network interface.
157
Command line configuration manual
【Example】
no ip ospf hello-interval
【Parameter】
【Default】
The time interval of sending Hello packet of interface for Point-to-point and
broadcast is 12 seconds; The time interval of sending Hello packet of
interface for point-to-multipoint,non-broadcast is 32seconds.
【Usage】
The value of hello-interval seconds will write to Hello packet and send with
it.
The smaller the value of hello-interval seconds is, the faster the change of
network topology is found, but it will cost more routing cost. This interface
must be the same as neighbor router.
【Example】
158
Command line configuration manual
!Configure the time interval of sending Hello packet for vlan interface 3 is
15 seconds.
no ip ospf message-digest-key
【Parameter】
【Default】
None authentication.
【Usage】
The authentication key password in the same network interface must be the
same. Only after using area authentication command to specify the
authentication key type is MD5, this configuration can be effective.
【Example】
159
Command line configuration manual
1.18.15 ip ospf network
no ip ospf network
【Parameter】
【Default】
【Usage】
【Example】
160
Command line configuration manual
default value.
no ip ospf priority
【Parameter】
【Default】
【Usage】
161
Command line configuration manual
in the network interface. After the failure of DR, BDR is about to be DR
because the neighborship has been established. There will be reselected a
new BDR which will not be effected the calculation of router though it needs
a long time.
Caution:
DR is not always the router with the superlative priority and BDR is not
always the one with the second superlative priority. After selecting DR and
BDR, a new router adds, no matter how superlative its priority is, it will not be
DR.
【Example】
no ip ospf retransmit-interval
【Parameter】
162
Command line configuration manual
【Default】
5 seconds
【Usage】
Don’t configure the LSA retransmit interval too short, or it will cause
unnecessary retransmission.
【Example】
no ip ospf transmit-delay
【Parameter】
【Default】
163
Command line configuration manual
1 second
【Usage】
LSA will be aging (1 more minute per second) with time in Link Status
DateBase(LSDB) of this router but it will not be aging in network
transmission, so it is necessary to add the configured time before sending
LSA. This configuration is very important in network with low speed.
【Example】
Use network area command to specify the area where interface locates.
【Parameter】
area-id: the area ID number this address belonged to. In order for the normal
working OSPF, area ID number of all router interface in the same specified
area must be matching. The way of identifying is: in the form of IP address or
integer number.
【Default】
164
Command line configuration manual
Interface doesn’t belong to any area.
【Usage】
【Example】
1.18.20 redistribute
no redistribute [ protocol ]
【Parameter】
【Default】
165
Command line configuration manual
None introduction.
【Usage】
OSPF uses following 4 kinds of different router which as priority order are:
The first category external routing is received IGP router (such as: RIP and
STATIC). This kind of router is more credible, so the cost volume of external
router and autonomy system is the same and can compare with the router of
OSPF itself, that is, the cost to external router= the cost to its ASBR +the
cost of ASBR to destination address.
The second category external routing is the received EGP router. This kind of
router is less credible, so the cost volume of ASBR to the outside of
autonomy system is far more expensive than that of autonomy system to
ASBR, so the former is mainly considered, that is, the cost to the second
external router = the cost of ASBR to destination address. If the cost is the
same, consider the cost of this router to corresponded ASBR.
【Example】
166
Command line configuration manual
!Configure OSPF introduce RIP router
GPON(config-router-ospf)#redistribute rip
【Parameter】
【Default】
【Example】
167
Command line configuration manual
1.18.22 ip ospf bfd
Use this command to enable OSPF to use BFD to monitor link status. use no
command to disable OSPF to use BFD to monitor link status.
ip ospf bfd
no ip ospf bfd
【Default】
By default, it is disabled.
【Usage】
The switches on both sides of the monitor link enable this funtion, it can be
enabled. Enable BFD to improve OSPF to detect link failure and break up
neighbourhood and update routing speed.
【Example】
1.18.23 router id
Use router id command to configure the router ID when running OSPF. Use
no router id command to cancel configured router ID.
router id router-id
no router id
【Parameter】
168
Command line configuration manual
【Default】
【Usage】
When configuring router ID, the router ID of any two routers in autonomy are
not the same. Generally, configure router ID to be the same as that of the IP
address in some interface of the router. To make sure of the stability
operation of OSPF, be sure the division of router ID and manually configure
it.
【Example】
GPON(config)#router id 192.168.2.122
Use router ospf command to enable OSPF protocol. Use no router ospf
command to disable OSPF protocol.
router ospf
no router ospf
【Default】
OSPF disables.
【Example】
169
Command line configuration manual
!Enable OSPF
GPON(config)#router ospf
!Disable OSPF
【Parameter】
【Usage】
【Example】
GPON(config)#show ip ospf
170
Command line configuration manual
Any configuration mode
【Usage】
【Example】
【Usage】
【Example】
171
Command line configuration manual
【Usage】
【Example】
【Usage】
【Example】
【Parameter】
172
Command line configuration manual
【Command configuration mode】
【Usage】
【Example】
【Usage】
【Example】
173
Command line configuration manual
Any configuration mode
【Usage】
【Example】
【Usage】
【Example】
174
Command line configuration manual
【Usage】
【Example】
-----------------------------------------------------------
【Usage】
【Example】
175
Command line configuration manual
1.18.36 show router id
show router id
【Usage】
【Example】
GPON(config)#show router id
【Usage】
【Example】
176
Command line configuration manual
Command
aggregate-address
bgp always-compare-med
bgp default local-preference
bgp router-id
default-metric
ip as-path access-list
ip distribute-list
neighbor advertisement-interval
neighbor distribute-list
neighbor ebgp-multihop
neighbor filter-list
neighbor next-hop-self
neighbor remote-as
neighbor timers
network
177
Command line configuration manual
redistribute
router bgp
show ip as-path access-list
show ip bgp
show ip bgp neighbors
show ip bgp summary
show ip distribute-list
timers bgp
1.19.1 aggregate-address
Use this command to create a convergent route in BGP table. Use the no
command to delete a convergent route.
【Parameter】
【Default】
【Usage】
178
Command line configuration manual
Use this command to realize BGP route convergency and reduce memory
cost of BGP table.
Supress all notification of the covered concrete route when generating and
informing convergent route by using keyword “summary-only”.
【Example】
Use this command to compare MED from different AS route path. Use the no
command to deny comparison.
bgp always-compare-med
no bgp always-compare-med
【Default】
【Usage】
MED is used for choosing the best path. The smaller MED value will be
chosen.
179
Command line configuration manual
It is recommended to use this command when the IGP and route choosing
method are the same in the corresponded AS.
【Example】
【Parameter】
【Default】
【Usage】
The larger the local preference value is, the more chance for coorsponded
route to be chosen.
【Example】
180
Command line configuration manual
1.19.4 bgp router-id
no bgp router-id
【Parameter】
【Default】
【Usage】
By default, BGP will use dynamic router id which will influence BGP running.
Using this command to specify BGP route id can guarantee the
unchangement of router id. The configured router id is unique in the network.
【Example】
1.19.5 default-metric
default-metric metric
no default-metric
【Parameter】
181
Command line configuration manual
metric:Specific metric value which is in the range of 1 to 4294967295.
【Default】
【Usage】
【Example】
GPON(config-router-bgp)# default-metric 12
Use this command to configure the list that BGP AS path matches. Use the
no command to delete it.
【Parameter】
182
Command line configuration manual
as-regular-expression:used for matching regular expression of AS path
【Default】
【Usage】
For the same list number, user can define multiple distribute list, that is, one
distribute list number represents a group of distribute list. Each AS path list
uses numbers to be their id.
Special symbol and its meanings in regular expression are in the following:
Symbol Description
-(hyphen) Any character in the range formed by the characters before or behind
hyphen.
183
Command line configuration manual
Symbol Description
_(underline Match comma, {, }, (, ), the beginning of the string, the end of the string
) or a space
【Example】
【Related Command】
1.19.7 ip distribute-list
Use this command to configure BGP route filter list. Use the no command to
delete it.
【Parameter】
net-addr:network address;
【Default】
184
Command line configuration manual
None distribute list is configured.
【Usage】
For the same list number, user can define multiple distribute list, that is, one
distribute list number represents a group of distribute list. Each AS path list
uses numbers to be their id.
【Example】
【Related Command】
185
Command line configuration manual
neighbor ip-address advertisement-interval seconds
【Parameter】
【Default】
【Example】
Use this command to apply distribute list to specified neighbor. Use the no
command to cancel it.
【Parameter】
in:ingress filter
out:Egress filter
【Default】
186
Command line configuration manual
Neighbors will not apply any filter list.
【Usage】
Use this command to complete BGP route strategy for filtration of BGP
sending and receiving route. Using this commanf together with ip distribute-
list to apply distribute list to specific neighbor. Distribute list can only match
IP address, therefore, this command can only filtrate AS number in path of
sending and receiving route.
【Example】
【Related Command】
ip distribute-list,neighbor filter-list
Use this command to permit establishing connection with EBGP neighbor not
directly connected to network. Use the no command to cancel the
configuration.
【Parameter】
【Default】
187
Command line configuration manual
【Command configuration mode】
【Usage】
Usually, EBGP neighbors are directly connected. It can use this command to
make them not connect directly when necessary.
【Example】
Use this command to apply filter list to specified neighbor. Use no command
to cancel it.
【Parameter】
in:ingress filter
out:Egress filter
【Default】
【Usage】
188
Command line configuration manual
Use this command to complete BGP route strategy for filtration of BGP
sending and receiving route. Using this commanf together with ip as-path
access-list to apply filter list to specific neighbor. Filer list can only match
AS-PATH, therefore, this command can only filtrate AS number in path of
sending and receiving route.
【Example】
【Related Command】
【Parameter】
【Default】
Disable
【Usage】
In non-full connect network, router in the same network interface may not
connect directly. Use this command to configure the next hop of BGP route to
be local interface address.
189
Command line configuration manual
【Example】
Use this command to create BGP neighbor. Use no command to remove it.
【Parameter】
【Default】
【Usage】
This command is necessary for running BGP for creating BGP neighbors. If
as-number value and local AS number specified in router bgp command are
the same, IBGP neighbor is established, or is EBGP neighbor.
【Example】
190
Command line configuration manual
Use this command to configure Keepalive packet sending-interval with
specific neighbors and holdtime. Use no command to restore default value.
【Parameter】
【Default】
【Usage】
The priority of the timer configured by this command is superior than that
configured by timers bgp command.
【Example】
1.19.15 network
Use this command to configure network route announced by local BGP. Use
no command to cancel the announced network route.
【Parameter】
191
Command line configuration manual
ip-address:ip address announced by BGP.
【Default】
【Usage】
Only completely matched route can use network announcememt, that is, the
route whose prefix and mask completely matches will be published to
neighbors. If the mask is not specified, it should be accurately matched
according to natural network interface.
【Example】
1.19.16 redistribute
【Parameter】
192
Command line configuration manual
ospf:introduce OSPF route;
【Default】
【Usage】
A route protocol can introduce (or learn) route information collected by other
route protocol.
【Example】
Use this command to enable BGP and enter BGP configuration mode. Use
no command to disable BGP.
【Parameter】
【Default】
BGP disables.
【Usage】
193
Command line configuration manual
Use this command to enable and disable BGP and specify local AS number.
【Example】
【Parameter】
【Usage】
【Example】
2 permit ^422$
【Parameter】
194
Command line configuration manual
longer-prefix:show matched route whose mask is the same or longer than
the specific one.
【Usage】
Show route information in BGP table. It is used to show the learnt route of
BGP and also show part of it by using keywords.
【Example】
【Parameter】
【Usage】
195
Command line configuration manual
Use this command to show neighbor information which displays detail
information and show ip bgp neighbors summary command displays
summary information.
【Example】
【Usage】
【Example】
196
Command line configuration manual
GPON# show ip bgp summary
【Parameter】
【Usage】
【Example】
ip distribute-list 3, 2 rule:
Use this command to configure global Keepalive of BGP and Holdtime timer.
Use no command to restore default Keepalive and Holdtime timer.
197
Command line configuration manual
timers bgp keepalive-interval holdtime
no timers bgp
【Parameter】
【Default】
The default value of keepalive-interval and holdtime are 32 and 182 seconds.
【Usage】
【Example】
198
Command line configuration manual
Command
multicast mac-address
multicast mac-address vlan interface
show multicast
【Parameter】
199
Command line configuration manual
【Command configuration mode】
【Usage】
【Example】
【Parameter】
200
Command line configuration manual
to the left of the keyword, and this argument only can be repeated for up to 3
times.
【Example】
【Parameter】
【Usage】
【Example】
201
Command line configuration manual
21:22:5e:21:22:23
gmrp
igmp-snooping
igmp-snooping host-aging-time
igmp-snooping max-response-time
igmp-snooping fast-leave
igmp-snooping group-limit
igmp-snooping permit/deny group
igmp-snooping route-port forward
igmp-snooping multicast vlan
show gmrp
show gmrp interface
show igmp-snooping
1.21.1 gmrp
Use gmrp command to enable GMRP globally or for a port. Use no GMRP
command to disable GMRP globally or for a port.
gmrp
no gmrp
【Default】
202
Command line configuration manual
【Command configuration mode】
【Usage】
【Example】
GPON(config)#gmrp
GPON(config-if-ethernet-2/3)#no gmrp
1.21.2 igmp-snooping
igmp-snooping
no igmp-snooping
【Default】
【Example】
GPON (config)#igmp-snooping
203
Command line configuration manual
Use igmp-snooping host-aging-time command to configure the host-
aging-time of dynamic multicast group learnt by igmp-snooping. Use no
igmp-snooping host-aging-time command to restore the default host-
aging-time.
no igmp-snooping host-aging-time
【Parameter】
【Example】
GPON(config)#igmp-snooping host-aging-time 12
When receiving a leave message, igmp-snooping will wait for some time to
see whether to remove interface of igmp-snooping multicast group. The time
is the response time.
no igmp-snooping max-reponse-time
【Parameter】
204
Command line configuration manual
【Usage】
【Example】
GPON(config)#igmp-snooping max-response-time 99
igmp-snooping fast-leave
no igmp-snooping fast-leave
【Default】
Fast-leave disables
【Example】
GPON(config-if-ethernet-2/1)#igmp-snooping fast-leave
205
Command line configuration manual
no igmp-snooping group-limit
【Parameter】
【Example】
GPON(config-if-ethernet-2/1)#igmp-snooping group-limit 99
【Parameter】
【Example】
206
Command line configuration manual
!Configure Ethernet 2/3 not to learn multicast 21:22:5e:22:21:21
【Default】
Disable
【Example】
207
Command line configuration manual
【Command configuration mode】
【Parameter】
【Default】
【Example】
show gmrp
【Example】
GPON(config)#show gmrp
208
Command line configuration manual
【Parameter】
【Usage】
【Example】
e2/1 enable
e2/2 enable
e2/3 enable
e3/2 enable
Total entries: 4
209
Command line configuration manual
Use garp permit multicast mac-address command to add configured static
multicast group to GMRP to be dynamic learned by other switches.
【Parameter】
【Example】
Use show garp permit multicast command to display static multicast group
permitted learning by GMRP.
【Example】
210
Command line configuration manual
Use show igmp-snooping command to display the information of IGMP
snooping
show igmp-snooping
【Example】
GPON(config)#show igmp-snooping
ip igmp
igmp-proxy
ip igmp access-group
ip igmp last-member-query-interval
ip igmp query-interval
ip igmp query-max-response-time
ip igmp static-group
ip igmp create-group
ip igmp robustness-varible
ip igmp limit-group
ip igmp version
ip multicast-routing
show igmp-proxy
show ip igmp groups
211
Command line configuration manual
show ip igmp interface
ip igmp ssm-mapping
mroute igmp
ssm-mapping static
show ip igmp ssm-mapping
1.22.1 ip igmp
ip igmp
no ip igmp
【Default】
【Usage】
Only interface IGMP enables, IGMP packet can be sent and received.
【Example】
GPON(config-if-vlanInterface-1)#ip igmp
1.22.2 igmp-proxy
Use this command to enable IGMP proxy. Use no command to disable IGMP
proxy.
212
Command line configuration manual
igmp-proxy
no igmp-proxy
【Default】
Disable
【Usage】
After enabling IGMP proxy, switch is a master for uplink multicast router
which transfer the collected multicast information from user out through
report packet. Multicast router will transfer multicast flow to switch and switch
will transfer it to downlink user. When there is no master in some multicast,
switch will send leave packet to multicast router and multicast router will stop
transferring multicast data to switch. This function is applied to switch in
network end and it is unnecessary to enable multicast routing protocol to
finish multicast transmission to save switch resources.
【Example】
GPON(config-if-vlanInterface-1)#igmp-proxy
【Parameter】
213
Command line configuration manual
access-list-number:standard IP ACL number which is in the range of 1~99. It
defines a group range in which host can only add to the multicast group.
【Default】
【Usage】
【Example】
!Configure access-list 1
!Specify host in VLAN interface 1 can only be added to the multicast grou
pwhich satisfied rules in access-list 1
214
Command line configuration manual
GPON(config-if-vlanInterface-1) # ip igmp access-group 1
no ip igmp last-member-query-interval
【Parameter】
Seconds the query interval of last member which is in the range of 1 to 64.
【Default】
【Usage】
【Example】
215
Command line configuration manual
ip igmp query-interval seconds
no ip igmp query-interval
【Parameter】
【Default】
【Usage】
If Ethernet switch doesn’t receive query packet from any host member after
overtime(configured by ip igmp querier-timeout command), this switch
becomes the Querier(the switch sending host-query message)
【Example】
216
Command line configuration manual
GPON(config-if-vlanInterface-1)# ip igmp query-interval 122
no ip igmp query-max-response-time
【Parameter】
Seconds : the max response time in query packet of host member which is in
the range of 1 to 32222 seconds.
【Default】
【Usage】
This command can control the time interval for host to response the query
packet of host members. The small time interval can make switch master the
existence of group members. If the response to the query packet of host
members is not quickly, they may be deleted from multicast group though
user doesn’t want. User must configure the interval larger than the shortest
response time.
【Example】
217
Command line configuration manual
GPON(config-if-vlanInterface-1)# ip igmp query-max-response-time 8
【Parameter】
【Default】
VLAN interface
【Usage】
218
Command line configuration manual
multicast flow will transferred to this interface.
【Example】
【Parameter】
【Default】
【Usage】
219
Command line configuration manual
This command is used with ip igmp static-group command. ip igmp static-
group command only creates static multicast group members but not
specifies ingress vlanid, so the multicast packet transferring cannot finished.
This command specifies ingress vlan and creates a complete static multicast
member table to realize the packet transmission of static multicast members.
In VLAN mode, ingress vlanid value is the id of vlan interface.
【Example】
no ip igmp robustness-varible
【Parameter】
【Default】
【Usage】
220
Command line configuration manual
operation of IGMP which is used to control the numberof sending packetto
prevent the loss of the packet in network to strengthen the operation of
network protocol. For example, after receiving the message of the leaving of
the multicast group members, switch need send special group query and the
robustness varible will specifies the number of the special query packet sent
in a certain time interval. In addition, robustness varible is an important
parameter to calculate other variables, such as: existing time of other queries
and group membes are all use robustness variable to calculate.
【Example】
no ip igmp limit-group
【Parameter】
【Default】
221
Command line configuration manual
【Usage】
Use this command to restrict the number of IGMP group added in interface,
the router will not handle IGMP adding packet if it is beyond the restriction.
By default, the max number of IGMP group added in interface is the max
number of multicast group number (that is max hardware table item,
considering it can use up all hareware table items through one interface). In
configuration, if the added number of IGMP group is beyond the
configuration, the added IGMP group will not be deleted. Repeat this
command, the new configuration will cover the original.
【Example】
ip igmp version { 1 | 2 | 3}
no ip igmp version
【Parameter】
1:IGMP Version 1.
2:IGMP Version 2.
3:IGMP Version 3.
【Default】
222
Command line configuration manual
【Command configuration mode】
【Usage】
All system run in the same subnetwork must support the same IGMP
version.switch can find the switch with other version automatically and inform
sys-log, but it cannot shift it automatically.
Some command needs IGMP V2/V3 to be effective, such as: ip igmp query-
max-response-time and ip igmp query-timeout command.
【Example】
1.22.12 ip multicast-routing
ip multicast-routing
no ip multicast-routing
【Default】
【Usage】
Only after enabling multicast router, ethernet switch can receive multicast
packet.
223
Command line configuration manual
Caution: after enabling layer 3 multicast, layer 2 multicast and IGMP
Snooping table item are ineffective.
【Example】
GPON(config)#ip multicast-routing
show igmp-proxy
【Usage】
【Example】
GPON(config)#show igmp-proxy
【Parameter】
224
Command line configuration manual
Any configuration mode
【Usage】
【Example】
【Parameter】
interface-number:intwerface ID
【Usage】
If the parameter is omitted, all interface information which runs IGMP will be
displayed.
【Example】
225
Command line configuration manual
Enable SSM Mappingin configured SSM address range. Use no command
to disable SSM Mapping.
ip igmp ssm-mapping
no ip igmp ssm-mapping
【Parameter】
Non
【Default】
ip igmp ssm-mapping
mroute igmp
【Usage】
226
Command line configuration manual
Use mroute pim command to enter IGMP mode to configure IGMP global
parameter without enabling IGMP protocol. Use exit command to exit to last
mode and use quit to exit to preivileged mode.
【Example】
GPON(config)#mroute igmp
227
Command line configuration manual
1.22.19 show ip igmp ssm-mapping
ip pim dense-mode
ip pim neighbor-limit
228
Command line configuration manual
ip pim neighbor-policy
ip pim query-interval
ip pim sparse-mode
ip pim bsr-border
mroute pim
show ip mroute
show ip pim neighbor
show ip pim interface
show ip pim rp-info
show ip pim bsr
source-policy
static-rp
bsr-candidate
rp-candidate
spt-threshold
ssm
show ip pim ssm range
ip pim dense-mode
no ip pim dense-mode
【Default】
229
Command line configuration manual
Interface configuration mode (including VLAN interface and superVlan
interface)
【Usage】
【Example】
no ip pim neighbor-limit
【Parameter】
【Default】
【Usage】
230
Command line configuration manual
【Example】
no ip pim neighbor-policy
【Parameter】
【Default】
【Usage】
【Example】
!Configure access-list 1
231
Command line configuration manual
GPON (config)# access-list 1 permit 12.2.2.2 2.255.255.255
!Learn the neighbor which is in in VLAN interface 1 and satisfies the rules in
access-list 1
no ip pim query-interval
【Parameter】
【Default】
【Usage】
After enabling PIM-SM protocol, for finding neighbors, switch will send Hello
packet for all network devices supported PIM periodically. If the Hello packet
is received, there is neighbor network device supported PIM, and this
interface will add this neighbor to its interface neighbor list; if interface hasn’t
received the Hello packet from neighbour in its neighbour list, the neighbour
is thought to leave multicast group.
【Example】
232
Command line configuration manual
!Configure query interval of the last member in VLAN interface 1 is 62
seconds
ip pim sparse-mode
no ip pim sparse-mode
【Default】
【Usage】
【Example】
ip pim bsr-border
no ip pim bsr-border
233
Command line configuration manual
【Default】
bsr-border disables
【Usage】
User can divide the network operating PIM-SM into many areas and use
different Bootstrap Router in each area. Caution: This command cannot
establish multicast border but a PIM Bootstrap Router border.
【Example】
mroute pim
【Usage】
mroute PIM command is used to enter PIM to configure the global parameter
of PIM but not enable PIM protocol. Use exit to be back to the last mode and
use quit to be back to privileged mode.
【Example】
234
Command line configuration manual
GPON(config)# mroute pim
Use show ip mroute command to display multicast routing table and current
version only supports PIM multicast routing table.
【Parameter】
group-address:multicast address.
【Usage】
【Example】
GPON(config-if-vlanInterface-1)#show ip mroute
Use show ip pim neighbor command to display neighbor list learnt by PIM.
【Parameter】
235
Command line configuration manual
【Usage】
【Example】
【Parameter】
【Usage】
【Example】
236
Command line configuration manual
show ip pim rp-info
【Parameter】
【Usage】
【Example】
【Usage】
【Example】
237
Command line configuration manual
1.23.13 source-policy
source-policy access-list-number
no source-policy
【Parameter】
【Default】
【Usage】
After configuring source address filtration, the data packet which is not
satisfying filtration rules will be dropped.
Repeat this command, new configuration will cover the last one.
【Example】
GPON(config-pim) # source-policy 1
1.23.14 static-rp
238
Command line configuration manual
static-rp address
no static-rp
【Parameter】
address:RP address
【Default】
【Usage】
All routers in PIM domain must configure this command and specify the
same RP address at the same time.
Repeat this command, new configuration will cover the last one.
【Example】
1.23.15 bsr-candidate
239
Command line configuration manual
no bsr-candidate
【Parameter】
interface;
interface-number:interface number;
32. The longer the mask is, the smaller the discrete of C-BSR is; the shorter
【Default】
【Usage】
Repeat excuting this command ,new configuration will cover the last one.
【Example】
1.23.16 rp-candidate
240
Command line configuration manual
Use this command to configure switch to be Candidate Rendezvous Point,
(C-RP). Use the no command to cancel this configuration. If there is no
group-list parameter, C-RP serves for all groups.
【Parameter】
interface;
interface-number:interface number
of 1~99. It defines the range of a group which is the service range of RP.
priority:C-RP priority which is in the range of 2~255. The C-RP with superior
priority will be selected to be RP;the one with larger IP address with the
same priority will be selected to be RP.
【Default】
【Usage】
Repeat excuting this command ,new configuration will cover the last one.
【Example】
241
Command line configuration manual
!Configure VLAN interface 1 to be C-RP
1.23.17 spt-threshold
Use this command to configure switch threshold shift from RPT to adding to
SPT which is shown as the rate of received multicast packet with the unit of
bps. It supports 2 kinds of fixed thresholds : immediately and infinity,and
immediately is the defult one. Use no command to restore it to immediately.
no spt-threshold
【Parameter】
【Default】
immediately
【Usage】
Repeatly excute this command, new configuration will cover the last one.
【Example】
1.23.18 ssm
242
Command line configuration manual
Define IP multicast address range of SSM. Use no command to cancel it.
ssm {default | range access-list}
no ssm {default | range access-list}
【Parameter】
default:Define IP multicast address range to be 232/8.
range:Specify IP collection based on standard ACL number or name to be
SSM multicast address range.
【Default】
Do not configure SSM multicast address range.
【Command configuration mode】
PIM configuration mode
【Usage】
When excuting this command, in configured SSM multicast address
range,router will not need receive and generate MSDP SA news to
predigest network topology.
Multiple configuration is not permit. The next configuration will cover the
previous one.
The condition for enabling SSM mode:
If multicast group address is in SSM group range, router interface runs
IGMPv3,receiver’s host runs IGMPv3,source address is specified in Report
news, enable SSM mode.
If multicast group address is in SSM group range, router interface runs
IGMPv3,receiver’s host runs IGMPv1 or IGMPv2,SSM Mapping is enabled
in router and there is matched SSM source group mapping rule, enable
SSM mode.
【Example】
Configure SSM through ACL address range:
access-list 4 permit 224.2.151.141
mroute pim
ssm range 4
243
Command line configuration manual
Display SSM Mapping of specific group address.
show ip pim ssm range
【Command configuration mode】
Any configuration mode
【Usage】
Display configured SSM group address range.
【Example】
Display configured SSM group address range.
GPON# show ip pim ssm range
Group Address Mask Length ACL
237.2.2.2 8 1
Totle ssm group range entries:1.
Display default SSM group address range.
GPON# show ip pim ssm range
Group Address Mask Length Desc
232.2.2.2 8 default
244
Command line configuration manual
Command
absolute
access-group
access-list
access-list extended
access-list link
access-list match-order
access-list standard
access-list user
{ permit | deny }
periodic
port-isolation
show access-list config
show access-list config statistic
show access-list runtime all
show access-list runtime statistic
245
Command line configuration manual
show port-isolation
show time-range
time-range
1.24.1 absolute
【Parameter】
start time date:optional choice. Configure the start absolute time. The form
of time is hh:mm:ss,using 24 hours. hh is in the range of 2~23,mm is in the
range of 2-59, and ss is in the range of 2-59. The form of date is
YYYY/MM/DD. day is in the range of 1~31,month is in the range of 1~
12,year is 4 numbers. If the start time is not configured, it means there is no
restriction to the start time but the end time.
end time date:optional choice. Configure the end absolute time. The form of
time and date is the same as the start time and it must be larger than the
start time. If the end time is not configured, it is the max time of system.
【Usage】
Absolute time range can determine a large scale of effective time and restrict
the time range of periodic time. Each time period can define 12 absolute time
range. In the period of configuring absolute time and periodic time, only when
the absolute time range is satisfied, periodic time range can be judged. When
246
Command line configuration manual
the staart time and end time are not specified, the specified time range is the
earlist time the switch can be recognized to the inferior time.
【Example】
!The following time range will be effective from 2:2 Jan 1st, 2222.
GPON(config)#time-range tm1
GPON(config-timerange-tm1)#exit
!The following time range will be effective from 22:22 December 12, 2222
to 22:21
GPON(config)#time-range tm2
GPON(config-timerange-tm2)#exit
!The following time range will be effective from 14:22 to 16:22 in each
weekend from 22:22 December 31, 1999 to 22:22 December 12, 2222.(The
configuration of periodic time range refers to periodic command.)
1.24.2 access-group
247
Command line configuration manual
no access-group { all | [ ip-group { access-list-number | access-list-name }
[ subitem subitem ] ] [ link-group { access-list-number | access-list-name } [
subitem subitem ] ] } }
【Parameter】
Instruction:
【Usage】
This command supports activating accessing control list of layer 2 and layer
3 at the same time, but the action of each accessing control list should not be
conflict, if there is conflict (such as one is permit, the other is deny), the
activation fails. It can support at most 127 l2 and l3 ACL.
【Example】
1.24.3 access-list
Use access-list command to configure a ACL with number ID, which can be:
248
Command line configuration manual
standard ACL, extended ACL, Layer 2 ACL and user-defined ACL. Use no
access-list command to delete all the subitems or one subitem in one ACL
with number ID or name ID or all ACLs.
【Parameter】
249
Command line configuration manual
time-range time-range-name:the name of time range whichh is optional
parameter, and it will be efective in this time period.
Instruction:
Followings are all kinds of attribution with packet. ACL is the rules determined
by the value of these parameter.
protocol:the protocol with the name of numbers and names. The name of
numbers is in the range of 1~255;the name of names is in the range of
icmp, igmp, tcp, udp, gre, ospf and ipinip. This parameter is used in extended
ACL.
established:means this rule is effective to the first SYN packet after the
successful connection of TCP. This is the optional parameter which appears
when the parameter of protocol is tcp. This parameter is used in extended
ACL.
[Port [portmask]]: means the interface range of TCP/UDP. Port:means the tcp
or udp port used by packet which is the optional parameter by using symbols
oe numbers. The number is in the range of 2~65535,and the symbol refers
to symbol table helped to remembered by port number. Portmask is port
mask which is optional and is in the range of 2~65535. When the protocol is
tcp or udp, it can support the configuration in the range of protocol ports.
When configuring port number and mask, user can input octal, decimal or
hex not port to permit all ports; portmask can be 2 or none to express the
port itself, or it can be determined by port and portmask according to the port
range. This rule can support single port configuration which can support the
250
Command line configuration manual
configuration of larger or equal to the port range (accurate to 2n).
[ cos vlan-pri ]: 822.1p priority which is in the range of 2~7. This parameter
can be used in layer 2 ACL.
251
Command line configuration manual
to the number 2 in wildcard) interface interface-num means the layer 2 ports
receiving this packet, any means all packets received by all ports. This
parameter can be used in layer 2 ACL.
Instructions:
all:means all accessing list will be deleted (including number ID and name
ID).
252
Command line configuration manual
between 1~399
【Example】
!Configure ACL 122 to deny packet with the 2xff of TCP source port number
to be 2
【Parameter】
name : character string parameter with initial English letters (that is [a-z,A-Z])
253
Command line configuration manual
with any kind, excluding space and quotation mark; all,any are not allowed.
Instruction:
all:means all accessing list will be deleted (including number ID and name
ID).
【Default】
【Usage】
This command creates an extended ACL with the name of “name”. After
entering the extended ACL configuration mode, use { permit | deny }
command to add subitem of this ACL (use exit command to exit ACL mode).
Each ACL consists of many subitems, and the specified range of the flow
category rules of each subitem is different, and if a packet can match many
254
Command line configuration manual
rules, there must be a matching order. Use match-order to specify the
matching order, whether it is according to user configuration or deep
precedency (precedent to match the rule with the small range). If it is not
specified, it is defaulted to be user configuration order. Once user specifies
the matching order of an ACL, it cannot be changed, unless delete all
subitems of this ACL before respecify the order.
【Example】
!Create an extended ACL with the name to be example and specify the
order to be deep precedency.
Use access-list link command to create a layer 2 ACL with a name ID and
enter layer 2 ACL configuration mode. Use no access-list command to
delete one or all subitems of ACL with number ID or name ID or delete all
ACL.
【Parameter】
name : character string parameter with initial English letters (that is [a-z,A-Z])
with any kind, excluding space and quotation mark; all,any are not allowed.
Instruction:
255
Command line configuration manual
all:means all accessing list will be deleted (including number ID and name
ID).
【Default】
【Usage】
This command creates a layer 2 ACL with the name of “name”. After entering
the laye 2 ACL configuration mode, use { permit | deny }command to add
subitem of this ACL (use exit command to exit ACL mode). Each ACL
consists of many subitems, and the specified range of the flow category
rules of each subitem is different, and if a packet can match many rules,
there must be a matching order. Use match-order to specify the matching
order, whether it is according to user configuration or deep precedency
(precedent to match the rule with the small range). If it is not specified, it is
defaulted to be user configuration order. Once user specifies the matching
order of an ACL, it cannot be changed, unless delete all subitems of this ACL
before respecify the order.
【Example】
256
Command line configuration manual
!Create a layer 2 ACL with the name to be example and specify the order to
be deep precedency.
【Parameter】
【Default】
【Usage】
Each ACL consists of many subitems, and the specified range of the flow
category rules of each subitem is different, and if a packet can match many
rules, there must be a matching order. Use this command to specify the
matching order, whether it is according to user configuration or deep
precedency (precedent to match the rule with the small range). If it is not
specified, it is defaulted to be user configuration order. Once user specifies
the matching order of an ACL, it cannot be changed, unless delete all
subitems of this ACL before respecify the order.
257
Command line configuration manual
【Example】
【Parameter】
name : character string parameter with initial English letters (that is [a-z,A-Z])
with any kind, excluding space and quotation mark; all,any are not allowed.
Instruction:
all:means all accessing list will be deleted (including number ID and name
ID).
258
Command line configuration manual
subitem subitem:optional parameter which specifies which subitem to be
deletedinthe list. It is in the range of 2~127. If it is unspecified, all subitems
will be deleted.
【Default】
【Usage】
This command creates a standard ACL with the name of “name”. After
entering the standard ACL configuration mode, use { permit | deny }
command to add subitem of this ACL (use exit command to exit ACL mode).
Each ACL consists of many subitems, and the specified range of the flow
category rules of each subitem is different, and if a packet can match many
rules, there must be a matching order. Use match-order to specify the
matching order, whether it is according to user configuration or deep
precedency (precedent to match the rule with the small range). If it is not
specified, it is defaulted to be user configuration order. Once user specifies
the matching order of an ACL, it cannot be changed, unless delete all
subitems of this ACL before respecify the order.
【Example】
!Create a standard ACL with the name to be example and specify the order
to be deep precedency.
Use this command to add a subitem to ACL with the name ID.
259
Command line configuration manual
{ permit | deny } { source-addr source-wildcard | any } [ fragments ] [ time-
range time-range-name ]
【Parameter】
Instruction:
Followings are all kinds of attribution with packet. ACL is the rules determined
by the value of these parameter.
260
Command line configuration manual
extended ACL.
protocol:the protocol with the name of numbers and names. The name of
numbers is in the range of 1~255;the name of names is in the range of
icmp, igmp, tcp, udp, gre, ospf and ipinip. This parameter is used in extended
ACL.
established:means this rule is effective to the first SYN packet after the
successful connection of TCP. This is the optional parameter which appears
when the parameter of protocol is tcp. This parameter is used in extended
ACL.
[Port [portmask]]: means the interface range of TCP/UDP. Port:means the tcp
or udp port used by packet which is the optional parameter by using symbols
oe numbers. The number is in the range of 2~65535,and the symbol refers
to symbol table helped to remembered by port number. Portmask is port
mask which is optional and is in the range of 2~65535. When the protocol is
tcp or udp, it can support the configuration in the range of protocol ports.
When configuring port number and mask, user can input octal, decimal or
hex not port to permit all ports; portmask can be 2 or none to express the
port itself, or it can be determined by port and portmask according to the port
range. This rule can support single port configuration which can support the
configuration of larger or equal to the port range (accurate to 2n).
261
Command line configuration manual
precedence precedence:optional parameter which means IP priority. It can
be number and name which is in the range of 2~7. This parameter can be
used in extended ACL.
[ cos vlan-pri ]: 822.1p priority which is in the range of 2~7. This parameter
can be used in layer 2 ACL.
262
Command line configuration manual
{ rule-string rule-mask offset }&<1-22>:rule-string is the character string for
users to define rules which must be in the form of hex with even numbers of
characters; rule-mask offset is used for distilling packet information, rule-
mask is inerratic mask which is used to collation operation of data packet,
offset is sideplay mount which is with the standard of the packet head and
specifies to collation operate from which bit, rule-mask offset effects together
which will compare the character string distilled from packet with rule-string
defined by user itself to find the matched packet before handling. &<1-22>
means at most 22 rules can be defined. ingress interface interface-
num,egress interface interface-num :the name of layer 2 interface,
interface-num means one interface, cpu means cpu interface. This
parameter can be used in user-determined ACL.
Instructions:
all:means all accessing list will be deleted (including number ID and name
ID).
【Parameter】
【Parameter】
263
Command line configuration manual
Entering ACL configuration mode, user this command to establish an ACL
subitem. This command can be used repeatedly. Establish many subitems
for an ACL. There can be 128 subitems in total. If this ACL has activated, add
subitems are not allowed.
【Example】
!Create a standard ACL with the name to be example and specify the
matching order to be deep precedency.
GPON(config-std-nacl-example)#permit 192.168.3.1 2
GPON(config-std-nacl-example)#
1.24.9 periodic
【Parameter】
264
Command line configuration manual
Friday);
day-of-the-week behind to:means the time period will not be effected in the
day of week. It defines a time range with the day-of-the-week before to. The
day-of-the-week before or after to can only have one value, that is, the day
between Monday and Sunday, and the one chosen before to must be earlier
than the day chosen after it, such as: if the first day-of-the-week is wed,day-
of-the-week after to can only be wed, thu, fri or sat. If there are two or more
values before to, there will not be any value of day-of-the-week after it.
hh:mm:ss :The first is the start time and the second is the end time.
【Usage】
Or:
【Example】
265
Command line configuration manual
GPON(config)#time-range 1to5
GPON(config-timerange-1to5)#exit
GPON(config)#time-range all_day
GPON(config-timerange-all_day)#exit
!The time range is effective in 8:22 to 18:22 from every Monday to Friday
GPON(config)#time-range 1to5
GPON(config-timerange-1to5)#exit
GPON(config)#time-range wend2
GPON(config-timerange-wend2)#exit
GPON(config)#time-range wendafternoon
18:22
GPON(config-timerange-wendafternoon)#exit
1.24.10 port-isolation
266
Command line configuration manual
port-isolation { interface-list }
【Parameter】
all:Means all the interfaces. When the keyword all is specified, all the
interfaces in the system are added to a VLAN by using the switchport
command, and all the interfaces are removed from a VLAN by using the no
switchport command.
【Example】
!Add Ethernet 2/1 ethernet 2/3 to ethernet 2/5 ethernet 2/8 to be port
isolation downlink port
!Delete ethernet 2/3 to ethernet 2/5 ethernet 2/8 from port isolation
downlink port
267
Command line configuration manual
Use this command to add a port member to a port group. Use the no
commandtodelete a or some member.
【Parameter】
【Example】
268
Command line configuration manual
name }
【Parameter】
all means all ACL (including the one with number ID and name ID)
【Usage】
【Example】
【Example】
269
Command line configuration manual
!Display statistics information of ACL.
【Parameter】
all means all ACL (including the one with number ID and name ID)
【Usage】
【Example】
270
Command line configuration manual
information.
【Example】
show port-isolation
【Example】
GPON(config)#show port-isolation
【Parameter】
271
Command line configuration manual
time-range-name:the name of time range with initial English letters (that is [a-
z,A-Z]) with any kind which is in the range of 1 to 32 characters.
【Usage】
status for about 1 minute, and show time-range will judge it through
current time, the fact that show time-range saw a time range has been
activated, but its access-list hasn’t is normal.
【Example】
1.24.18 time-range
time-range time-range-name
272
Command line configuration manual
【Parameter】
time-range-name:the name of time range with initial English letters (that is [a-
z,A-Z]) with any kind which is in the range of 1 to 32 characters.
【Example】
GPON(config)#time-range tm1
GPON(config-timerange-tm1)#
273
Command line configuration manual
Command
clear traffic-statistic
line-rate
mirrored-to
queue-scheduler
queue-scheduler cos-map
queue-scheduler dscp-map
rate-limit
show qos-info all
show qos-info mirrored-to
show qos-info statistic
show qos-info traffic-copy-to-cpu
show qos-info traffic-priority
show qos-info traffic-redirect
show qos-info traffic-statistic
show qos-interface all
274
Command line configuration manual
show qos-interface line-rate
show qos-interface rate-limit
show qos-interface statistic
show queue-scheduler
show queue-scheduler cos-map
show queue-scheduler dscp-map
storm-control
traffic-copy-to-cpu
traffic-priority
traffic-redirect
traffic-statistic
【Parameter】
275
Command line configuration manual
number which is in the range of 222~299;access-list-name:name of
accessing list. Character string is in the form of initial capitalized characters
([a-z, A-Z]), excluding space and quotation mark;subitem subitem:optional
parameter, specifies the subitem in accessing list which is in the range of 2~
127. If it is not specified, all subitems will be clear.
【Usage】
【Example】
Use line-rate command to limit port speed and the total speed of sending
packet. Use no line-rate command to cancel the configuration of speed
limitation.
no bandwidth egress
【Parameter】
【Usage】
276
Command line configuration manual
Use this command to limit port speed and the total speed of sending packet.
【Example】
GPON(config-if-fastEthernet-1)#line-rate 12
1.25.3 mirrored-to
277
Command line configuration manual
interface { interface-num }:specified data flow destination mirror interface.
interface-num is the interface number.
【Usage】
Use this command to flow mirror the data packet which matched specified
accessing list regulations (it is only be effective for permit rules of accessing
list). The interface of destination mirror cannot be Trunk or convergent
interface. Switch can only support one destination mirror port. Mirror
destination port must be specified when using this command to configure
flow mirror for the first time.
【Example】
!Mirror flow the data packet which matches the permit rules of accessing list
1 to ethernet 1
1.25.4 queue-scheduler
no queue-scheduler
【Parameter】
278
Command line configuration manual
distribution;queue2-weight:means the weight of the queue 2, that is the
percentage of bandwidth distribution;queue3-weight:means the weight of
the queue 3, that is the percentage of bandwidth distribution.
【Usage】
【Example】
GPON(config)#queue-scheduler wrr 22 22 32 32
【Parameter】
queue-number:Range from 2 to 3
279
Command line configuration manual
【Default】
822.1p: 2 1 2 3 4 5 6 7
packed-priority: 2 2 1 1 2 2 3 3
【Usage】
【Example】
GPON(config)#queue-scheduler cos-map 1 6
Use this command to configure the mapping relationship between DSCP and
8 priority in IEEE 822.1p.
【Parameter】
【Default】
280
Command line configuration manual
【Usage】
Use this command together with queue-scheduler cos-map, which can get
the mapping between dscp and hardware queue.
【Example】
GPON(config)#queue-scheduler dscp-map 2 5
1.25.7 rate-limit
【Parameter】
281
Command line configuration manual
:means standard or extended accessing control list. access-list-
number:sequence number of accessing list which is in the range of 1~199;
access-list-name:the name of accessing list which is the character string and
in the form of initial capitalized characters ([a-z, A-Z]), excluding space and
quotation mark;subitem subitem:optional parameter, specifies the subitem
in accessing list which is in the range of 2~127. If it is not specified, all
subitems will be clear.
【Usage】
Use this command to flow mirror the data packet which matched specified
accessing list regulations (it is only be effective for permit rules of accessing
list).
【Example】
282
Command line configuration manual
!Flow control the data packet which matches the permit rules of accessing
list 1. The normal flow is 64kbps. The data packet beyond this flow will be
dropped.
【Parameter】
【Default】
【Usage】
Use this command to configure two rate policer mode. When color-aware
mode enables, dscp-map is enabled.
【Example】
Use this command to configure two rate policer to traffic monitor the color of
incoming packet.
283
Command line configuration manual
two-rate-policer set-pre-color dscp-value {green | yellow | red }
【Parameter】
【Default】
【Usage】
Use this command to configure two rate policer to traffic monitor the color of
incoming packet which can only worked in color-aware mode,when the
incoming packet is configured to be green,the outputting packet color is the
same as that in color-blind mode;when the incoming packet is configured to
be yellow,the speed of which is beyond pir, packet will turn to red and others
are yellow;when configuring to be red,outputting packet is still red.
【Example】
284
Command line configuration manual
Any configuration mode
【Usage】
【Example】
【Usage】
Use this command to display flow mirror configuration, including flow mirror
accessing list,flow mirror interface.
【Example】
285
Command line configuration manual
【Command configuration mode】
【Usage】
Use this command to display all QoS statistics information, including priority,
redirection, flow statistics, flow mirror, and copy packet to CPU.
【Example】
【Usage】
【Example】
286
Command line configuration manual
show qos-info traffic-priority
【Usage】
【Example】
【Usage】
【Example】
287
Command line configuration manual
information.
【Usage】
Use this command to display flow statistics, including accessing list of flow
statistics and packet number.
【Example】
【Parameter】
【Usage】
【Example】
288
Command line configuration manual
GPON#show qos-info all
【Parameter】
【Usage】
【Example】
【Parameter】
289
Command line configuration manual
【Command configuration mode】
【Usage】
If no parameter is input, this command will display interface flow speed limit.
If interface is input, this command will display interface flow speed limit of
specified interface, includes: interface flow speed limit accessing list, average
speed rate and related monitor configuration.
【Example】
【Example】
show queue-scheduler
290
Command line configuration manual
【Command configuration mode】
【Example】
GPON#show queue-scheduler
【Example】
【Example】
291
Command line configuration manual
GPON(config)#show queue-scheduler dscp-map
【Parameter】
【Example】
GPON#show two-rate-policer
1.25.25 storm-control
【Parameter】
292
Command line configuration manual
【Command configuration mode】
【Example】
1.25.26 traffic-copy-to-cpu
【Parameter】
293
Command line configuration manual
accessing list. Character string is in the form of initial capitalized characters
([a-z, A-Z]), excluding space and quotation mark;subitem subitem:optional
parameter, specifies the subitem in accessing list which is in the range of 2~
127. If it is not specified, all subitems will be clear.
【Usage】
Use this command to copy specified accessing list packet to CPU (it is only
be effective for permit rules of accessing list).
【Example】
!Copy the data packet which matches the permit rules of accessing list 1 to
CPU
GPON(config)#traffic-copy-to-cpu ip-group 1
1.25.27 traffic-priority
【Parameter】
294
Command line configuration manual
:means standard or extended accessing control list. access-list-
number:sequence number of accessing list which is in the range of 1~199;
access-list-name:the name of accessing list which is the character string and
in the form of initial capitalized characters ([a-z, A-Z]), excluding space and
quotation mark;subitem subitem:optional parameter, specifies the subitem
in accessing list which is in the range of 2~127. If it is not specified, all
subitems will be clear.
【Usage】
Use this command to mark priority to specified ACL.(it is only be effective for
permit rules of accessing list). There are three types of priority (dscp, cos, IP
priority and local priority). Switch can locate packet to interface outputting
295
Command line configuration manual
queue according to the cos value (that is 822.1p priority) and also can locate
packet to corresponding outputting queue according to the specified local
priority. If both 822.1p priority and local priority are configured, 822.1p priority
will be precedent to use.
【Example】
!Configure the priority of data packet which matches the permit rules of
accessing list 1 to be 2
1.25.28 traffic-redirect
【Parameter】
296
Command line configuration manual
【Command configuration mode】
【Usage】
Use this command to redirect the data packet which matched specified
accessing list regulations (it is only be effective for permit rules of accessing
list). The redirect can be used in some protocol packet needed handle by
CPU or the packet needed CPU to find routing.
【Example】
!Redirect the data packet which matches the permit rules of accessing list 1
to ethernet 1
1.25.29 traffic-statistic
【Parameter】
297
Command line configuration manual
quotation mark;subitem subitem:optional parameter, specifies the subitem
in accessing list which is in the range of 2~127. If it is not specified, all
subitems will be clear.
【Usage】
Use this command to statistic traffic the data packet which matched specified
accessing list regulations (it is only be effective for permit rules of accessing
list). The new configuration of traffic statistics will eliminate corresponding
traffic statistics.
【Example】
!Statistic traffic of the data packet which matches the permit rules of
accessing list 1
GPON(config)#traffic-statistic ip-group 1
298
Command line configuration manual
Command
299
Command line configuration manual
1.26.1 show spanning-tree interface
【Parameter】
【Usage】
【Example】
300
Command line configuration manual
Use this command to display remote loop detect.
【Parameter】
【Usage】
Use this command to display remote loop detect and whether interface is
block caused by loop
【Example】
1.26.3 spanning-tree
spanning-tree
301
Command line configuration manual
no spanning-tree
【Default】
【Example】
GPON(config)#spanning-tree
GPON(config-if-ethernet-2/8)#no spanning-tree
Use spanning-tree cost command to configure the path cost of the current
port in a specified spanning tree. Use no spanning-tree cost command to
restore to the default path cost of the current port in the specified spanning
tree.
no spanning-tree cost
【Parameter】
cost:Path cost to be configured for the port. This keyword ranges from 1 to
65535
【Default】
In IEEE 822.1D protocol, the default cost is determined by the speed of the
port. The port with the speed 12M have the cost of 122,122M, 19.
302
Command line configuration manual
Interface configuration mode
【Usage】
【Example】
GPON(config-if-ethernet-2/8)#spanning-tree cost 22
no spanning-tree forward-time
【Parameter】
【Default】
【Usage】
When this switch is the root bridge, port state transition period is the Forward
Delay time, which is determined by the diameter of the switched network.
The longer the diameter is, the longer the time is. The default forward delay
time, 15 seconds is suggested to use.
303
Command line configuration manual
【Example】
GPON(config)#spanning-tree forward-time 22
no spanning-tree hello-time
【Parameter】
【Default】
【Usage】
The system periodically sents STP messages. The period of a root bridge
sending STP messages is the hello time. Hello time is suggested to use 2
seconds.
304
Command line configuration manual
【Example】
GPON(config)#spanning-tree hello-time 8
no spanning-tree max-age
【Parameter】
【Default】
【Usage】
Max Age is used to configure the longest aging interval of STP. Dropping
message when overtiming. The STP will be frequently accounts and take
crowded network to be link fault, if the value is too small. If the value is too
large, the link fault cannot be known timely. Max Age is determined by
diameter of network, and the default time of 22 seconds is suggested.
【Example】
305
Command line configuration manual
!Configure the Max Age to 12 seconds
GPON(config)#spanning-tree max-age 12
no spanning-tree port-priority
【Parameter】
【Default】
【Usage】
The smaller the value of priority is, the superior the priority is, and the port is
easier to be a root port.
【Example】
GPON(config-if-ethernet-2/1)#spanning-tree port-priority 64
When operation RSTP protocol, and port is in the compatible mode. Use
306
Command line configuration manual
spanning-tree mcheck command to force the port sent RSTP message.
spanning-tree mcheck
【Example】
GPON(config-if-ethernet-2/7)#spanning-tree mcheck
no spanning-tree point-to-point
【Parameter】
forcefalse:Specifies that the link connected to the current Ethernet port is not
a point-to-point link.
forcetrue: Specifies that the link connected to the current Ethernet port is a
point-to-point link.
【Default】
Auto
307
Command line configuration manual
【Example】
spanning-tree portfast
no spanning-tree portfast
【Default】
【Usage】
【Example】
GPON(config-if-ethernet-2/7)#spanning-tree portfast
308
Command line configuration manual
no spanning-tree transit-limit
【Parameter】
【Default】
【Example】
GPON(config-if-ethernet-2/7)#spanning-tree transit-limit 5
no spanning-tree priority
【Parameter】
【Default】
32768
309
Command line configuration manual
Global configuration mode
【Usage】
Configure STP priority when STP enables, and the inferior priority of the
switch can be the root bridge.
【Example】
no spanning-tree mode
【Parameter】
【Default】
rstp
【Example】
310
Command line configuration manual
Use spanning-tree remote-loop-detect command to enable remote loop
detect. Use no spanning-tree remote-loop-detect command to disable
remote loop detect.
spanning-tree remote-loop-detect
no spanning-tree remote-loop-detect
【Usage】
【Example】
clear spanning-tree
【Parameter】
311
Command line configuration manual
num, in which slot-num is in the range of 2 to 2, and port-num is in the range
of 1 to 24. Seriate(sequential?) interfaces with the same type can be linked
by to keyword, but the port number to the right of the to keyword must be
larger than the one to the left of the keyword, and this argument only can be
repeated for up to 3 times.
【Example】
GPON(config)#clear spanning-tree
312
Command line configuration manual
spanning-tree mst instance port-priority
show spanning-tree mst config-id
show spanning-tree mst instance interface
Following commands:
spanning-tree forward-time;
spanning-tree hello-time;
spanning-tree max-age;
spanning-tree portfast;
spanning-tree point-to-point
【Parameter】
【Default】
313
Command line configuration manual
The default hops is 22
【Example】
【Parameter】
【Default】
【Example】
314
Command line configuration manual
MSTP.
【Parameter】
【Default】
【Example】
【Parameter】
315
Command line configuration manual
【Default】
【Example】
【Parameter】
priority:the priority of network bridge which is the integer times of 4296 in the
range of 2-61442
【Default】
【Example】
316
Command line configuration manual
1.27.6 spanning-tree mst external cost
【Parameter】
【Default】
【Example】
【Parameter】
【Default】
317
Command line configuration manual
The cost for port in each instance is 222222
【Example】
【Parameter】
【Default】
【Example】
318
Command line configuration manual
1.27.9 show spanning-tree mst config-id
【Example】
【Parameter】
319
Command line configuration manual
Any configuration mode
【Example】
320
Command line configuration manual
aaa
access-limit
default domain-name enable
domain
show domain
radius host binding
state
1.28.1 aaa
aaa
【Usage】
【Example】
321
Command line configuration manual
GPON(config)#aaa
GPON(config-aaa)#
1.28.2 access-limit
access-limit disable
【Parameter】
【Default】
disable,means no limitation
【Usage】
A domain can limit the maximum number of access user that can be
contained in current domain. The related link with the domain is the domain
name of the authenticate username must be the current domain and using its
authentication, authorization and accounting. If there is no related link to the
domain, the number of access user can be modified; if there are several
related link, the new limitation cannot be conflict with the syatem operation,
such as: there are 8 related links, the new limitatiom of the link number must
be larger or qual to 8 or non-limitation. Use state command to change it into
smaller one after shutdown related link.
【Example】
322
Command line configuration manual
!Configure the maximum number of access user that can be contained in
domain green.com to 522
【Parameter】
【Usage】
When the default domain name is disabled, switch will not deal with the
invalid message, if the username goes without the domain name. After the
default domain name is enabling, switch will add @ and default domain
name to a username wothout a domain name to authenticate. To configure a
default domain which must be existed, or the configuration fails.
【Example】
323
Command line configuration manual
【Related command】
domain
1.28.4 domain
domain domain-name
no domain domain-name
【Parameter】
【Usage】
After the creation of a domain, use state active to activate it before use.
【Example】
GPON(config-aaa)#domain green.com
GPON(config-aaa-green.com)#
324
Command line configuration manual
GPON(config-aaa)#no domain green.com
【Related command】
【Parameter】
【Example】
GPON(config-aaa-green.com)#show domain
【Parameter】
325
Command line configuration manual
Domain configuration mode
【Example】
【Related command】
1.28.7 state
【Parameter】
【Default】
The default state of the created domain is block, and uses this command to
activate it before use. It is to avoid using the unconfigured domain in
configuring. Activate it after all configuration finished.
【Usage】
【Example】
!Activate green.com
326
Command line configuration manual
GPON(config-aaa-green.com)#state active
【Related command】
domain
accounting-on
acct-secret-key
auth-secret-key
dnrate-value
h3c-cams
nas-ipaddress
primary-acct-ip
primary-auth-ip
show radius attribute
show radius config-attribute
show radius host
uprate-value
radius 8021p
radius accounting
radius attribute
radius bandwidth-limit
radius config-attribute
radius host
radius mac-address-number
327
Command line configuration manual
radius server-disconnect drop 1x
radius vlan
realtime-account
second-acct-ip
second-auth-ip
username-format
1.29.1 accounting-on
【Parameter】
enable:start function
disable:close function
【Default】
By default, it disables
【Command mode】
【Example】
!Enable
1.29.2 acct-secret-key
328
Command line configuration manual
command no means to delete this operation.
acct-secret-key key
no acct-secret-key
【Parameter】
【Default】
By default, it is none
【Command mode】
【Example】
GPON(config-aaa-radius-green)#acct-secret-key 123
1.29.3 auth-secret-key
auth-secret-key key
no auth-secret-key
【Parameter】
【Default】
By default, it is none
【Command mode】
329
Command line configuration manual
RADIUS server configuration mode
【Example】
GPON(config-aaa-radius-green)#auth-secret-key 123
1.29.4 dnrate-value
dnrate-value value
【Parameter】
【Default】
By default, it is 5
【Command mode】
【Example】
GPON(config-aaa)#dnrate-value 7
【Commands】
h3c-cams
1.29.5 h3c-cams
330
Command line configuration manual
h3c-cams { disable | enable }
【Parameter】
enable:start function
disable:close function
【Default】
By default , it disables
【Command mode】
【Example】
GPON(config-aaa)#h3c-cams enable
1.29.6 nas-ipaddress
nas-ipaddress nas-ip
no nas-ipaddress
【Parameter】
nas-ip: IP address
【Default】
【Command mode】
331
Command line configuration manual
【Example】
1.29.7 primary-acct-ip
no primary-acct-ip
【Parameter】
【Default】
【Command mode】
【Example】
1.29.8 primary-auth-ip
332
Command line configuration manual
no primary-auth-ip
【Parameter】
【Default】
【Command mode】
【Example】
【Parameter】
None
【Command mode】
【Example】
333
Command line configuration manual
GPON(config)# show radius attribute
【Parameter】
None
【Command mode】
【Example】
【Parameter】
【Command mode】
【Example】
334
Command line configuration manual
GPON(config-aaa-radius-default)#show radius host
1.29.12 uprate-value
uprate-value value
【Parameter】
【Default】
By default, it is 2
【Command mode】
【Example】
GPON(config-aaa)# uprate-value 7
【Commands】
h3c-cams
no radius 8021p
【Parameter】
335
Command line configuration manual
None
【Default】
Close function
【Command mode】
【Usage】
【Example】
!Enable function
[no]radius accounting
【Parameter】
None
【Default】
Enable authentication
【Command mode】
336
Command line configuration manual
【Example】
!Disable accounting
【Parameter】
None
【Default】
【Command mode】
【Example】
This command is to modify user port bandwidth control after configuring user
authentication, with command no means to delete related configuration.
no radius bandwidth-limit
【Parameter】
337
Command line configuration manual
None
【Default】
【Command mode】
【Usage】
【Example】
!Start function
【Parameter】
type: attribution id
338
Command line configuration manual
【Command mode】
【Example】
This command is to create RADIUS server and enter into the configuration
mode of RADIUS server. If RADIUS server exists, enter into the
configuration mode of server. With command no means delete radius-
scheme selected RADIUS server.
no radius radius-scheme
【Parameter】
【Command mode】
【Example】
GPON(config-aaa-radius-myScheme)#
【Commands】
339
Command line configuration manual
1.29.19 radius mac-address-number
no radius mac-address-number
【Parameter】
None
【Default】
【Command mode】
【Usage】
【Example】
!Start function
This command is to configure user off line or not in the accounting system,
with command no means delete the operation.
340
Command line configuration manual
no radius server-disconnect drop 1x
【Parameter】
None
【Default】
【Command mode】
【Example】
!Enable function
no radius vlan
【Parameter】
None
【Default】
【Command mode】
【Usage】
341
Command line configuration manual
PVID value passes through RADIUS packets Tunnel-Pvt-Group-ID attribution
id.
【Example】
!Start function
1.29.22 realtime-account
no realtime-account
【Parameter】
【Default】
【Command mode】
【Example】
GPON(config-aaa-radius-green)#realtime-account interval 30
342
Command line configuration manual
GPON(config-aaa-radius-green)#no realtime-account
1.29.23 second-acct-ip
no second-acct-ip
【Parameter】
【Default】
【Command mode】
【Example】
1.29.24 second-auth-ip
no second-auth-ip
343
Command line configuration manual
【Parameter】
【Default】
【Command mode】
【Example】
1.29.25 username-format
username-format with-domain
username-format without-domain
【Parameter】
【Default】
With domain
344
Command line configuration manual
【Usage】
【Example】
!Configure the username sent to the RADIUS server with the name of
green not to carry domain name.
GPON(config-aaa-radius-green)#username-format without-domain
【Related command】
radius host
dot1x
dot1x daemon
dot1x eap-finish
dot1x eap-transfer
dot1x max-user
dot1x port-control
dot1x re-authenticate
dot1x re-authentication
dot1x timeout re-authperiod
dot1x user cut
show dot1x
show dot1x daemon
345
Command line configuration manual
show dot1x interface
show dot1x session
no dot1x
【Default】
802.1X disables
【Usage】
【Example】
!Disable 802.1X
GPON(config)#no dot1x
When 822.1x enables, configure whether a port send 822.1x daemon and
sending period.
346
Command line configuration manual
no dot1x daemon
【Parameter】
【Default】
822.1x daemon is not sent by default. When 822.1x enables, default interval
to send daemon is 62seconds.
【Usage】
【Example】
!Enable dot1x daemon on ethernet 2/5 with the period time of 22 seconds
!Configure dot1x daemon of ethernet 2/5 globally with the period time of 22
seconds
347
Command line configuration manual
GPON(config)# dot1x daemon time 22 interface ethernet 2/5
dot1x eap-finish
【Default】
【Usage】
【Example】
GPON(config)#dot1x eap-finish
【Related command】
348
Command line configuration manual
dot1x eap-transfer
dot1x eap-transfer
【Default】
【Usage】
【Example】
GPON(config)#dot1x eap-transfer
【Related command】
dot1x eap-finish
349
Command line configuration manual
dot1x max-user host-num
no dot1x max-user
【Parameter】
【Default】
【Usage】
【Example】
350
Command line configuration manual
1.30.6 dot1x port-control
no dot1x port-control
【Parameter】
auto:Means needing authentication. User of this type of interface can get the
resource from the LAN after authentication.
【Default】
【Usage】
After 822.1X enables, the port control mode of RADIUS server is configured
to be forceauthorized, so that the information of authenticator can be
delivered to RADIUS server for authentication.
The port for user can be configured to be auto. User of this type of interface
can get the resource from the LAN after authentication.
【Example】
351
Command line configuration manual
!Ethernet 2/5 is RADIUS server port. Configure port-control mode of
ethernet 2/5 to be forceauthorized in interface configuration mode
【Related command】
dot1x
dot1x re-authenticate
【Usage】
【Example】
GPON(config-if-ethernet-2/5)#dot1x re-authenticate
352
Command line configuration manual
Use no dot1x re-authentication command to disable 822.1x re-
authentication.
dot1x re-authentication
no dot1x re-authentication
【Default】
【Usage】
【Example】
GPON(config-if-ethernet-2/5)#dot1x re-authentication
【Related command】
353
Command line configuration manual
no dot1x timeout re-authperiod [ interface interface-num ]
【Parameter】
【Default】
【Usage】
【Example】
【Parameter】
354
Command line configuration manual
mac-address:Mac address of user to be removed
【Example】
no dot1x detect
【Parameter】
【Default】
By default, close 1x heartbeat ,when opening, send the packets every 25s
【Command mode】
【Usage】
【Example】
355
Command line configuration manual
!Enable 1x heartbeat detection, interval time is 50s
Configure static function, when 802.1x users fail the authentication, it can’t
continue to verify in some period .
【Parameter】
【Default】
By default, it disables.
【Command mode】
【Usage】
【Example】
show dot1x
356
Command line configuration manual
Any configuration mode
【Usage】
【Example】
GPON(config)#show dot1x
【Parameter】
【Example】
【Parameter】
357
Command line configuration manual
interface-num:Optioned interface number
【Usage】
【Example】
【Parameter】
【Usage】
Use this command to display and detect the information of onlined user
【Example】
358
Command line configuration manual
GPON(config)#show dot1x session
359
Command line configuration manual
Use the show sntp client command to display the information about SNTP
client configuration and running.
360
Command line configuration manual
【Command configuration mode 】
【Example】
Use sntp client command to enable SNTP client. Use no sntp client
command to disable SNTP client.
sntp client
no sntp client
【Usage】
【Example】
GPON(config)#sntp client
361
Command line configuration manual
【Default】
【Example】
【Parameter】
【Default】
No authentication-key
【Usage】
362
Command line configuration manual
【Command configuration mode】
【Example】
【Parameter】
【Default】
3 milliseconds
【Usage】
【Example】
363
Command line configuration manual
GPON(config)#sntp client broadcastdelay 1222
Use sntp client mode command to configure the operation mode of SNTP
client. Use no sntp client mode command to restore the default operation
mode of SNTP client.
【Parameter】
unicast:Unicast mode
broadcast:Broadcast mode
multicast:Multicast mode
anycast:Anycast mode
【Default】
Broadcast mode
【Usage】
Use sntp client mode command to configure the operation mode of SNTP
client. Only when SNTP client enables, this command is effective.
【Example】
364
Command line configuration manual
GPON(config)#sntp client mode anycast
【Parameter】
【Default】
【Usage】
【Example】
365
Command line configuration manual
sntp client poll-interval seconds
【Parameter】
【Default】
1222 seconds
【Usage】
【Example】
【Parameter】
366
Command line configuration manual
【Default】
non-retransmit(2)
【Usage】
【Example】
【Parameter】
【Default】
5 seconds
367
Command line configuration manual
Global configuration mode
【Usage】
【Example】
Use sntp client valid-server command to add a filtration list item of valid
-server. Use no sntp client valid-server command to remove a filtration list
item of valid-server.
【Parameter】
【Usage】
368
Command line configuration manual
【Example】
no sntp server
【Parameter】
ip-address:Server ip-address.
【Usage】
【Example】
369
Command line configuration manual
sntp client summer-time { dayly start-month start-day start-time end-month
end-day end-time | weekly start-month start-week start-weekday start-time
end-month end-week end-weekday end-time}
【Parameter】
【Default】
【Usage】
Normally, end time of summer time is bigger than start time,it corresponds to
the northern hemisphere's summer-time; start time of summer time is bigger
than end time,it corresponds to the southern hemisphere's summer-
time.Then the range of summer-time is from start time to year end plus from
the beginning time to the end time.
【Command mode】
370
Command line configuration manual
【Example】
【Parameter】
【Default】
【Usage】
【Example】
!Configure trusted-key to be 12
GPON(config)#sntp trusted-key 12
371
Command line configuration manual
Command
show logging
show logging buffered
show logging flash
show logging filter
show debug
logging
logging sequence-numbers
logging timestamps
logging language
logging monitor
terminal monitor
logging buffered
clear logging buffered
logging flash
clear logging flash
372
Command line configuration manual
logging host
logging facility
logging source
logging snmp-agent
debug
upload logging
show logging
【Example】
GPON(config)#show logging
【Parameter】
xxx:Means the name of the module. … means other modules are omitted.
373
Command line configuration manual
Any configuration mode
【Usage】
Use keyword “level-list” to display the specified level information in list. If the
“level-list” is not specified, the information of the higher level (The smaller the
level number is, the higher the level is.) and the equal level will be displayed.
【Example】
【Parameter】
xxx:Means the name of the module. … means other modules are omitted.
【Usage】
Use keyword “level-list” to display the specified level information in list. If the
“level-list” is not specified, the information of the higher level (The smaller the
level number is, the higher the level is.) and the equal level will be displayed.
【Example】
374
Command line configuration manual
GPON(config)#show logging flash module vlan
【Parameter】
【Example】
show debug
【Example】
GPON(config)#show debug
375
Command line configuration manual
1.32.6 logging
logging
no logging
【Default】
Syslog enables
【Example】
!Enable Syslog
GPON(config)#logging
logging sequence-numbers
no logging sequence-numbers
【Default】
376
Command line configuration manual
【Example】
GPON(config)#logging sequence-numbers
no logging timestamps
【Parameter】
【Default】
【Example】
377
Command line configuration manual
logging language { english | chinese }
【Parameter】
【Default】
【Example】
【Parameter】
all:All terminals
378
Command line configuration manual
Telnet terminal.
xxx:Means the name of the module. … means other modules are omitted.
【Default】
Filter regulations of all terminals are to allow all modules of all levels except
level 6 to output information
【Usage】
Use keyword “level-list” to display the specified level information in list. If the
“level-list” is not specified, the information of the higher level (The smaller the
level number is, the higher the level is.) and the equal level will be displayed.
【Example】
GPON(config)#logging monitor 2
GPON(config)#logging monitor 2 6
379
Command line configuration manual
terminal monitor
no terminal monitor
【Default】
【Usage】
This command has influence on current terminal and current log in.
【Example】
GPON(config)#terminal monitor
logging buffered
no logging buffered
【Parameter】
380
Command line configuration manual
none:Any level is not allowed.
xxx:Means the name of the module. … means other modules are omitted.
【Default】
【Usage】
Use keyword “level-list” to display the specified level information in list. If the
“level-list” is not specified, the information of the higher level (The smaller the
level number is, the higher the level is.) and the equal level will be displayed.
【Example】
!Configure filter regulations of all terminals to allow all module of level 2,1,2
and 6 to output information
381
Command line configuration manual
【Example】
Use logging flash command to enable flash logging and configure filter
regulations. Use no logging flash command to disable flash logging and
restore to default filter regulations.
logging flash
no logging flash
【Parameter】
xxx:Means the name of the module. … means other modules are omitted.
【Default】
【Usage】
382
Command line configuration manual
Use keyword “level-list” to display the specified level information in list. If the
“level-list” is not specified, the information of the higher level (The smaller the
level number is, the higher the level is.) and the equal level will be displayed.
【Example】
!Configure filter regulations of all terminals to allow all vlan module to output
information
【Example】
Use logging host command to configure host ip address, and enable host
logging, and configure filter regulation of Syslog server. Use no logging host
command to remove host ip address, disable host logging, and configure
default filter regulation.
logging ip-address
383
Command line configuration manual
no logging ip-address
【Parameter】
xxx:Means the name of the module. … means other modules are omitted.
【Default】
【Usage】
Use keyword “level-list” to display the specified level information in list. If the
“level-list” is not specified, the information of the higher level (The smaller the
level number is, the higher the level is.) and the equal level will be displayed.
【Example】
384
Command line configuration manual
!Add a new logging host with the ip address of 1.1.1.1
GPON(config)#logging 1.1.1.1
no logging facility
【Parameter】
【Default】
【Example】
385
Command line configuration manual
Use logging source command to configure logging host to use fixed source
ip address outputting. Use no logging source command to configure
logging host not to use fixed source ip address outputting.
no logging source
【Parameter】
【Default】
【Usage】
The fixed source ip address must be the ip address of some port in facility to
be configured, or configuration fails. If the fixed source ip address is not
used, egress interface is used as the fixed source ip address.
【Example】
logging snmp-agent
no logging snmp-agent
386
Command line configuration manual
logging snmp-agent { level | none | level-list { level [ to level ] } &<1-8> } [
module { xxx | … } * ]
【Parameter】
【Parameter】
xxx:Means the name of the module. … means other modules are omitted.
【Default】
By default, filter rule is that permit all module output information with level 2
~5
【Default】
【Command mode】
387
Command line configuration manual
【Usage】
Configure Trap host address if Syslog information with Trap packets sends to
SNMP Workstation, it also configures Trap host address ,see SNMP
configuration.
【Usage】
Use keyword “level-list” to display the specified level information in list. If the
“level-list” is not specified, the information of the higher level (The smaller the
level number is, the higher the level is.) and the equal level will be displayed.
【Example】
GPON(config)#logging snmp-agent
GPON(config)#logging snmp-agent 3
【Related command】
snmp-server host
1.32.20 debug
388
Command line configuration manual
no debug { all | { xxx | … } * }
【Parameter】
all:All module
xxx:Means the name of the module. … means other modules are omitted.
【Default】
【Example】
GPON(config)#debug vlan
Use upload logging command to upload Flash storage to ftp or tftp server.
【Parameter】
user-name:Ftp username
password:Ftp password
Privileged mode
389
Command line configuration manual
【Example】
390
Command line configuration manual
Command
show ssh
show keyfile
ssh
crypto key generate rsa
crypto key zeroize rsa
crypto key refresh
load keyfile
upload keyfile
show ssh
391
Command line configuration manual
【Example】
GPON#show ssh
【Example】
1.33.3 ssh
ssh
no ssh
【Default】
Disable
【Example】
!Enable SSH
GPON(config)#ssh
392
Command line configuration manual
1.33.4 crypto key generate rsa
【Example】
Use crypto key zeroize rsa command to clear the keyfile in Flash storage.
【Example】
Use crypto key refresh command to load SSH key from Flash storage.
393
Command line configuration manual
【Example】
Use load keyfile command to download keyfile to device from tftp or ftp
server.
【Parameter】
username:ftp username
passwd:ftp password
【Example】
Use upload keyfile command to upload keyfile to device from tftp or ftp
server.
394
Command line configuration manual
【Parameter】
username:ftp username
passwd:ftp password
【Example】
395
Command line configuration manual
Command
ip vrrp
show vrrp
vrrp ping-enable
vrrp preempt
vrrp priority
vrrp timer
1.34.1 ip vrrp
【Parameter】
396
Command line configuration manual
vip:Virtual IP address of backup group.
【Usage】
【Example】
【Parameter】
397
Command line configuration manual
【Command configuration mode】
【Example】
GPON#show vrrp
vrrp ping-enable
no vrrp ping-enable
【Default】
Disable the ping command is not responded by the device which is not the IP
address owner.
【Usage】
According to the protocol, the device which is not the IP address ownerm has
to drop the packet with the destination IP address being virtual IP adress.
When main-control switch is not the IP address owner, the ping packet
(ICMP echo requiring packet) which is sent to virtual IP address will be
dropped. Using this command to enable the responding to the ping function
of the device which is not the IP address owner, the ping packet to the virtual
IP address can be responded when the main-control switch is not the IP
address owner.
【Example】
398
Command line configuration manual
!Enable ping response of the device which is not the IP address owner.
GPON(config)#vrrp ping-enable
【Parameter】
【Default】
【Usage】
Once there is a Master in the backup group,and there is no failure, and other
switch though has configured to prossess superior priority,it will not be
Master unless the preemption is configured. If the switch is configured to be
preempt, once it prossesses its priority is superior than the Master, it will be
the Master. Accordingly, the original Master will be the backup. The delay
time can be configured at the same time as the preemption, which can delay
backup being Master. The aim of delay time is: In unstable network, if
Backup doesn’t receive the packet from Master on time, it will become
Master (the reson why Backup cannot receive the packet is because of the
congestion of the network, not the abnormal working of Master). So waiting
for a certain time, the packet will be received from Master, which avoids
frequent changes.
399
Command line configuration manual
Cancelling preemption of backup group, the delay time will be 2.
【Example】
Use vrrp priority command to configure the priority of backup group. Use no
priority command to restore the default value.
no priority vrid
【Parameter】
【Default】
【Usage】
【Example】
400
Command line configuration manual
!Configure the priority of the switch in backup group 1 to be 222
【Parameter】
pri-value: need to reduce the priority when being monitored interface is down
【Default】
【Command mode】
【Example】
Use vrrp timer command to configure VRRP timer. Use no vrrp timer
401
Command line configuration manual
command to restore the default VRRP timer.
no vrrp timer
【Parameter】
【Default】
【Usage】
Master switch in VRRP backuo group will send VRRP packet timely (the
interval is adver-interval) to inform switches in the backup group that it can
work normally. If Backup hasn’t received the VRRP packet from Master for a
acertain time (the time interval is master_down_interval), it thinks that the
Master cannot work normally, and it will turn to Master. User can adjust the
adver_interval of VRRP packet sending by the Master through this
command. The master_down_interval of Backup is three times of
adver_interval. The overlarge of network flow or the different timer of the
switch may cause the abnormal overtime of the master_down_interval to
change the status. Prolong the adver_interval and configure delay time can
solve this problem. The unit of adver_interval is second.
【Example】
GPON(config-if-vlanInterface-1)#vrrp timer 1 1
402
Command line configuration manual
Privileged mode
【Example】
403
Command line configuration manual
1.35.2 buildrun mode stop
Privileged mode
【Example】
clear startup-config
Privileged mode
【Usage】
Use this command to clear saved configuration and reboot switch. The
switch will restore to original configuration.
【Example】
GPON#clear startup-config
404
Command line configuration manual
copy nm-interface-config startup-config [ vlan-interface-id [ ip-address
mask gateway-address ] ]
【Parameter】
ip-address:IP address
mask:netmask
gateway-address:gateway address
【Usage】
【Example】
405
Command line configuration manual
255.255.255.2 192.168.2.1
Privileged mode
【Example】
Privileged mode
【Example】
406
Command line configuration manual
【Parameter】
【Example】
GPON#show running-config
【Parameter】
module-list:Optional module. The module name can be changed with the version.
【Example】
GPON#show running-config
407
Command line configuration manual
【Parameter】
filename:Filename to be loaded
408
Command line configuration manual
username,userpassword:Username and password of FTP server
Privileged mode
【Usage】
Open FTP server and set username, password and file download path
before use this command. Reboot the switch after successful download and
run new application program.
【Example】
【Parameter】
filename:Filename to be loaded
Privileged mode
【Usage】
Open TFTP server and set file download path before use this command.
Reboot the switch after successful download and run new application
program.
409
Command line configuration manual
【Example】
Privileged mode
【Usage】
Choose “send” -> “send file” in super terminal, and input full path and
filename of the file in filename dialog box, and choose Xmodem protocol in
“protocol” , then click 【send】.
Reboot the switch after successful download and run new application
program.
【Example】
【Parameter】
410
Command line configuration manual
ftpserver-ip:IP address of FTP server
filename:Filename to be loaded
Privileged mode
【Usage】
Open FTP server and set username, password and file download path
before use this command. Reboot the switch after successful download and
run new configuration program.
【Example】
【Parameter】
filename:Filename to be loaded
Privileged mode
【Usage】
Open TFTP server and set file download path before use this command.
411
Command line configuration manual
Reboot the switch after successful download and run new configuration
program.
【Example】
Privileged mode
【Usage】
Choose “send” -> “send file” in super terminal, and input full path and
filename of the file in filename dialog box, and choose Xmodem protocol in
“protocol”, then click 【send】.
Reboot the switch after successful download and run new application
program.
【Example】
412
Command line configuration manual
【Parameter】
filename:Filename to be loaded
Privileged mode
【Usage】
Open FTP server and set username, password and file download path
before use this command.
【Example】
【Parameter】
filename:Filename to be loaded
Privileged mode
【Usage】
Open TFTP server and set file download path before using this command.
413
Command line configuration manual
【Example】
Privileged mode
【Usage】
Choose “send” -> “send file” in super terminal, and input full path and
filename of the file in filename dialog box, and choose Xmodem protocol in
“protocol”, then click 【send】.
【Example】
【Parameter】
414
Command line configuration manual
username,userpassword:Username and password of FTP server
Privileged mode
【Usage】
Open FTP server and set username, password and file upload path before
use this command. Alaram information saved when uploading is successful.
【Example】
【Parameter】
Privileged mode
【Usage】
Open TFTP server and set file upload path before using this command.
Alaram information saved when uploading is successful.
【Example】
415
Command line configuration manual
1.36.12 upload configuration ftp
【Parameter】
Privileged mode
【Usage】
Open FTP server and set username, password and file upload path before
use this command. Configuration information saved when uploading is
successful.
【Example】
【Parameter】
416
Command line configuration manual
tftpserver-ip:IP address of TFTP server
Privileged mode
【Usage】
Open TFTP server and set file upload path before using this command.
Configuration information saved when uploading is successful.
【Example】
【Parameter】
Privileged mode
【Usage】
Open FTP server and set username, password and file upload path before
417
Command line configuration manual
use this command. Configuration information saved when uploading is
successful.
【Example】
【Parameter】
Privileged mode
【Usage】
Open TFTP server and set file upload path before using this command.
Logging information saved when uploading is successful.
【Example】
418
Command line configuration manual
reboot
1.37.1 reboot
reboot
Privileged mode
【Example】
!Reboot switch
GPON#reboot
broadcast-suppression
clock set
clock timezone
discard-bpdu
dlf-forward
loopback
mac-address-table
mac-address-table aging-time
mac-address-table learning
ping
show broadcast-suppression
show clock
419
Command line configuration manual
show cpu
show dhcp-server clients
show discard-bpdu
show dlf-forward
show ip fdb
show mac-address-table
show mac-address-table aging-time
show mac-address-table learning
show memory
show system
show users
show version
1.38.1 broadcast-suppression
broadcast-suppression packet-num
no broadcast-suppression
【Default】
The default broadcast flow allowed by switch is at most 5222 per second
420
Command line configuration manual
【Usage】
To suppress broadcast storm, and avoid network congestion can use this
command.
【Example】
GPON(config)#broadcast-suppression 322
GPON(config)#no broadcast-suppression
clock set
【Parameter】
【Default】
Privileged mode
【Usage】
Use this command to set current date and time when needing it.
【Example】
421
Command line configuration manual
!Configure system clock to be 2221/21/21 2:2:2
【Related command】
show clock
no clock timezone
【Parameter】
【Default】
【Example】
【Related command】
show clock
1.38.4 discard-bpdu
422
Command line configuration manual
Use Discard-bpdu command to enable dropping specified typed BPDU
packet. Use no discard-bpdu command to disable this function.
Discard-bpdu
no discard-bpdu
【Default】
【Usage】
If BPDU storm appears and interface CAR configuration cannot eliminate the
conflict of BPDU storm to CPU, it can use this command to drop BPDU
packet.
【Example】
GPON(config)#discard-bpdu
1.38.5 discard-l2-tunnel
discard-l2-tunnel
no discard-l2-tunnel
【Default】
【Usage】
423
Command line configuration manual
If l2-tunnel storm appears, and cannot be eliminated through port-car, this
command can be used.
【Example】
GPON(config)#discard-l2-tunnel
1.38.6 dlf-forward
【Parameter】
multicast:Multicast message
unicast:Unicast message
【Default】
【Usage】
To suppress broadcast storm, and avoid network congestion can use this
command to control whether to transmit destination unknown message.
【Example】
424
Command line configuration manual
!Disable dlf forward for unicast
1.38.7 loopback
【Parameter】
external:External loopback
internal:Internal loopback
【Example】
GPON(config)#loopback external
Use vct run command to port vct test. Vct test for all the ports in global
configuration mode. Vct test for current port in interface configuration mode.
vct run
【Example】
425
Command line configuration manual
GPON(config-if-ethernet-2/1)#vct run
vct auto-run
no vct auto-run
【Default】
【Command mode】
【Example】
GPON(config)#vct auto-run
GPON(config-if-ethernet-0/8)#vct auto-run
【Command mode】
【Example】
426
Command line configuration manual
GPON(config)#sh vct auto-run
1.38.11 mac-address-table
no mac-address-table
【Parameter】
vlan-id:VLAN id
backhole:Blackhole address table which is not aging, and will not be lost after
switch rebooting. Message whose source or destination mac address is the
same as this mac address will be dropped.
427
Command line configuration manual
dynamic:Dynamic address table which can be aging.
static:Static address table which is not aging and will be lost after switch
reboot.
【Example】
no mac-address age-time
【Parameter】
【Default】
428
Command line configuration manual
【Command configuration mode】
【Example】
mac-address-table learning
no mac-address-table learning
【Example】
GPON(config)#mac-address-table learning
no mac-address-table max-mac-count
【Parameter】
429
Command line configuration manual
max-mac-count:the max number of MAC address that interface permits
learning which is in the range of 2 – 4295.
【Default】
It is defaulted to be no restriction.
【Example】
GPON(config-if-ethernet-2/3)#mac-address-table max-mac-count 8
1.38.15 ping
【Parameter】
timeout:the time of waiting for replying after message is sent,with the unit of
second
host:Host ip address
【Usage】
Use this command to test whether the facility in the same net is connected or
not.
430
Command line configuration manual
【Example】
GPON#ping 192.168.2.222
show broadcast-suppression
【Example】
!Display the max number of the broadcast flow allowed by switch per
second.
GPON(config)#show broadcast-suppression
show clock
【Example】
GPON#show clock
431
Command line configuration manual
【Related command】
clock set
Use show cpu-utilization command to display cpu utilization. The smaller the
value is,the busier the CPU is.
show cpu-utilization
【Example】
GPON(config)#show cpu-utilization
【Parameter】
【Example】
432
Command line configuration manual
GPON(config)#show dhcp-server clients
show discard-bpdu
【Example】
GPON(config)#show discard-bpdu
show dlf-forward
【Example】
GPON(config)#show dlf-forward
433
Command line configuration manual
【Command configuration mode】
【Example】
GPON(config)#show ip fdb
show mac-address-table
【Parameter】
vlan-id:VLAN id
backhole:Blackhole address table which is not aging, and will not be lost after
switch rebooting. Message whose source or destination mac address is the
same as this mac address will be dropped.
434
Command line configuration manual
lost after switch rebooting.
static:Static address table which is not aging and will be lost after switch
reboot.
【Example】
GPON(config)#show mac-address-table
【Example】
435
Command line configuration manual
Any configuration mode
【Example】
show memory
【Example】
GPON(config)#show memory
show system
【Example】
GPON(config)#show system
Use show users command to display the user information logged in.
436
Command line configuration manual
show users
【Example】
show version
【Usage】
【Example】
Use this command to restrict the number of Telnet user (2-5) to enter
privileged mode at the same time.
no login-access-list telnet-limit
437
Command line configuration manual
Global configuration mode
【Parameter】
【Default】
【Example】
【Related command】
show users
1.38.31 tracert
【Parameter】
defaulted to be -c;
defaulted to be 1;
438
Command line configuration manual
255 and defaulted to be 32;
【Usage】
【Example】
!Tracert 192.168.2.222
GPON#tracert 192.168.2.222
1.38.32 cpu-car
Cpu-car target_rate
【Parameter】
【Example】
439
Command line configuration manual
GPON(config)#cpu-car 122
show cpu-car
【Example】
!Show cpu-car
GPON#show cpu-car
show cpu-statistics
【Example】
GPON#show cpu-statistics
Use this command to clear cpu received statistic information from interface.
clear cpu-statistics
440
Command line configuration manual
Global configuration mode
【Example】
GPON(config)#clear cpu-statistics
441
Command line configuration manual
snmp-server group
snmp-server user
snmp-server security-name
【Example】
【Usage】
【Example】
442
Command line configuration manual
1.39.3 show snmp host
Use show snmp host command to display Trap information of SNMP server
【Example】
【Example】
【Usage】
443
Command line configuration manual
Use this command when you need to know system location.
【Example】
【Usage】
【Example】
【Usage】
444
Command line configuration manual
【Example】
【Usage】
【Example】
【Usage】
【Example】
445
Command line configuration manual
GPON(config)# show snmp view
【Parameter】
ro:Read only
deny:Cannot be activated
permit:Can be activated
【Usage】
【Example】
446
Command line configuration manual
GPON(config)#snmp-server community green ro permit
no snmp-server contact
【Parameter】
【Default】
【Usage】
【Example】
447
Command line configuration manual
snmp-server host command to remove SNMP server sending notifies.
【Parameter】
【Usage】
【Example】
448
Command line configuration manual
1.39.13 snmp-server location
【Parameter】
【Usage】
【Example】
no snmp-server name
【Parameter】
【Default】
449
Command line configuration manual
【Command configuration mode】
【Usage】
【Example】
【Parameter】
【Default】
【Usage】
The notificationtype list can be optioned. If the keyword is vacant, all types
will be optioned.
450
Command line configuration manual
【Example】
no snmp-server
【Parameter】
【Default】
【Usage】
System cannot be sure whether the vlan and supervlan of the input vlan-id or
supervlan-id are existed or not and whether they have interface and the ip
address of interfaces are also not sure.
【Example】
451
Command line configuration manual
GPON(config)# snmp-server trap-source vlan-interface 1
【Parameter】
【Default】
【Usage】
【Example】
452
Command line configuration manual
GPON(config)# snmp-server engineid local 12345
【Parameter】
Oid-tree means the subtree of the view which corresponds to such a mib
node as “1.3.6.1”;The substring of OID must be the integer between 2 and
2147483647.
【Default】
【Usage】
453
Command line configuration manual
【Example】
【Parameter】
Readview is a view name, which means the right to read in the view. If the
keyword is vacant, it is default not to include readable view.
Writeview is a view name, which means the right to read and write in the
view. If the keyword is vacant, it is default not to include readable and
writable view.
Notifyview is a view name, which means the right to send notification in the
view. If the keyword is vacant, it is default not to include notify sending view.
454
Command line configuration manual
【Default】
Folowing groups are default to exist: (1) security model is v3,the security
level is differentiated group initial ; (2) security model is v3,the security level
is differentiated encrypt group initial
【Usage】
【Example】
455
Command line configuration manual
【Parameter】
Privkey is encrpted key. Unencypted key ranes from 16 byte, and encrypted
key ranes from 16 byte.
【Default】
456
Command line configuration manual
Following users are default to exist: (1)initialmd5(required md5
authentication),(2) initialsha(required sha authentication),(3)
initialnone(non- authentication)
【Usage】
【Example】
!Add user “user1” for local engine to group “grp1”,and configure this user
not to use authentication and encryption.
!Add user “user2” for local engine to group “grp2”,and configure this user to
use md5 authentication and non-encryption with the auth-password to be
1234
!Add user “user3” for local engine to group “grp3”,and configure this user to
use md5 authentication and des encryption with the auth-password to be
1234 and privpassword to be 4321
login-access-list
show login-access-list
457
Command line configuration manual
1.40.1 login-access-list
【Parameter】
【Usage】
【Example】
458
Command line configuration manual
show login-access-list
【Example】
GPON(config)#show login-access-list
telnet
show telnet client
stop telnet client
1.41.1 telnet
【Parameter】
【Default】
459
Command line configuration manual
Privileged mode
【Example】
GPON#telnet 12.9.2.34
Use show telnet client command to display the operation information of all
Telnet client.
【Example】
【Parameter】
Privileged mode
460
Command line configuration manual
【Usage】
This command can only be used by “admin”. User can log in devices by
console or telnet and at most 6 users can log in at the same time: a console
user and 5 telnet users. The connection of each logged in user and devices
is called terminal. Each terminal can enable one telnet client, so at most 6
telnet clients can be run at the same time.
【Example】
alarm cpu
alarm cpu threshold
show alarm cpu
Use alarm cpu command to enable CPU alarm. Use no alarm cpu
command to disable CPU alarm.
alarm cpu
no alarm cpu
【Default】
461
Command line configuration manual
【Example】
GPON(config)#alarm cpu
no alarm cpu
【Parameter】
【Default】
【Usage】
【Example】
462
Command line configuration manual
Use show alarm cpu command to display cpu alarm information.
【Example】
mailalarm
mailalarm server
mailalarm receiver
mailalarm ccaddr
mailalarm smtp authentication
mailalarm logging level
show mailalarm
1.43.1 mailalarm
mailalarm
no mailalarm
【Default】
463
Command line configuration manual
Mail alarm disables.
【Example】
GPON(config)#mailalarm
no mailalarm server
【Parameter】
【Default】
【Example】
464
Command line configuration manual
Use mailalarm receiver command to configure e-mail address of mail
receiver. Use no mailalarm receiver command to delete e-mail address of
mail receiver.
no mailalarm receiver
【Parameter】
【Default】
【Example】
【Parameter】
465
Command line configuration manual
【Default】
【Usage】
【Example】
【Parameter】
【Default】
Authentication disables.t
466
Command line configuration manual
【Command configuration mode】
【Usage】
【Example】
【Parameter】
【Default】
【Usage】
467
Command line configuration manual
When the level of syslog information is lower than the configured value, the
syslog information will be encapsulated to the mail and sent to the specified
mail box.
【Example】
Use show maialarm command to display mail alarm, such as enable the
function or not, smtp server address, and mail receiver address.
show maialarm
【Example】
GPON#show mailalarm
468
Command line configuration manual
anti-dos ip fragment maxnum
【Parameter】
maximum:maximum number
【Default】
822
【Example】
GPON(config)#anti-dos ip fragment 32
Use this command to disable system to receive packey with TTL=2. Use no
command to enable it.
【Default】
Disable
【Example】
GPON(config)#anti-dos ip ttl
469
Command line configuration manual
Show anti-dos
【Example】
GPON(config)#show anti-dos
470
Command line configuration manual
lldp
lldp hello-time
lldp hold-time
lldp { rx | tx | rxtx }
show lldp interface [ <interface-list> ]
1.45.1 lldp
Use lldp command to enable LLDP globally. Use no lldp command to disable
LLDP globally.
lldp
no lldp
【Default】
【Example】
471
Command line configuration manual
GPON(config)#lldp
Use lldp hello-time command to configure LLDP hello-time. Use no lldp hello
-time command to restore to default LLDP hello-time.
【Default】
【Example】
GPON(config)#lldp hello-time 22
Use lldp hold-time command to configure LLDP hold-time. Use no lldp hold-
time command to restore LLDP hold-time.
no lldp hold-time
【Default】
【Example】
472
Command line configuration manual
!Configure LLDP hold-time to be 2
GPON(config)#lldp hold-time 2
Use lldp command to configure LLDP message receving and sending mode.
Use no lldp command to disable LLDP message receving and sending
mode.
lldp { rx | tx | rxtx }
no lldp
【Default】
【Example】
GPON(config-if-ethernet-2/1)#lldp tx
【Example】
473
Command line configuration manual
【Default】
【Example】
Use this command to configure Flex links backup interface of channel group.
474
Command line configuration manual
channel-group channel-group-number }
【Default】
【Example】
【Default】
【Example】
475
Command line configuration manual
GPON(config-if-ethernet-2/1)#switchport backup interface Ethernet 2/2
preemption mode Forced
【Default】
【Example】
476
Command line configuration manual
【Default】
【Example】
【Default】
【Example】
477
Command line configuration manual
1.46.7 show swithport interface backup
【Command mode】
All modes
【Example】
【Command mode】
【Example】
【Command mode】
478
Command line configuration manual
【Example】
【Example】
479
Command line configuration manual
cfm domain
cfm mep
cfm mip
cfm rmep
cfm cc interval
cfm cc enable level vlan
cfm ping
cfm traceroute
show cfm domain
show cfm maintenance-points local
show cfm maintenance-points remote
show cfm cc database
show cfm errors
1.46.11 cfm md
480
Command line configuration manual
no cfm md md-id
【Default】
【Parameter】
【Example】
GPON(config)#cfm md 1
Use this command to configure cfm mep. Use no command to delete cfm
mep.
cfm mep level level-id direction {up | down } mpid mep-id vlan vlan-id
【Default】
【Parameter】
481
Command line configuration manual
level-id: the integrity from 2-7
mep-id: MEP id
【Example】
Use this command to configure cfm mip. Use no command to delete cfm mip.
【Default】
【Parameter】
【Example】
482
Command line configuration manual
1.46.14 cfm rmep
Use this command to configure cfm rmep. Use no command to delete cfm
rmep.
【Default】
【Parameter】
mep-id: MEP id
【Example】
no cfm cc interval
【Default】
483
Command line configuration manual
【Command configuration mode】
【Parameter】
【Example】
GPON(config)#cfm cc interval 1
Use this command to check network connection and the arrival of destination
mac address.
【Parameter】
Mep-id:mep identifer
Use this command for link tracert and checking network connection.
484
Command line configuration manual
Global configuration mode
【Parameter】
Mep-id:mep identifer
【Example】
GPON(config)#show c
GPON(config)#show cfm md
【Example】
485
Command line configuration manual
Use this command to display cfm maintenance-points remote.
【Example】
【Example】
【Example】
486
Command line configuration manual
GPON(config)# show cfm errors
487
Command line configuration manual
(546) Pppoeplus
(547) pppoeplus type
(548) show pppoeplus
1.47.1 pppoeplus
pppoeplus
no pppoeplus
【Example】
GPON(config)#pppoeplus
GPON(config)#no pppoeplus
488
Command line configuration manual
Pppoeplus type { standard | huawei }
【Example】
show pppoeplus
【Example】
GPON(config)#show pppoeplus
489
Command line configuration manual
Use this command to enable ospf bfd. Use no command to disable ospf bfd.
ip ospf bfd
no ip ospf bfd
【Example】
490
Command line configuration manual
GPON(config-if-vlanInterface-1)#ip ospf bfd
no bfd min-transmit-interval
【Parameter】
Caution: The final transmit interval is: 72% or 92% of the larger variate
between the mini-transmit-interval of current session and the remote mini-
receiver-interval.
【Example】
491
Command line configuration manual
bfd min-receive-interval value
no bfd min-receive-interval
【Parameter】
【Example】
Use this command to configure the max ineffective number of BFD control
packet. When remote session do not receive specified BFD packet, it is
considered the session is ineffective.
no bfd detect-multiplier
【Parameter】
【Example】
492
Command line configuration manual
!Confiure BFD detect multiplier in vlan interface 1 to be 8
GPON(config-if-vlanInterface-1)#bfd detect-multiplier 8
【Parameter】
on:permit to shift to demand mode. The other part of the session will not
send control packet but echo packet for detection.
off:not permit to shift to demand mode. By default, BFD session demand is
off.
【Example】
GPON(config-if-vlanInterface-1)#bfd demand on
【Parameter】
passive:passive mode. It will not send packet actively when control packet is
493
Command line configuration manual
not received from the otherpart of the session.
active:active mode. It will send packet actively when control packet is not
received from the otherpart of the session.By default, BFD session initial
mode is active.
【Example】
【Example】
【Parameter】
494
Command line configuration manual
【Command configuration mode】
【Example】
【Parameter】
【Example】
495
Command line configuration manual
errp
errp hello-timer
errp fail-timer
errp domain
ring role primary-port secondary-port level
ring role common-port edge-port
ring { enable | disable }
show errp
ring query-solicit
1.49.1 errp
Use this command to enable global ERRP. Use no command to disable it.
errp
no errp
【Default】
Disable
496
Command line configuration manual
【Command configuration mode】
【Example】
!Enable ERRP
GPON(config)#errp
【Default】
【Example】
GPON(config)#errp hello-timer 2
no errp fail-timer
497
Command line configuration manual
【Default】
【Example】
GPON(config)#errp fail-timer 2
【Parameter】
【Example】
GPON(config)#errp domain 2
1.49.5 control-vlan
control-vlan vlan-id
no control-vlan
498
Command line configuration manual
【Command configuration mode】
【Parameter】
【Usage】
Control VLAN is relative to data VLAN. Data VLAN is for transmitting date
packet and control VLAN is only for transmitting ERRP protocol packet.
Every ERRP domain owns two control VLANs,that are master control VLAN
and sub-control VLAN. Protocol packet of master ring is transmitted in
master control-VLAN and protocol packet of sub-ring is transmitted in sub-
control VLAN. When configuring, specify master control. When configuring,
specify master control VLAN,and sub-control VLAN is the one whose VLAN
ID is 1 bigger than that of the master control VlAN.
Port only accessing to Ethernet ring (ERRP port) of each switch belong to
control VLAN. ERRP port of master ring belong to both master control VLAN
and sub-control VLAN. ERRP port of sub-ring belongs to sub-control VLAN
only. There can be ERRP port and non- ERRP port in data VLAN. Master
ring is taken as a logical nod of sub-ring. The protocol packet of sub-ring is
transparent transmitted through master ring and handled as data packet in
master ring. The protocol packet of master ring can only be transmitted in
master ring.
Add all ERRP port to corresponded master and sub-control VLAN before or
after handed down ERRP configuration and configure master and sub-
control VLAN being tag vlan.
【Example】
GPON(config-errp-2)#control-vlan 25
499
Command line configuration manual
!Delete control VLAN of ERRP domain 2. if there is activated ring, the
control VLAN will not allow to be deleted.
GPON(config-errp-2)#no control-vlan
Use this command to configure a ring. Network bridge in this ring is master
role or transmission role.
no ring ring-id
【Parameter】
【Example】
!Configure primary ring 2 with role mode being master, primary port being 1
and secondary port being 2
500
Command line configuration manual
Use this command to configure a ring. Network bridge in this ring is edge role
or assistant edge.
no ring ring-id
【Parameter】
【Example】
!Configure primary ring 2 with role mode being master, primary port being 1
and secondary port being 2
501
Command line configuration manual
【Parameter】
disable:inactivate a ring
【Example】
!Activate ring 2
GPON(config-errp)#ring 2 enable
【Parameter】
【Example】
502
Command line configuration manual
no ring ring-id query-solicit
【Parameter】
【Example】
GPON(config-errp-domain-2)#ring 2 query-solicit
503
Command line configuration manual
Command
This command is used to configure insert card type in the slot, command with
no means delete the insert card type in the slot.
【Command mode】
【Example】
504
Command line configuration manual
GPON(config)#set slot 2 type ge-24
【Command mode】
【Example】
This command is used to display on line business slot and ONU information
【Parameter 】
slot-id:slot
【Command mode】
【Example】
GPON(config)#show pon
Slot 3
505
Command line configuration manual
ONU Mac Address LLID Config Description
506
Command line configuration manual
onu-authenticate
white-list
black-list
loid-list
hybrid-list
onu-p2p
encrypt
mac-address-table
class
enable-pon-vlan-isolation
show onu-mac-auth
show white-list
show black-list
show loid-list
show hybrid-list
show onu-p2p
show dba
show mac-address-table
507
Command line configuration manual
show class
show enable-pon-vlan-isolation
1.51.1 onu-authenticate
hybrid-auth | disable }
【Parameter】
slot:slot
【Command mode】
【Example】
1.51.2 white-list
508
Command line configuration manual
【Command mode】
【Example】
GPON(config-if-pon-3/1)#white-list del 1
1.51.3 black-list
【Command mode】
【Example】
1.51.4 loid-list
509
Command line configuration manual
【Command mode】
【Example】
1.51.5 hybrid-list
【Command mode】
【Example】
1.51.6 onu-p2p
510
Command line configuration manual
onu-p2p
no onu-p2p
【Command mode】
【Example】
GPON(config)# onu-p2p
GPON(config)# no onu-p2p
1.51.7 encryp
no encryp slot
【Parameter 】
slot:slot
【Command mode】
【Example】
511
Command line configuration manual
GPON(config)#encryp churn 5 1000000
GPON(config)#no encryp 5
1.51.8 dba
【Parameter 】
slot:slot
pon-num:PON port
cycletime:cycle time
discovfreq:discover frequency
discovtime:discover time
【Command mode】
【Example】
512
Command line configuration manual
1.51.9 mac-address-table
【Parameter 】
【Command mode】
【Example】
GPON(config-if-pon-3/1)#mac-address-table onu-index 1
max-mac-count 20
max-mac-count 20
1.51.10 classif
513
Command line configuration manual
[ ethernet-priority-action value ]
[ ethernet-priority-action value ]
{ [ destination-mac H:H:H:H:H:H ] |
[ ethernet-priority-action value ]
[ ethernet-priority-action value ]
514
Command line configuration manual
{ [ destination-mac H:H:H:H:H:H ] |
515
Command line configuration manual
classif slot slotid { pon | nni } permit packet ip
[ ethernet-priority-action value ]
[ ethernet-priority-action value ]
{ [ destination-mac H:H:H:H:H:H ] |
[ ethernet-priority-action value ]
516
Command line configuration manual
classif slot slotid { pon | nni } permit packet any
[ ethernet-priority-action value ]
{ [ destination-mac H:H:H:H:H:H ] |
517
Command line configuration manual
【Parameter 】
【Command mode】
【Example】
1.51.11 no classif
no classif [ ruleid ]
【Command mode】
518
Command line configuration manual
【Example】
1.51.12 enable-pon-vlan-isolation
【Parameter 】
【Command mode】
【Example】
【Command mode】
519
Command line configuration manual
PON port configuration mode and global mode
【Example】
slot : 2
pon 2/1 mac-auth mode: black-list
show white-list
【Command mode】
【Example】
GPON(config-if-pon-3/1)#show white-list
WHITE LIST:
show black-list
【Command mode】
520
Command line configuration manual
【Example】
GPON(config-if-pon-5/4)#show black-list
BLACK LIST:
pon-2/4 1 01:01:01:01:01:01
show loid-list
【Command mode】
【Example】
GPON(config-if-pon-2/4)#show loid-list
LOID LIST:
1 bbbbb 12345
show hybrid-list
【Command mode】
521
Command line configuration manual
PON port configuration mode
【Example】
Hybrid LIST:
1 aaaabbbbcccc 1234
2 00:00:00:00:12:34
show onu-p2p
【Command mode】
【Example】
GPON(config-if-pon-3/1)#show onu-p2p
onu-p2p : disable
【Command mode】
522
Command line configuration manual
Global configuration mode
【Example】
GPON(config)#show dba 2
【Parameter 】
【Command mode】
【Example】
!Display MAC address quality limitation based on the first ONU LLID
max-mac-count
523
Command line configuration manual
onu-index llid limit switch Max mac address number
01 0x61040000 enable 20
【Parameter 】
【Command mode】
【Example】
GPON(config-if-pon-3/1)#show classif 1
show enable-pon-vlan-isolation
【Command mode】
【Example】
524
Command line configuration manual
!Display PON VLAN isolation information
GPON(config)#show enable-pon-vlan-isolation
525
Command line configuration manual
Commands
onu-description
show onu-description
onu-binding
show onu-status
onu-reboot
onu-bandwidth
onu-encrypt
onu-loopback
onu-flow-control
onu-shutdown
onu-speed auto
onu-vlan-mode
onu-classification
onu-mac-address-table
onu-queue-scheduler
526
Command line configuration manual
onu-dtag
onu-ip address static
no onu-ip address
show onu-bandwidth
show onu-encrypt
show onu-loopback oam
show onu-interface
show onu-sn
show onu-firmware
show onu-pon-chip
show onu-capabilities
show onu-vlan-mode
show onu-mac-address-table
show onu-queue-scheduler
show onu-dtag
show onu-ip address onu
1.52.1 onu-description
onu-description onu-name
【Command mode】
【Example】
527
Command line configuration manual
1.52.2 show onu-description
show onu-description
【Command mode】
【Example】
GPON(onu-3/4/1)#show onu-description
1.52.3 onu-binding
no onu-binding
no onu-binding mac
no onu-binding type
【Command mode】
528
Command line configuration manual
【Example】
GPON(config)# no onu-binding
show onu-status
【Command mode】
【Example】
GPON(onu-3/4/1)#show onu-status
529
Command line configuration manual
3/4/1 00:0a:5a:12:46:59 54 00/021/02 00:40:08 2160 B01D001P005SP1 Up
1.52.5 onu-reboot
onu-reboot
【Command mode】
【Example】
!Reboot ONU
GPON(onu-3/3/1)#onu-reboot
1.52.6 onu-bandwidth
[ jitter jitter-number ]
[ jitter jitter-number ]
| mixed }
| mark } | mixed }
530
Command line configuration manual
no onu-bandwidth upstream
no onu-bandwidth downstream
no onu-bandwidth shaper
【Parameter】
【Command mode】
【Example】
531
Command line configuration manual
GPON(onu-3/3/1)#no onu-bandwidth downstream
1.52.7 onu-encrypt
onu-encrypt
no onu-encrypt
【Command mode】
【Example】
GPON(onu-3/3/1)#onu-encryp
GPON(onu-3/3/1)#no onu-encryp
1.52.8 onu-loopback
onu-loopback oam
no onu-loopback oam
【Command mode】
532
Command line configuration manual
【Example】
GPON(onu-3/3/1)#onu-loopback oam
1.52.9 onu-flow-control
onu-flow-control
no onu-flow-control
【Command mode】
【Example】
GPON(onu-3/3/1-reth-0/1)#onu-flow-control
GPON(onu-3/3/1-reth-0/1)#onu-flow-control
1.52.10 onu-shutdown
onu-shutdown
no onu-shutdown
【Command mode】
533
Command line configuration manual
【Example】
GPON(onu-3/3/1-reth-0/1)#onu-shutdown
GPON(onu-3/3/1-reth-0/1)#no onu-shutdown
onu-speed auto
no onu-speed auto
【Command mode】
【Example】
GPON(onu-3/3/1-reth-0/1)#onu-speed auto
1.52.12 onu-bandwidth
【Parameter】
534
Command line configuration manual
cir-number: export/inport rate is 64 - 1024000 kbps
【Command mode】
【Example】
123
【Parameter】
【Parameter】
535
Command line configuration manual
rate-limit-value: broadcast rate value is :256-1000000(kbps)
1.52.15 onu-vlan-mode
【Parameter】
【Command mode】
【Usage】
In ONU port mode, it configures three vlan modes : transparent mode, tag
mode and translation mode.When configuring port translation mode,if need
to add new shift entry based on original base, it enters command vlan-mode
【Example】
536
Command line configuration manual
new_vlan 6
new_vlan 66
1.52.16 onu-classification
select-value }
【Parameter】
【Command mode】
【Example】
537
Command line configuration manual
!Add a flow classfication:
【Command mode】
【Example】
【Command mode】
【Example】
GPON(onu-3/3/1-reth-0/1)#onu-multicast tag
538
Command line configuration manual
1.52.19 onu-multicast fastleave
【Command mode】
【Example】
【Parameter】
【Command mode】
【Example】
539
Command line configuration manual
1.52.21 onu-igmp-snooping group-number
【Command mode】
【Example】
1.52.22 onu-multicast-ctrl
【Parameter】
portid:onu port id
【Command mode】
【Example】
540
Command line configuration manual
1.52.23 onu-fec mode
【Command mode】
【Example】
!Enable fec
1.52.24 no onu-classification
【Parameter】
【Command mode】
【Example】
【Parameter】
541
Command line configuration manual
vlan-list: configure maximum 8 vlan multicast group
【Command mode】
【Example】
1.52.26 no onu-multicast-ctrl
【Parameter】
portid:onu port id
【Command mode】
【Example】
This command is to recover private CTC ONU multicast default rate :that is
no limit to multicast
no onu-bandwidth multicast
542
Command line configuration manual
1.52.28 no onu-bandwidth broadcast
no onu-bandwidth broadcast
no onu-mac-address-table max-mac-count
【Parameter】
【Command mode】
【Example】
GPON(onu-3/3/1)#onu-mac-address-table max-mac-count 20
GPON(onu-3/3/1)#interface ethernet 3
GPON(onu-3/3/1-reth-3)#onu-mac-address-table max-mac-count 40
543
Command line configuration manual
This command is to configure ONU MAC address aging time
no onu-mac-address-table age-time
【Parameter】
【Default】
【Command mode】
【Example】
GPON(onu-3/3/1)#onu-mac-address-table age-time 10
1.52.31 onu-queue-scheduler
no queue-scheduler
【Parameter】
544
Command line configuration manual
strict-priority: means queue executes strict scheduler
【Command mode】
【Example】
14,13,12
GPON(onu-3/3/1)#onu-queue-scheduler wrr 15 14 13 12
【Parameter】
【Default】
802.1p: 0 1 2 3 4 5 6 7
Hardware priority :0 0 1 1 2 2 3 3
【Command mode】
545
Command line configuration manual
ONU configuration mode
【Usage】
【Example】
GPON(onu-3/3/1)#onu-queue-scheduler cos-map 1 6
【Parameter】
【Default】
【Command mode】
【Example】
546
Command line configuration manual
!Enable 802.1p re-mapping, configure value 2 IEEE 802.1p protocol priority
re-mapping to 5
GPON(onu-3/3/1)#onu-queue-scheduler cos-remap
GPON(onu-3/3/1)#onu-queue-scheduler cos-remap 2 5
【Parameter】
H:H:H:H:H:H:MAC address
【Command mode】
【Example】
1.52.35 onu-dtag
onu-dtag [ flexible-qinq ]
547
Command line configuration manual
no onu-dtag
no onu-dtag outer-tpid
no onu-dtag mode
【Parameter】
【Command mode】
【Example】
GPON(onu-3/3/1)#onu-dtag
GPON(onu-3/3/1)#onu-dtag flexible-qinq
!Disable QINQ
548
Command line configuration manual
GPON(onu-3/3/1)#no onu-dtag
GPON(onu-3/3/1-reth-0/1)#onu-dtag insert 3 5 6
GPON(onu-3/3/1-reth-0/1)#onu-dtag pass-through 7 9
【Command mode】
【Example】
549
Command line configuration manual
!Configure onu 3/4/1 IP
no onu-ip address
【Command mode】
【Example】
1.52.38 onu-vlan
onu-vlan vlan-id
【Command mode】
【Example】
GPON(onu-3/4/1)#onu-vlan 200
1.52.39 no onu-vlan
550
Command line configuration manual
no onu-vlan { vlan-id | all }
【Command mode】
【Example】
1.52.40 onu-swithport
【Command mode】
【Example】
1.52.41 no onu-swithport
【Command mode】
【Example】
551
Command line configuration manual
1.52.42 onu-swithport access vlan
This command is to add current ports to selected VLAN, port default VLAN
ID is selected VLAN
【Command mode】
【Example】
【Command mode】
【Example】
1.52.44 onu-tag-mode
【Command mode】
552
Command line configuration manual
【Example】
GPON(onu-3/3/3-reth-0/3)#onu-tag-mode tag
1.52.45 onu-com-session
【Parameter】
baudrate: baud rate,the range is 0-10,0 means baud rate is 300,1 means
baud rate is 600,2 means baud rate is 1200,3 means baud rate is 2400,4
means baud rate is 4800,5 means baud rate is 9600,6 means baud rate is
14400,7 means baud rate is 19200,8 means baud rate is 38400,9 means
baud rate is 57600,10 means baud rate is 115200, it will be the default value
115200 if nothing inputs
parity-type: parity type, the range is 0-4,0 means None parity,1 means even
parity,2 means odd parity ,3 means symbol parity ,4 means space parity, it
will be the default value None parity if nothing inputs
databits: data bits ,the range is 0-3,0 means data bit as 5 bits,1 means data
bit 6 bits, 2 means data bit 7 bits,3 means data bit 8 bits, it will be the default
value 8 bits if nothing inputs
stopbits:stop bits,the range is 0-2,0 means stop bit as 1bit,1 means stop bit
as 1.5 bits,2 means stop bit as 2 bits, it will be the default 1 bit if nothing
553
Command line configuration manual
inputs
【Command mode】
【Example】
1.52.46 no onu-com-session
no onu-com-session comid
【Command mode】
【Example】
GPON(onu-3/4/1)#no onu-com-session 1
【Command mode】
【Example】
554
Command line configuration manual
!Clear all console traffic statistic
【Command mode】
【Example】
1.52.49 onu-ctc-upgrade
onu-ctc-upgrade
【Command mode】
【Example】
!Upgrade onu
GPON(onu-3/4/1)#onu-ctc-upgrade
1.52.50 onu-ctc-upgrade-commit
555
Command line configuration manual
onu-ctc-upgrade-commit
【Command mode】
【Example】
GPON(onu-3/4/1)#onu-ctc-upgrade-commit
This command is to display current ONU port PVID and port TAG mode .
show onu-port-info
【Command mode】
【Example】
GPON(onu-3/3/3-reth-0/3)#show onu-port-info
PVID 200
【Command mode】
556
Command line configuration manual
【Example】
GPON(onu-3/4/1)#show onu-status
【Command mode】
【Example】
GPON(config)#show statistics
MULTICASTS(packets) BROADCASTS(packets)
-------------------------------------------------------------------------------------------------
3/4/1 port:pon
3/4/1 port:uni
557
Command line configuration manual
output 2354053 10 30565 6176
show onu-bandwidth
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-bandwidth
558
Command line configuration manual
1.52.55 show onu-encrypt
show onu-encrypt
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-encrypt
encryp: enable
【Command mode】
【Example】
【Parameter 】
559
Command line configuration manual
ethernet-number:detailed port num
【Command mode】
【Example】
onu : 3/3/1
show onu-sn
【Command mode】
【Example】
560
Command line configuration manual
GPON(onu-3/3/1)#show onu-sn
MODEL: 8015
SW: 0x32 0x30 0x33 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
show onu-firmware
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-firmware
onu firmware :
0x48 0xfd 0x97 0x3f 0x00 0x02 0x00 0x00 0x00 0x03 0x00 0x00
show onu-pon-chip
【Command mode】
561
Command line configuration manual
【Example】
GPON(onu-3/3/1)#show onu-pon-chip
show onu-capabilities
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-capabilities
onu 3/3/1 :
562
Command line configuration manual
onu capability: maxQueueUSPort 4
【Parameter 】
【Command mode】
【Example】
onu : 3/3/1
563
Command line configuration manual
onu : 3/3/1
【Parameter 】
【Command mode】
【Example】
onu 3/3/1 :
GPON(onu-3/3/1)#show vlan-mode
564
Command line configuration manual
onu 3/3/1 :
show onu-classification
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-classification
Destination-port 55
Destination-port 44
Destination-port 88
565
Command line configuration manual
Rules 4 Precedence 5 QueMapped 2 ethernet-priority 5
Destination-port 66
【Command mode】
【Example】
【Command mode】
【Example】
interface 1:tag
566
Command line configuration manual
【Command mode】
【Example】
non-fast-leave(igmp-snooping) ability:support
fast-leave(igmp-snooping) ability:support
non-fast-leave(multicast-control) ability:support
fast-leave(multicast-control) ability:support
【Command mode】
【Example】
interface 1
multicast-vlan:no vlan
group-number:255
567
Command line configuration manual
1.52.69 show onu-multicast-ctrl local-ctrl
【Command mode】
【Example】
5 01:00:5e:01:01:01 5 permit N
show onu-multicast-ctrl
【Command mode】
【Example】
568
Command line configuration manual
preview interval : 300
preview times : 5
5 01:00:5e:01:01:01 5
show onu-fec
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-fec
【Command mode】
【Example】
569
Command line configuration manual
Port limit switch Max mac address number
1 disable 0
2 disable 0
3 disable 0
4 disable 0
5 disable 0
6 disable 0
7 disable 0
GPON(onu-3/3/1)#interface ethernet 3
3 disable 0
【Command mode】
【Example】
570
Command line configuration manual
GPON(onu-3/3/1)#show onu-mac-address-table age-time
show onu-queue-scheduler
【Command mode】
【Example】
【Command mode】
【Example】
571
Command line configuration manual
MAC Address VLAN ID
01:01:01:01:01:01 1
Total entries: 1 .
【Command mode】
【Example】
【Command mode】
【Example】
572
Command line configuration manual
1.52.78 show onu-dtag
show onu-dtag
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-dtag
573
Command line configuration manual
port inner start vlan inner end vlan outer vlan
01 3 5 6
Total entries: 1 .
01 7 9
Total entries: 1 .
【Command mode】
【Example】
【Command mode】
【Example】
574
Command line configuration manual
!Display onu 3/4/1 IP configuration
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-com-session
com1
com2
com session:DISABLE
575
Command line configuration manual
com3
com session:DISABLE
com4
com session:DISABLE
【Command mode】
【Example】
GPON(onu-3/3/1)#show onu-com-statistic
com1
com bytesrecv: 0
com bytessend:0
【Command mode】
【Example】
576
Command line configuration manual
Command
mpcp-delay-time
admin-enable-pon
psg creat
psg delete
psg switch
admin-enable-psg
show mpcp-delay-time
show admin-enable-pon
show psg
show admin-enable-psg
1.53.1 mpcp-delay-time
577
Command line configuration manual
no mpcp-delay-time slot slot_id pon pon_id
【Parameter】
slot_id:slot id
pon_id:pon port id
delay_time:delay time
【Command mode】
【Example】
1.53.2 admin-enable-pon
【Parameter】
slot_id:slot id
pon_id:pon port id
【Command mode】
【Example】
578
Command line configuration manual
!Enable PON 3 status in slot3
GPON(config)#admin-enable-pon slot 3 pon 3
!Disable PON 3 status in slot3
【Parameter】
psg_id:psg id
slot_id:slot id
pon_index:pon id
【Command mode】
【Usage】
Creat PSG, system will assign PSG id automatically in the current PSG.
【Example】
579
Command line configuration manual
【Parameter】
slot_id:slot id
psg_id:psg id
【Command mode】
【Example】
【Parameter】
【Command mode】
【Example】
1.53.6 admin-enable-psg
580
Command line configuration manual
no admin-enable-psg slot slot_id psg-id psg_id
【Parameter】
slot_id:slot id
psg_id:psg id
【Command mode】
【Example】
【Parameter】
slot_id:slot id
pon_id:pon id
【Command mode】
【Example】
581
Command line configuration manual
Port limit delay delay time
【Parameter】
slot_id:slot id
【Command mode】
【Example】
【Parameter】
582
Command line configuration manual
【Command mode】
【Example】
!Display PSG 1
【Parameter】
slot_id:slot id
psg_id:psg id
【Command mode】
【Example】
583
Command line configuration manual
Managmenet Commands
multicast-ctrl profile
multicast-ctrl
show multicast-ctrl profile
enable/disable multicast-ctrl profile
onu-multicast-ctrl profile-binding
【Parameter】
【Command mode】
584
Command line configuration manual
All global configuration mode
【Example】
1.54.2 multicast-ctrl
【Parameter】
【Command mode】
Profile mode
【Example】
585
Command line configuration manual
This command is to display controllable multicast profile privilege control
table
【Parameter】
【Command mode】
【Example】
【Parameter】
【Command mode】
Profile mode
【Example】
586
Command line configuration manual
This command is to bind/delete onu and controllable multicast profile
privilege control table
【Parameter】
port_id:onu port id
【Command mode】
【Example】
587