EPON 04P 08P Command Line Configuration Manual
EPON 04P 08P Command Line Configuration Manual
EPON 04P 08P Command Line Configuration Manual
Content
Chapter 1 OLT Logging in Command..........................................................- 1 -
1.1 OLT Logging in Command...................................................................- 1 -
1.1.1 cls.............................................................................................. - 1 -
1.1.2 configure terminal......................................................................- 2 -
1.1.3 enable........................................................................................ - 2 -
1.1.4 end............................................................................................ - 3 -
1.1.5 exit............................................................................................. - 4 -
1.1.6 help............................................................................................ - 4 -
1.1.7 hostname...................................................................................- 5 -
1.1.8 interface.....................................................................................- 6 -
1.1.9 muser......................................................................................... - 6 -
1.1.10 quit........................................................................................... - 7 -
1.1.11 show muser.............................................................................- 8 -
1.1.12 show tacacs+...........................................................................- 8 -
1.1.13 show username.......................................................................- 9 -
1.1.14 stop.......................................................................................... - 9 -
1.1.15 tacacs+..................................................................................- 10 -
1.1.16 timeout...................................................................................- 11 -
1.1.17 username...............................................................................- 11 -
1.1.18 username change-password.................................................- 13 -
Chapter 2 Port Configuration Command...................................................- 15 -
2.1 Ethernet Interface Configuration Command......................................- 15 -
2.1.1 clear interface..........................................................................- 16 -
2.1.2 combo......................................................................................- 17 -
2.1.3 description...............................................................................- 17 -
I
Catalog
2.1.4 duplex......................................................................................- 18 -
2.1.5 flow-control..............................................................................- 19 -
2.1.6 ingress acceptable-frame........................................................- 20 -
2.1.7 ingress filtering........................................................................- 21 -
2.1.8 priority......................................................................................- 21 -
2.1.9 show description......................................................................- 22 -
2.1.10 show interface.......................................................................- 23 -
2.1.11 show statistics interface.........................................................- 23 -
2.1.12 show statistics higig...............................................................- 24 -
2.1.13 clear higig-statistics...............................................................- 25 -
2.1.14 shutdown...............................................................................- 26 -
2.1.15 port-control mode..................................................................- 26 -
2.1.16 show port-control mode.........................................................- 27 -
2.1.17 speed.....................................................................................- 28 -
2.1.18 OLTport mode........................................................................- 29 -
2.1.19 OLTport trunk allowed vlan....................................................- 29 -
2.1.20 OLTport trunk default vlan.....................................................- 30 -
2.1.21 show statistics dynamic interface..........................................- 31 -
2.1.22 show utilization interface........................................................- 31 -
2.1.23 local-OLT...............................................................................- 32 -
2.2 Interface Mirror Configuration Command...........................................- 33 -
2.2.1 mirror destination-interface......................................................- 33 -
2.2.2 mirror source-interface.............................................................- 33 -
2.2.3 show mirror..............................................................................- 34 -
2.2.4 no mirror all..............................................................................- 35 -
2.3 Port CAR Configuration Command....................................................- 35 -
2.3.1 port-car....................................................................................- 35 -
2.3.2 port-car-open-time...................................................................- 36 -
2.3.3 port-car-rate.............................................................................- 37 -
II
Catalog
2.3.4 show port-car...........................................................................- 37 -
2.4 Port LACP Configuration Command..................................................- 38 -
2.4.1 channel-group..........................................................................- 38 -
2.4.2 channel-group mode................................................................- 39 -
2.4.3 channel-group load-balance....................................................- 40 -
2.4.4 lacp system-priority..................................................................- 40 -
2.4.5 lacp port-priority.......................................................................- 41 -
2.4.6 show lacp sys-id......................................................................- 42 -
2.4.7 show lacp internal....................................................................- 43 -
2.4.8 show lacp neighbor..................................................................- 43 -
2.4.9 show statistics channel-group..................................................- 44 -
2.4.10 clear channel-group...............................................................- 44 -
2.4.11 show statistics dynamic channel-group..................................- 45 -
2.4.12 show utilization channel-group..............................................- 45 -
2.5 Port Alarm Configuration Command..................................................- 46 -
2.5.1 alarm all-packets.....................................................................- 46 -
2.5.2 alarm all-packets threshold......................................................- 47 -
2.5.3 show alarm all-packets............................................................- 48 -
2.5.4 show alarm all-packets interface.............................................- 48 -
2.6 Interface shutdown-control Configuration Command.........................- 49 -
2.6.1 shutdown-control.....................................................................- 49 -
2.6.2 shutdown-control-open-time....................................................- 50 -
2.6.3 no shutdown-control-recover...................................................- 50 -
2.6.4 show shutdown-control............................................................- 51 -
Chapter 3 VLAN Configuration Command................................................- 52 -
3.1 VLAN Configuration...........................................................................- 52 -
3.1.1 description...............................................................................- 52 -
3.1.2 show vlan.................................................................................- 53 -
3.1.3 OLTport....................................................................................- 53 -
III
Catalog
3.1.4 vlan.......................................................................................... - 54 -
3.2 GVRP Configuration Command.........................................................- 55 -
3.2.1 gvrp.......................................................................................... - 56 -
3.2.2 show gvrp................................................................................- 56 -
3.2.3 show gvrp interface.................................................................- 57 -
3.2.4 garp permit vlan.......................................................................- 58 -
3.2.5 show garp permit vlan..............................................................- 58 -
3.3 QinQ command..................................................................................- 59 -
3.3.1 dtag.......................................................................................... - 59 -
3.3.2 dtag mode................................................................................- 60 -
3.3.3 show dag.................................................................................- 60 -
3.3.4 dtag insert................................................................................- 61 -
3.3.5 show dag insert.......................................................................- 61 -
3.3.6 dtag swap................................................................................- 62 -
3.3.7 show dag swap........................................................................- 62 -
3.3.8 dtag pass-through....................................................................- 63 -
3.3.9 show dag pass-through...........................................................- 63 -
3.4 l2-tunnel Configuration.......................................................................- 63 -
3.4.1 l2-tunnel...................................................................................- 64 -
3.4.2 show l2-tunnel interface...........................................................- 65 -
3.4.3 l2-tunnel drop-threshold...........................................................- 65 -
3.4.4 show l2-tunnel drop-threshold.................................................- 66 -
Chapter 4 ARP Configuration Command..................................................- 67 -
4.1 ARP Configuration Command............................................................- 67 -
4.1.1 no arp......................................................................................- 67 -
4.1.2 show arp..................................................................................- 68 -
Chapter 5 DHCP Configuration Command................................................- 69 -
5.1 DHCP Configuration Command.........................................................- 69 -
5.1.1 dhcp-relay................................................................................- 69 -
IV
Catalog
5.1.2 dhcp-server..............................................................................- 70 -
5.1.3 dhcp-snooping.........................................................................- 71 -
5.1.4 dhcp-snooping trust.................................................................- 72 -
5.1.5 dhcp-snooping max-clients......................................................- 72 -
5.1.6 ip-source-guard.......................................................................- 73 -
5.1.7 ip-source-guard bind ip............................................................- 73 -
5.1.8 show dhcp-relay......................................................................- 74 -
5.1.9 show dhcp-snooping interface.................................................- 74 -
5.1.10 show dhcp-snooping vlan......................................................- 75 -
5.1.11 show dhcp-snooping clients...................................................- 76 -
Chapter 6 Multicast Protocol Configuration Command.............................- 77 -
6.1 Static Multicast Configuration Command...........................................- 77 -
6.1.1 multicast mac-address.............................................................- 77 -
6.1.2 multicast mac-address vlan interface.......................................- 78 -
6.1.3 show multicast.........................................................................- 79 -
6.2 IGMP snooping and GMRP Configuration Command........................- 79 -
6.2.1 gmrp........................................................................................- 80 -
6.2.2 igmp-snooping.........................................................................- 81 -
6.2.3 igmp-snooping host-aging-time...............................................- 81 -
6.2.4 igmp-snooping max-response-time.........................................- 82 -
6.2.5 igmp-snooping fast-leave.........................................................- 82 -
6.2.6 igmp-snooping group-limit.......................................................- 83 -
6.2.7 igmp-snooping permit/deny group...........................................- 84 -
6.2.8 igmp-snooping route-port forward............................................- 84 -
6.2.9 igmp-snooping multicast vlan..................................................- 85 -
6.2.10 show gmrp.............................................................................- 86 -
6.2.11 show gmrp interface...............................................................- 86 -
6.2.12 garp permit multicast mac-address........................................- 87 -
6.2.13 show garp permit multicast....................................................- 88 -
V
Catalog
6.2.14 show igmp-snooping..............................................................- 88 -
6.3 IGMP Configuration Command..........................................................- 88 -
6.3.1 ip igmp.....................................................................................- 89 -
6.3.2 igmp-proxy...............................................................................- 90 -
6.3.3 ip igmp access-group...............................................................- 91 -
6.3.4 ip igmp last-member-query-interval.........................................- 92 -
6.3.5 ip igmp query-interval..............................................................- 93 -
6.3.6 ip igmp query-max-response-time...........................................- 94 -
6.3.7 ip igmp static-group.................................................................- 95 -
6.3.8 ip igmp create-group................................................................- 96 -
6.3.9 ip igmp robustness-varible.......................................................- 97 -
6.3.10 ip igmp limit-group.................................................................- 98 -
6.3.11 ip igmp version.......................................................................- 99 -
6.3.12 ip multicast-routing...............................................................- 100 -
6.3.13 show igmp-proxy.................................................................- 101 -
6.3.14 show ip igmp groups............................................................- 101 -
6.3.15 show ip igmp interface.........................................................- 102 -
6.3.16 ip igmp ssm-mapping...........................................................- 103 -
6.3.17 mroute igmp.........................................................................- 103 -
6.3.18 ssm-mapping static..............................................................- 104 -
6.3.19 show ip igmp ssm-mapping.................................................- 105 -
6.4 PIM Configuration Command..........................................................- 105 -
6.4.1 ip pim dense-mode................................................................- 106 -
6.4.2 ip pim neighbor-limit...............................................................- 107 -
6.4.3 ip pim neighbor-policy............................................................- 108 -
6.4.4 ip pim query-interval..............................................................- 109 -
6.4.5 ip pim sparse-mode...............................................................- 110 -
6.4.6 ip pim bsr-border....................................................................- 110 -
6.4.7 mroute pim.............................................................................- 111 -
VI
Catalog
6.4.8 show ip mroute.......................................................................- 111 -
6.4.9 show ip pim neighbor.............................................................- 112 -
6.4.10 show ip pim interface...........................................................- 113 -
6.4.11 show ip pim rp-info...............................................................- 113 -
6.4.12 show ip pim bsr....................................................................- 114 -
6.4.13 source-policy........................................................................- 114 -
6.4.14 static-rp................................................................................- 115 -
6.4.15 bsr-candidate.......................................................................- 116 -
6.4.16 rp-candidate.........................................................................- 117 -
6.4.17 spt-threshold........................................................................- 118 -
6.4.18 ssm......................................................................................- 119 -
6.4.19 show ip pim ssm range........................................................- 120 -
Chapter 7 ACL Configuration Command.................................................- 122 -
7.1 ACL configuration command list......................................................- 122 -
7.1.1 absolute.................................................................................- 123 -
7.1.2 access-group.........................................................................- 124 -
7.1.3 access-list..............................................................................- 125 -
7.1.4 access-list extended..............................................................- 130 -
7.1.5 access-list link.......................................................................- 131 -
7.1.6 access-list match-order..........................................................- 133 -
7.1.7 access-list standard...............................................................- 134 -
7.1.8 { permit | deny }......................................................................- 135 -
7.1.9 periodic..................................................................................- 140 -
7.1.10 port-isolation........................................................................- 142 -
7.1.11 port-isolation group..............................................................- 143 -
7.1.12 show access-list config........................................................- 144 -
7.1.13 show access-list config statistic...........................................- 145 -
7.1.14 show access-list runtime......................................................- 145 -
7.1.15 show access-list runtime statistic.........................................- 146 -
VII
Catalog
7.1.16 show port-isolation...............................................................- 146 -
7.1.17 show time-range..................................................................- 147 -
7.1.18 time-range...........................................................................- 148 -
Chapter 8 QOS Configuration Command................................................- 149 -
8.1 QoS Configuration Command..........................................................- 149 -
8.1.1 clear traffic-statistic................................................................- 150 -
8.1.2 bandwidth egress..................................................................- 151 -
8.1.3 mirrored-to.............................................................................- 152 -
8.1.4 queue-scheduler....................................................................- 153 -
8.1.5 queue-scheduler cos-map.....................................................- 154 -
8.1.6 queue-scheduler dscp-map...................................................- 155 -
8.1.7 rate-limit.................................................................................- 156 -
8.1.8 two-rate-policer mode............................................................- 157 -
8.1.9 two-rate-policer set-pre-color.................................................- 158 -
8.1.10 show qos-info all..................................................................- 159 -
8.1.11 show qos-info mirrored-to....................................................- 159 -
8.1.12 show qos-info statistic..........................................................- 160 -
8.1.13 show qos-info traffic-copy-to-cpu.........................................- 160 -
8.1.14 show qos-info traffic-priority.................................................- 161 -
8.1.15 show qos-info traffic-redirect................................................- 161 -
8.1.16 show qos-info traffic-statistic................................................- 162 -
8.1.17 show qos-interface all..........................................................- 162 -
8.1.18 show qos-interface line-rate.................................................- 163 -
8.1.19 show qos-interface rate-limit................................................- 164 -
8.1.20 show qos-interface statistic..................................................- 164 -
8.1.21 show queue-scheduler.........................................................- 165 -
8.1.22 show queue-scheduler cos-map..........................................- 165 -
8.1.23 show queue-scheduler dscp-map........................................- 166 -
8.1.24 show two-rate-policer...........................................................- 166 -
VIII
Catalog
8.1.25 storm-control........................................................................- 166 -
8.1.26 traffic-copy-to-cpu................................................................- 167 -
8.1.27 traffic-priority........................................................................- 168 -
8.1.28 traffic-redirect.......................................................................- 170 -
8.1.29 traffic-statistic.......................................................................- 171 -
Chapter 9 STP Configuration Command.................................................- 173 -
9.1 STP Configuration Command..........................................................- 173 -
9.1.1 show spanning-tree interface.................................................- 173 -
9.1.2 show spanning-tree remote-loop-detect interface..................- 174 -
9.1.3 spanning-tree.........................................................................- 175 -
9.1.4 spanning-tree cost.................................................................- 176 -
9.1.5 spanning-tree forward-time....................................................- 176 -
9.1.6 spanning-tree hello-time........................................................- 177 -
9.1.7 spanning-tree max-age..........................................................- 178 -
9.1.8 spanning-tree port-priority......................................................- 179 -
9.1.9 spanning-tree mcheck...........................................................- 180 -
9.1.10 spanning-tree point-to-point.................................................- 180 -
9.1.11 spanning-tree portfast..........................................................- 181 -
9.1.12 spanning-tree transit-limit....................................................- 182 -
9.1.13 spanning-tree priority...........................................................- 183 -
9.1.14 spanning-tree mode.............................................................- 183 -
9.1.15 spanning-tree remote-loop-detect........................................- 184 -
9.1.16 clear spanning-tree..............................................................- 185 -
9.2 MSTP Cconfiguration Command.....................................................- 185 -
9.2.1 spanning-tree mst max-hops.................................................- 187 -
9.2.2 spanning-tree mst name........................................................- 187 -
9.2.3 spanning-tree mst revision.....................................................- 188 -
9.2.4 spanning-tree mst instance vlan............................................- 189 -
9.2.5 spanning-tree mst instance instance-num priority.................- 189 -
IX
Catalog
9.2.6 spanning-tree mst external cost.............................................- 190 -
9.2.7 spanning-tree mst instance cost............................................- 191 -
9.2.8 spanning-tree mst instance port-priority.................................- 191 -
9.2.9 show spanning-tree mst config-id..........................................- 192 -
9.2.10 show spanning-tree mst instance interface..........................- 192 -
Chapter 10 802.1X Configuration Command..........................................- 194 -
10.1 Domain Configuration Command...................................................- 194 -
10.1.1 aaa.......................................................................................- 194 -
10.1.2 access-limit..........................................................................- 195 -
10.1.3 default domain-name enbale...............................................- 196 -
10.1.4 domain.................................................................................- 197 -
10.1.5 show domain.......................................................................- 198 -
10.1.6 radius host binding...............................................................- 198 -
10.1.7 state.....................................................................................- 199 -
10.2 RADIUS Server Configuration Command......................................- 200 -
10.2.1 accounting-on......................................................................- 201 -
10.2.2 acct-secret-key....................................................................- 201 -
10.2.3 auth-secret-key....................................................................- 202 -
10.2.4 dnrate-value.........................................................................- 203 -
10.2.5 h3c-cams.............................................................................- 203 -
10.2.6 nas-ipaddress......................................................................- 204 -
10.2.7 primary-acct-ip.....................................................................- 204 -
10.2.8 primary-auth-ip....................................................................- 205 -
10.2.9 show radius attribute............................................................- 206 -
10.2.10 show radius config-attribute...............................................- 206 -
10.2.11 show radius host................................................................- 207 -
10.2.12 uprate-value.......................................................................- 207 -
10.2.13 radius 8021p......................................................................- 208 -
10.2.14 radius accounting...............................................................- 209 -
X
Catalog
10.2.15 radius attribute...................................................................- 209 -
10.2.16 radius bandwidth-limit........................................................- 210 -
10.2.17 radius config-attribute........................................................- 211 -
10.2.18 radius host.........................................................................- 211 -
10.2.19 radius mac-address-number..............................................- 212 -
10.2.20 radius server-disconnect drop 1x.......................................- 213 -
10.2.21 radius vlan.........................................................................- 214 -
10.2.22 realtime-account................................................................- 214 -
10.2.23 second-acct-ip...................................................................- 215 -
10.2.24 second-auth-ip...................................................................- 216 -
10.2.25 username-format...............................................................- 217 -
10.3 802.1X Related Configuration Command......................................- 218 -
10.3.1 dot1x method.......................................................................- 218 -
10.3.2 dot1x daemon......................................................................- 219 -
10.3.3 dot1x eap-finish...................................................................- 220 -
10.3.4 dot1x eap-transfer................................................................- 221 -
10.3.5 dot1x max-user....................................................................- 222 -
10.3.6 dot1x port-control.................................................................- 223 -
10.3.7 dot1x re-authenticate...........................................................- 224 -
10.3.8 dot1x re-authentication........................................................- 225 -
10.3.9 dot1x timeout re-authperiod.................................................- 226 -
10.3.10 dot1x user cut....................................................................- 227 -
10.3.11 dot1x detect.......................................................................- 227 -
10.3.12 dot1x quiet-period-value....................................................- 228 -
10.3.13 show dot1x........................................................................- 229 -
10.3.14 show dot1x daemon...........................................................- 229 -
10.3.15 show dot1x interface..........................................................- 230 -
10.3.16 show dot1x session...........................................................- 230 -
Chapter 11 SNTP Client Configuration Command..................................- 232 -
XI
Catalog
11.1 SNTP client configuration command list.........................................- 232 -
11.1.1 show sntp client...................................................................- 232 -
11.1.2 sntp client.............................................................................- 233 -
11.1.3 sntp client authenticate........................................................- 233 -
11.1.4 sntp client authentication-key...............................................- 234 -
11.1.5 sntp client broadcastdelay...................................................- 235 -
11.1.6 sntp client mode...................................................................- 235 -
11.1.7 sntp client multicast ttl..........................................................- 236 -
11.1.8 sntp client poll-interval.........................................................- 237 -
11.1.9 sntp client retransmit............................................................- 238 -
11.1.10 sntp client retransmit-interval.............................................- 239 -
11.1.11 sntp client valid-server........................................................- 240 -
11.1.12 sntp server.........................................................................- 240 -
11.1.13 sntp client summer-time.....................................................- 241 -
11.1.14 sntp trusted-key.................................................................- 242 -
Chapter 12 Syslog Configiration Command............................................- 244 -
12.1 Syslog Configuration Command....................................................- 244 -
12.1.1 show logging........................................................................- 245 -
12.1.2 show logging buffered..........................................................- 245 -
12.1.3 show logging flash...............................................................- 246 -
12.1.4 show logging filter................................................................- 246 -
12.1.5 show debug.........................................................................- 247 -
12.1.6 logging.................................................................................- 247 -
12.1.7 logging sequence-numbers.................................................- 248 -
12.1.8 logging timestamps..............................................................- 248 -
12.1.9 logging language.................................................................- 249 -
12.1.10 logging monitor..................................................................- 250 -
12.1.11 terminal monitor.................................................................- 251 -
12.1.12 logging buffered.................................................................- 252 -
XII
Catalog
12.1.13 clear logging buffered........................................................- 253 -
12.1.14 logging flash......................................................................- 253 -
12.1.15 clear logging flash..............................................................- 255 -
12.1.16 logging host.......................................................................- 255 -
12.1.17 logging facility....................................................................- 256 -
12.1.18 logging source...................................................................- 257 -
12.1.19 logging snmp-agent...........................................................- 258 -
12.1.20 debug.................................................................................- 260 -
12.1.21 upload logging...................................................................- 261 -
Chapter 13 SSH Configuration Command..............................................- 263 -
13.1 SSH configuration command list....................................................- 263 -
13.1.1 show ssh..............................................................................- 263 -
13.1.2 show keyfile.........................................................................- 263 -
13.1.3 ssh.......................................................................................- 264 -
13.1.4 crypto key generate rsa.......................................................- 264 -
13.1.5 crypto key zeroize rsa..........................................................- 265 -
13.1.6 crypto key refresh................................................................- 265 -
13.1.7 load keyfile...........................................................................- 265 -
13.1.8 upload keyfile.......................................................................- 266 -
Chapter 14 OLT Manage and Maintenance Command..........................- 269 -
14.1 Configuration Files Management...................................................- 269 -
14.1.1 buildrun mode continue.......................................................- 269 -
14.1.2 buildrun mode stop..............................................................- 269 -
14.1.3 clear startup-config..............................................................- 270 -
14.1.4 copy nm-interface-config startup-config...............................- 270 -
14.1.5 copy running-config startup-config.......................................- 271 -
14.1.6 copy startup-config running-config.......................................- 272 -
14.1.7 show running-config.............................................................- 272 -
14.1.8 show startup-config..............................................................- 273 -
XIII
Catalog
14.2 Online Loading Upgrade Program.................................................- 273 -
14.2.1 load application ftp...............................................................- 274 -
14.2.2 load application tftp..............................................................- 275 -
14.2.3 load application xmodem.....................................................- 275 -
14.2.4 load configuration ftp...........................................................- 276 -
14.2.5 load configuration tftp..........................................................- 277 -
14.2.6 load configuration xmodem..................................................- 277 -
14.2.7 load whole-bootrom ftp........................................................- 278 -
14.2.8 load whole-bootrom tftp.......................................................- 279 -
14.2.9 load whole-bootrom xmodem..............................................- 279 -
14.2.10 upload alarm ftp.................................................................- 280 -
14.2.11 upload alarm tftp................................................................- 281 -
14.2.12 upload configuration ftp.....................................................- 281 -
14.2.13 upload configuration tftp....................................................- 282 -
14.2.14 upload logging ftp..............................................................- 283 -
14.2.15 upload logging tftp.............................................................- 283 -
14.3 Reboot OLT...................................................................................- 284 -
14.3.1 reboot..................................................................................- 284 -
14.4 Basic Configuration and Maintenance...........................................- 284 -
14.4.1 broadcast-suppression........................................................- 285 -
14.4.2 clock set...............................................................................- 286 -
14.4.3 clock timezone.....................................................................- 287 -
14.4.4 discard-bpdu........................................................................- 288 -
14.4.5 discard-l2-tunnel..................................................................- 289 -
14.4.6 dlf-forward............................................................................- 289 -
14.4.7 loopback..............................................................................- 290 -
14.4.8 vct run..................................................................................- 291 -
14.4.9 vct auto-run..........................................................................- 291 -
14.4.10 show vct auto-run..............................................................- 292 -
XIV
Catalog
14.4.11 mac-address-table.............................................................- 292 -
14.4.12 mac-address-table age-time..............................................- 293 -
14.4.13 mac-address-table learning...............................................- 294 -
14.4.14 mac-address-table max-mac-count...................................- 294 -
14.4.15 ping....................................................................................- 295 -
14.4.16 show broadcast-suppression.............................................- 296 -
14.4.17 show clock.........................................................................- 296 -
14.4.18 show cpu-utilization...........................................................- 297 -
14.4.19 show dhcp-server clients...................................................- 297 -
14.4.20 show discard-bpdu.............................................................- 298 -
14.4.21 show dlf-forward................................................................- 298 -
14.4.22 show ip fdb........................................................................- 298 -
14.4.23 show mac-address-table....................................................- 299 -
14.4.24 show mac-address-table age-time.....................................- 300 -
14.4.25 show mac-address-table learning......................................- 300 -
14.4.26 show memory....................................................................- 301 -
14.4.27 show system......................................................................- 301 -
14.4.28 show users........................................................................- 301 -
14.4.29 show version......................................................................- 302 -
14.4.30 login-access-list telnet-limit................................................- 302 -
14.4.31 tracert................................................................................- 303 -
14.4.32 cpu-car...............................................................................- 304 -
14.4.33 show cpu-car.....................................................................- 305 -
14.4.34 show cpu- statistics............................................................- 305 -
14.4.35 clear cpu- statistics............................................................- 305 -
14.5 SNMP Configuration......................................................................- 306 -
14.5.1 show snmp community........................................................- 307 -
14.5.2 show snmp contact..............................................................- 307 -
14.5.3 show snmp host...................................................................- 308 -
XV
Catalog
14.5.4 show snmp notify.................................................................- 308 -
14.5.5 show snmp location.............................................................- 308 -
14.5.6 show snmp engineID...........................................................- 309 -
14.5.7 show snmp group................................................................- 309 -
14.5.8 show snmp user..................................................................- 310 -
14.5.9 show snmp view..................................................................- 310 -
14.5.10 snmp-server community.....................................................- 311 -
14.5.11 snmp-server contact..........................................................- 312 -
14.5.12 snmp-server host...............................................................- 312 -
14.5.13 snmp-server location.........................................................- 313 -
14.5.14 snmp-server name.............................................................- 314 -
14.5.15 snmp-server enable traps..................................................- 315 -
14.5.16 snmp-server trap-source....................................................- 316 -
14.5.17 snmp-server engineID.......................................................- 316 -
14.5.18 snmp-server view...............................................................- 318 -
14.5.19 snmp-server group.............................................................- 319 -
14.5.20 snmp-server user...............................................................- 320 -
14.6 Manage IP Restriction Configuration.............................................- 322 -
14.6.1 login-access-list...................................................................- 322 -
14.6.2 show login-access-list..........................................................- 323 -
14.7 Telnet Client...................................................................................- 323 -
14.7.1 telnet....................................................................................- 324 -
14.7.2 show telnet client.................................................................- 324 -
14.7.3 stop telnet client...................................................................- 325 -
14.8 CPU Alarm Configuration Command.............................................- 325 -
14.8.1 alarm cpu.............................................................................- 326 -
14.8.2 alarm cpu threshold.............................................................- 326 -
14.8.3 show alarm cpu...................................................................- 327 -
14.9 Mail Alarm Configuration................................................................- 327 -
XVI
Catalog
14.9.1 mailalarm.............................................................................- 328 -
14.9.2 mailalarm server..................................................................- 328 -
14.9.3 mailalarm receiver...............................................................- 329 -
14.9.4 mailalarm ccaddr.................................................................- 329 -
14.9.5 mailalarm smtp authentication.............................................- 330 -
14.9.6 mailalarm logging level........................................................- 331 -
14.9.7 show mailalarm....................................................................- 332 -
14.10 Anti-DOS Attack...........................................................................- 332 -
14.10.1 anti-dos ip fragment...........................................................- 333 -
14.10.2 anti-dos ip ttl......................................................................- 333 -
14.10.3 show anti-dos....................................................................- 334 -
Chapter 15 LLDP Configuration Command.............................................- 335 -
15.1 LLDP Configuration Command......................................................- 335 -
15.1.1 lldp.......................................................................................- 335 -
15.1.2 lldp hello-time......................................................................- 336 -
15.1.3 lldp hold-time.......................................................................- 336 -
15.1.4 lldp { rx | tx | rxtx }................................................................- 337 -
15.1.5 show lldp interface [ <interface-list> ]...................................- 337 -
Chapter 16 Flex links Configuration Command.......................................- 338 -
16.1 Flex links Configuration Command................................................- 338 -
16.1.1 OLTport backup...................................................................- 338 -
16.1.2 channel-group channel-group-number backup....................- 338 -
16.1.3 OLTport backup preemption mode......................................- 339 -
16.1.4 channel group backup preemption mode.............................- 339 -
16.1.5 OLTport backup preemption delay.......................................- 340 -
16.1.6 channel-group backup preemption delay.............................- 341 -
16.1.7 show swithport interface backup..........................................- 341 -
16.1.8 mac-address-table move update transmit............................- 342 -
16.1.9 mac-address-table move update receive.............................- 342 -
XVII
Catalog
16.1.10 show swithport interface backup........................................- 342 -
Chapter 17 CFM Configuration Command..............................................- 344 -
17.1.1 cfm md.................................................................................- 344 -
17.1.2 cfm mep...............................................................................- 345 -
17.1.3 cfm mip................................................................................- 346 -
17.1.4 cfm rmep..............................................................................- 346 -
17.1.5 cfm cc interval......................................................................- 347 -
17.1.6 cfm loopback.......................................................................- 348 -
17.1.7 cfm linktrack.........................................................................- 348 -
17.1.8 show cfm md.......................................................................- 349 -
17.1.9 show cfm mp local...............................................................- 349 -
17.1.10 show cfm mp remote.........................................................- 349 -
17.1.11 show cfm cc database.......................................................- 350 -
17.1.12 show cfm errors.................................................................- 350 -
Chapter 18 PPPoE PlusConfiguration Command...................................- 351 -
18.1 PPPoE PlusConfiguration Command............................................- 351 -
18.1.1 pppoeplus............................................................................- 351 -
18.1.2 pppoeplus type....................................................................- 351 -
18.1.3 show pppoeplus...................................................................- 352 -
Chapter 19 ERRP Configuration Command............................................- 353 -
19.1 ERRP Configuration Command.....................................................- 353 -
19.1.1 errp......................................................................................- 353 -
19.1.2 errp hello-timer....................................................................- 354 -
19.1.3 errp fail-timer.......................................................................- 354 -
19.1.4 errp domain.........................................................................- 355 -
19.1.5 control-vlan..........................................................................- 355 -
19.1.6 ring role primary-port secondary-port level..........................- 356 -
19.1.7 ring role common-port edge-port.........................................- 357 -
19.1.8 ring { enable | disable }........................................................- 358 -
XVIII
Catalog
19.1.9 show errp.............................................................................- 359 -
19.1.10 ring query-solicit.................................................................- 359 -
Chapter 20 EFM Configuration Command..............................................- 361 -
20.1 EFM Configuration Command.......................................................- 361 -
20.1.1 efm.......................................................................................- 361 -
20.1.2 efm mode.............................................................................- 362 -
20.1.3 efm pdu-timeout...................................................................- 363 -
20.1.4 efm link-timeout...................................................................- 363 -
20.1.5 efm remote-response-timeout..............................................- 364 -
20.1.6 efm link-monitor para...........................................................- 365 -
20.1.7 efm remote-failure................................................................- 366 -
20.1.8 efm link-monitor...................................................................- 366 -
20.1.9 efm variable-retrieval...........................................................- 367 -
20.1.10 efm remote-loopback.........................................................- 368 -
20.1.11 efm remote-loopback { start | stop }...................................- 368 -
20.1.12 efm remote-loopback { ignore | process }..........................- 369 -
20.1.13 show efm status interface..................................................- 369 -
20.1.14 show efm summary............................................................- 370 -
20.1.15 show efm discovery interface............................................- 370 -
20.1.16 show / clear efm statistics interface...................................- 371 -
20.1.17 show efm remote-mib........................................................- 371 -
Chapter 21 OLT Slot Management Configuration Command..................- 373 -
21.1 OLT Slot Management Configuration Command...........................- 373 -
21.1.1 set slot.................................................................................- 373 -
21.1.2 show slot..............................................................................- 374 -
21.1.3 show pon.............................................................................- 374 -
Chapter 22 PON Configuration Command..............................................- 376 -
22.1 PON Configuration Command.......................................................- 376 -
22.1.1 onu-authenticate..................................................................- 377 -
XIX
Catalog
22.1.2 white-list...............................................................................- 377 -
22.1.3 black-list...............................................................................- 378 -
22.1.4 loid-list.................................................................................- 378 -
22.1.5 hybrid-list.............................................................................- 379 -
22.1.6 onu-p2p...............................................................................- 379 -
22.1.7 encryp..................................................................................- 380 -
22.1.8 dba.......................................................................................- 381 -
22.1.9 mac-address-table...............................................................- 381 -
22.1.10 classif.................................................................................- 382 -
22.1.11 no classif............................................................................- 387 -
22.1.12 enable-pon-vlan-isolation...................................................- 387 -
22.1.13 show onu-mac-auth...........................................................- 388 -
22.1.14 show white-list...................................................................- 389 -
22.1.15 show black-list...................................................................- 389 -
22.1.16 show loid-list......................................................................- 390 -
22.1.17 show hybrid-list..................................................................- 390 -
22.1.18 show onu-p2p....................................................................- 391 -
22.1.19 show dba...........................................................................- 391 -
22.1.20 show mac-address-table....................................................- 392 -
22.1.21 show classif.......................................................................- 392 -
22.1.22 show enable-pon-vlan-isolation.........................................- 393 -
Chapter 23 ONU Management Configuration Commands......................- 394 -
23.1 ONU Management Configuration Commands...............................- 394 -
23.1.1 onu-description....................................................................- 395 -
23.1.2 show onu-description...........................................................- 395 -
23.1.3 onu-binding..........................................................................- 396 -
23.1.4 show onu-status..................................................................- 397 -
23.1.5 onu-reboot...........................................................................- 397 -
23.1.6 onu-bandwidth.....................................................................- 398 -
XX
Catalog
23.1.7 onu-encrypt..........................................................................- 400 -
23.1.8 onu-loopback.......................................................................- 400 -
23.1.9 onu-flow-control...................................................................- 401 -
23.1.10 onu-shutdown....................................................................- 401 -
23.1.11 onu-speed auto..................................................................- 402 -
23.1.12 onu-bandwidth...................................................................- 402 -
23.1.13 onu-bandwidth multicast....................................................- 403 -
23.1.14 onu-bandwidth broadcast..................................................- 403 -
23.1.15 onu-vlan-mode...................................................................- 403 -
23.1.16 onu-classification...............................................................- 405 -
23.1.17 onu-multicast mode...........................................................- 406 -
23.1.18 onu-multicast tag...............................................................- 406 -
23.1.19 onu-multicast fastleave......................................................- 406 -
23.1.20 onu-igmp-snooping vlan....................................................- 407 -
23.1.21 onu-igmp-snooping group-number.....................................- 407 -
23.1.22 onu-multicast-ctrl...............................................................- 408 -
23.1.23 onu-fec mode.....................................................................- 408 -
23.1.24 no onu-classification..........................................................- 409 -
23.1.25 no onu-igmp-snooping vlan...............................................- 409 -
23.1.26 no onu-multicast-ctrl..........................................................- 410 -
23.1.27 no onu-bandwidth multicast...............................................- 410 -
23.1.28 no onu-bandwidth broadcast.............................................- 410 -
23.1.29 onu-mac-address-table max-mac-count............................- 411 -
23.1.30 onu-mac-address-table age-time.......................................- 411 -
23.1.31 onu-queue-scheduler.........................................................- 412 -
23.1.32 onu-queue-scheduler cos-map..........................................- 413 -
23.1.33 onu-queue-scheduler cos-remap.......................................- 414 -
23.1.34 onu-mac-address-table blackhole......................................- 414 -
23.1.35 onu-dtag............................................................................- 415 -
XXI
Catalog
23.1.36 onu-ip address static..........................................................- 417 -
23.1.37 no onu-ip address..............................................................- 417 -
23.1.38 onu-vlan.............................................................................- 418 -
23.1.39 no onu-vlan........................................................................- 418 -
23.1.40 onu-swithport.....................................................................- 419 -
23.1.41 no onu-swithport................................................................- 419 -
23.1.42 onu-swithport access vlan.................................................- 419 -
23.1.43 no onu-swithport access vlan............................................- 420 -
23.1.44 onu-tag-mode....................................................................- 420 -
23.1.45 onu-com-session...............................................................- 420 -
23.1.46 no onu-com-session..........................................................- 422 -
23.1.47 clear onu-com-statistic.......................................................- 422 -
23.1.48 onu-event-alarm loopback.................................................- 422 -
23.1.49 onu-ctc-upgrade.................................................................- 423 -
23.1.50 onu-ctc-upgrade-commit....................................................- 423 -
23.1.51 show onu-port-info.............................................................- 423 -
23.1.52 show onu-status.................................................................- 424 -
23.1.53 show statistics onu.............................................................- 424 -
23.1.54 show onu-bandwidth..........................................................- 425 -
23.1.55 show onu-encrypt..............................................................- 426 -
23.1.56 show onu-loopback oam....................................................- 427 -
23.1.57 show onu-interface............................................................- 427 -
23.1.58 show onu-sn......................................................................- 428 -
23.1.59 show onu-firmware............................................................- 428 -
23.1.60 show onu-pon-chip............................................................- 429 -
23.1.61 show onu-capabilities........................................................- 429 -
23.1.62 show onu-bandwidth..........................................................- 430 -
23.1.63 show vlan-mode.................................................................- 432 -
23.1.64 show onu-classification......................................................- 433 -
XXII
Catalog
23.1.65 show onu-multicast mode..................................................- 433 -
23.1.66 show onu-multicast tag......................................................- 434 -
23.1.67 show onu-multicast fast-leave...........................................- 434 -
23.1.68 show onu-igmp-snooping vlan...........................................- 435 -
23.1.69 show onu-multicast-ctrl local-ctrl........................................- 435 -
23.1.70 show onu-multicast-ctrl......................................................- 436 -
23.1.71 show onu-fec.....................................................................- 436 -
23.1.72 show onu-mac-address-table max-mac-count...................- 437 -
23.1.73 show onu-mac-address-table age-time..............................- 438 -
23.1.74 show onu-queue-scheduler...............................................- 438 -
23.1.75 show onu-mac-address-table blackhole............................- 439 -
23.1.76 show onu-bandwidth multicast...........................................- 439 -
23.1.77 show onu-bandwidth broadcast.........................................- 440 -
23.1.78 show onu-dtag...................................................................- 440 -
23.1.79 show onu-mac-address-table blackhole............................- 442 -
23.1.80 show onu-ip address onu...................................................- 442 -
23.1.81 show onu-com-session......................................................- 442 -
23.1.82 show onu-com-statistic......................................................- 443 -
23.1.83 show onu-event-alarm loopback........................................- 444 -
Chapter 24 PSG Management Configuration Command........................- 445 -
24.1 PSG Management Configuration Command.................................- 445 -
24.1.1 mpcp-delay-time..................................................................- 445 -
24.1.2 admin-enable-pon................................................................- 446 -
24.1.3 psg creat..............................................................................- 447 -
24.1.4 psg delete............................................................................- 447 -
24.1.5 psg OLT...............................................................................- 448 -
24.1.6 admin-enable-psg................................................................- 448 -
24.1.7 show mpcp-delay-time.........................................................- 449 -
24.1.8 show admin-enable-pon......................................................- 449 -
XXIII
Catalog
24.1.9 show psg.............................................................................- 450 -
24.1.10 show admin-enable-psg.....................................................- 451 -
Chapter 25 Controllable Multicast Profile Managmenet Commands.......- 452 -
25.1 Controllable multicast profile management commands.................- 452 -
25.1.1 multicast-ctrl profile..............................................................- 452 -
25.1.2 multicast-ctrl........................................................................- 453 -
25.1.3 show multicast-ctrl profile....................................................- 453 -
25.1.4 enable multicast-ctrl profile..................................................- 454 -
25.1.5 onu-multicast-ctrl profile-binding..........................................- 454 -
XXIV
Command line configuration manual
Command
cls
configure terminal
enable
end
exit
help
hostname
interface
muser
quit
show muser
show tacacs+
show username
stop
-1-
Command line configuration manual
tcacac+
timeout
username
username change-password
1.1.1 cls
cls
【Example】
EPON>cls
configure terminal
Privileged mode
【Example】
EPON#configure terminal
EPON(config)#
【Related command】
-2-
Command line configuration manual
exit,end
1.1.3 enable
enable
User mode
【Example】
EPON>enable
EPON#
【Related command】
exit,end
1.1.4 end
Use end command to be back from global configuration mode or other superior
mode to privileged mode.
end
【Usage】
User mode
Privileged mode
-3-
Command line configuration manual
Global configuration mode
Interface configuration mode, VLAN configuration mode, and
AAA configuration mode
Domain configuration mode and radius configuration mode
End command can back from global configuration mode or other superior mode to
privileged mode.
【Example】
EPON(config-if-ethernet-2/1)#end
EPON#
【Related command】
exit
1.1.5 exit
Use exit command to be back to inferior mode. For the user mode, exit.
exit
【Usage】
【Example】
EPON(config-if-ethernet-2/1)#exit
EPON(config)#
-4-
Command line configuration manual
【Related command】
end
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】
EPON(config)#help
1.1.7 hostname
hostname hostname
no hostname
【Parameter】
【Default】
-5-
Command line configuration manual
Global configuration mode
【Usage】
【Example】
EPON(config)#hostname 04P
04P(config)#
1.1.8 interface
【Parameter】
【Usage】
【Example】
1.1.9 muser
-6-
Command line configuration manual
Use muser command to enable user’s RADIUS/TACACS+ remote authentication.
【Parameter】
【Usage】
【Example】
-7-
Command line configuration manual
1.1.10 quit
quit
【Usage】
If the current connect is in telnet, use quit command to disconnect with the OLT
and exit. If the current connect is in serial port, after using quit command, you will
re-log in.
【Example】
EPON#quit
show muser
【Example】
EPON(config)#show muser
-8-
Command line configuration manual
show tacacs+
【Example】
EPON(config)#show tacacs+
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.14 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
-9-
Command line configuration manual
【Parameter】
Privileged mode
【Usage】
【Example】
EPON#stop com
1.1.15 tacacs+
【Parameter】
ipaddress:ip address of primary and secondary server which cannot be the same.
keyvalue:the key between OLT and server, which is in the length of 1~16
characters.
- 10 -
Command line configuration manual
Global configuration mode
【Usage】
【Example】
1.1.16 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】
【Usage】
- 11 -
Command line configuration manual
【Example】
EPON#timeout 30
EPON#no timeout
1.1.17 username
no username username
【Parameter】
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
- 12 -
Command line configuration manual
15 means administrator. If the privilege doesn’t configure, the default privilege is
ordinary user.
If inputting nothing to modify the privilege of existed user, the privilege doesn’t
modify. The privilege of Admin cannot be modified.
【Example】
username change-password
【Parameter】
【Usage】
Only administrator “admin”can modify other user’s password, while others only
can modifies his own. If a user forgets his password, administrator “admin” can
use this command to give him a new one.
- 13 -
Command line configuration manual
【Example】
EPON(config)#username change-password
- 14 -
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
- 15 -
Command line configuration manual
OLTport access
OLTport mode
OLTport trunk allowed vlan
OLTport trunk
tag
show statistics dynamic interface
show utilization interface
【Parameter】
【Usage】
Using clear interface command in global mode, if the interface-num and slot-num
are not assigned, the information of all interfaces is cleared. If the slot-num is
assigned, the port information of the assigned slot is cleared. In interface mode,
- 16 -
Command line configuration manual
only the information of the current port can be cleared.
【Example】
EPON(config)#clear interface
EPON(config-if-ethernet-2/5)#clear interface
1.2.2 combo
【Parameter】
fiber:FX attribution
copper:TX arrtibution
【Default】
fiber
【Usage】
【Example】
- 17 -
Command line configuration manual
EPON(config-if-ethernet-2/1)#combo copper
1.2.3 description
description description-list
no description
【Parameter】
【Example】
EPON(config-if-ethernet-2/3)#description com
EPON(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】
- 18 -
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】
EPON(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
- 19 -
Command line configuration manual
Interface 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】
EPON(config-if-ethernet-2/5)#flow-control
EPON(config-if-ethernet-2/5)#no flow-control
no ingress acceptable-frame
【Default】
【Usage】
When ingress acceptable-frame enables, frame of other type are dropped. When
ingress acceptable-frame disables, all types of frames are received.
【Example】
- 20 -
Command line configuration manual
!Configure Ethernet 2/5 only to receive tagged frame
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】
EPON(config-if-ethernet-2/5)#ingress filtering
1.2.8 priority
- 21 -
Command line configuration manual
Use priority command to assign priority of the port. Use no priority command to
restore default priority.
priority priority-value
no priority
【Parameter】
priority-value:Ranges from 2 to 7
【Default】
Default priority-value is 2
【Usage】
【Example】
EPON(config-if-ethernet-2/3)#priority 1
【Parameter】
- 22 -
Command line configuration manual
【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, the command
displays information about the specified port.
【Example】
- 23 -
Command line configuration manual
!Display the configuration information of Ethernet 2/1
【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】
Use show statistics higig [unit unit higig-port higig-port] command in any mode
to show port info.
- 24 -
Command line configuration manual
Use show statistics dynamic higig to show dynamic statictics.
【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
higig-port:port number
- 25 -
Command line configuration manual
Global configuration mode
【Usage】
Use this command in global configuration mode, if no higig port is specified, clear
all.
【Example】
1.2.14 shutdown
shutdown
no shutdown
【Default】
【Usage】
【Example】
EPON(config-if-ethernet-2/1)#shutdown
- 26 -
Command line configuration manual
EPON(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】
- 27 -
Command line configuration manual
【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】
12auto: means the maximum port speed is 12Mbps,and duplex mode is auto-
negotiation
122auto: means the maximum port speed is 122Mbps,and duplex mode is auto-
negotiation
auto: means both port speed and duplex mode are auto-negotiation
【Default】
auto
【Usage】
- 28 -
Command line configuration manual
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】
EPON(config-if-ethernet-2/1)#speed 122
Use OLTport mode command to configure port type. Use no OLTport mode
command to restore default port type, that is, access port.
no OLTport mode
【Parameter】
【Default】
【Usage】
Use OLTport mode command to configure a port to be trunk port or access port. If
a port configures to be a trunk port, the vlan mode changes untagged into tagged,
and if a port configures to be an access one, the vlan mode changes tagged into
untagged. In addition, configure a port to be a trunk one, then create a vlan, this
port will automatically be added to the vlan.
- 29 -
Command line configuration manual
【Example】
【Parameter】
【Usage】
Use this command to add trunk port to specified VLAN. Trunk port can belong
to more VLANs. If use OLTport trunk allowed vlan command in many
times, VLAN allowed by the trunk port is the congregation of these vlan-list.
【Example】
- 30 -
Command line configuration manual
Use this command to configure port default vlan-id (pvid),with no command is to
revert the default vlan-id.
【Parameter】
【Default】
【Command mode】
【Example】
【Usage】
【Example】
- 31 -
Command line configuration manual
!Display statistic information of the port
【Usage】
Receiving and sending rate and bandwidth utilization rate refresh every 3
seconds.
【Example】
1.2.23 local-OLT
Use this command to enable local OLTing feature of Ethernet interface. Use the
no command to disable it.
local-OLT
no local-OLT
【Default】
Disable
- 32 -
Command line configuration manual
【Usage】
Enabling local OLTing feature of Ethernet interface can transmit the packet from
the port where it is in.
【Example】
EPON(config-if-ethernet-2/5)#local-OLT
EPON(config-if-ethernet-2/5)#no local-OLT
mirror destination-interface
mirror source-interface
show mirror
【Parameter】
- 33 -
Command line configuration manual
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】
【Example】
- 34 -
Command line configuration manual
EPON(config)#mirror source-interface ethernet 2/1 to ethernet 2/12 both
show mirror
【Example】
EPON(config)#show mirror
no mirror all
【Example】
port-car
- 35 -
Command line configuration manual
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
no port-car
【Default】
【Example】
EPON(config)#port-car
EPON(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
- 36 -
Command line configuration manual
【Parameter】
【Default】
【Example】
EPON(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】
- 37 -
Command line configuration manual
!Configure port-car-rate to be 122 packet/second
EPON(config)#port-car-rate 122
show port-car
【Example】
EPON(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
- 38 -
Command line configuration manual
show statistics channel-group
clear channel-group
show statistics dynamic channel-group
show utilization channel-group
1.5.1 channel-group
channel-group channel-group-number
no channel-group channel-group-number
【Parameter】
channel-group-number:Range from 2 to 5
【Default】
Non
【Example】
EPON(config)#channel-group 1
Use channel-group mode command to add port members to the group, and
specify the mode.
- 39 -
Command line configuration manual
no channel-group channel-group-number
【Parameter】
channel-group-number:Range from 2 to 5
【Default】
Non
【Example】
!Add Ethernet 2/3 to channel-group 3 and specify the port to be active mode
!Add Ethernet 2/6 to ethernet 2/8 to channel-group 2 and specify the ports to be
on mode
EPON(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】
- 40 -
Command line configuration manual
【Command configuration mode】
【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 OLTes, and user can configure redundancy link,
which is realized by system and port priority. Choose redundancy in following
steps:
1,Make sure which OLT is the standard of choice. For exchanging the message,
two OLTes 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.
2,Choose redundancy link with the port parameter of the standard OLT. 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】
- 41 -
Command line configuration manual
default priority is 32768
【Example】
Use lacp port-priority command to configure lacp port-priority. When the port
backup exists, the inferior one backups. Use no lacp port-priority command to
restore default lacp port-priority.
【Parameter】
【Default】
【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.
- 42 -
Command line configuration manual
show lacp sys-id
【Parameter】
Non
【Default】
Non
【Example】
Use show lacp interval command to display the information of group 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:
- 43 -
Command line configuration manual
EPON#show lacp internal
This command displays the channel adjacent port, if you do not enter a parameter
, then display all channels from adjacent ports.
【Parameter】
channel-group-number:Range from 2 to 7
【Default】
Non
【Example】
!Such as:
Use this command to display statistic channel-group, it shows current all channel
group if no parameter enters.
【Parameter】
【Default】
None
- 44 -
Command line configuration manual
【Command mode】
All modes
【Example】
!For example:
Use this command to delete statistic channel-group, it deletes current all channel
group if no parameter enters.
【Parameter】
【Default】
None
【Command mode】
All modes
【Example】
!For example:
EPON#clear channel-group
【Default】
- 45 -
Command line configuration manual
None
【Command mode】
All modes
【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:
- 46 -
Command line configuration manual
alarm all-packets
alarm all-packets threshold
show alarm all-packets
alarm all-packets
no alarm all-packets
【Default】
【Example】
EPON(config)#alarm all-packets
EPON(config-if-ethernet-2/8)#alarm all-packets
no alarm all-packets
【Parameter】
- 47 -
Command line configuration manual
exceed:Exceed threshold. 122BASE ranges from 2 to 12222
【Usage】
【Example】
Use show alarm all-packets command to display the information of global alarm
all-packets.
【Example】
- 48 -
Command line configuration manual
1.6.4 show alarm all-packets interface
Use show alarm all-packets interface command to display port alarm all-
packets information.
【Parameter】
【Usage】
【Example】
shutdown-control
shutdown-control-open-time
- 49 -
Command line configuration manual
show shutdown-control
1.7.1 shutdown-control
【Parameter】
【Example】
1.7.2 shutdown-control-open-time
Shutdown-control-open-time open-time
no shutdown-control-open-time
【Parameter】
- 50 -
Command line configuration manual
【Default】
【Example】
EPON(config)#shutdown-control-open-time 12
1.7.3 no shutdown-control-recover
【Command mode】
【Example】
show shutdown-control
【Example】
- 51 -
Command line configuration manual
!Display interface shutdown-control information
EPON(config)#show shutdown-control
- 52 -
Command line configuration manual
Command
description
show vlan
OLTport
vlan
1.8.1 description
description string
no description
【Parameter】
- 53 -
Command line configuration manual
VLAN configuration mode
【Usage】
【Example】
GL (config-if-vlan)#description market
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】
EPON(config)#show vlan
1.8.3 OLTport
- 54 -
Command line configuration manual
Use OLTport command to add a port or multiple ports to a VLAN. Use no
OLTport 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 OLTport command, and all the
interfaces are removed from a VLAN by using the no OLTport command.
【View】
【Usage】
In no OLTport command, all the interfaces would be removed from a VLAN when
the interface-list is unspecified. When removing the interface from VLAN 1
(default VLAN), if the PVID of the interface is 1, the PVID must be changed into
other VLAN ID, or the removing fails. When removing interface from other VLANs,
if the PVID of the interface is the same as the VLAN ID, and the interface is also
in VLAN 1, the removing succeeds, and the PVID of the interface default to 1, or
the removing fails
【Example】
- 55 -
Command line configuration manual
EPON(config-if-vlan)#OLTport ethernet 2/1 ethernet 2/3 to ethernet 2/5 ethernet
2/8
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 the related multicast group first.
【Example】
- 56 -
Command line configuration manual
!Enter VLAN 1 configuration view
EPON(config)#vlan 1
gvrp
show gvrp
show gvrp interface
1.9.1 gvrp
Use the gvrp command to enable GVRP globally in global configuration mode or
a port in Ethernet port configuration mode. Use no gvrp command to disable
GVRP globally in global configuration mode or a port in Ethernet port
configuration mode.
gvrp
no gvrp
【Default】
【Usage】
【Example】
EPON(config)#gvrp
- 57 -
Command line configuration manual
!Enable GVRP on Ethernet port 8
EPON(config-if-ethernet-2/8)#gvrp
Use show gvrp command to display the information about GVRP globally.
show gvrp
【Example】
EPON(config)#show gvrp
【Parameter】
- 58 -
Command line configuration manual
Any configuration mode
【Usage】
【Example】
Use garp permit vlan command to add configured static vlan to GVRP module
for other OLTes to learn.
【Parameter】
【Example】
- 59 -
Command line configuration manual
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
1.10.1 dtag
dtag
- 60 -
Command line configuration manual
no dtag
【Example】
!Enable QinQ
EPON(config)dtag
no dtag mode
【Parameter】
customer: In this mode, the original tag head will be ignored and a new one will be
added.
service-provider: In this mode, when the vlan protocol number of ingress packet is
different from the configured parameter of the interface, a new tag head will be
added.
【Example】
- 61 -
Command line configuration manual
show dtag
【Example】
EPON(config)#show dtag
【Parameter】
targetvlanid:tag vlan added new tag head and it is transferred according to the
new tag vlan.
【Example】
Configure all vlans from vlan1 to vlan2 in e2/1 to add new tag head with the tag
vlan to be vlan3
EPON(config-if-ethernet-2/1)#dtag insert 1 2 3
- 62 -
Command line configuration manual
show dtag insert
【Example】
【Parameter】
【Example】
EPON(config-if-ethernet-2/1)#dtag swap 1 3 5
- 63 -
Command line configuration manual
【Command configuration mode】
【Example】
【Parameter】
【Example】
EPON(config-if-ethernet-2/1)#dtag pass-through 1 3
- 64 -
Command line configuration manual
【Example】
l2-tunnel
show l2-tunnel interface
l2-tunnel drop-threshold
show l2-tunnel drop-threshold
1.11.1 l2-tunnel
【Parameter】
- 65 -
Command line configuration manual
udld:tunnel cisco udld packet
【Example】
EPON(config-if-ethernet-2/1)#l2-tunnel stp
【Parameter】
【Example】
【Parameter】
- 66 -
Command line configuration manual
cdp:tunnel cisco cdp packet
【Example】
【Example】
- 67 -
Command line configuration manual
Command
arp
no arp
1.12.1 no arp
【Parameter】
【Usage】
This command can delete a arp item. If IP address is specified, delete the
- 69 -
Command line configuration manual
corresponded item; if choose all, delete all arp item. Above command cannot
delete interface corresponded arp item.
【Example】
【Parameter】
【Usage】
【Example】
- 70 -
Command line configuration manual
Command
(78) dhcp-relay
(79) dhcp-relay hide server-ip
(80) dhcp-server
(81) dhcp-snooping
(82) dhcp-snooping trust
(83) dhcp-snooping max-clients
(84) dhcp option82
(85) dhcp option82 strategy
(86) dhcp option82 format
(87) dhcp option82 circuit-id string
(88) dhcp option82 remote-id string
(89) ip-source-guard
(90) ip-source-guard bind ip
(91) show dhcp-relay
(92) show dhcp-relay hide server-ip
- 71 -
Command line configuration manual
(93) show dhcp-server
(94) show dhcp-server interface
(95) show dhcp-snooping
(96) show dhcp-snooping clients
1.13.1 dhcp-relay
Dhcp-relay
no dhcp-relay
【Usage】
【Example】
EPON(config)#dhcp-relay
EPON(config)#no dhcp-relay
1.13.2 dhcp-server
Use following command to configure DHCP server. Use its no command to delete
configured DHCP server. Configure in global configuration mode:
no dhcp-server dhcp-num
- 72 -
Command line configuration manual
Followings are specified DHCP server of layer 3 interface. Use its no command to
cancel it. Configure it in interface configuration mode.
dhcp-server dhcp-num
no dhcp-server
【Parameter】
【Usage】
【Example】
EPON(config)#dhcp-server 2 ip 192.168.2.122
EPON(config)#no dhcp-server 2
EPON(config-if-vlanInterface-2)#dhcp-server 1
EPON(config-if-vlanInterface-2)#no dhcp-server
1.13.3 dhcp-snooping
- 73 -
Command line configuration manual
Use dhcp-snooping command to configure DHCP SNOOPING. Use no dhcp-
snooping command to delete this configuration. Configure it in global
configuration mode.
dhcp-snooping
no dhcp-snooping
【Example】
EPON(config)#dhcp-snooping
dhcp-snooping trust
no dhcp-snooping trust
【Usage】
【Example】
EPON(config-if-ethernet-2/1)#dhcp-snooping trust
- 74 -
Command line configuration manual
1.13.5 dhcp-snooping max-clients
Followings are used to configure interface or the max DHCP client number
permitted by VLAN.
no dhcp-snooping max-clients
【Parameter】
【Example】
EPON(config-if-ethernet-2/1)#dhcp-snooping max-clients 33
EPON(config-if-vlan)#dhcp-snooping max-clients 33
1.13.6 ip-source-guard
ip-source-guard
no ip-source-guard
【Example】
- 75 -
Command line configuration manual
EPON(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】
EPON(config)#show dhcp-relay
- 76 -
Command line configuration manual
Use show dhcp-snooping interface command to show DHCP SNOOPING
configuration.
【Parameter】
【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】
When displaying vlan,it diplays configured vlan if without selected vlan-id,it diplays
selected vlan if with vlan-id.
- 77 -
Command line configuration manual
【Example】
【Example】
- 78 -
Command line configuration manual
multicast mac-address
multicast mac-address vlan interface
show multicast
【Parameter】
【Usage】
- 79 -
Command line configuration manual
To create multicast group, MAC address should be multicast group address, and
vlan-id must be existed. If there is no parameter in any multicast mac-address
command, all multicast group are removed.
【Example】
【Parameter】
- 80 -
Command line configuration manual
【Command configuration mode】
【Example】
Use show multicast command to display the information of the specified or all
existed multicast group.
【Parameter】
【Usage】
【Example】
- 81 -
Command line configuration manual
IGMP snooping and GMRP configuration command includes:
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.15.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】
【Usage】
- 82 -
Command line configuration manual
【Example】
EPON(config)#gmrp
EPON(config-if-ethernet-2/3)#no gmrp
1.15.2 igmp-snooping
igmp-snooping
no igmp-snooping
【Default】
【Example】
GL (config)#igmp-snooping
no igmp-snooping host-aging-time
- 83 -
Command line configuration manual
【Command configuration mode】
【Parameter】
【Example】
EPON(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】
【Usage】
【Example】
EPON(config)#igmp-snooping max-response-time 99
- 84 -
Command line configuration manual
1.15.5 igmp-snooping fast-leave
igmp-snooping fast-leave
no igmp-snooping fast-leave
【Default】
Fast-leave disables
【Example】
EPON(config-if-ethernet-2/1)#igmp-snooping fast-leave
no igmp-snooping group-limit
【Parameter】
- 85 -
Command line configuration manual
【Example】
EPON(config-if-ethernet-2/1)#igmp-snooping group-limit 99
【Parameter】
【Example】
!Configure the learning regulation of default group to allow all multicast group
Multicast routers interface is the interface received IGMP inquiring message (It is
also called mix router interface.).
- 86 -
Command line configuration manual
router interface to IGMP snooping learning group.
【Default】
Disable
【Example】
【Parameter】
【Default】
- 87 -
Command line configuration manual
No multicast VLAN configuration for port
【Example】
show gmrp
【Example】
EPON(config)#show gmrp
【Parameter】
- 88 -
Command line configuration manual
the left of the keyword, and this argument only can be repeated for up to 3 times.
【Usage】
Key word “interface-list” is optional. If this keyword is lacking, all the information of
the interfaces is displayed, or information of only specified interfaces is displayed.
【Example】
!Display information of gmrp interface Ethernet 2/1, ethetnet 2/2, Ethernet 2/3,
Ethernet 2/1
e2/1 enable
e2/2 enable
e2/3 enable
e3/2 enable
Total entries: 4
【Parameter】
- 89 -
Command line configuration manual
【Command configuration mode】
【Example】
Use show garp permit multicast command to display static multicast group
permitted learning by GMRP.
【Example】
show igmp-snooping
【Example】
- 90 -
Command line configuration manual
EPON(config)#show igmp-snooping
The increased routing port specify forwarding port of leave or the report packet
belong to a multicast group.
【Paramter】
all:All ports. Only delete the port isolation downlink port, you can select all,
delete all port isolation downstream ports
【Command】
【Example】
Configure vlan 2 port 1 for the current group (decision) query source address
routing port.
- 91 -
Command line configuration manual
Configure if aging by IGMP packets learning router ports, by default is aging.
no igmp-snooping router-port-age
igmp-snooping router-port-age
【Command】
【Guide】
【Example】
no igmp-snooping router-port-age
Configured query the message carried by the source IP is to point out the
destination response IP.
【Command】
【Parameter】
【Example】
- 92 -
Command line configuration manual
TiNet(config)# igmp-snooping general-query source-ip 1.1.1.111
Configured max host response time of receiving the the general inquiries that is
querier sends IGMP general query messages carried by the response of the
value of the field, the default is 10 seconds.
no igmp-snooping query-max-respon
【Command】
【Parameter】
【Example】
Configure the query sends IGMP general query sent to which vlan , the default
vlan is 1
no igmp-snooping querier-vlan
【Parameter】
【Command】
- 93 -
Command line configuration manual
All command modes
【Example】
Configure intervals of every two querier sends IGMP general query message the
default is 60s
no igmp-snooping query-interval
【Command】
【Parameter】
Seconds:1-30000s
【Example】
!Intervals of every two querier sends IGMP general query message is 90s
igmp-snooping querier
no igmp-snooping querier
【Command】
- 94 -
Command line configuration manual
All command modes
【Example】
This command is to open the IGMP snooping multicast Preview function, no form
of this command is used to close
igmp-snooping preview
no igmp-snooping preview
【Default】
【Command】
【Example】
- 95 -
Command line configuration manual
no igmp-snooping preview { time-once time-interval time-reset permit-
times }
【Command】
【Parameter】
【Example】
- 96 -
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
- 97 -
Command line configuration manual
show access-list runtime statistic
show port-isolation
show time-range
time-range
1.16.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
- 98 -
Command line configuration manual
absolute time range is satisfied, periodic time range can be judged. When the
staart time and end time are not specified, the specified time range is the earlist
time the OLT can be recognized to the inferior time.
【Example】
!The following time range will be effective from 2:2 Jan 1st, 2222.
EPON(config)#time-range tm1
EPON(config-timerange-tm1)#exit
!The following time range will be effective from 22:22 December 12, 2222 to
22:21
EPON(config)#time-range tm2
EPON(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.16.2 access-group
- 99 -
Command line configuration manual
subitem ] ] } }
【Parameter】
Instruction:
all:all the activated accessing list must be cancel.(including number and name
ID)
【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.16.3 access-list
- 100 -
Command line configuration manual
Use access-list command to configure a ACL with number ID, which can be:
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】
- 101 -
Command line configuration manual
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 configuration of larger or
equal to the port range (accurate to 2n).
- 102 -
Command line configuration manual
means all destination address. 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.
- 103 -
Command line configuration manual
destination MAC address and destination MAC address wildcard. These two
parametes can determine the range of destination MAC address range, such as:
when dest-mac-wildcard is 2:2:2:2:ff:ff,user is interested in the first 32 bit of
source MAC address (that is the bit position corresponded to the number 2 in
wildcard),interface interface-num means the layer 2 ports transferring this
packet,cpu means cpu port,any means all packets transferred from 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).
- 104 -
Command line configuration manual
Global configuration mode
【Example】
!Configure ACL 122 to deny packet with the 2xff of TCP source port number to
be 2
Use access-list extended command to create an extended ACL with name ID,
then enter extended 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:
all:means all accessing list will be deleted (including number ID and name ID).
- 105 -
Command line configuration manual
parameter with initial English letters (that is [a-z,A-Z]) with any kind, excluding
space and quotation mark; all,any are not allowed.
【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 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
- 106 -
Command line configuration manual
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:
all:means all accessing list will be deleted (including number ID and name ID).
【Default】
- 107 -
Command line configuration manual
【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】
!Create a layer 2 ACL with the name to be example and specify the order to be
deep precedency.
Use access-list command to specify rule matching order of an ACL with number
ID.
【Parameter】
【Default】
- 108 -
Command line configuration manual
Global configuration mode
【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.
【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:
- 109 -
Command line configuration manual
Followings are the parameters of no command.
all:means all accessing list will be deleted (including number ID and name ID).
【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
- 110 -
Command line configuration manual
be deep precedency.
Use this command to add a subitem to ACL with the name ID.
【Parameter】
Instruction:
Followings are all kinds of attribution with packet. ACL is the rules determined by
the value of these parameter.
- 111 -
Command line configuration manual
source-addr source-wildcard | any:source-addr source-wildcard means source IP
address and source address wildcard which is in the form of dotted decimal
notation; any means all source address which is used to establish standard or
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).
- 112 -
Command line configuration manual
character to express ICMP. The range of it is 2~255;icmp-packet is the ICMP
packet with the name of name, which is specified by icmp-type and icmp-code.
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.
- 113 -
Command line configuration manual
packet,cpu means cpu port,any means all packets transferred from 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).
【Parameter】
【Parameter】
- 114 -
Command line configuration manual
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.
EPON(config-std-nacl-example)#permit 192.168.3.1 2
EPON(config-std-nacl-example)#
1.16.9 periodic
【Parameter】
days-of-the-week:means this time period will be effected in the day of the week or
will be effected from the day of week. More than one parameter can be input at
one time. The range of this parameter is as following:
- 115 -
Command line configuration manual
weekend(the time for rest, including Saturday and Sunday);
daily(special character string which means all days, including 7 days of a week).
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】
The effective time of periodic time range is a week. According to the configuration,
there are different expression, such as:the configuration of 8:22 to 18:22 in every
weekday is:
Or:
【Example】
EPON(config)#time-range 1to5
- 116 -
Command line configuration manual
EPON(config-timerange-1to5)#exit
EPON(config)#time-range all_day
EPON(config-timerange-all_day)#exit
!The time range is effective in 8:22 to 18:22 from every Monday to Friday
EPON(config)#time-range 1to5
EPON(config-timerange-1to5)#exit
EPON(config)#time-range wend2
EPON(config-timerange-wend2)#exit
EPON(config)#time-range wendafternoon
18:22
EPON(config-timerange-wendafternoon)#exit
1.16.10 port-isolation
port-isolation { interface-list }
- 117 -
Command line configuration manual
【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 OLTport command, and all the
interfaces are removed from a VLAN by using the no OLTport 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
Use this command to add a port member to a port group. Use the no
commandtodelete a or some member.
【Parameter】
- 118 -
Command line configuration manual
groupid: the number of the group to be added.
【Example】
【Parameter】
all means all ACL (including the one with number ID and name ID)
name access-list-name character string parameter with initial English letters (that
- 119 -
Command line configuration manual
is [a-z,A-Z]) with any kind, excluding space and quotation mark; all,any are not
allowed.
【Usage】
【Example】
【Example】
- 120 -
Command line configuration manual
show access-list runtime { all | access-list-number | name access-list-name }
【Parameter】
all means all ACL (including the one with number ID and name ID)
name access-list-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.
【Usage】
【Example】
【Example】
- 121 -
Command line configuration manual
!Display ACL statistics information.
【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.
【Usage】
【Example】
- 122 -
Command line configuration manual
!Display time range with the name of tm1
1.16.17 time-range
time-range time-range-name
【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】
EPON(config)#time-range tm1
EPON(config-timerange-tm1)#
- 123 -
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
- 124 -
Command line configuration manual
show qos-interface all
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】
all:clear all the traffic statistic list (including combination item).ip-group { access-
list-number | access-list-name } [ subitem subitem ] :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.
- 125 -
Command line configuration manual
layer 2 accessing control list. access-list-number:accessing list serial 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】
1.17.2 queue-scheduler
no queue-scheduler
【Parameter】
- 126 -
Command line configuration manual
percentage of bandwidth distribution.
【Usage】
【Example】
EPON(config)#queue-scheduler wrr 22 22 32 32
【Parameter】
queue-number:Range from 2 to 3
【Default】
- 127 -
Command line configuration manual
822.1p: 2 1 2 3 4 5 6 7
packed-priority: 2 2 1 1 2 2 3 3
【Usage】
【Example】
EPON(config)#queue-scheduler cos-map 1 6
【Usage】
【Example】
- 128 -
Command line configuration manual
Use show qos-info statistic command to display all QoS statistics information.
【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】
- 129 -
Command line configuration manual
Use show qos-info traffic-statistic command to display flow statistics
information.
【Usage】
Use this command to display flow statistics, including accessing list of flow
statistics and packet number.
【Example】
Use show queue-scheduler command to display the mode and the parameter of
queue-scheduler.
show queue-scheduler
【Example】
EPON#show queue-scheduler
- 130 -
Command line configuration manual
cos-map.
【Example】
1.17.10 port-isolation
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 OLTport command, and all the
interfaces are removed from a VLAN by using the no OLTport command.
- 131 -
Command line configuration manual
Global configuration mode
【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
show port-isolation
【Command】
【Example】
TiNet(config)#show port-isolation
1.17.12 storm-control
【Parameter】
- 132 -
Command line configuration manual
dlf:Configure unknown multicast storm-control
【Example】
TiNet(config-if-ethernet-0/1)#storm-control
- 133 -
Command line configuration manual
Command
- 134 -
Command line configuration manual
clear spanning-tree
【Parameter】
【Usage】
【Example】
- 135 -
Command line configuration manual
Show spanning-tree remote-loop-detect interface [ interface-list ]
【Parameter】
【Usage】
Use this command to display remote loop detect and whether interface is block
caused by loop
【Example】
1.18.3 spanning-tree
spanning-tree
no spanning-tree
【Default】
- 136 -
Command line configuration manual
STP is enabled globally
【Example】
EPON(config)#spanning-tree
EPON(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.
【Usage】
- 137 -
Command line configuration manual
【Example】
EPON(config-if-ethernet-2/8)#spanning-tree cost 22
no spanning-tree forward-time
【Parameter】
【Default】
【Usage】
When this OLT is the root bridge, port state transition period is the Forward Delay
time, which is determined by the diameter of the OLTed network. The longer the
diameter is, the longer the time is. The default forward delay time, 15 seconds is
suggested to use.
【Example】
- 138 -
Command line configuration manual
!Configure forward delay to 22 seconds
EPON(config)#spanning-tree forward-time 22
Use spanning-tree hello-time coammand to configure the hello time of the OLT.
Use no spanning-tree hello-time command to restore to the default hello time.
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.
【Example】
EPON(config)#spanning-tree hello-time 8
- 139 -
Command line configuration manual
Use spanning-tree max-age command to configure Max Age of the OLT. Use no
spanning-tree max-age command to restore to the default Max Age.
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】
EPON(config)#spanning-tree max-age 12
- 140 -
Command line configuration manual
command to restore the current port to the default port priority in the specified
spanning tree.
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】
EPON(config-if-ethernet-2/1)#spanning-tree port-priority 64
When operation RSTP protocol, and port is in the compatible mode. Use
spanning-tree mcheck command to force the port sent RSTP message.
spanning-tree mcheck
【Example】
- 141 -
Command line configuration manual
!Configure Ethernet 2/7 to send RSTP message
EPON(config-if-ethernet-2/7)#spanning-tree mcheck
no spanning-tree point-to-point
【Parameter】
auto:Network bridge auto-detect whether or not the link connected to the current
Ethernet port is a point-to-point link.
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
【Example】
- 142 -
Command line configuration manual
port.
spanning-tree portfast
no spanning-tree portfast
【Default】
【Usage】
Edge port can be in transmitting state in linkup in 3 seconds, and it changes into
non-edge port after receiving STP message.
【Example】
EPON(config-if-ethernet-2/7)#spanning-tree portfast
no spanning-tree transit-limit
【Parameter】
【Default】
- 143 -
Command line configuration manual
Interface configuration mode
【Example】
EPON(config-if-ethernet-2/7)#spanning-tree transit-limit 5
Use spanning-tree priority command to configure the priority of the OLT in the
specified spanning tree. Use no spanning-tree priority command to restore to
the default priority in the specified spanning tree.
no spanning-tree priority
【Parameter】
【Default】
32768
【Usage】
Configure STP priority when STP enables, and the inferior priority of the OLT can
be the root bridge.
【Example】
- 144 -
Command line configuration manual
EPON(config)#spanning-tree priority 4296
no spanning-tree mode
【Parameter】
【Default】
rstp
【Example】
spanning-tree remote-loop-detect
no spanning-tree remote-loop-detect
- 145 -
Command line configuration manual
Global configuration mode and interface configuration mode
【Usage】
【Example】
clear spanning-tree
【Parameter】
【Example】
- 146 -
Command line configuration manual
!Clear spanning-tree information
EPON(config)#clear spanning-tree
Following commands:
- 147 -
Command line configuration manual
spanning-tree mst link-type
spanning-tree forward-time;
spanning-tree hello-time;
spanning-tree max-age;
spanning-tree portfast;
spanning-tree point-to-point
【Parameter】
【Default】
【Example】
- 148 -
Command line configuration manual
Use spanning-tree mst name command to configure MST name of MSTP.
【Parameter】
【Default】
【Example】
【Parameter】
【Default】
- 149 -
Command line configuration manual
【Command configuration mode】
【Example】
【Parameter】
【Default】
【Example】
- 150 -
Command line configuration manual
Use spanning-tree mst instance command to configure the priority of
networkbridge in some MSTP instance.
【Parameter】
priority:the priority of network bridge which is the integer times of 4296 in the
range of 2-61442
【Default】
【Example】
【Parameter】
【Default】
- 151 -
Command line configuration manual
The external cost of port is 222222.
【Example】
Use spanning-tree mst instance command to configure cost for port in each
instance.
【Parameter】
【Default】
【Example】
- 152 -
Command line configuration manual
Use spanning-tree mst instance port-priority command to configure the priority
of port in STP instance.
【Parameter】
priority:port priority which is the integer times of 16 and is in the range of 1-242
【Default】
【Example】
【Example】
- 153 -
Command line configuration manual
EPON(config)#show spanning-tree mst config-id
【Parameter】
【Example】
- 154 -
Command line configuration manual
aaa
access-limit
default domain-name enable
domain
show domain
radius host binding
state
1.20.1 aaa
aaa
【Usage】
【Example】
- 155 -
Command line configuration manual
EPON(config)#aaa
EPON(config-aaa)#
1.20.2 access-limit
access-limit disable
【Parameter】
max-link: the maximum number of access user that can be contained in current
domain ranges from 1 to 642
【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】
- 156 -
Command line configuration manual
domain com.com to 522
【Parameter】
【Usage】
When the default domain name is disabled, OLT will not deal with the invalid
message, if the username goes without the domain name. After the default
domain name is enabling, OLT 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】
!Configure default domain name to be com.com and enable the default domain
【Related command】
- 157 -
Command line configuration manual
domain
1.20.4 domain
Use domain command to enter AAA configuration mode. If it doesn’t exist, create
it. Use no domain command to remove the 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】
EPON(config-aaa)#domain com.com
EPON(config-aaa-com.com)#
- 158 -
Command line configuration manual
【Related command】
Use show domain command to display the configuration of the domain, such as:
domain name, corresponding RADIUS server, and domain activation.
【Parameter】
【Example】
EPON(config-aaa-com.com)#show domain
【Parameter】
【Example】
- 159 -
Command line configuration manual
!Configure current domain to use RADIUS configuration of “com”
【Related command】
1.20.7 state
Use state command to configure the state of the domain to be active or block.
【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 com.com
EPON(config-aaa-com.com)#state active
【Related command】
- 160 -
Command line configuration manual
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
radius server-disconnect drop 1x
radius vlan
- 161 -
Command line configuration manual
realtime-account
second-acct-ip
second-auth-ip
username-format
1.21.1 accounting-on
【Parameter】
enable:start function
disable:close function
【Default】
By default, it disables
【Command mode】
【Example】
!Enable
1.21.2 acct-secret-key
acct-secret-key key
- 162 -
Command line configuration manual
no acct-secret-key
【Parameter】
【Default】
By default, it is none
【Command mode】
【Example】
EPON(config-aaa-radius-com)#acct-secret-key 123
1.21.3 auth-secret-key
auth-secret-key key
no auth-secret-key
【Parameter】
【Default】
By default, it is none
【Command mode】
【Example】
- 163 -
Command line configuration manual
!Configure authenticate key of RADIUS server as 123
EPON(config-aaa-radius-com)#auth-secret-key 123
1.21.4 dnrate-value
dnrate-value value
【Parameter】
【Default】
By default, it is 5
【Command mode】
【Example】
EPON(config-aaa)#dnrate-value 7
【Commands】
h3c-cams
1.21.5 h3c-cams
When RADIUS server uses H3C Cams , this command to configure compatible
mode to finish some special operation.
【Parameter】
- 164 -
Command line configuration manual
enable:start function
disable:close function
【Default】
By default , it disables
【Command mode】
【Example】
EPON(config-aaa)#h3c-cams enable
1.21.6 nas-ipaddress
This command is to configure to send packets about NAS IPAddress attribute id,
with command no means to delete the operation.
nas-ipaddress nas-ip
no nas-ipaddress
【Parameter】
nas-ip: IP address
【Default】
【Command mode】
【Example】
- 165 -
Command line configuration manual
EPON(config-aaa-radius-com)# nas-ipaddress 192.168.0.100
1.21.7 primary-acct-ip
no primary-acct-ip
【Parameter】
【Default】
【Command mode】
【Example】
1.21.8 primary-auth-ip
This command is to configure IP address and port for primary authentication, with
command no means to delete related configuration.
no primary-auth-ip
【Parameter】
- 166 -
Command line configuration manual
server-ip:primary RADIUS server IP address
【Default】
【Command mode】
【Example】
【Parameter】
None
【Command mode】
【Example】
- 167 -
Command line configuration manual
This command is to display attribution configuration about RADIUS,such as
accounting , priority, VLAN etc.
【Parameter】
None
【Command mode】
【Example】
【Parameter】
【Command mode】
【Example】
1.21.12 uprate-value
- 168 -
Command line configuration manual
Campatible with H3C Cams RADIUS server,use this command to configure uplink
bandwidth about Vendor Specific attribute id in RADIUS packets
uprate-value value
【Parameter】
【Default】
By default, it is 2
【Command mode】
【Example】
EPON(config-aaa)# uprate-value 7
【Commands】
h3c-cams
This command is to verify port priority after configuring user authentication, with
command no means to delete related configuration.
no radius 8021p
【Parameter】
None
【Default】
- 169 -
Command line configuration manual
Close function
【Command mode】
【Usage】
【Example】
!Enable function
[no]radius accounting
【Parameter】
None
【Default】
Enable authentication
【Command mode】
【Example】
!Disable accounting
- 170 -
Command line configuration manual
1.21.15 radius attribute
This command is to send H3C client version to RADIUS server or not compatible
with H3C Cams, with command no means to delete related configuration.
【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】
None
【Default】
- 171 -
Command line configuration manual
【Command mode】
【Usage】
【Example】
!Start function
【Parameter】
type: attribution id
【Command mode】
【Example】
- 172 -
Command line configuration manual
!Configure priority value attribution id as 80
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】
EPON(config-aaa-radius-myScheme)#
【Commands】
- 173 -
Command line configuration manual
no radius mac-address-number
【Parameter】
None
【Default】
【Command mode】
【Usage】
MAC address learning quantity limitation value passes through RADIUS packets
Vendor Specific attribution id 50, this attribution id can modify through radius
config-attribute command.
【Example】
!Start function
This command is to configure user off line or not in the accounting system, with
command no means delete the operation.
【Parameter】
None
【Default】
- 174 -
Command line configuration manual
【Command mode】
【Example】
!Enable function
This command is to modify port PVID after configuring user authentication, with
command no means delete the operation.
no radius vlan
【Parameter】
None
【Default】
【Command mode】
【Usage】
【Example】
!Start function
1.21.22 realtime-account
- 175 -
Command line configuration manual
This command is to configure current RADIUS server intermediate accounting
function, configure to send intermediate accounting packets or not, if sending
,how munch is the interval. With command no means disable intermediate
accounting function
no realtime-account
【Parameter】
【Default】
【Command mode】
【Example】
EPON(config-aaa-radius-com)#realtime-account interval 30
EPON(config-aaa-radius-com)#no realtime-account
1.21.23 second-acct-ip
no second-acct-ip
- 176 -
Command line configuration manual
【Parameter】
【Default】
【Command mode】
【Example】
1.21.24 second-auth-ip
no second-auth-ip
【Parameter】
【Default】
【Command mode】
- 177 -
Command line configuration manual
【Example】
1.21.25 username-format
username-format with-domain
username-format without-domain
【Parameter】
【Default】
With domain
【Usage】
【Example】
!Configure the username sent to the RADIUS server with the name of com not to
carry domain name.
EPON(config-aaa-radius-com)#username-format without-domain
- 178 -
Command line configuration manual
【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
show dot1x interface
show dot1x session
no dot1x
- 179 -
Command line configuration manual
【Default】
802.1X disables
【Usage】
802.1x configuration can be effective only after 802.1x is enable. Some command
can be used after 822.1x enables.
【Example】
!Disable 802.1X
EPON(config)#no dot1x
When 822.1x enables, configure whether a port send 822.1x daemon and sending
period.
no dot1x daemon
【Parameter】
- 180 -
Command line configuration manual
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. There is no
keyword in interface configuration mode.
【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
- 181 -
Command line configuration manual
encapsulated by EAP frame from user is sent to RADIUS server after transfering
to data frame encapsulated by other high level protocol.
dot1x eap-finish
【Default】
【Usage】
【Example】
EPON(config)#dot1x eap-finish
【Related command】
dot1x eap-transfer
dot1x eap-transfer
【Default】
- 182 -
Command line configuration manual
Use eap-finish way to transmit authentication message.
【Usage】
【Example】
EPON(config)#dot1x eap-transfer
【Related command】
dot1x eap-finish
no dot1x max-user
【Parameter】
【Default】
- 183 -
Command line configuration manual
Interface configuration mode or global configuration mode
【Usage】
After 822.1X enables, max-user of a port is determined by the real situation. The
max-user of 122M ethernet port is 16
【Example】
Use dot1x port-control command to configure port control mode. Use no dot1x
port-control command to restore the default 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.
- 184 -
Command line configuration manual
forceunauthorized:Means forcing unauthorization. User of this type of interface
cannot get the resource from the LAN.
【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】
!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
- 185 -
Command line configuration manual
【Command configuration mode】
【Usage】
822.1X re-authenticate only supports the message transmitting way of dot1x eap-
transfer.
【Example】
EPON(config-if-ethernet-2/5)#dot1x re-authenticate
dot1x re-authentication
no dot1x re-authentication
【Default】
【Usage】
- 186 -
Command line configuration manual
【Example】
EPON(config-if-ethernet-2/5)#dot1x re-authentication
【Related command】
【Parameter】
【Default】
【Usage】
- 187 -
Command line configuration manual
【Example】
【Parameter】
【Example】
no dot1x detect
- 188 -
Command line configuration manual
【Parameter】
【Default】
By default, close 1x heartbeat ,when opening, send the packets every 25s
【Command mode】
【Usage】
【Example】
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】
- 189 -
Command line configuration manual
All global configuration mode
【Usage】
【Example】
Use show dot1x command to display 822.1x authentication information, such as:
822.1x authentication is enable or not, which authentication is used.
show dot1x
【Usage】
【Example】
EPON(config)#show dot1x
【Parameter】
- 190 -
Command line configuration manual
【Command configuration mode】
【Example】
【Parameter】
【Usage】
Use this command to display related information before configuration. Use show
command to display the changes.
【Example】
Use show dot1x session command to display 822.1x session, including online
information: interface number, mac-address, username, etc.
- 191 -
Command line configuration manual
show dot1x session [ { interface interface-num } | { mac-address mac } ]
【Parameter】
【Usage】
Use this command to display and detect the information of onlined user
【Example】
- 192 -
Command line configuration manual
Use the show sntp client command to display the information about SNTP client
configuration and running.
- 193 -
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】
EPON(config)#sntp client
- 194 -
Command line configuration manual
【Default】
【Example】
【Parameter】
【Default】
No authentication-key
【Usage】
- 195 -
Command line configuration manual
【Command configuration mode】
【Example】
!Configure SNTP client MD5 authentication-key, with the key ID being 12,and
the key being abc
【Parameter】
【Default】
3 milliseconds
【Usage】
【Example】
- 196 -
Command line configuration manual
EPON(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】
- 197 -
Command line configuration manual
1.23.7 sntp client multicast ttl
【Parameter】
【Default】
【Usage】
【Example】
- 198 -
Command line configuration manual
【Parameter】
【Default】
1222 seconds
【Usage】
SNTP client sends requirement message regularly to the server in unicast and
anycast operation mode. System time will be revised after receiving the message.
【Example】
Use sntp client retransmit command to configure retransmit times inunicast and
anycast operation mode. Use no sntp client retransmit command to configure
SNTP client not to retransmit requirement message.
【Parameter】
【Default】
non-retransmit(2)
- 199 -
Command line configuration manual
Global configuration mode
【Usage】
【Example】
【Parameter】
【Default】
5 seconds
【Usage】
- 200 -
Command line configuration manual
requirement message will be resent.
【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】
In the mode of broadcast and multicast, SNTP client checks time by receiving
protocol messages sent by all servers. And it cannot filtrate the servers when
spiteful attack exists. To solve this problem, a series of valid servers can be listed
to filtrate source address of the message.
【Example】
- 201 -
Command line configuration manual
1.23.12 sntp server
Use sntp server command to configure server ip-address in unicast mode. Use
no sntp server command to remove server ip-address.
no sntp server
【Parameter】
ip-address:Server ip-address.
number: To encrypt message when sending requirement to server. Use the key-
number to decipher the message when the reply is received. The key-number
ranges from 2 to 4294967295. 2 means unauthentication.
【Usage】
【Example】
- 202 -
Command line configuration manual
【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】
【Example】
- 203 -
Command line configuration manual
1.23.14 sntp trusted-key
【Parameter】
【Default】
【Usage】
【Example】
!Configure trusted-key to be 12
EPON(config)#sntp trusted-key 12
- 204 -
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
- 205 -
Command line configuration manual
clear logging flash
logging host
logging facility
logging source
logging snmp-agent
debug
upload logging
Use show logging command to display Syslog configuration, state, and statistical
information.
show logging
【Example】
EPON(config)#show logging
show logging buffered [ level | level-list { level [ to level ] } &<1-8> ] [ module { xxx |
…}*]
【Parameter】
xxx:Means the name of the module. … means other modules are omitted.
- 206 -
Command line configuration manual
【Command 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】
show logging flash [ level | level-list { level [ to level ] } &<1-8> ] [ module { xxx |
…}*]
【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】
- 207 -
Command line configuration manual
!Display the flash log of module vlan
【Parameter】
【Example】
show debug
【Example】
- 208 -
Command line configuration manual
EPON(config)#show debug
1.24.6 logging
logging
no logging
【Default】
Syslog enables
【Example】
!Enable Syslog
EPON(config)#logging
logging sequence-numbers
no logging sequence-numbers
【Default】
- 209 -
Command line configuration manual
【Example】
EPON(config)#logging sequence-numbers
no logging timestamps
【Parameter】
【Default】
【Example】
- 210 -
Command line configuration manual
logging language { english | chinese }
【Parameter】
【Default】
【Example】
Use logging monitor command to enable monitor logging and configure filter
regulation. Use no logging monitor command to disable monitor logging and
restore default filter regulation.
【Parameter】
all:All terminals
- 211 -
Command line configuration manual
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】
EPON(config)#logging monitor 2
EPON(config)#logging monitor 2 6
- 212 -
Command line configuration manual
terminal monitor
no terminal monitor
【Default】
【Usage】
This command has influence on current terminal and current log in.
【Example】
EPON(config)#terminal monitor
Use logging buffered command to enable buffered logging and configure filter
regulations. Use no logging buffered command to disable buffered logging and
restore to default filter regulations.
logging buffered
no logging buffered
【Parameter】
- 213 -
Command line configuration manual
none:Any level is not allowed.
xxx:Means the name of the module. … means other modules are omitted.
【Default】
Filter regulations of all terminals are to allow all modules of levels 2 to 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】
!Configure filter regulations of all terminals to allow all module of level 2,1,2 and
6 to output information
- 214 -
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】
Filter regulations of all terminals are to allow all modules of levels 2 to 6 to output
information
【Usage】
- 215 -
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
- 216 -
Command line configuration manual
no logging ip-address
logging host { all | ip-address } { level | none | level-list { level [ to level ] } &<1-
8> } [ module { xxx | … } * ]
【Parameter】
xxx:Means the name of the module. … means other modules are omitted.
【Default】
Filter regulations of all terminals are to allow all modules of levels 2 to 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】
- 217 -
Command line configuration manual
!Add a new logging host with the ip address of 1.1.1.1
EPON(config)#logging 1.1.1.1
!Configure filter regulations of logging host 1.1.1.1 to allow all module of level 2
to 6 to output information
Use logging facility command to configure logging facility used by logging host.
Use no logging facility command to restore the default logging facility.
no logging facility
【Parameter】
xxx:The name of logging facilities.… means other logging facilities are omitted.
【Default】
【Example】
Use logging source command to configure logging host to use fixed source ip
- 218 -
Command line configuration manual
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
- 219 -
Command line configuration manual
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】
Filter regulations of all terminals are to allow all modules of levels 2 to 5 to output
information
【Command mode】
【Usage】
Use key word evel-list to configure selected level information output in permited
- 220 -
Command line configuration manual
level list;Without level-list configuration permit , it equals higher(the small value
with higher level)and this level information output
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】
EPON(config)#logging snmp-agent
EPON(config)#logging snmp-agent 3
【Related command】
snmp-server host
1.24.20 debug
【Parameter】
- 221 -
Command line configuration manual
all:All module
xxx:Means the name of the module. … means other modules are omitted.
【Default】
【Example】
EPON(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
【Example】
- 222 -
Command line configuration manual
EPON(config)#upload logging tftp 1.1.1.1 aaa.txt
- 223 -
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
- 225 -
Command line configuration manual
Any configuration mode
【Example】
EPON#show ssh
【Example】
1.25.3 ssh
ssh
no ssh
【Default】
Disable
【Example】
!Enable SSH
- 226 -
Command line configuration manual
EPON(config)#ssh
Use crypto key generate rsa command to configure SSH to be 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.
- 227 -
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.
【Parameter】
- 228 -
Command line configuration manual
server-ip:IP address of tftp or ftp server
username:ftp username
passwd:ftp password
【Example】
- 229 -
Command line configuration manual
Privileged mode
【Example】
- 231 -
Command line configuration manual
EPON#buildrun mode continue
Privileged mode
【Example】
clear startup-config
Privileged mode
【Usage】
Use this command to clear saved configuration and reboot OLT. The OLT will
restore to original configuration.
【Example】
EPON#clear startup-config
- 232 -
Command line configuration manual
manageable configuration of network administration.
【Parameter】
ip-address:IP address
mask:netmask
gateway-address:gateway address
【Usage】
【Example】
- 233 -
Command line configuration manual
EPON#copy nm-interface-config startup-config 2 192.168.2.122 255.255.255.2
192.168.2.1
Privileged mode
【Example】
Privileged mode
【Example】
- 234 -
Command line configuration manual
【Parameter】
module-list:Optional module. The module name can be changed with the version.
【Example】
EPON#show running-config
【Parameter】
module-list:Optional module. The module name can be changed with the version.
【Example】
EPON#show running-config
- 235 -
Command line configuration manual
Use load application ftp command to load application program by FTP protocol.
【Parameter】
filename:Filename to be loaded
- 236 -
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 OLT 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 OLT after successful download and run new application program.
【Example】
- 237 -
Command line configuration manual
!Download application program app.arj to 192.168.2.122 by TFTP
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 OLT after successful download and run new application program.
【Example】
【Parameter】
filename:Filename to be loaded
- 238 -
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 OLT 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. Reboot
the OLT after successful download and run new configuration program.
【Example】
- 239 -
Command line configuration manual
!Download configuration program abc to 192.168.2.122 by TFTP
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 OLT after successful download and run new application program.
【Example】
Use load whole-bootrom ftp command to load whole bootrom by FTP protocol.
【Parameter】
filename:Filename to be loaded
- 240 -
Command line configuration manual
【Command configuration mode】
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.
【Example】
- 241 -
Command line configuration manual
1.27.9 load whole-bootrom xmodem
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】
Privileged mode
- 242 -
Command line configuration manual
【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】
- 243 -
Command line configuration manual
upload configuration ftp ftpserver-ip filename username userpassword
【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】
- 244 -
Command line configuration manual
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 use
this command. Configuration information saved when uploading is successful.
【Example】
- 245 -
Command line configuration manual
1.27.15 upload logging tftp
【Parameter】
Privileged mode
【Usage】
Open TFTP server and set file upload path before using this command. Logging
information saved when uploading is successful.
【Example】
reboot
1.28.1 reboot
reboot
- 246 -
Command line configuration manual
Privileged mode
【Example】
!Reboot OLT
EPON#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
show cpu
show dhcp-server clients
show discard-bpdu
show dlf-forward
show ip fdb
show mac-address-table
- 247 -
Command line configuration manual
show mac-address-table aging-time
show mac-address-table learning
show memory
show system
show users
show version
1.29.1 broadcast-suppression
broadcast-suppression packet-num
no broadcast-suppression
【Default】
The default broadcast flow allowed by OLT is at most 5222 per second
【Usage】
To suppress broadcast storm, and avoid network congestion can use this
command.
【Example】
EPON(config)#broadcast-suppression 322
- 248 -
Command line configuration manual
!Non broadcast suppression
EPON(config)#no broadcast-suppression
clock set
【Parameter】
YYYY/MM/DD:Means current year, month, and date. YYYY ranges from 2222 to
2299,MM ranges from 1 to 12,and DD ranges from 1 to 31
【Default】
Privileged mode
【Usage】
Use this command to set current date and time when needing it.
【Example】
【Related command】
show clock
- 249 -
Command line configuration manual
clock timezone name hour minute
no clock timezone
【Parameter】
【Default】
【Example】
【Related command】
show clock
1.29.4 discard-bpdu
Discard-bpdu
no discard-bpdu
【Default】
- 250 -
Command line configuration manual
【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】
EPON(config)#discard-bpdu
1.29.5 discard-l2-tunnel
discard-l2-tunnel
no discard-l2-tunnel
【Default】
【Usage】
【Example】
EPON(config)#discard-l2-tunnel
- 251 -
Command line configuration manual
1.29.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】
1.29.7 loopback
【Parameter】
- 252 -
Command line configuration manual
external:External loopback
internal:Internal loopback
【Example】
EPON(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】
EPON(config-if-ethernet-2/1)#vct run
This command is to enable global or port about VCT automatic detection, with
command no is to disable global or port about VCT automatic detection.
vct auto-run
no vct auto-run
【Default】
- 253 -
Command line configuration manual
By default, it disables global or port about VCT automatic detection
【Command mode】
【Example】
EPON(config)#vct auto-run
EPON(config-if-ethernet-0/8)#vct auto-run
【Command mode】
【Example】
1.29.11 mac-address-table
- 254 -
Command line configuration manual
mac-address-table blackhole mac vlan vlan-id
no mac-address-table
【Parameter】
vlan-id:VLAN id
backhole:Blackhole address table which is not aging, and will not be lost after OLT
rebooting. Message whose source or destination mac address is the same as this
mac address will be dropped.
permanent:Permanent address table which cannot be aging and will not be lost
after OLT rebooting.
static:Static address table which is not aging and will be lost after OLT reboot.
【Example】
- 255 -
Command line configuration manual
EPON(config)#mac-address-table permanent 22:21:22:23:24:25 interface
ethernet 2/1 vlan 1
no mac-address age-time
【Parameter】
【Default】
【Example】
mac-address-table learning
- 256 -
Command line configuration manual
no mac-address-table learning
【Example】
EPON(config)#mac-address-table learning
Use this command to configure the number of MAC address interface permits
learning. Use no command to restore it to default number.
no mac-address-table max-mac-count
【Parameter】
【Default】
It is defaulted to be no restriction.
【Example】
EPON(config-if-ethernet-2/3)#mac-address-table max-mac-count 8
1.29.15 ping
- 257 -
Command line configuration manual
Use ping command to check the network connection.
【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.
【Example】
EPON#ping 192.168.2.222
show broadcast-suppression
【Example】
- 258 -
Command line configuration manual
!Display the max number of the broadcast flow allowed by OLT per second.
EPON(config)#show broadcast-suppression
show clock
【Example】
EPON#show clock
【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】
EPON(config)#show cpu-utilization
- 259 -
Command line configuration manual
1.29.19 show dhcp-server clients
【Parameter】
【Example】
show discard-bpdu
【Example】
EPON(config)#show discard-bpdu
- 260 -
Command line configuration manual
to unknown destination.
show dlf-forward
【Example】
EPON(config)#show dlf-forward
【Example】
EPON(config)#show ip fdb
show mac-address-table
- 261 -
Command line configuration manual
show mac-address-table { blackhole | dynamic | permanent | static } interface
interface-num [ vlan vlan-id ]
【Parameter】
vlan-id:VLAN id
backhole:Blackhole address table which is not aging, and will not be lost after OLT
rebooting. Message whose source or destination mac address is the same as this
mac address will be dropped.
permanent:Permanent address table which cannot be aging and will not be lost
after OLT rebooting.
static:Static address table which is not aging and will be lost after OLT reboot.
【Example】
EPON(config)#show mac-address-table
- 262 -
Command line configuration manual
【Command configuration mode】
【Example】
【Example】
show memory
【Example】
EPON(config)#show memory
- 263 -
Command line configuration manual
1.29.27 show system
show system
【Example】
EPON(config)#show system
Use show users command to display the user information logged in.
show users
【Example】
GL (config)#show users
show version
【Usage】
- 264 -
Command line configuration manual
The software information is different with different version.
【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
【Parameter】
【Default】
【Example】
【Related command】
show users
1.29.31 tracert
- 265 -
Command line configuration manual
tracert [ -u | -c ] [ -p udpport | -f first_ttl | -h maximum_hops | -w time_out ]
target_name
【Parameter】
defaulted to be -c;
defaulted to be 1;
【Usage】
【Example】
!Tracert 192.168.2.222
EPON#tracert 192.168.2.222
1.29.32 cpu-car
- 266 -
Command line configuration manual
Use this command to to configure cpu rate for receiving packet.
Cpu-car target_rate
【Parameter】
【Example】
EPON(config)#cpu-car 122
show cpu-car
【Example】
!Show cpu-car
EPON#show cpu-car
Use this command to display cpu received statistic information from interface.
show cpu-statistics
- 267 -
Command line configuration manual
【Command configuration mode】
【Example】
EPON#show cpu-statistics
Use this command to clear cpu received statistic information from interface.
clear cpu-statistics
【Example】
EPON(config)#clear cpu-statistics
- 268 -
Command line configuration manual
show snmp user
show snmp view
snmp-server community
snmp-server contact
snmp-server host
snmp-server location
snmp-server name
snmp-server enable traps
snmp-server trap-source
snmp-server engineID
snmp-server view
snmp-server group
snmp-server user
snmp-server security-name
Use show snmp community command to display information of all SNMP sever
community list.
【Example】
- 269 -
Command line configuration manual
Use show snmp contact command to display how to contact to administrator.
【Usage】
【Example】
Use show snmp host command to display Trap information of SNMP server
【Example】
- 270 -
Command line configuration manual
【Example】
【Usage】
【Example】
【Usage】
Choose “local” to display local engine, and choose “remote” to display remote
engine.
【Example】
- 271 -
Command line configuration manual
!Display local engine id
【Usage】
【Example】
【Usage】
【Example】
- 272 -
Command line configuration manual
1.30.9 show snmp view
【Usage】
【Example】
【Parameter】
ro:Read only
deny:Cannot be activated
- 273 -
Command line configuration manual
permit:Can be activated
【Usage】
【Example】
no snmp-server contact
【Parameter】
Use snmp-server host command to send notify by SNMP server. Use no snmp-
- 274 -
Command line configuration manual
server host command to remove SNMP server sending notifies.
【Parameter】
【Usage】
【Example】
- 275 -
Command line configuration manual
1.30.13 snmp-server location
【Parameter】
【Usage】
【Example】
no snmp-server name
【Parameter】
【Default】
- 276 -
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.
- 277 -
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】
- 278 -
Command line configuration manual
EPON(config)# snmp-server trap-source vlan-interface 1
【Parameter】
【Default】
【Usage】
【Example】
- 279 -
Command line configuration manual
engine ip to be 1.1.1.1,and port number to be 888,and id to be 1234
【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】
At most 64 views can be configured, and the sum of the number of characters in
view name string and the number of oid nodes should not be more than 62.
【Example】
- 280 -
Command line configuration manual
!Add a subtree “1.3.6.2” for existed view “view1”
【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.
【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
- 281 -
Command line configuration manual
【Command configuration mode】
【Usage】
【Example】
!Add group “group1” to local facility,using security model 1, and configure read,
write, and notify view to be internet
【Parameter】
- 282 -
Command line configuration manual
characters,excluding space.
Privkey is encrpted key. Unencypted key ranes from 16 byte, and encrypted key
ranes from 16 byte.
【Default】
【Usage】
- 283 -
Command line configuration manual
At most 64 groups can be configured.
【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
EPON(config)# snmp-server user user3 grp3 auth md5 auth-password 1234 priv
des priv-password 4321
login-access-list
show login-access-list
1.31.1 login-access-list
【Parameter】
- 284 -
Command line configuration manual
ip-address:IP address,2.2.2.2 means any ip address is allowed to manage system
except 127.*.*.*
wildcard means mask wildcard which is in the form of mask in reverse. 2 means
mask this bit, and 1 ,eams does not mask this bit. When mask in reserve is
2.2.2.2, it means host address, and 255.255.255.255 means all host.
【Usage】
【Example】
show login-access-list
【Example】
EPON(config)#show login-access-list
- 285 -
Command line configuration manual
telnet
show telnet client
stop telnet client
1.32.1 telnet
【Parameter】
【Default】
Privileged mode
【Example】
EPON#telnet 12.9.2.34
Use show telnet client command to display the operation information of all Telnet
client.
- 286 -
Command line configuration manual
show telnet client
【Example】
【Parameter】
term-id:The terminal number of Telnet client which is in the range of 2-5,2 means
console ,1-5 means Telnet terminal 1-5.
Privileged mode
【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】
- 287 -
Command line configuration manual
EPON#stop telnet client 2
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】
【Example】
EPON(config)#alarm cpu
Use alarm cpu threshold command to configure CPU busy or unbusy threshold.
no alarm cpu
- 288 -
Command line configuration manual
【Parameter】
【Default】
【Usage】
【Example】
【Example】
- 289 -
Command line configuration manual
(336) anti-dos ip fragment
(337) anti-dos ip ttl
(338) show anti-dos
【Parameter】
maximum:maximum number
【Default】
822
【Example】
EPON(config)#anti-dos ip fragment 32
Show anti-dos
【Example】
- 290 -
Command line configuration manual
EPON(config)#show anti-dos
- 291 -
Command line configuration manual
lldp
lldp hello-time
lldp hold-time
lldp { rx | tx | rxtx }
show lldp interface [ <interface-list> ]
1.35.1 lldp
Use lldp command to enable LLDP globally. Use no lldp command to disable
LLDP globally.
lldp
no lldp
【Default】
【Example】
- 292 -
Command line configuration manual
!Enable global LLDP
EPON(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】
EPON(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】
- 293 -
Command line configuration manual
【Example】
EPON(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】
EPON(config-if-ethernet-2/1)#lldp tx
【Example】
- 294 -
Command line configuration manual
EPON(config)#show lldp interface ethernet 2/1
【Default】
【Example】
Use this command to configure Flex links backup interface of channel group.
- 295 -
Command line configuration manual
channel-group channel-group-number }
【Default】
【Example】
Use this command to configure Flex links preemption mode of master interface.
【Default】
【Example】
- 296 -
Command line configuration manual
mode Forced
【Default】
【Example】
【Default】
- 297 -
Command line configuration manual
【Command configuration mode】
【Example】
【Default】
【Example】
- 298 -
Command line configuration manual
【Command mode】
All modes
【Example】
【Command mode】
【Example】
【Command mode】
【Example】
- 299 -
Command line configuration manual
1.36.10 show swithport interface backup
【Example】
- 300 -
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.36.11 cfm md
- 301 -
Command line configuration manual
no cfm md md-id
【Default】
【Parameter】
【Example】
EPON(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】
- 302 -
Command line configuration manual
up: direction of MEP
mep-id: MEP id
【Example】
Use this command to configure cfm mip. Use no command to delete cfm mip.
【Default】
【Parameter】
【Example】
Use this command to configure cfm rmep. Use no command to delete cfm rmep.
- 303 -
Command line configuration manual
cfm rmep level level-id mpid mep-id vlan vlan-id
【Default】
【Parameter】
mep-id: MEP id
【Example】
no cfm cc interval
【Default】
- 304 -
Command line configuration manual
【Parameter】
【Example】
EPON(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.
【Parameter】
- 305 -
Command line configuration manual
Mep-id:mep identifer
【Example】
EPON(config)#show c
EPON(config)#show cfm md
【Example】
- 306 -
Command line configuration manual
【Command configuration mode】
【Example】
【Example】
【Example】
- 307 -
Command line configuration manual
(357) Pppoeplus
(358) pppoeplus type
(359) show pppoeplus
1.37.1 pppoeplus
Use this command to enable PPPoE Plus. Use no command to disable PPPoE
Plus.
pppoeplus
no pppoeplus
【Example】
EPON(config)#pppoeplus
EPON(config)#no pppoeplus
- 308 -
Command line configuration manual
Use this command to configure PPPoE Plus type.
【Example】
show pppoeplus
【Example】
EPON(config)#show pppoeplus
- 309 -
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.38.1 errp
Use this command to enable global ERRP. Use no command to disable it.
errp
no errp
【Default】
Disable
- 310 -
Command line configuration manual
【Command configuration mode】
【Example】
!Enable ERRP
EPON(config)#errp
【Default】
【Example】
EPON(config)#errp hello-timer 2
no errp fail-timer
- 311 -
Command line configuration manual
【Default】
【Example】
EPON(config)#errp fail-timer 2
【Parameter】
【Example】
EPON(config)#errp domain 2
1.38.5 control-vlan
Use this command to configure control VLAN of ERRP domain. Use no command
to delete it.
control-vlan vlan-id
no control-vlan
- 312 -
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 OLT 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】
EPON(config-errp-2)#control-vlan 25
- 313 -
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.
EPON(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
- 314 -
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
- 315 -
Command line configuration manual
【Parameter】
disable:inactivate a ring
【Example】
!Activate ring 2
EPON(config-errp)#ring 2 enable
【Parameter】
【Example】
use this command to enable Query Solicitation of ERRP ring. Use no command to
disable it.
- 316 -
Command line configuration manual
no ring ring-id query-solicit
【Parameter】
【Example】
EPON(config-errp-domain-2)#ring 2 query-solicit
- 317 -
Command line configuration manual
efm
efm mode
efm pdu-timeout
efm link-timeout
efm remote-response-timeout
efm link-monitor para
efm remote-failure
efm link-monitor
efm variable-retrieval
efm remote-loopback
efm remote-loopback { start | stop }
efm remote-loopback { ignore | process }
show efm status interface
show efm summary
show efm discovery interface
show / clear efm statistics interface
show efm remote-mib
- 318 -
Command line configuration manual
1.38.11 efm
efm
no efm
【Default】
【Command mode】
【Example】
!Enable EFM
TiNet(config-if-ethernet-0/1)#efm
【Default】
【Command mode】
【Parameter】
passive:
active:
【Example】
- 319 -
Command line configuration manual
!Configure EFM work mode as passive
no efm pdu-timeout
【Default】
By default is 1s
【Command mode】
【Parameter】
【Example】
TiNet(config-if-ethernet-0/1)#efm pdu-timeout 5
no efm link-timeout
【Default】
- 320 -
Command line configuration manual
By default is 5s
【Command mode】
【Parameter】
【Example】
TiNet(config-if-ethernet-0/1)#efm link-timeout 15
no efm remote-response-timeout
【Default】
By default is 2s
【Command mode】
【Parameter】
【Example】
- 321 -
Command line configuration manual
TiNet(config-if-ethernet-0/1)#efm remote-response-timeout 5
【Parameter】
【Parameter】
【Parameter】
- 322 -
Command line configuration manual
efm link-monitor errored-frame-seconds window win-value
【Command mode】
【Example】
【Default】
【Command mode】
【Parameter】
【Example】
!Disable link-fault
- 323 -
Command line configuration manual
TiNet(config-if-ethernet-0/1)#no efm remote-failure link-fault
This command is to enable link monitor, command with no is recover the default.
【Default】
【Command mode】
【Parameter】
【Example】
!Enable errored-frame
- 324 -
Command line configuration manual
efm variable-retrieval
no efm variable-retrieval
【Default】
【Command mode】
【Example】
efm remote-loopback
no efm remote-loopback
【Default】
【Command mode】
【Example】
- 325 -
Command line configuration manual
This command is to start/stop remote loopack.
【Command mode】
【Parameter】
【Example】
This command is to configure the port whether deal with the OAMPDU from
remote request.
【Default】
【Command mode】
【Parameter】
ignore:
process:
【Example】
- 326 -
Command line configuration manual
!Configure OAMPDU from remote request.
【Command mode】
All modes
【Parameter】
【Example】
【Command mode】
Any mode
【Example】
- 327 -
Command line configuration manual
show efm discovery interface [ interface-name ]
【Command mode】
Any mode
【Parameter】
【Example】
【Command mode】
【Parameter】
【Example】
- 328 -
Command line configuration manual
show efm remote-mib { fecability | fecmode }
【Command mode】
【Parameter】
fecability:FEC ability
fecmode:FEC mode
【Example】
- 329 -
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】
- 330 -
Command line configuration manual
EPON(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】
EPON(config)#show pon
Slot 3
- 331 -
Command line configuration manual
ONU Mac Address LLID Config Description
- 332 -
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
- 333 -
Command line configuration manual
show class
show enable-pon-vlan-isolation
1.40.1 onu-authenticate
hybrid-auth | disable }
【Parameter】
slot:slot
【Command mode】
【Example】
1.40.2 white-list
【Command mode】
- 334 -
Command line configuration manual
PON port configuration mode
【Example】
EPON(config-if-pon-3/1)#white-list del 1
1.40.3 black-list
【Command mode】
【Example】
1.40.4 loid-list
【Command mode】
- 335 -
Command line configuration manual
PONport configuration mode
【Example】
1.40.5 hybrid-list
【Command mode】
【Example】
1.40.6 onu-p2p
onu-p2p
no onu-p2p
- 336 -
Command line configuration manual
【Command mode】
【Example】
EPON(config)# onu-p2p
EPON(config)# no onu-p2p
1.40.7 encryp
no encryp slot
【Parameter 】
slot:slot
【Command mode】
【Example】
- 337 -
Command line configuration manual
EPON(config)#no encryp 5
1.40.8 dba
【Parameter 】
slot:slot
pon-num:PON port
cycletime:cycle time
discovfreq:discover frequency
discovtime:discover time
【Command mode】
【Example】
1.40.9 mac-address-table
- 338 -
Command line configuration manual
This command is used to configure MAC address learning quantity limitation of
ONU LLID
【Parameter 】
【Command mode】
【Example】
EPON(config-if-pon-3/1)#mac-address-table onu-index 1
max-mac-count 20
max-mac-count 20
1.40.10 classif
[ ethernet-priority-action value ]
- 339 -
Command line configuration manual
[ vlan-action { push vlanid | translation vlanid | pop } ]
[ ethernet-priority-action value ]
{ [ destination-mac H:H:H:H:H:H ] |
[ ethernet-priority-action value ]
[ ethernet-priority-action value ]
- 340 -
Command line configuration manual
classif ruleid { pon | onu onu_id | nni } deny packet ip
{ [ destination-mac H:H:H:H:H:H ] |
- 341 -
Command line configuration manual
{ [ ip-da ip ] | [ destination-port value ] |
[ ethernet-priority-action value ]
[ ethernet-priority-action value ]
{ [ destination-mac H:H:H:H:H:H ] |
[ ethernet-priority-action value ]
- 342 -
Command line configuration manual
{ [ destination-mac H:H:H:H:H:H | dot1p-priority value ] |
[ ethernet-priority-action value ]
{ [ destination-mac H:H:H:H:H:H ] |
- 343 -
Command line configuration manual
classif slot slotid { pon | nni } deny packet any
【Parameter 】
【Command mode】
【Example】
Select data packets as IP, source IP address is 192.168.0.32 ,vlan tag packets of
vlanid=100 ,that packets mark outside vlan,the value is vlan-id=200
1.40.11 no classif
no classif [ ruleid ]
【Command mode】
【Example】
- 344 -
Command line configuration manual
EPON(config-if-pon-3/1)#no class 1
1.40.12 enable-pon-vlan-isolation
【Parameter 】
【Command mode】
【Example】
!Enable VLAN isolation mechanism and configure isolate VLAN id as 100 200
300 400
EPON(config)#enable-pon-vlan-isolation 100 200 300 400
! Disable VLAN isolation mechanism
EPON(config)#no enable-pon-vlan-isolation
【Command mode】
- 345 -
Command line configuration manual
【Example】
slot : 2
pon 2/1 mac-auth mode: black-list
show white-list
【Command mode】
【Example】
EPON(config-if-pon-3/1)#show white-list
WHITE LIST:
show black-list
【Command mode】
【Example】
- 346 -
Command line configuration manual
!Display black list
EPON(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】
EPON(config-if-pon-2/4)#show loid-list
LOID LIST:
1 bbbbb 12345
show hybrid-list
【Command mode】
- 347 -
Command line configuration manual
【Example】
Hybrid LIST:
1 aaaabbbbcccc 1234
2 00:00:00:00:12:34
show onu-p2p
【Command mode】
【Example】
EPON(config-if-pon-3/1)#show onu-p2p
onu-p2p : disable
【Command mode】
- 348 -
Command line configuration manual
【Example】
EPON(config)#show dba 2
This command is to display MAC address quality limitation based on ONU LLID
【Parameter 】
【Command mode】
【Example】
!Display MAC address quality limitation based on the first ONU LLID
max-mac-count
01 0x61040000 enable 20
- 349 -
Command line configuration manual
1.40.21 show classif
【Parameter 】
【Command mode】
【Example】
EPON(config-if-pon-3/1)#show classif 1
show enable-pon-vlan-isolation
【Command mode】
【Example】
EPON(config)#show enable-pon-vlan-isolation
- 350 -
Command line configuration manual
PON isolation by vlan is enable: 4010 4011 4012 4013.
- 351 -
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
- 352 -
Command line configuration manual
onu-queue-scheduler
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.41.1 onu-description
onu-description onu-name
【Command mode】
【Example】
- 353 -
Command line configuration manual
EPON(onu-3/4/1)# onu-description com
show onu-description
【Command mode】
【Example】
EPON(onu-3/4/1)#show onu-description
1.41.3 onu-binding
no onu-binding
no onu-binding mac
no onu-binding type
【Command mode】
- 354 -
Command line configuration manual
Global configuration mode and ONU configuration mode
【Example】
EPON(config)# no onu-binding
show onu-status
【Command mode】
【Example】
EPON(onu-3/4/1)#show onu-status
- 355 -
Command line configuration manual
ONU Mac Address RTT(TQ) RegisterTime Type Software State
1.41.5 onu-reboot
onu-reboot
【Command mode】
【Example】
!Reboot ONU
EPON(onu-3/3/1)#onu-reboot
1.41.6 onu-bandwidth
[ jitter jitter-number ]
[ jitter jitter-number ]
| mixed }
- 356 -
Command line configuration manual
| mark } | mixed }
no onu-bandwidth upstream
no onu-bandwidth downstream
no onu-bandwidth shaper
【Parameter】
【Command mode】
【Example】
- 357 -
Command line configuration manual
!Recover ONU downlink bandwidth original configuration
1.41.7 onu-encrypt
onu-encrypt
no onu-encrypt
【Command mode】
【Example】
EPON(onu-3/3/1)#onu-encryp
EPON(onu-3/3/1)#no onu-encryp
1.41.8 onu-loopback
onu-loopback oam
no onu-loopback oam
【Command mode】
- 358 -
Command line configuration manual
ONU configuration mode
【Example】
EPON(onu-3/3/1)#onu-loopback oam
1.41.9 onu-flow-control
onu-flow-control
no onu-flow-control
【Command mode】
【Example】
EPON(onu-3/3/1-reth-0/1)#onu-flow-control
EPON(onu-3/3/1-reth-0/1)#onu-flow-control
1.41.10 onu-shutdown
onu-shutdown
no onu-shutdown
【Command mode】
- 359 -
Command line configuration manual
ONUport configuration mode
【Example】
EPON(onu-3/3/1-reth-0/1)#onu-shutdown
EPON(onu-3/3/1-reth-0/1)#no onu-shutdown
onu-speed auto
no onu-speed auto
【Command mode】
【Example】
EPON(onu-3/3/1-reth-0/1)#onu-speed auto
1.41.12 onu-bandwidth
- 360 -
Command line configuration manual
【Parameter】
【Command mode】
【Example】
123
【Parameter】
- 361 -
Command line configuration manual
【Parameter】
1.41.15 onu-vlan-mode
【Parameter】
【Command mode】
【Usage】
In ONU configuration mode, only configure two vlan modes, that is transparent
mode and tag mode.
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
vlan_number2, if add new entry vlan vlan_number is different from original value,
the new entry will replace the original entry.
【Example】
- 362 -
Command line configuration manual
EPON(onu-3/3/1-reth-0/1)#onu-vlan-mode translation vlan 3 old_vlan 5
new_vlan 6
new_vlan 66
1.41.16 onu-classification
select-value }
【Parameter】
【Command mode】
- 363 -
Command line configuration manual
【Example】
【Command mode】
【Example】
【Command mode】
【Example】
!configure ONU port multicast without VLAN TAG of stripping multicst business
packets
- 364 -
Command line configuration manual
EPON(onu-3/3/1-reth-0/1)#onu-multicast tag
【Command mode】
【Example】
【Parameter】
【Command mode】
【Example】
- 365 -
Command line configuration manual
EPON(onu-3/3/1 -reth-0/1)# no onu-igmp-snooping vlan 1,2
This command is to configure the maximum view on line multicast group in igmp-
snooping mode
【Command mode】
【Example】
1.41.22 onu-multicast-ctrl
This command is to configure the privileged control table in the control multicast
mode.
【Parameter】
portid:onu port id
【Command mode】
【Example】
- 366 -
Command line configuration manual
EPON(onu-3/3/1)# onu-multicast-ctrl permit 01:00:5e:01:01:01 1 5
【Command mode】
【Example】
!Enable fec
1.41.24 no onu-classification
【Parameter】
【Command mode】
【Example】
- 367 -
Command line configuration manual
【Parameter】
【Command mode】
【Example】
1.41.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
- 368 -
Command line configuration manual
no onu-bandwidth multicast
no onu-bandwidth broadcast
no onu-mac-address-table max-mac-count
【Parameter】
【Command mode】
【Example】
EPON(onu-3/3/1)#onu-mac-address-table max-mac-count 20
EPON(onu-3/3/1)#interface ethernet 3
EPON(onu-3/3/1-reth-3)#onu-mac-address-table max-mac-count 40
- 369 -
Command line configuration manual
1.41.30 onu-mac-address-table age-time
no onu-mac-address-table age-time
【Parameter】
【Default】
【Command mode】
【Example】
EPON(onu-3/3/1)#onu-mac-address-table age-time 10
1.41.31 onu-queue-scheduler
no queue-scheduler
- 370 -
Command line configuration manual
【Parameter】
【Command mode】
【Example】
14,13,12
EPON(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
- 371 -
Command line configuration manual
【Command mode】
【Usage】
【Example】
EPON(onu-3/3/1)#onu-queue-scheduler cos-map 1 6
【Parameter】
【Default】
By default, the mapping disables, when open, COS assigns to different priority.
【Command mode】
【Example】
- 372 -
Command line configuration manual
!Enable 802.1p re-mapping, configure value 2 IEEE 802.1p protocol priority re-
mapping to 5
EPON(onu-3/3/1)#onu-queue-scheduler cos-remap
EPON(onu-3/3/1)#onu-queue-scheduler cos-remap 2 5
【Parameter】
H:H:H:H:H:H:MAC address
【Command mode】
【Example】
1.41.35 onu-dtag
onu-dtag [ flexible-qinq ]
- 373 -
Command line configuration manual
no onu-dtag
no onu-dtag outer-tpid
no onu-dtag mode
【Parameter】
【Command mode】
【Example】
EPON(onu-3/3/1)#onu-dtag
EPON(onu-3/3/1)#onu-dtag flexible-qinq
!Disable QINQ
- 374 -
Command line configuration manual
EPON(onu-3/3/1)#no onu-dtag
EPON(onu-3/3/1-reth-0/1)#onu-dtag insert 3 5 6
EPON(onu-3/3/1-reth-0/1)#onu-dtag pass-through 7 9
【Command mode】
【Example】
- 375 -
Command line configuration manual
!Configure onu 3/4/1 IP
no onu-ip address
【Command mode】
【Example】
1.41.38 onu-vlan
onu-vlan vlan-id
【Command mode】
【Example】
EPON(onu-3/4/1)#onu-vlan 200
1.41.39 no onu-vlan
- 376 -
Command line configuration manual
no onu-vlan { vlan-id | all }
【Command mode】
【Example】
1.41.40 onu-swithport
【Command mode】
【Example】
1.41.41 no onu-swithport
【Command mode】
【Example】
- 377 -
Command line configuration manual
1.41.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.41.44 onu-tag-mode
【Command mode】
- 378 -
Command line configuration manual
【Example】
EPON(onu-3/3/3-reth-0/3)#onu-tag-mode tag
1.41.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 inputs
【Command mode】
- 379 -
Command line configuration manual
ONU configuration mode
【Example】
1.41.46 no onu-com-session
no onu-com-session comid
【Command mode】
【Example】
EPON(onu-3/4/1)#no onu-com-session 1
【Command mode】
【Example】
- 380 -
Command line configuration manual
1.41.48 onu-event-alarm loopback
【Command mode】
【Example】
1.41.49 onu-ctc-upgrade
onu-ctc-upgrade
【Command mode】
【Example】
!Upgrade onu
EPON(onu-3/4/1)#onu-ctc-upgrade
1.41.50 onu-ctc-upgrade-commit
onu-ctc-upgrade-commit
【Command mode】
- 381 -
Command line configuration manual
ONU configuration mode
【Example】
EPON(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】
EPON(onu-3/3/3-reth-0/3)#show onu-port-info
PVID 200
【Command mode】
【Example】
- 382 -
Command line configuration manual
EPON(onu-3/4/1)#show onu-status
【Command mode】
【Example】
EPON(config)#show statistics
MULTICASTS(packets) BROADCASTS(packets)
-------------------------------------------------------------------------------------------------
3/4/1 port:pon
3/4/1 port:uni
- 383 -
Command line configuration manual
This command is to display the whole ONU uplink and downlink
bandwidth,traffic shaping and strategy.
show onu-bandwidth
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-bandwidth
- 384 -
Command line configuration manual
show onu-encrypt
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-encrypt
encryp: enable
【Command mode】
【Example】
【Parameter 】
【Command mode】
- 385 -
Command line configuration manual
ONU configuration mode
【Example】
onu : 3/3/1
show onu-sn
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-sn
MODEL: 8015
- 386 -
Command line configuration manual
ONUID: 0x00 0x0a 0x5a 0x11 0x49 0x5c
SW: 0x32 0x30 0x33 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
show onu-firmware
【Command mode】
【Example】
EPON(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】
【Example】
EPON(onu-3/3/1)#show onu-pon-chip
- 387 -
Command line configuration manual
onu chip id : vendor id IM
show onu-capabilities
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-capabilities
onu 3/3/1 :
- 388 -
Command line configuration manual
onu capability: BatteryBackup 0
【Parameter 】
【Command mode】
【Example】
onu : 3/3/1
onu : 3/3/1
- 389 -
Command line configuration manual
ONU port 3 bandwidth egress is Disable
【Parameter 】
【Command mode】
【Example】
onu 3/3/1 :
EPON(onu-3/3/1)#show vlan-mode
onu 3/3/1 :
- 390 -
Command line configuration manual
port ID : 3 ctc vlan mode : transparent
show onu-classification
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-classification
Destination-port 55
Destination-port 44
Destination-port 88
Destination-port 66
- 391 -
Command line configuration manual
This command is to display multicast mode
【Command mode】
【Example】
【Command mode】
【Example】
interface 1:tag
【Command mode】
【Example】
- 392 -
Command line configuration manual
!Display ONU multicast fast-leave function
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
- 393 -
Command line configuration manual
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】
preview times : 5
- 394 -
Command line configuration manual
5 01:00:5e:01:01:01 5
show onu-fec
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-fec
【Command mode】
【Example】
1 disable 0
2 disable 0
- 395 -
Command line configuration manual
3 disable 0
4 disable 0
5 disable 0
6 disable 0
7 disable 0
EPON(onu-3/3/1)#interface ethernet 3
3 disable 0
【Command mode】
【Example】
- 396 -
Command line configuration manual
This command is to display ONU queue scheduler mode and mapping
show onu-queue-scheduler
【Command mode】
【Example】
【Command mode】
【Example】
01:01:01:01:01:01 1
Total entries: 1 .
- 397 -
Command line configuration manual
1.41.76 show onu-bandwidth multicast
【Command mode】
【Example】
【Command mode】
【Example】
show onu-dtag
- 398 -
Command line configuration manual
show onu-dtag insert
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-dtag
01 3 5 6
Total entries: 1 .
- 399 -
Command line configuration manual
!Display port PASSTHROUGH items
01 7 9
Total entries: 1 .
【Command mode】
【Example】
【Command mode】
【Example】
- 400 -
Command line configuration manual
3/4/1 11:22:33:44:55:66 1.1.1.22 255.255.255.0 1.1.1.1 static
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-com-session
com1
com2
com session:DISABLE
com3
com session:DISABLE
com4
- 401 -
Command line configuration manual
com session:DISABLE
【Command mode】
【Example】
EPON(onu-3/3/1)#show onu-com-statistic
com1
com bytesrecv: 0
com bytessend:0
【Command mode】
【Example】
- 402 -
Command line configuration manual
Command
mpcp-delay-time
admin-enable-pon
psg creat
psg delete
psg OLT
admin-enable-psg
show mpcp-delay-time
show admin-enable-pon
show psg
show admin-enable-psg
1.42.1 mpcp-delay-time
- 403 -
Command line configuration manual
mpcp-delay-time slot slot_id pon pon_id time delay_time
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.42.2 admin-enable-pon
【Parameter】
slot_id:slot id
pon_id:pon port id
【Command mode】
【Example】
- 404 -
Command line configuration manual
!Enable PON 3 status in slot3
EPON(config)#admin-enable-pon slot 3 pon 3
!Disable PON 3 status in slot3
psg creat slot slot_id psg-id psg_id active-pon pon_index standby-pon pon_index
【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】
- 405 -
Command line configuration manual
【Parameter】
slot_id:slot id
psg_id:psg id
【Command mode】
【Example】
【Parameter】
【Command mode】
【Example】
1.42.6 admin-enable-psg
- 406 -
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】
- 407 -
Command line configuration manual
Port limit delay delay time
【Parameter】
slot_id:slot id
【Command mode】
【Example】
【Parameter】
- 408 -
Command line configuration manual
【Command mode】
【Example】
!Display PSG 1
【Parameter】
slot_id:slot id
psg_id:psg id
【Command mode】
【Example】
- 409 -
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】
- 410 -
Command line configuration manual
【Command mode】
【Example】
1.43.2 multicast-ctrl
【Parameter】
【Command mode】
Profile mode
【Example】
- 411 -
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】
- 412 -
Command line configuration manual
onu-multicast-ctrl profile-binding profile_id port_id
【Parameter】
port_id:onu port id
【Command mode】
【Example】
- 413 -