Sie sind auf Seite 1von 1447

ZXA10 C320

Optical Access Convergence Equipment

Command Reference
Version: V1.2.0

ZTE CORPORATION
NO. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn

LEGAL INFORMATION
Copyright 2012 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or
distribution of this document or any portion of this document, in any form by any means, without the prior written
consent of ZTE CORPORATION is prohibited.

Additionally, the contents of this document are protected by

contractual confidentiality obligations.


All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE
CORPORATION or of their respective owners.
This document is provided as is, and all express, implied, or statutory warranties, representations or conditions
are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,
title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the
use of or reliance on the information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications
covering the subject matter of this document. Except as expressly provided in any written license between ZTE
CORPORATION and its licensee, the user of this document shall not acquire any license to the subject matter
herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.

Revision History
Revision No.

Revision Date

Revision Reason

R1.0

2012-06-30

First edition

Serial Number: SJ-20120615152640-010


Publishing Date: 2012-06-30 (R1.0)

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Contents
About This Manual ......................................................................................... I
Chapter 1 Overview .................................................................................... 1-1
1.1 Command Format .............................................................................................. 1-1
1.2 Command Usage and Operation ......................................................................... 1-1
1.3 Command Mode ................................................................................................ 1-2

Chapter 2 Basic System Management...................................................... 2-1


2.1 auto-write .......................................................................................................... 2-2
2.2 banner incoming ................................................................................................ 2-2
2.3 clock.................................................................................................................. 2-4
2.4 clock timezone ................................................................................................... 2-4
2.5 clock set ............................................................................................................ 2-5
2.6 clock summer-time recurring ............................................................................... 2-6
2.7 clear mpnat trans-table ....................................................................................... 2-7
2.8 configure terminal............................................................................................... 2-7
2.9 disable............................................................................................................... 2-8
2.10 enable ............................................................................................................. 2-9
2.11 enable secret.................................................................................................. 2-10
2.12 end.................................................................................................................2-11
2.13 env-switch add-device .....................................................................................2-11
2.14 env-switch switch ........................................................................................... 2-12
2.15 exit ................................................................................................................ 2-13
2.16 hostname....................................................................................................... 2-14
2.17 load-balance .................................................................................................. 2-14
2.18 multi-user configure ........................................................................................ 2-15
2.19 set-cputhreshold............................................................................................. 2-16
2.20 set-memthreshold........................................................................................... 2-17
2.21 set-pnp .......................................................................................................... 2-18
2.22 time-range ..................................................................................................... 2-19
2.23 username ...................................................................................................... 2-20
2.24 user password................................................................................................ 2-21
2.25 user-suspend ................................................................................................. 2-22
2.26 who ............................................................................................................... 2-22
2.27 show auto-write .............................................................................................. 2-23
I
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

2.28 show clock ..................................................................................................... 2-24


2.29 show cputhreshold ......................................................................................... 2-25
2.30 show load-balance ......................................................................................... 2-26
2.31 show memthreshold ....................................................................................... 2-26
2.32 show processor .............................................................................................. 2-27
2.33 show running-config ....................................................................................... 2-28
2.34 show system-group ........................................................................................ 2-30
2.35 show time-range............................................................................................. 2-30
2.36 show username.............................................................................................. 2-31
2.37 show users .................................................................................................... 2-32
2.38 show user-suspend ........................................................................................ 2-33

Chapter 3 Hardware Management............................................................. 3-1


3.1 add-rack ............................................................................................................ 3-1
3.2 add-shelf ........................................................................................................... 3-2
3.3 add-card ............................................................................................................ 3-3
3.4 add-subcard....................................................................................................... 3-3
3.5 del-rack ............................................................................................................. 3-4
3.6 del-shelf............................................................................................................. 3-5
3.7 del-card ............................................................................................................. 3-6
3.8 del-subcard........................................................................................................ 3-6
3.9 reboot................................................................................................................ 3-7
3.10 reset-card ........................................................................................................ 3-8
3.11 show rack......................................................................................................... 3-9
3.12 show shelf........................................................................................................ 3-9
3.13 swap ............................................................................................................. 3-10
3.14 show card .......................................................................................................3-11

Chapter 4 Fan Management....................................................................... 4-1


4.1 fan control.......................................................................................................... 4-1
4.2 fan epm ............................................................................................................. 4-2
4.3 fan high-threshold .............................................................................................. 4-3
4.4 fan speed .......................................................................................................... 4-3
4.5 fanboard ............................................................................................................ 4-4
4.6 fan-board ........................................................................................................... 4-5
4.7 fan-epm-console ................................................................................................ 4-6
4.8 fan high-temp-protection ..................................................................................... 4-7
4.9 show fan............................................................................................................ 4-8
4.10 show fanboard ................................................................................................. 4-9
II
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

4.11 show fan-epm-console ...................................................................................... 4-9

Chapter 5 Version Management ................................................................ 5-1


5.1 download ........................................................................................................... 5-1
5.2 upload ............................................................................................................... 5-2
5.3 sync-file ............................................................................................................. 5-3
5.4 update-boot ....................................................................................................... 5-4
5.5 swapver............................................................................................................. 5-5
5.6 patch active ....................................................................................................... 5-6
5.7 patch deactive.................................................................................................... 5-6
5.8 patch load.......................................................................................................... 5-7
5.9 patch unload ...................................................................................................... 5-7
5.10 show compound-version ................................................................................... 5-8
5.11 show version-running ........................................................................................ 5-9
5.12 show version-saved........................................................................................ 5-10
5.13 show sync-status.............................................................................................5-11

Chapter 6 File System Management ......................................................... 6-1


6.1 auto-backup condition......................................................................................... 6-1
6.2 auto-backup period............................................................................................. 6-2
6.3 config-filename................................................................................................... 6-3
6.4 copy .................................................................................................................. 6-3
6.5 delete ................................................................................................................ 6-5
6.6 dir ..................................................................................................................... 6-6
6.7 file-server .......................................................................................................... 6-7
6.8 manual-backup .................................................................................................. 6-8
6.9 write .................................................................................................................. 6-8
6.10 write flash ........................................................................................................ 6-9
6.11 write alarmlog................................................................................................. 6-10
6.12 show auto-backup condition .............................................................................6-11
6.13 show auto-backup period .................................................................................6-11
6.14 show auto-backup progress ............................................................................ 6-12
6.15 show file-server .............................................................................................. 6-13

Chapter 7 User Management ..................................................................... 7-1


7.1 line console absolute-timeout .............................................................................. 7-1
7.2 line console idle-timeout ..................................................................................... 7-2
7.3 line telnet absolute-timeout ................................................................................. 7-3
7.4 line telnet access-class ....................................................................................... 7-4
7.5 line telnet idle-timeout......................................................................................... 7-4
III
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

7.6 line telnet users.................................................................................................. 7-5


7.7 login .................................................................................................................. 7-6
7.8 login-authentication-type..................................................................................... 7-6
7.9 login-authorization-type ...................................................................................... 7-7
7.10 logout .............................................................................................................. 7-8
7.11 exit .................................................................................................................. 7-8
7.12 rlogin ............................................................................................................... 7-9
7.13 show history................................................................................................... 7-10
7.14 show localuser ............................................................................................... 7-10
7.15 show monitor session ......................................................................................7-11
7.16 show terminal................................................................................................. 7-12
7.17 telnet ............................................................................................................. 7-13
7.18 telnet mng...................................................................................................... 7-13
7.19 telnet ONU..................................................................................................... 7-14

Chapter 8 SNMP Commands ..................................................................... 8-1


8.1 snmp-server access-list ...................................................................................... 8-1
8.2 snmp-server community...................................................................................... 8-2
8.3 snmp-server contact ........................................................................................... 8-3
8.4 snmp-server context ........................................................................................... 8-4
8.5 snmp-server enable............................................................................................ 8-4
8.6 snmp-server engine-id ........................................................................................ 8-5
8.7 snmp-server group ............................................................................................. 8-6
8.8 snmp-server host ............................................................................................... 8-7
8.9 snmp-server location .......................................................................................... 8-9
8.10 snmp-server packetsize .................................................................................... 8-9
8.11 snmp-server trap-source ................................................................................. 8-10
8.12 snmp-server user ............................................................................................8-11
8.13 snmp-server view ........................................................................................... 8-12
8.14 show snmp .................................................................................................... 8-13
8.15 show snmplogfile............................................................................................ 8-14
8.16 show snmplogfile end-time.............................................................................. 8-15
8.17 show snmplogfile ipaddress ............................................................................ 8-16
8.18 show snmplogfile start-time ............................................................................. 8-16
8.19 show snmplogfile summary ............................................................................. 8-17
8.20 show snmp config........................................................................................... 8-18
8.21 show snmp engine-id...................................................................................... 8-19
8.22 show snmp group ........................................................................................... 8-19
IV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

8.23 show snmp user ............................................................................................. 8-20

Chapter 9 FTP Server Commands ............................................................ 9-1


9.1 ip ftp username .................................................................................................. 9-1
9.2 ip ftp password................................................................................................... 9-2

Chapter 10 Alarm Management............................................................... 10-1


10.1 alarm ............................................................................................................. 10-1
10.2 alarm confirm ................................................................................................. 10-2
10.3 alarm trap-confirm .......................................................................................... 10-2
10.4 alarm level-change ......................................................................................... 10-3
10.5 show alarm configure...................................................................................... 10-4
10.6 show alarm counter ........................................................................................ 10-5
10.7 show alarm pool ............................................................................................. 10-6
10.8 clear alarm pool.............................................................................................. 10-7
10.9 clear alarm counter......................................................................................... 10-7
10.10 optical-module alarm-profile .......................................................................... 10-8
10.11 show optical-module-alarm-profile.................................................................. 10-9
10.12 alarm alarm-profile.......................................................................................10-10
10.13 alarm-index ................................................................................................. 10-11
10.14 alarm-profile-apply....................................................................................... 10-11
10.15 show alarm profile .......................................................................................10-12

Chapter 11 Historical Performance Management.................................. 11-1


11.1 his-performance alarm .....................................................................................11-1
11.2 his-performance auto-upload ............................................................................11-2
11.3 his-performance download ...............................................................................11-2
11.4 his-performance sample...................................................................................11-3
11.5 his-performance upload 15-minute....................................................................11-4
11.6 his-performance upload 1-day ..........................................................................11-4

Chapter 12 Performance Alarm Profile Management............................ 12-1


12.1 perf-eht-if ....................................................................................................... 12-1
12.2 perf-eth-olt ..................................................................................................... 12-2
12.3 perf-eth-onu ................................................................................................... 12-3
12.4 perf-mac-olt ................................................................................................... 12-3
12.5 perf-mac-onu ................................................................................................. 12-4
12.6 perf-vport ....................................................................................................... 12-5
12.7 perf-clear-current............................................................................................ 12-5
12.8 perf-profile ..................................................................................................... 12-6
12.9 performance threshhold-profile ........................................................................ 12-7
V
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

12.10 performance threshhold-profile (vport) ........................................................... 12-7


12.11 item (olt/onu eth)........................................................................................... 12-8
12.12 item (eth if)..................................................................................................12-10
12.13 item (olt mac) .............................................................................................. 12-11
12.14 item (onu mac) ............................................................................................12-13
12.15 item (vport)..................................................................................................12-14
12.16 show perf-eth-if ...........................................................................................12-15
12.17 show perf-olt ...............................................................................................12-16
12.18 show perf-onu .............................................................................................12-17
12.19 show perf-vport ...........................................................................................12-17

Chapter 13 Debugging Commands......................................................... 13-1


13.1 debug all........................................................................................................ 13-3
13.2 debug arp ...................................................................................................... 13-3
13.3 debug dhcp-option82 ...................................................................................... 13-4
13.4 debug group-management .............................................................................. 13-5
13.5 debug igmp .................................................................................................... 13-6
13.6 debug ip ........................................................................................................ 13-8
13.7 debug ip bgp updates ..................................................................................... 13-8
13.8 debug ip bgp all.............................................................................................. 13-9
13.9 debug ip bgp dampening................................................................................13-10
13.10 debug ip bgp events .................................................................................... 13-11
13.11 debug ip bgp in ............................................................................................ 13-11
13.12 debug ip bgp keepalives ..............................................................................13-12
13.13 debug ip bgp out..........................................................................................13-13
13.14 debug ip destination.....................................................................................13-14
13.15 debug ip dhcp .............................................................................................13-15
13.16 debug ip icmp..............................................................................................13-15
13.17 debug ip icmp detail.....................................................................................13-16
13.18 debug ip igmp .............................................................................................13-17
13.19 debug ip igmp-snooping ...............................................................................13-18
13.20 debug ip interface ........................................................................................13-18
13.21 debug ip msdp.............................................................................................13-19
13.22 debug ip multicast........................................................................................13-20
13.23 debug ip ospf adj .........................................................................................13-21
13.24 debug ip ospf all ..........................................................................................13-22
13.25 debug ip ospf cspf .......................................................................................13-23
13.26 debug ip ospf database-timer .......................................................................13-23
VI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

13.27 debug ip ospf events....................................................................................13-24


13.28 debug ip ospf flood ......................................................................................13-25
13.29 debug ip ospf lsa-generation ........................................................................13-26
13.30 debug ip ospf nsf .........................................................................................13-27
13.31 debug ip ospf packet....................................................................................13-27
13.32 debug ip ospf retransmission........................................................................13-28
13.33 debug ip ospf spf .........................................................................................13-29
13.34 debug ip ospf tree........................................................................................13-30
13.35 debug ip pim-snooping.................................................................................13-31
13.36 debug ip pimsm ...........................................................................................13-31
13.37 debug ip protocol .........................................................................................13-33
13.38 debug ip rip .................................................................................................13-33
13.39 debug ip rip all.............................................................................................13-34
13.40 debug ip rip database ..................................................................................13-35
13.41 debug ip rip events ......................................................................................13-36
13.42 debug ip rip trigger.......................................................................................13-36
13.43 debug ip source...........................................................................................13-37
13.44 debug ip tcp all ............................................................................................13-38
13.45 debug ip tcp driver .......................................................................................13-39
13.46 debug ip tcp driver-pak.................................................................................13-40
13.47 debug ip tcp packet......................................................................................13-40
13.48 debug ip tcp transactions .............................................................................13-41
13.49 debug ip udp ...............................................................................................13-42
13.50 debug iptv ...................................................................................................13-43
13.51 debug lacp all ..............................................................................................13-44
13.52 debug lacp fsm............................................................................................13-45
13.53 debug lacp packet .......................................................................................13-46
13.54 debug mstp agreement ................................................................................13-47
13.55 debug mstp all.............................................................................................13-48
13.56 debug mstp bpdu-rx.....................................................................................13-49
13.57 debug mstp bpdu-tx .....................................................................................13-50
13.58 debug mstp errors .......................................................................................13-51
13.59 debug mstp flush .........................................................................................13-51
13.60 debug mstp info...........................................................................................13-52
13.61 debug mstp migration ..................................................................................13-53
13.62 debug mstp proposals..................................................................................13-54
13.63 debug mstp roles .........................................................................................13-55
VII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

13.64 debug mstp state .........................................................................................13-56


13.65 debug mstp tc .............................................................................................13-57
13.66 debug port-location ......................................................................................13-58
13.67 debug pppoe-plus........................................................................................13-59
13.68 debug radius all ...........................................................................................13-60
13.69 debug radius authentication .........................................................................13-60
13.70 debug radius exception ................................................................................13-61
13.71 debug radius user........................................................................................13-62
13.72 debug ssh ...................................................................................................13-63
13.73 debug syscomm ..........................................................................................13-64
13.74 debug sysctrl...............................................................................................13-65
13.75 debug version-mng ......................................................................................13-66
13.76 debug vlan ..................................................................................................13-67
13.77 debug vrrp ..................................................................................................13-68
13.78 show debugging ..........................................................................................13-69
13.79 terminal monitor...........................................................................................13-70
13.80 terminal length.............................................................................................13-70

Chapter 14 Monitor Commands .............................................................. 14-1


14.1 system-monitor endless-loop duration.............................................................. 14-1
14.2 system-monitor endless-loop reboot ................................................................ 14-2
14.3 system-monitor task-suspend-reboot ............................................................... 14-2
14.4 system-monitor watchdog ............................................................................... 14-3
14.5 system-monitor watchdog-duration .................................................................. 14-4
14.6 pon-loopback-auto-check-time ........................................................................ 14-4

Chapter 15 VLAN Commands.................................................................. 15-1


15.1 Global Commands.......................................................................................... 15-1
15.1.1 vlan ..................................................................................................... 15-1
15.1.2 vlan database....................................................................................... 15-2
15.1.3 name ................................................................................................... 15-2
15.1.4 description ........................................................................................... 15-3
15.1.5 multicast-packet ................................................................................... 15-4
15.1.6 vlan (Database Mode) .......................................................................... 15-5
15.1.7 vbas .................................................................................................... 15-5
15.1.8 vlan-statistic ......................................................................................... 15-6
15.1.9 xconnect .............................................................................................. 15-7
15.1.10 vlan-xconnect ..................................................................................... 15-7
15.2 Uplink Port Command at Network Side ............................................................ 15-8
VIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

15.2.1 switchport mode ................................................................................... 15-8


15.2.2 switchport default vlan .......................................................................... 15-9
15.2.3 switchport vlan ....................................................................................15-10
15.2.4 switchport tpid ..................................................................................... 15-11
15.3 Commands at User side.................................................................................15-12
15.3.1 switchport mode ..................................................................................15-12
15.3.2 switchport default vlan .........................................................................15-13
15.3.3 switchport tls ......................................................................................15-13
15.3.4 switchport tls vlan ................................................................................15-14
15.3.5 switchport vlan ....................................................................................15-15
15.4 Service-Port Commands ................................................................................15-16
15.4.1 service-port .........................................................................................15-16
15.4.2 service-port (TLS)................................................................................15-18
15.4.3 service-port description........................................................................15-19
15.5 Smart QinQ Commands.................................................................................15-20
15.5.1 vlan-smart-qinq ...................................................................................15-20
15.5.2 vlan-smart-qinq ingress-port.................................................................15-21
15.6 Layer-2 Communication Commands ...............................................................15-22
15.6.1 security usercommunication control ......................................................15-22
15.6.2 security usercommunication svlan ........................................................15-23
15.7 Show Commands ..........................................................................................15-24
15.7.1 show vlan summary.............................................................................15-24
15.7.2 show vlan ...........................................................................................15-24
15.7.3 show vlan port.....................................................................................15-25
15.7.4 show vlan priority.................................................................................15-26
15.7.5 show vlan protocol...............................................................................15-27
15.7.6 show vlan qinq ....................................................................................15-27
15.7.7 show vlan translate..............................................................................15-28
15.7.8 show vlan-smart-qinq...........................................................................15-29
15.7.9 show interface vlan-statistic detail.........................................................15-30
15.7.10 show security usercommunication-control ...........................................15-30

Chapter 16 SuperVLAN Commands ....................................................... 16-1


16.1 arp-broadcast................................................................................................. 16-1
16.2 interface supervlan ......................................................................................... 16-2
16.3 interface-subvlan-routing................................................................................. 16-3
16.4 ip supervlan pool ............................................................................................ 16-3
16.5 ip-pool-filter .................................................................................................... 16-4
IX
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

16.6 subvlan.......................................................................................................... 16-5


16.7 supervlan....................................................................................................... 16-6
16.8 supervlan inter-subvlan-routing........................................................................ 16-6
16.9 show supervlan .............................................................................................. 16-7
16.10 show supervlan ip-pool ................................................................................. 16-8

Chapter 17 P2P Commands..................................................................... 17-1


17.1 max-mac-learn ............................................................................................... 17-1
17.2 unknowncast-rate-limit .................................................................................... 17-2
17.3 vlan-statistic ................................................................................................... 17-2
17.4 ip-service ip-source-guard .............................................................................. 17-3
17.5 ip-service ip-source-guard sport ...................................................................... 17-3
17.6 ip-service ip-fixed-user.................................................................................... 17-4
17.7 show ip-service user ....................................................................................... 17-5

Chapter 18 GPON and EPON Common Configuration.......................... 18-1


18.1 auto-replace-offline-onu .................................................................................. 18-1
18.2 copy .............................................................................................................. 18-2
18.3 onu-profile...................................................................................................... 18-3
18.4 rogue-onu-detect ............................................................................................ 18-4
18.5 show pon rogue-onu-inf .................................................................................. 18-4
18.6 show pon onu onu-profile ................................................................................ 18-5
18.7 show pon onu-profile ...................................................................................... 18-5
18.8 ONU Type Profile Management ....................................................................... 18-6
18.8.1 onu-type .............................................................................................. 18-6
18.8.2 onu-type-if............................................................................................ 18-8
18.8.3 show onu-type...................................................................................... 18-9
18.8.4 show onu-type-if..................................................................................18-10
18.9 OLT Performance Management...................................................................... 18-11
18.9.1 performance gponolt............................................................................ 18-11
18.9.2 performance gpononu..........................................................................18-12
18.9.3 performance gpon-vport.......................................................................18-13
18.9.4 show performance pon-olt....................................................................18-14
18.9.5 show performance pon-onu..................................................................18-15
18.10 CPE Version Management ...........................................................................18-17
18.10.1 cpe abort...........................................................................................18-17
18.10.2 cpe activate.......................................................................................18-18
18.10.3 cpe commit .......................................................................................18-18
18.10.4 cpe update ........................................................................................18-19
X
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

18.10.5 cpe update-and-reboot.......................................................................18-20


18.10.6 cpe update-commit ............................................................................18-21
18.10.7 cpe update-reonline ...........................................................................18-21
18.10.8 show cpe update-status .....................................................................18-22
18.10.9 show cpe information .........................................................................18-23
18.10.10 show cpe task .................................................................................18-24
18.10.11 show cpe summary-of ......................................................................18-24
18.10.12 cpe task ..........................................................................................18-25
18.10.13 action..............................................................................................18-26
18.10.14 description ......................................................................................18-27
18.10.15 equipment-type................................................................................18-27
18.10.16 match-vertag ...................................................................................18-28
18.10.17 mode ..............................................................................................18-29
18.10.18 parallel-limitation..............................................................................18-30
18.10.19 range ..............................................................................................18-30
18.10.20 service-type.....................................................................................18-31
18.10.21 vendor-name ...................................................................................18-32
18.10.22 version-file ......................................................................................18-32
18.10.23 task add ..........................................................................................18-33
18.10.24 task abort ........................................................................................18-33
18.10.25 task restart .....................................................................................18-34
18.10.26 task delete ......................................................................................18-34
18.11 Optical Module Management ........................................................................18-35
18.11.1 show pon transceiver info ...................................................................18-35
18.11.2 show pon power olt-tx ........................................................................18-36
18.11.3 show pon power olt-rx ........................................................................18-37
18.11.4 show pon power onu-tx ......................................................................18-37
18.11.5 show pon power onu-rx ......................................................................18-38
18.11.6 show pon power attenuation ...............................................................18-39
18.11.7 show pon transceiver-threshold ..........................................................18-40
18.11.8 transceiver-threshold..........................................................................18-40
18.11.9 transceiver detect-period ....................................................................18-41
18.12 ONU In-Band NM Configuration....................................................................18-42
18.12.1 ip-pool ..............................................................................................18-42
18.12.2 ip-pool-bind .......................................................................................18-43
18.12.3 show pon ip-pool ...............................................................................18-44
18.12.4 show pon ip-pool-bind........................................................................18-45
XI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

18.13 PON Protection Commands .........................................................................18-46


18.13.1 protection group ................................................................................18-46
18.13.2 protection prop ..................................................................................18-47
18.13.3 protection switch-command ................................................................18-48
18.13.4 show protection group list...................................................................18-49
18.13.5 show protection group information ......................................................18-49

Chapter 19 EPON Commands ................................................................. 19-1


19.1 EPON Global Commands ............................................................................... 19-1
19.1.1 epon .................................................................................................... 19-1
19.1.2 alarm mask .......................................................................................... 19-2
19.1.3 custom-oam ......................................................................................... 19-2
19.1.4 oam-mac ............................................................................................. 19-3
19.1.5 onu-authentication-mode ...................................................................... 19-4
19.1.6 onu-authentication-mode auth-loid-as-sn ............................................... 19-5
19.1.7 onu-sla-profile ...................................................................................... 19-6
19.1.8 onu-uni-profile ...................................................................................... 19-7
19.1.9 onu-type-profile .................................................................................... 19-7
19.1.10 ems-report ......................................................................................... 19-8
19.1.11 onu-sla-profile profile-name ................................................................. 19-9
19.1.12 onu-sla-profile profile-set....................................................................19-10
19.1.13 dba ................................................................................................... 19-11
19.1.14 encrypt .............................................................................................19-12
19.1.15 hardwarelog ......................................................................................19-13
19.1.16 serial-port attribute-profile ..................................................................19-13
19.1.17 serial-port buffer-profile ......................................................................19-15
19.1.18 serial-port global-profile......................................................................19-15
19.1.19 onu-uni-profile profile-name................................................................19-16
19.1.20 onu-uni-profile profile-set....................................................................19-17
19.1.21 show epon alarm-mask ......................................................................19-18
19.1.22 show epon authentication-mode .........................................................19-19
19.1.23 show epon custom-oam .....................................................................19-19
19.1.24 show epon onu-sla-profile ..................................................................19-20
19.1.25 show epon onu-uni-profile ..................................................................19-21
19.1.26 show epon onu-type-profile ................................................................19-21
19.1.27 show epon dba..................................................................................19-22
19.2 EPON OLT Commands..................................................................................19-23
19.2.1 interface epon-olt.................................................................................19-23
XII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

19.2.2 alarm ..................................................................................................19-24


19.2.3 property ..............................................................................................19-24
19.2.4 fec downstream...................................................................................19-25
19.2.5 high-priority-frame ...............................................................................19-26
19.2.6 linktrap................................................................................................19-26
19.2.7 loopback .............................................................................................19-27
19.2.8 loopback-detection ..............................................................................19-28
19.2.9 maxrtt .................................................................................................19-28
19.2.10 onu ...................................................................................................19-29
19.2.11 optical-module-alarm-profile ...............................................................19-31
19.2.12 performance start ..............................................................................19-31
19.2.13 priority-queue-map ............................................................................19-32
19.2.14 p2p group .........................................................................................19-33
19.2.15 p2p group-name ................................................................................19-34
19.2.16 p2p mode..........................................................................................19-34
19.2.17 reset .................................................................................................19-35
19.2.18 reset counter .....................................................................................19-35
19.2.19 range ................................................................................................19-36
19.2.20 rx-hec ...............................................................................................19-37
19.2.21 vlan-smart-qinq .................................................................................19-37
19.2.22 shutdown ..........................................................................................19-38
19.2.23 show epon priority-queue-map ...........................................................19-39
19.2.24 show olt alarm-info ............................................................................19-39
19.2.25 show olt config ..................................................................................19-40
19.2.26 show olt available-upstream-bandwidth...............................................19-41
19.2.27 show olt dba-cycle .............................................................................19-42
19.2.28 show olt statistics ..............................................................................19-43
19.2.29 show olt mpcp-discovery-window........................................................19-44
19.3 EPON ONU Basic Management Commands ...................................................19-44
19.3.1 interface epon-onu ..............................................................................19-44
19.3.2 activate...............................................................................................19-45
19.3.3 ems-autocfg-request............................................................................19-46
19.3.4 sn.......................................................................................................19-46
19.3.5 deactivate ...........................................................................................19-47
19.3.6 property ..............................................................................................19-48
19.3.7 SLA ....................................................................................................19-48
19.3.8 sla-profile............................................................................................19-49
XIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

19.3.9 mac-bind.............................................................................................19-50
19.3.10 deregister..........................................................................................19-51
19.3.11 fec ....................................................................................................19-51
19.3.12 encrypt .............................................................................................19-52
19.3.13 ip access-group .................................................................................19-53
19.3.14 loid-bind............................................................................................19-53
19.3.15 diagnose ...........................................................................................19-54
19.3.16 mac ..................................................................................................19-55
19.3.17 max-mac-learn ..................................................................................19-55
19.3.18 priority-trans ......................................................................................19-56
19.3.19 performance start ..............................................................................19-57
19.3.20 join-p2p-group ...................................................................................19-57
19.3.21 range ................................................................................................19-58
19.3.22 show onu all-status ............................................................................19-59
19.3.23 show onu authentication ....................................................................19-59
19.3.24 show onu detail-info...........................................................................19-60
19.3.25 show onu sla .....................................................................................19-62
19.3.26 show onu mpcpinfo............................................................................19-62
19.3.27 show onu oam...................................................................................19-63
19.3.28 show onu config-info ..........................................................................19-64
19.3.29 show onu priority-trans.......................................................................19-65
19.3.30 show onu running config ....................................................................19-66
19.4 EPON ONU Remote Management Commands................................................19-67
19.4.1 pon-onu-mng epon-onu .......................................................................19-67
19.4.2 active..................................................................................................19-68
19.4.3 alarm ..................................................................................................19-68
19.4.4 alarm-threshold ...................................................................................19-69
19.4.5 auto-config..........................................................................................19-70
19.4.6 classification condition-profile ...............................................................19-71
19.4.7 classification condition-ipv6-profile........................................................19-72
19.4.8 classification rule-profile.......................................................................19-73
19.4.9 classification port.................................................................................19-74
19.4.10 clear-oam-config................................................................................19-75
19.4.11 compatibility ......................................................................................19-76
19.4.12 config-pvid ........................................................................................19-76
19.4.13 config-vlan ........................................................................................19-77
19.4.14 isolation ............................................................................................19-78
XIV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

19.4.15 dba ...................................................................................................19-78


19.4.16 dba queue-set active .........................................................................19-79
19.4.17 holdover............................................................................................19-80
19.4.18 interface eth ......................................................................................19-80
19.4.19 interface el ........................................................................................19-82
19.4.20 interface voip.....................................................................................19-83
19.4.21 interface-loopdetect ...........................................................................19-84
19.4.22 llid-queue ..........................................................................................19-84
19.4.23 multicast fastleave .............................................................................19-85
19.4.24 mac ..................................................................................................19-86
19.4.25 mac aging-time..................................................................................19-87
19.4.26 mac limit-num....................................................................................19-87
19.4.27 mgmt-ip ............................................................................................19-88
19.4.28 multicast control-type .........................................................................19-90
19.4.29 multicast fastleave .............................................................................19-90
19.4.30 multicast vlan ....................................................................................19-91
19.4.31 multicast vlan tag-strip .......................................................................19-92
19.4.32 multicast switch .................................................................................19-93
19.4.33 multicast group-max-number ..............................................................19-94
19.4.34 reboot ...............................................................................................19-94
19.4.35 register .............................................................................................19-95
19.4.36 region ...............................................................................................19-96
19.4.37 reset uni-statistic ...............................................................................19-96
19.4.38 reset voip-module ..............................................................................19-97
19.4.39 reset-card .........................................................................................19-98
19.4.40 restore factory-settings.......................................................................19-98
19.4.41 restore voip-module ...........................................................................19-99
19.4.42 rms ...................................................................................................19-99
19.4.43 security-mng telnet ..........................................................................19-100
19.4.44 serial-port ip ....................................................................................19-101
19.4.45 serial-port statistic............................................................................19-102
19.4.46 ssid-ctrl ...........................................................................................19-102
19.4.47 svlan-base ......................................................................................19-103
19.4.48 test ipoe..........................................................................................19-104
19.4.49 transceiver ......................................................................................19-105
19.4.50 vlan ................................................................................................19-106
19.4.51 vlan-translate ..................................................................................19-107
XV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

19.4.52 voip 112-test....................................................................................19-108


19.4.53 voip-mng-ip .....................................................................................19-108
19.4.54 voip call-test ....................................................................................19-109
19.4.55 voip cid-presenting .......................................................................... 19-110
19.4.56 voip media-ip................................................................................... 19-111
19.4.57 voip mg-domainname ...................................................................... 19-112
19.4.58 voip ping-test................................................................................... 19-112
19.4.59 voip pppoe ...................................................................................... 19-113
19.4.60 voip ip-address................................................................................ 19-114
19.4.61 voip mg........................................................................................... 19-114
19.4.62 voip rtp-tid ....................................................................................... 19-115
19.4.63 voip user-tid .................................................................................... 19-116
19.4.64 voip sip-user.................................................................................... 19-117
19.4.65 voip timer ........................................................................................ 19-117
19.4.66 voip-module fax-profile..................................................................... 19-118
19.4.67 voip-module global-profile ................................................................ 19-119
19.4.68 voip-module protocol-profile ............................................................. 19-119
19.4.69 wan ................................................................................................19-120
19.4.70 wep ................................................................................................19-121
19.4.71 wifi..................................................................................................19-121
19.4.72 show remote epon wan-general-profile..............................................19-122
19.4.73 show remote epon ping-test .............................................................19-123
19.4.74 show remote onu info.......................................................................19-124
19.4.75 show remote onu port info ................................................................19-125
19.4.76 show remote onu port auto-neg ........................................................19-126
19.4.77 show remote onu vlan......................................................................19-127
19.4.78 show remote onu multicast-info ........................................................19-128
19.4.79 show remote onu classification .........................................................19-129
19.4.80 show remote onu classification profile ...............................................19-130
19.4.81 show remote onu dba ......................................................................19-131
19.4.82 show remote onu mac......................................................................19-131
19.4.83 show remote onu mgmt-ip ................................................................19-133
19.4.84 show remote onu fastleave...............................................................19-133
19.4.85 show remote onu auto-config ...........................................................19-134
19.4.86 show remote onu transceiver............................................................19-135
19.4.87 show remote onu vlan-translate ........................................................19-136
19.4.88 show remote onu voip-mng-ip...........................................................19-137
XVI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

19.4.89 show remote onu svlan-base............................................................19-138


19.4.90 show remote onu pppoe-test ............................................................19-138

Chapter 20 GPON Commands................................................................. 20-1


20.1 GPON Global Commands ............................................................................... 20-1
20.1.1 fixed-tcont-bw....................................................................................... 20-1
20.1.2 profile tcont .......................................................................................... 20-2
20.1.3 profile traffic ......................................................................................... 20-3
20.1.4 onu profile dial-plan .............................................................................. 20-4
20.1.5 onu profile dial-plan-table ...................................................................... 20-4
20.1.6 onu profile dscp.................................................................................... 20-5
20.1.7 onu profile ip ........................................................................................ 20-6
20.1.8 onu profile vlan..................................................................................... 20-7
20.1.9 onu profile filter-rule.............................................................................. 20-7
20.1.10 onu profile igmp.................................................................................20-10
20.1.11 onu profile mgc .................................................................................. 20-11
20.1.12 onu profile performance-threshold cesuni............................................20-13
20.1.13 onu profile performance-threshold dot1x .............................................20-14
20.1.14 onu profile performance-threshold ethuni ............................................20-15
20.1.15 onu profile performance-threshold gem ...............................................20-17
20.1.16 onu profile performance-threshold radius ............................................20-17
20.1.17 onu profile performance-threshold switchport ......................................20-18
20.1.18 onu profile performance-threshold vlan ...............................................20-19
20.1.19 onu profile sip....................................................................................20-20
20.1.20 onu profile tdm ..................................................................................20-21
20.1.21 onu profile treat .................................................................................20-23
20.1.22 onu profile voip-accesscode ...............................................................20-26
20.1.23 onu profile voip-appsrv.......................................................................20-27
20.1.24 onu profile voip-ip ..............................................................................20-29
20.1.25 onu profile voip-media........................................................................20-30
20.1.26 onu profile voip-vlan...........................................................................20-32
20.1.27 show gpon profile ..............................................................................20-32
20.1.28 show gpon onu profile dial-plan ..........................................................20-33
20.1.29 show gpon onu profile dial-plan-table ..................................................20-34
20.1.30 show gpon onu profile dscp ................................................................20-35
20.1.31 show gpon onu profile filter-rule ..........................................................20-36
20.1.32 show gpon onu profile igmpi ...............................................................20-36
20.1.33 show gpon onu profile ip ...................................................................20-38
XVII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

20.1.34 show gpon onu profile mgc.................................................................20-38


20.1.35 show gpon onu profile performance-threshold ces ...............................20-40
20.1.36 show gpon onu profile performance-threshold dot1x ............................20-40
20.1.37 show gpon onu profile performance-threshold eth................................20-41
20.1.38 show gpon onu profile performance-threshold gem ..............................20-42
20.1.39 show gpon onu profile performance-threshold radius ...........................20-43
20.1.40 show gpon onu profile performance-threshold switchport .....................20-44
20.1.41 show gpon onu profile performance-threshold vlan-eth.........................20-44
20.1.42 show gpon onu profile sip...................................................................20-45
20.1.43 show gpon onu profile tdm .................................................................20-46
20.1.44 show gpon onu profile treat ................................................................20-47
20.1.45 show gpon onu profile vlan.................................................................20-48
20.1.46 show gpon onu profile voip-accesscode ..............................................20-49
20.1.47 show gpon onu profile voip-appsrv......................................................20-50
20.1.48 show gpon onu profile voip-ip .............................................................20-51
20.1.49 show gpon onu profile voip-media.......................................................20-52
20.1.50 show gpon onu profile voip-vlan..........................................................20-53
20.2 GPON OLT Commands .................................................................................20-54
20.2.1 als ......................................................................................................20-54
20.2.2 auto-learning.......................................................................................20-54
20.2.3 ber-interval..........................................................................................20-55
20.2.4 clear ...................................................................................................20-56
20.2.5 dba period-mode .................................................................................20-56
20.2.6 discover-period ...................................................................................20-57
20.2.7 fec......................................................................................................20-58
20.2.8 linktrap................................................................................................20-58
20.2.9 lock ....................................................................................................20-59
20.2.10 loopback-detection ............................................................................20-60
20.2.11 mld ...................................................................................................20-60
20.2.12 multicast-rate-limit .............................................................................20-61
20.2.13 name ................................................................................................20-62
20.2.14 onu profile .........................................................................................20-62
20.2.15 onu type............................................................................................20-63
20.2.16 onu-action .........................................................................................20-65
20.2.17 onu-sn ..............................................................................................20-65
20.2.18 optical-module-alarm-profile ...............................................................20-66
20.2.19 range-mode ......................................................................................20-66
XVIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

20.2.20 range ................................................................................................20-67


20.2.21 resource-id-assign-mode....................................................................20-68
20.2.22 scb-port ............................................................................................20-69
20.2.23 shutdown ..........................................................................................20-69
20.2.24 traffic-profile (olt) ...............................................................................20-70
20.2.25 vlan-smart-qinq .................................................................................20-70
20.2.26 show gpon fec ...................................................................................20-71
20.2.27 show gpon olt conifg ..........................................................................20-72
20.2.28 show gpon olt performance ................................................................20-73
20.2.29 show gpon olt rang-mode...................................................................20-74
20.2.30 show loop-detection global .................................................................20-74
20.2.31 show pon-loopback-detection .............................................................20-75
20.2.32 show interface optical-module-info ......................................................20-76
20.3 GPON ONU Basic Management Commands...................................................20-77
20.3.1 clear counter pon-vport ........................................................................20-77
20.3.2 action .................................................................................................20-77
20.3.3 bind ip-address ...................................................................................20-78
20.3.4 bind mac-address................................................................................20-79
20.3.5 broadcast-rate-limit..............................................................................20-79
20.3.6 dba.....................................................................................................20-80
20.3.7 description (onu) .................................................................................20-81
20.3.8 dhcp6-option18 ...................................................................................20-81
20.3.9 dhcp-option82 .....................................................................................20-82
20.3.10 encrypt .............................................................................................20-83
20.3.11 fec (onu) ...........................................................................................20-84
20.3.12 gemport ............................................................................................20-84
20.3.13 ip access-group .................................................................................20-86
20.3.14 link-test .............................................................................................20-86
20.3.15 max-mac-learn ..................................................................................20-87
20.3.16 name (onu) .......................................................................................20-88
20.3.17 omcc-encrypt ....................................................................................20-88
20.3.18 omci-bandwidth .................................................................................20-89
20.3.19 performance gemport.........................................................................20-90
20.3.20 performance vport .............................................................................20-90
20.3.21 range (onu) .......................................................................................20-91
20.3.22 registration-method............................................................................20-92
20.3.23 rogue-onu-state .................................................................................20-92
XIX
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

20.3.24 service-port .......................................................................................20-93


20.3.25 state .................................................................................................20-94
20.3.26 sn-bind .............................................................................................20-95
20.3.27 switchport .........................................................................................20-96
20.3.28 traffic-profile ......................................................................................20-97
20.3.29 tcont .................................................................................................20-97
20.3.30 type ..................................................................................................20-98
20.3.31 vport .................................................................................................20-99
20.3.32 vport-map .......................................................................................20-100
20.3.33 vport-mode......................................................................................20-101
20.3.34 show gpon onu detail-info ................................................................20-102
20.3.35 show gpon onu profile treat ..............................................................20-103
20.3.36 show gpon onu gemport...................................................................20-103
20.3.37 show gpon onu baseinfo ..................................................................20-104
20.3.38 show gpon onu state........................................................................20-105
20.3.39 show gpon onu uncfg.......................................................................20-106
20.3.40 show gpon onu tcont........................................................................20-107
20.3.41 show gpon onu vport .......................................................................20-108
20.3.42 show performance gpon-gemport .....................................................20-108
20.3.43 show performance pon-vport ............................................................20-109
20.4 GPON ONU Remote Management Commands ............................................. 20-110
20.4.1 pon-onu-mng .................................................................................... 20-110
20.4.2 auto-shutdown .................................................................................. 20-110
20.4.3 broadcast-limit................................................................................... 20-111
20.4.4 cfm mep ........................................................................................... 20-112
20.4.5 cfm ma ............................................................................................. 20-114
20.4.6 cfm md ............................................................................................. 20-116
20.4.7 dot1p-map ........................................................................................ 20-117
20.4.8 dot1x ................................................................................................ 20-118
20.4.9 dot1x ethuni ......................................................................................20-120
20.4.10 dhcp-ip ...........................................................................................20-120
20.4.11 dhcp-option60..................................................................................20-121
20.4.12 equip-mgmt.....................................................................................20-122
20.4.13 ex-vlan............................................................................................20-123
20.4.14 ex-vlan-table ...................................................................................20-124
20.4.15 flow ................................................................................................20-125
20.4.16 flow mode .......................................................................................20-126
XX
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

20.4.17 firewall ip-filter .................................................................................20-127


20.4.18 firewall mac-filter .............................................................................20-129
20.4.19 firewall mac-filter-table .....................................................................20-129
20.4.20 firewall port-forward .........................................................................20-130
20.4.21 gemport ..........................................................................................20-131
20.4.22 igmp ...............................................................................................20-132
20.4.23 igmp monitor ...................................................................................20-133
20.4.24 interface ces....................................................................................20-134
20.4.25 interface eth ....................................................................................20-135
20.4.26 interface pon ...................................................................................20-136
20.4.27 interface pots ..................................................................................20-138
20.4.28 interface video.................................................................................20-139
20.4.29 interface video-ani ...........................................................................20-140
20.4.30 interface wifi ....................................................................................20-142
20.4.31 ip-host dhcp-enable .........................................................................20-143
20.4.32 ip-host id .........................................................................................20-143
20.4.33 ip-host ip .........................................................................................20-144
20.4.34 ip-host primary-dns ..........................................................................20-145
20.4.35 ip-service-map.................................................................................20-146
20.4.36 lct ...................................................................................................20-146
20.4.37 loopback .........................................................................................20-147
20.4.38 loop-detect ......................................................................................20-147
20.4.39 mac-filter.........................................................................................20-148
20.4.40 me-access ......................................................................................20-149
20.4.41 mgc ................................................................................................20-150
20.4.42 mgc-service ....................................................................................20-151
20.4.43 mgmt-ip ..........................................................................................20-152
20.4.44 mgmt-ip auto-assign ........................................................................20-153
20.4.45 mgmt-ip release...............................................................................20-153
20.4.46 mirror..............................................................................................20-154
20.4.47 multicast vlan ..................................................................................20-155
20.4.48 onu-vlan..........................................................................................20-156
20.4.49 performance....................................................................................20-156
20.4.50 power-shedding...............................................................................20-157
20.4.51 pkt-filter...........................................................................................20-158
20.4.52 pw psn ethernet...............................................................................20-159
20.4.53 pw psn ip ........................................................................................20-160
XXI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

20.4.54 pw optional......................................................................................20-161
20.4.55 pw rtp .............................................................................................20-162
20.4.56 pw tdm............................................................................................20-164
20.4.57 pw delete ........................................................................................20-164
20.4.58 protocol-filter ...................................................................................20-165
20.4.59 proto-proc .......................................................................................20-166
20.4.60 range ..............................................................................................20-167
20.4.61 reboot .............................................................................................20-167
20.4.62 restore ............................................................................................20-168
20.4.63 schedule .........................................................................................20-168
20.4.64 ssid auth wep ..................................................................................20-169
20.4.65 ssid auth wpa ..................................................................................20-170
20.4.66 service ............................................................................................20-171
20.4.67 sntp ................................................................................................20-172
20.4.68 switch .............................................................................................20-173
20.4.69 switchport-bind ................................................................................20-174
20.4.70 switchport .......................................................................................20-175
20.4.71 synctime .........................................................................................20-176
20.4.72 sys-attr ...........................................................................................20-177
20.4.73 security-ctrl .....................................................................................20-177
20.4.74 security-mng ...................................................................................20-178
20.4.75 sip-agent reg-exptime ......................................................................20-179
20.4.76 sip-agent registrar-server .................................................................20-180
20.4.77 sip-agent rereg-starttime ..................................................................20-180
20.4.78 sip-agent proxy-server .....................................................................20-181
20.4.79 sip-agent ss ....................................................................................20-182
20.4.80 sip-agent validate ............................................................................20-183
20.4.81 sip-user...........................................................................................20-184
20.4.82 sip-service ......................................................................................20-185
20.4.83 test .................................................................................................20-186
20.4.84 tr069-mgmt .....................................................................................20-187
20.4.85 up-queue-map.................................................................................20-188
20.4.86 vlan port mode ................................................................................20-189
20.4.87 vlan port vlan...................................................................................20-190
20.4.88 vlan port translate ............................................................................20-191
20.4.89 vlan-filter-mode ...............................................................................20-192
20.4.90 vlan-filter .........................................................................................20-193
XXII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

20.4.91 veip ................................................................................................20-194


20.4.92 voip ................................................................................................20-195
20.4.93 voip-ctp...........................................................................................20-196
20.4.94 voip-ip.............................................................................................20-197
20.4.95 weight.............................................................................................20-197
20.4.96 show mpnat cfg-table.......................................................................20-198
20.4.97 show mpnat trans-table....................................................................20-199
20.4.98 show gpon remote-onu auto-shutdown..............................................20-200
20.4.99 show gpon remote-onu broadcast-limit..............................................20-201
20.4.100 show gpon remote-onu capability....................................................20-202
20.4.101 show gpon remote-onu cfm mep.....................................................20-203
20.4.102 show gpon remote-onu dhcp-ip.......................................................20-204
20.4.103 show gpon remote-onu dhcp-option60 ............................................20-205
20.4.104 show gpon remote-onu dot1p-map..................................................20-205
20.4.105 show gpon remote-onu equip .........................................................20-206
20.4.106 show gpon remote-onu ex-vlan.......................................................20-207
20.4.107 show gpon remote-onu ex-vlan-table ..............................................20-208
20.4.108 show gpon remote-onu flow............................................................20-209
20.4.109 show gpon remote-onu gemport .....................................................20-209
20.4.110 show gpon remote-onu igmp...........................................................20-210
20.4.111 show gpon remote-onu interface ..................................................... 20-211
20.4.112 show gpon remote-onu ip-host........................................................20-212
20.4.113 show gpon remote-onu ip-service-map ............................................20-213
20.4.114 show gpon remote-onu ip route.......................................................20-214
20.4.115 show gpon remote-onu loop-detect .................................................20-215
20.4.116 show gpon remote-onu mac-filter ....................................................20-216
20.4.117 show gpon remote-onu mgc ...........................................................20-216
20.4.118 show gpon remote-onu port-map ....................................................20-217
20.4.119 show gpon remote-onu power-shedding ..........................................20-218
20.4.120 show gpon remote-onu pw .............................................................20-218
20.4.121 show gpon remote-onu pkt-filter......................................................20-219
20.4.122 show gpon remote-onu performance...............................................20-220
20.4.123 show gpon remote-onu sip-agent....................................................20-221
20.4.124 show gpon remote-onu sip-service..................................................20-222
20.4.125 show gpon remote-onu sip-user......................................................20-223
20.4.126 show gpon remote-onu ssid info .....................................................20-224
20.4.127 show gpon remote-onu service .......................................................20-224
XXIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

20.4.128 show gpon remote-onu schedule ....................................................20-225


20.4.129 show gpon remote-onu switch ........................................................20-225
20.4.130 show gpon remote-onu switchport...................................................20-226
20.4.131 show gpon remote-onu test-result ...................................................20-227
20.4.132 show gpon remote-onu test-result ipoe............................................20-228
20.4.133 show gpon remote-onu up-queue-map ............................................20-228
20.4.134 show gpon remote-onu voip ...........................................................20-229
20.4.135 show gpon remote-onu voip-ctp ......................................................20-230
20.4.136 show gpon remote-onu voip-linestatus ............................................20-230
20.4.137 show gpon remote-onu vlan ...........................................................20-231
20.4.138 show gpon remote-onu vlan port.....................................................20-232
20.4.139 show gpon remote-onu vlan translate..............................................20-233
20.4.140 show gpon remote-onu vlan-filter ....................................................20-233
20.4.141 show gpon remote-onu weight ........................................................20-234
20.4.142 show gpon remote-onu tr069-mgmt.................................................20-235

Chapter 21 Multicast Commands............................................................ 21-1


21.1 Layer-3 Multicast Commands .......................................................................... 21-1
21.1.1 accept-register ..................................................................................... 21-1
21.1.2 accept-rp ............................................................................................. 21-2
21.1.3 bsr-candidate ....................................................................................... 21-3
21.1.4 clear ip mroute ..................................................................................... 21-4
21.1.5 clear ip msdp peer ................................................................................ 21-4
21.1.6 ip igmp access-group............................................................................ 21-5
21.1.7 ip igmp immediate-leave ....................................................................... 21-6
21.1.8 ip igmp last-member-query-interval........................................................ 21-7
21.1.9 ip igmp querier-timeout ......................................................................... 21-8
21.1.10 ip igmp query-interval.......................................................................... 21-9
21.1.11 ip igmp query-max-response-time .......................................................21-10
21.1.12 ip igmp static-group ........................................................................... 21-11
21.1.13 ip igmp version .................................................................................. 21-11
21.1.14 ip multicast-routing ............................................................................21-12
21.1.15 ip pim bsr-border ...............................................................................21-13
21.1.16 ip pim dm ..........................................................................................21-13
21.1.17 ip pim dr-priority.................................................................................21-14
21.1.18 ip pim neighbor-filter ..........................................................................21-15
21.1.19 ip pim query-interval ..........................................................................21-16
21.1.20 ip pim sm ..........................................................................................21-17
XXIV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

21.1.21 packet-count .....................................................................................21-18


21.1.22 router pimsm .....................................................................................21-18
21.1.23 rp-candidate ......................................................................................21-19
21.1.24 show ip igmp groups ..........................................................................21-20
21.1.25 show ip igmp interface .......................................................................21-21
21.1.26 show ip igmp packet-count .................................................................21-22
21.1.27 show ip igmp snooping.......................................................................21-23
21.1.28 show ip mforwarding ..........................................................................21-24
21.1.29 show ip mroute..................................................................................21-25
21.1.30 show ip pim bsr .................................................................................21-27
21.1.31 show ip pim rp hash...........................................................................21-28
21.1.32 show ip pim rp mapping .....................................................................21-30
21.1.33 show ip pimsm interface.....................................................................21-31
21.1.34 show ip pimsm mroute .......................................................................21-32
21.1.35 show ip pimsm neighbor ....................................................................21-33
21.1.36 show ip pimsm packet-count ..............................................................21-34
21.1.37 show ip rpf ........................................................................................21-35
21.1.38 spt-threshold .....................................................................................21-36
21.1.39 static-rp.............................................................................................21-37
21.2 IGMP Snooping Global Commands ................................................................21-38
21.2.1 igmp enable ........................................................................................21-38
21.2.2 igmp version-mode ..............................................................................21-39
21.2.3 igmp snooping-aging-time ....................................................................21-40
21.2.4 igmp span-vlan....................................................................................21-40
21.2.5 igmp bandwidth-control........................................................................21-41
21.2.6 igmp log..............................................................................................21-42
21.2.7 igmp robustness..................................................................................21-43
21.2.8 igmp query-interval ..............................................................................21-44
21.2.9 igmp query-max-resp...........................................................................21-44
21.2.10 igmp last-query-interval......................................................................21-45
21.2.11 igmp last-query-count.........................................................................21-46
21.2.12 igmp unsolicited-report-interval ...........................................................21-47
21.2.13 igmp host-tracking .............................................................................21-47
21.2.14 igmp mcm .........................................................................................21-48
21.2.15 igmp non-match-group .......................................................................21-49
21.2.16 igmp statistics clear ...........................................................................21-49
21.2.17 show igmp ........................................................................................21-50
XXV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

21.2.18 show igmp statistics...........................................................................21-51


21.2.19 show igmp mp-statistics .....................................................................21-52
21.2.20 show igmp np-statistics ......................................................................21-54
21.2.21 show igmp pon-statistics ....................................................................21-55
21.3 IGMP Snooping Interface Commands .............................................................21-56
21.3.1 igmp drop ...........................................................................................21-56
21.3.2 igmp enable ........................................................................................21-57
21.3.3 igmp version .......................................................................................21-57
21.3.4 ip igmp version ....................................................................................21-58
21.3.5 igmp fast-leave....................................................................................21-59
21.3.6 igmp max-groups.................................................................................21-60
21.3.7 igmp proxy-ip ......................................................................................21-60
21.3.8 igmp last-query-interval........................................................................21-61
21.3.9 igmp last-query-count ..........................................................................21-62
21.3.10 igmp robustness ................................................................................21-63
21.3.11 igmp query-max-resp .........................................................................21-63
21.3.12 show igmp interface...........................................................................21-64
21.3.13 show igmp interface dynamic-group-list...............................................21-65
21.4 MVLAN Commands.......................................................................................21-66
21.4.1 mvlan-translate ...................................................................................21-66
21.4.2 igmp mvlan .........................................................................................21-67
21.4.3 igmp mvlan cvlan.................................................................................21-67
21.4.4 igmp mvlan enable ..............................................................................21-68
21.4.5 igmp mvlan work-mode........................................................................21-69
21.4.6 igmp mvlan host-ip ..............................................................................21-70
21.4.7 igmp mvlan host-version ......................................................................21-70
21.4.8 igmp mvlan source-port .......................................................................21-71
21.4.9 igmp mvlan receiver-port......................................................................21-72
21.4.10 igmp mvlan max-groups .....................................................................21-73
21.4.11 igmp mvlan group-filter.......................................................................21-73
21.4.12 igmp mvlan group ..............................................................................21-74
21.4.13 igmp mvlan group bandwidth..............................................................21-75
21.4.14 igmp mvlan group static-port ..............................................................21-76
21.4.15 igmp mvlan group prejoin ...................................................................21-77
21.4.16 igmp mvlan group source-address ......................................................21-78
21.4.17 igmp mvlan priority ............................................................................21-78
21.4.18 igmp statistics clear ...........................................................................21-79
XXVI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

21.4.19 mvlan-translate..................................................................................21-80
21.4.20 show igmp interface...........................................................................21-81
21.4.21 show igmp mvlan...............................................................................21-82
21.4.22 show igmp mvlan group .....................................................................21-82
21.4.23 show igmp dynamic-member..............................................................21-83
21.4.24 show igmp static-member ..................................................................21-84
21.4.25 show igmp log ...................................................................................21-85
21.4.26 show igmp statistics...........................................................................21-86
21.4.27 show mvlan-translate .........................................................................21-86
21.5 SCB VLAN Commands..................................................................................21-87
21.5.1 vlan-scb-action vlan-remove.................................................................21-87
21.5.2 vlan-scb-action vlan-translate ...............................................................21-88

Chapter 22 IPTV Commands ................................................................... 22-1


22.1 IPTV Global Commands ................................................................................. 22-1
22.1.1 iptv cac ................................................................................................ 22-1
22.1.2 iptv sms-server..................................................................................... 22-2
22.1.3 iptv highest-priority ............................................................................... 22-2
22.1.4 show iptv control .................................................................................. 22-3
22.2 IPTV Channel Commands............................................................................... 22-4
22.2.1 iptv channel mvlan group name ............................................................. 22-4
22.2.2 iptv channel mvlan group to................................................................... 22-5
22.2.3 iptv channel rename ............................................................................. 22-7
22.2.4 iptv channel view-profile........................................................................ 22-8
22.2.5 iptv channel cdr .................................................................................... 22-9
22.2.6 show iptv channel................................................................................22-10
22.3 Package Commands ..................................................................................... 22-11
22.3.1 iptv package........................................................................................ 22-11
22.3.2 iptv package channel ...........................................................................22-12
22.3.3 iptv package rename ...........................................................................22-13
22.3.4 show iptv package ...............................................................................22-13
22.4 PWR Preview Commands..............................................................................22-14
22.4.1 iptv prw...............................................................................................22-14
22.4.2 iptv prw reset ......................................................................................22-15
22.4.3 iptv prw auto-reset ...............................................................................22-16
22.4.4 iptv prw recognition-time ......................................................................22-16
22.4.5 show iptv prw ......................................................................................22-17
22.5 View-profile Profile Commands.......................................................................22-18
XXVII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

22.5.1 iptv view-profile ...................................................................................22-18


22.5.2 iptv view-profile count ..........................................................................22-18
22.5.3 iptv view-profile duration ......................................................................22-19
22.5.4 iptv view-profile blackout ......................................................................22-20
22.5.5 show iptv view-profile...........................................................................22-21
22.6 CDR Commands ...........................................................................................22-22
22.6.1 iptv cdr................................................................................................22-22
22.6.2 iptv cdr max-records ............................................................................22-22
22.6.3 iptv cdr report ......................................................................................22-23
22.6.4 iptv cdr report-interval ..........................................................................22-24
22.6.5 iptv cdr report-threshold .......................................................................22-25
22.6.6 iptv cdr create-period ...........................................................................22-25
22.6.7 iptv cdr deny-right................................................................................22-26
22.6.8 iptv cdr prw-right..................................................................................22-27
22.6.9 iptv cdr prw-overcount .........................................................................22-28
22.6.10 iptv cdr clear......................................................................................22-28
22.6.11 show iptv cdr .....................................................................................22-29
22.6.12 show iptv cdr content .........................................................................22-30
22.7 Interface Mode Commands ............................................................................22-31
22.7.1 iptv service..........................................................................................22-31
22.7.2 iptv auth-mode ....................................................................................22-32
22.7.3 iptv right-mode ....................................................................................22-33
22.7.4 iptv channel ........................................................................................22-34
22.7.5 iptv cdr................................................................................................22-35
22.7.6 show iptv interface...............................................................................22-35

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah) ................. 23-1


23.1 efm enable..................................................................................................... 23-2
23.2 efm disable .................................................................................................... 23-2
23.3 efm remote-loopback ...................................................................................... 23-3
23.4 efm send-packet............................................................................................. 23-4
23.5 cfm create md ................................................................................................ 23-4
23.6 cfm delete ...................................................................................................... 23-5
23.7 cfm enable ..................................................................................................... 23-6
23.8 cfm md session .............................................................................................. 23-6
23.9 ma create ...................................................................................................... 23-7
23.10 ma delete..................................................................................................... 23-7
23.11 ma session................................................................................................... 23-8
XXVIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

23.12 assign.......................................................................................................... 23-9


23.13 ccm timer-interval ......................................................................................... 23-9
23.14 create mep..................................................................................................23-10
23.15 create mip ................................................................................................... 23-11
23.16 create rmep.................................................................................................23-12
23.17 mep ............................................................................................................23-12
23.18 primary vlan ................................................................................................23-13
23.19 protect ........................................................................................................23-13
23.20 ccm-send ....................................................................................................23-14
23.21 state enable ................................................................................................23-15
23.22 cfm lbm.......................................................................................................23-15
23.23 cfm ltm........................................................................................................23-16
23.24 cfm ltr-read..................................................................................................23-17
23.25 show efm interface ......................................................................................23-18
23.26 show cfm ma...............................................................................................23-19
23.27 show cfm md...............................................................................................23-20
23.28 show cfm mp...............................................................................................23-20
23.29 show cfm status...........................................................................................23-22

Chapter 24 LST Commands..................................................................... 24-1


24.1 lst-group ........................................................................................................ 24-1
24.2 add-port ......................................................................................................... 24-2
24.3 next-hop ........................................................................................................ 24-2
24.4 interval-link-detect .......................................................................................... 24-3
24.5 retry-link-detect .............................................................................................. 24-4
24.6 show lst ......................................................................................................... 24-5
24.7 show lst groupid ............................................................................................. 24-5

Chapter 25 Port Configuration Commands............................................ 25-1


25.1 max-mac-learn ............................................................................................... 25-1
25.2 linktrap........................................................................................................... 25-2
25.3 lock ............................................................................................................... 25-3
25.4 customer-xconnect ......................................................................................... 25-4
25.5 flowcontrol ..................................................................................................... 25-4
25.6 port-protect .................................................................................................... 25-5
25.7 description ..................................................................................................... 25-6
25.8 eth-switch multicast-limit ................................................................................. 25-7
25.9 eth-switch mac-protect.................................................................................... 25-8
25.10 eth-switch vlan-limit ...................................................................................... 25-8
XXIX
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

25.11 optical-module-alarm-profile .......................................................................... 25-9


25.12 ip access-group ...........................................................................................25-10
25.13 show customer-xconnect detail..................................................................... 25-11
25.14 show customer-xconnect summary ...............................................................25-12
25.15 show interface port-status ............................................................................25-12

Chapter 26 Ethernet Interface Configuration Commands .................... 26-1


26.1 byname ......................................................................................................... 26-1
26.2 clear counter .................................................................................................. 26-2
26.3 description ..................................................................................................... 26-3
26.4 duplex ........................................................................................................... 26-4
26.5 flowcontrol ..................................................................................................... 26-5
26.6 hybrid-attribute ............................................................................................... 26-6
26.7 interface ........................................................................................................ 26-6
26.8 monitor session .............................................................................................. 26-8
26.9 monitor session (Port)..................................................................................... 26-9
26.10 multicast .....................................................................................................26-10
26.11 negotiation auto ........................................................................................... 26-11
26.12 shutdown .................................................................................................... 26-11
26.13 speed .........................................................................................................26-12
26.14 port-protect .................................................................................................26-13
26.15 eth-switch broadcast-limit.............................................................................26-14
26.16 eth-switch unknowncast-limit ........................................................................26-15
26.17 eth-switch multicast-limit ..............................................................................26-15
26.18 eth-switch vlan-limit .....................................................................................26-16
26.19 range ..........................................................................................................26-17
26.20 uplink-isolate ...............................................................................................26-17
26.21 show eth-switch...........................................................................................26-18
26.22 show eth-switch vlan-limit.............................................................................26-19
26.23 show interface .............................................................................................26-20
26.24 show ip interface .........................................................................................26-23
26.25 show monitor session ..................................................................................26-24
26.26 show performance eth-if...............................................................................26-25

Chapter 27 MSTP Commands ................................................................. 27-1


27.1 instance ......................................................................................................... 27-1
27.2 name ............................................................................................................. 27-2
27.3 revision.......................................................................................................... 27-3
27.4 spanning-tree ................................................................................................. 27-4
XXX
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

27.5 spanning-tree bpduguard ................................................................................ 27-5


27.6 spanning-tree edged-port ................................................................................ 27-6
27.7 spanning-tree forward-delay............................................................................ 27-7
27.8 spanning-tree guard ....................................................................................... 27-8
27.9 spanning-tree hello-time.................................................................................. 27-9
27.10 spanning-tree linktype................................................................................... 27-9
27.11 spanning-tree max-age ................................................................................27-10
27.12 spanning-tree mcheck.................................................................................. 27-11
27.13 spanning-tree mode.....................................................................................27-12
27.14 spanning-tree mst configuration....................................................................27-12
27.15 spanning-tree mst hmd5-digest ....................................................................27-13
27.16 spanning-tree mst hmd5-key ........................................................................27-14
27.17 spanning-tree mst instance priority ...............................................................27-15
27.18 spanning-tree mst instance (Interface) ..........................................................27-16
27.19 spanning-tree mst instance path-cost............................................................27-17
27.20 spanning-tree mst max-hops ........................................................................27-17
27.21 spanning-tree transparent ............................................................................27-18
27.22 spanning-tree packet-type ............................................................................27-19
27.23 show spanning tree inconsistentports............................................................27-20
27.24 show spanning-tree instance ........................................................................27-21
27.25 show spanning-tree interface........................................................................27-22
27.26 show spanning-tree mst configuration ...........................................................27-23
27.27 show spanning-tree statistics........................................................................27-24
27.28 show spanning-tree transparent....................................................................27-25

Chapter 28 LACP Commands.................................................................. 28-1


28.1 clear lacp ....................................................................................................... 28-1
28.2 interface ........................................................................................................ 28-2
28.3 lacp admin-key ............................................................................................... 28-3
28.4 lacp port-priority ............................................................................................. 28-3
28.5 lacp system-priority......................................................................................... 28-4
28.6 lacp timeout ................................................................................................... 28-5
28.7 linkgroup load-balance.................................................................................... 28-6
28.8 linkgroup........................................................................................................ 28-7
28.9 show lacp ...................................................................................................... 28-7
28.10 smartgroup................................................................................................... 28-9
28.11 smartgroup load-balance..............................................................................28-10
28.12 user-smartgroup load-balance ...................................................................... 28-11
XXXI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

28.13 show user-smartgroup ................................................................................. 28-11


28.14 show linkgroup ............................................................................................28-12

Chapter 29 DHCP Commands ................................................................. 29-1


29.1 DHCP Snooping Commands ........................................................................... 29-1
29.1.1 ip dhcp snooping broadcast-to-unicast ................................................... 29-1
29.1.2 ip dhcp snooping clear .......................................................................... 29-2
29.1.3 ip dhcp snooping enable ....................................................................... 29-2
29.1.4 ip dhcp snooping .................................................................................. 29-3
29.1.5 ip dhcp snooping quota......................................................................... 29-4
29.1.6 ip dhcp snooping trust........................................................................... 29-4
29.1.7 ip dhcp snooping user delete ip ............................................................. 29-5
29.1.8 ip dhcp snooping vlan ........................................................................... 29-6
29.1.9 show ip dhcp snooping configure........................................................... 29-7
29.1.10 show ip dhcp snooping port................................................................. 29-7
29.1.11 show ip dhcp snooping trust ................................................................ 29-8
29.1.12 show ip dhcp snooping vlan ................................................................ 29-9
29.1.13 show ip dhcp snooping port quota.......................................................29-10
29.2 DHCP Layer-3 Commands.............................................................................29-10
29.2.1 ip dhcp enable.....................................................................................29-10
29.2.2 ip dhcp logging on ............................................................................... 29-11
29.2.3 ip dhcp mode ......................................................................................29-12
29.2.4 show ip dhcp configure ........................................................................29-13
29.3 DHCP Relay/Proxy Commands ......................................................................29-14
29.3.1 ip dhcp database .................................................................................29-14
29.3.2 ip dhcp relay server retry......................................................................29-15
29.3.3 ip dhcp relay update arp.......................................................................29-15
29.3.4 ip dhcp proxy client leasetime...............................................................29-16
29.3.5 ip dhcp relay server vclass-id ...............................................................29-17
29.3.6 ip dhcp helper-address ........................................................................29-18
29.3.7 ip dhcp relay agent ..............................................................................29-19
29.3.8 ip dhcp relay server .............................................................................29-20
29.3.9 ip dhcp relay user delete ip ..................................................................29-21
29.3.10 bridge-dhcp-relay ..............................................................................29-21
29.3.11 show ip dhcp relay server vclass-id .....................................................29-22
29.3.12 show ip dhcp proxy client ...................................................................29-23
29.3.13 show bridge-dhcp-relay......................................................................29-23
29.4 DHCP Server Commands ..............................................................................29-24
XXXII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

29.4.1 ip local pool.........................................................................................29-24


29.4.2 ip local pool conflict-ip..........................................................................29-25
29.4.3 ip dhcp server dns ...............................................................................29-25
29.4.4 ip dhcp server leasetime ......................................................................29-26
29.4.5 ip dhcp server update arp ....................................................................29-27
29.4.6 ip dhcp server gateway ........................................................................29-28
29.4.7 peer default ip pool ..............................................................................29-29
29.4.8 show ip dhcp server user .....................................................................29-30

Chapter 30 Port Location Commands .................................................... 30-1


30.1 Port Location Commands................................................................................ 30-1
30.1.1 port location access-node-identifier........................................................ 30-1
30.1.2 port-location hostname ......................................................................... 30-2
30.1.3 port-location rackno frameno ................................................................. 30-2
30.1.4 port-location flexible-syntax add ............................................................ 30-3
30.1.5 port-location flexible-syntax delete ......................................................... 30-5
30.1.6 port-location format............................................................................... 30-5
30.1.7 port-location sub-option remote-id ......................................................... 30-6
30.1.8 port-location sub-option remote-id name ................................................ 30-7
30.1.9 show port-location global ...................................................................... 30-8
30.1.10 show port-location port........................................................................ 30-8
30.1.11 show port-location flexible-syntax......................................................... 30-9
30.2 DHCP Option82 Commands ..........................................................................30-10
30.2.1 dhcp-option82 .....................................................................................30-10
30.2.2 dhcp-option82 pvc ............................................................................... 30-11
30.2.3 dhcp-option82 trust.............................................................................. 30-11
30.2.4 show dhcp-option82 global...................................................................30-12
30.2.5 show dhcp-option82 port......................................................................30-13
30.3 PPPoE+ Commands......................................................................................30-14
30.3.1 pppoe-plus..........................................................................................30-14
30.3.2 pppoe-plus pvc....................................................................................30-14
30.3.3 show pppoe-plus global .......................................................................30-15
30.3.4 show pppoe-plus port ..........................................................................30-16

Chapter 31 MFF and ARP Anti Snoofing Commands ........................... 31-1


31.1 ip-service mac-forced-forwarding..................................................................... 31-1
31.2 ip-service mac-forced-forwarding vlan.............................................................. 31-2
31.3 ip-servcie arp-anti-spoofing ............................................................................. 31-3
31.4 ip-servcie arp-anti-spoofing vlan ...................................................................... 31-3
XXXIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

31.5 ip-service ip-source-guard............................................................................... 31-4


31.6 show ip-service arp......................................................................................... 31-5
31.7 show ip-service mac-forced-forwarding ............................................................ 31-6
31.8 show ip-service gateway ................................................................................. 31-7
31.9 show ip-service arp-anti-spoofing .................................................................... 31-8
31.10 show ip-service ip-source-guard .................................................................... 31-8

Chapter 32 Control Panel Safety Commands ........................................ 32-1


32.1 anti-dos ......................................................................................................... 32-1
32.2 anti-dos drop.................................................................................................. 32-2
32.3 anti-dos drv-limit............................................................................................. 32-2
32.4 anti-dos blocking-time ..................................................................................... 32-3
32.5 anti-dos limit-num ........................................................................................... 32-4
32.6 antidos........................................................................................................... 32-4
32.7 packet-limit .................................................................................................... 32-5
32.8 show control-panel anti-dos black-table ........................................................... 32-6
32.9 show control-panel packet-limit statistics.......................................................... 32-7
32.10 clear packet-statistics.................................................................................... 32-8

Chapter 33 IPv4 Protocol Commands .................................................... 33-1


33.1 arp to-static .................................................................................................... 33-2
33.2 arp timeout..................................................................................................... 33-2
33.3 clear arp ........................................................................................................ 33-3
33.4 clear arp-cache .............................................................................................. 33-4
33.5 clear ip traffic.................................................................................................. 33-5
33.6 clear tcp connect ............................................................................................ 33-5
33.7 clear tcp line................................................................................................... 33-6
33.8 clear tcp statistics ........................................................................................... 33-7
33.9 clear tcp tcb ................................................................................................... 33-7
33.10 clear tcp tty .................................................................................................. 33-8
33.11 clear tcp vty .................................................................................................. 33-9
33.12 ip route ........................................................................................................ 33-9
33.13 ip address ................................................................................................... 33-11
33.14 ip mtu ......................................................................................................... 33-11
33.15 ip proxy-arp.................................................................................................33-12
33.16 ip redirect....................................................................................................33-13
33.17 ip source-route ............................................................................................33-14
33.18 ip tcp finwait-time.........................................................................................33-14
33.19 ip tcp queuemax ..........................................................................................33-15
XXXIV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

33.20 ip tcp synwait-time .......................................................................................33-16


33.21 ip tcp window-size .......................................................................................33-16
33.22 ip unreachable.............................................................................................33-17
33.23 ping ............................................................................................................33-18
33.24 ping mng.....................................................................................................33-19
33.25 set arp ........................................................................................................33-20
33.26 show arp .....................................................................................................33-21
33.27 show ip forwarding.......................................................................................33-22
33.28 show ip protocol routing ...............................................................................33-24
33.29 show ip protocol routing summary.................................................................33-25
33.30 show ip route...............................................................................................33-25
33.31 show ip traffic ..............................................................................................33-27
33.32 show tcp .....................................................................................................33-29
33.33 show tcp brief ..............................................................................................33-31
33.34 show tcp configure.......................................................................................33-32
33.35 show tcp line ...............................................................................................33-33
33.36 show tcp statistics........................................................................................33-34
33.37 show tcp tcb ................................................................................................33-35
33.38 show tcp tty.................................................................................................33-37
33.39 show tcp vty ................................................................................................33-38
33.40 show vrrp ....................................................................................................33-39
33.41 trace ...........................................................................................................33-41
33.42 vrrp advertise ..............................................................................................33-42
33.43 vrrp authentication .......................................................................................33-43
33.44 vrrp ip .........................................................................................................33-44
33.45 vrrp learn ....................................................................................................33-44
33.46 vrrp preempt................................................................................................33-45
33.47 vrrp priority..................................................................................................33-46

Chapter 34 ACL Commands .................................................................... 34-1


34.1 acl standard ................................................................................................... 34-1
34.2 acl extend ...................................................................................................... 34-2
34.3 acl hybrid ....................................................................................................... 34-3
34.4 acl link ........................................................................................................... 34-3
34.5 name ............................................................................................................. 34-4
34.6 rule (Basic ACL) ............................................................................................. 34-5
34.7 rule (Extended ACL) ....................................................................................... 34-6
34.8 rule (Layer-2 ACL) .......................................................................................... 34-8
XXXV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

34.9 rule (Hybrid ACL)............................................................................................ 34-9


34.10 vlan-mark.................................................................................................... 34-11
34.11 clear traffic-statistics.....................................................................................34-12
34.12 show access-list bound ................................................................................34-13
34.13 show acl .....................................................................................................34-13

Chapter 35 QoS Commands .................................................................... 35-1


35.1 qos dscp-to-dscp-profile.................................................................................. 35-1
35.2 qos dscp-to-drop-profile .................................................................................. 35-2
35.3 qos dscp-to-cos-profile.................................................................................... 35-3
35.4 qos cos-to-cos-profile ..................................................................................... 35-4
35.5 qos queue-block-profile................................................................................... 35-5
35.6 qos queue-map-profile .................................................................................... 35-7
35.7 qos eth-cos-local-map .................................................................................... 35-8
35.8 traffic-profile ................................................................................................... 35-9
35.9 qos trust .......................................................................................................35-10
35.10 qos cos cos-remark ..................................................................................... 35-11
35.11 qos cos dscp-remark....................................................................................35-12
35.12 qos egress-cos cos-remark ..........................................................................35-13
35.13 qos egress-cos dscp-remark ........................................................................35-14
35.14 qos traffic-shape ..........................................................................................35-14
35.15 qos queue-block-profile (interface) ................................................................35-15
35.16 qos queue-map-profile (interface) .................................................................35-16
35.17 qos drop-procedence ...................................................................................35-17
35.18 qos dscp dscp-remark..................................................................................35-18
35.19 traffic-mirror.................................................................................................35-19
35.20 traffic-profile ................................................................................................35-20
35.21 show qos dscp-to-dscp-profile ......................................................................35-21
35.22 show qos dscp-to-drop-profile.......................................................................35-21
35.23 show qos cos-to-cos-profile ..........................................................................35-22
35.24 show qos queue-block-profile .......................................................................35-23
35.25 show qos queue-map-profile ........................................................................35-23
35.26 show qos eth-cos-local-map .........................................................................35-24
35.27 show traffic-profile .......................................................................................35-25
35.28 show traffic-mirror........................................................................................35-25

Chapter 36 MAC Configuration Commands........................................... 36-1


36.1 mac add ........................................................................................................ 36-1
36.2 mac aging-time .............................................................................................. 36-2
XXXVI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

36.3 mac monitor-period......................................................................................... 36-3


36.4 mac pool........................................................................................................ 36-3
36.5 mac usage-threshold ...................................................................................... 36-4
36.6 mac delete ..................................................................................................... 36-5
36.7 security mac-anti-spoofing .............................................................................. 36-6
36.8 security uplink-protected-mac.......................................................................... 36-7
36.9 show security configuration ............................................................................. 36-8
36.10 show security mac-spoofing-list ..................................................................... 36-8
36.11 show security mac-spoofing-log ..................................................................... 36-9
36.12 show mac ...................................................................................................36-10
36.13 show mac aging-time ................................................................................... 36-11
36.14 show mac monitor-info .................................................................................36-12
36.15 show mac pool ............................................................................................36-13
36.16 show mac running .......................................................................................36-14

Chapter 37 IP Address Pool Commands................................................ 37-1


37.1 ip local pool.................................................................................................... 37-1
37.2 ip local pool conflict-ip..................................................................................... 37-2
37.3 clear ip pool conflict-ip .................................................................................... 37-2
37.4 peer default ip pool ......................................................................................... 37-3
37.5 show ip local pool ........................................................................................... 37-4
37.6 show ip local pool conflict-ip ............................................................................ 37-5

Chapter 38 System Log/Statistical Management Commands .............. 38-1


38.1 clear logging alarm ......................................................................................... 38-1
38.2 clear logging command................................................................................... 38-2
38.3 clear logging snmp ......................................................................................... 38-2
38.4 clear processor .............................................................................................. 38-3
38.5 logging buffer ................................................................................................. 38-4
38.6 logging console .............................................................................................. 38-4
38.7 logging level................................................................................................... 38-5
38.8 logging mode ................................................................................................. 38-6
38.9 logging on ...................................................................................................... 38-7
38.10 logging snmplog-save ................................................................................... 38-7
38.11 show snmplogfile .......................................................................................... 38-8
38.12 show cmdlogfile............................................................................................ 38-9
38.13 show logging alarm......................................................................................38-10
38.14 show logging configure ................................................................................ 38-11
38.15 show processor ...........................................................................................38-12
XXXVII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

38.16 unm server..................................................................................................38-13


38.17 write alarmlog..............................................................................................38-14
38.18 write cmdlog................................................................................................38-15
38.19 write snmplog ..............................................................................................38-16

Chapter 39 NTP Configuration Commands............................................ 39-1


39.1 ntp alarm-threshold......................................................................................... 39-1
39.2 ntp poll-interval............................................................................................... 39-2
39.3 ntp enable...................................................................................................... 39-3
39.4 ntp server ...................................................................................................... 39-3
39.5 ntp source...................................................................................................... 39-4
39.6 show ntp status .............................................................................................. 39-5

Chapter 40 Clock Management Commands........................................... 40-1


40.1 clock.............................................................................................................. 40-1
40.2 card-clock ...................................................................................................... 40-2
40.3 source ........................................................................................................... 40-3
40.4 external-input ................................................................................................. 40-4
40.5 external-output ............................................................................................... 40-5
40.6 ptp................................................................................................................. 40-6
40.7 ptp-source...................................................................................................... 40-7
40.8 show clock config ........................................................................................... 40-8
40.9 show clock interface ....................................................................................... 40-9
40.10 show clock source active............................................................................... 40-9
40.11 show clock source alarm ..............................................................................40-10
40.12 show source active ...................................................................................... 40-11
40.13 show source alarm ...................................................................................... 40-11

Chapter 41 TACACS+ Commands .......................................................... 41-1


41.1 tacacs enable................................................................................................. 41-1
41.2 tacacs-client................................................................................................... 41-2
41.3 tacacs-server ................................................................................................. 41-2

Chapter 42 RADIUS Commands.............................................................. 42-1


42.1 algorithm........................................................................................................ 42-1
42.2 deadtime........................................................................................................ 42-2
42.3 max-retries..................................................................................................... 42-3
42.4 radius vendor-identify ..................................................................................... 42-4
42.5 server ............................................................................................................ 42-4
42.6 timeout .......................................................................................................... 42-5
42.7 show radius vendor-identify............................................................................. 42-6
XXXVIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 43 SSH Commands .................................................................... 43-1


43.1 ssh server authentication ispgroup................................................................... 43-1
43.2 ssh server authentication mode ....................................................................... 43-2
43.3 ssh server authentication type ......................................................................... 43-2
43.4 ssh server enable ........................................................................................... 43-3
43.5 ssh server generate-key.................................................................................. 43-4
43.6 ssh server only ............................................................................................... 43-4
43.7 ssh server version .......................................................................................... 43-5
43.8 show ssh ....................................................................................................... 43-6

Chapter 44 PIM Snooping Commands ................................................... 44-1


44.1 ip pim snooping .............................................................................................. 44-1
44.2 pim snooping ................................................................................................. 44-2
44.3 show ip pim snooping all-statistic..................................................................... 44-2
44.4 show ip pim snooping entry ............................................................................. 44-3
44.5 show ip pim snooping neighbor-info ................................................................. 44-4
44.6 show ip pim snooping port-info ........................................................................ 44-5
44.7 show ip pim snooping port-statistic clear interface ............................................ 44-5
44.8 show ip pim snooping port-statistic interface..................................................... 44-6

Chapter 45 RIP Protocol Commands...................................................... 45-1


45.1 router rip ........................................................................................................ 45-2
45.2 auto-summary ................................................................................................ 45-2
45.3 default-metric ................................................................................................. 45-3
45.4 disable interface ............................................................................................. 45-4
45.5 distance ......................................................................................................... 45-5
45.6 enable interface.............................................................................................. 45-5
45.7 flash-update-threshold .................................................................................... 45-6
45.8 ip poison-reverse............................................................................................ 45-7
45.9 ip rip authentication key .................................................................................. 45-8
45.10 ip rip authentication key-chain ....................................................................... 45-9
45.11 ip rip authentication mode ............................................................................45-10
45.12 ip rip interface .............................................................................................45-10
45.13 ip rip neighbor-restrict .................................................................................. 45-11
45.14 ip rip notify default route ...............................................................................45-12
45.15 ip rip only-send-subnet.................................................................................45-13
45.16 ip rip originate default route ..........................................................................45-14
45.17 ip rip receive version ....................................................................................45-15
45.18 ip split-horizon .............................................................................................45-16
XXXIX
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

45.19 maximum-paths...........................................................................................45-17
45.20 neighbor .....................................................................................................45-17
45.21 network.......................................................................................................45-18
45.22 offset-list .....................................................................................................45-19
45.23 output-delay ................................................................................................45-20
45.24 redistribute ..................................................................................................45-21
45.25 show ip rip ..................................................................................................45-22
45.26 show ip rip database ....................................................................................45-23
45.27 show ip rip interface.....................................................................................45-24
45.28 show ip rip networks ....................................................................................45-25
45.29 timers basic.................................................................................................45-25
45.30 validate-update-source.................................................................................45-27
45.31 version........................................................................................................45-27

Chapter 46 OSPF Protocol Commands .................................................. 46-1


46.1 enable ip ospf................................................................................................. 46-2
46.2 router ospf ..................................................................................................... 46-3
46.3 area authentication ......................................................................................... 46-4
46.4 area filter-list .................................................................................................. 46-4
46.5 area nssa....................................................................................................... 46-6
46.6 area range ..................................................................................................... 46-7
46.7 area stub ....................................................................................................... 46-8
46.8 area stub-host ................................................................................................ 46-9
46.9 area virtual-link..............................................................................................46-10
46.10 auto-cost..................................................................................................... 46-11
46.11 capacity opaque ..........................................................................................46-12
46.12 clear ip ospf process ....................................................................................46-13
46.13 clear ip ospf redistribution ............................................................................46-14
46.14 compatible rfc 1583 .....................................................................................46-15
46.15 debug .........................................................................................................46-15
46.16 default-metric ..............................................................................................46-16
46.17 disable area ................................................................................................46-17
46.18 disable interface ..........................................................................................46-18
46.19 disable ip ospf .............................................................................................46-18
46.20 distance ospf...............................................................................................46-19
46.21 enable area.................................................................................................46-20
46.22 enable interface...........................................................................................46-21
46.23 enable ip ospf..............................................................................................46-21
XL
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

46.24 filter ............................................................................................................46-22


46.25 grace-period................................................................................................46-23
46.26 ip ospf authentication ...................................................................................46-24
46.27 ip ospf authentication-key.............................................................................46-24
46.28 ip ospf cost..................................................................................................46-25
46.29 ip ospf dead-interval ....................................................................................46-26
46.30 ip ospf hello-interval.....................................................................................46-27
46.31 ip ospf message-digest-key ..........................................................................46-28
46.32 ip ospf mtu-ignore........................................................................................46-29
46.33 ip ospf network ............................................................................................46-30
46.34 ip ospf priority..............................................................................................46-31
46.35 ip ospf retransmit-interval .............................................................................46-31
46.36 ip ospf transmit-delay...................................................................................46-32
46.37 maximum-paths...........................................................................................46-33
46.38 neighbor .....................................................................................................46-34
46.39 network.......................................................................................................46-35
46.40 no area .......................................................................................................46-36
46.41 notify default route .......................................................................................46-37
46.42 nsf ..............................................................................................................46-38
46.43 passive-interface .........................................................................................46-38
46.44 redistribute ..................................................................................................46-39
46.45 router-id ......................................................................................................46-40
46.46 show ip ospf ................................................................................................46-41
46.47 show ip ospf border-routers ..........................................................................46-45
46.48 show ip ospf database .................................................................................46-46
46.49 show ip ospf interface ..................................................................................46-55
46.50 show ip ospf neighbor ..................................................................................46-57
46.51 show ip ospf nsf...........................................................................................46-58
46.52 show ip ospf request-list...............................................................................46-60
46.53 show ip ospf retransmission-list ....................................................................46-61
46.54 show ip ospf virtual-links ..............................................................................46-62
46.55 summary-address........................................................................................46-63
46.56 timers lsa-group-pacing................................................................................46-64
46.57 timers spf ....................................................................................................46-65

Chapter 47 BGP Protocol Commands .................................................... 47-1


47.1 enable ip bgp ................................................................................................. 47-2
47.2 router bgp ...................................................................................................... 47-3
XLI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

47.3 address-family ipv4 multicast .......................................................................... 47-4


47.4 aggregate-adress ........................................................................................... 47-5
47.5 bgp always-compare-med ............................................................................... 47-6
47.6 bgp as ........................................................................................................... 47-7
47.7 bgp client-to-client reflection............................................................................ 47-8
47.8 bgp cluster-id ................................................................................................. 47-9
47.9 bgp confederation identifier ............................................................................47-10
47.10 bgp confederation peers ..............................................................................47-10
47.11 bgp dampening............................................................................................ 47-11
47.12 bgp default ipv4-unicast ...............................................................................47-12
47.13 bgp default local-preference .........................................................................47-13
47.14 bgp default route-targer filter ........................................................................47-14
47.15 bgp fast-external-fallover..............................................................................47-15
47.16 bgp graceful-restart......................................................................................47-16
47.17 bgp router-id................................................................................................47-17
47.18 bgp update-delay.........................................................................................47-17
47.19 clear ip bgp dampening................................................................................47-18
47.20 clear ip bgp flap-statistics .............................................................................47-19
47.21 default-information originate .........................................................................47-20
47.22 default-metric ..............................................................................................47-21
47.23 disable ip bgp ..............................................................................................47-22
47.24 distance bgp................................................................................................47-22
47.25 enable ip bgp ..............................................................................................47-23
47.26 exit-address-family ......................................................................................47-24
47.27 ip as-path access-list ...................................................................................47-25
47.28 ip community-list..........................................................................................47-26
47.29 ip prefix-list..................................................................................................47-27
47.30 maximum-paths...........................................................................................47-28
47.31 neighbor activate .........................................................................................47-29
47.32 neighbor advertisement-interval....................................................................47-30
47.33 neighbor allowas-in......................................................................................47-31
47.34 neighbor default-originate.............................................................................47-32
47.35 neighbor description ....................................................................................47-33
47.36 neighbor ebgp-multihop ...............................................................................47-34
47.37 neighbor maximum-prefix.............................................................................47-35
47.38 neighbor next-hop-self .................................................................................47-36
47.39 neighbor passive .........................................................................................47-37
XLII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

47.40 neighbor password ......................................................................................47-38


47.41 neighbor prefix-list .......................................................................................47-39
47.42 neighbor remote-as......................................................................................47-40
47.43 neighbor remove-private-as..........................................................................47-41
47.44 neighbor route-map .....................................................................................47-42
47.45 neighbor route-reflector-client .......................................................................47-43
47.46 neighbor send-community ............................................................................47-45
47.47 neighbor send-med......................................................................................47-46
47.48 neighbor shut-down .....................................................................................47-46
47.49 neighbor soft-reconfiguration ........................................................................47-47
47.50 neighbor timers ...........................................................................................47-48
47.51 neighbor update-source ...............................................................................47-49
47.52 network.......................................................................................................47-51
47.53 redistribute ..................................................................................................47-51
47.54 reset ip bgp .................................................................................................47-52
47.55 synchronization ...........................................................................................47-53
47.56 show bgp all neighbor ..................................................................................47-54
47.57 show bgp all protocol ...................................................................................47-56
47.58 show bgp all summary .................................................................................47-56
47.59 show bgp ipv4 multicast ...............................................................................47-58
47.60 show bgp ipv4 multicast neighbor .................................................................47-60
47.61 show bgp ipv4 unicast..................................................................................47-62
47.62 show bgp ipv4 unicast dampening dampened-paths ......................................47-65
47.63 show bgp ipv4 unicast dampening flap-statistics ............................................47-65
47.64 show bgp ipv4 unicast neighbor....................................................................47-66
47.65 show bgp ipv4 unicast summary ...................................................................47-69
47.66 show ip as-path-access-list ..........................................................................47-70
47.67 show ip bgp dampened-paths.......................................................................47-71
47.68 show ip bgp flap-statistics ............................................................................47-72
47.69 show ip bgp neighbor...................................................................................47-72
47.70 show ip bgp protocol ....................................................................................47-76
47.71 show ip bgp route ........................................................................................47-76
47.72 show ip bgp summary ..................................................................................47-78
47.73 show ip community-list .................................................................................47-79
47.74 show ip prefix-list .........................................................................................47-80
47.75 timers bgp ...................................................................................................47-81

Chapter 48 IS-IS Protocol Commands.................................................... 48-1


XLIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

48.1 router isis....................................................................................................... 48-1


48.2 address-family................................................................................................ 48-2
48.3 area............................................................................................................... 48-3
48.4 authentication................................................................................................. 48-4
48.5 authentication-type ......................................................................................... 48-4
48.6 default-information originate ............................................................................ 48-6
48.7 disable........................................................................................................... 48-7
48.8 disable-snp-authentication .............................................................................. 48-7
48.9 distance ......................................................................................................... 48-8
48.10 enable ......................................................................................................... 48-9
48.11 enable-snp-authentication ............................................................................. 48-9
48.12 hello padding...............................................................................................48-10
48.13 ignore-lsp-errors .......................................................................................... 48-11
48.14 is-type.........................................................................................................48-12
48.15 lsp-mtu .......................................................................................................48-13
48.16 lsp-refresh-time ...........................................................................................48-13
48.17 max-lsp-lifetime ...........................................................................................48-14
48.18 maximum-paths...........................................................................................48-15
48.19 metric-style .................................................................................................48-16
48.20 redistribute ..................................................................................................48-17
48.21 restart .........................................................................................................48-18
48.22 set-overload-bit ...........................................................................................48-19
48.23 show isis adjacency .....................................................................................48-20
48.24 show isis circuits..........................................................................................48-21
48.25 show isis database ......................................................................................48-22
48.26 show isis nsf................................................................................................48-25
48.27 show isis topology .......................................................................................48-26
48.28 spf-interval ..................................................................................................48-27
48.29 summary-address........................................................................................48-28
48.30 system-id ....................................................................................................48-30

Glossary .......................................................................................................... I

XLIV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

About This Manual


Purpose
The ZXA10 C320 Optical Access Convergence Equipment (ZXA10 C320 for short) is a
2U-height OLT device, which satisfies the market requirement for small-capacity OLTs.
The ZXA10 C320 consists of the switching and control cards, and PON interface cards.
This manual provides the command information on the ZXA10 C320 Optical Access
Convergence Equipment.

Intended Audience
This document is intended for:
l
l
l
l

Installation and debugging engineer


Network monitoring engineer
System maintenance engineer
Data configuration engineer

What Is in This Manual


This manual contains the following chapters:
Chapter

Summary

1, Overview

Describes the command format, the command


usage, the command operation and mode.

2, Basic System Management

Describes the commands related to basic system


management.

3, Hardware Management

Describes the commands related to hardware


management.

4, Fan Management

Describes the commands related to fan


management.

5, Version Management

Describes the commands related to version


management.

6, File System Management

Describes the commands related to file system


management.

7, User Management

Describes the commands related to user


management.

8, SNMP Commands

Describes the commands related to SNMP.

9, FTP Server Commands

Describes the commands related to FTP server.

I
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter

Summary

10, Alarm Management

Describes the commands related to alarm


management.

11, Historical Performance Management

Describes the commands related to historical


performance management.

12, Performance Alarm Profile Management

Describes the commands related to performance


alarm profile management.

13, Debugging Commands

Describes the commands related to debugging.

14, Monitor Commands

Describes the commands related to monitor.

15, VLAN Commands

Describes the commands related to VLAN.

16, SuperVLAN Commands

Describes the commands related to super VLAN.

17, P2P Commands

Describes the commands related to P2P.

18, GPON and EPON Common Configuration

Describes the commands related to GPON and


EPON common configuration.

19, EPON Commands

Describes the commands related to EPON.

20, GPON Commands

Describes the commands related to GPON.

21, Multicast Commands

Describes the commands related to multicast.

22, IPTV Commands

Describes the commands related to IPTV.

23, Ethernet OAM Commands (802.3ag &

Describes the commands related to 802.3ag and

802.3ah)

802.3ah.

24, LST Commands

Describes the commands related to LST.

25, Port Configuration Commands

Describes the commands related to port


configuration.

26, Ethernet Interface Configuration

Describes the commands related to Ethernet

Commands

interface configuration.

27, MSTP Commands

Describes the commands related to MSTP.

28, LACP Commands

Describes the commands related to LACP.

29, DHCP Commands

Describes the commands related to DHCP.

30, Port Location Commands

Describes the commands related to port location.

31, MFF and ARP Anti Spoofing Commands

Describes the commands related to MFF and ARP


anti spoofing.

32, Control Panel Safety Commands

Describes the commands related to control panel


safety.

33, IPV4 Protocol Commands

Describes the commands related to IPV4 protocol.

34, ACL Commands

Describes the commands related to ACL.

35, QoS Commands

Describes the commands related to QoS.


II

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter

Summary

36, MAC Configuration Commands

Describes the commands related to MAC


configuration.

37, IP Address Pool Commands

Describes the commands related to IP address


pool.

38, System Log/Statistical Management

Describes the commands related to system

Commands

log/statistical management.

39, NTP Configuration Commands

Describes the commands related to NTP


configuration.

40, Clock Management Commands

Describes the commands related to clock


management.

41, TACACS+ Commands

Describes the commands related to TACACS+.

42, RADIUS Commands

Describes the commands related to RADIUS.

43, SSH Commands

Describes the commands related to SSH.

44, PIM Snooping Commands

Describes the commands related to PIM Snooping.

45, RIP Protocol Commands

Describes the commands related to RIP protocol.

46, OSPF Protocol Commands

Describes the commands related to OSPF Protocol.

47, BGP Protocol Commands

Describes the commands related to BGP Protocol.

48, IS-IS Protocol Commands

Describes the commands related to IS-IS protocol.

Conventions
This manual uses the following typographical conventions:
Typeface

Meaning

Italics

Variables in commands. It may also refer to other related manuals and documents.

Bold

Menus, menu options, function names, input fields, option button names, check boxes,
drop-down lists, dialog box names, window names, parameters, and commands.

Constant

Text that you type, program codes, filenames, directory names, and function names.

width
[]

Optional parameters.

{}

Mandatory parameters.

Separates individual parameters in a series of parameters.

III
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

IV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 1

Overview
Table of Contents
Command Format ......................................................................................................1-1
Command Usage and Operation ................................................................................1-1
Command Mode.........................................................................................................1-2

1.1 Command Format


The command format is as follows:
command sub_command NNN {param1 n | param2 n1/n2} [param3 n ] [param4 n]
where:
l
l
l
l
l
l

command is the command name.


sub_command is the sub-command name.
NNN indicates that a parameter is directly expressed with a parameter value.
{ } indicates that one of the parameters in it must be specified.
[ ] indicates that the parameter(s) in it is optional.
n1/n2 indicates variables.

Example
l
l

set-memthreshold [rackno rackno] [shelfno shelfno] slotno slotno threshold


igmp {enable | disable}

1.2 Command Usage and Operation


The general command usage and operation is as follows:

Help Commands
l
l
l
l
l
l
l

It is not necessary to input a command completely. Press the Tab key for filling the
whole command.
Press the space + ? key to view the command help information.
Press the key to recall an already issued command.
Telnet session is terminated if it remains idle for six minutes.
Type ? key in any specific mode to view all available commands.
Enter first letter of the command and type ? key to search the required command.
After parameter press spacebar and type ? key to get a brief description of the
parameter values.
1-1

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

System Version
Execute show version-running command to display current system version.

Showing Command History


Execute show history command to view the all the commands executed by the user in a
particular session.

1.3 Command Mode


Table 1-1 lists the ZXA10 C320 command modes.
Table 1-1 Command Mode
Mode

DOS Prompt

Access Mode

Access Command

User mode

ZXAN>

Access to the user


mode after login

Privilege mode

ZXAN#

User mode

enable

Global configuration mode

ZXAN(config)#

Privilege mode

configure terminal

PON configuration mode

ZXAN(config-pon)#

Global configuration

pon

mode
EPON configuration mode

ZXAN(config-epon)#

Global configuration

epon

mode
GPON configuration mode

ZXAN(config-gpon)#

Global configuration

gpon

mode
ONU remote management

ZXAN(pon-onu-

Global configuration

mode

mng)#

mode

Clock configuration mode

ZXAN(config-clock)#

Global configuration

pon-onu-mng

clock

mode
Interface configuration mode

ZXAN(config-if)#

Global configuration

interface

mode
VLAN database configuration

ZXAN(vlan)#

mode
VLAN configuration mode

Global configuration

vlan database

mode
ZXAN(config-vlan)#

Global configuration

vlan

mode
MSTP configuration mode

CES configuration mode

ZXAN(config-mstp)#

ZXAN(config-ces)#

Global configuration

spanning-tree mst

mode

configuration

Global configuration

ces

mode
Router configuration mode

ZXAN(config-

Global configuration

router)#

mode

router

1-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 1 Overview

Mode

DOS Prompt

Access Mode

Access Command

Router address mode

ZXAN(config-router-

Route configuration

address-family

af)#

mode

Standard ACL configuration

ZXAN(config-std-

Global configuration

mode

acl)#

mode

Extended ACL configuration

ZXAN(config-ext-

Global configuration

mode

acl)#

mode

Hybrid ACL configuration

ZXAN(config-hybd-

Global configuration

mode

acl)#

mode

Layer2 ACL configuration

ZXAN(config-link-

Global configuration

mode

acl)#

mode

AAA-TACACS server group

ZXAN(config-sg)#

Global configuration

aaa group-server

mode

tacacs+
control-panel

mode
Control panel configuration

ZXAN(control-

Global configuration

mode

panel)#

mode

acl standard

acl extended

acl hybrid

acl link

1-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

1-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2

Basic System Management


Table of Contents
auto-write ...................................................................................................................2-2
banner incoming.........................................................................................................2-2
clock...........................................................................................................................2-4
clock timezone ...........................................................................................................2-4
clock set .....................................................................................................................2-5
clock summer-time recurring ......................................................................................2-6
clear mpnat trans-table...............................................................................................2-7
configure terminal.......................................................................................................2-7
disable .......................................................................................................................2-8
enable ........................................................................................................................2-9
enable secret ...........................................................................................................2-10
end...........................................................................................................................2-11
env-switch add-device ..............................................................................................2-11
env-switch switch .....................................................................................................2-12
exit ...........................................................................................................................2-13
hostname .................................................................................................................2-14
load-balance ............................................................................................................2-14
multi-user configure..................................................................................................2-15
set-cputhreshold.......................................................................................................2-16
set-memthreshold ....................................................................................................2-17
set-pnp.....................................................................................................................2-18
time-range................................................................................................................2-19
username .................................................................................................................2-20
user password..........................................................................................................2-21
user-suspend ...........................................................................................................2-22
who ..........................................................................................................................2-22
show auto-write ........................................................................................................2-23
show clock ...............................................................................................................2-24
show cputhreshold ...................................................................................................2-25
show load-balance ...................................................................................................2-26
show memthreshold .................................................................................................2-26
show processor ........................................................................................................2-27
show running-config .................................................................................................2-28
show system-group ..................................................................................................2-30
show time-range.......................................................................................................2-30
show username........................................................................................................2-31
show users...............................................................................................................2-32
2-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

show user-suspend ..................................................................................................2-33

2.1 auto-write
Syntax
auto-write {disable | enable | delay delay | hh:mm:ss date}

Purpose
To configure the auto-save function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

To disable this function

enable

To enable this function

delay

Delay time to save

124, unit: h

hh:mm:ss date

Time to save

hh:mm:ss month day year

Mode
ZXAN(config)#

Example
The following example displays how to enable the auto-save function :
ZXAN(config)#auto-write enable

Related Commands
show auto-write

2.2 banner incoming


Syntax
banner incoming line
TEXT
line

Purpose
To configure incoming terminal line banner
2-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

line

End character

Range: 1 character

TEXT

Greeting: text including spaces

Range: 1 255 characters

and end with character

Mode
ZXAN(config)#

Example
The following example displays how to configure incoming terminal line banner:
ZXAN(config)#banner incoming #
Enter TEXT message. End with the character #.
welcome
#
ZXAN(config)

Related Commands
None

Related Information
1. Set an end character, which is one character, such as '#:
banner incoming #

Press the Enter key. Then the system displays the following information:
Enter TEXT message. End with the character '#

2. Type the greeting text. It can include special characters such as spaces and carriage
return (except question mark ?), and ends with #.

Note:
The system considers question mark ? as a help sign. Therefore, all the text parameters
or passwords cannot include question mark ?.

2-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

2.3 clock
Syntax
clock

Purpose
To enter the clock mode

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enter the clock mode:
ZXAN(config)#clock
ZXAN(config-clock)#

Related Commands
None

2.4 clock timezone


Syntax
clock timezone timezone hours [minutes]
no clock timezone

Purpose
To configure the system time zone

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

timezone

Name of the time zone

Range: 1 10 characters

hours

Hours offset from UTC

Range: -12 to 13

minutes

Minutes offset from UTC

Range: 0 59

2-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Mode
ZXAN(config)#

Example
The following example displays how to configure the system time zone:
ZXAN(config)#clock timezone beijing 12
ZXAN(config)#

Related Commands
show clock

2.5 clock set


Syntax
clock set time month day year

Purpose
To configure the system clock

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Current time

hh:mm:ss

month

Month

Range: Jan Dec

day

Day

Range: 1 31

year

Year

Range: 2001 2098

Mode
ZXAN#

Example
The following example displays how to configure the system clock:
ZXAN#clock set 10:12:01 Mar 6 2011
ZXAN#

Related Commands
show clock
2-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

2.6 clock summer-time recurring


Syntax
clock summer-time recurring stname week day month hh:mm:ss week day month hh:mm:ss[ off
set]
no clock summer-time recurring stname week day month hh:mm:ss week day month hh:mm:ss[
offset]

Purpose
To configure the summer time

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

stname

Summer time name

18 characters

week

The former: Set the week from

1,2,3,4,5, lastweek

which the summer time starts.


The latter: Set the week from which
the summer time ends.
day

The former: Set the day from which

Monday to Sunday

the summer time starts.


The latter: Set the day from which
the summer time ends.
month

The former: Set the month from

January to December

which the summer time starts.


The latter: Set the month from which
the summer time ends.
hh:mm:ss

The former: Set the time from which

Standard time format

the summer time starts.


The latter: Set the time from which
the summer time ends.
offset

Time deviation, which means how

1300 in minutes

many minutes will be added on the

Default: 60 minutes

base of standard time

Mode
ZXAN(config)#

Example
The following example shows how to configure the summer time
2-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management


ZXAN(config)#clock summer-time recurring abc 1 wednesday
apr 11:11:11 5 monday oct 11:11:11

Related Commands
show clock
clock set
clock timezone
show running-config

2.7 clear mpnat trans-table


Syntax
clear mpnat trans-table [service-port portno]

Purpose
To clear the transfer table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portno

Service portnumber of telnet

shell

Mode
ZXAN#

Example
The following example displays how to clear the transfer table:
ZXAN# clear mpnat trans-table
ZXAN# clear mpnat trans-table service-port 9999

Related Commands
None

2.8 configure terminal


Syntax
configure terminal
2-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enter the global configuration mode

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enter the global configuration mode:
ZXAN#configure terminal
Enter configuration commands, one per line.
End with CTRL/Z.
ZXAN(config)#

Related Commands
end
exit

2.9 disable
Syntax
disable

Purpose
To return from privilege mode to user mode

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to return from privilege mode to user mode:
ZXAN#disable
ZXAN>

2-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Related Commands
enable
exit

2.10 enable
Syntax
enable

Purpose
To enter privilege mode from user mode

Usage Guidelines
None

Mode
ZXAN>

Example
The following example displays how to enter privilege mode from the user mode:
ZXAN>enable
Password:
ZXAN#

Related Commands
disable

Related Information
The privilege user password is required.

Note:
When it is typed, the password is not displayed on the interface. It is case sensitive. The
default password is zxr10.

2-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

2.11 enable secret


Syntax
enable secret {0 password | 5 password | password}

Purpose
To configure the password for privilege mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

0 password

Sets the unencryted privilege

Range: 3 16 characters

password
5 password

Sets the encrypted privilege

Range: 24 characters

password
password

Sets the default privileged

Range: 3 16 characters

password

Mode
ZXAN(config)#

Example
The following example displays how to configure the password for privilege mode:
ZXAN(config)#enable secret ZXAN
ZXAN(config)#

Related Commands
enable

Related Information
The enable password displayed in show running-config is the encrypted privileged
password, while the password that is used to enter the privileged mode is unencrypted
privileged password.

2-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Note:
Both enable secret 0 password and enable secret password are used to enter an unencrypted
password. Set the encrypted password with the enable secret 5 password command. The
configured password is not encrypted unless the password length is 24 characters.

2.12 end
Syntax
end

Purpose
To return to the privileged mode

Usage Guidelines
None

Mode
Any mode except user mode and privilege mode

Example
The following example displays how to return to the privileged mode:
ZXAN(config)#end
ZXAN#

Related Commands
configure terminal

Related Information
The end command has the same syntax and effects in all the modes except the user mode
and the privilege mode.

2.13 env-switch add-device


Syntax
env-switch add-device devName
no env-switch add-device devName
2-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To create an environment device

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

devName

Name of the device to be added

132 characters

Mode
ZXAN(config)#

Example
The following example shows how to create an environment device:
ZXAN(config)# env-switch add-device iap

Related Commands
show env-device
show running-config

2.14 env-switch switch


Syntax
env-switch switch switcheId { device devName| normal-status status| enable | disable}

Purpose
To enable the environment switch

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

switcheId

Switch ID. Slot 2,7 and 8 in C320

Integral: 18

system support environment


devices.
device devName

Device name

132 characters

normal-status status

Set the normal status of switch

0: Low (Low voltage level)

monitoring

1: High (High voltage level)

2-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Mode
ZXAN(config)#

Example
The following example shows how to associate device iap with switch 2:
ZXAN(config)# env-switch switch 2 device iap

The following example shows how to enable environment alarming on switch 2:


ZXAN(config)# env-switch switch 2 enable

The following example shows how to configure the normal status on switch 1:
ZXAN(config)#env-switch switch 1 normal-status 1

Related Commands
show env-switch
show alarm pool
show running-config

2.15 exit
Syntax
exit

Purpose
To quit the login router or return to the last mode

Usage Guidelines
None

Mode
Any mode

Example
The following example displays how to quit the login router or return to the last mode:
ZXAN(config)#exit
ZXAN#

Related Commands
configure terminal
logout
2-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

login

Related Information
When this command is executed under the exec mode or privilege mode, it means exiting
the login router. While in other modes, it means returning to the last mode.

2.16 hostname
Syntax
hostname hostname
no hostname

Purpose
To configure the host name of the system

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hostname

System host name

Range: 1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the host name of the system:
ZXAN(config)#hostname ZTEPON
ZTEPON(config)#

Related Commands
None

Related Information
This command takes effect immediately after it is executed.

2.17 load-balance
Syntax
load-balance { disable | enable }
2-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Purpose
To configure the load-balance function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

To disable the function

enable

To enable the function

Mode
ZXAN#

Example
The following example displays how to enable the load balance function:
ZXAN#load-balance enable
Confirm to reboot system? [yes/no]:y

Related Commands
show load-balance

2.18 multi-user configure


Syntax
multi-user configure
no multi-user configure

Purpose
To permit multiple users to enter configuration mode

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to permit multiple users to enter configuration mode:
2-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Enter the configuration mode and allow multiple user configurations when there is no
user in the configuration mode:
ZXAN#configure terminal
ZXAN(config)#multi-user configure
%Warning: allow others configure, must avoid conflict.
ZXAN(config)#

Enter the single user configuration mode when there is one user in the configuration
mode:
ZXAN#configure terminal
%Simultaneous configs not allowed. Locked from 168.1.168.168
ZXAN#

If other users have not exited the configuration mode:


ZXAN(config)#no multi-user conf
%Someone has entered the configure mode, cannot set
single-user configure!
ZXAN(config)

Related Commands
configure terminal

Related Information
By default, only one user can enter the global configuration mode. Other users cannot
enter this mode unless multi-user configure command is configured. The no command is
used to configure the single user configuration mode, but it does not succeed unless all
other users have logged out from the configuration mode.

Note:
When executing multi-user configure command, avoid conflict between different users.

2.19 set-cputhreshold
Syntax
set-cputhreshold [rackno rackno] [shelfno shelfno] slotno slotno threshold

Purpose
To configure the CPU threshold alarm value

2-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3

shelfno shelfno

Shelf number

Range: 1 3

slotno slotno

Slot number

Range: 2 22

threshold

Threshold value

Range: 1 100

Mode
ZXAN(config)#

Example
The following example displays how to configure CPU threshold alarm value:
ZZXAN(config)#set-cputhreshold rackno 1 shelfno 1 slotno 8 70
ZXAN(config)#

Related Commands
set-memthreshold
show cputhreshold

2.20 set-memthreshold
Syntax
set-memthreshold [rackno rackno] [shelfno shelfno] slotno slotno threshold

Purpose
To configure memory threshold alarm value

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3

shelfno shelfno

Shelf number

Range: 1 3

slotno slotno

Slot number

Range: 2 22

threshold

Threshold value

Range: 1 100

2-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure memory threshold alarm value:
ZXAN(config)#set-memthreshold rackno 1 shelfno 1 slotno 8 70
ZXAN(config)#

Related Commands
set-cputhreshold
show memthreshold

2.21 set-pnp
Syntax
set-pnp {enable | disable}

Purpose
To enable or disable the plug and play (PnP) for cards

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable PnP

disable

Disable PnP

Mode
ZXAN(config)#

Example
The following example displays how to enable the PnP function for cards:
ZXAN(config)#set-pnp enable

Related Commands
show pnp

2-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

2.22 time-range
Syntax
time-range range-name from hh:mm:ss mm-dd-yyyy [to hh:mm:ss mm-dd-yyyy]
time-range range-name hh:mm:ss to mm-dd-yyyy {dayname}
no time-range range-name

Purpose
To configure the time range

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

range-name

Time range name

Range: 1 16 characters

from

Starting point of the time-range

hh:mm:ss

Starting or ending time

mm-dd-yyyy

Starting or ending month, date

Range: 2001 2099

and year
dayname

Day name

daily, off-day, working-day,


saturday, sunday, monday,
tuesday, wednesday, thursday,
friday

to

End point of the time-range

Mode
ZXAN(config)#

Example
The following example displays how to configure the time range:
ZXAN(config)#time-range test1 from 00:00:00 01-01-2008 to
23:59:59 12-31-2009
ZXAN(config)#time-range test2 00:00:00 to 02:00:00 saturday
ZXAN(config)#

Related Commands
show time-range

2-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
This command can be used to specify a continuous time range or a time range that meet
certain conditions.
The no time-range command is used to delete the configuration.

2.23 username
Syntax
username username password {0 password | 7 password | password} [privilege privilege] [maxsessionsmax-sessions]
no username username

Purpose
To configure the login user name and password

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

username

User name, space not allowed

Range: 1 16 characters

password

Password, space not allowed

Range: 3 16 characters

0 password

Un-encrypted password, space

Range: 3 16 characters

not allowed
7 password

Encrypted user password,

Range: 24 characters

space not allowed


max-sessions max-sessions

Max-sessions number

Range: 1 4

privilege privilege

User privilege

Range: 0 15
Default: 1

Mode
ZXAN(config)#

Example
The following example displays how to configure the login user name and password:
ZXAN(config)#username abc password pass
ZXAN(config)#

Related Commands
show username
2-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Related Information
The user name can include 0123456789abcdefghijklmorqrstuvwxyz_ and the
password can include 0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKL
MNOP QRSTUVWXYZ*-=~!@#$%^ and _+[]{}|;:,./<> \\.

Note:
Both username username password 0 password and username username password password
are used to enter an unencrypted password. Set the encrypted password with the usern
ame username password 7 password command. The configured password is not encrypted
unless the password length is 24 characters.

2.24 user password


Syntax
user password password

Purpose
To modify the user password

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

password

User password, which are

316 printable characters

visible

Mode
ZXAN#

Example
The following example shows how to modify the user password:
ZXAN#user password zte1
ZXAN#

Related Commands
show username

2-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

2.25 user-suspend
Syntax
user-suspend { mode < mode > | retry-time < retry-time > | time < time >}

Purpose
To configure the user suspension mode, as well as the duration and retry times

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

mode

Suspension mode (Based on IP,

user name, IP and user name


or none)
< retry-time >

Retry times. If it is exceeded,

locking occurs.
< time >

Suspension ends afterwards.

Unit: minutes

Mode
ZXAN(config)#

Example
The following example shows how to suspend user if passwords are error in 3 consecutive
times: (this user IP address will be suspended by 30 minutes during which suspension can
not be canceled even with correct password).
ZXAN(config)#user-suspend mode ip
ZXAN(config)#user-suspend time 30
ZXAN(config)#user-suspend retry-times 3

Related Commands
None

2.26 who
Syntax
who

2-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Purpose
To display the list of the current login users

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays the list of the current login users:
ZXAN#who
Line User Host(s) Idle Location
* 66 vty 0 zte idle 00:00:00 136.1.1.9
67 vty 1 zte idle 00:30:10 136.1.1.14
68 vty 2 zte idle 00:10:32 136.1.1.7
69 vty 3 zte idle 00:21:02 136.1.1.22
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Line

User login virtual terminal number

User

User login name

Host

Host login name

Idle

Idle time

Location

Location address of the client

Related Commands
None

2.27 show auto-write


Syntax
show auto-write

Purpose
To show the configuration of the auto-save function
2-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example shows the configuration of the auto-save function:
ZXAN(config)#show auto-write
auto-write enable
auto-write 02:00:00 Oct 1

2012

Related Commands
auto-write

2.28 show clock


Syntax
show clock

Purpose
To display the system clock

Usage Guidelines
None

Mode
Any mode

Example
The following example displays the system clock:
ZXAN(config)#show clock
11:19:35

Mon

Mar 9

2009

beijing

ZXAN(config)#

Related Commands
clock
2-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

2.29 show cputhreshold


Syntax
show cputhreshold [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To display the CPU threshold information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3

shelfno shelfno

Shelf number

Range: 1 3

slotno slotno

Slot number

Range: 2 22

Mode
Any mode except user mode

Example
The following example displays the entries in the CPU threshold information:
ZXAN#show cputhreshold
Rack Shelf Slot CpuThreshold
-----------------------------1

100

100

10

100

11

100

16

100

17

100

20

100

21

100

ZXAN#

Related Commands
set-cputhreshold

2-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

2.30 show load-balance


Syntax
show load-balance

Purpose
To display the load-balance status

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays the load balance status:
ZXAN#show load-balance
load-balance: enable

Related Commands
load-balance

2.31 show memthreshold


Syntax
show memthreshold [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To display the memory threshold configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3

shelfno shelfno

Shelf number

Range: 1 3

slotno slotno

Slot number

Range: 2 22

2-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Mode
Any mode except user mode

Example
The following example displays the entries in the memory threshold:
ZXAN#show memthreshold
Rack Shelf Slot MemThreshold
-----------------------------1

100

100

10

100

11

100

16

100

17

100

20

100

21

100

ZXAN#

Related Commands
set-memthreshold

2.32 show processor


Syntax
show processor [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To display the system processor information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3

shelfno shelfno

Shelf number

Range: 1 3

slotno slotno

Slot number

Range: 2 22

Mode
Any mode except user mode
2-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the system processor information:
ZZXAN#show processor
Rack Shelf

Slot CPU(5s) CPU(1m)

CPU(5m)

PhyMem(MB) Memory

-----------------------------------------------------------1

6%

6%

6%

32

46%

10

24%

24%

24%

254

72%

21

11%

11%

11%

16

45%

ZXAN#

Related Commands
None

2.33 show running-config


Syntax
show running-config [interface interface-name | msan type]
show running-config [ |{begin | exclude | include} line]

Purpose
To display the current configuration information of the system or a specified interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan

2-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Parameter

Description

Value
Interface Range: 1 4094
Xgei_1/3/portno

msan type

MSAN module name

ag, ces, dhcp-option82, epon, gpon,


igmp, iptv, mac, mpnat, port-location,
pppoe-plus, vlan

Output modifiers

begin

Begin with the line

that matches
exclude

Exclude lines that

match
include

Include lines that

match
line

Regular expression

Mode
Any mode except user mode

Example
The following example displays the current configuration information of a specified
interface:
ZXAN(config)#show running-config interface gei_1/3/1
Building configuration...
!
interface gei_1/3/1
hybrid-attribute copper
negotiation auto
flowcontrol disable
port-protect disable
switchport mode hybrid
switchport vlan 30,35,45-46,50 tag
ip dhcp snooping trust
!
end
ZXAN#

Related Commands
None

2-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

2.34 show system-group


Syntax
show system-group

Purpose
To display the system group information

Usage Guidelines
None

Mode
Any mode

Example
The following example displays the system group information:
ZXAN#show system-group
System Description: ZXR10 ROS Version V4.6.02A
ZXR10_5228 Software, Version V2.6.02A.21
Copyright (c) 2000-2008 by ZTE Corporation
Compiled Jan 12 2009, 10:43:55
System ObjectId: .iso.org.dod.internet.private.enterprises.
zte.3.100.18
System StartTime: 2009-2-11 21:17:37
Started before: 7 days, 19 hours, 52 minutes
Contact with: +86-021-68895000
System name: ZXAN
Location: No.889 BiBo Rd. PuDong District, ShangHai, China
This system primarily offers a set of 78 services
ZXAN#

Related Commands
None

2.35 show time-range


Syntax
show time-range [range-name]

2-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Purpose
To display the system time range configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

range-name

Time range name

Range: 1 16 characters

Mode
Any mode except user mode

Example
The following example displays the system time range configuration information:
ZXAN#show time-range
Current time is 07:04:44 01-01-2001 Monday
Time-range: test1
from 00:00:00 01-01-2008 to 23:59:59 12-31-2009
Time-range: test2
00:00:00 to 02:00:00 Saturday
ZXAN#

Related Commands
time-range

2.36 show username


Syntax
show username

Purpose
To display the list of the user names authorized for login and their passwords

Usage Guidelines
None

Mode
Any mode except user mode
2-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the list of the user names authorized for login and their
passwords:
ZXAN#show username
Username

Password

Privilege

Max-sessions

zte

dnXspUMqxfJOgln2Hm7Olw== 15

mmm

xO/VAgy0m50yV/+g+8zArg== 15

Related Commands
username

2.37 show users


Syntax
show users

Purpose
To display the terminal user information

Usage Guidelines
None

Mode
Any mode

Example
The following example displays the terminal user information:
ZXAN(config)#show users
Line User Host(s) Idle Location
* 66 vty 0 zte idle 00:00:00 136.1.1.9
67 vty 1 zte idle 00:05:54 136.1.1.14
68 vty 2 zte idle 00:00:09 136.1.1.7
69 vty 3 zte idle 00:37:16 136.1.1.22
ZXAN(config)#

The following table describes the parameters displayed in the example:


Parameter

Description

Line

User login virtual terminal number

User

User login name


2-32

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 Basic System Management

Parameter

Description

Host

Host login name

Idle

Idle time

Location

Location address of the client

Related Commands
None

2.38 show user-suspend


Syntax
show user-suspend

Purpose
To show the user suspension mode, suspension duration and retry-times

Usage Guidelines
None

Mode
All modes except user mode

Example
The following example shows the user suspension information:
ZXAN#show user-suspend
User suspend config:
---------------------user-suspend mode none

Related Commands
None

2-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

2-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 3

Hardware Management
Table of Contents
add-rack .....................................................................................................................3-1
add-shelf ....................................................................................................................3-2
add-card.....................................................................................................................3-3
add-subcard ...............................................................................................................3-3
del-rack ......................................................................................................................3-4
del-shelf .....................................................................................................................3-5
del-card ......................................................................................................................3-6
del-subcard ................................................................................................................3-6
reboot.........................................................................................................................3-7
reset-card...................................................................................................................3-8
show rack...................................................................................................................3-9
show shelf ..................................................................................................................3-9
swap ........................................................................................................................3-10
show card.................................................................................................................3-11

3.1 add-rack
Syntax
add-rack rackno rackno racktype racktype

Purpose
To add a rack

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

racktype racktype

Rack type

C320Rack, ETSI21, IEC19

Mode
ZXAN(config)#
3-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to add a rack:
ZXAN(config)#add-rack rackno 1 racktype C320Rack
ZXAN(config)#

Related Commands
del-rack

3.2 add-shelf
Syntax
add-shelf [rackno rackno] shelfno shelfno shelftype shelftype [connectid connectid]

Purpose
To add a shelf

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3

shelftype shelftype

Shelf type

C320_SHELF, ETSI_SHELF,
ETSI_SHELF_EX, IEC_SHELF,
IEC_SHELF_EX

connectid connectid

Connection ID

Range: 1 2

Mode
ZXAN(config)#

Example
The following example displays how to add a shelf:
ZXAN(config)#add-shelf rackno 1 shelfno 1 shelftype C320_SHELF
ZXAN(config)#

Related Commands
del-shelf
3-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 3 Hardware Management

3.3 add-card
Syntax
add-card[rackno rackno] [shelfno shelfno] {slotno slotno} {cardtype}

Purpose
To add a card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

slotno slotno

Slot number

Range: 0 22

cardtype

card type

CIGG, CICK, CTBB, CTEUA, CTLA,


CTTB, CTUB, ETGO, ETTD, ETTS,
ETXD, FTGHA, FTGHU, FUFQ,
GDFO, GTGO, GTGQ, GTXD,
GUFQ, GUSQ, HDTT, HUGQ, HUTQ,
PRWG, WTBS, XDTD, XDTS, XUTQ

Mode
ZXAN(config)#

Example
The following example displays how to add a card.
ZXAN(config)#add-card slotno 2 ETGO
ZXAN(config)#

Related Command
del-card

3.4 add-subcard
Syntax
add-subcard [rackno rackno] [shelfno shelfno] slotno slotno subcardno subcardno subcardtype
3-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To add a subcard

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

slotno slotno

Slot number

Range: 2 22

subcardno subcardno

Subcard number

Range: 1 2

subcardtype

Subcard type

MAPP

Mode
ZXAN(config)#

Example
The following example displays how to add a subcard:
ZXAN(config)#add-subcard rackno 1 shelfno 1 slotno 3 subcardno 2 MAPP
ZXAN(config)#

Related Commands
del-subcard

3.5 del-rack
Syntax
del-rack rackno rackno

Purpose
To delete a rack

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3

3-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 3 Hardware Management

Mode
ZXAN(config)#

Example
The following example displays how to delete a rack:
ZXAN(config)#del-rack rackno 1
ZXAN(config)#

Related Commands
add-rack

3.6 del-shelf
Syntax
del-shelf [rackno rackno] shelfno shelfno

Purpose
To delete a shelf

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3

Mode
ZXAN(config)#

Example
The following example displays how to delete a shelf:
ZXAN(config)#del-shelf shelfno 1
ZXAN(config)#

Related Commands
add-shelf

3-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

3.7 del-card
Syntax
del-card [rackno rackno] [shelfno shelfno] slotno slotno

Purpose
To delete a card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

slotno slotno

Slot number

Range: 0 22

Mode
ZXAN(config)#

Example
The following example displays how to delete a card:
ZXAN(config)#del-card slotno 2
ZXAN(config)#

Related Commands
add-card

3.8 del-subcard
Syntax
del-subcard [rackno rackno] [shelfno shelfno] slotno slotno subcardno subcardno

Purpose
To delete a subcard

Usage Guidelines
The following table provides parameter description:
3-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 3 Hardware Management

Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

slotno slotno

Slot number

Range: 2 22

subcardno subcardno

Subcard number

Range: 1 2

Mode
ZXAN(config)#

Example
The following example displays how to delete a subcard:
ZXAN(config)#del-subcard rackno 1 shelfno 1 slotno 3 subcardno 1
ZXAN(config)#

Related Commands
add-subcard

3.9 reboot
Syntax
reboot [rackno rackno] [shelfno shelfno]

Purpose
To reboot the system

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

Mode
ZXAN#
3-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to reboot the system:
ZXAN#reboot
Confirm to reboot? [yes/no]:yes

Related Commands
reset-card

3.10 reset-card
Syntax
reset-card [rackno rackno] [shelfno shelfno] slotno slotno [subinfo subinfo]

Purpose
To reset the card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

slotno slotno

Slot number

Range: 2 22

subinfo subinfo

Subcard number

Range: 0 2

Mode
ZXAN#

Example
The following example displays how to reset the card:
ZXAN#reset-card rackno 1 shelfno 1 slotno 2
Confirm to reset card? [yes/no]:yes
ZXAN#

Related Commands
reboot
3-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 3 Hardware Management

3.11 show rack


Syntax
show rack [rackno rackno]

Purpose
To display the configured rack information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

Mode
Any mode except user mode

Example
The following example displays the configured rack information:
ZXAN#show rack
Rack

RackType

SupShelfNum

CfgShelfNum

------------------------------------------------------------------1

C320Rack

Related Commands
add-rack
del-shelf

3.12 show shelf


Syntax
show shelf [rackno rackno] [shelfno shelfno]

Purpose
To display the configured shelf information

Usage Guidelines
The following table provides parameter description:
3-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

Shelf number

shelfno shelfno

Range: 1 3

Mode
Any mode except user mode

Example
The following example displays the configured shelf information:
ZXAN#show shelf
Rack

Shelf

ShelfType

ConnectId

CleiCode

Serial-Number

------------------------------------------------------------------------------1

C320_SHELF

UnKnowCleiCode

Related Commands
add-shelf
del-shelf

3.13 swap
Syntax
swap [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To swap between active and standby card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

slotno slotno

Slot number

Range: 0 22

Mode
ZXAN#
3-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 3 Hardware Management

Example
The following example displays how to swap between active and standby card:
ZXAN#swap rackno 1 shelfno 1 slotno 3
Confirm to master swap? [yes/no]:yes
Swap execute: RackNo: 1, ShelfNo: 1,SlotfNo: 3

Related Commands
None

3.14 show card


Syntax
show card [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To display the configured card information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

Shelf number

shelfno shelfno

Range: 1 3
Default: 1

Slot number

slotno slotno

Range: 0 22

Mode
Any mode except user mode

Example
The following example displays the configured card information:
ZXAN#show card
Rack Shelf Slot CfgType RealType Port

HardVer SoftVer

Status

-------------------------------------------------------------------------1

GTGO

OFFLINE

ETGO

OFFLINE

SMXA

SMXA

SMXA

110701

V1.2.0

INSERVICE
OFFLINE

3-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
add-card
del-card

3-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 4

Fan Management
Table of Contents
fan control ..................................................................................................................4-1
fan epm ......................................................................................................................4-2
fan high-threshold ......................................................................................................4-3
fan speed ...................................................................................................................4-3
fanboard.....................................................................................................................4-4
fan-board....................................................................................................................4-5
fan-epm-console ........................................................................................................4-6
fan high-temp-protection.............................................................................................4-7
show fan ....................................................................................................................4-8
show fanboard............................................................................................................4-9
show fan-epm-console ...............................................................................................4-9

4.1 fan control


Syntax
fan control {fixed-speed | temp_level temp1 temp2 temp3 temp4}

Purpose
To set fan status (fixed speed status or auto-adjust status according to temperature)

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

fixed-speed

Fixed speed

temp_level temp1 temp2 temp3 temp4

Auto-adjust speed

Temp1

according to temperature

Range: 0 55

from level one to level

Temp2

four

Range: 5 60
Temp3
Range: 10 65
Temp4
Range: 15 70

4-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure the fixed speed of the fan:
ZXAN(config)#fan control temp_level 30 40 50 60

Related Commands
show fan

4.2 fan epm


Syntax
fan epm { enable | disable}

Purpose
To enable/disable control the EPM function and 5100 port

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

enable

EPM enable

disable

EPM disable

In default

Mode
ZXAN(config)#

Example
The following example shows how to enable/disable control EPM function:
ZXAN(config)#fan epm enable
ZXAN(config)#fan epm disable

Related Commands
show fan
show running-config

Related Information
EPM function provides a two-way channel for both NMS and environment monitoring. For C320, NMS sends

4-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 4 Fan Management

4.3 fan high-threshold


Syntax
fan high-threshold temp

Purpose
To configure the fan high temperature threshold value

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

temp

High temperature threshold

Range: 60 80

value

Default: 70

Mode
ZXAN(config)#

Example
The following example displays how to configure the high temperature threshold value:
ZXAN(config)#fan high-threshold 60
ZXAN(config)#

Related Commands
show fan

Related Information
High-temperature inspection interval is 30 seconds. When current temperature is higher
than the threshold, the system takes the following action:
l
l
l

Report to main card that high temperature alarm has occurred.


Main card sends Trap message to SNMP server, to start all fans in full speed.
After running for a certain period, the system inspects the temperature. If it is lower
than the threshold value, it gets back to the previous working mode.

4.4 fan speed


Syntax
fan speed speed level
4-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the fan speed

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

speed level

Fan speed

0: 0
1: 2300
2: 2900
3: 3500
4: 4100
Unit: rpm

Mode
ZXAN(config)#

Example
The following example displays how to configure the fan speed:
ZXAN(config)#fan speed 2
ZXAN(config)#

Related Commands
show fan

Related Information
The system supports 5 speed categories. Each category has fixed value.

4.5 fanboard
Syntax
fanboard fanboard-id shift-speed speed1 speed2 speed3 speed4

Purpose
To configure the fan card speed shift

Usage Guidelines
The following table provides parameter description:
4-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 4 Fan Management

Parameter

Description

Value

fanboard-id

Fan card number

Range: 1 3

speed1

Shift speed 1

Range: 15, 24, 27, 30, 34


Unit: 100 rpm

speed2

Shift speed 2

Range: 24, 27, 30, 34, 37


Unit: 100 rpm

speed3

Shift speed 3

Range: 27, 30, 34, 37, 40


Unit: 100 rpm

speed4

Shift speed 4

Range: 30, 34, 37, 40, 44


Unit: 100 rpm

Mode
ZXAN(config)#

Example
The following example displays how to configure the fan card speed shift:
ZXAN(config)#fanboard 3 shift-speed 24 37 40 44
ZXAN(config)#

Related Commands
show fan

4.6 fan-board
Syntax
fan-board fanboard-id {alarm-beep {disable | enable} | control {fixed-speed | temperature-con
trol} | high-threshold high-threshold | speed speed | temperature-level temperature-level speed
speed}

Purpose
To configure the fan card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

fanboard-id

Fan card number

Range: 1 3

alarm-beep

Fan alarm

4-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

disable

Disable the fan alarm

enable

Enable the fan alarm

control

Fan control type

fixed-speed

Fixed speed

temperature-control

Temperature control

high-threshold high-threshold

High threshold number

Range: 60 80

speed speed

Speed of the fan

Range: 2300, 2900, 3500, 4100


Unit: rpm

temperature-level

Temperature level

Range: 0 70

temperature-level

Mode
ZXAN(config)#

Example
The following example displays how to configure the fan card:
ZXAN(config)#fan-board 1 alarm-beep enable
ZXAN(config)

Related Commands
show fan-board

4.7 fan-epm-console
Syntax
fan-epm-console {epm | fan}

Purpose
To configure the EPM console mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epm

EPM mode

fan

Fan mode

4-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 4 Fan Management

Mode
ZXAN(config)#

Example
The following example displays how to configure the fan EPM console mode:
ZXAN(config)#fan-epm-console epm
ZXAN(config)#

Related Commands
show fan-epm-console

4.8 fan high-temp-protection


Syntax
fan high-temp-protection tempThreshold tempThreshold retime reTime

Purpose
To set high temperature protection for a card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

tempThreshold

High temperature protection threshold

When the card temperature exceeds this


threshold, the card is powered down automatically.
reTime

Card reset time

Mode
ZXAN(config)#

Example
The following example displays how to set high temperature protection for a card:
ZXAN(config)#fan high-temp-protection tempThreshold 58 reTime 45

Related Information
The hard version of the main control card should be later than 0906xx.
4-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

4.9 show fan


Syntax
show fan

Purpose
To display the fan running status

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the fan running status:
ZXAN#show fan
FanControlType

: temperature-control

TemperatureThreshold

: 0

HighTemperatureThreshold

: 70(Celsiur scale)

Environment Temperature

: N/A. (Celsiur scale)

15

30

40 (Celsiur scale)

All fan actual status:

--------------------------------------fan

Actual Status

Actual Speed

--------------------------------------1

on

on

off

on

--------------------------------------ZXAN#

Related Commands
None

4-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 4 Fan Management

4.10 show fanboard


Syntax
show fanboard fanboard

Purpose
To display the fan card information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

fanboard

Fan card number

Range: 1 3

Mode
Any mode except user mode

Example
The following example displays the fan card information:
ZXAN(config)#show fanboard 1
ZXAN(config)#

Related Commands
fanboard

4.11 show fan-epm-console


Syntax
show fan-epm-console

Purpose
To display the fan EPM console mode

Usage Guidelines
None

Mode
Any mode except user mode
4-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the fan EPM console mode:
ZXAN#show fan-epm-console
FanConsoleMode

: fan

ZXAN#

Related Commands
None

4-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 5

Version Management
Table of Contents
download....................................................................................................................5-1
upload ........................................................................................................................5-2
sync-file......................................................................................................................5-3
update-boot................................................................................................................5-4
swapver .....................................................................................................................5-5
patch active................................................................................................................5-6
patch deactive ............................................................................................................5-6
patch load ..................................................................................................................5-7
patch unload ..............................................................................................................5-7
show compound-version.............................................................................................5-8
show version-running .................................................................................................5-9
show version-saved..................................................................................................5-10
show sync-status......................................................................................................5-11

5.1 download
Syntax
download {img | data | cfg | onuver | patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver
| sdisk-patch} file-name [ftp | sftp ]

Purpose
To download file from the host

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

img

Version file

data

Database file

cfg

Configuration file

onuver

Onuver file

patch

Patch file

sdisk-img

SD Card version file

5-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

sdisk-data

SD Card database file

sdisk-cfg

SD Card configuration file

sdisk-onuver

SD Card onuver file

sdisk-patch

SD Card patch file

file-name

File name

Range: 1 32 characters

ftp

File transfer protocol

sftp

Secure file transfer protocol

Mode
ZXAN#

Example
The following example displays how to download file from the host:
ZXAN#download img scgl.mvr
Downloading from host(10.63.198.47)
Transfering file scgl.mvr
........................
file download successfully.
ZXAN#

Related Commands
None

5.2 upload
Syntax
upload {img | data | cfg | onuver |patch| sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver |
sdisk-patch} file-name[ftp | sftp]

Purpose
To upload a specified file to the host

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

img

Version file

5-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 5 Version Management

Parameter

Description

Value

data

Database file

cfg

Configuration file

onuver

Onuver file

patch

Patch file

sdisk-img

SD Card version file

sdisk-data

SD Card database file

sdisk-cfg

SD Card configuration file

sdisk-onuver

SD Card onuver file

sdisk-patch

SD Card patch file

file-name

File name

Range: 1 32 characters

ftp

File transfer protocol

sftp

Secure file transfer protocol

Mode
ZXAN#

Example
The following example displays how to upload a specified file to the host:
ZXAN#upload img scgl.mvr
Uploading file to host(10.63.198.47)
Uploading file scgl.mvr ...
[Successfully]
ZXAN#

Related Commands
None

5.3 sync-file
Syntax
sync-file {img| data| cfg | onuver | patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver |
sdisk-patch} host-file-name

Purpose
To sync files between master and backup cards

5-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

img

Img directory

data

Data directory

cfg

Cfg directory

onuver

Onuver directory

patch

patch directory

sdisk-img

Sdisk-img directory

sdisk-data

Sdisk-data directory

sdisk-cfg

Sdisk-cfg directory

sdisk-onuver

Sdisk-onuver directory

sdisk-patch

sdisk-patch directory

file-name

File name

116 characters

Mode
Privilege mode

Example
The following example shows how to sync the cfg directory:
ZXAN#sync-file cfg

Related Commands
None

Related Information
It is possible to select a directory or a file with command sync-file. Otherwise, all files will
be synchronized. And it is an asynchronous command, it is possible to check sync status
with command show sync-status.

5.4 update-boot
Syntax
update-boot [rackno rackno] [shelfno shelfno] slotno slotno

Purpose
To upload boot version file
5-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 5 Version Management

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Rack number

Range: 1 3
Default: 1

shelfno shelfno

Shelf number

Range: 1 3
Default: 1

slotno slotno

Slot number

Range: 2 22

Mode
ZXAN#

Example
The following example displays how to upload boot version file:
ZXAN#update-boot slotno 3
Confirm to update boot? [yes/no]:yes

Related Commands
None

5.5 swapver
Syntax
swapver

Purpose
To swap between the active and standby version

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to swap between the active and standby version:
ZXAN#swapver
ZXAN#

5-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

5.6 patch active


Syntax
patch active patchname interface

Purpose
To activate a patch

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to activate a patch:
ZXAN#patch active aabb

5.7 patch deactive


Syntax
patch deactive patchname

Purpose
To deactivate a patch

Usage Guidelines
None

Mode
ZXAN#

5-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 5 Version Management

Example
The following example displays how to deactivate a patch:
ZXAN#patch deactive aabb

5.8 patch load


Syntax
patch load patchname

Purpose
To load patch file

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

patchname

Patch file name

Range: 1 32 characters

Mode
ZXAN#

Example
The following example displays how to load patch file:
ZXAN#patch load

patch.123

ZXAN#

Related Commands
patch unload

5.9 patch unload


Syntax
patch unload { all | patchname }

Purpose
To unload patch file

5-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

patchname

Patch file name

Range: 1 32 characters

Mode
ZXAN#

Example
The following example displays how to unload patch file:
ZXAN#patch unload patch.123
ZXAN#

Related Commands
patch load

5.10 show compound-version


Syntax
show compound-version filename

Purpose
To display the compound version filename

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

filename

Version file name

Range: 0 32 characters

Mode
Any mode except user mode

Example
The following example displays the compound version filename:
ZXAN#show compound-version gtgoe.fw
FileName

Format CompoundFlag BuildTime

FileLength

------------------------------------------------------------

5-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 5 Version Management


gtgoe091200. BIN

2012-07-23 05:38:36

194757

2012-07-23 05:38:44

4032334

2012-07-23 05:38:46

195911

xBIN
zx276103.bin BIN
.BIN
gtgoe110300. BIN
xBIN

Related Commands
download

5.11 show version-running


Syntax
show version-running [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To display the running version file information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

rackno rackno

Rack number

Value
Range: 1 3
Default: 1

Shelf number

shelfno shelfno

Range: 1 3
Default: 1

Slot number

slotno slotno

Range: 2 22

Mode
Any mode except user mode

Example
The following example displays the running version file information :
ZXAN#show version-running
PhyLoc

FileType

VerType

VerTag

BuildTime

VerLenth

-------------------------------------------------------------------------------

1/1/3

SMXA

MVR

V1.2.0

2012-08-02 02:18:01 13532334

1/1/3

SMXA

BT

V0.99

2012-04-13 11:22:30 524288

5-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
download

5.12 show version-saved


Syntax
show version-saved {master | slave}

Purpose
To display the version information stored in MP file system

Usage Guidelines
The following table provides parameter description:
Parameter
master

Description

Value

Master card version file

information
Slave card version file

slave

information

Mode
Any mode except user mode

Example
The following example displays the master card version stored in MP file system:
ZXAN#show version-saved master
PhyLoc FileName

VerType VerTag

BuildTime

VerLenth Active

--------------------------------------------------------------------------------

1/1/3

etgo.fw

FW

V1.2.0

2012-07-23 04:18:31 1426000

1/1/3

etgo.mvr

MVR

V1.2.0

2012-08-02 05:22:32 4912241

1/1/3

etgod.bt

BT

V1.2.0

2012-06-14 15:52:36 249604

1/1/3

etgof.bt

BT

V1.2.0

2012-06-14 09:40:13 236728

1/1/3

gtgoe.bt

BT

V1.2.0

2012-06-14 15:52:36 387016

1/1/3

gtgoe.fw

FW

V1.2.0

2012-07-23 05:38:36 4423402

1/1/3

gtgoe.mvr

MVR

V1.2.0

2012-08-02 06:58:59 1864564

1/1/3

pm.fw

FW

V1.2.0

2012-07-23 05:39:05 934

1/1/3

smxa.bt

BT

V1.2.0

2012-06-06 14:08:02 524288

1/1/3

smxa.fw

FW

V1.2.0

2012-07-23 05:39:01 143157

1/1/3

smxa0.mvr

MVR

V1.2.0

2012-08-02 02:18:01 13532334 1

1/1/3

smxa1.mvr

MVR

V1.2.3

2012-04-23 03:06:04 13426250 0

5-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 5 Version Management

Related Commands
None

5.13 show sync-status


Syntax
show sync-status

Purpose
To display the synchronization status between main and backup

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the synchronization status:
ZXAN#show sync-status
ZXAN#

Related Commands
None

5-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

5-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 6

File System Management


Table of Contents
auto-backup condition ................................................................................................6-1
auto-backup period.....................................................................................................6-2
config-filename...........................................................................................................6-3
copy ...........................................................................................................................6-3
delete .........................................................................................................................6-5
dir...............................................................................................................................6-6
file-server ...................................................................................................................6-7
manual-backup...........................................................................................................6-8
write ...........................................................................................................................6-8
write flash...................................................................................................................6-9
write alarmlog...........................................................................................................6-10
show auto-backup condition .....................................................................................6-11
show auto-backup period .........................................................................................6-11
show auto-backup progress......................................................................................6-12
show file-server ........................................................................................................6-13

6.1 auto-backup condition


Syntax
auto-backup condition cfg-changed hold-off-time time1 max-hold-off-time time2
no auto-backup condition cfg-changed

Purpose
To configure the condition for auto-backup function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

cfg-changed

The configuration is changed.

hold-off-time time1

The hold-off time

Range: 1 8760, unit: hour

max-hold-off-time time2

The maximum hold-off time (no

Range: 1 8760, unit: hour

less than the hold-off time)


6-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure the condition for auto-backup function:
ZXAN(config)#auto-backup condition cfg-changed hold-off-time 2 max-hold-off-time 4

Related Commands
show auto-backup condition

6.2 auto-backup period


Syntax
auto-backup period { all | cfg | img | log } time month year interval interval
no auto-backup period

Purpose
To configure the period for auto-backup function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

All files

cfg

Configuration files

img

Version files

log

Log files

time

Time to auto-backup

hh:mm:ss

month

Month

apr, aug, dec, feb, jan, jul, jun,


mar, may, nov, oct, sep

day

Day

Range: 1 31

year

Year

Range: 2001 2098

max-hold-off-time time2

Interval of auto-backup

Range: 1 8760, unit: hour

Mode
ZXAN(config)#

6-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 6 File System Management

Example
The following example displays how to configure the auto-backup period for all files:
ZXAN(config)#auto-backup period all 02:00:00 jan 1 2012 interval 24

Related Commands
show auto-backup period

6.3 config-filename
Syntax
config-filename filename

Purpose
To set the configuration file name for NE startup

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

filename

File name

Mode
ZXAN(config-if)#

Example
The following example displays how to set the configuration file name for NE startup:
ZXAN(config-if)#config-filename startrun.dat

6.4 copy
Syntax
copy {master | slave} {img | data | cfg | onuver| patch | sdisk-img | sdisk-data | sdisk-cfg |
sdisk-onuver} src-file-name {master | slave} {img | data | cfg | onuver | sdisk-img | sdisk-data
| sdisk-cfg | sdisk-onuver| sdisk-patch} dst-file-name

Purpose
To copy files from a source file system to a specified destination file system

6-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

img

Version file

data

Database file

cfg

Configuration file

onuver

ONU version file

patch

Patch file

sdisk-img

SD card version file

sdisk-data

SD card database file

sdisk-cfg

SD card configuration file

sdisk-onuver

SD card ONU version file

sdisk-patch

SD card patch file

master

Master mode

slave

Slave mode

src-file-name

Source file name

Range: 1 32 characters

dst-file-name

Destination file name

Range: 1 32 characters

Mode
ZXAN#

Example
The following example displays how to copy files from a source file system to a specified
destination file system:
ZXAN#copy master cfg startrun.dat slave cfg startrun.bak
Start copying file

file copied successfully.


ZXAN#

Related Commands
None

6-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 6 File System Management

6.5 delete
Syntax
delete {img | data | cfg | onuver| patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver|
sdisk-patch} file-name

Purpose
To delete the files from a specified directory. When the file-name is empty, input *.* or
*.suff.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

img

Version file

data

Database file

cfg

Configuration file

onuver

ONU version file

patch

Patch file

sdisk-img

SD card version file

sdisk-data

SD card database file

sdisk-cfg

SD card configuration file

sdisk-onuver

SD card ONU version file

sdisk-patch

SD card patch file

file-name

File name

Range: 1 32 characters

Mode
ZXAN#

Example
The following example displays how to delete the files in a specified directory:
ZXAN#delete cfg *.*
Start deleting file
deleting startrun.dat..
[Successfully]
deleting startrun.sav
[Successfully]
deleting file startrun.dat on backup board...
[Successfully]

6-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN#

Related Commands
None

6.6 dir
Syntax
dir {img | data | cfg | onuver | patch | sdisk-img | sdisk-data | sdisk-cfg | sdisk-onuver| sdisk
-patch }

Purpose
To display the files in a specified directory or the current directory

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

img

Version file

data

Database file

cfg

Configuration file

onuver

Onuver file

patch

Patch file

sdisk-img

SD card version file

sdisk-data

SD card database file

sdisk-cfg

SD card configuration file

sdisk-onuver

SD card ONU version file

sdisk-patch

SD card patch file

Mode
ZXAN#

Example
The following example displays the files in a specified directory or the current directory:
ZXAN#dir cfg
Directory of /flash/cfg/
attribute

size

date

time

name

-rwx

29657

OCT-18-2011

07:11:34

startrun.dat

-rwx

29061

OCT-17-2011

13:18:04

startrun.sav

6-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 6 File System Management


-rwx

1391

JAN-01-1980

00:00:14

cmdTree.info

Current directory 3 files total


Total disk size: 126664704 bytes (44449792 bytes free)

Related Commands
None

6.7 file-server
Syntax
file-server { auto-backup | manual-backup} { all | cfg | img | log } server-index index ipaddress
ipaddress ftp [ path path ] username username password password

Purpose
To configure the file server

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

auto-backup

Automatic backup

manual-backup

Manual backup

all

All files

cfg

Configuration files

img

Version files

log

Log files

server-index index

File server index

Range: 1 2

ipaddress ipaddress

File server IP address

A.B.C.D

ftp

FTP protocol

path path

File path

1 255 characters

username username

FTP user name

1 32 characters

password password

FTP password

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the file server:
6-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#file-server auto-backup all server-index 1 ipaddress 1.1.1.1
ftp path \c300 user abc password abc

Related Commands
show file-server

6.8 manual-backup
Syntax
manual-backup { all | cfg | img | log}

Purpose
To configure the manual backup function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

All files

cfg

Configuration files

img

Version files

log

Log files

Mode
ZXAN#

Example
The following example displays how to configure the manual backup function for all files:
ZXAN#manual-backup all

Related Commands
auto-backup

6.9 write
Syntax
write [ag | cmdlog | imgfile [master | slave] | snmplog]

6-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 6 File System Management

Purpose
To write the system running configuration to memory

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ag

Write to AG memory

cmdlog

Write command log to file

imgfile

Write version log to file

snmplog

Write SNMP log to file

master

Master mode

slave

Slave mode

Mode
ZXAN#

Example
The following example displays how to write the system running configuration to memory:
ZXAN#write
Building configuration...
..[OK]
ZXAN#

Related Commands
write flash

6.10 write flash


Syntax
write flash

Purpose
To write the system running configuration to the flash

Usage Guidelines
None
6-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to write the system running configuration to the flash:
ZXAN#write flash
Building configuration...
..[OK]
ZXAN#

Related Commands
write

6.11 write alarmlog


Syntax
write alarmlog

Purpose
To write the alarm log into file

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to write the alarm logging into file:
ZXAN#write alarmlog
Building logging file...
..
[ok]
ZXAN#

Related Commands
write
6-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 6 File System Management

Related Information
The alarm buffer saves the alarm level information in the log file. The log file saving location
on flash is flash: data / log.dat.
This command writes the following alarm logs into the file:
l
l
l
l
l
l

MAJOR
MINOR
WARNINGS
INDETERMINATE
CLEARED
NOTIFICATIONS

6.12 show auto-backup condition


Syntax
show auto-backup condition configure

Purpose
To display the configuration of automatic backup condition

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the configuration of automatic backup condition:
ZXAN(config)#show auto-backup condition configure
Cfg-changed

Hold-off-time

Max-hold-off-time

-----------------------------------------------------enable

Related Commands
auto-backup condition

6.13 show auto-backup period


Syntax
show auto-backup period configure
6-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the configuration of automatic backup period

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the configuration of automatic backup period:
ZXAN(config)#show auto-backup period configure
Type

Enable

Start-time

Interval

--------------------------------------------------cfg

enable

2012-01-01 02:00:00

24

log

enable

2012-01-01 02:00:00

24

img

enable

2012-01-01 02:00:00

24

Related Commands
auto-backup period

6.14 show auto-backup progress


Syntax
show auto-backup progress { condition | manual | period }

Purpose
To display the progress of automatic or manual backup

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

condition

Condition triggered auto-backup

manual

Manual backup

period

Periodical auto-backup

Mode
Any mode except ZXAN>
6-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 6 File System Management

Example
The following example displays the process of manual backup:
ZXAN#show auto-backup progress manual
FileType

: cfg

BackupStatus

: Vn module max errno

StartTime

: 2012-03-01 07:11:42

TotalFiles

: 0

SuccessFiles

: 0

CurrFileName

CurrFileProgress : 0

Related Commands
auto-backup condition
auto-backup period
manual-backup

6.15 show file-server


Syntax
show filer-server { auto-backup | manual-backup }

Purpose
To display the file server configuration for automatic backup or manual backup

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

auto-backup

Automatic backup

manual-backup

Manual backup

Mode
Any mode except ZXAN>

Example
The following example displays the file server configuration for auto-backup:
ZXAN(config)#show file-server auto-backup
FileType

: Cfg

ServerIndex : 1
ProtocolType: Ftp

Server-IpAddr: 1.1.1.1

6-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Username

: abc

Password

: ********

Path

: \c300

FileType

: Cfg

ServerIndex : 2
Not configuration

FileType

: Log

ServerIndex : 1
ProtocolType: Ftp
Username

: abc

Password

: ********

Path

: \c300

FileType

: Log

Server-IpAddr: 1.1.1.1

ServerIndex : 2
Not configuration

FileType

: Img

ServerIndex : 1
ProtocolType: Ftp
Username

: abc

Password

: ********

Path

: \c300

FileType

: Img

Server-IpAddr: 1.1.1.1

ServerIndex : 2
Not configuration

Related Commands
file-server

6-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 7

User Management
Table of Contents
line console absolute-timeout .....................................................................................7-1
line console idle-timeout .............................................................................................7-2
line telnet absolute-timeout.........................................................................................7-3
line telnet access-class...............................................................................................7-4
line telnet idle-timeout ................................................................................................7-4
line telnet users ..........................................................................................................7-5
login ...........................................................................................................................7-6
login-authentication-type ............................................................................................7-6
login-authorization-type ..............................................................................................7-7
logout .........................................................................................................................7-8
exit .............................................................................................................................7-8
rlogin ..........................................................................................................................7-9
show history .............................................................................................................7-10
show localuser .........................................................................................................7-10
show monitor session ...............................................................................................7-11
show terminal ...........................................................................................................7-12
telnet ........................................................................................................................7-13
telnet mng ................................................................................................................7-13
telnet ONU ...............................................................................................................7-14

7.1 line console absolute-timeout


Syntax
line console absolute-timeout absolute-timeout
no line console absolute-timeout

Purpose
To configure the total use time of the login serial interface terminal

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

absolute-timeout

Console absolute timeout

Range: 1 10,000 minutes

7-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure the total use time of the login serial
interface terminal:
ZXAN(config)#line console absolute-timeout 30
ZXAN(config)#

Related Commands
line console idle-timeout

Related Information
After this command is executed, the total use time of the console terminal is specified.
After this specified time, the serial interface terminal session is closed.

7.2 line console idle-timeout


Syntax
line console idle-timeout idle-timeout
no line console idle-timeout

Purpose
To configure the idle timeout when there is no input on the login serial interface terminal

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

idle-timeout

Console idle time-out

Range: 1 1000 minutes

Mode
ZXAN(config)#

Example
The following example displays how to configure the idle timeout when there is no input
on the login serial interface terminal:
ZXAN(config)#line console idle-timeout 30
ZXAN(config)#

7-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 7 User Management

Related Commands
line console absolute-timeout

Related Information
After this command is executed, if there is no keyboard input in the specified period, the
serial interface terminal session is closed.

7.3 line telnet absolute-timeout


Syntax
line telnet absolute-timeout absolute-timeout
no line telnet absolute-timeout

Purpose
To configure the Telnet absolute timeout

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

absolute-timeout

Telnet absolute timeout

Range: 1 10,000 minutes

Mode
ZXAN(config)#

Example
The following example displays how to configure the Telnet absolute timeout:
ZXAN(config)#line telnet absolute-timeout 30
ZXAN(config)#

Related Commands
line telnet idle-timeout

Related Information
After this command is executed, the total use time of the Telnet is specified. After this
specified time, the serial interface terminal session is closed.
7-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

7.4 line telnet access-class


Syntax
line telnet access-class access-list-number
no line telnet access-class

Purpose
To filter Telnet connection based on an IP access list

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

access-list-number

Telnet access list number

Range: 1 99

Mode
ZXAN(config)#

Example
The following example displays how to filter Telnet connection based on an IP access list:
ZXAN(config)#line telnet access-class 2
ZXAN(config)#

Related Commands
None

7.5 line telnet idle-timeout


Syntax
line telnet idle-timeout idle-timeout
no line telnet idle-timeout

Purpose
To configure the Telnet idle timeout

Usage Guidelines
The following table provides parameter description:
7-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 7 User Management

Parameter

Description

Value

idle-timeout

Telnet idle timeout

Range: 1 1000 minutes

Mode
ZXAN(config)#

Example
The following example displays how to configure the Telnet idle timeout:
ZXAN(config)#line telnet idle-timeout 30
ZXAN(config)#

Related Commands
line telnet absolute-time

Related CInformation
After this command is executed, if there is no keyboard input in the specified period, the
serial interface terminal session is closed.

7.6 line telnet users


Syntax
line telnet users userid
no line telnet users

Purpose
To configure the Telnet users

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

userid

Telnet user ID

Range: 1 16

Mode
ZXAN(config)#

Example
The following example displays how to configure the Telnet users:
7-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#line telnet users 15
ZXAN(config)#

Related Commands
None

7.7 login
Syntax
login

Purpose
To login to the system

Usage Guidelines
None

Mode
ZXAN>, ZXAN#

Example
The following example displays how to login to the system:
ZXAN#login
Username:admin
Password:
ZXAN#

Related Commands
logout

7.8 login-authentication-type
Syntax
login-authentication-type {local | radius group | tacacs+}

Purpose
To configure login authentication type
7-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 7 User Management

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

local

Local authentication

radius group

Radius server authentication

Range: 1 10

tacacs+

TACACS+ server authentication

Mode
ZXAN(config)#

Example
The following example displays how to configure login authentication type:
ZXAN(config)#login-authentication-type local
ZXAN(config)#

Related Commands
telnet

7.9 login-authorization-type
Syntax
login-authorization-type {local | tacacs+}

Purpose
To configure login authorization type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

local

Local authorization

tacacs+

TACACS+ authorization

Mode
ZXAN(config)#

Example
The following example displays how to configure login authorization type:
7-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#login-authorization-type local
ZXAN(config)#

Related Commands
telnet

7.10 logout
Syntax
logout

Purpose
To logout from the system

Usage Guidelines
None

Mode
ZXAN>, ZXAN#

Example
The following example displays how to logout from the system:
ZXAN#logout

Connection to host lost.

Related Commands
login

7.11 exit
Syntax
exit

Purpose
To quit the login router or return to the last mode
7-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 7 User Management

Usage Guidelines
None

Mode
Any mode

Example
The following example displays how to quit the login router or return to the last mode:
ZXAN(config)#exit
ZXAN#

Related Commands
configure terminal
logout
login

Related Information
When this command is executed under the exec mode or privilege mode, it means exiting
the login router. While in other modes, it means returning to the last mode.

7.12 rlogin
Syntax
rlogin {commander | member member-id}

Purpose
To open a group Telnet connection

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

commander

Command switch

member member-id

Member switch ID

Range: 1 255

Mode
ZXAN#
7-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to open a group Telnet connection:
ZXAN#rlogin commander
ZXAN#

Related Commands
None

7.13 show history


Syntax
show history

Purpose
To display the current session command history

Usage Guidelines
None

Mode
Any mode

Example
The following example displays the current session command history:
ZXAN#show history
who
show ip route
en
ZXAN#

Related Commands
None

7.14 show localuser


Syntax
show localuser [user-id]
7-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 7 User Management

Purpose
To display the local authorized users

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

user-id

User ID

Range: 1 1024

Mode
Any mode except user mode

Example
The following example displays the local authorized users:
ZXAN#show localuser
MaxLocalUsers : 1024
HistoryConfigTotal: 0 CurrentConfigTotal: 0
ZXAN#

Related Commands
None

7.15 show monitor session


Syntax
show monitor session session-number

Purpose
To display the monitor session information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session-number

Session number

Mode
Any mode except user mode
7-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the monitor session information:
ZXAN#show monitor session 1
ZXAN#

Related Commands
None

7.16 show terminal


Syntax
show terminal

Purpose
To display the terminal information

Usage Guidelines
None

Mode
Any mode

Example
The following example displays the terminal information:
ZXAN#show terminal
Line 67, Location: "", Type: "ANSI"
Length: 8 lines, Width: 80 columns
Telnet idle-timeout is: 00:03:00
Telnet absolute-timeout is: 1d00h00m
Baud rate (TX/RX) is 9600/9600
Capabilities: none
Time since activation: 00:01:03
Editing is enabled.
History is enabled, history size is 10.
Telnet access-class is: EMPTY!
ZXAN#

7-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 7 User Management

Related Commands
None

7.17 telnet
Syntax
telnet { ip-address | onu interface-name }

Purpose
To open a Telnet connection

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu interface-name

Interface name

ip-address

Telnet IP address

A.B.C.D

Mode
ZXAN>, ZXAN#

Example
The following example displays how to open a Telnet connection:
ZXAN#telnet 168.1.200.77
ZXAN#

Related Commands
None

7.18 telnet mng


Syntax
telnet mng ip-address

Purpose
To connect to management interface via Telnet

Usage Guidelines
The following table provides parameter description:
7-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

ip-address

IP address

A.B.C.D

Mode
ZXAN>, ZXAN#

Example
The following example displays how to connect to management interface via Telnet:
ZXAN#telnet mng 168.1.200.77
ZXAN#

Related Commands
None

7.19 telnet ONU


Syntax
telnet onu {gpon-onu_shelf/slot/port:onuid | epon-onu_shelf/slot/port:onuid}

Purpose
To manage the ONU remotely on the OLT

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/port:onuid

PON ONU interface name

Mode
ZXAN>
ZXAN#

Example
The following example displays how to manage the ONU remotely on the OLT:
ZXAN#telnet onu gpon-onu_1/2/1:1

7-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8

SNMP Commands
Table of Contents
snmp-server access-list..............................................................................................8-1
snmp-server community .............................................................................................8-2
snmp-server contact...................................................................................................8-3
snmp-server context...................................................................................................8-4
snmp-server enable....................................................................................................8-4
snmp-server engine-id................................................................................................8-5
snmp-server group .....................................................................................................8-6
snmp-server host .......................................................................................................8-7
snmp-server location ..................................................................................................8-9
snmp-server packetsize..............................................................................................8-9
snmp-server trap-source ..........................................................................................8-10
snmp-server user .....................................................................................................8-11
snmp-server view .....................................................................................................8-12
show snmp...............................................................................................................8-13
show snmplogfile......................................................................................................8-14
show snmplogfile end-time .......................................................................................8-15
show snmplogfile ipaddress......................................................................................8-16
show snmplogfile start-time ......................................................................................8-16
show snmplogfile summary ......................................................................................8-17
show snmp config ....................................................................................................8-18
show snmp engine-id ...............................................................................................8-19
show snmp group .....................................................................................................8-19
show snmp user .......................................................................................................8-20

8.1 snmp-server access-list


Syntax
snmp-server access-list acl
no snmp-server access-list

Purpose
To apply the configured ACL to control the host address which accesses the system over
the SNMP

8-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

acl

Access list number or name

Range: 1 31 characters

Mode
ZXAN(config)#

Example
The following example displays how to apply the configured ACL to control the host
address which accesses the system over the SNMP:
ZXAN(config)#snmp-server access-list 1
ZXAN(config)#

Related Commands
None

8.2 snmp-server community


Syntax
snmp-server community community-name [view view-name] [ro | rw]
no snmp-server community community-name

Purpose
To configure the SNMP message community

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

community-name

Community name

Range: 1 32 characters

view view-name

SNMP view name

Range: 1 32 characters

ro

Read-only access

rw

Read-write access

Mode
ZXAN(config)#
8-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Example
The following example displays how to configure the SNMP message community:
ZXAN(config)#snmp-server community myCommunity view myview rw
ZXAN(config)#

Related Commands
snmp-server view

Related Information
community-name refers to a string of characters and view-name refers to a MIB view name.
By default, the keyword view shows the system configuration for community view of
1.3.6.1.2.1.1. Default privilege is read-only.

8.3 snmp-server contact


Syntax
snmp-server contact line
no snmp-server contact

Purpose
To configure the contact mode of the MIB object system

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

line

System contact information

Range: 1 200 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the contact mode of the MIB object
system:
ZXAN(config)#snmp-server contact this is 5200,tel:(021)68895000
ZXAN(config)#

Related Commands
None
8-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

8.4 snmp-server context


Syntax
snmp-server context context-name
no snmp-server context context-name

Purpose
To define SNMP server context name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

context-name

SNMPv3 context name

Range: 1 30 characters

Mode
ZXAN(config)#

Example
The following example displays how to define the SNMP server context name:
ZXAN(config)#snmp-server context contextA
ZXAN(config)#

Related Commands
None

8.5 snmp-server enable


Syntax
snmp-server enable {inform | trap} [notification-type]
no snmp-server enable {inform | trap} [notification-type]

Purpose
To allow the sending of a notification by the agent and configure the notification and trap
type sent by the agent

Usage Guidelines
The following table provides parameter description:
8-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Parameter

Description

Value

inform

Alarm type inform

trap

Alarm type trap

notification-type

Notification type

bgp, ospf, rmon, snmp, stalarm,


vpn

Mode
ZXAN(version)#

Example
The following example displays how to allow the sending of a notification by the agent and
configure the notification and trap type sent by the agent:
ZXAN(config)#snmp-server enable inform
ZXAN(config)#

Related Commands
snmp-server host

Related Information
By default, all information including alarm and notification is reported.

8.6 snmp-server engine-id


Syntax
snmp-server engine-id engine-id
no snmp-server engine-id

Purpose
To configure the a local SNMP engine ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

engine-id

Engine ID octet string (hex)

Range: 1 24 characters

Mode
ZXAN(config)#
8-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure a local SNMP engine ID:
ZXAN(config)#snmp-server engine-id 12345667890
ZXAN(config)#

Related Commands
show snmp engine-id

8.7 snmp-server group


Syntax
snmp-server group groupname v3 {auth | noauth | priv} [context context-name {match-exact |
match-prefix}] [notify notifyview] [read readview] [write writeview]
no snmp-server group groupname v3 {auth | noauth | priv} [context context-name {match-exact
| match-prefix}]

Purpose
To configure the new SNMP group and assigns security levels and permissions

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

groupname

Group name

Range: 1 32 characters

v3

Group using the user security

model (SNMPv3)
auth

Group using authentication of

packets without encrypting


noauth

Removes authentication of a

packet
priv

Group using SNMPv3

authentication of packets
and scrambles it
context context-name

SNMPv3 context name

Range: 1 30 characters

match-exact

Match context name

match-prefix

Match context name prefix

read readview

Read view for the group

Range: 1 32 characters

8-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Parameter

Description

Value

write writeview

Write view for the group to enter

Range: 1 32 characters

data and configure contents of


the agent
notify notifyview

Notify view for the group which

Range: 1 32 characters

enables users to specify a notify,


an inform or a trap

Mode
ZXAN(config)#

Example
The following example displays how to configure the new SNMP group and assigns
security levels and permissions:
ZXAN(config)#snmp-server group group1 v3 priv read view1
write view1 notify view1
ZXAN(config)#

Related Commands
show snmp group
snmp-server user

8.8 snmp-server host


Syntax
snmp-server host ip-address {trap | inform} version {1 | 2c | 3} community-name {enable | disab
le} alarm-type [isnmsserver ] server-index server-index[udp-port udp-port][third-party-server]

Purpose
To configure the destination IP address to receive SNMP notification

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Host IP address

A.B.C.D

trap

Enable SNMP traps

inform

Enable SNMP informs

8-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

version

SNMP version to be used for

notification messages
1

SNMP Version 1

2c

SNMP Version 2C

SNMP Version 3

community-name

SNMP community name

Range: 1 32 characters

enable

Enable the trap server

disable

Disable the trap server

alarm-type

Alarm type

CRITICAL: 0
INDETERMINATE: 4
MAJOR: 1
MINOR: 2
NOTIFICATIONS: 6
WARNINGS: 3

isnmsserver

NMS server Index

server-index server-index

Trap server index

Range: 1 8

udp-port udp-port

Notification host UDP port

Range: 0 65535

number
third-party-server

Specify a third party server

Mode
ZXAN(config)#

Example
The following example displays how to configure the destination IP address to receive
SNMP notification:
ZXAN(config)#snmp-server host 168.1.1.1 inform version 2c
test enable CRITICAL isnmsserver server-index 1
ZXAN(config)#

Related Commands
snmp-server enable

8-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

8.9 snmp-server location


Syntax
snmp-server location line
no snmp-server location

Purpose
To configure the location of the MIB object system

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

line

Physical location of this node

Mode
ZXAN(config)#

Example
The following example displays how to configure the location of the MIB object system:
ZXAN(config)#snmp-server location this is 5200 in china
ZXAN(config)#

Related Commands
None

8.10 snmp-server packetsize


Syntax
snmp-server packetsize snmp-packet-max-size
no snmp-server packetsize

Purpose
To configure the maximum length of the SNMP message

Usage Guidelines
The following table provides parameter description:

8-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

snmp-packet-max

SNMP message packet size

Range: 484 8192

Mode
ZXAN(config)#

Example
The following example displays how to configure the maximum length of the SNMP
message:
ZXAN(config)#snmp-server packetsize 1400
ZXAN(config)#

Related Commands
None

8.11 snmp-server trap-source


Syntax
snmp-server trap-source ip-address
no snmp-server trap-source

Purpose
To configure the source IP address for all the traps

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure the source IP address for all the traps:
ZXAN(config)#snmp-server trap-source 10.1.1.1
ZXAN(config)#

8-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Related Commands
None

8.12 snmp-server user


Syntax
snmp-server user username groupname v3 [[encrypted] auth {md5 | sha} auth-password [priv
des 56 priv-password]]
no snmp-server user username

Purpose
To configure the SNMPv3 users and defines authentication and privacy for those users

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

username

User name

Range: 1 32 characters

groupname

Group name to which user is

Range: 1 32 characters

associated
v3

User using the Version 3

security model
encrypted

Specifies whether the

auth-password and
priv-password appear in
encrypted format (hiding the
true characters of the string)
auth

If auth is specified, messages

sent by this user is authenticated


using the authentication
protocol HMAC_MD5-96
or HMAC-SHA-96 and
auth-password
md5

Use HMAC MD5 algorithm for

authentication
sha

Use HMAC SHA algorithm for

authentication
auth-password

Authentication password for

Range: 1 32 characters

user

8-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

priv

If priv is specified, messages

sent by this user is encrypted


using CBC-DES and
priv-password
des 56

Use 56 bit DES algorithm for

encryption
priv-password

Privacy password for the user

Range: 1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the SNMPv3 users and defines
authentication and privacy for those users:
ZXAN(config)#snmp-server user user1 group1 v3 auth md5
12345678 priv des56 12345678
ZXAN(config)#

Related Commands
show snmp user
snmp-server group

Related Information
By default, parameter encrypted is not used.

8.13 snmp-server view


Syntax
snmp-server view viewname subtree-id1 {exclude | include}
no snmp-server view viewname [subtree-id2 ]

Purpose
To define the SNMPv2 view

Usage Guidelines
The following table provides parameter description:
8-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Parameter

Description

Value

viewname

View name

Range: 1 32 characters

subtree-id1

View subtree ID

Range: 1 79 characters

exclude

MIB family is excluded in the

view
include

MIB family is included in the

view
subtree-id2

View subtree ID

Range: 1 254 characters

Mode
ZXAN(config)#

Example
The following example displays how to define the SNMPv2 view:
ZXAN(config)#snmp-server view myView 1.3.6.1.2.1 included
ZXAN(config)#

Related Commands
snmp-server community

8.14 show snmp


Syntax
show snmp

Purpose
To display the SNMP information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the SNMP information:
ZXAN(config)#show snmp
Contact : +86-021-68895000

8-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Location: No.889 BiBo Rd. PuDong District, ShangHai, China
257 SNMP packets input
0 Bad SNMP version errors
18 Unknown community name
0 Illegal operation for community name supplied
579 Number of requested variables
0 Number of altered variables
142 Get-request PDUs
97 Get-next PDUs
0 Set-request PDUs
239 SNMP packets output
0 Too big errors (Maximum packet size 3000)
0 No such name errors
0 Bad values errors
0 General errors
239 Response PDUs
0 SNMP trap PDUs
ZXAN(config)#

Related Commands
None

8.15 show snmplogfile


Syntax
show snmplogfile

Purpose
To display the SNMP log information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the SNMP log information:
ZXAN(config)#show snmplogfile
ZXAN(config)#

8-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Related Commands
show snmplogfile end-time
show snmplogfile start-time
show snmplogfile ipaddress
show snmplogfile summary

8.16 show snmplogfile end-time


Syntax
show snmplogfile end-time end-date end-time

Purpose
To display the SNMP log end time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

end-date

End date

mm-dd-yyyy

end-time

End time

hh:mm:ss

Mode
Any mode except user mode

Example
The following example displays the SNMP log end time:
ZXAN(config)#show snmplogfile end-time 02-19-2008 19:30:30
ZXAN(config)#

Related Commands
show snmplogfile
show snmplogfile start-time
show snmplogfile ipaddress
show snmplogfile summary
8-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

8.17 show snmplogfile ipaddress


Syntax
show snmplogfile ipaddress ipaddress

Purpose
To display the SNMP log IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipaddress

IP address

A.B.C.D

Mode
Any mode except user mode

Example
The following example displays the SNMP log IP address:
ZXAN(config)#show snmplogfile ipaddress 10.63.128.214
ZXAN(config)#

Related Commands
show snmplogfile
show snmplogfile start-time
show snmplogfile end-time
show snmplogfile summary

8.18 show snmplogfile start-time


Syntax
show snmplogfile start-time start-date start-time

Purpose
To display the SNMP log start time

Usage Guidelines
The following table provides parameter description:
8-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Parameter

Description

Value

start-date

Start date

mm-dd-yyyy

start-time

Start time

hh:mm:ss

Mode
Any mode except user mode

Example
The following example displays the SNMP log start time:
ZXAN(config)#show snmplogfile start-time 2-19-2008 19:30:30
ZXAN(config)#

Related Commands
show snmplogfile
show snmplogfile end-time
show snmplogfile ipaddress
show snmplogfile summary

8.19 show snmplogfile summary


Syntax
show snmplogfile summary

Purpose
To display the SNMP log summary

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the SNMP log summary:
ZXAN#show snmplogfile summary
Snmplog buffer is 200KByte, used 0 percent
ZXAN#

8-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show snmplogfile
show snmplogfile start-time
show snmplogfile end-time
show snmplogfile ipaddress

8.20 show snmp config


Syntax
show snmp config

Purpose
To display the SNMP configuration

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the SNMP configuration:
ZXAN(config)#show snmp config
snmp-server location No.889 BiBo Rd. PuDong District,
ShangHai, China
snmp-server contact +86-021-68895000
snmp-server packetSize 3000
snmp-server engine-id 830900020300010289d64401
snmp-server access-list 1
snmp-server community myCommunity view myview rw
snmp-server community myy view myv rw
snmp-server community public view allview rw
snmp-server view allview internet included
snmp-server view DefaultView system included
snmp-server enable inform SNMP
snmp-server enable inform VPN
snmp-server enable inform BGP
snmp-server enable inform OSPF
snmp-server enable inform RMON
snmp-server enable inform STALARM

8-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands


snmp-server enable trap SNMP
snmp-server enable trap VPN
ZXAN(config)#

Related Commands
show snmp group
show snmp user
show snmp engine-id
show snmp

8.21 show snmp engine-id


Syntax
show snmp engine-id

Purpose
To display the SNMP engine ID

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the SNMP engine ID:
ZXAN#show snmp engine-id
the engine-id:830900020300010289d64401
ZXAN#

Related Commands
snmp-server engine-id

8.22 show snmp group


Syntax
show snmp group
8-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the SNMPv3 group

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the SNMPv3 group:
ZXAN#show snmp group
groupName :test
sec_Model :v3
sec_Level :AUTH
readView :test
writeView :test
notifyView:tesr
rowStatus :ACTIVE
contextName :test
contextMatch :match-exact
groupName :group1
sec_Model :v3
sec_Level :PRIV
readView :view1
writeView :view1
notifyView:view1
rowStatus :ACTIVE
ZXAN#

Related Commands
snmp-sever group

8.23 show snmp user


Syntax
show snmp user

Purpose
To display the SNMPv3 users
8-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 8 SNMP Commands

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the SNMPv3 users:
ZXAN#show snmp user
username :test
engine-id :123456678900000000000000
auth_type :SHA
group_name :test(v3)
encryptType:DES_CBC
storageType:NONVOLATILE
row_status :ACTIVE
ZXAN#

Related Commands
snmp-server user

8-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

8-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 9

FTP Server Commands


Table of Contents
ip ftp username ..........................................................................................................9-1
ip ftp password ...........................................................................................................9-2

9.1 ip ftp username


Syntax
ip ftp username username
no ip ftp username username

Purpose
To configure the default login FTP client username

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

username

FTP username

Range: 1 16 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the default login FTP client username:
ZXAN(config)#ip ftp username zte
ZXAN(config)#

Related Commands
ip ftp password

9-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

9.2 ip ftp password


Syntax
ip ftp password password
no ip ftp password password

Purpose
To configure the default login FTP client password

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

password

FTP password

Range: 3 16 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the default login FTP client password:
ZXAN(config)#ip ftp password zte
ZXAN(config)#

Related Commands
ip ftp username

9-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 10

Alarm Management
Table of Contents
alarm........................................................................................................................10-1
alarm confirm ...........................................................................................................10-2
alarm trap-confirm ....................................................................................................10-2
alarm level-change ...................................................................................................10-3
show alarm configure ...............................................................................................10-4
show alarm counter ..................................................................................................10-5
show alarm pool .......................................................................................................10-6
clear alarm pool........................................................................................................10-7
clear alarm counter...................................................................................................10-7
optical-module alarm-profile .....................................................................................10-8
show optical-module-alarm-profile ............................................................................10-9
alarm alarm-profile .................................................................................................10-10
alarm-index ............................................................................................................ 10-11
alarm-profile-apply.................................................................................................. 10-11
show alarm profile ..................................................................................................10-12

10.1 alarm
Syntax
alarm {enable | disable}

Purpose
To enable or disable the alarm function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the alarm function

disable

Disable the alarm function

Mode
ZXAN(config)#
10-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to enable the alarm function:
ZXAN(config)#alarm enable
ZXAN(config)#

Related Commands
show alarm

10.2 alarm confirm


Syntax
alarm confirm
no alarm confirm

Purpose
To confirm the alarm

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to confirm the alarm:
ZXAN(config)#alarm confirm
ZXAN(config)#

Related Commands
show alarm

10.3 alarm trap-confirm


Syntax
alarm trap-confirm retry time timeout timeout
no alarm trap-confirm

10-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 10 Alarm Management

Purpose
To configure the alarm resend time interval

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

retry time

Number of retries

Range: 1 3

timeout timeout

Time out interval

Range: 1 60 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure the alarm resend time interval:
ZZXAN(config)# trap-confirm retry 3 timeout 20
ZXAN(config)#

Related Commands
show alarm

Related Information
By default, alarm timeout is not configured.

10.4 alarm level-change


Syntax
alarm level-change eventid alarm-type

Purpose
To change the alarm event ID corresponding level

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eventid

Event ID

Range: 1 65534

10-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

alarm-type

Alarm level

CRITICAL: 0
INDETERMINATE: 4
MAJOR: 1
MINOR: 2
WARNINGS: 3

Mode
ZXAN(config)#

Example
The following example displays how to change the alarm event ID corresponding level:
ZXAN(config)#alarm level-change 33037 MAJOR
ZXAN(config)#

Related Commands
show alarm

10.5 show alarm configure


Syntax
show alarm configure

Purpose
To display the alarm configuration information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the alarm configuration information:
ZXAN#show alarm configure
alarm enable
nms-hello-trap disable
nms-hello-trap interval 120
ZXAN#

10-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 10 Alarm Management

Related Commands
None

10.6 show alarm counter


Syntax
show alarm counter

Purpose
To display the alarm counter information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the alarm counter information:
ZXAN#show alarm counter
alarmReport:

83

alarmConfirm:

alarmNullPointer:

alarmInvalidMsgType:

alarmInvalidReportType:

alarmInvalidLevel:

alarmInvaideMibOid:

alarmInvalidAlarmId:

alarmInvalidRecNum:

alarmLogFuncNull:

alarmIdNotExist:

alarmRecordExist:

alarmPoolFull:

alarmPoolOverflow:

alarmInformPoolFull:

alarmInformPoolOverflow: 0

alarmPoolInsOk:

29

alarmGetRegIndexFail :

alarmSendToRosSuc:

83

alarmSendTrapSuc:

19532

alarmSendToRosFail:

alarmSendTrapFail:

alarmGetAlarmRegSuc:

19586

alarmGetStrFuncSuc:

alarmGetAlarmRegFail:

alarmGetStrFuncFail:

alarmAddToPoolSuc:

29

alarmInformSendTrapSuc:

51

alarmAddToPoolFail:

alarmInformSendTrapFail: 0

alarmGetLogFuncSuc:

218

alarmGetByAlarmIdOk:

38977

alarmGetLogFuncFail:

alarmGetByAlarmIdFail:

alarmRestoreDelSuc:

alarmBadTypeFromRos:

0
28

alarmRestoreDelFail:

alarmRecvFromRos:

alarmInformRecvFromRos:

52

alarmRestoreRecvFromRos: 3

10-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


alarmRecordUpdate:

alarmGetRegInfoFail:

alarmCreateReqFail:

alramBindValueFail:

alarmEncodeReqFail:

alarmAllocMemFail:

alarmUnsupportBindType:

alarmUnsupportMibVar:

alarmRecvDup:

alarmInformNotSendTrap:

ZXAN#

Related Commands
clear alarm counter

10.7 show alarm pool


Syntax
show alarm pool [alarmCode alarmCode| summary | alarmId alarmId]

Purpose
To show contents in alarm pool

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

alarmCode

Alarm code

165535

alarmId

Alarm ID

14294967295

summary

Alarm summary

Mode
All modes except user mode

Example
The following example shows the alarm pool summary:
ZXAN#show alarm pool summary
Current all msan alarm numbers : 2
ZXAN#

Related Commands
clear alarm pool

10-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 10 Alarm Management

Related Information
None

10.8 clear alarm pool


Syntax
clear alarm pool [alarmCode |alarmID]

Purpose
To clear the alarm pool information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

alarmCode

Alarm Code

Range: 1 65535

alarmID

Alarm Code

Range: 1 2000

Mode
ZXAN#

Example
The following example displays how to clear the alarm pool information:
ZXAN#clear alarm pool alarmcode 10
ZXAN#

Related Commands
show alarm pool

10.9 clear alarm counter


Syntax
clear alarm counter

Purpose
To clear the alarm counter information

Usage Guidelines
None
10-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to clear the alarm counter information:
ZXAN#clear alarm counter
ZXAN#

Related Commands
show alarm counter

10.10 optical-module alarm-profile


Syntax
optical-module alarm-profile profile name

Purpose
To configure alarm profile for optical module

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

Mode
ZXAN(config)#

Example
The following example displays how to configure an alarm profile for optical module:
ZXAN(config)#optical-module alarm-profile opt_prf1
ZXAN(config)#optical-module alarm-profile opt_prf1
RxPower alarm lower threshold

(dBm)[-40,10]:[-34]

RxPower alarm upper threshold

(dBm)[-40,10]:[3]

TxPower alarm lower threshold

(dBm)[-20,20]:[-14]

TxPower alarm upper threshold

(dBm)[-20,20]:[9]

Bias current alarm lower threshold (mA)[0,150]:[0]


Bias current alarm upper threshold (mA)[0,150]:[131]
Supply voltage alarm lower threshold (V)[0,10]:[0]
Supply voltage alarm upper threshold (V)[0,10]:[7]

10-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 10 Alarm Management


Temperature alarm lower threshold (C)[-50,100]:[-45]
Temperature alarm upper threshold (C)[-50,100]:[90]
Optical module offline alarm enable

(1:Y;2:N):[1]

Related Commands
optical-module-alarm-profile
show optical-module-alarm-profile

Related Information
Use the optical-module alarm-profile command for the first time to create an alarm profile.
Use the optical-module alarm-profile command for the second time to modify the
parameters of the alarm profile.

10.11 show optical-module-alarm-profile


Syntax
show optical-module-alarm-profile

Purpose
To display the optical-module alarm profile

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays all optical-module alarm profiles:
ZXAN#show optical-module-alarm-profile
NOTE!

DEFAULT_ALARM_PROFILE can't be modified or deleted.

----------------------------------------------------------NO.1 profile : DEFAULT_ALARM_PROFILE


NO.2 profile : ABC

The following example displays the specific optical-module alarm profile:


ZXAN#show optical-module-alarm-profile abc
--------------------------------------------------profile name

: ABC

---------------------------------------------------

10-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Rx optical power alarm lower threshold (dBm):-34
Rx optical power alarm upper threshold (dBm):3
Tx optical power alarm lower threshold (dBm):-14
Tx optical power alarm upper threshold (dBm):9
Bias current alarm lower threshold (mA)

:0

Bias current alarm upper threshold (mA)

:131

Supply voltage alarm lower threshold (V)

:0

Supply voltage alarm upper threshold (V)

:7

Temperature alarm lower threshold (C)

:-45

Temperature alarm upper threshold (C)

:90

Optical module offline alarm enable (1:Y; 2:N):1


--------------------------------------------------profile used by:
gpon-olt_1/2/1

Related Commands
optical-module alarm-profile
optical-module-alarm-profile

10.12 alarm alarm-profile


Syntax
alarm alarm-profile profilename
no alarm alarm-profile profilename

Purpose
To create an alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to create an alarm profile:
ZXAN(config)#alarm alarm-profile abc
ZXAN(config-almprofile)#

10-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 10 Alarm Management

Related Commands
show alarm profile

10.13 alarm-index
Syntax
alar-index index code code status { NALARM | NALARM-QI }
no alarm-index index

Purpose
To configure the alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

index

Alarm index

Range: 1 32

code

Alarm code

Range: 1 65535

NALARM

The alarm is masked the

forever.
NALARM-QI

The alarm is masked before it

is cleared.

Mode
ZXAN(config-almprofile)#

Example
The following example displays how to configure the alarm profile:
ZXAN(config-almprofile)#alarm-index 1 code 45001 status NALARM-QI

Related Commands
show alarm profile

10.14 alarm-profile-apply
Syntax
alar-profile-apply { onu pon_onu-shelf/slot/olt:onu | port { gei_shelf/slot/port | pon_olt-shelf/slo
t/olt } | shelf shelf [ slot slot ] | system }
10-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no alar-profile-apply { onu pon_onu-shelf/slot/olt:onu | port { gei_shelf/slot/port | pon_olt-shelf


/slot/olt } | shelf shelf [ slot slot ] | system }

Purpose
To apply the alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu pon_onu-shelf/slot/olt:onu

ONU interface

port { gei_shelf/slot/port |

OLT or Ethernet interface

shelf shelf

The shelf

Range: 1

slot slot

Slot number

Range: 122

system

The whole system

pon_olt-shelf/slot/olt }

Mode
ZXAN(config-almprofile)#

Example
The following example displays how to apply the alarm profile:
ZXAN(config-almprofile)#alarm-profile-apply onu gpon-onu_1/1/1:1

Related Commands
show alarm profile

10.15 show alarm profile


Syntax
show alarm profile [ profilename ]

Purpose
To display alarm profile(s)

Usage Guidelines
The following table provides parameter description:

10-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 10 Alarm Management

Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
Any mode except ZXAN>

Example
The following example displays the alarm profile:
ZXAN(config-almprofile)#show alarm profile abc
All the alarm profile item(s):
alarm-index 1 code 45001 status NALARM-QI

All the alarm profile apply item(s):


alarm-profile-apply onu gpon-onu_1/1/1:1

Related Commands
alarm alarm-profile
alarm-index
alarm-profile-apply

10-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

10-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 11

Historical Performance
Management
Table of Contents
his-performance alarm .............................................................................................11-1
his-performance auto-upload....................................................................................11-2
his-performance download .......................................................................................11-2
his-performance sample ...........................................................................................11-3
his-performance upload 15-minute ...........................................................................11-4
his-performance upload 1-day ..................................................................................11-4

11.1 his-performance alarm


Syntax
his-performance alarm {enable | disable}

Purpose
To enable or disable the history performance alarm

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable performance alarm

(default)
disable

Disable performance alarm

Mode
ZXAN(config)#

Example
The following example displays how to enable history performance alarm:
ZXAN(config)#his-performance alarm enable

11-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

11.2 his-performance auto-upload


Syntax
his-performance auto-upload {enable | disable}

Purpose
To enable or disable the auto-upload function for history performance data

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable auto-upload

disable

Disable auto-upload (default)

Mode
ZXAN(config)#

Example
The following example displays how to enable the auto-upload function for history
performance data:
ZXAN(config)#his-performance auto-upload enable

Related Commands
his-performance upload

11.3 his-performance download


Syntax
his-performance download word

Purpose
To download the history performance sampling file

Usage Guidelines
The following table provides parameter description:
11-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 11 Historical Performance Management

Parameter

Description

Value

word

File name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to download history performance sampling file:
ZXAN(config)#his-performance download sample.xml

Related Commands
his-performance sample

11.4 his-performance sample


Syntax
his-performance sample {enable | disable}

Purpose
To enable or disable history performance data sampling

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable sampling (default)

disable

Disable sampling

Mode
ZXAN(config)#

Example
The following example displays how to enable history performance data sampling:
ZXAN(config)#his-performance sample enable

Related Commands
his-performance download

11-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

11.5 his-performance upload 15-minute


Syntax
his-performance upload 15-minute interval-begin interval number interval-end interval numb
er

Purpose
To upload 15-minute history performance data

Usage Guidelines
The following table provides parameter description:
Parameter
15-minute

Description

Value

15-minute history performance

data file
interval-begin interval number

Beginning interval

1, 2
1 is the most recent interval

interval-end interval number

Ending inteeval

1, 2
1 is the most recent interval

Mode
ZXAN(config)#

Example
The following example displays how to upload history performance data of two 15-minute
intervals:
ZXAN(config)#his-performance upload 15-minute interval-begin 1 interval-end 2

Related Commands
his-performance upload 1-day

11.6 his-performance upload 1-day


Syntax
his-performance upload 1-day

Purpose
To upload 1-day history performance data

11-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 11 Historical Performance Management

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

1-day

1-day history performance data

Mode
ZXAN(config)#

Example
The following example displays how to upload 1-day history performance data:
ZXAN(config)#his-performance upload 1-day

Related Commands
his-performance upload 15-minute

11-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

11-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12

Performance Alarm Profile


Management
Table of Contents
perf-eht-if..................................................................................................................12-1
perf-eth-olt................................................................................................................12-2
perf-eth-onu .............................................................................................................12-3
perf-mac-olt..............................................................................................................12-3
perf-mac-onu............................................................................................................12-4
perf-vport..................................................................................................................12-5
perf-clear-current......................................................................................................12-5
perf-profile................................................................................................................12-6
performance threshhold-profile.................................................................................12-7
performance threshhold-profile (vport)......................................................................12-7
item (olt/onu eth) ......................................................................................................12-8
item (eth if) .............................................................................................................12-10
item (olt mac) ......................................................................................................... 12-11
item (onu mac) .......................................................................................................12-13
item (vport).............................................................................................................12-14
show perf-eth-if ......................................................................................................12-15
show perf-olt ..........................................................................................................12-16
show perf-onu ........................................................................................................12-17
show perf-vport ......................................................................................................12-17

12.1 perf-eht-if
Syntax
perf-eth-if profile profilename

Purpose
To configure the Ethernet port performance alarm profile

Usage Guidelines
The following table provides parameter description:

12-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the Ethernet port performance alarm
profile:
ZXAN(config)#perf-eht-if profile abc
ZXAN(config-perf-if)#

Related Commands
show perf-eth-if

12.2 perf-eth-olt
Syntax
perf-eth-olt profile profilename

Purpose
To configure the OLT Ethernet performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the OLT Ethernet performance alarm
profile:
ZXAN(config)#perf-eth-olt profile abc
ZXAN(config-eth-perf-olt)#

12-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management

Related Commands
show perf-olt

12.3 perf-eth-onu
Syntax
perf-eth-onu profile profilename

Purpose
To configure the ONU Ethernet performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the ONU Ethernet performance alarm
profile:
ZXAN(config)#perf-eth-onu profile abc
ZXAN(config-eth-perf-onu)#

Related Commands
show perf-onu

12.4 perf-mac-olt
Syntax
perf-mac-olt profile profilename

Purpose
To configure the OLT PON MAC performance alarm profile

Usage Guidelines
The following table provides parameter description:
12-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the OLT PON MAC performance alarm
profile:
ZXAN(config)#perf-mac-olt profile abc
ZXAN(config-mac-perf-olt)#

Related Commands
show perf-olt

12.5 perf-mac-onu
Syntax
perf-mac-onu profile profilename

Purpose
To configure the ONU PON MAC performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the ONU PON MAC performance alarm
profile:
ZXAN(config)#perf-mac-onu profile abc
ZXAN(config-mac-perf-onu)#

12-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management

Related Commands
show perf-onu

12.6 perf-vport
Syntax
perf-vport profile profilename

Purpose
To configure the virtual port performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the virtual port performance alarm profile:
ZXAN(config)#perf-vport profile abc
ZXAN(config-perf-vport)#

Related Commands
show perf-vport

12.7 perf-clear-current
Syntax
perf-clear-current { eth | mac | gemport gemportid} { 1-day | 15-min | data }

Purpose
To show an OLT or ONU PON ports performance

Usage Guidelines
The following table describes the relevant parameters:
12-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

eth

Ethernet

mac

PON MAC

gemportid

GemportID

1256

Mode
ZXAN(config-if)#

Example
The following example shows an OLT or ONU PON ports performance:
ZXAN(config-if)#perf-clear-current eth data

Related Commands
None

12.8 perf-profile
Syntax
perf-profile { eth | mac } profilename apply
no perf-profile { eth | mac } apply

Purpose
To apply the performance threshold profile on PON OLT or ONU interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eth

Ethernet

mac

PON MAC

profilename

Profile name

1 32 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to apply the Ethernet performance threshold profile:
ZXAN(config-if)#perf-profile eth abc apply

12-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management

Related Commands
show perf-olt
show perf-onu

12.9 performance threshhold-profile


Syntax
performance threshhold-profile profilename

Purpose
To apply the performance threshold profile on the Ethernet interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to apply the performance threshold profile on the
Ethernet interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#performance threshhold-profile abc

Related Commands
show perf-eth-if

12.10 performance threshhold-profile (vport)


Syntax
performance threshhold-profile profilename vport vportid

Purpose
To apply the performance threshold profile on the GPON ONU virtual port

12-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

vport vportid

Virtual port ID

Range: 1 256

Mode
ZXAN(config-if)#

Example
The following example displays how to apply the performance threshold profile on the
GPON ONU virtual port:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#performance threshhold-profile abc vport 1

Related Commands
show perf-vport

12.11 item (olt/onu eth)


Syntax
item { collisions | drop-events | rx-1024to1518B | rx-128to255B | rx-256to511B | rx-512to1023
B | rx-64B rx-65to127B | rx-bcast-pkts rx-bytes | rx-crc-errs rx-frags | rx-jabs rx-mcast-pkts
| rx-oversize-pkts rx-pkts rx-undersize-pkts tx-1024to1518B | tx-128to255B tx-256to511B |
tx-512to1023B | tx-64B | tx-65to127B | tx-bcast-pkts tx-bytes | tx-crc-errs | tx-frags | tx-jabs
tx-mcast-pkts | tx-oversize-pkts | tx-pkts | tx-undersize-pkts } { 1-day | 15-min } { high | highest
| low | lowest } alarm threshold1 restore threshold2

Purpose
To configure the item of OLT/ONU Ethernet performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

collisions

Collisions

drop-events

Drop events

rx-1024to1518B

Received 1024-1518B

rx-128to255B

Received 128-255B

12-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management

Parameter

Description

Value

rx-256to511B

Received 256-511B

rx-512to1023B

Received 512-1023B

rx-64B

Received 64B

rx-65to127B

Received 65-127B

rx-bcast-pkts

Received broadcast packets

rx-bytes

Received octets

rx-crc-errs

Received CRC errors

rx-frags

Received fragments

rx-jabs

Received jabbers

rx-mcast-pkts

Received multicast packets

rx-oversize-pkts

Received over-size packets

rx-pkts

Received packets

rx-undersize-pkts

Received under-size packets

tx-1024to1518B

Transmitted 1024-1518B

tx-128to255B

Transmitted 128-255B

tx-256to511B

Transmitted 256-511B

tx-512to1023B

Transmitted 512-1023B

tx-64B

Transmitted 64B

tx-65to127B

Transmitted 65-127B

tx-bcast-pkts

Transmitted broadcast packets

tx-bytes

Transmitted octets

tx-crc-errs

Transmitted CRC errors

tx-frags

Transmitted fragments

tx-jabs

Transmitted jabbers

tx-mcast-pkts

Transmitted multicast packets

tx-oversize-pkts

Transmitted over-size packets

tx-pkts

Transmitted packets

tx-undersize-pkts

Transmitted under-size packets

alarm threshold1

Alarm threshold

Range: 0 42949672955

restore threshold2

Restore threshold

Range: 0 42949672955

Mode
ZXAN(config-eth-perf-olt)#

12-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

ZXAN(config-eth-perf-onu)#

Example
The following example displays how to configure the item of OLT Ethernet performance
alarm profile:
ZXAN(config)#perf-eth-olt profile abc
ZXAN(config-eth-perf-olt)#item drop-events 1-day high alarm 10000 restore 8000

Related Commands
show perf-olt
show perf-onu

12.12 item (eth if)


Syntax
item { align_error | fcs_error | in_bcast_pks | in_mcast_pkts | in_octets in_oversize_pkts in
_pkts | in_ucast_pkts | in_undersize_pkts multiple_collisions out_bcast_pkts | out_collisions
| out_discard_pkts out_mcast_pkts | out_octets out_pause_pkts out_pkts out_ucast_pkts | si
ngle_collisions } { 1-day | 15-min } { high | highest | low | lowest } alarm threshold1 restore
threshold2

Purpose
To configure the item of Ethernet port performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

align_error

Align errors

fcs_error

FCS errors

in_bcast_pks

Received broadcast packets

in_mcast_pkts

Received multicast packets

in_octets

Received octets

in_oversize_pkts

Received over-size packets

in_pkts

Received packets

in_ucast_pkts

Received unicast packets

in_undersize_pkts

Received under-size packets

multiple_collisions

Multiple collisions

12-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management

Parameter

Description

Value

out_bcast_pkts

Transmitted broadcast packets

out_collisions

Transmitted collisions

out_discard_pkts

Transmitted discarded packets

out_mcast_pkts

Transmitted multicast packets

out_octets

Transmitted octets

out_pause_pkts

Transmitted paused packets

out_pkts

Transmitted packets

out_ucast_pkts

Transmitted unicast Packets

single_collisions

Single collision

alarm threshold1

Alarm threshold

Range: 0 42949672955

restore threshold2

Restore threshold

Range: 0 42949672955

Mode
ZXAN(config-perf-if)#

Example
The following example displays how to configure item of Ethernet port performance alarm
profile:
ZXAN(config)#perf-if profile abc
ZXAN(config-perf-if)#item fcs_error 1-day high alarm 10000 restore 8000

Related Commands
show perf-eht-if

12.13 item (olt mac)


Syntax
item { crc-error-packets | ds-ploam-msg | ds-valid-eth-packets | err | fec-cor-bytes | fec-co
r-words | fec-total-words | fec-uncor-words | rei | us-bip-total-bits | us-cor-eth-frames | uscor-idle-gem-frames | us-cor-not-idle-gem-frames | us-err-eth-frames | us-err-gem-frames |
us-err-ploam-msg | us-gem-payload-bytes | us-ploam-msg } { 1-day | 15-min } { high | highest
| low | lowest } alarm threshold1 restore threshold2

Purpose
To configure the item of OLT PON MAC performance alarm profile

12-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

crc-error-packets

CRC error packets

ds-ploam-msg

Downstream PLOAM message

ds-valid-eth-packets

Downstream valid Ethernet

packets
err

Error

fec-cor-bytes

FEC correct bytes

fec-cor-words

FEC correct code words

fec-total-words

FEC total code words

fec-uncor-words

FEC uncorrected code words

rei

REI

us-bip-total-bits

Upstream bip corrected bits

us-cor-eth-frames

Upstream corrected Ethernet

frames
us-cor-idle-gem-frames

Upstream corrected idle GEM

frames
us-cor-not-idle-gem-frames

Upstream corrected non-idle

GEM frames
us-err-eth-frames

Upstream error Ethernet frames

us-err-gem-frames

Upstream error GEM frames

us-err-ploam-msg

Upstream error PLOAM

message
us-gem-payload-bytes

Upstream GEM payload bytes

us-ploam-msg

Upstream PLOAM message

alarm threshold1

Alarm threshold

Range: 0 42949672955

restore threshold2

Restore threshold

Range: 0 42949672955

Mode
ZXAN(config-mac-perf-olt)#

Example
The following example displays how to configure item of OLT PON MAC performance
alarm profile:
ZXAN(config)#perf-mac-olt profile abc

12-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management


ZXAN(config-mac-perf-olt)#item crc-error-packets 1-day high alarm 10000 restore
8000

Related Commands
show perf-olt

12.14 item (onu mac)


Syntax
item { crc-error-packets | ds-ploam-msg | ds-valid-eth-packets | err | fec-cor-bytes | fec-co
r-words | fec-total-words | fec-uncor-words | rei | us-bip-total-bits | us-cor-eth-frames | uscor-idle-gem-frames | us-cor-not-idle-gem-frames | us-err-eth-frames | us-err-gem-frames |
us-err-ploam-msg | us-gem-payload-bytes | us-ploam-msg } { 1-day | 15-min } { high | highest
| low | lowest } alarm threshold1 restore threshold2

Purpose
To configure the item of ONU PON MAC performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

crc-error-packets

CRC error packets

ds-cor-not-idle-gem-frames

Downstream corrected non-idle

GEM frames
ds-ploam-msg

Downstream PLOAM message

ds-total-omci-frames

Downstream total OMCI frames

erri

Error

fec-cor-bytes

FEC correct bytes

fec-cor-words

FEC correct code words

fec-total-words

FEC total code words

fec-uncor-words

FEC uncorrected code words

lofi-alarm-times

LOFi alarm times

reii

REI

us-bip-error-bits

Upstream bip error bits

us-bip-total-bits

Upstream bip corrected bits

us-cor-eth-frames

Upstream corrected Ethernet

frames
12-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

us-cor-not-idle-gem-frames

Upstream corrected non-idle

GEM frames
us-err-eth-frames

Upstream error Ethernet frames

us-gem-payload-bytes

Upstream GEM payload bytes

us-not-cor-words

Upstream uncorrected code

words
us-ploam-msg

Upstream PLOAM message

us-total-omci-frames

Upstream total OMCI frames

us-unreceived-bursts

Upstream unreceived bursts

alarm threshold1

Alarm threshold

Range: 0 42949672955

restore threshold2

Restore threshold

Range: 0 42949672955

Mode
ZXAN(config-mac-perf-onu)#

Example
The following example displays how to configure item of ONU PON MAC performance
alarm profile:
ZXAN(config)#perf-mac-olt profile abc
ZXAN(config-mac-perf-olt)#item crc-error-packets 1-day high alarm 10000 restore
8000

Related Commands
show perf-onu

12.15 item (vport)


Syntax
item { in_bcast_pks | in_mcast_pkts | in_octets | in_ucast_pkts | out_bcast_pkts | out_mcast
_pkts | out_octets | out_ucast_pkts } { 1-day | 15-min } { high | highest | low | lowest } alarm
threshold1 restore threshold2

Purpose
To configure the item of virtual port performance alarm profile

Usage Guidelines
The following table provides parameter description:
12-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management

Parameter

Description

Value

in_bcast_pks

Received broadcast packets

in_mcast_pkts

Received multicast packets

in_octets

Received octets

in_ucast_pkts

Received unicast packets

out_bcast_pkts

Transmitted broadcast packets

out_mcast_pkts

Transmitted multicast Packets

out_octets

Transmitted octets

out_ucast_pkts

Transmitted unicast packets

alarm threshold1

Alarm threshold

Range: 0 42949672955

restore threshold2

Restore threshold

Range: 0 42949672955

Mode
ZXAN(config-perf-vport)#

Example
The following example displays how to configure item of virtual port performance alarm
profile:
ZXAN(config)#perf-vport profile abc
ZXAN(config-perf-vport)#item in_bcast_pkts 1-day high alarm 10000 restore 8000

Related Commands
show perf-vport

12.16 show perf-eth-if


Syntax
show perf-eth-if profile [ profilename ]

Purpose
To display the Ethernet port performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

12-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except ZXAN>

Example
The following example displays the Ethernet port performance alarm profile:
ZXAN(config#show perf-eth-if profile
PM-ETHPORT alarm profile:
------------------------------------NO.1 profile : abc

ZXAN(config)#show perf-eth-if profile abc


--------------------------------------------PM-ETHPORT alarm profile:abc
item fcs_error 1day high alarm 10000 restore 8000

Related Commands
perf-eth-if

12.17 show perf-olt


Syntax
show perf-eth-if { eth | mac } profile [ profilename ]

Purpose
To display the OLT Ethernet or PON MAC performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
Any mode except ZXAN>

Example
The following example displays the OLT Ethernet performance alarm profile:
ZXAN(config)#show perf-olt eth profile abc
perf-eth-olt profile abc
--------------------------------------------------------------------------

12-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 12 Performance Alarm Profile Management


item: drop-events 1-Day high alarm 10000 restore 8000

Related Commands
perf-eth-olt
perf-mac-olt

12.18 show perf-onu


Syntax
show perf-eth-if { eth | mac } profile [ profilename ]

Purpose
To display the ONU Ethernet or PON MAC performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
Any mode except ZXAN>

Example
The following example displays the ONU PON MAC performance alarm profile:
ZXAN(config)#show perf-onu mac profile abc
perf-mac-onu profile abc
-------------------------------------------------------------------------item: crc-error-packets 1-Day high alarm 10000 restore 8000 high alarm 10000
restore 8000

Related Commands
perf-eth-onu
perf-mac-onu

12.19 show perf-vport


Syntax
show perf-vport profile [ profilename ]
12-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the PON virtual port performance alarm profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
Any mode except ZXAN>

Example
The following example displays the Ethernet port performance alarm profile:
ZXAN(config)#show perf-vport profile abc
--------------------------------------------PM-PONVPORT alarm profile:abc
item in_bcast_pkts 1day high alarm 10000 restore 8000

Related Commands
perf-vport

12-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13

Debugging Commands
Table of Contents
debug all ..................................................................................................................13-3
debug arp.................................................................................................................13-3
debug dhcp-option82................................................................................................13-4
debug group-management .......................................................................................13-5
debug igmp ..............................................................................................................13-6
debug ip ...................................................................................................................13-8
debug ip bgp updates...............................................................................................13-8
debug ip bgp all........................................................................................................13-9
debug ip bgp dampening ........................................................................................13-10
debug ip bgp events ............................................................................................... 13-11
debug ip bgp in....................................................................................................... 13-11
debug ip bgp keepalives.........................................................................................13-12
debug ip bgp out ....................................................................................................13-13
debug ip destination ...............................................................................................13-14
debug ip dhcp.........................................................................................................13-15
debug ip icmp.........................................................................................................13-15
debug ip icmp detail ...............................................................................................13-16
debug ip igmp.........................................................................................................13-17
debug ip igmp-snooping .........................................................................................13-18
debug ip interface...................................................................................................13-18
debug ip msdp........................................................................................................13-19
debug ip multicast ..................................................................................................13-20
debug ip ospf adj....................................................................................................13-21
debug ip ospf all .....................................................................................................13-22
debug ip ospf cspf ..................................................................................................13-23
debug ip ospf database-timer .................................................................................13-23
debug ip ospf events ..............................................................................................13-24
debug ip ospf flood .................................................................................................13-25
debug ip ospf lsa-generation ..................................................................................13-26
debug ip ospf nsf....................................................................................................13-27
debug ip ospf packet ..............................................................................................13-27
debug ip ospf retransmission..................................................................................13-28
debug ip ospf spf....................................................................................................13-29
debug ip ospf tree ..................................................................................................13-30
debug ip pim-snooping ...........................................................................................13-31
debug ip pimsm......................................................................................................13-31
debug ip protocol....................................................................................................13-33
13-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

debug ip rip ............................................................................................................13-33


debug ip rip all........................................................................................................13-34
debug ip rip database.............................................................................................13-35
debug ip rip events .................................................................................................13-36
debug ip rip trigger .................................................................................................13-36
debug ip source......................................................................................................13-37
debug ip tcp all .......................................................................................................13-38
debug ip tcp driver..................................................................................................13-39
debug ip tcp driver-pak ...........................................................................................13-40
debug ip tcp packet ................................................................................................13-40
debug ip tcp transactions........................................................................................13-41
debug ip udp ..........................................................................................................13-42
debug iptv ..............................................................................................................13-43
debug lacp all .........................................................................................................13-44
debug lacp fsm.......................................................................................................13-45
debug lacp packet ..................................................................................................13-46
debug mstp agreement...........................................................................................13-47
debug mstp all........................................................................................................13-48
debug mstp bpdu-rx ...............................................................................................13-49
debug mstp bpdu-tx................................................................................................13-50
debug mstp errors ..................................................................................................13-51
debug mstp flush....................................................................................................13-51
debug mstp info......................................................................................................13-52
debug mstp migration.............................................................................................13-53
debug mstp proposals ............................................................................................13-54
debug mstp roles....................................................................................................13-55
debug mstp state....................................................................................................13-56
debug mstp tc.........................................................................................................13-57
debug port-location.................................................................................................13-58
debug pppoe-plus ..................................................................................................13-59
debug radius all......................................................................................................13-60
debug radius authentication....................................................................................13-60
debug radius exception ..........................................................................................13-61
debug radius user ..................................................................................................13-62
debug ssh ..............................................................................................................13-63
debug syscomm .....................................................................................................13-64
debug sysctrl ..........................................................................................................13-65
debug version-mng.................................................................................................13-66
debug vlan .............................................................................................................13-67
debug vrrp..............................................................................................................13-68
show debugging .....................................................................................................13-69
terminal monitor .....................................................................................................13-70
terminal length........................................................................................................13-70

13-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.1 debug all


Syntax
debug all
no debug all

Purpose
To enable all debug switches

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable all debug switches:
ZXAN#debug all
All possible debugging has been turned on
ZXAN#

Related Commands
terminal monitor

Related Information
The debug all command may severely affect system and network performance. Therefore,
it is not recommended to use this command for a long time and in cases when system
usage is high.
By default, all debug commands are disabled.

13.2 debug arp


Syntax
debug arp
no debug arp

13-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the ARP debug function to display the debugging information processed by the
ARP and display whether the router is sending/receiving the ARP messages

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the ARP debug function:
ZXAN#debug arp
ARP debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.3 debug dhcp-option82


Syntax
debug dhcp-option82 all
debug dhcp-option82 {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport portnumber
| pvc pvcnumber]
no debug dhcp-option82 all
no debug dhcp-option82 {data | error | event} type_shelf/slot /{port-no | olt:onu} [gport portnu
mber | pvc pvcnumber]

Purpose
To enable DHCP Option82 debug function

Usage Guidelines
The following table provides parameter description:

13-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Parameter

Description

Value

all

DHCP Option82 all debugging

data

DHCP Option82 data debugging

error

DHCP Option82 error

debugging
event

DHCP Option82 event

debugging
type_shelf/slot/{port-no | olt:onu}

Shelf, slot and port number

gport portnumber

GEM port number

Range: 1 255

pvc pvcnumber

PVC number

Range: 1 8

Mode
ZXAN#

Example
The following example displays how to enable DHCP option82 debug function:
ZXAN#debug dhcp-option82 data epon-olt_1/1/1
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.4 debug group-management


Syntax
debug group-management
no debug group-management

Purpose
To enable cluster management protocol debug function

Usage Guidelines
None

13-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to enable cluster management protocol debug
function:
ZXAN#debug group-management
group-management debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.5 debug igmp


Syntax
debug igmp all
debug igmp {data | error | event} [rack-number shelf-number slot-number] [mvlan mvlanid] [gr
oup ipaddress] [mux | oam | proxy | recv | send | timer] [ interface name | vport vportno | pvc
pvcnumber]
no debug igmp all
no debug igmp {data | error | event} [rack-number shelf-number slot-number] [mvlan mvlanid]
[group ipaddress] [mux | oam | proxy | recv | send | timer] [ interface name |vport vportno |
pvc pvcnumber]

Purpose
To enable IGMP debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

IGMP all debugging

data

IGMP data debugging

error

IGMP error debugging

13-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Parameter

Description

Value

event

IGMP event debugging

rack-number

Rack number

Range: 0 0

shelf-number

Shelf number

Range: 0 4

slot-number

Slot number

Range: 1 16

interface name

Interface name

Epon-onu_rackno/slotno/portno:onuno

vport vportno

Virtual port number

Range: 1 255

pvc pvcnumber

PVC number

Range: 1 8

mvlan mvlanid

MVLAN ID

Range: 1 4094

group ipaddress

IP address

A.B.C.D

mux

Debug mix interface

oam

Debug OAM message

proxy

Debug proxy machine

recv

Debug packet receive

send

Debug packet send

timer

Debug timer process

Mode
ZXAN#

Example
The following example displays how to enable IGMP debug switch:
ZXAN#debug igmp error group 10.9.6.3 mux
IGMP error debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

13.6 debug ip
Syntax
debug ip
no debug ip

Purpose
To enable the IP debug function to display the debugging information processed by the IP,
and display whether the router is sending or receiving the IP packet

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the IP debug function:
ZXAN#debug ip
IP debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.7 debug ip bgp updates


Syntax
debug ip bgp [ip-address] updates
no debug ip bgp [ip-address] updates

Purpose
To enable the debug switch to trace and display the updated messages received by the
neighboring BGP router

13-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Neighboring BGP router IP

A.B.C.D

address
updates

BGP updates

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace and display the
updated messages received by the neighboring BGP router:
ZXAN#debug ip bgp updates
BGP updates debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.8 debug ip bgp all


Syntax
debug ip bgp all
no debug ip bgp all

Purpose
To enable all BGP debug switches

Usage Guidelines
None

Mode
ZXAN#
13-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to enable all BGP debug switches:
ZXAN#debug ip bgp all
All BGP debugging has been turned on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.9 debug ip bgp dampening


Syntax
debug ip bgp dampening
no debug ip bgp dampening

Purpose
To enable debug switch to trace and display the BGP route oscillation information and
processing

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable debug switch to trace and display the BGP
route oscillation information and processing:
ZXAN#debug ip bgp dampening
BGP dampening debugging is on
ZXAN#

Related Commands
terminal monitor
13-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Related Information
By default, all debug switches are disabled.

13.10 debug ip bgp events


Syntax
debug ip bgp events
no debug ip bgp events

Purpose
To enable the debug switch to trace and display the state of the peer BGP router

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace and display the
state of the peer BGP router:
ZXAN#debug ip bgp events
BGP events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.11 debug ip bgp in


Syntax
debug ip bgp in
no debug ip bgp in

13-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the debug switch to trace and display the messages received by the BGP router

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace and display the
messages received by the BGP router:
ZXAN#debug ip bgp in
BGP in debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.12 debug ip bgp keepalives


Syntax
debug ip bgp keepalives
no debug ip bgp keepalives

Purpose
To enable the debug switch to trace and display the keepalive message received and sent
by the BGP router

Usage Guidelines
None

Mode
ZXAN#
13-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Example
The following example displays how to enable the debug switch to trace and display the
keepalive message received and sent by the BGP router:
ZXAN#debug ip bgp keepalives
BGP keepalives debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.13 debug ip bgp out


Syntax
debug ip bgp out
no debug ip bgp out

Purpose
To enable the debug switch to trace and display the messages sent by the BGP router

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace and display the
messages sent by the BGP router:
ZXAN#debug ip bgp out
BGP out debugging is on
ZXAN#

Related Commands
terminal monitor
13-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
By default, all debug switches are disabled.

13.14 debug ip destination


Syntax
debug ip destination ipaddress
no debug ip destination ipaddress

Purpose
To enable debug function for the specified destination IP address to display the debugging
information processed by the IP, and display whether the router is sending/receiving the
specified destination address IP packet

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipaddress

Destination IP address

A.B.C.D

Mode
ZXAN#

Example
The following example displays how to enable debug function for the specified destination
IP address:
ZXAN#debug ip destination 192.168.36.3
IP destination debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.15 debug ip dhcp


Syntax
debug ip dhcp
no debug ip dhcp

Purpose
To enable the DHCP relay and DHCP server debug function

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the DHCP relay and DHCP server debug
function:
ZXAN#debug ip dhcp
DHCP debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.16 debug ip icmp


Syntax
debug ip icmp
no debug ip icmp

Purpose
To enable the ICMP debug function to display the debugging information processed by the
ICMP, and display whether the router is sending/receiving the ICMP packet
13-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the ICMP debug function:
ZXAN#debug ip icmp
ICMP debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.17 debug ip icmp detail


Syntax
debug ip icmp detail
no debug ip icmp detail

Purpose
To enable the ICMP debug function to display detailed debugging information processed
by the ICMP, and display detailed information of ICMP packets sent and received by the
router

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the ICMP debug function:
ZXAN#debug ip icmp detail

13-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands


ICMP detail debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.18 debug ip igmp


Syntax
debug ip igmp
no debug ip igmp

Purpose
To enable the IGMP debug switch

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the IGMP debug switch:
ZXAN#debug ip igmp
IGMP debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

13.19 debug ip igmp-snooping


Syntax
debug ip igmp-snooping
no debug ip igmp-snooping

Purpose
To enable the IGMP snooping debug switch

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the IGMP snooping debug switch:
ZXAN#debug ip igmp-snooping
IGMP SNOOPING debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.20 debug ip interface


Syntax
debug ip interface interface-name
no debug ip interface interface-name

Purpose
To enable the debug function for IP information on the specified interface

Usage Guidelines
The following table provides parameter description:
13-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Parameter

Description

Value

interface-name

Interface name

Loopback
Interface Range: 1 64
Supervlan
Interface Range: 1 32
Vlan
Interface Range: 1 4094

Mode
ZXAN#

Example
The following example displays how to enable the debug function for IP information on the
specified interface:
ZXAN#debug ip interface loopback1
IP interface debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.21 debug ip msdp


Syntax
debug ip msdp [connect | message-recv | message-send | warning]
no debug ip msdp [connect | message-recv | message-send | warning]

Purpose
To enable the MDSP debugging switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

connect

MSDP debugging information

related to peer connection


13-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

message-recv

Debug information of the MSDP

received messages
message-send

Debug information of the MSDP

sent messages
warning

MSDP alarm debugging

information

Mode
ZXAN#

Example
The following example displays how to enable the MSDP debugging switch:
ZXAN#debug ip msdp warning
MSDP warning debugging is off
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.22 debug ip multicast


Syntax
debug ip multicast [data | mrt | timer]
no debug ip multicast [data | mrt | timer]

Purpose
To enable the multicast debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

data

Multicast packet debugging

information
13-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Parameter

Description

Value

mrt

Multicast routing table

debugging information
timer

Multicast timer debugging

information

Mode
ZXAN#

Example
The following example displays how to enable the multicast debug switch:
ZXAN#debug ip multicast data
Multicast data debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.23 debug ip ospf adj


Syntax
debug ip ospf adj
no debug ip ospf adj

Purpose
To enable the debug switch for sending the OSPF adjacent event debugging information

Usage Guidelines
None

Mode
ZXAN#

13-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to enable the debug switch for sending the OSPF
adjacent event debugging information:
ZXAN#debug ip ospf adj
OSPF adjacency events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
Adjacency events mainly include information relating to link state changes and hello
packets.

13.24 debug ip ospf all


Syntax
debug ip ospf all
no debug ip ospf all

Purpose
To enable all OSPF debug switches

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable all OSPF debug switches:
ZXAN#debug ip ospf all
All OSPF debugging has been turned on
ZXAN#

Related Commands
terminal monitor
13-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Related Information
By default, all debug switches are disabled.

13.25 debug ip ospf cspf


Syntax
debug ip ospf cspf
no debug ip ospf cspf

Purpose
To enable the debug switch for the shortest path calculation of limit-based OSPF

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for the shortest path
calculation of limit-based OSPF:
ZXAN#debug ip ospf cspf
OSPF cspf events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
This command is mainly used to calculate debugging information related to project traffic
routing.

13.26 debug ip ospf database-timer


Syntax
debug ip ospf database-timer
no debug ip ospf database-timer
13-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the debug switch for returning the OSPF link state database timer event
debugging information

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for returning the OSPF
link state database timer event debugging information:
ZXAN#debug ip ospf database-timer
OSPF timer events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.27 debug ip ospf events


Syntax
debug ip ospf events
no debug ip ospf events

Purpose
To enable the debug switch for returning the debugging information about the important
events of the OSPF protocol

Usage Guidelines
None

Mode
ZXAN#
13-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Example
The following example displays how to enable the switch for returning the debugging
information about the important events of the OSPF protocol:
ZXAN#debug ip ospf events
OSPF events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
OSPF events mainly include DR/BDR selection and link state changes.

13.28 debug ip ospf flood


Syntax
debug ip ospf flood
no debug ip ospf flood

Purpose
To enable the debug switch for returning the debugging information of the OSPF flood
events

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for returning the debugging
information of the OSPF flood events:
ZXAN#debug ip ospf flood
OSPF flood debugging is on
ZXAN#

Related Commands
terminal monitor
13-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
Flood events mainly include the information relating to OSPF response packets and renew
packets.

13.29 debug ip ospf lsa-generation


Syntax
debug ip ospf lsa-generation
no debug ip ospf lsa-generation

Purpose
To enable the debug switch for returning the debugging information of the OSPF link state
announcement generation event

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for returning the debugging
information of the OSPF link state announcement generation event:
ZXAN#debug ip ospf lsa-generation
OSPF summary lsa generation debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
OSPF LSA generation debugging events mainly include link state change notifications,
self-rule system edge router link state change notifications, and the updates of these
notifications.

13-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.30 debug ip ospf nsf


Syntax
debug ip ospf nsf
no debug ip ospf nsf

Purpose
To enable the debug switch for OSPF non-stop forwarding events

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for OSPF non-stop
forwarding events:
ZXAN#debug ip ospf nsf
OSPF non-stop forwarding event debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.31 debug ip ospf packet


Syntax
debug ip ospf packet
no debug ip ospf packet

Purpose
To enable the debug switch for returning the debugging information about the OSPF
receiving/transmitting packets to monitor the packets
13-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for returning the debugging
information about the OSPF receiving/transmitting packets to monitor the packets:
ZXAN#debug ip ospf packet
OSPF packet debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.32 debug ip ospf retransmission


Syntax
debug ip ospf retransmission
no debug ip ospf retransmission

Purpose
To enable the switch for returning the debugging information about OSPF retransmission
queue events

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the switch for returning the debugging
information about OSPF retransmission queue events:
13-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands


ZXAN#debug ip ospf retransmission
OSPF retransmission events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.33 debug ip ospf spf


Syntax
debug ip ospf spf [external | inter | intra]
no debug ip ospf spf [external | inter | intra]

Purpose
To enable the debug switch for returning the debugging information about OSPF SPF

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

external

External route

inter

Inter-route

intra

Intra-route

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for returning the debugging
information about OSPF SPF:
ZXAN#debug ip ospf spf
OSPF spf external events debugging is on
OSPF spf inter events debugging is on
OSPF spf intra events debugging is on
ZXAN#debug ip ospf spf external
OSPF spf external events debugging is on

13-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.34 debug ip ospf tree


Syntax
debug ip ospf tree
no debug ip ospf tree

Purpose
To enable the debug switch for OSPF database tree

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for OSPF database tree:
ZXAN#debug ip ospf tree
OSPF database events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.35 debug ip pim-snooping


Syntax
debug ip pim-snooping
no debug ip pim-snooping

Purpose
To enable PIM snooping debug switch

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable PIM snooping debug switch:
ZXAN#debug ip pim-snooping
PIM SNOOPING debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.36 debug ip pimsm


Syntax
debug ip pimsm [assert | bsr-rp | message-recv | message-send | mrt | msdp | packet-recv |
packet-send | warning]
no debug ip pimsm [assert | bsr-rp | message-recv | message-send | mrt | msdp | packet-recv
| packet-send | warning]

Purpose
To enable PIM-SM debug switches
13-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

assert

PIM-SM debugging information

related with ASSERT


bsr-rp

PIM-SM debugging information

related with BSR and RP


message-recv

Debug information of the

PIM-SM received messages


message-send

Debug information of the

PIM-SM sent messages


mrt

Debug information of the

PIM-SM multicast routing table


msdp

PIM-SM debugging information

related to MSDP
packet-recv

Debug information of the

PIM-SM received protocol


messages
packet-send

Debug information of the

PIM-SM sent protocol messages


warning

PIM-SM alarm debugging

information

Mode
ZXAN#

Example
The following example displays how to enable PIM-SM debug switches:
ZXAN#debug ip pimsm assert
PIMSM assert debugging is off
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.
13-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.37 debug ip protocol


Syntax
debug ip protocol protocol-number
no debug ip protocol protocol-number

Purpose
To enable debug function of the specified upper layer protocol number to display IP
debugging information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

protocol-number

Protocol number

Range: 0 255

Mode
ZXAN#

Example
The following example displays how to enable debug function of the the specified upper
layer protocol number to display IP debugging information:
ZXAN#debug ip protocol 0
IP protocol number debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.38 debug ip rip


Syntax
debug ip rip
no debug ip rip
13-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the debug switch to trace the RIP packet receiving and sending information

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace the RIP packet
receiving and sending information:
ZXAN#debug ip rip
RIP protocol debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.39 debug ip rip all


Syntax
debug ip rip all
no debug ip rip all

Purpose
To enable all RIP debug switches

Usage Guidelines
None

Mode
ZXAN#

13-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Example
The following example displays how to enable all RIP debug switches:
ZXAN#debug ip rip all
All RIP debugging has been turned on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.40 debug ip rip database


Syntax
debug ip rip database
no debug ip rip database

Purpose
To enable the debug switch to trace RIP routing table changes

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace RIP routing table
changes:
ZXAN#debug ip rip database
RIP database events debugging is on
ZXAN#

Related Commands
terminal monitor
13-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
By default, all debug switches are disabled.

13.41 debug ip rip events


Syntax
debug ip rip events
no debug ip rip events

Purpose
To enable the debug switch to trace RIP related events, such as the interface status

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace the RIP related
events, such as the interface status:
ZXAN#debug ip rip events
RIP event debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.42 debug ip rip trigger


Syntax
debug ip rip trigger
no debug ip rip trigger

13-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Purpose
To enable the debug switch to trace RIP trigger events, such as timer timeout

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to trace the RIP trigger
events, such as timer timeout:
ZXAN#debug ip rip trigger
RIP trigger debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.43 debug ip source


Syntax
debug ip source ip-address
no debug ip source ip-address

Purpose
To enable the debug function of the specified source address to display the
debugging information processed by the IP protocol, and display whether the router is
sending/receiving the specified source IP address message

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Source IP address

A.B.C.D

13-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to enable the debug function of the specified source
address to display the debugging information processed by the IP protocol, and display
whether the router is sending/receiving the specified source IP address message:
ZXAN#debug ip source 192.168.6.6
IP source debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.44 debug ip tcp all


Syntax
debug ip tcp all
no debug ip tcp all

Purpose
To enable all TCP debug switches

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable all TCP debug switches:
ZXAN#debug ip tcp all
All TCP debugging has been turned on
ZXAN#

13-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.45 debug ip tcp driver


Syntax
debug ip tcp driver
no debug ip tcp driver

Purpose
To configure the debug switch for establishing and closing the TCP connections

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to configure the debug switch for establishing and
closing the TCP connections:
ZXAN#debug ip tcp driver
TCP driver event debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
When the switch is enabled, the related information is displayed, including TCP proactive
opening, passive opening, TCP link establishment timer, TCP normal closing, and
abnormal closing information.
By default, all debug switches are disabled.

13-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

13.46 debug ip tcp driver-pak


Syntax
debug ip tcp driver-pak
no debug ip tcp driver-pak

Purpose
To configure the debug switch for TCP buffer management information

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to configure the debug switch for TCP buffer
management information:
ZXAN#debug ip tcp driver-pak
TCP driver verbose debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
When the switch is enabled, the related information is displayed, including output packets,
transmitted packet size, received packets size, and deleted packet information.
When the user logs into the ZXMSG, the supplementary information about the TCP events,
such as BGP and FTP (not including Telnet), is displayed.
By default, all debug switches are disabled.

13.47 debug ip tcp packet


Syntax
debug ip tcp packet
no debug ip tcp packet
13-40
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Purpose
To configure the debug switch for the source and destination information about the TCP
sent/received packets

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to configure the debug switch for the source and
destination information about the TCP sent/received packets:
ZXAN#debug ip tcp packet
TCP Packet debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
After a switch is enabled, when TCP receives or sends a packet, information such
as source/destination address of data packet, port number, sequence number,
acknowledgment number, the size of receiving window, and control bit information is the
output.
When the user logs into the ZXMSG, the supplementary information about the TCP events,
such as BGP and FTP (not including Telnet), is displayed.
By default, all debug switches are disabled.

13.48 debug ip tcp transactions


Syntax
debug ip tcp transactions
no debug ip tcp transactions

Purpose
To enable the debug switch for TCP state transition information

13-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch for TCP state transition
information:
ZXAN#debug ip tcp transactions
TCP special debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
After the switch is enabled, the output will be the TCP special event information, including
the destination IP address, port number and MSS advertisement of TCP connection
established, the time resetting of retransmission timer, retransmission timeout, limited
state-machine transition, and releasing of TCP control block information.
When the user logs into the ZXMSG, the supplementary information about the TCP events,
such as BGP and FTP (not including Telnet), is displayed.
By default, all debug switches are disabled.

13.49 debug ip udp


Syntax
debug ip udp
no debug ip udp

Purpose
To configure the debug switch for the source and destination information about the UDP
sent/received packets

Usage Guidelines
None

13-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Mode
ZXAN#

Example
The following example displays how to configure the debug switch for the source and
destination information about the UDP sent/received packets:
ZXAN#debug ip udp
UDP packet debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
After the debug switch is enabled, source/destination addresses and port and UDP packet
length information are displayed when the UDP receives and sends a packet.
By default, all debug switches are disabled.

13.50 debug iptv


Syntax
debug iptv all
debug iptv {data | error | event} [rack-number shelf-number slot-number] [interface name {vpo
rt vportno | pvc pvcnumber}] [mvlan mvlanid group ipaddress] [mode {cdr | joinleave | oam |
timer}]
no debug iptv all
no debug iptv {data | error | event} [rack-number shelf-number slot-number] [interface name
{vport vportno | pvc pvcnumber}] [mvlan mvlanid group ipaddress] [mode {cdr | joinleave | oam
| timer}]

Purpose
To enable all IPTV debug switches

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

IPTV all debugging

13-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

data

IPTV data debugging

error

IPTV error debugging

event

IIPTV event debugging

rack-number

Rack number

shelf-number

Shelf number

Range: 0 4

slot-number

Slot number

Range: 1 16

interface name

Interface name

Epon-onu_rackno/slotno/portno:onuno

vport vportno

Virtual port number

Range: 1 256

pvc pvcnumber

PVC number

Range: 1 8

mvlan mvlanid

MVLAN ID

Range: 2 4095

group ipaddress

IP address

A.B.C.D

mode

IPTV mode

cdr, joinleave, oam, timer

Mode
ZXAN#

Example
The following example displays how to enable all IPTV debug switches:
ZXAN#debug iptv events 0 0 7 mode timer
IPTV events debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.51 debug lacp all


Syntax
debug lacp all
no debug lacp all

13-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Purpose
To enable all LACP debug switches

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable all LACP debug switches:
ZXAN#debug lacp all
Link Aggregation Control Protocol All debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.52 debug lacp fsm


Syntax
debug lacp fsm [interface port-number]
no debug lacp fsm [interface port-number]

Purpose
To enable all LACP state machine debug switches

Usage Guidelines
The following table provides parameter description:

13-45
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

interface port-number

Interface name

Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno

Mode
ZXAN#

Example
The following example displays how to enable all LACP state machine debug switches:
ZXAN#debug lacp fsm
Link Aggregation Control Protocol SM debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.53 debug lacp packet


Syntax
debug lacp packet [interface port-number]
no debug lacp packet [interface port-number]

13-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Purpose
To enable all LACP transceiver debug switches

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface port-number

Interface name

gei_1/3/portno
xgei_1/3/portno

Mode
ZXAN#

Example
The following example displays how to enable all LACP transceiver debug switches :
ZXAN#debug lacp packet
Link Aggregation Control Protocol packets debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.54 debug mstp agreement


Syntax
debug mstp agreement [interface interface-name instance instance-number]
no debug mstp agreement

Purpose
To enable the MSTP rapid role transition debug switch

Usage Guidelines
The following table provides parameter description:

13-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

interface interface-name

Interface name

gei_1/3/portno
xgei_1/3/portno
Smartgroup Interface Range: 1 8

instance instance-number

Instance number

Range: 0 31

Mode
ZXAN#

Example
The following example displays how to enable the MSTP rapid role transition debug switch:
ZXAN#debug mstp agreement
Multiple Spanning Tree agreement debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.55 debug mstp all


Syntax
debug mstp all
no debug mstp all

Purpose
To enable all MSTP debug switches

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable all MSTP debug switches:
13-48
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands


ZXAN#debug mstp all
Mstp Protocol All debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.56 debug mstp bpdu-rx


Syntax
debug mstp bpdu-rx [interface interface-name]
no debug mstp bpdu-rx

Purpose
To enable the MSTP BPDU received packet debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

Mode
ZXAN#

Example
The following example displays how to enable the MSTP BPDU received packet
information debug switch:
ZXAN#debug mstp bpdu-rx
Multiple Spanning Tree Received BPDUs debugging is on
ZXAN#

13-49
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.57 debug mstp bpdu-tx


Syntax
debug mstp bpdu-tx [interface interface-name ]
no debug mstp bpdu-tx

Purpose
To enable the MSTP BPDU transmitted message debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

Mode
ZXAN#

Example
The following example displays how to enable the MSTP transmitted message debug
switch:
ZXAN#debug mstp bpdu-tx
Multiple Spanning Tree Transmitted BPDUs debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.
13-50
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.58 debug mstp errors


Syntax
debug mstp errors
no debug mstp errors

Purpose
To enable the MSTP protocol error message debug switch

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the MSTP protocol error message debug
switch:
ZXAN#debug mstp errors
MST Protocol errors debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.59 debug mstp flush


Syntax
debug mstp flush [interface interface-name instance instance_number]
no debug mstp flush

Purpose
To enable the MSTP debug switch to delete MAC address information

13-51
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

instance instance_number

Instance number

Range: 0 31

Mode
ZXAN#

Example
The following example displays how to enable the MSTP debug switch to delete MAC
address information:
ZXAN#debug mstp flush
Multiple Spanning Tree port flush mechanism debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.60 debug mstp info


Syntax
debug mstp info [interface interface-name instance instance-number]
no debug mstp info

Purpose
To enable the MSTP information debug switch

Usage Guidelines
The following table provides parameter description:

13-52
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

instance instance-number

Instance number

Range: 0 31

Mode
ZXAN#

Example
The following example displays how to enable the MSTP information debug switch:
ZXAN#debug mstp info
Multiple Spanning Tree port info state machine debugging on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.61 debug mstp migration


Syntax
debug mstp migration [interface interface-name]
no debug mstp migration

Purpose
To enable the MSTP protocol migration state machine debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

13-53
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to enable the MSTP protocol migration state machine
debug switch:
ZXAN#debug mstp migration
Multiple Spanning Tree migration protocol state machine
debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.62 debug mstp proposals


Syntax
debug mstp proposals [interface interface-name instance instance-number]
no debug mstp proposals

Purpose
To enable the MSTP designated root handshake debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

instance instance-number

Instance number

Range: 0 31

Mode
ZXAN#
13-54
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Example
The following example displays how to enable the MSTP designated root handshake
debug switch:
ZZXAN#debug mstp proposals
Multiple Spanning Tree Proposal/Agree handshakes debugging
is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.63 debug mstp roles


Syntax
debug mstp roles [instance instance-number]
no debug mstp roles

Purpose
To enable the MSTP protocol role debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

instance instance-number

Instance number

Range: 0 31

Mode
ZXAN#

Example
The following example displays how to enable the MSTP protocol role debug switch:
ZXAN#debug mstp roles
MST Protocol roles debugging is on
ZXAN#

13-55
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.64 debug mstp state


Syntax
debug mstp state [interface interface-name]
no debug mstp state

Purpose
To enable the MSTP port state synchronization debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

Mode
ZXAN#

Example
The following example displays how to enable the MSTP port state synchronization debug
switch:
ZXAN#debug mstp state
Multiple Spanning Tree state sync debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all the debug switches are disabled.
13-56
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.65 debug mstp tc


Syntax
debug mstp tc [interface interface-name instance instance_number]
no debug mstp tc

Purpose
To enable the MSTP topology change notification debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface name

Gei_1/3/portno
Xgei_1/3/portno
Smartgroup
Interface Range: 1 8

instance instance_number

Instance number

Range: 0 31

Mode
ZXAN#

Example
The following example displays how to enable the MSTP topology change notification
debug switch:
ZXAN#debug mstp tc
Multiple Spanning Tree topology change notifications
debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13-57
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

13.66 debug port-location


Syntax
debug port-location all
debug port-location {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport portnumber |
pvc pvcnumber]
no debug port-location all
no debug port-location {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport portnumb
er | pvc pvcnumber]

Purpose
To display port location debugging information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

Port location all debugging

data

Port location data debugging

error

Port location error debugging

event

Port location event debugging

type_shelf/slot/{port-no | olt:onu}

Shelf, slot and port number

Range: 1 127 characters

gport portnumber

GEM port number

Range: 1 255

pvc pvcnumber

PVC number

Range: 1 8

Mode
ZXAN#

Example
The following example displays port location debugging information:
ZXAN#debug port-location data gei_1/3/1
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.
13-58
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.67 debug pppoe-plus


Syntax
debug pppoe-plus all
debug pppoe-plus {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport portnumber |
pvc pvcnumber]
no debug pppoe-plus all
no debug pppoe-plus {data | error | event} type_shelf/slot/{port-no | olt:onu} [gport portnumber
| pvc pvcnumber]

Purpose
To display PPPoE+ debugging information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

PPPoE+ debugging information

data

PPPoE+ data debugging

information
error

PPPoE+ error debugging

information
event

PPPoE+ event debugging

information
type_shelf/slot/{port-no | olt:onu}

Shelf, slot and port number

Range: 1 127

gport portnumber

GEM port number

Range: 1 255

pvc pvcnumber

PVC number

Range: 1 8

Mode
ZXAN#

Example
The following example displays PPPoE+ debugging information:
ZXAN#debug pppoe-plus all
pppoe-plus all debugging is on
ZXAN#

13-59
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.68 debug radius all


Syntax
debug radius all
no debug radius all

Purpose
To enable the debug switch to display all the RADIUS debugging information

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to display all the RADIUS
debugging information:
ZXAN#debug radius all
All radius debugging has been turned on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.69 debug radius authentication


Syntax
debug radius authentication {data | error | event | packet {group-number | all} }
13-60
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

no debug radius authentication {data | error | event | packet}

Purpose
To display RADIUS authentication debugging information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

All RADIUS group

authentication
data

RADIUS data debugging

error

RADIUS error debugging

event

RADIUS event debugging

packet

RADIUS event debugging

group-number

RADIUS group number

Range: 1 10

Mode
ZXAN#

Example
The following example displays RADIUS authentication debugging information:
ZXAN#debug radius authentication packet 1
debug radius authenticaion packet turned on group 65536
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.70 debug radius exception


Syntax
debug radius exception
no debug radius exception
13-61
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display RADIUS exception debugging information

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays RADIUS exception debugging information:
ZXAN#debug radius exception
debug radius exception turned on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.71 debug radius user


Syntax
debug radius user user-name domain-name
no debug radius user

Purpose
To enable the debug switch to display RADIUS user debugging information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

user-name

User name

Range: 1 32 characters

domain-name

Domain name

Range: 1 32 characters

13-62
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Mode
ZXAN#

Example
The following example displays how to enable the debug switch to display RAIDUS user
debugging information:
ZXAN#debug radius user user domain
debug radius user turned on user@doma
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.72 debug ssh


Syntax
debug ssh {clear sshnum | show}

Purpose
To display SSH session debugging information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

clear sshnum

Clear SSH session number

Range: 0 15

show

Show SSH session information

Mode
ZXAN#

Example
The following example displays SSH session debugging information:
ZXAN#debug ssh show
g_context state is 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
g_context cookie is 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

13-63
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


g_context stynum is 0 1 2 3 4 5 6 7 8 9 a b c d e f
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.73 debug syscomm


Syntax
debug syscomm {all | data | error | event | packet}
no debug syscomm {all | data | error | event | packet}

Purpose
To debug system communication port information

Usage Guidelines
The following table provides parameter description:
Parameter
all

Description

Value

Debug system communication

information
data

Debug system communication

data information
error

Debug system communication

error information
event

Debug system communication

event information
packet

Debug system communication

packet information

Mode
ZXAN#

Example
The following example displays how to debug system communication port information:
ZXAN#debug syscomm all

13-64
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands


ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.74 debug sysctrl


Syntax
debug sysctrl {all | data | error | event | packet}
no debug sysctrl {all | data | error | event | packet}

Purpose
To debug the system control information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

Debug system control

information
data

Debug system control data

information
error

Debug system control error

information
event

Debug system control event

information
packet

Debug system control packet

information

Mode
ZXAN#

Example
The following example displays how to debug the system control information:
ZXAN#debug sysctrl all
ZXAN#

13-65
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.75 debug version-mng


Syntax
debug version-mng {all | data | error | event | packet}
no debug version-mng {all | data | error | event | packet}

Purpose
To debug the version management information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

Debug version management

information
data

Debug version management

data information
error

Debug version management

error information
event

Debug version management

event information
packet

Debug version management

packet information

Mode
ZXAN#

Example
The following example displays how to debug the version management information:
ZXAN#debug version-mng all
ZXAN#

13-66
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

13.76 debug vlan


Syntax
debug vlan {data | error | event}
no debug vlan {data | error | event}

Purpose
To enable the VLAN debug switch

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

data

VLAN data information

error

VLAN error information

event

VLAN event information

Mode
ZXAN#

Example
The following example displays how to enable the VLAN debug switch:
ZXAN#debug vlan data
Vlan data debugging is on
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.
13-67
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

13.77 debug vrrp


Syntax
debug vrrp {all | state | error | event | packet}
no debug vrrp {all | state | error | event | packet}

Purpose
To enable the switch for displaying VRRP debugging information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

VRRP related debugging

information
state

VRRP state change debugging

information
error

Error packet information

received by VRRP
event

Information triggering VRRP

state change
packet

Packet information

received/sent by the VRRP

Mode
ZXAN#

Example
The following example displays how to enable the switch for displaying VRRP debugging
information:
ZXAN#debug vrrp state
VRRP state debugging is on
ZXAN#

Related Commands
terminal monitor

13-68
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

13.78 show debugging


Syntax
show debugging

Purpose
To display the enabled debug switches

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the enabled debug switches:
ZXAN#show debugging
IP routing:
RIP database events debugging is on
OSPF spf external events debugging is on
OSPF spf inter events debugging is on
OSPF spf intra events debugging is on
OSPF non-stop forwarding events debugging is on
BGP dampening debugging is on
BGP updates debugging is on
port-location:
port-location debugging Error all is on
port-location debugging Data all is on
port-location debugging Event all is on
RSL:
Syscomm error debugging is on
ZXAN#

Related Commands
All debug commands

Related Information
By default, all debug switches are disabled.

13-69
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

13.79 terminal monitor


Syntax
terminal monitor
no terminal monitor

Purpose
To output the debug information to the current terminal

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to output the debug information to the current terminal:
ZXAN#terminal monitor
ZXAN#

Related Commands
All debug commands

13.80 terminal length


Syntax
terminal length line-number
no terminal length

Purpose
To configure the number of lines on the current terminal screen for the current session

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

line-number

Line number

Range: 0 512

13-70
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 13 Debugging Commands

Mode
ZXAN#

Example
The following example displays how to configure the number of lines on the current terminal
screen for the current session:
ZXAN#terminal length 3
ZXAN#

Related Commands
None

13-71
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

13-72
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 14

Monitor Commands
Table of Contents
system-monitor endless-loop duration ......................................................................14-1
system-monitor endless-loop reboot .........................................................................14-2
system-monitor task-suspend-reboot........................................................................14-2
system-monitor watchdog.........................................................................................14-3
system-monitor watchdog-duration...........................................................................14-4
pon-loopback-auto-check-time .................................................................................14-4

14.1 system-monitor endless-loop duration


Syntax
system-monitor endless-loop duration rackno rackno shelfno shelfno slotno slotno value value

Purpose
To modify the standard of monitoring endless-loop tasks

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno

Rack number

13

shelfno

Shelf number

13

slotno

Slot number

0 22

value

CPU usage of a single task

1 100

Mode
ZXAN(config)#

Example
The following example displays how to modify the standard of monitoring endless-loop
tasks:
ZXAN(config)#system-monitor endless-loop duration rackno 1 shelfno 1 slotno 11 value 25

14-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

14.2 system-monitor endless-loop reboot


Syntax
system-monitor endless-loop reboot rackno rackno shelfno shelfno slotno slotno {enable | dis
able}

Purpose
To configure whether to reboot the card when the endless-loops reach the specified
standard threshold

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno

Rack number

13

shelfno

Shelf number

13

slotno

Slot number

0 22

Mode
ZXAN(config)#

Example
The following example displays how to reboot the card when the endless-loops reach the
specified standard threshold:
ZXAN(config)#system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 11 enable

14.3 system-monitor task-suspend-reboot


Syntax
system-monitor task-suspend-reboot rackno rackno shelfno shelfno slotno slotno {all | fatal |
none}

Purpose
To monitor the task suspending

Usage Guidelines
The following table provides parameter description:

14-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 14 Monitor Commands

Parameter

Description

Value

rackno

Rack number

13

shelfno

Shelf number

13

slotno

Slot number

0 22

all

To restart the card when all the

tasks are suspended


fatal

To restart the card when the key

tasks are suspended


none

Not restart the card even if all

the tasks are suspended

Mode
ZXAN(config)#

Example
The following example displays how to restart the card when all the tasks are suspended:
ZXAN(config)#system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 11 all

14.4 system-monitor watchdog


Syntax
system-monitor watchdog rackno rackno shelfno shelfno slotno slotno {enable | disable}

Purpose
To enable the system monitoring watchdog
When this function is disabled, the card is restarted.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno

Rack number

13

shelfno

Shelf number

13

slotno

Slot number

0 22

Mode
ZXAN(config)#
14-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to enable the system monitoring watchdog:
ZXAN(config)#system-monitor watchdog rackno 1 shelfno 2 slotno 3 enable

14.5 system-monitor watchdog-duration


Syntax
system-monitor watchdog-duration rackno rackno shelfno shelfno slotno slotno value value

Purpose
To modify the waiting time of the system monitoring watchdog

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno

Rack number

13

shelfno

Shelf number

13

slotno

Slot number

0 22

value

CPU usage of a single task

1 100

Mode
ZXAN(config)#

Example
The following example displays how to modify the waiting time of the system monitoring
watchdog:
ZXAN(config)#system-monitor watchdog-duration rackno 1 shelfno 2 slotno 3 value 34

14.6 pon-loopback-auto-check-time
Syntax
pon-loopback-auto-check-time time

Purpose
To start recheck automatically and periodically after detecting loopback

14-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 14 Monitor Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Time to start recheck

10 3600 seconds

Mode
ZXAN(config)#

Example
The following example displays how to start recheck automatically and periodically after
detecting loopback:
ZXAN(config)#pon-loopback-auto-check-time 45

Related Information
After the detecting loopback, the system starts recheck automatically and periodically to
check whether the loopback disappears. If the system does not detect the loopback for
three times, it considers that the loopback disappears.

14-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

14-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15

VLAN Commands
Table of Contents
Global Commands....................................................................................................15-1
Uplink Port Command at Network Side.....................................................................15-8
Commands at User side .........................................................................................15-12
Service-Port Commands ........................................................................................15-16
Smart QinQ Commands .........................................................................................15-20
Layer-2 Communication Commands ......................................................................15-22
Show Commands ...................................................................................................15-24

15.1 Global Commands


15.1.1 vlan
Syntax
vlan {vlan-id | name vlan-name}
no vlan {vlan-id | name vlan-name}

Purpose
To enter VLAN mode to configure VLAN attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan-id

VLAN ID

Range: 1 4094

database

VLAN database

name vlan-name

VLAN name

Range: 1 31 characters

Mode
ZXAN(config)#

Example
The following example displays how to enter VLAN mode to configure VLAN attributes:
15-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#vlan 2
ZXAN(config-vlan)#

Related Commands
show vlan

15.1.2 vlan database


Syntax
vlan database

Purpose
To enter VLAN database mode to configure VLAN attributes

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enter VLAN database mode to configure VLAN
attributes:
ZXAN(config)#vlan database
ZXAN(VLAN)#

Related Commands
None

15.1.3 name
Syntax
name vlan-name
no name

Purpose
To configure VLAN name
15-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan-name

VLAN name

Range: 1 31 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure VLAN name:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#name v2
ZXAN(config-vlan)#

Related Commands
show vlan

15.1.4 description
Syntax
description description-info
no description

Purpose
To provide description for the VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

description-info

VLAN description

Range: 1 63 characters

Mode
ZXAN(config-vlan)#

Example
The following example displays how to provide description for the VLAN:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#description dialing-network

15-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-vlan)#exit
ZXAN(config)#vlan 3
ZXAN(config-vlan)#description dialing-network
ZXAN(config-vlan)#

Related Commands
show vlan

15.1.5 multicast-packet
Syntax
multicast-packet {flood-all | flood-unknown | drop-unknown}

Purpose
To configure VLAN based multicast packet flood type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flood-all

Flood all packets

flood-unknown

Flood unknown packets

drop-unknown

Drop unknown packets

Mode
ZXAN(config-vlan)#

Example
The following example displays how to configure VLAN based multicast packet flood type:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#multicast-packet drop-unknown
ZXAN(config-vlan)#

Related Commands
show vlan

Related Information
By default, flood-unknown is the VLAN based multicast packet flood type.
15-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

15.1.6 vlan (Database Mode)


Syntax
vlan {vlan-id | vlan-name} [name vlan-name]
no vlan vlan-list [vlan-name]

Purpose
To create a VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan-list

VLAN ID

Range: 1 4094

name vlan-name

VLAN name

Range: 1 32 characters

vlan-list

VLAN list

Mode
ZXAN(vlan)#

Example
The following example displays how to create a VLAN:
ZXAN(config)#vlan database
ZXAN(vlan)#vlan 2-100
ZXAN(vlan)#

Related Commands
show vlan summary

Related Information
By default, VLAN 1 is created automatically.

15.1.7 vbas
Syntax
vbas { enable | disable }

Purpose
To enable or disable VBAS in VLAN
15-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable VBAS

disable

Disable VBAS

Mode
ZXAN(vlan)#

Example
The following example displays how to enable VBAS in VLAN:
ZXAN(config)#vlan 1
ZXAN(vlan)#vbas enable

Related Commands
None

15.1.8 vlan-statistic
Syntax
vlan-statistic { enable | disable }

Purpose
To enable or disable VLAN statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

disable

Disable

Mode
ZXAN(config-vlan)#

Example
The following example displays how to enable VLAN statistics:
ZXAN(config)#vlan 1
ZXAN(config-vlan)#vlan-statistic enable

15-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Related Commands
None

15.1.9 xconnect
Syntax
xconnect { enable | disable }

Purpose
To enable or disable 1:1 VLAN transparent transmission

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable 1:1 VLAN

disable

Disable 1:1 VLAN

Mode
ZXAN(config-vlan)#

Example
The following example displays how to enable 1:1 VLAN transparent transmission:
ZXAN(config)#vlan 1
ZXAN(config-vlan)#xconnect enable

Related Commands
None

15.1.10 vlan-xconnect
Syntax
vlan-xconnect user-port user-interface {[vport vport id] | [sport sport id]} uplink-port uplink-in
terface [svlan svlanid [cvlan cvlanid]]
no vlan-xconnect user-port user-interface {[vport vport id] | [sport sport id]} uplink-port uplin
k-interface [svlan svlanid [cvlan cvlanid]]

Purpose
To configure 1:1 VLAN cross connection entries
15-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Use no vlan-xconnect command to delete the configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

user-interface

User interface

vport vport id

Virtual port ID

1 128

sport sport id

Service port ID

1 128

uplink-interface

Uplink interface

svlan svlanid

SVLAN ID

1 4094

cvlan cvlanid

CVLAN ID

1 4094

Mode
ZXAN(config)#

Example
The following example displays how to configure a 1:1 VLAN:
ZXAN(config)#vlan-xconnect user-port gpon-onu_1/1/1:1

uplink-port gei_1/3/1

svlan 100

Related Commands
show vlan-xconnect detail
show vlan-xconnect summary

15.2 Uplink Port Command at Network Side


15.2.1 switchport mode
Syntax
switchport mode {access | trunk | hybrid}

Purpose
To configure the VLAN port link mode

Usage Guidelines
The following table provides parameter description:

15-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Parameter

Description

Value

access

Switch-port in access (untag)

mode
trunk

Switch-port in trunk (tag) mode

hybrid

Switch-port in hybrid (tag and

untag) mode

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the VLAN port link mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#

Related Commands
show vlan port

Related Information
l

l
l
l

If a trunk/hybrid port is changed to an access port, it is necessary to delete the tag


and untag VLANs of this port at the same time because the access port can belong
to only one VLAN.
In other switching mode, the tag and untag VLANs of this port should be deleted as
well.
Access port can only belong to one VLAN (except VLAN 1).
Uplink port cannot be configured in access mode.

15.2.2 switchport default vlan


Syntax
switchport default vlan {vlan-id | vlan-name}
no switchport default vlan

Purpose
To configure the default characteristics of the VLAN

Usage Guidelines
The following table provides parameter description:
15-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

vlan-id

VLAN ID

Range: 1 4094

vlan-name

ASCII name for VLAN

Range: 1 32 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the default characteristics of the VLAN:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#

Related Commands
show vlan port

15.2.3 switchport vlan


Syntax
switchport vlan vlan-list {tag | untag}
no switchport vlan vlan-list

Purpose
To create a VLAN if it does not exist and add a port to the VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan-list

VLAN list

tag

Tag mode

untag

Untag mode

Mode
ZXAN(config-if)#

Example
The following example displays how to create a VLAN if it does not exist and add a port to
the VLAN:
15-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands


ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport vlan 100,102-110 untag
ZXAN(config-if)#

Related Commands
show vlan port

15.2.4 switchport tpid


Syntax
switchport tpid { number | vlan | port }

Purpose
To configure the TPID port attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number

TPID number

0xHHHH

vlan

vlan

port

port

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the TPID port attributes:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport tpid 0x9100
ZXAN(config-if)#

Related Commands
show vlan port

15-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

15.3 Commands at User side


15.3.1 switchport mode
Syntax
switchport mode {access | trunk | hybrid} [vport vportid]

Purpose
To configure the VLAN port link mode at the user side

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

access

Switch-port in access mode

trunk

Switch-port in trunk mode

hybrid

Switch-port in hybrid mode

vport vportid

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the VLAN port link mode at the user side:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport mode hybrid
ZXAN(config-if)#

Related Commands
show vlan port

Related Information
l

l
l
l

If a trunk/hybrid port is changed to an access port, it is necessary to delete the tag


and untag VLANs of this port at the same time because the access port can belong
to only one VLAN.
In other switching mode, the tag and untag VLANs of this port should be deleted as
well (except VLAN 1).
Access port can only belong to one VLAN.
Uplink port cannot be configured in access mode.
15-12

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

15.3.2 switchport default vlan


Syntax
switchport default vlan {vlan-id | vlan-name} [one-to-one | vport vportid]
no switchport default vlan [pvc pvc]

Purpose
To configure the default characteristics of the VLAN at the user side

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan-id

VLAN ID

Range: 1 4094

vlan-name

VLAN name

Range: 1 32 characters

one-to-one

One to one

vport vportid

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the default characteristics of the VLAN
at the user side:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#

Related Commands
show vlan port

15.3.3 switchport tls


Syntax
switchport tls {enable | disable} [vport vportid]

Purpose
To enable or disable the TLS
15-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the TLS on the port

disable

Disable the TLS on the port

vport vportid

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the TLS:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport tls enable
ZXAN(config-if)#

Related Commands
show vlan port

15.3.4 switchport tls vlan


Syntax
switchport tls vlan {vlan-id | vlan-name} [vport vportid]

Purpose
To configure the TLS characteristics of the interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan-id

VLAN ID

Range: 1 4094

vlan-name

VLAN name

Range: 1 32 characters

vport vportid

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
ZXAN(config-if)#
15-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Example
The following example displays how to configure the TLS characteristics of the interface:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#switchport tls vlan 2
ZXAN(config-if)#

Related Commands
show vlan port

15.3.5 switchport vlan


Syntax
switchport vlan vlan-list {tag | untag} [vport vportid]
no switchport vlan vlan-list [pvc pvc]

Purpose
To configure the characteristics of the VLAN at the user side

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan-list

VLAN ID or VLAN name

VLAN ID: 1 4094


VLAN name: 1 32 characters

tag

Set interface tag VLAN ID

untag

Set interface untag VLAN ID

vport vportid

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the characteristics of the VLAN at the
user side:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#switchport vlan 100-110 untag
ZXAN(config-if)#

15-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show vlan port

15.4 Service-Port Commands


15.4.1 service-port
Syntax
service-port service-port [ vport vport ] user-vlan { untagged | user-vlan [ to user-vlan ]} [ us
er-etype { PPPOE | IPOE | user-define value } [ filter { enable | disable }] ] [ user-priority
priority ] { [vlan vlan] [ svlan svlan ] } [1:1 | N:1 ][ new-cos cos ][ vlan-xconnect ] [ transparent
] [queuequeueno]
service-port portid [ vport vport ]{ enable | disable }
service-port portid [ vport vport ] description string
service-port portid [ vport vport ] other-all tls-vlan vid [ queue-no queue-no ]
no service-port service-port

Purpose
To configure the service port to implement VLAN translation and smart QinQ function at
the ONU-level
To delete the configuration, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

service-port

Service port ID

Range: 1 24 (EPON)
Range: 1 128 (GPON)

vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

untagged

Untagged packet

user-vlan

User VLAN

Range: 1 4094

user-etype

Ethernet type

user-define value

Packet encapsulation mode

0xHHHH

filter { enable | disable }

Enable or disable packet filter

function
vlan

CVLAN after VLAN translation

Range: 1 4094

15-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Parameter

Description

Value

1:1 | N:1

1:1 or N:1 VLAN translation

svlan

SVLAN after VLAN translation

Range: 1 4094

new-cos cos

CoS after VLAN translation

Range: 0 7

user-priority priority

Priority

Range: 0 7

queue-no queue-no

Queue ID

Range: 0 7

Mode
ZXAN(config-if)#

Example
The following example shows how to configure the service port on epon-onu-1/3/1:1:
ZXAN(config)#interface epon-onu_1/1/1:1
ZXAN(confid-if)#service-port 1 user-vlan 20 to 20 vlan 100 svlan 101 vlan-xcon
nect
ZXAN(config-if)#service-port 2 user-vlan untagged vlan 21 svlan 31
ZXAN(config-if)#service-port 3 user-vlan 22 user-etype PPPOE vlan 102 svlan 103

Related Commands
show service-port

Related Information
The ZXA10 C320 supports maximum 17 4096 service-ports (128 service-ports per ONU
and 4096 service-ports per card).
The service port configuration is applicable to the following scenarios:
Before VLAN Translation

After VLAN Translation

Untag

Single-tag VLAN + new CoS


Double-tag VLAN + new CoS

Untag + Ethernet type

Single-tag VLAN + new CoS


Double-tag VLAN + new CoS

Untag + priority type

Single-tag VLAN + new CoS


Double-tag VLAN + new CoS

Tag VLAN

Tag VLAN (transparent transmission)


Single-tag VLAN + new CoS
Double-tag VLAN + new CoS

15-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Before VLAN Translation

After VLAN Translation

Tag VLAN + Ethernet type

Single-tag VLAN + new CoS


Double-tag VLAN + new CoS

Tag VLAN + priority type

Single-tag VLAN + new CoS


Double-tag VLAN + new CoS

Tag VLAN list

VLAN list + SVLAN + new CoS

Tag VLAN list + Ethernet type

VLAN list + SVLAN + new CoS

Tag VLAN list + priority type

VLAN list + SVLAN + new CoS

15.4.2 service-port (TLS)


Syntax
service-port service-port [vport vport] tls-vlan tls-vlan
no service-port service-port [vport vport] tls-vlan

Purpose
To configure TLS service scenario
To delete the configuration, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

service-port

Service port ID

Range: 1 24 (EPON)
Range: 1 128 (GPON)

vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

tls-vlan

TLS VLAN ID

Range: 1 4094

Mode
ZXAN(config-if)#

Example
The following example shows how to The following example shows how to configure the
TLS service scenario:
ZXAN(config)#interface epon-onu_1/1/1:1
ZXAN(config-if)#service-port 1 tls-vlan 100

15-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands


ZXAN(config-if)#

Related Commands
show service-port

Related Information
When you configure a TLS VLAN on a service port, the port TLS attribute is enabled by
default.

15.4.3 service-port description


Syntax
service-port service-port [vport vport] description name
no service-port service-port [vport vport] description

Purpose
To configure the description of the service port
To delete the configuration, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

service-port

Service port ID

Range: 1 24 (EPON)
Range: 1 128 (GPON)

vport vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

name

Service port name

Range: 1 32 characters

Mode
ZXAN(config-if)#

Example
The following example shows how to The following example shows how to configure the
description of service port 1 on epon-onu_1/1/1:1:
ZXAN(config)#interface epon-onu_1/1/1:1
ZXAN(config-if)#service-port 1 description test
ZXAN(config-if)#

15-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show service-port

15.5 Smart QinQ Commands


15.5.1 vlan-smart-qinq
Syntax
vlan-smart-qinq { enable | disable }

Purpose
To enable or disable the smartQ-in-Q

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable Q-in-Q

diable

Disable Q-in-Q

Mode
ZXAN(config)#: Enable global Q-in-Q.
ZXAN(config-if)#: Enable OLT port Q-in-Q.

Example
l

The following example displays how to enable global Q-in-Q.


ZXAN(config)#vlan-smart-qinq enable

The following example displays how to enable OLT port Q-in-Q.


ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#vlan-smart-qinq enable

Related Command
show vlan-smart-qinq

15-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

15.5.2 vlan-smart-qinq ingress-port


Syntax
vlan-smart-qinq ingress-port interface {cvlan begin-cvlan to end-cvlan[cos cospriority| ether-t
ype ether-type] svlan svlanid | ether-type ether-type svlan svlanid | cos cospriority svlan svlanid}
[newcos newcosvalue]
no vlan-smart-qinq ingress-port interface {cvlan begin-cvlan to end-cvlan[cos cospriority| et
her-type ether-type] svlan svlanid | ether-type ether-type svlan svlanid | cos cospriority svlan
svlanid} [newcos newcosvalue]

Purpose
To configure Q-in-Q VLAN rule
Use no command to delete the rule.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

OLT interface or ONU interface

OLT PON interface or ONU

name

PON interface

VLAN value of a single CVLAN

Range: 1 4093

cvlan begin-cvlan to end-cvlan

Start VLAN
End VLAN
ether-typeether-type

Ethernet protocol type

PPPoE (0x8863 | 0x8864)

ARP (0x0806)

IP (0x0800)

cos priority

CoS priority

Range: 0 7

cos newcosvalue

Newcos value

Range: 0 7

svlan{svlanid | vlanname}}

Configure SVLAN

Range: 1 4094

Mode
ZXAN(config)#

Example
The following example displays how to configure Q-in-Q VLAN rule.
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/1/1 cvlan 1000 to 1001 svlan
1024

Related Command
show vlan-smart-qinq
15-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
l

Smart Q-in-Q rule supports the following modes:

Based on a single CVLAN

Base on CVLAN segment

Based on CoS

Based on Ethernet type

Based on CVLAN + CoS

Based CVLAN + Ethernet

VLAN Transparent transmission

begin-cvlan and end-cvlan meet the following requirements:


Step formula: step = endcvlan-beging
step=endcvlan begincvlan+1 (the step must be 2n)

begin-cvlan is not less than the step and begin-cvlan can be divided exactly by the step.
See the following formula:
begincvlan = step M (M=1,2,)

l
l
l

If the CVLAN segment does not meet the above requirements, divide the CVLAN
segment into different CVLAN segments, which meet the above requirements.
The same port only supports one smart Q-in-Q rule based on CVLAN, CoS or Ethernet
type.
The system supports maximum 18 4 1024 Q-in-Q rules (CVLAN and SVLAN
mapping). Each port and each card supports maximum 256 Q-in-Q rules.

15.6 Layer-2 Communication Commands


15.6.1 security usercommunication control
Syntax
security usercommunication control { enable | disable}

Purpose
To set the global user communication control

Usage Guidelines
None

Mode
ZXAN(config)#
15-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Example
The following example shows how to set the global user communication control:
ZXAN(config)#security usercommunication control enable

Related Commands
show security usercommunication control

Related Information
If this command is enabled, all user ports shall be insulted from each other, but remains
linked in configured VLAN. Besides, user port and uplink port are linked. If it is disabled,
then all user ports are linked with each other.
This command cannot be enabled with command global user insulation together. They
are exclusive.

15.6.2 security usercommunication svlan


Syntax
security usercommunication svlan vlan id1[ cvlan vlan id2]

Purpose
To configure the user communication SVLAN where user ports can communicate directly
with each other

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

vlan id1

Outer VLAN ID

vlan id2

Inner VLAN ID

Mode
ZXAN(config)#

Example
The following example shows how to the configure user communication SVLAN:
ZXAN(config)#security usercommunication svlan 23

Related Commands
None
15-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

15.7 Show Commands


15.7.1 show vlan summary
Syntax
show vlan summary

Purpose
To display all the created VLAN IDs

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays all the created VLAN IDs:
ZXAN#show vlan summary
All created vlan num: 208
Details are following:
1-102,200-201,500,600,1000-1100,2600
ZXAN#

Related Commands
None

15.7.2 show vlan


Syntax
show vlan {vlan-id | name vlan-name}

Purpose
To display the VLAN information

Usage Guidelines
The following table provides parameter description:

15-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Parameter

Description

Value

vlan-id

VLAN ID

Range: 1 4094

name vlan-name

VLAN name

Range: 1 32 characters

Mode
Any mode except user mode

Example
The following example displays the VLAN information :
ZXAN#show vlan 2
vlanid:

name:

v2

description:

dialing-network

multicast-packet:

flood-unknow

port(untagged):
port(tagged):
ZXAN#

Related Commands
None

15.7.3 show vlan port


Syntax
show vlan port interface-name [vport vportid]

Purpose
To display the VLAN port information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

vport vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
Any mode except user mode
15-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the VLAN port information:
ZXAN#show vlan port gei_1/3/1
Mode

Pvid CPvid Tpid

ProtEn

PrioEn

TLSEn

TLSVlan UntagVlan TagVlan

------------------------------------------------------------------------------hybrid 1

0x8100 disable disable disable 0

ZXAN#show vlan port epon-onu_1/1/1:1


Mode

Pvid CPvid Tpid

ProtEn

PrioEn

TLSEn

TLSVlan UntagVlan TagVlan

------------------------------------------------------------------------------hybrid 1

0x8100 disable disable disable 0

Related Commands
None

15.7.4 show vlan priority


Syntax
show vlan priority interface-name [vport vport]

Purpose
To display the VLAN priority information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

vport vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
Any mode except user mode

Example
The following example displays the VLAN priority information:
ZXAN#show vlan priority epon-onu_1/1/2:3 vport 100
ZXAN#

15-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Related Commands
None

15.7.5 show vlan protocol


Syntax
show vlan protocol interface-name [vport vport]

Purpose
To display the VLAN protocol information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

vport vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
Any mode except user mode

Example
The following example displays the VLAN protocol information:
ZXAN(config)#show vlan protocol gpon-onu_1/2/1:1 vport 1
Protocol-type Vlan

CVlan

------------------------------------------------------------

Related Commands
None

15.7.6 show vlan qinq


Syntax
show vlan qinq interface-name [vport vport]

Purpose
To display the port Q-in-Q VLAN information

15-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

vport vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
Any mode except user mode

Example
The following example displays the port Q-in-Q VLAN information:
ZXAN#show vlan qinq epon-olt_1/1/1
ZXAN#

Related Commands
None

15.7.7 show vlan translate


Syntax
show vlan translate interface-name [vport vport]

Purpose
To display the port VLAN translation information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

vport vport

Virtual port ID

1 (EPON)
Range: 1 128 (GPON)

Mode
Any mode except user mode

Example
The following example displays the port VLAN translation information:
15-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands


ZXAN#show vlan translate epon-olt_1/1/1
ZXAN#

Related Commands
None

15.7.8 show vlan-smart-qinq


Syntax
show vlan-smart-qinq [ingress-port interface[svlan svlanid ] | global-status | port-status ingre
ss-port interface ]

Purpose
To display smart Q-in-Q VLAN rule

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

OLT interface or ONU interface

OLT PON interface or ONU


PON interface

SVLAN ID

svlan svlanid

Range: 1 4094

Mode
Any mode except user mode

Example
The following example displays the smart Q-in-Q VLAN rule:
ZXAN(config)#show vlan-smart-qinq
smart-qinq item num: 6
Ingress-Port Begin-Cvlan End-Cvlan Ether-Type Cos Svlan NewCos
------------------------------------------------------------------epon-olt_1/1/1 10

10

0x0

epon-olt_1/1/1 20

20

0x0800

2500

0xff 2500

epon-olt_1/1/1 0

0x0

2500

epon-olt_1/1/1 0

0x0806

0xff 2500

epon-olt_1/1/1 30

30

0x0

0xff 2500

epon-olt_1/1/1 45

50

0x0

0xff 2500

Related Command
vlan-smart-qinq
15-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

vlan-smart-qinq ingress-port

15.7.9 show interface vlan-statistic detail


Syntax
show interface vlan-statistic detail interface svlan svlan[cvlan cvlan]

Purpose
To show the statistic details on the interface VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

svlan

SVLAN ID

1 4094

cvlan

CVLAN ID

0 4094

Mode
ZXAN(config)#

Example
The following example displays the statistic details on the interface VLAN:
ZXAN(config)#show interface vlan-statistic detail gei_1/3/1 svlan 2 cvlan 2
upbyte

: 0 Byte

downbyte

: 0 Byte

uppacket

: 0 Packet

downpacket

: 0 Packet

updroppacket : 0 Packet

15.7.10 show security usercommunication-control


Syntax
show security usercommunication-control

Purpose
To show the global user communication control configuration

Usage Guidelines
None
15-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 15 VLAN Commands

Mode
All modes except user mode

Example
The following example shows the global user communication control configuration:
ZXAN#show security usercommunication-control
Vlan communication disable

Related Commands
None

15-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

15-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 16

SuperVLAN Commands
Table of Contents
arp-broadcast ...........................................................................................................16-1
interface supervlan ...................................................................................................16-2
interface-subvlan-routing ..........................................................................................16-3
ip supervlan pool ......................................................................................................16-3
ip-pool-filter ..............................................................................................................16-4
subvlan ....................................................................................................................16-5
supervlan .................................................................................................................16-6
supervlan inter-subvlan-routing ................................................................................16-6
show supervlan ........................................................................................................16-7
show supervlan ip-pool.............................................................................................16-8

16.1 arp-broadcast
Syntax
arp-broadcast {enable | disable}

Purpose
To enable or disable the super VLAN to make ARP broadcast for all its sub-VLANs/physical
interfaces

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable super VLAN ARP

broadcast
disable

Disable super VLAN ARP

broadcast

Mode
ZXAN(config-if)#

16-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to enable the super VLAN to make ARP broadcast
for all its sub-VLANs/physical interfaces:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#arp-broadcast enable
ZXAN(config-if)#

Related Commands
None

Related Information
This command is to prevent the broadcast storm from decreasing the system processing
efficiency, and provide a configurable ARP broadcast function for users. The user can
display this configuration using the show running-config command in the super VLAN
interface.

16.2 interface supervlan


Syntax
interface {supervlan supervlan-id | supervlan-name}
no interface {supervlan supervlan-id | supervlan-name}

Purpose
To create a super VLAN and enter the super VLAN configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

supervlan-number

Super VLAN name

Range: 1 32

Mode
ZXAN(config)#

Example
The following example displays how to create a super VLAN and enter the super VLAN
configuration mode:
ZXAN(config)#interface supervlan 10
ZXAN(config-if)#

16-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 16 SuperVLAN Commands

Related Commands
None

16.3 interface-subvlan-routing
Syntax
inter-subvlan-routing {enable | disable}

Purpose
To enable or disable routing between sub-VLANs

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable routing between

sub-VLANs
disable

Disable routing between

sub-VLANs

Mode
ZXAN(config-if)#

Example
The following example displays how to enable routing between sub-VLANs:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#inter-subvlan-routing enable
ZXAN(config-if)#

Related Commands
None

16.4 ip supervlan pool


Syntax
ip supervlan pool begin-address end-address
16-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To bind an IP address segment to a VLAN/physical interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

begin-address

Staring IP address

A.B.C.D

end-address

Ending IP address

A.B.C.D

Mode
ZXAN(config-vlan)#

Example
The following example displays how to bind an IP address segment to a VLAN/physical
interface:
ZXAN(config)#vlan 4
ZXAN(config-vlan)#ip supervlan pool 192.168.1.1 192.168.1.128
ZXAN(config-vlan)#

Related Commands
show supervlan pool

16.5 ip-pool-filter
Syntax
ip-pool-filter {enable | disable}

Purpose
To enable or disable the super VLAN IP pool filtering

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable super VLAN IP pool

filtering
disable

Disable super VLAN IP pool

filtering
16-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 16 SuperVLAN Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the super VLAN IP pool filtering:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#ip-pool-filter enable
ZXAN(config-if)#

Related Commands
ip supervlan pool
show supervlan

Related Information
After the super VLAN IP pool is set, packets not in the address segment are discarded.
The user can display this configuration using the show running-config command in the
super VLAN interface.

16.6 subvlan
Syntax
subvlan list
no subvlan list

Purpose
To bind VLANs to a designated super VLAN in batches

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

list

VLAN name or VLAN ID

VLAN ID range: 1 4094


VLAN name: 1 32 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to bind VLANs to a designated super VLAN in batches:
16-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface supervlan1
ZXAN(config-if)#subvlan 2-100
ZXAN(config-if)#

Related Commands
show supervlan

16.7 supervlan
Syntax
supervlan supervlan-id
no supervlan

Purpose
To bind super VLAN to the specified interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

supervlan-id

Super VLAN ID

Range: 1 255

Mode
ZXAN(config-vlan)#

Example
The following example displays how to bind super VLAN to the specified interface:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#supervlan 1
ZXAN(config-if)#

Related Commands
None

16.8 supervlan inter-subvlan-routing


Syntax
supervlan inter-subvlan-routing {enable | disable}
16-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 16 SuperVLAN Commands

Purpose
To enable or disable the routing between sub-VLANs

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable routing between

sub-VLANs
disable

Disable routing between

sub-VLANs

Mode
ZXAN(config)#

Example
The following example displays how to enable/disable the routing between sub-VLANs:
ZXAN(config)#supervlan inter-subvlan-routing enable
ZXAN(config)#

Related Commands
show supervlan

16.9 show supervlan


Syntax
show supervlan [supervlan-id]

Purpose
To display the super VLAN configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

supervlan-id

Super VLAN ID

Range: 1 255

ip-pool

IP pool configuration of

supervlan
16-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays the super VLAN configuration information:
ZXAN#show supervlan
SuperVLAN Inter-subvlan-routing Arp-broadcast Ip-pool-filter SubVLAN
-------------------------------------------------------------------1

enable

disable

disable

4,10

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

SuperVLAN

Super VLAN ID

Inter-subvlan-routing

Inter sub-VLAN routing

Arp-broadcast

ARP broadcast

Ip-pool-filter

IP poolfilter flag

Subvlan

Sub-vlan ID

Related Commands
supervlan
supervlan inter-subvlan-routing

Related Information
Without the supervlan-id parameter, this command displays the relevant configuration of all
super VLAN interfaces.

16.10 show supervlan ip-pool


Syntax
show supervlan ip-pool

Purpose
To display the super VLAN IP pool configuration

Usage Guidelines
None
16-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 16 SuperVLAN Commands

Mode
Any mode except user mode

Example
The following example displays the super VLAN IP pool configuration:
ZXAN#show supervlan ip-pool
Session-no Address-begin
1

192.168.1.1

Address-end

SubvlanId

192.168.1.128

SupervlanNum

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Session-no

Session number

Address-begin

Starting address

Address-end

Ending address

SubvlanId

Super VLAN ID

SupervlanNum

Super VLAN name

Related Commands
ip supervlan pool

16-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

16-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 17

P2P Commands
Table of Contents
max-mac-learn .........................................................................................................17-1
unknowncast-rate-limit .............................................................................................17-2
vlan-statistic .............................................................................................................17-2
ip-service ip-source-guard .......................................................................................17-3
ip-service ip-source-guard sport ...............................................................................17-3
ip-service ip-fixed-user .............................................................................................17-4
show ip-service user.................................................................................................17-5

17.1 max-mac-learn
Syntax
max-mac-learn [limitNum | vport vportid]

Purpose
To configure the limit for MAC address learning on the port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

limitNum

Maximum number

0 32767, default: no limit

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the limit for MAC address learning on the
port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#max-mac-learn 200

Related Commands
None
17-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

17.2 unknowncast-rate-limit
Syntax
unknowncast-rate-limit rate rate
no unknowncast-rate-limit

Purpose
To limit the rate of unknown packets

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to limit the rate of unknown packets:
ZXAN(config-if)#unknowncast-rate-limit rate 100

17.3 vlan-statistic
Syntax
vlan-statistic svlan svlan svlan cvlan cvlan

Purpose
To collect statistics on VLANs based on the ports

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to collect statistics on VLANs based on the ports:
ZXAN(config-if)#vlan-statistic svlan 200 cvlan 300

17-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 17 P2P Commands

17.4 ip-service ip-source-guard


Syntax
ip-service ip-source-guard {enable | disable}

Purpose
To enable or disable the global IP-source-guard function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

disable

Disable

Mode
ZXAN(config)#

Example
The following example displays how to enable the global IP-source-guard function:
ZXAN(config)#ip-service ip-source-guard enable

Related Commands
show ip-service ip-source-guard

Related Information
To enable IP-source-guard function, you need to enable IP-source-guard on port and global
IP-source-guard simultaneously. Otherwise, the IP-source-guard function is invalid.

17.5 ip-service ip-source-guard sport


Syntax
ip-service ip-source-guard {enable | disable} sport sportid

Purpose
To enable or disable the IP-source-guard function on the port

Usage Guidelines
The following table provides parameter description:
17-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

enable

Enable

disable

Disable

sportid

Service port ID

18

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the IP-source-guard function on the port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ip-service ip-source-guard enable sport 1
ZXAN(config-if)#

Related Commands
show ip-service ip-source-guard

Related Information
To enable IP-source-guard function, you need to enable IP-source-guard on port and global
IP-source-guard simultaneously. Otherwise, the IP-source-guard function is invalid.

17.6 ip-service ip-fixed-user


Syntax
ip-service ip-fixed-user ip-address [mac-address mac-address] vlan vlanid sport sportid

Purpose
To configure the static IPv4 address on the port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IPv4 address

mac-address

MAC address

vlanid

VLAN ID

1 4094

sportid

Service port ID

18

17-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 17 P2P Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the static IPv4 address on the port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ip-service ip-fixed-user 1.1.1.2 vlan 100 sport 1

Related Commands
show ip-service user

17.7 show ip-service user


Syntax
show ip-service user {interface interface | ip-address ip-address}

Purpose
To display the IPv4 user information on a PON-ONU interface

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the IPv4 user on the GPON-ONU interface:
ZXAN#show ip-service user interface gpon-onu_1/2/1:1
Port

Sport

IP-addr

MAC-addr

Vlan

Source

gpon-onu_1/2/1:1

1.1.1.2

0000.0000.0000

100

fixed-user

17-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

17-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18

GPON and EPON Common


Configuration
Table of Contents
auto-replace-offline-onu............................................................................................18-1
copy .........................................................................................................................18-2
onu-profile ................................................................................................................18-3
rogue-onu-detect......................................................................................................18-4
show pon rogue-onu-inf............................................................................................18-4
show pon onu onu-profile .........................................................................................18-5
show pon onu-profile ................................................................................................18-5
ONU Type Profile Management ................................................................................18-6
OLT Performance Management.............................................................................. 18-11
CPE Version Management .....................................................................................18-17
Optical Module Management..................................................................................18-35
ONU In-Band NM Configuration .............................................................................18-42
PON Protection Commands ...................................................................................18-46

18.1 auto-replace-offline-onu
Syntax
auto-replace-offline-onu slot { disable | enable }

Purpose
To configure the auto-replacing function for offline ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slot

PON card slot

Range: 2 9, 12 19

disable

To disable the function

enable

To enable the function

18-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-pon)#

Example
The following example displays how to enable the auto-replacing function for offline ONU:
ZXAN(config-pon)#auto-replace-offline-onu 2 enable

Related Commands
None

18.2 copy
Syntax
copy {epon | gpon} {olt | onu} srcPort dstPort

Purpose
To copy data between ports

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon | gpon

EPON or GPON port

epon: EPON port

gpon: GPON port

olt: OLT interface

onu: ONU interface

gpon-olt_shelf/slot/olt

epon-olt_shelf/slot/olt

gpon-onu_shelf/slot/olt:onu

epon-onu_shelf/slot/olt:onu

gpon-olt_shelf/slot/olt

epon-olt_shelf/slot/olt

gpon-onu_shelf/slot/olt:onu

epon-onu_shelf/slot/olt:onu

olt | onu

srcPort

dstPort

OLT or ONU interface

Source port

Destination port

Mode
ZXAN(config-pon)#

Example
The following example displays how to copy data between two GPON-OLT interfaces:
18-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration


ZXAN(config-pon)#copy gpon olt gpon-olt_1/1/1 gpon-olt_1/1/5
.[Successful]

Related Commands
None

Related Information
Type of the source port and destination port must be the same.
The source port and destination port cannot be the same port.
The destination port cannot be in any PON protection group.

18.3 onu-profile
Syntax
onu-profile {epon | gpon} {line | remote | alarm | performance} profilename

Purpose
To create an ONU profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon | gpon

Profile service type

EPON or GPON

line

ONU line profile

remote

ONU remote management

profile
alarm

ONU alarm profile

performance

ONU performance profile

profilename

Profile name

1 32

Mode
ZXAN(config-pon)#

Example
The following example displays how to create an ONU profile:
ZXAN(config-pon)#onu-profile epon line profile

18-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
At present, the system only supports the line and remote profiles.

18.4 rogue-onu-detect
Syntax
rogue-onu-detect slotnum {enable | disable }

Purpose
To configure the rogue ONU detect function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slotnum

Card slot number

Range: 2 9, 12 19

enable | disable

Enable or disable rogue ONU

Enable

detect function

Disable

Mode
ZXAN(config-pon)#

Example
The following example displays how to enable the rogue ONU detect function on slot 5:
ZXAN(config-pon)#rogue-onu-detect 5 enable

Related Commands
None

18.5 show pon rogue-onu-inf


Syntax
show pon rogue-onu-info {epon-olt_shelf/slot/port | gpon-olt_shelf/slot/port}

Purpose
To show the rogue ONU detection information

Usage Guidelines
The following table provides parameter description:
18-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Parameter

Description

Value

shelf/slot/port

OLT interface

Mode
ZXAN(config)#

Example
The following example displays the rogue ONU detection information:
ZXAN(config)#show pon rogue-onu-info gpon-olt_1/1/1

18.6 show pon onu onu-profile


Syntax
show pon onu onu-profile {epon-onu_shelf/slot/oltId:onuid | gpon-onu_shelf/slot/oltId:onuid}

Purpose
To show the information on all the profiles related to the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

Mode
ZXAN(config-if)#

Example
The following example displays the information on all the profiles related to the ONU:
ZXAN(config-if)#show pon onu onu-profile gpon-onu_1/1/1:1
profile

profile type

link result

last handle

-------------------------------------------------------------------int_line

line

int_rmt

remote

18.7 show pon onu-profile


Syntax
show pon onu-profile {epon | gpon} {alarm | line | performance | remote} line
18-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To show the profile list

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays the profile list:
ZXAN(config-if)#show pon onu-profile gpon line
ProfileName
---------------int_line
test_line
f622_line

18.8 ONU Type Profile Management


18.8.1 onu-type
Syntax
onu-type onu-type-name gpon [description description |max-switch-perslot num |max-gemport
num |max-tcont num |max-flow-perswitch num |max-iphost num |service-ability N:1 {support
| not-support} 1:M {support |not-support} 1:P {support |not-support}
onu-type onu-type-name epon [description description |protect-type {none |typec| typed} speed
{1g| 10g-symmetric |10g-asymmetric}
no onu-type onu-type-name

Purpose
To configure the ONU type and its attributes
To delete the configuration, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu type name

ONU type name

Range: 1 64 characters

18-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Parameter

Description

Value

description description

ONU description

Range: 1 64 characters

max-switch-perslot num

Maximum bridge number per

Range: 1 255, default: 255

slot
max-gemport num

Maximum GEM port number

Range: 1 255, default: 255

max-tcont num

Maximum T-CONT number

Range: 1 255, default: 255

max-flow-perswitch num

Maximum uplink port number

Range: 1 255, default: 255

per bridge
max-iphost num

Maximum IP host number

Range: 0 255, default: 1

service-ability

Service capability

N:1 { support | not-support}

N:1 bridging, where a bridge is

support

used to serve multiple UNI ports

not-support

from a single ANI service.

Default: support

1:M mapping, where a mapper

support

is used to serve a single UNI

not-support

with multiple ANI connections,

Default: support

1:M { support | not-support}

based on 802.1p priorities.


1:P {support |not-support }

1:P filtering, where a bridge

support

with filters is used to serve a

not-support

single UNI with multiple ANI

Default: support

connections, based on some


VLAN information other than
802.1p priorities.
protect-type {none |typec |typed }

speed { 1g | 10g-symmetric |

PON protection type

Speed mode

10g-asymmetric }

none

typec

typed

10g-asymmetric

10g-symmetric

1g

Mode
ZXAN(config-pon)#

Example
The following example displays how to configure the GPON ONU type ZTEG-F888:
ZXAN(config)#pon
ZXAN(config-pon)#onu-type ZTE-F888 gpon description new-onu

18-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show onu-type

Related Information
The default ONU types on the ZXA10 C320 cannot be modified or deleted.
It is recommended to add a GPON identification when you configure a GPON ONU type
to differ from the EPON ONU type, for example, ZTEG-F820.

18.8.2 onu-type-if
Syntax
onu-type-if onu-type-name type_slot/portlist
no onu-type-if onu-type-name type_slot/portlist

Purpose
To configure interfaces of the ONU type
To delete the configuration, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu-type-name

ONU type name

Range: 1 64 characters

type_slot/portlist

ONU interface description

Type: eth, e1, t1, dsl, pots, rf,


wifi
Slot: 0 255
Portlist: 1 255

Mode
ZXAN(config-pon)#

Example
The following example displays how to configure interfaces of the ONU type ZTE-F888:
ZXAN(config)#pon
ZXAN(config-pon)# onu-type-if ZTE-F888 eth_0/1-4
ZXAN(config-pon)# onu-type-if ZTE-F888 pots_0/1-2

Related Commands
show onu-type-if
18-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Related Information
You cannot add or delete interfaces of default ONU types.

18.8.3 show onu-type


Syntax
show onu-type epon [onu-name]

Purpose
To query the ONU type information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu-name

ONU type name

Range: 1 64 characters

Mode
Any mode

Example
The following example displays how to query all ONU type information:
ZXAN#show onu-type
Onu type name :

ZTE-9806

Pon type :

epon

Description :

Protect type:

none

Speed:

1g

Onu type name :

ZTE-D400

Pon type :

epon

Description :

4FE

Protect type:

none

Speed:

1g

Onu type name :

ZTE-D402

Pon type :

epon

Description :

8FE

Protect type:

none

Speed:

1g

... ...

18-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
onu-type

18.8.4 show onu-type-if


Syntax
show onu-type-if onu-type-name

Purpose
To query interfaces of the ONU type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu-type-name

ONU type name

Range: 1 64 characters

Mode
Any mode

Example
The following example displays how to query interfaces of the ONU type ZTE-F888:
ZXAN(config-pon)#show onu-type-if ZTE-F888
Onu type name : ZTE-F888
Interface list
eth_0/1
eth_0/2
eth_0/3
eth_0/4
pots_0/1
pots_0/2

Related Commands
onu-type-if

18-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

18.9 OLT Performance Management


18.9.1 performance gponolt
Syntax
performance gponolt gpon-olt_shelf/slot/oltId {create | delete | start | stop | create-start}

Purpose
To configure the action for GPON OLT interface performance statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-olt_shelf/slot/oltId

GPON OLT interface name

create

To create the performance

statistics
delete

To delete the performance

statistics
start

To start the performance

statistics
stop

To stop the performance

statistics
create-start

To create and start the

performance statistics

Mode
ZXAN(config-pon)#

Example
The following example displays how to create and start the performance statistics for
gpon-olt_1/2/1:
ZXAN(config)#pon
ZXAN(config-pon)#performance gponolt gpon-olt_1/2/1 create-start

Related Commands
show performance pon-olt

18-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

18.9.2 performance gpononu


Syntax
performance gpononu gpon-olt_shelf/slot/oltId onu-id {create | delete | start | stop | create-sta
rt}

Purpose
To configure the action for GPON ONU performance statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-olt_shelf/slot/oltId

GPON OLT interface name

onu-id

ONU ID

Range: 1 128

To create the performance

create

statistics
delete

To delete the performance

statistics
start

To start the performance

statistics
stop

To stop the performance

statistics
create-start

To create and start the

performance statistics

Mode
ZXAN(config-pon)#

Example
The following example displays how to create and start the performance statistics for ONU
1 on gpon-olt_1/2/1:
ZXAN(config)#pon
ZXAN(config-pon)#performance gpononu gpon-olt_1/2/1 1 create-start

Related Commands
None

18-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

18.9.3 performance gpon-vport


Syntax
performance gpon-vport gpon-onu_shelf/slot/oltId:onu-id vportId [gemport gemportId |vlan vl
anId ] {create | delete | start | stop | create-start }

Purpose
To configure the action for virtual port performance statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onu-id

GPON ONU interface name

onuId

ONU ID

Range: 1 128

vportId

Virtual port ID

Range: 1 256

gemport gemportId

GEM port ID

Range: 1 255

vlan vlanId

VLAN ID

Range: 1 4094

create

To create the performance

statistics
delete

To delete the performance

statistics
start

To start the performance

statistics
stop

To stop the performance

statistics
create-start

To create and start the

performance statistics

Mode
ZXAN(config-pon)#

Example
The following example displays how to create and start the performance statistics for GEM
port 1 on gpon-onu_1/1/3:1:
ZXAN(config)#pon
ZXAN(config-pon)# performance gpon-vport gpon-onu_1/1/3:1 1 gemport 1 create-start

18-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

18.9.4 show performance pon-olt


Syntax
show performance pon-olt { eth | mac } gpon-olt_shelf/slot/olt { current | current-15min-inter
val | current-1day-interval | his-15min-interval interval | his-1day-interval interval }

Purpose
To display OLT interface performance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eth

Ethernet performance

mac

PON MAC performance

pon-olt_shelf/slot/olt

PON OLT interface

current

Current

current-15min-interval

Current 15-minute interval

his-15min-interval interval

History 15-minute interval

Range: 1 96

his-1day-interval interval

History 1-day interval

Range: 1 7

Mode
Any mode except ZXAN>

Example
The following example displays the current Ethernet performance of an OLT interface:
ZXAN#show performance pon-olt eth gpon-olt_1/1/1 current
PON-ETH-OLT gpon-olt_1/1/1 current performance data:
-----------------------------------------------DropEvents

:0;

Received Octets

:0;

Sent Octets

:0;

Received Packets

:0;

Sent Packets

:0;

Received Broadcast Packets

:0;

Sent Broadcast Packets

:0;

Received Multicast Packets

:0;

18-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration


Sent Multicast Packets

:0;

Received CRC Errors

:0;

Sent CRC Errors

:0;

Received Undersize Packets

:0;

Sent Undersize Packets

:0;

Received Oversize Packets

:0;

Sent Oversize Packets

:0;

Received Fragments

:0;

Sent Fragments

:0;

Received Jabbers

:0;

Sent Jabbers

:0;

Collisions

:0;

Received 64B

:0;

Received 65-127B

:0;

Received 128-255B

:0;

Received 256-511B

:0;

Received 512-1023B

:0;

Received 1024-1518B

:0;

Sent 64B

:0;

Sent 65-127B

:0;

Sent 128-255B

:0;

Sent 256-511B

:0;

Sent 512-1023B

:0;

Sent 1024-1518B

:0;

Related Commands
performance gponolt

18.9.5 show performance pon-onu


Syntax
show performance pon-onu { eth | mac } pon-onu_shelf/slot/olt:onu { current | current-15min
-interval | current-1day-interval | his-15min-interval interval | his-1day-interval interval }

Purpose
To display ONU interface performance

Usage Guidelines
The following table provides parameter description:

18-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

eth

Ethernet performance

mac

PON MAC performance

pon-onu_shelf/slot/olt:onu

PON ONU interface

current

Current

current-15min-interval

Current 15-minute interval

his-15min-interval interval

History 15-minute interval

Range: 1 96

his-1day-interval interval

History 1-day interval

Range: 1 7

Mode
Any mode except ZXAN>

Example
The following example displays the current Ethernet performance of an ONU interface:
ZXAN(gpon-onu-mng)#show performance pon-onu eth gpon-onu_1/1/1:1 current
PON-ETH-ONU gpon-onu_1/1/1:1 current performance data:
-----------------------------------------------DropEvents

:0;

Received Octets

:0;

Sent Octets

:0;

Received Packets

:0;

Sent Packets

:0;

Received Broadcast Packets

:0;

Sent Broadcast Packets

:0;

Received Multicast Packets

:0;

Sent Multicast Packets

:0;

Received CRC Errors

:0;

Sent CRC Errors

:0;

Received Undersize Packets

:0;

Sent Undersize Packets

:0;

Received Oversize Packets

:0;

Sent Oversize Packets

:0;

Received Fragments

:0;

Sent Fragments

:0;

Received Jabbers

:0;

Sent Jabbers

:0;

Collisions

:0;

Received 64B

:0;

Received 65-127B

:0;

Received 128-255B

:0;

Received 256-511B

:0;

18-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration


Received 512-1023B

:0;

Received 1024-1518B

:0;

Sent 64B

:0;

Sent 65-127B

:0;

Sent 128-255B

:0;

Sent 256-511B

:0;

Sent 512-1023B

:0;

Sent 1024-1518B

:0;

Related Commands
performance gponolt

18.10 CPE Version Management


18.10.1 cpe abort
Syntax
cpe abort {oltIfName CPEList | type typename}

Purpose
To abort the CPE version operation

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

oltIfName

PON OLT interface

CPEList

CPE list

Range: 1 64 characters

type typename

CPE type name

Range: 1 16 characters

Mode
ZXAN#

Example
The following example shows how to abort the version operation of CPE 1 on
epon-olt_1/2/1:
ZXAN#cpe abort epon-olt_1/2/1 cpe 1
ZXAN#

18-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

18.10.2 cpe activate


Syntax
cpe activate{oltIfName CPEList | type typename}

Purpose
To activate CPE version

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

oltIfName

PON OLT interface

CPEList

CPE list

Range: 1 64 characters

type typename

CPE type name

Range: 1 16 characters

Mode
ZXAN#

Example
The following example shows how to activate the version of CPE 1 on epon-olt_1/2/1:
ZXAN#cpe active epon-olt_1/2/1 1
ZXAN#

Related Commands
None

18.10.3 cpe commit


Syntax
cpe commit {oltIfName cpelist | type typename}

Purpose
To configure the default starting CPE version

18-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

oltIfName

PON OLT interface

cpeList

CPE list

Range: 1 64 characters

type typename

CPE type name

Range: 1 16 characters

Mode
ZXAN#

Example
The following example shows how to configure the default starting CPE version on
epon-olt_1/2/1:
ZXAN#cpe commit epon-olt_1/2/1 1
ZXAN#

Related Commands
None

18.10.4 cpe update


Syntax
cpe update name oltIfName cpeList

Purpose
To update the CPE version

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

CPE version name

Range: 1 32 characters

oltIfName

PON OLT interface

cpeList

CPE list

Range: 1 64 characters

Mode
ZXAN#

18-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example shows how to update the CPE 1 version on epon-olt_1/2/1:
ZXAN#cpe update f460914.bin epon-olt_1/2/1 1
ZXAN#

Related Commands
None

18.10.5 cpe update-and-reboot


Syntax
cpe update-and-reboot name oltIfName cpeList

Purpose
To update the CPE version and reboot the CPE

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

CPE version

Range: 1 32 characters

oltIfName

PON OLT interface

cpeList

CPE list

Range: 1 64 characters

Mode
ZXAN#

Example
The following example shows how to update the version of CPE 1 on epon-olt_1/2/1 and
reboot it:
ZXAN#cpe update-and-reboot f460914.bin epon-olt_1/2/1 1
ZXAN#

Related Commands
None

18-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

18.10.6 cpe update-commit


Syntax
cpe update-commit cpe version name{ epon-olt interface | gpon-olt interfac} cpeList
cpe update-commit cpe version name type cpe type name

Purpose
To perform a manual CPE version update

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

cpelist

Specified CPE

164 characters

type

Specified type

116 characters

Mode
ZXAN#

Example
The following example shows how to perform a manual CPE version update:
ZXAN#cpe update-commit abc.bin type f660

Related Commands
Show cpeinformation

Related Information
Version update can be performed based on CPE type or location.

18.10.7 cpe update-reonline


Syntax
cpe update-reonline Cpe version name oltIfName cpeList

Purpose
To upgrade the CPE version

Usage Guidelines
The following table provides parameter description:
18-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

oltIfName

PON OLT interface name

cpeList

CPE list

1 64 characters

Mode
ZXAN#

Example
The following example displays how to upgrade the CPE version:
ZXAN#cpe update-reonline asdf gpon-olt_1/1/1 aadd

Related Information
The new version is automatically activated and submitted when the CPE gets online next
time.

18.10.8 show cpe update-status


Syntax
show cpe update-status oltIfName cpelist

Purpose
To display the update-status of the CPE

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

oltIfName

PON OLT interface

cpelist

CPE list

Range: 1 64 characters

Mode
Any mode

Example
The following example shows how to display the update status of CPE 1 on
epon-olt_1/2/1
ZXAN#show cpe update-status epon-olt_1/2/1 1
epon-onu_1/2/1: 1
Taskname

: Manual

18-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration


Action

: Update

Status

: In-progress

Progress

: 4%

Failreason

: None

Committime

Related Commands
None

18.10.9 show cpe information


Syntax
show cpe information oltIfName cpelist

Purpose
To display the CPE information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

oltIfName

PON OLT interface

cpelist

CPE list

Range: 1 64 characters

Mode
Any mode

Example
The following example shows how to display the CPE information on epon-olt_1/2/1:
ZXAN#show cpe information epon-olt_1/2/1 1
epon-onu_1/2/1: 1
CpeVendorName : ZTE
CpeType

: F460

Region 1
Vertag
Commited

Region 2
: V1.0.1P1T3
: No

Vertag
Commited

:
: No

Activated

: No

Activated

: No

Valid

: Yes

Valid

: No

Related Commands
None
18-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

18.10.10 show cpe task


Syntax
show cpe task [taskName]

Purpose
To display the CPE task information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

taskName

Task name

Range: 1 32 characters

Mode
Any mode

Example
The following example shows how to display the task information:
ZXAN#show cpe task
Taskname

: f460test

Status

: Working

ImageSize
Action

Imagename

: f460914

: 3652304

CpeType

: f460

: Update-and-reboot

CpeVendorName: ZTE

UpdateMode : Both

CpeVerBase

: v1.0

ImgLocation: Local

Condition

: NotEqual

ObjType

ServiceType

: Epon

: Ne

Related Commands
None

18.10.11 show cpe summary-of


Syntax
show cpe summary-of {manualtask taskname}

Purpose
To display the CPE task summary information

18-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

task taskname

Task name

Range: 1 64 characters

Mode
Any mode

Example
The following example shows how to display the summary information of manual task :
ZXAN#show cpe summary-of manual
Operating:
Fail:
Success:
epon-onu_1/2/1: 1

The following example shows how to display the summary information of abc task :
ZXAN#show cpe summary-of task abc
Operating:
Fail:
Success:
epon-onu_1/2/1: 1

Related Commands
None

18.10.12 cpe task


Syntax
cpe task taskname

Purpose
To create a CPE task

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

taskname

Task name

18-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to create a CPE task:
ZXAN(config)#cpe task test1
ZXAN(cpe-task)#

Related Commands
None

18.10.13 action
Syntax
action { update | update-and-reboot | reboot }

Purpose
To configure CPE task action

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

update

Upgrade action

update-and-reboot

Upgrade and reboot action

reboot

Reboot action

Mode
ZXAN(cpe-task)#

Example
The following example displays how to configure the CPE task action:
ZXAN(cpe-task)#action update-and-reboot

Related Commands
None

18-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

18.10.14 description
Syntax
description string

Purpose
To configure CPE task description

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

string

Task description

1 128 characters

Mode
ZXAN(cpe-task)#

Example
The following example displays how to configure CPE task description:
ZXAN(cpe-task)#description test1_ne_zte_f420

Related Commands
None

Related Information
Task description is used to discriminate tasks. The task identifier is the task ID but not the
task description.

18.10.15 equipment-type
Syntax
equipment-type string

Purpose
To configure equipment type for task

Usage Guidelines
The following table provides parameter description:

18-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

string

Equipment type

1 16 characters

Mode
ZXAN(cpe-task)#

Example
The following example displays how to configure equipment type for task:
ZXAN(cpe-task)#equipment-type f420

Related Commands
None

Related Information
Equipment type is the actual CPE type. Use the show cpe information to check the actual
type of a CPE.

18.10.16 match-vertag
Syntax
match-vertag { above | below | equal | Unequal } vertag-tag

Purpose
To configure version tag and comparison rule for a task

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

above

Above version tag

below

Below version tag

equal

Equal to version tag

Unequal

Not equal to version tag

vertag-tag

Version tag string

1 16 characters

Mode
ZXAN(cpe-task)#

18-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Example
The following example displays how to configure the version tag and rules:
ZXAN(cpe-task)#match-vertag unequal v1.0.0

Related Commands
None

Related Information
Version tag comparison compares the string of the current running version with that of the
task version. It is recommended to use equal or unequal to compare versions, and use
above and below carefully.

18.10.17 mode
Syntax
mode { online | offline | both }

Purpose
To configure task mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

online

Act instantly when the CPE is online

offline

Act when the CPE gets online next

time
both

Both of above

Mode
ZXAN(cpe-task)#

Example
The following example displays how to configure task mode:
ZXAN(cpe-task)#mode both

Related Commands
None
18-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

18.10.18 parallel-limitation
Syntax
parallel-limitation { number }

Purpose
To limit the CPE quantity to be upgraded simultaneously on a single line card (parallel
limitation)

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

number

Limit number, in default 64

01024

Mode
ZXAN(cpe-task)#

Example
The following example shows how to configure CPE parallel-limitation as 23:
ZXAN(cpe-task)#parallel-limitation 23

Related Commands
None

18.10.19 range
Syntax
range { ne | port portnum }

Purpose
To configure task range

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ne

Task valid for all NEs

port portnum

Task valid for some port

18-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Mode
ZXAN(cpe-task)#

Example
The following example displays how to configure task range
ZXAN(cpe-task)#range port gpon-olt_1/1/1

Related Commands
None

Related Information
When the task range is port, you can specify multiple ports range by using multiple range
port commands.

18.10.20 service-type
Syntax
service-type { EPON | GPON }

Purpose
To configure service type for the task

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

EPON

Task valid for EPON service

GPON

Task valid for GPON service

Mode
ZXAN(cpe-task)#

Example
The following example displays how to configure service type for the task:
ZXAN(cpe-task)#service-type EPON

Related Commands
None
18-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

18.10.21 vendor-name
Syntax
vendor-name vendor-name

Purpose
To configure vendor name for the task

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vendor-name

Vendor name string

1 20 characters

Mode
ZXAN(cpe-task)#

Example
The following example displays how to configure vendor name for the task:
ZXAN(cpe-task)#vendor-name ZTE

Related Commands
None

18.10.22 version-file
Syntax
version-file filename

Purpose
To configure version file name for the task

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

filename

Version file name

1 32 characters

Mode
ZXAN(cpe-task)#
18-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Example
The following example displays how to configure version file name for the task:
ZXAN(cpe-task)#version-file f420.bin

Related Commands
None

18.10.23 task add


Syntax
task add

Purpose
To add the CPE task

Usage Guidelines
None

Mode
ZXAN(cpe-task)#

Example
The following example displays how to add the CPE task:
ZXAN(cpe-task)#task add

Related Commands
None

18.10.24 task abort


Syntax
task abort

Purpose
To abort the CPE task

Usage Guidelines
None
18-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(cpe-task)#

Example
The following example displays how to abort the CPE task:
ZXAN(cpe-task)#task abort

Related Commands
None

18.10.25 task restart


Syntax
task restart

Purpose
To restart the CPE task

Usage Guidelines
None

Mode
ZXAN(cpe-task)#

Example
The following example displays how to restart the CPE task:
ZXAN(cpe-task)#task restart

Related Commands
None

18.10.26 task delete


Syntax
task delete

Purpose
To delete the CPE task
18-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Usage Guidelines
The following table provides parameter description:
None

Mode
ZXAN(cpe-task)#

Example
The following example displays how to delete the CPE task:
ZXAN(cpe-task)#task delete

Related Commands
None

18.11 Optical Module Management


18.11.1 show pon transceiver info
Syntax
show pon transceiver info {gpon-olt_shelf/slot/olt | epon-olt_shelf/slot/olt}

Purpose
To query the information about the PON optical module

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-olt_shelf/slot/olt |

PON OLT interface

epon-olt_shelf/slot/olt

Mode
Any mode

Example
The following example displays how to query the information about optical module on
gpon-olt_1/1/1:
ZXAN(config-pon)#show pon transceiver info gpon-olt_1/1/1
Temperature :20.01(C)

18-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Supply Vol :5.0(V)
Bias current :25.521(mA)
Tx power :3.32(dbm)

Related Commands
None

Related Information
When there is no optical module, there is N/A displayed.

18.11.2 show pon power olt-tx


Syntax
show pon power olt-tx {gpon-olt_shelf/slot/olt| epon-olt_shelf/slot/olt}

Purpose
To display the transmitted optical power on the OLT

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-olt_shelf/slot/olt

GPON OLT interface

epon-olt_shelf/slot/olt

EPON OLT interface

Mode
Any mode except ZXAN>

Example
The following example displays the transmitted optical power on the OLT:
ZXAN(config-pon)#show pon power olt-tx gpon-olt_1/1/1
Tx power: 2.106(dbm)

Related Commands
None

Related Information
When there is no optical module, N/A is displayed.

18-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

18.11.3 show pon power olt-rx


Syntax
show pon power olt-rx {gpon-onu_shelf/slot/olt:onu| epon-onu_shelf/slot/olt:onu}

Purpose
To display the received optical power on the OLT

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

epon-onu_shelf/slot/olt:onu

EPON ONU interface

Mode
Any mode except ZXAN>

Example
The following example displays the received optical power on the OLT:
ZXAN(config-gpon)#show pon power olt-rx gpon-onu_1/1/1:1
Rx power: -22.687(dbm)

Related Commands
None

Related Information
When there is no optical module, N/A is displayed.

18.11.4 show pon power onu-tx


Syntax
show pon power onu-tx {gpon-onu_shelf/slot/olt:onu | epon-onu_shelf/slot/olt:onu}

Purpose
To display the received optical power on the ONU

Usage Guidelines
The following table provides parameter description:
18-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

epon-onu_shelf/slot/olt:onu

EPON ONU interface

Mode
Any mode except ZXAN>

Example
The following example displays the received optical power on the ONU :
ZXAN(config-gpon)#show pon power onu-tx gpon-onu_1/1/1:1
Tx power: 1.254(dbm)

Related Commands
None

Related Information
When there is no optical module, N/A is displayed.

18.11.5 show pon power onu-rx


Syntax
show pon power onu-rx {gpon-onu_shelf/slot/olt:onu | epon-onu_shelf/slot/olt:onu}

Purpose
To display the received optical power on the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

epon-onu_shelf/slot/olt:onu

EPON ONU interface

Mode
Any mode except ZXAN>

Example
The following example displays the received optical power on the ONU:
ZXAN(config-gpon)#show pon power onu-rx gpon-onu_1/1/1:1

18-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration


Rx power: -22.756(dbm)

Related Commands
None

Related Information
When there is no optical module, N/A is displayed.

18.11.6 show pon power attenuation


Syntax
show pon power attenuation {gpon-onu_shelf/slot/olt:onu | epon-onu_shelf/slot/olt:onu}

Purpose
To display the optical power attenuation between the OLT and ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

epon-onu_shelf/slot/olt:onu

EPON ONU interface

Mode
Any mode except ZXAN>

Example
The following example displays the optical power attenuation between the OLT and ONU:
ZXAN(config)#show pon power attenuation gpon-onu_1/1/1:1
OLT

ONU

Attenuation(dBm)

-----------------------------------------------------------------up

Rx :-22.672

Tx:1.250

23.922

down

Tx :2.199

Rx:-22.756

24.955

Related Commands
None

18-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
When there is no optical module, N/A is displayed.

18.11.7 show pon transceiver-threshold


Syntax
show pon transceiver-threshold {gpon-onu_shelf/slot/olt:onu | epon-onu_shelf/slot/olt:onu}

Purpose
To display the thresholds of PON optical module

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

epon-onu_shelf/slot/olt:onu

EPON ONU interface

Mode
Any mode except ZXAN>

Example
The following example displays the thresholds of PON optical module :
ZXAN(config-pon)#show pon transceiver-threshold epon-onu_1/1/1:1
Rx power threshold(dbm) :
Upper alarm:

-3.000

Lower alarm : -34.000

Upper warning:-3.000

Lower warning :-34.000

Detect period: 900

Related Commands
transceiver-threshold

18.11.8 transceiver-threshold
Syntax
transceiver-threshold rx-power pon-onu_shelf/slot/olt:onu [high-alarm value1] [high-warning
value2] [low-alarm value3] [low-warning value4]

Purpose
To configure thresholds for PON ONU received optical power
18-40
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pon-onu_shelf/slot/olt:onu

PON ONU interface name

high-alarmvalue1

Alarm threshold high value

-34.0 to -3.0, unit : dBm


Default: -3.0 d Bm

high-warning value2

Warning threshold high value

-34.0 to-3.0, unit : dBm


Default: -3.0 dBm

low-alarm value3

Alarm threshold low value

-34.0 to -3.0, unit : dBm


Default: -34.0 dBm

low-warning value4

Warning threshold low value

-34.0 to-3.0, unit : dBm


Default: -34.0 dBm

Mode
ZXAN(config-pon)#

Example
The following example displays how to configure thresholds for PON ONU received optical
power:
ZXAN(config-pon)#transceiver-threshold rx-power gpon-onu_1/1/1:1 high-alarm -3
high-warning -5 low-alarm -25 low-warning -20

Related Commands
show pon transceiver-threshold

18.11.9 transceiver detect-period


Syntax
transceiver detect-period [gpon-onu_shelf/slot/olt:onu |epon-onu_shelf/slot/olt:onu ] detect peri
od

Purpose
To configure ONU RSSI detect period

Usage Guidelines
The following table provides parameter description:

18-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu |

PON ONU interface

Detect period

60 4294967295, unit s

epon-onu_shelf/slot/olt:onu
detect period

Default: 900 s

Mode
ZXAN(config-pon)#

Example
The following example displays how to configure OUU RSSI detect period:
ZXAN(config-pon)#transceiver detect-period gpon-onu_1/2/1:1 600

Related Commands
show pon transceiver-threshold

18.12 ONU In-Band NM Configuration


18.12.1 ip-pool
Syntax
ip-pool poolname begin beginIP end endIP mask vlan vlanId priority route subnet netmask ne
xthop
no ip-pool poolname

Purpose
To configure the IP address pool
To delete the configuration, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

poolname

IP address pool name

Range: 1 64 characters

begin beginIP end endIP

The begin/end IP address

mask

IP address mask

vlan vlanId

VLAN ID

Range: 1 4094

priority

802.1p priority

Range: 0 7

18-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

Parameter

Description

Value

route subnet netmask nexthop

Route

Mode
ZXAN(config-pon)#

Example
The following example displays how to configure an IP address pool:
ZXAN(config)#pon
ZXAN(config-pon)#ip-pool test begin 10.1.1.2 end 10.1.1.255 255.255.255.0 vlan
100 priority 5 route 10.10.10.0 255.255.255.0 10.1.1.1

Related Commands
show pon ip-pool

Related Information
You cannot delete an IP address pool when it is in use.

18.12.2 ip-pool-bind
Syntax
ip-pool-bind xpon-olt_shelf/slot/olt poolname
no ip-pool-bind xpon-olt_shelf/slot/olt

Purpose
To bind the IP address pool to an OLT PON interface
To delete the configuration, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

xpon-olt_shelf/slot/olt

xPON OLT interface

poolname

IP address pool name

Range: 1 63 characters

Mode
ZXAN(config-pon)#

18-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to bind an IP pool to PON OLT interfaces:
ZXAN(config)#pon
ZXAN(config-pon)#ip-pool-bind gpon-olt_1/1/1 test
ZXAN(config-pon)#ip-pool-bind gpon-olt_1/1/2 test

Related Commands
show pon ip-pool-bind

Related Information
You can bind only one IP address pool to one PON OLT interface. To bind a new IP address
pool to the interface, delete the previous one first

18.12.3 show pon ip-pool


Syntax
show pon ip-pool poolname

Purpose
To query the IP address pool

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

poolname

IP address pool name

Range: 1 63 characters

Mode
Any mode

Example
The following example displays how to query an IP address pool:
ZXAN(config-pon)#show pon ip-pool
IP pool name: test
Begin IP: 10.1.1.2
End IP: 10.1.1.255
Mask:255.255.255.0
Vlan:100
Priority:7
Subnet:10.10.10.0
Netmask:255.255.255.0

18-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration


Nexthop:10.1.1.1

Related Commands
ip-pool

18.12.4 show pon ip-pool-bind


Syntax
show pon ip-pool-bind [xpon-olt_shelf/slot/olt ] poolname

Purpose
To query the IP address pool binding information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

xpon-olt_shelf/slot/olt

xPON OLT interface

poolname

IP address pool name

Range: 1 63 characters

Mode
Any mode

Example
The following example displays how to query the IP pool binding information:
ZXAN(config-pon)#show pon ip-pool-bind gpon-olt_1/1/1
OLT: gpon-olt_1/1/1
IP pool name: test
ZXAN(config-pon)#show pon ip-pool-bind test
gpon-olt_1/1/1
gpon-olt_1/1/2

Related Commands
ip-pool-bind

18-45
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

18.13 PON Protection Commands


18.13.1 protection group
Syntax
protection group groupName workpon oltIfName protectpon oltIfName typeB { typeA| typeB|
typeC | typeD}
protection group { dual-parenting-protect | dual-parenting-word } groupName workpon oltIf
Name protectpon oltIfName typeB peer-ip ip-address { typeB |typeC | typeD}
no protection group groupName

Purpose
To create protection group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

groupName

Protection group name

Range: 1 32 characters

workpon oltIfName

Work PON port

protectpon oltIfName

Protection PON port

typeA| typeB |typeC| typeD

Protection mode

typeA: Type A switching


architecture

typeB: Type B switching


architecture

typeC: Type C switching


architecture

typeD: Type D switching


architecture (ITU typec)

dual-parenting-protect

Dual protection mode

dual-parenting-work

Dual work mode

peer-ip ip-address

Peer IP address

Mode
ZXAN(config-pon)#

Example
The following example displays how to create protection group:
ZXAN(config-pon)#protection group ZTE workpon epon-olt_1/1/1 protectpon epon-olt_

18-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration


1/7/2 typeB

Related Command
None

Related Information
Presently, only Type B protection is supported.
Two PON ports in mutual protection must be the same type PON port. The same PON
port cannot be in different protection groups.

18.13.2 protection prop


Syntax
protection prop group groupName { [mode { revertive| non-revertive}][wtr interval]}

Purpose
To configure protection group attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

groupName

Protection group name

Range: 1 32 characters

mode

Protection mode

revertive

non-revertive

revertive

Revertive mode

non-revertive

Non-revertive mode

Default value

wtr interval

Interval of waiting for resumption

Range: 0 86400, not

(second)

exceeding (80 x 60 x 60)


seconds

Mode
ZXAN(config-pon)#

Example
The following example displays how to configure protection group attributes:
ZXAN(config-pon)#protection prop group ZTE mode non-revertive wtr 120

18-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Command
None

18.13.3 protection switch-command


Syntax
protection switch-command group groupName { lockoutprotect | { force | manual}{p2w |w2p}}
no protection switch-command group groupName

Purpose
To configure protection switch mode
Use no command to delete all switch commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

groupName

Protection group name

Range: 1 32 characters

lockoutprotect

Lock protection channel

force

manual

force

Forced switch to protection

manual

Manual switch

p2w

Synchronize data from the

protection port to work port


w2p

Synchronize data from the work

port to protection port

Mode
ZXAN(config-pon)#

Example
The following example displays how to configure protection switch mode:
ZXAN(config-pon)#protection switch-command group ZTE force w2p

Related Command
None

Related Information
Switch modes priorities are as follows from high to low:
18-48
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 18 GPON and EPON Common Configuration

lockoutprotect force manual w2p p2w

18.13.4 show protection group list


Syntax
show protection group list

Purpose
To show protection group list

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays how to show protection group list:
ZXAN(config)#show protection group list
zte

Related Command
None

18.13.5 show protection group information


Syntax
show protection group information [groupName ]

Purpose
To show protection group information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

groupName

Group name

Range: 1 32 characters

18-49
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays how to show protection group information:
ZXAN(config-pon)#show protection group information zte

Name :

zte

Work channel interface :

epon-olt_1/1/1

Protect channel interface: epon-olt_1/1/3


Protection type :

typeC

Protection mode:

non-revertive

Time to restore(s):

onu 1:
Active channel:

protect-channel

Alarm request:
Work channel:

ONUSF

Protect channel:

ONUSF

Externel request:

no-request

Related Command
None

18-50
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19

EPON Commands
Table of Contents
EPON Global Commands.........................................................................................19-1
EPON OLT Commands ..........................................................................................19-23
EPON ONU Basic Management Commands ..........................................................19-44
EPON ONU Remote Management Commands ......................................................19-67

19.1 EPON Global Commands


19.1.1 epon
Syntax
epon

Purpose
To enter into EPON interface configuration mode

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enter into EPON interface configuration mode:
ZXAN(config)#epon
ZXAN(config-epon)#

Related Commands
None

19-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.1.2 alarm mask


Syntax
alarm mask shelf/slot alarm-id code { disable | enable }

Purpose
To configure the alarm mask function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

EPON card slot

code

Alarm code

Range: 1 65535

disable

To disable the function

enable

To enable the function

Mode
ZXAN(config-epon)#

Example
The following example displays how to enable the alarm mask function for specific alarm:
ZXAN(config-epon)#alarm mask 1/3 alarm-id 22222 enable

Related Commands
show epon alarm-mask

19.1.3 custom-oam
Syntax
custom-oam shelf/slot {functional | traditional | additional}

Purpose
To configure the custom OAM

Usage Guidelines
The following table describes the relevant parameters:

19-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

functional

Comply with CTC standard.

Version list supports all CTC


versions.
traditional

Comply with China Unicom

standard. Version list only


supports China Unicom C1
version.
additional

Mixed mode: support both CTC

and China Unicom standards.


Version list includes all versions.
If both OLT and ONU support
C1, then C1 shall be given
priority.

Mode
ZXAN(config-epon)#

Example
The following example shows how to set the custom OAM as mixed mode:
ZXAN(config-epon)#custom-oam 1/2 additional

Related Commands
None

19.1.4 oam-mac
Syntax
oam-mac shelf/slot mac address

Purpose
To configure the extended OAM frames source address

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

shelf/slot

Shelf/Slot

mac address

MAC address

19-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-epon)#

Example
The following example shows how to set the extended OAM frames source MAC address:
ZXAN(config-epon)#oam-mac 1/1 d0d0.d1d2.d3d4

Related Commands
Line card equipped with TK chipsets will send an extended OAM frame source MAC
address. If it is not consistent with destination MAC address, then with this command
they will be forced to sync .

Related Information
None

19.1.5 onu-authentication-mode
Syntax
onu-authentication-mode {register shelf/slot { enable | disable }| service shelf/slot {mac | sn |
loid | hybrid} }

Purpose
To configure ONU authentication mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

shelf: Shelf number

Range: 0 31

slot: Slot number


register

Configure hardware

authentication mode
service

Configure software

authentication mode
mac

Authenticate ONU in MAC mode

sn

Authenticate ONU in serial

number mode
loid

Authenticate ONU in loid mode

19-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

hybrid

Authenticate ONU in hybrid

mode

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure ONU authentication mode:
ZXAN(config)#epon
ZXAN(config-epon)#onu-authentication-mode service 1/7 hybrid

Related Command
None

19.1.6 onu-authentication-mode auth-loid-as-sn


Syntax
onu-authentication-mode auth-loid-as-sn shelf/slot {disable | enable}

Purpose
To configure ONU authentication mode in which LOID is used as SN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

Shelf number/slot number

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure the authentication mode in which LOID
can be used as SN:
ZXAN(config)#epon
ZXAN(config-epon)#onu-authentication-mode auth-loid-as-sn 13/1 enable

19-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

Related Information
The authentication mode is useful for those devices that do not support SN querying.

19.1.7 onu-sla-profile
Syntax
onu-sla-profile profile-name create profile name
no onu-sla-profile profile-name profile name
onu-sla-profile profile-set profile name { downstream | upstream } { [ assured assured ] [ fixed
fixed ] [ fixedpkt fixedpkt ] [ maxburst maxburst ] [ maximum maximum ] [ priority priority ] }

Purpose
To configure ONU bandwidth profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

Range: 0 31 characters

fixed fixed

Upstream fixed bandwidth

Range: 0 10000000 kbps

fixedpkt fixedpkt

Fixed packet size

Range: 0 1582

assured assured

Upstream assured bandwidth

Range: 0 10000000 kbps

priority priority

Priority

Range: 0 7

maxburst maxburst

Max burst flow

Range: 1 16777215 bytes

maximum maximum

Maximum bandwidth

Range: 0 10000000 kbps

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure ONU bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-name creat test

19-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Commands
show onu-sla-profile

19.1.8 onu-uni-profile
Syntax
onu-uni-profile profile-name create profile name
no onu-uni-profile profile-name profile name
onu-uni-profile profile-set profile name { downstream | upstream } { [ cbs cbs ] [ cir cir ] [ ebs
ebs ] }

Purpose
To configure ONU UNI bandwidth profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

Range: 0 31 characters

cbs cbs

Committed burst size

1522 16777215 bytes

cir cir

Committed information rate

Range: 0 10000000 kbps

ebs ebs

Exceed burst size

Range: 0 1522 bytes

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure the ONU UNI bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-name create test

Related Commands
None

19.1.9 onu-type-profile
Syntax
onu-type-profile name name
19-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no onu-type-profile name name


onu-type-profile description name description
onu-type-profile interface type_slot/portlist typename
no onu-type-profile interface type_slot/portlist typename

Purpose
To configure ONU type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name name

ONU type name

description description

ONU description

type_slot/portlist

UNI port list

typename

ONU type name

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure ONU type profile:
ZXAN(config-epon)#onu-type-profile ZTE-F111
ZXAN(config-epon)#onu-type-profile description ZTE-F111 new-onu
ZXAN(config-epon)#onu-type-profile interface eth_0/1-4 ZTE-F111
ZXAN(config-epon)#onu-type-profile interface pots_0/1-2 ZTE-F111

Related Commands
None

19.1.10 ems-report
Syntax
ems-report shelf/slot { configfailonu | misspeedonu | unauthonu } {disable | enable}

Purpose
To configure EMS report information

19-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

Shelf number/slot number

Range: 0 31 characters

configfailonu

ONU configuration fails

misspeedonu

ONU speed mismatches

unauthonu

ONU authentication fails

enable

Enable the report

disable

Disable the report

Mode
ZXAN(config-epon)#

Example
The following example displays how to enable the EMS report that ONU configuration fails:
ZXAN(config-epon)#ems-report 1/7 configfailonu disable

Related Commands
None

19.1.11 onu-sla-profile profile-name


Syntax
onu-sla-profile profile-name create profile-name
onu-sla-profile profile-name rename oldname profile-name newname profile-name

Purpose
To create or modify ONU bandwidth profile name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

create profile-name

Create a new bandwidth profile

Range: 0 16 characters

oldnameprofile-name

Old name of the bandwidth

Range: 0 16 characters

profile
newnameprofile-name

New name of the bandwidth

Range: 0 16 characters

profile
19-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-epon)#

Example
The following example displays how to create ONU bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-name create zte-epon

Related Command
None

19.1.12 onu-sla-profile profile-set


Syntax
onu-sla-profile profile-set profile-name upstream{fixedfixedbandwidth | fixedpkt fixedpkt| assu
redassuredbandwidth| maximummaxbandwidth| maxburstmaxburst| prioritypriority}
onu-sla-profile profile-set profile-name downstream{maximummaxbandwidth | maxburstmaxb
urst}

Purpose
To configure the upstream/downstream bandwidth attributes of ONU bandwidth profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

Create a new bandwidth profile

Range: 0 16 characters

fixedbandwidth

Fixed bandwidth

Range: 0 Maximum bandwidth

fixedpkt

Fixed packet

Range: 0 1582

assuredbandwidth

Assured bandwidth

Range: 512 Maximum


bandwidth

maxbandwidth

Maximum bandwidth

Range: 512 1000000

maxburst

Maximum burst packets

Range: 1 16777215

priority

Priority

Range: 0 7

Mode
ZXAN(config-epon)#
19-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to configure the upstream bandwidth attributes of
ONU bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-set zte-epon upstream
assured 4000 maximum 10000

maxburst 205000

Related Command
None

19.1.13 dba
Syntax
dba shelf/slot {archimedes | thales | plato}

Purpose
To configure dynamic bandwidth allocation

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

shelf: Shelf number

Range: 0 31 characters

slot: Slot number

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure dynamic bandwidth allocation:
ZXAN(config)#epon
ZXAN(config-epon)#dba 0/4 plato

Related Command
None

19-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.1.14 encrypt
Syntax
encrypt algorithm shelf/slot {aes | triple-churning [ key-update-period integer] [churning-tim
er integer]}

Purpose
To configure OLT encryption function.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


key-update-period integer

churning-timer integer

Key update period

Range: 3 255

Unit: second

Default: 10 sec

Key churning time

Range: 1 255

Unit: second

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure encryption function:
ZXAN(config)#epon
ZXAN(config-epon)#encrypt algorithm 0/3

triple-churning

key-update-period 30 churning-timer 200

Related Command
None

Related Information
Configure key update period and key churning time only when the encryption algorithm is
triple churning.
Parameters must conform to the following conditions:
Key churning time 10 Key update time

19-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.1.15 hardwarelog
Syntax
hardwarelog shelf/slot {enable | disable}

Purpose
To configure ONU hardware log

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


enable

Enable hardware log

disable

Disable hardware log

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure ONU hardware log:
ZXAN(config)#epon
ZXAN(config-epon)#hardwareLog 0/4 enable

Related Command
None

19.1.16 serial-port attribute-profile


Syntax
serial-port attribute-profile profile name {[ state { disable | enable } ] [ baud-rate { 115200 |
1200 | 19200 | 2400 | 300 | 38400 | 43000 | 4800 | 56000 | 57600 | 600 | 9600 } ] [data-bits <
data-bits >] [parity {even | mark | none | odd | space }] [ stop-bits {1 | 1.5 | 2 }] [flow-control
{none | rts/cts xon/xoff}] [type {rs232 | rs485}]}

Purpose
To create a serial port attribute profile
19-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

profile name

Serial port attribute profile name

132 characters

state

On/Off state of serial port server

baud-rate

Serial port server baud-rate

data-bits < data-bits >

Data bits

58

parity

Parity

even

Even

mark

Mark

none

None

odd

Odd

space

Space

stop-bits

Stop bits

flow-control

Flow control

none

None flow control

rts/cts

Hardware (RTS/CTS) flow

control
xon/xoff

Software (Xon/Xoff) flow control

type

Serial port type

rs232|rs485

Mode
ZXAN(config-epon)#

Example
The following example shows how to create a serial port attribute profile:
ZXAN(config-epon)#serial-port attribute-profile testAttr
state enable baud-rate 9600 data-bits 8 parity
even stop-bits 2 flow-control none type rs232

Related Commands
show remote epon serial-port attribute-profile

19-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.1.17 serial-port buffer-profile


Syntax
serial-port buffer-profile profile name {[ mode { buffered | immediate } ] [ wait-time < wait-t
ime >] [ buffer-size < buffer-size >] [ encrypt { false | true}] }

Purpose
To create a serial port buffer profile

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

mode

Serial port buffer mode

buffered

Serial port buffer mode

immediate

Serial port buffer mode

wait-time < wait-time >

Wait time in mini-second

201000

buffer-size < buffer-size >

Buffer size in bytes

11400

encrypt

Encrypted or not

Mode
ZXAN(config-epon)#

Example
The following example shows how to create a serial port buffer profile:
ZXAN(config-epon)#serial-port buffer-profile bufAttr mode
buffered buffer-size 100 wait-time 150 encrypt true

Related Commands
show remote epon serial-port buffer-profile

19.1.18 serial-port global-profile


Syntax
serial-port global-profile profile name {[ discover-port discover-port ] [ signal-port signal-port
] [ idle-time idle-time ] [ interval-time interval-time ] [ max-lost-packet max-lost-packet ]

Purpose
To create a serial port global profile
19-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

discover-port

Discover port signal

Defalut:6200
165535

signal-port

Signal port

Defalut:6200
165535

idle-time

Link idle time in second

Defalut:30
17200

interval-time

max-lost-packet

Keep-alive packets interval in

Defalut:5

second

17200

Maximum lost packet

Defalut:100
1100

Mode
ZXAN(config-epon)#

Example
The following example shows how to create a serial port global profile:
ZXAN(config-epon)#serial-port global-profile testGlb discover-port
4000 signal-port 5000 idle-time 100
interval-time 150 max-lost-packet 65

Related Commands
show remote epon serial-port global-profile testGlb

19.1.19 onu-uni-profile profile-name


Syntax
onu-uni-profile profile-name createprofile-name
onu-uni-profile profile-name rename oldnameprofile-name newnameprofile-name

Purpose
To create or modify ONU user interface broadband profile name

Usage Guidelines
The following table provides parameter description:

19-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

createprofile-name

Create a new broadband profile

Range: 0 16 characters

oldnameprofile-name

Old name of the broadband

Range: 0 16 characters

profile
newnameprofile-name

New name of the broadband

Range: 0 16 characters

profile

Mode
ZXAN(config-epon)#

Example
The following example displays how to create ONU user interface broadband profile name:
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-name create zte-epon

Related Command
None

19.1.20 onu-uni-profile profile-set


Syntax
onu-uni-profile profile-set profile-name upstream{circir | cbscbs| ebsebs}
onu-uni-profile profile-set profile-name downstream{circir | cbscbs| ebsebs}

Purpose
To configure the upstream/downstream bandwidth attributes of ONU user interface
bandwidth profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

Bandwidth profile name

Range: 0 16 characters

cir

Committed information rate

Range: 0 1000000

cbs

Committed burst size

Range: 0 65535

ebs

Excess burst size

Range: 0 1518

19-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-epon)#

Example
The following example displays how to configure the upstream bandwidth attributes of
ONU user interface bandwidth profile:
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-set zte-epon
upstream cir 4000 cbs 1518

ebs 1518

Related Command
None

19.1.21 show epon alarm-mask


Syntax
show epon alarm-mask shelf/slot

Purpose
To display the EPON alarm mask information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

EPON card slot

Mode
Any mode except ZXAN>

Example
The following example displays the EPON alarm mask information:
ZXAN(config-epon)#show epon alarm-mask 1/3
AlarmId

MaskCount

............................................................................

22222

19-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Commands
alarm mask

19.1.22 show epon authentication-mode


Syntax
show epon authentication-mode shelf/slot

Purpose
To show EPON OLT interface authentication mode information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

shelf: Shelf number

Range: 0 31 characters

slot: Slot number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface authentication mode
information:
ZXAN(config-epon)#show epon authentication-mode 1/7
Register-authentication-mode:

disable

Service-authentication-mode:

HYBRID

Related Command
None

19.1.23 show epon custom-oam


Syntax
show epon custom-oam shelf/slot

Purpose
To show the EPON custom OAM
19-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
All modes except user mode

Example
The following example shows how to show the EPON custome OAM:
ZXAN#show epon custom-oam 1/1

Related Commands
None

19.1.24 show epon onu-sla-profile


Syntax
show epon onu-sla-profile [ profilename ]

Purpose
To display EPON ONU bandwidth profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

Mode
Any mode except ZXAN>

Example
The following example displays the EPON ONU bandwidth profile:
ZXAN(config-epon)#show epon onu-sla-profile test
ProfileName :test
UpStream

MaxBw

MinBw

FixBw

(Kbps)

(Kbps)

(Kbps)

FixPktSize MaxBurstSize Priority


(Bytes)

(Bytes)

------------------------------------------------------------------------------10000
Downstream

512

MaxBw(Kbps)

1500

45000

MaxBurstSize(Bytes)

----------------------------------------------------------------------------

19-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands


100000

16777215

Onu reference:

Related Commands
onu-sla-profile

19.1.25 show epon onu-uni-profile


Syntax
show epon onu-uni-profile [ profilename ]

Purpose
To display EPON ONU UNI bandwidth profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

Mode
Any mode except ZXAN>

Example
The following example displays EPON ONU UNI bandwidth profile:
ZXAN(config-epon)#show epon onu-uni-profile

Related Commands
onu-sla-profileNone

19.1.26 show epon onu-type-profile


Syntax
show epon onu-type-profile [ profilename ]

Purpose
To display EPON ONU type profile

19-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

Mode
Any mode except ZXAN>

Example
The following example displays EPON ONU type profile:
ZXAN(config-epon)#show epon onu-type-profile

Related Commands
onu-type-profile

19.1.27 show epon dba


Syntax
show epon dba [shelf/slot ]

Purpose
To show EPON OLT interface DBA algorithm information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot

shelf: Shelf number

Range: 0 31 characters

slot: Slot number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface DBA algorithm
information:
ZXAN#show epon dba 1/4
Shelf/Slot

DBA Algorithm

......................................

19-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands


1/4

plato

Related Command
None

19.2 EPON OLT Commands


19.2.1 interface epon-olt
Syntax
interface epon-olt_shelf/slot/oltId

Purpose
To enter into EPON OLT interface configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/oltId

shelf: Shelf number

slot: Slot number


oltId: OLT interface

Mode
ZXAN(config)#

Example
The following example displays how to enter into EPON OLT interface configuration mode:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#

Related Command
None

19-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.2.2 alarm
Syntax
alarm {err-frame | err-frame-period [ err-frame-second-sum | err-symbol-period }{disable |
enable}[threshold threshold window window]

Purpose
To configure EPON OLT interface alarm function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

threshold threshold

Alarm threshold

Range: 0 42949672955

window window

Error window

Range: 0 42949672955

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON OLT interface alarm function:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#alarm err-frame enable

Related Command
None

19.2.3 property
Syntax
property name name

Purpose
To configure EPON OLT interface name

Usage Guidelines
The following table provides parameter description:

19-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Parameter

name

Configure EPON OLT interface

Range: 0 63 characters

name

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON OLT interface description
information:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#property name epon-olt_1/1/1

Related Command
None

19.2.4 fec downstream


Syntax
fec downstream { disable | enable }

Purpose
To configure the downstream FEC function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

To disable the function

enable

To enable the function

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the downstream FEC function:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#fec downstream enable

19-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

19.2.5 high-priority-frame
Syntax
high-priority-frame [ queue-list value]

Purpose
To configure high priority frames

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

queue-list value

Priority queue group

Format: X.Y.Z.... or X-Z


Range: 0 7

Mode
ZXAN(config-if)#

Example
The following example displays how to configure high priority frames:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# high-priority-frame queue-list 4-7

Related Command
None

19.2.6 linktrap
Syntax
linktrap { inform | disable}

Purpose
To configure EPON interface link trap

Usage Guidelines
The following table provides parameter description:
19-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

inform

Send the alarm message to

NMS when the link is down.


disable

Do not send the alarm message

to NMS when the link is down.

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON interface link trap:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# linktrap inform

Related Command
None

19.2.7 loopback
Syntax
loopback phy system
no loopback phy system

Purpose
To configure EPON OLT interface loopback attributes
Use no command to delete loopback attributes.

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON OLT interface loopback attributes:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#loopback phy system

19-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Command
None

19.2.8 loopback-detection
Syntax
loopback-detection {disable | enable}

Purpose
To configure EPON OLT interface loopback detection

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

disable

Disable loopback detection

enable

Enable loopback detection

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON OLT interface loopback detection:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# loopback-detection enable

Related Command
None

19.2.9 maxrtt
Syntax
maxrtt [ value ]

Purpose
To configure the maximum RTT value

19-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

value

RTT value the OLT supports

Range: 0 65535
Defualt: 13524 TQ
Unit: TQ (1 TQ = 16ns)

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum RTT value:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#maxrtt 12500

Related Command
None

Related Information
The default RTT value is 13524TQ.

19.2.10 onu
Syntax
onu onuid type type-name {mac macAddr | sn sn| loid onu-loid} [ password onu-password][ip-cfg
{auto-cfg | static } ]
onu onu onuid

Purpose
To add the specified ONU to EPON OLT interface
Use no command to delete the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

onuid

ONU ID

Range: 1 254

19-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Parameter

type type-name

ONU type name

ZTE-D400

ZTE-D402

ZTE-D420

ZTE-D421

ZTE-D422

ZTE-F401

ZTE-F425

ZTE-F429

ZTE-F430

ZTE-F435

ZTE-F500

ZTE-F621

ZTE-F622

ZTE-F625

ZTE-F640

ZTE-F641

ZTE-F820

ZTE-9806-E

mac macAddr

ONU MAC address

XXXX.XXXX.XXXX

sn sn

ONU serial number

Range: 1 127 characters

loid onu-loid

ONU logic id

Range: 1 24characters

password onu-password

ONU password for loid

Range: 1 12characters

ip-cfg

IP address configuration

auto-cfg

Obtain IP address automatically

static

Obtain static IP address

Mode
ZXAN(config-if)#

Example
The following example displays how to add the specified ONU to EPON OLT interface and
make ONU authentication according to MAC address:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#onu 1 type ZTE-F425 mac 000c.0000.0001

Related Command
None

19-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Information
Input ONU MAC address when the authentication mode is MAC. Input ONU SN when the
authentication mode is SN.

19.2.11 optical-module-alarm-profile
Syntax
optical-module-alarm-profile prfName
no optical-module-alarm-profile

Purpose
To apply an optical-module alarm profile on a OLT or Ethernet optical port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prfName

Profile name

Mode
ZXAN(config-if)#

Example
The following example displays how to apply on an optical interface:
ZXAN(config-if)#optical-module-alarm-profile opt_prf1

Related Commands
optical-module alarm-profile
show optical-module-alarm-profile

19.2.12 performance start


Syntax
performance start

Purpose
To start EPON OLT performance statistic function

19-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to start EPON OLT performance statistic function:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#performance start

Related Command
None

19.2.13 priority-queue-map
Syntax
priority-queue-map {downstream | upstream} prio0-que value prio1-que value prio2-que val
ue prio3-que value prio4-que value prio5-que value prio6-que value prio7-que value

Purpose
To configure the mapping relationship between the frame priority and queue

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

prio0-que value

Priority mapping to queue 0

Range: 0 7

prio1-que value

Priority mapping to queue 1

Range: 0 7

prio2-que value

Priority mapping to queue 2

Range: 0 7

prio3-que value

Priority mapping to queue 3

Range: 0 7

prio4-que value

Priority mapping to queue 4

Range: 0 7

prio5-que value

Priority mapping to queue 5

Range: 0 7

prio6-que value

Priority mapping to queue 6

Range: 0 7

prio7-que value

Priority mapping to queue 7

Range: 0 7

Mode
ZXAN(config-if)#
19-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to configure the mapping relationship between the
frame priority and queue:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#priority-queue-map upstream prio0-que 0
prio1-que 1 prio2-que 2 prio3-que 3 prio4-que 4 prio5-que 5
prio6-que 6 prio7-que 7

Related Command
None

19.2.14 p2p group


Syntax
p2p group groupid
no p2p group groupid

Purpose
To create point-to-point group
Use no command to delete the point-to-point group.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

groupid

Group ID

Range: 1 64

Mode
ZXAN(config-if)#

Example
The following example displays how to create point-to-point group:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# p2p group 2

Related Command
None
19-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.2.15 p2p group-name


Syntax
p2p group-name groupid name

Purpose
To configure point-to-point group name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

groupid

Group ID

Range: 1 64

name

Group name

Range: 1 64 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure point-to-point group name:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# p2p group-name 2 test

Related Command
None

19.2.16 p2p mode


Syntax
p2p mode { full | group}

Purpose
To configure point-to-point mode

Usage Guidelines
None

Mode
ZXAN(config-if)#
19-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to configure point-to-point mode:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# p2p mode full

Related Command
None

19.2.17 reset
Syntax
reset

Purpose
To reset an EPON OLT interface

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to reset an EPON OLT interface:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#reset

Related Command
None

19.2.18 reset counter


Syntax
reset counter

Purpose
To reset an EPON OLT interface counter
19-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to reset an EPON OLT interface counter:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#reset counter

Related Command
None

19.2.19 range
Syntax
range

Purpose
To reset an EPON OLT interface port list range

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to reset an EPON OLT interface port list range:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#range
Portlist of the range: epon-olt_1/1/1

Related Command
None

19-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.2.20 rx-hec
Syntax
rx-hec [ 802.3ah-draft | 802.3ah-standard | both | no]

Purpose
To configure EPON OLT interface receiving HEC mode

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON OLT interface receiving HEC
mode:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#rx-hec no

Related Command
None

19.2.21 vlan-smart-qinq
Syntax
vlan-smart-qinq { enable | disable }

Purpose
To configure OLT interface Q-in-Q

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

disable

Disable Q-in-Q function

enable

Enable Q-in-Q function

19-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to configure OLT interface Q-in-Q:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)# vlan-smart-qinq enable

Related Command
None

19.2.22 shutdown
Syntax
shutdown
no shutdown

Purpose
To shutdown an EPON OLT interface
Use no command start an EPON OLT interface.

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to shutdown an EPON OLT interface:
ZXAN(config)#interface epon-olt_1/1/1
ZXAN(config-if)#shutdown

Related Command
None

19-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.2.23 show epon priority-queue-map


Syntax
show epon priority-queue-map epon-olt_shelf/slot/olt

Purpose
To show EPON OLT interface priority queue mapping information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface priority queue mapping
information:
ZXAN#show epon priority-queue-map epon-olt_1/1/1
Direction

Priority: Queue Map

-----------------------------------------------downstream

0:0, 1:1, 2:2, 3:3, 4:4, 5:5, 6:6, 7:7

upstream

0:0, 1:1, 2:2, 3:3, 4:4, 5:5, 6:6, 7:7

Related Command
None

19.2.24 show olt alarm-info


Syntax
show olt alarm-info epon-olt_shelf/slot/olt

Purpose
To show EPON OLT interface alarm information

19-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface alarm information:
ZXAN(config-if)# show olt alarm-info epon-olt_1/1/1

Related Command
None

19.2.25 show olt config


Syntax
show olt config epon-olt_shelf/slot/olt

Purpose
To show EPON OLT interface configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface configuration
information:
19-40
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands


ZXAN(config)#show olt config epon-olt_1/1/1
Olt Name:

The default PON name;

Encry Algorithm:

triple-churning

EncKeyUpdatePeriod:

20(s);

EncKeyUpdateTimeout: 3(s);
EncStartThreshold:

3(s);

LoopbackLocation:

OLT

LoopbackExecEntity:

phy

LoopbackDirection:

LoopbackStatus:

system;
NO-LOOPBACK;

High priority queue: 4 5 6 7 ;


Low priority queue:

0 1 2 3 ;

MaxRtt

13524(tq);

Rx-Hex mode

no;

IP pool name

Support single Llid.


Pon speed

speed is 1G.

Related Command
None

19.2.26 show olt available-upstream-bandwidth


Syntax
show olt available-upstream-bandwidth epon-olt_shelf/slot/olt

Purpose
To show EPON OLT interface available upstream bandwidth information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface available upstream
bandwidth information:
ZXAN(config)#show olt available-upstream-bandwidth epon-olt_1/1/1

19-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


OltInterface

Available bandwidth

--------------------------------------------------------epon-olt_1/1/1

967744

Related Command
None

19.2.27 show olt dba-cycle


Syntax
show olt dba-cycle epon-olt_shelf/slot/olt

Purpose
To show EPON OLT interface DBA poll configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface DBA poll configuration
information:
ZXAN(config)#show olt dba-cycle epon-olt_1/1/1
Priority

Cycle time(us)

---------------------------------------1

750

750

750

750

750

750

750

750

19-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Command
None

19.2.28 show olt statistics


Syntax
show olt statistics epon-olt_shelf/slot/olt

Purpose
To show EPON OLT interface statistics information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON OLT interface statistics information:
ZXAN(config-if)#show olt statistics epon-olt_1/1/1

Olt InterFacename:epon-olt_1/1/1
Dot3ExtPkgObjectReportNumThreshold:0
Dot3ExtPkgObjectReportMaximumNumThreshold:0
Dot3ExtPkgStatTxFramesQueue-high32bit:0
Dot3ExtPkgStatTxFramesQueue-low32bit:570589252
Dot3ExtPkgStatRxFramesQueue-high32bit:0
Dot3ExtPkgStatRxFramesQueue-low32bit:0
Dot3ExtPkgStatDroppedFramesQueue-high32bit:0
Dot3ExtPkgStatDroppedFramesQueue-low32bit:8189

--------------------------------------------------------Olt InterFacename:epon-olt_1/1/1
OltPonAverageBER:0.000000e+00
OltSysAverageBER:0.000000e+00

19-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Command
None

19.2.29 show olt mpcp-discovery-window


Syntax
show olt mpcp-discovery-window interface

Purpose
To query the MPCP discovery status of an EPON OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

Interface name

Mode
Any mode except ZXAN>

Example
The following example displays the MPCP discovery status of an EPON OLT interface :
ZXAN#show olt mpcp-discovery-window epon-olt_1/1/1
Item

Status

...................................................

1GSymmetry

enable

10GDownstream-1GUpstream

enable

10Symmetry

enable

Related Commands
None

19.3 EPON ONU Basic Management Commands


19.3.1 interface epon-onu
Syntax
interface epon-onu_shelf/slot/oltId:onuId
19-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Purpose
To enter into EPON ONU interface configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId

shelf: Shelf number

slot: Slot number


oltId: OLT interface number
onuId

ONU interface numbe

Range: 1 64

Mode
ZXAN(config)#

Example
The following example displays how to enter into EPON ONU interface configuration mode:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#

Related Command
None

19.3.2 activate
Syntax
activate

Purpose
To activate ONU

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to activate ONU:
19-45
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)# activate

Related Command
None

19.3.3 ems-autocfg-request
Syntax
ems-autocfg-request {enable | disable}

Purpose
To configure ONU auto-authentication function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

disable

Disable

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU auto-authentication function:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#ems-autocfg-request enable

Related Command
None

19.3.4 sn
Syntax
sn sn

19-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Purpose
To modify ONU serial number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

sn sn

ONU serial number

Range: 1 127 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to modify ONU serial number:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#sn 0x91000048

Related Command
None

19.3.5 deactivate
Syntax
deactivate

Purpose
To deactivate ONU

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to deactivate ONU:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#deactivate

19-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Command
None

19.3.6 property
Syntax
property {[description description] |[spliter spliter] |[user-info user-info]}
no property

Purpose
To configure EPON ONU interface description information
Use no command to delete the description information.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

description

ONU interface description

Range: 1 127 characters

information
spliter

Splitter number

Range: 1 255 characters

user-info

ONU user information

Range: 1 127 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON ONU interface description
information:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#property description onu1 spliter 1 userinfo ctc

Related Command
None

19.3.7 SLA
Syntax
SLA { upstream | downstream } maximum maxSLA maxburst maxburst[vportportid]
19-48
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Purpose
To configure EPON ONU bandwidth

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

maximum maxSLA

Maximum bandwidth

Downstream: 512 10000000


kbps

Upstream: 512 10000000


kbps
maxburst maxburst

Maximum burst

Range: 1 16777215 bytes

vport portid

Port ID

Range: 1 8

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON ONU bandwidth:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#sla upstream maximum 100000 maxburst 180000

Related Command
None

19.3.8 sla-profile
Syntax
sla-profile profile name

Purpose
To configure EPON ONU sla profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Sla profile name

Default profile: default

19-49
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON ONU sla profile:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#sla-profile default

Related Command
None

19.3.9 mac-bind
Syntax
mac-bind {enable mac macadd | disable}

Purpose
To configure ONU MAC address binding

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mac-address

MAC address

Format: XXXX.XXXX.XXXX

enable

Enable MAC address binding

disable

Disable MAC address binding

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU MAC address binding:
ZXAN(config-if)#interface epon-onu_1/1/2:3
ZXAN(config-if)# mac-bind enable mac 0000.0000.0001

Related Command
None
19-50
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.3.10 deregister
Syntax
deregister

Purpose
To delete the ONU which has registered

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to delete the ONU which has registered:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#deregister

Related Command
None

19.3.11 fec
Syntax
fec upstream {enable | disable}

Purpose
To configure EPON ONU upstream FEC function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable FEC function

disable

Disable FEC function

Mode
ZXAN(config-if)#
19-51
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure EPON ONU upstream FEC function:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#fec upstream enable

Related Command
None

19.3.12 encrypt
Syntax
encrypt direction {downstream | both} {enable | disable}

Purpose
To configure ONU encryption attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

direction

Encrypted packets direction

downstream
both

enable

Enable encryption

disable

Disable encryption

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU encryption attributes:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#encrypt direction downstream enable

Related Command
None

Related Information
Presently, the system only supports encryption on downstream packets.
19-52
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.3.13 ip access-group
Syntax
ip access-group acl-number in

Purpose
To configure ONU access control in ingress direction

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

acl-number

ACL number

Range: 300 699

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU encryption attributes:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)# ip access-group 300 in

Related Command
None

19.3.14 loid-bind
Syntax
loid-bind { enable | disable}

Purpose
To enable binding the ONU LOID with a registered MAC address

Usage Guidelines
None

Mode
ZXAN(config-if)#
19-53
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example shows how to enable binding the ONU LOID with a registered MAC
address
ZXAN(config)#interface epon-onu_1/2/1:1
ZXAN(config-if)#loid-bind enable

Related Commands
After binding, NE cannot add another ONU with the same LOID. Otherwise, it will cause
conflict warning.

Related Information
None

19.3.15 diagnose
Syntax
diagnose{[link-test ] |[loopback ]}

Purpose
To configure EPON ONU link test and loopback test

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON ONU link test and loopback test:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#diagnose link-test
TestSts success.

Related Command
None

Related Information
The system executes the test once the command is carried out and it displays the test
result after the test is completed.
19-54
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.3.16 mac
Syntax
mac mac-address

Purpose
To configure EPON ONU MAC address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mac-address

MAC address

Format: XXXX.XXXX.XXXX

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON ONU MAC address:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#mac 0000.0000.0001

Related Command
None

19.3.17 max-mac-learn
Syntax
max-mac-learn value [vport vport]

Purpose
To configure EPON ONU maximum learning MAC addresses

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

value

Maximum learning MAC

Range: 0 4095

addresses
19-55
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

vport vport

Vport ID

Range: 1 256
Default: 1

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON ONU maximum learning MAC
address:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#max-mac-learn 1

Related Command
None

19.3.18 priority-trans
Syntax
priority-trans {upstream | downstream} priority priority[def-vlan vlan-id]

Purpose
To configure EPON ONU priority transfer function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

priority priority

Priority

Range: 0 7

def-vlan vlan-id

Default VLAN ID

Range: 1 4094

Mode
ZXAN(config-if)#

Example
The following example displays how to configure EPON ONU priority transfer function:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)# priority-trans downstream priority 7 default-vlan 100

19-56
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Command
None

19.3.19 performance start


Syntax
performance start

Purpose
To start EPON ONU performance statistics

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to start EPON ONU performance statistics:
ZXAN(config)#interface epon-onu_1/1/2:3
ZXAN(config-if)#performance start

Related Command
None

19.3.20 join-p2p-group
Syntax
join-p2p-group groupid

Syntax
no join-p2p-group

Purpose
To add ONU to the specified P2P group
Use no command to delete P2P group

19-57
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

groupid

Group ID

Range: 1 64

Mode
ZXAN(config-if)#

Example
The following example displays how to add ONU to the specified P2P group:
ZXAN(config)#interface epon-onu 1/4/2:3
ZXAN(config-if)# join-p2p-group 2

Related Command
None

19.3.21 range
Syntax
range

Purpose
To show ONU interface port list range

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to show ONU interface port list range:
ZXAN(config)#interface epon-onu 1/4/2:3
ZXAN(config-if)#range
Portlist of the range: epon-onu 1/4/2:3

19-58
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Command
None

19.3.22 show onu all-status


Syntax
show onu all-status epon-olt_shelf/slot/olt

Purpose
To show all ONUs running status

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number

Mode
Any mode except user mode

Example
The following example displays how to show all ONUs running status:
ZXAN#show onu all-status epon-olt_1/1/2
Onu Interface

Regstatus

Status

.......................................................
epon-onu_1/1/2:3

authenticated

Offline

epon-onu_1/1/2:11

authenticated

Offline

Related Command
None

19.3.23 show onu authentication


Syntax
show onu {authentication | unauthentication} {epon-olt_shelf/slot/olt | epon-onu_shelf/slot/olt:o
nu}
19-59
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To show ONU authentication information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 1 32 characters

slot: Slot number


olt: OLT interface number
epon-onu_shelf/slot/olt:onu

shelf: Shelf number

Range: 1 32 characters

slot: Slot number


olt: OLT interface number
onu: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show ONU authentication information:
ZXAN#show onu authentication epon-olt_1/1/2
Onu interface :

epon-onu_1/1/2:3;

Onu type :

ZTE-F820;

MAC address :

0019.c600.0011;

SN :

LOID :
Active status :

inactive

State :

Offline;

LastAuthTime :

0000/00/00 00:00:00

Related Command
None

19.3.24 show onu detail-info


Syntax
show onu detail-info epon-onu_shelf/slot/oltId:onuId

Purpose
To show ONU detailed information
19-60
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show ONU detailed information:
ZXAN(config)#show onu detail-info epon-onu_1/1/2:3
Onu interface:

epon-onu_1/1/2:3

AdminState:

enable

Physical state:

offline

Online state:

not registered

OnuType:

ZTE-F820

SN:
MAC:

0019.c600.0011

LOID:
GeneralDescription:

onu1 spliter 1 userinfo ctc

SpliterNo:

FiberNo:

UserInfo:
FecMode:

unknow

FecAbility:

unknow

LoopbackStatus:

noLoopback

OamLoopbacIgnoreRx:

ignore

MAC bind mode:

disable

Onu Bind Mac:

0000.0000.0000

Automatic config:

disable

Related Command
None

19-61
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.3.25 show onu sla


Syntax
show onu sla {downstream | upstream} {epon-olt_shelf/slot/olt | epon-onu_shelf/slot/olt:onu}

Purpose
To show ONU bandwidth information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
shelf: Shelf number

epon-onu_shelf/slot/olt:onu

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
onu: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show ONU bandwidth information:
ZXAN(config-if)#show onu sla downstream epon-olt_1/1/1
ID

MaxBw(Kbps)

MaxBurstSize(Bytes)

ProfileName

-----------------------------------------------------------------1

10000

205000

N/A

Related Command
None

19.3.26 show onu mpcpinfo


Syntax
show onu mpcpinfo epon-onu_shelf/slot/olt:onu

19-62
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Purpose
To show EPON ONU interface MPCP information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/olt:onu

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
onu: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU interface MPCP information:
ZXAN#show onu mpcpinfo epon-onu_1/1/2:3
oprStatus:

false;

AdminStatus:

false;

SyncTime:

0;

MpcpMode:

olt;

MpcpLinkID:

0;

RemoteMacAddr:

0000.0000.0000;

RegistrationState:

unregister;

RoundTripTime:

0(tq);

MaximumPendingGrants:

0;

Related Command
None

19.3.27 show onu oam


Syntax
show onu oam epon-onu_shelf/slot/olt:onu

Purpose
To show EPON ONU interface OAM information

19-63
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/olt:onu

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
onu: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU interface OAM information:
ZXAN#show onu oam epon-onu_1/1/2:3
Onu interface:

epon-onu_1/1/2:3

OamAdminState:

enable

OamOperStatus:

operational

OamMode:

active

MaxOamPduSize:

1518

OamconfigRevision:

OamFunctionSupported:
PeerMacAddress:

0015.eb71.2d54;

PeerVendorInfo:

1661009920;

PeerMode:

passive;

PeerMaxOamPduSize:

1518;

PeerConfigRevision:

1;

PeerFunctionSupported:

Related Command
None

19.3.28 show onu config-info


Syntax
show onu config-info epon-onu_shelf/slot/olt:onu

Purpose
To show EPON ONU configuration information

19-64
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/olt:onu

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
onu: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU configuration information:
ZXAN#show onu config-info epon-onu_1/1/2:3
status: not configured.

Related Command
None

19.3.29 show onu priority-trans


Syntax
show onu priority-trans {downstream | upstream} {epon-olt_shelf/slot/olt | epon-onu_shelf/slot
/olt:onu}

Purpose
To show ONU packets priority transfer information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
epon-onu_shelf/slot/olt:onu

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
onu: ONU interface number
19-65
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays how to show ONU packets priority transfer information:
ZXAN(config)# show onu priority-trans downstream epon-olt_1/1/2
Onu interface

Priority

Default vlan

State

----------------------------------------------------------------epon-onu_1/1/2:3

disable

epon-onu_1/1/2:11

disable

Related Command
None

19.3.30 show onu running config


Syntax
show onu running config epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU running configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU running configuration
information:
ZXAN#show onu running config epon-onu_1/1/2:3
olleh
!

19-66
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands


pon-onu-mng epon-onu_1/1/2:3
no Forbid-auto-dispatch
interface eth eth_0/1 policing downstream enable cir 2000 cbs
2000 ebs 2000
!

Related Command
None

19.4 EPON ONU Remote Management Commands


19.4.1 pon-onu-mng epon-onu
Syntax
pon-onu-mng epon-onu_shelf/slot/oltId:onuId

Purpose
To enter into EPON ONU remote management mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-olt_shelf/slot/oltId

shelf: Shelf number

slot: Slot number


oltId: OLT interface number
onuId

ONU number

Range: 1 64

Mode
ZXAN(config)#

Example
The following example displays how to enter into EPON ONU remote management mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#

Related Command
None
19-67
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.2 active
Syntax
active pon-if { back | main }

Purpose
To configure the active PON port for ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

back

Backup PON port

main

Active PON port

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure the active PON port for ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#active pon-if main

Related Commands
None

19.4.3 alarm
Syntax
alarm {enable | disable}

Purpose
To configure EPON ONU alarm report function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

disable

Disable alarm report function

19-68
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Parameter

enable

Enable alarm report function

interface

Configure UNI alarm

onu

Configure ONU alarm

pon-if

Configure pon-if alarm

Range: 1 2

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU alarm report function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#alarm enable

Related Command
None

19.4.4 alarm-threshold
Syntax
alarm-threshold onu { BatteryVoltLow | ONUTempHighAlarm | ONUTempLowAlarm } ass
ert-val assert-val restore-val restore-val

Purpose
To configure ONU alarm thresholds

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

BatteryVoltLow

Battery low voltage threshold

ONUTempHighAlarm

ONU high temperature

threshold
ONUTempLowAlarm

ONU low temperature threshold

assert-val assert-val

Alarm report threshold

BatteryVoltLow:0.0 6.55
ONUTempHighAlarm:-128
127
ONUTempLowAlarm:-128 127

19-69
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

restore-val restore-val

Alarm clear threshold

BatteryVoltLow:0.0 6.55
ONUTempHighAlarm:-128
127
ONUTempLowAlarm:-128 127

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure ONU alarm thresholds:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#alarm-threshold onu BatteryVoltLow assert-val 5 restore-val 1

Related Commands
None

19.4.5 auto-config
Syntax
auto-config [ voip | wan | wifi ]
no auto-config [ voip | wan | wifi ]

Purpose
To configure auto configuration function
Use no command to cancel auto-configuration function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

voip

Only dispatching voip data

wan

Dispatching wan data

wifi

Only dispatching wifi data

Mode
ZXAN(epon-onu-mng)#

19-70
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to configure auto-configuration function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#auto-config

Related Command
None

19.4.6 classification condition-profile


Syntax
classification condition-profile profilename {{dmac | smac } mac-address | {dstIp | srcIp} ip-a
ddress | priority priority | vlanId vlanId | dscp dscp |{l4SrcPort | l4DstPort} portno | eth-type
match-value1 | ip-protocol-type match-value2 }operation-type { never-match| equal| not-equal|
less-equal| greater-equal| exists| not-exists| always-match}
no classification condition-profile profilename

Purpose
To create EPON ONU classification condition profile
Use no command to delete classification condition profile.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

profilename

Profile name

Range: 1 31 characters

dmac| smac
dscp
dstIP| srcIP

Destination

mac

ad-

dress/Source mac address


IP TOS/DSCP

Format: XXXX.XXXX.XXXX
Range: 0 63

Destination IP address/Source
IP address

A.B.C.D IPv4 address


Hexadecimal number, such as

eth-type match-value1

Ethernet type

ip-protocol-type match-value2

IP protocol type

l4SrcPort | l4DstPort portno

L4 communication port number

Range: 1 65535

priority priority

Priority

Range: 0 7

vlanId vlanId

VLAN ID

Range: 1 4094

0x8808
Hexadecimal number, such as
0x02

19-71
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to create EPON ONU classification condition profile:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#classification condition-profile zte vlanId 100
operation-type always-match

Related Command
None

19.4.7 classification condition-ipv6-profile


Syntax
classification condition-ipv6-profile profilename { {dmac | smac } mac-address| {dstIp |
srcIp } ip-address | {dest-ip-ipv6 | src-ip-ipv6 } IPV6_IPADDR | {dest-ip-prefix-ipv6
| src-ip-prefix-ipv6 } IPV6_IPADDR_MASK | { priority | vlanId | dscp | IPV4Precedence |
l4SrcPort | l4DstPort | traffic-class-ipv6 | ip-version | flow-label-ipv6 } match-value1 | {et
h-type | ip-protocol-type } match-value2} operator-type { never-match | equal | not-equal
| less-equal | greater-equal | exists | not-exists | always-match }
no classification condition-ipv6-profile profilename

Purpose
To create an ONU IPv6 classification profile

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

profilename

Profile name

131 characters

mac-address

MAC address

IPV6_IPADDR_MASK

IPv6 address mask

19-72
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

match-value1

Decimal point form

priority:07
vlanId:14094
IPV4Precedence:07
dscp:063
l4SrcPort :165535
l4DetPort :165535
traffic-class-ipv6:0255
ip-version:ipV4| ipV6
flow-label-ipv6:065535

match-value2

Hexadecimal

Mode
ZXAN(epon-onu-mng)#

Example
The following example shows how to create an ONU IPv6 classification profile:
ZXAN(epon-onu-mng)# classification condition-ipv6-profile
c1 dest-ip-ipv6 3:4::5:6 operator-type equal

Related Commands
None

19.4.8 classification rule-profile


Syntax
classification rule-profile profilename queue vlaue1 priority value2
no classification rule-profile profilename

Purpose
To create EPON ONU mapping rule profile
Use no command to delete mapping rule profile.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

profilename

Profile name

Range: 1 31 characters

queue vlaue1

Queue priority

Range: 0 7

19-73
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Parameter

priority value2

Queue priority after mapping

Range: 0 7

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to create EPON ONU mapping rule profile:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)# classification rule-profile zte queue 1 priority 5

Related Command
None

19.4.9 classification port


Syntax
classification port portName rule-precedence precedence { add | delete} rule-profile-name con
dition-profile-name-list
no classification port portName

Purpose
To create EPON ONU Ethernet port upstream traffic classification and mapping control
rule
Use no command to delete mapping control rule.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

portName

Port name

Format: eth_slot/port

precedence

Rule priority

Range: 1 8

rule-profile-name

Classification rule profile name

Range: 1 31 characters

condition-profile-name-list

Rule profile name

Range: 1 31 characters

Mode
ZXAN(epon-onu-mng)#
19-74
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to create EPON ONU Ethernet port upstream traffic
classification and mapping control rule:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#classification port eth_0/1 rule-precedence 8
add zte zte

Related Command
None

Related Information
l
l
l

Configure classification condition profile and mapping rule profile before using this
command.
To configure Ethernet port rule, only the configured classification condition profile and
rule profile can be used.
For each Ethernet port rule, only four classification condition profiles can be used.

19.4.10 clear-oam-config
Syntax
clear-oam-config

Purpose
To clear the remote ONUs OAM configuration

Usage Guidelines
None

Mode
ZXAN(epon-onu-mng)#

Example
The following example shows how to clear the remote ONUs OAM configuration:
ZXAN(epon-onu-mng)#clear-oam-config

Related Commands
None

19-75
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.11 compatibility
Syntax
compatibility { enable mode mode | disable }

Purpose
To configure ONU compatibility attribute

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mode mode

ONU type

ZTE/CTC

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure ONU compatibility attribute:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#compatibility enable mode ZTE

Related Commands
None

19.4.12 config-pvid
Syntax
config-pvid port port pvid pvid

Purpose
To configure ONU port PVID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port port

Port number

Range: 1 8

pvid pvid

VLAN id

Range: 1 4094

19-76
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure ONU port PVID:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#config-pvid port 1 pvid 2

Related Commands
None

19.4.13 config-vlan
Syntax
config-vlan vlanid ports port { tag | untag }

Purpose
To configure ONU port VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ports port

Port list

Range: 1 254 characters

vlanid

VLAN ID

Range: 1 4094

tag

Tagged

untag

Untagged

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure ONU port VLAN:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#config-vlan 10 port 1,2,3,4 tag

Related Commands
None
19-77
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.14 isolation
Syntax
isolation {enable | disable}

Purpose
To configure EPON ONU port isolation function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable port isolation function

disable

Disable port isolation function

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU port isolation function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#isolation enable

Related Command
None

19.4.15 dba
Syntax
dba queue-set queuesetid{[queue1 value1] [queue2 value2] [queue3 value3] [queue4 value4] [q
ueue5 value5] [queue6 value6] [queue7 value7] [queue8 value8] } [vport vport-id]

Purpose
To configure EPON ONU queue threshold

Usage Guidelines
The following table provides parameter description:

19-78
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Parameter

queuesetid

Queue set ID

Range: 1 3

queue1 value1 queue8 value8

Queue threshold

Range: 1 65535

vport vport-id

Virtual port ID

Range: 1 8
Default: 1

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU queue threshold:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#dba queue-set 2 queue1 65535 queue2 65535
queue4 65535 queue5 65535

queue6 65535

queue7 65535

queue3 65535

queue8 65535

Related Command
None

19.4.16 dba queue-set active


Syntax
dba queue-set active queueSetList

Purpose
To activate EPON ONU queue DBA function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

queuesetid

Queue set list to be activated

Range: 1 6 characters

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to activate EPON ONU queue DBA function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3

19-79
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(epon-onu-mng)#dba queue-set active 2

Related Command
None

Related Information
Configure the threshold of the queue set before activating the queue DBA function.

19.4.17 holdover
Syntax
holdover { enable [ time time ] | disable }

Purpose
To configure the holdover function in ONU optical link protection

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time time

Holdover time

50 1000, unit: ms

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to the holdover function in ONU optical link protection:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#holdover enable time 100

Related Commands
None

19.4.18 interface eth


Syntax
interface eth eth_slot/portId {phy-state | flow-control} [enable | disable]
interface eth eth_slot/portId auto-neg {enable | disable | restart }
19-80
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

interface eth eth_slot/portId policing {upstream | downstream} {enable { [ cir value1 ] [ cbs
value2 ] [ ebs value3 ]}| disable }
interface eth eth_slot/portId policing-profile { bind profilename | unbind }
interface eth eth_slot/portId mode{ 1000 | 10000 | 100full | 100half |10full | 10half |auto}

Purpose
To configure EPON ONU Ethernet port attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

eth_slot/portId

eth: Ethernet port name

Range: 1 31 characters

slot: Slot number


portId: Port number
phy-state

Physical port state

enable, disable

flow-control

Flow control

enable, disable

auto-neg

Auto-negotiation

enable, disable, restart

policing

Policing

downstream

Downstream traffic

enable, disable

upstream

Upstream traffic

enable, disable

cir value1

Committed information rate

Range: 0 16777215

value

Unit: kbps

Committed burst size value

Range: 0 16777215

cbs value2

Unit: byte
ebs value3

Excess burst size value

Range: 0 16777215
Unit: byte

policing-profile

Policing profile

bind

Bind

Range: 1 30 characters

unbind

Unbind

profilename

Policing profile name

Range: 1 16 characters

mode

Duplex mode

Range: 1000, 10000, 100full,


100half, 10full, 10half, auto

Mode
ZXAN(epon-onu-mng)#

19-81
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure EPON ONU Ethernet port attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#interface eth eth_0/1 phy-state enable
ZXAN(epon-onu-mng)#interface eth eth_0/1 flow-control enable
ZXAN(epon-onu-mng)#interface eth eth_0/1 auto-neg enable
ZXAN(epon-onu-mng)#interface eth eth_0/1 policing upstream enable
cir 50000 cbs 1500 ebs 1514

Related Command
None

Related Information
Use this command to configure Ethernet port attributes such as Ethernet port
enable/disable, flow control enable/disable, auto-negotiation enable/disable, force
auto-negotiation, policing, and policing profile.

19.4.19 interface el
Syntax
interface el e1_slot/portId{enable | disable}

Purpose
To configure EPON ONU E1 port attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

e1_slot/portId

e1: E1 port name

Range: 0 31 characters

slot: Slot number


portId: Port number
enable

Enable E1 port

disable

Disable E1 port

Mode
ZXAN(epon-onu-mng)#

19-82
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to configure EPON ONU E1 port attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#interface e1 e1_0/1 enable

Related Command
None

19.4.20 interface voip


Syntax
interface voip voip_slot/portId{enable | disable}

Purpose
To configure EPON ONU VoIP port attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

voip_slot/portId

voip: VoIP port name

Range: 1 31 characters

slot: Slot number


portId: Port number
enable

Enable VoIP port

disable

Disable VoIP port

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU VoIP port attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#interface voip voip_0/1 enable

Related Command
None

19-83
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.21 interface-loopdetect
Syntax
interface-loopdetect portname {activate | deactivate}

Purpose
To configure loop detect function on the ONU port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portname

Port name

Range: 0 31 characters

activate

Activate loop detect

deactivate

Deactivate loop detect

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure loop detect function on the ONU port:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#interface-loopdetect eth_0/1 activate

Related Commands
None

19.4.22 llid-queue
Syntax
llid-queue [ vport vport ] queue1 queue1 wrr1 [ queue2 queue2 wrr2 [ queue3 queue3 wrr3 [
queue4 queue4 wrr4 [ queue5 queue5 wrr5 [ queue6 queue6 wrr6 [ queue7 queue7 wrr7 [ queue8
queue8 wrr8 ]]]]] ] ]

Purpose
To configure the mapping between LLID and queue.

Usage Guidelines
The following table provides parameter description:
19-84
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

vport vport

LLID value

Range: 1 8

queue1

Queue ID

Range: 0 7

wrr1

WRR

Range: 0 100

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure the mapping between LLID and queue:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#llid-queue queue1 0 3

Related Commands
None

19.4.23 multicast fastleave


Syntax
multicast fastleave {enable | disable}

Purpose
To configure EPON ONU fast leave function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable fast leave function

disable

Disable fast leave function

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU fast leave function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast fastleave enable

19-85
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Command
None

19.4.24 mac
Syntax
mac {add | delete | clear} eth_slot/port {filter | bind | static} [mac-address vlanid]

Purpose
To configure EPON ONU Ethernet port MAC address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

add

Add MAC address

aging-time

Configure mac aging time

Value: a multiple of 15 between


15 and 86400

delete

Delete MAC address

clear

Clear MAC address

limit-num

Configure mac limit number

eth_slot/port

eth: Ethernet port name

Range: 0 31 characters

slot: Slot number


portId: Port number
filter

Filter MAC address

bind

Bind MAC address

static

Static MAC address

mac-address

MAC address

Hexadecimal number

vlanid

VLAN ID

Range: 1 4094

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU Ethernet port MAC address:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mac add eth_0/1 bind 0000.0800.0111 2

19-86
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Command
None

Related Information
l
l

Do not configure other parameters when the operation is to clear Ethernet port MAC
address. All MAC address configurations are to be cleared.
Configure mac-address when the operation is to add or delete Ethernet port MAC
address.

19.4.25 mac aging-time


Syntax
mac aging-time aging-time

Purpose
To configure EPON ONU MAC address aging time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

aging-time

MAC address aging time

Range: 15 86400, multiples


of 15

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU MAC address aging time:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mac aging-time 300

Related Command
None

19.4.26 mac limit-num


Syntax
mac limit-num eth_slot/port [max-number | no-limit]
19-87
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure EPON ONU Ethernet port maximum learning MAC address number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

eth_slot/port

eth: Ethernet port name

Range: 0 31 characters

slot: Slot number


portId: Port number
max-number

Maximum learning MAC

Range: 0 65534

address number
no-limit

No limit

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU Ethernet port maximum
learning MAC address number:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mac limit-num eth_0/1 32

Related Command
None

19.4.27 mgmt-ip
Syntax
mgmt-ip ip-address ip-mask vlan vid [svlan svid] priority prio route route-ip ip-mask next-hop-ip
[status {enable | disable}]}
mgmt-ip auto-assign
mgmt-ip dhcp {enable | disable} vlan vlanid priority prio
mgmt-ip release
mgmt-ip status {enable | disable}

Purpose
To configure the management IP address for the EPON ONU
19-88
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

ip-address ip-mask

ONU IP address and mask

vlan vid

VLAN ID

Range: 1 4094

svlan svid

SVLAN ID

Range: 1 4094

priority prio

Priority

Range: 0 7

vlanID

VLAN ID

Range: 1 4094

route route-ip ip-mask next-hop-ip

Route

status

Administration status

enable, disable

IP address is automatic

auto-assign

assigned
dhcp

IP address is allocated by

enable, disable

DHCP
release

Release the management IP

address

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure the management IP address for the
EPON ONU :
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#mgmt-ip 1.1.2.3 255.255.255.0 vlan 10 priority 0
route 0.0.0.0 0.0.0.0. 1.1.2.1 status enable

Related Command
None

Related Information
l
l
l

ONU IP address and remote host IP address cannot be in the same network segment
of ONU IP address at LAN side, which is 192.168.1.1/255.255.255.0 by default.
If ONU connects to WAN, ONU IP address and remote host IP address cannot be in
the same network segment of ONU IP address at WAN side.
VLAN cannot be the VLAN, which ONU uses.

19-89
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.28 multicast control-type


Syntax
multicast control-type { gda-ip-and-vlan | gda-mac | gda-mac-and-sa-mac | gda-mac-and-vlan
}

Purpose
To configure multicast control type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gda-ip-and-vlan

Group destination IP address

and VLAN ID
gda-mac

Group destination MAC address

gda-mac-and-sa-mac

Group destination MAC address

and source MAC address


gda-mac-and-vlan

Group destination MAC address

and VLAN ID

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure multicast control type:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#multicast control-type gda-ip-and-vlan

Related Commands
None

19.4.29 multicast fastleave


Syntax
multicast fastleave { enable | disable }

Purpose
To enable or disable multicast fast-leave function on the ONU
19-90
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

disable

Disable

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to enable ONU multicast fast-leave function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#multicast fastleave enable

Related Commands
None

19.4.30 multicast vlan


Syntax
multicast vlan port eth_slot/port {add | clear | delete }[vlanlist | vlanlist]

Purpose
To configure Ethernet port multicast VLAN on the EPON ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

port eth_slot/port

Ethernet port name

Range: 1 31 characters

add

Add multicast VLAN

clear

Clear all multicast VLANs

delete

Delete multicast VLAN

vlanlist vlanlist

VLAN list

Range: 1 31 characters
Maximum VLAN number: 10

Mode
ZXAN(epon-onu-mng)#
19-91
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure EPON ONU Ethernet port multicast
VLAN:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast vlan port eth_0/1 add vlanlist 1,3,5-8

Related Command
None

Related Information
l
l
l

Use this command only in IGMP snooping mode.


Do not configure vlanlist vlanlist when the operation is to clear Ethernet port multicast
VLAN. All multicast VLAN configurations are to be cleared.
Configure vlanlist vlanlist when the operation is to add or delete Ethernet port multicast
VLAN.

19.4.31 multicast vlan tag-strip


Syntax
multicast vlan tag-strip port eth_slot/port {enable | disable}

Purpose
To configure EPON ONU Ethernet port multicast VLAN tag strip function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

port eth_slot/port

eth: Ethernet port name

Range: 0 31 characters

slot: Slot number


portId: Port number
enable

Enable multicast VLAN tag strip

function
disable

Disable multicast VLAN tag strip

function
translation

Translation list switch to user

vlan

19-92
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU Ethernet port multicast VLAN
tag strip function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast vlan tag-strip port eth_0/1 enable

Related Command
None

19.4.32 multicast switch


Syntax
multicast switch {igmpsnooping | control-multicast }

Purpose
To configure EPON ONU multicast mode

Usage Guidelines
None

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU multicast mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast switch igmpsnooping

Related Command
None

19-93
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.33 multicast group-max-number


Syntax
multicast group-max-number eth_slot/port max-number

Purpose
To configure EPON ONU Ethernet port maximum multicast group number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

eth_slot/port

eth: Ethernet port name

Range: 1 31 characters

slot: Slot number


portId: Port number
max-number

Maximum multicast group

Range: 1 255

number

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU Ethernet port maximum
multicast group number:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#multicast group-max-number eth_0/1 32

Related Command
None

19.4.34 reboot
Syntax
reboot

Purpose
To reboot an EPON ONU

19-94
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
None

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to reboot an EPON ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#reboot

Related Command
None

19.4.35 register
Syntax
register { sip-port | voip-module } slot slot

Purpose
To configure SIP port or VoIP module to register on the SS again

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

sip-port

SIP port

voip-module

VoIP module

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure SIP port to register again:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#register sip-port slot 1

19-95
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

19.4.36 region
Syntax
region code

Purpose
To configure the country code of ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

code

ONU country code

0 65535

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure the country code of ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#region 0

Related Commands
None

19.4.37 reset uni-statistic


Syntax
reset uni-statistic port-list

Purpose
To reset UNI statistics on the ONU

Usage Guidelines
The following table provides parameter description:
19-96
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

port-list

Port list

Range: 1 31 characters

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to reset UNI statistics:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#reset uni-statistic eth_0/1-25

Related Commands
None

19.4.38 reset voip-module


Syntax
reset voip-module slot slot

Purpose
To reset VoIP module

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to reset VoIP module:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#reset voip-module slot 1

Related Commands
None
19-97
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.39 reset-card
Syntax
reset-card slot slot

Purpose
To reset card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to reset the card:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#reset-card slot 1

Related Commands
None

19.4.40 restore factory-settings


Syntax
restore factory-settings

Purpose
To restore default settings

Usage Guidelines
None

Mode
ZXAN(epon-onu-mng)#

19-98
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to restore default settings:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#restore factory-settings

Related Commands
None

19.4.41 restore voip-module


Syntax
restore voip-module slot slot

Purpose
To restore VoIP module

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to restore VoIP module:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#restore voip-module slot 1

Related Commands
None

19.4.42 rms
Syntax
rms {[(ip-addr ip-address mask ip-mask)] | [(ip-profile ipprofilename )]} ([pppoe username name
password password ] [ vlan-profile vlanprofilename ][ ( url url)]) (slot slotId)

19-99
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To set the remote ONU RMS parameter

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

ip-address

IP address

ip-mask

Mask

ipprofilename

Profile name

132

name

PPPoE user name

132

password

PPPoE password

132

vlanprofilename

VLAN profile name

132

url

URL in RMS configuration

1256

slotId

Slot ID of remote ONU

1255

Mode
ZXAN(epon-onu-mng)#

Example
The following example shows how to set the remote ONU RMS parameter:
ZXAN(epon-onu-mng)#rms ip-profile tj pppoe username tt password jj url yy slot 1

Related Commands
None

19.4.43 security-mng telnet


Syntax
security-mng telnet { enable | disable }

Purpose
To enable or disable telnet access

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

19-100
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

disable

Disable

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to enable or disable telnet access:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#security-mng telnet enable

Related Commands
None

19.4.44 serial-port ip
Syntax
serial-port ip { add | delete | clear} [ip mask vlan vlanid priority priority route subnet netmask
nexthop]

Purpose
To set the serial port IP

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

ip

Serial port IP

mask

Serial port IP mask

vlanid

Serial port VLAN

14093

priority

Serial port IP priority

07

subnet

Subnet

netmask

Net mask

nexthop

Next hop

Mode
ZXAN(epon-onu-mng)#

19-101
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example shows how to set the serial port IP:
ZXAN(epon-onu-mng)#serial-port ip add 10.63.196.160
255.255.255.0 Priority 0 vlan 149 route-subnet
0.0.0.0 0.0.0.0 10.63.196.254

Related Commands
None

19.4.45 serial-port statistic


Syntax
serial-port statistic com_ slot/portId

Purpose
To delete the serial port statistics

Usage Guidelines
None

Mode
ZXAN(epon-onu-mng)#

Example
The following example shows how to delete the serial port statistics:
ZXAN(epon-onu-mng)#serial-port statistic clear com_0/3

Related Commands
None

19.4.46 ssid-ctrl
Syntax
ssid-ctrl { enable | disable } [ hide { enable | disable } ] [ max-users max-users ] [ name name ] [
user-isolation { enable | disable } ] port-name ssid ssid [ priority priority ] [ pvid-used { enable
| disable } ] [ vlan vlan ]

Purpose
To configure SSID control ONU WIFI port
19-102
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

disable

Disable

hide { enable | disable }

Enable/disable hide

max-users max-users

Maximum user number

name name

SSID name

Range: 1 31characters

user-isolation { enable | disable }

Enable/disable user isoltation

port-name

Port name

ssid ssid

SSID Index

Range: 1 8

priority priority

Priority

Range: 0 7

pvid-used { enable | disable }

Enable/disable using PVID

vlan vlan

VLAN ID

Range: 1 4094

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure SSID control ONU WIFI port:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#ssid-ctrl enable wifi_0/1 ssid 1

Related Commands
None

19.4.47 svlan-base
Syntax
svlan-base bid

Purpose
To configure base VLAN for SVLAN on MDU

Usage Guidelines
The following table provides parameter description:
19-103
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

bid

Base VLAN ID

Range: 1 4000

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure the base VLAN for SVLAN on MDU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#svlan-base 1

Related Commands
None

19.4.48 test ipoe


Syntax
test ipoe eth_slot/port{ start { username username password password [ mac mac address] | mac
mac address option60 vendor class identifier } [vlan vlan id] [ timeout timeout ] | stop }

Purpose
To configure the IPoE simulation test

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

username

User name

1128 characters

password

Password

116 characters

vendor class identifier

Option60 character string

1128 characters

vlan id

User VLAN

14094

timeout

Timeout

5 s60 s

Mode
ZXAN(epon-onu-mng)#

Example
The following example shows how to configure the IPoE simulation test:
ZXAN(epon-onu-mng)#test ipoe eth_0/1 start username zte

19-104
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands


password zte vlan 23 timeout 56

Related Commands
None

19.4.49 transceiver
Syntax
transceiver {enable | disable}
transceiver alarm {enable | disable | thresholds [alarmtype word]}

Purpose
To configure EPON ONU optical module performance threshold test function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable test function

disable

Disable test function

alarm

Configure ONU optical module

performance threshold test


alarm
thresholds

Alarm threshold

alarmtype

Alarm type

BiasHighAlarm BiasHighWarning BiasLowAlarm BiasLowWarning RxPowerHighAlarm RxPowerHighWarning


RxPowerLowAlarm RxPowerLowWarning TempHighAlarm
TempHighWarning TempLowAlarm TempLowwarning
TxPowerHighAlarm TxPowerHighWarning TxPowerLowAlarm TxPowerLowWarning
VoltageHighAlarm VoltageHighWarning VoltageLowAlarm
VoltageLowWarning

word

Alarm type

1 31 characters

19-105
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure EPON ONU optical module performance
threshold test function:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)# transceiver enable

Related Command
None

19.4.50 vlan
Syntax
vlan port eth_slot/port mode {transparent | tag vlan vlanid priority priority | translation defvlan vlanid def-prio priority vlan-list vlan-list}

Purpose
To configure EPON ONU Ethernet port VLAN attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

eth_slot/port

eth: Ethernet port name

Range: 1 31 characters

slot: Slot number


port: Port number
aggregation

Aggregation mode

transparent

Transparent transmission

tag

Add VLAN tag to packets

translation

Replace the old VLAN tag with

the specified VLAN tag


hybrid

Hybrid mode

vlan vlanid

Specify VLAN ID

Range: 1 4094

def-vlan vlanid

Default VLAN ID

Range: 1 4094

def-priority priority

Default priority

Range: 0 7

vlan-list vlan-list

VLAN list

Range: 1 254 characters

19-106
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure Ethernet port VLAN attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)#vlan port eth_0/1 mode translation def-vlan 100
def-prio 7 vlan-list 1.0:100.7

Related Command
None

19.4.51 vlan-translate
Syntax
vlan-translate port cvlan cvlan new-cvlan new-cvlan [ broadcast ]

Purpose
To configure VLAN translation on MDU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port

Port name

cvlan cvlan

CVLAN ID

Range: 1 4094

new-cvlan new-cvlan

New CVLAN ID

Range: 1 4094

broadcast

Support broadcast

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure VLAN translation on MDU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#vlan-translate eth_0/1 cvlan 1 new-cvlan 100 broadcast

19-107
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

19.4.52 voip 112-test


Syntax
voip 112-test test-type { start | stop} {forcetest | normaltest} interface pots_slot/portid

Purpose
To configure the VoIP 112 test on POTS port

Usage Guidelines
None

Mode
ZXAN(epon-onu-mng)#

Example
The following example shows how to configure the VoIP 112 test on POTS port:
ZXAN(epon-onu-mng)#voip 112-test bidirectional-routing-test
start forcetest interface pots_1/2

Related Commands
None

19.4.53 voip-mng-ip
Syntax
voip-mng-ip [voipcard] associate {share | standalone} mode { dhcp | pppoe auth-mode {auto
| pap | chap} username password | satatic ipadd mask gateway [dnsip]}{untag | tag vid vlanid
priority priority}

Purpose
To configure VoIP subcard and user parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

voipcard

VoIP subcard number

Range: 0 255

19-108
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Parameter

associate {share | standalone}

Inband network management IP

Share: VoIP IP shares the

shares the same IP with VoIP

same IP with inband network

IP or not

management IP.
Standard: VoIP IP is
independent of inband network
management IP.

mode { dhcp | pppoe| static}

IP mode

dhcp, pppoe, static

vid vlanid

VLAN ID

Range: 1 4094

priority priority

Priority

Range: 0 7

auth-mode {auto | pap | chap}

PPPoE authentication mode

auto, pap, chap

username

User name

Range: 1 32 characters

password

Password

Range: 1 32 characters

ipadd

Static IP address

mask

Mask

gateway

Gateway

dnsip

DNS IP

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure VoIP subcard and user parameters:
ZXAN(config)#pon-onu-mng epon-onu_1/1/2:3
ZXAN(epon-onu-mng)# voip-mng-ip associate share mode dhcp untag

Related Command
None

19.4.54 voip call-test


Syntax
voip call-test action { start | stop } { callee | caller dialnumber dialnumber } [ timeout time ]
interface interface

Purpose
To configure VoIP call test
19-109
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

action { start | stop }

Action

callee

Called party

caller

Caller

dialnumber dialnumber

Telephone number

Range: 1 64 characters

timeout time

Time out

Range: 60 300, unit: s


Default: 90 s

interface interface

Interface name

Range: 1 15 characters

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure VoIP call test:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)# voip call-test action start callee interface pots_0/1

Related Commands
None

19.4.55 voip cid-presenting


Syntax
voip cid-presenting { enable | disable } [ cid-type cid-type ] interface interface

Purpose
To configure VoIP CID mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

cid-type cid-type

CID type

dtmf, fsk

interface interface

Interface name

19-110
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how configure VoIP CID mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)# voip cid-presenting enable cid-type fsk interface pots_4/1

Related Commands
None

19.4.56 voip media-ip


Syntax
voip media-ip { [ ip-addr ip-addr mask mask ] [ ip-profile profilename ] } [ pppoe ] [ username
username password password ] [ vlan-profile vlan-profile ] slot slot

Purpose
To configure media IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-addr ip-addr mask mask

IP address and mask

ip-profile profilename

IP profile name

Range: 1 32 characters

vlan-profile vlan-profile

VLAN profile name

Range: 1 32 characters

username username password

Username and password

Range: 1 32 characters

Slot ID

Range: 1 255

password
slot slot

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure media IP address:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip media-ip ip-profile zte1 slot 1

19-111
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

19.4.57 voip mg-domainname


Syntax
voip mg-domainname domainname slot slot

Purpose
To configure MG domain name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

domainname

domain name

Range: 1 64 characters

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure MG domain name:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip mg-domainname server1 slot 1

Related Commands
None

19.4.58 voip ping-test


Syntax
voip ping-test slot slotno destip destip {start | stop} time time [size size] [timeout timeout]

Purpose
To configure the VoIP ping test

Usage Guidelines
The following table describes the relevant parameters:
19-112
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

slotno

Slot No.

1255

destip

Destination IP address

time

Ping times

110

size

Ping packet size

165535

timeout

Ping timeout

12000

Mode
ZXAN(config-epon)#

Example
The following example shows how to configure the VoIP ping test:
ZXAN(config-epon)# voip ping-test slot 1 destip
1.1.1.1 start time 2 size 3 timeout 20

Related Commands
None

19.4.59 voip pppoe


Syntax
voip pppoe username username password password slot slot

Purpose
To configure PPPoE username and password

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

username username password

Username and password

Range: 1 32 characters

Slot ID

Range: 1 255

password
slot slot

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure PPPoE username and password:
19-113
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip pppoe username zte passpord 1234567 slot 1

Related Commands
None

19.4.60 voip ip-address


Syntax
voip ip-address ip-address mask mask slot slot

Purpose
To configure VoIP IP address in static mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address ip-address mask mask

IP address and mask

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure VoIP IP address in static mode:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip ip-address 10.30.20.2 mask 255.255.255.0 slot 1

Related Commands
None

19.4.61 voip mg
Syntax
voip mg domain-name slot slot

Purpose
To configure VoIP MG domain name
19-114
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

domain-name

domain name

Range: 1 64 characters

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure VoIP MG domain name:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip mg tserver slot 1

Related Commands
None

19.4.62 voip rtp-tid


Syntax
voip rtp-tid prefix prefix begin-digit digit align { enable | disable } digit-length length slot slot

Purpose
To configure VOIP RTP TID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prefix prefix

TID prfix

Range: 1 16 characters

begin-digit digit

TID starting digit

Range: 0 65000

align { enable | disable }

Enable/disable align

digit-length length

TID digit length

Range: 0 5

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#
19-115
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure VOIP RTP TID:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip rtp-tid prefix 123 begin-digit 111 align enable
digit-length 11 slot 1

Related Commands
None

19.4.63 voip user-tid


Syntax
voip user-tid groupid beginid begin-index tid-num num prefix prefix begin-digit digit align {
enable | disable } digit-length length slot slot
no voip user-tid groupid

Purpose
To configure user TID group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

groupid

Group ID

Range: 1 255

beginid begin-index

Starting index

Range: 1 255

tid-num num

TID number

Range: 1 255

begin-digit digit

TID starting digit

Range: 0 65000

align { enable | disable }

Enable/disable align

digit-length length

TID digit length

Range: 0 5

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure user TID group:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip user-tid 2 beginid 1 tid-num 22 prefix 123
begin-digit 111 align enable digit-length 3 slot 1

19-116
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Commands
None

19.4.64 voip sip-user


Syntax
voip sip-user account account name name password password interface interface

Purpose
To configure SIP user

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

account account

Telephone number

Range: 1 16 characters

name name

Username

Range: 1 32 characters

password password

Password

Range: 1 16 characters

interface interface

Interface name

Range: 1 16 characters

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure SIP user:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip sip-user account 64544342 name asd password asd
interface pots_1/1

Related Commands
None

19.4.65 voip timer


Syntax
voip timer {[ dml dml ] [ dms dms ] } slot slot

Purpose
To configure VoIP timer
19-117
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

dml dml

Digit-map long timer

Value
Range: 1 60, unit: s
Default: 5 s

dms dms

Digit-map short timer

Range: 1 60, unit: s


Default: 2 s

slot slot

Slot ID

Range: 1 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure VoIP timer:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip timer dml 10 dms 5 slot 1

Related Commands
None

19.4.66 voip-module fax-profile


Syntax
voip-module fax-profile apply fax-profile-name

Purpose
To apply fax profile on the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

fax-profile-name

Fax profile name

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to apply the fax profile on the ONU:
19-118
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands


ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip-module fax-profile apply zte1

Related Commands
None

19.4.67 voip-module global-profile


Syntax
voip-module global-profile apply{ [ ip voice-ip profile-name ] [ vlan voice-vlan profile-name ] }

Purpose
To apply VoIP-IP profile and VoIP-VLAN profile on the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip voice-ip profile-name

VoIP-IP profile name

vlan voice-vlan profile-name

VoIP-VLAN profile name

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to apply VoIP-IP profile on the ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip-module global-profile apply ip 111

Related Commands
None

19.4.68 voip-module protocol-profile


Syntax
voip-module protocol-profile apply { h248 | mgcp | sip } protocol-profile-name

Purpose
To apply VoIP protocol profile name on the ONU
19-119
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

protocol-profile-name

Protocol profile name

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to apply VoIP protocol profile name on the ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#voip-module protocol-profile apply sip 111

Related Commands
None

19.4.69 wan
Syntax
wan wan-id general-profile profilename
no wan wan-id

Purpose
To bind or unbind the virtual port of the specified WAN connection with the general profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

wan-id

WAN connection ID

18

profilename

General profile name

1 32

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to bind the virtual port of the specified WAN connection
with the general profile:
ZXAN(epon-onu-mng)#wan 3 general-profile test

19-120
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.4.70 wep
Syntax
wep ssid-auth-mode { open-system | shared-key } { enable | disable } [ level {40 | 104} ] [
default-key-id default-key-id ] [ key1 key1 key2 key2 key3 key3 key4 key4 ] port ssid ssid

Purpose
To configure WIFI WEP function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

open-system

Open system

shared-key

Shared key

level

WEP encryption level

40 | 104

40 bit or 104 bit

key key

Key

Range: 1 28 characters

port

Port name

Range: 1 15 characters

ssid ssid

SSID index

Range: 1 8

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure WIFI WEP:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#wep ssid-auth-mode open-system enable wifi_1/2 ssid 1

Related Commands
None

19.4.71 wifi
Syntax
wifi { enable | disable } [ radio-measurement { enable | disable } ] [ ssid-isolated { enable |
disable } ] [ wireless-working-mode mode ] [ cur-reg-domain cur-reg-domain ] port

19-121
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure port WIFI parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable | disable

Enable or disable WIFI

radio-measurement { enable |

Enable or disable radio power

disable }

measurement

ssid-isolated { enable | disable }

Enable or disable SSID isolation

wireless-working-mode mode

Wireless work mode

802.11b, 802.11b-11g-11n,
802.11g, 802.11n, hybrid

cur-reg-domain cur-reg-domain

Current registration domain

CHINA, DOC, ETSI, FCC,


FRANCE, MKK, OTHER,
SPAIN

port

Port name

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure port WIFI parameters:
ZXAN(config)#pon-onu-mng epon-onu_1/1/1:1
ZXAN(epon-onu-mng)#wifi enable eth_0/1

Related Commands
None

19.4.72 show remote epon wan-general-profile


Syntax
show remote epon wan-general-profile profilename

Purpose
To show the specified WiFi port properties of the ONU

Usage Guidelines
The following table provides parameter description:
19-122
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

profilename

WAN general profile name

1 32

Mode
Any mode except the ZXAN# mode

Example
The following example displays the specified WiFi port properties of the ONU:
ZXAN(config)#show remote epon wan-general-profile test

19.4.73 show remote epon ping-test


Syntax
show remote epon ping-test epon-onu interface slot slotno

Purpose
To show the remote EPON ping test result

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

slotno

Slot No.

1255

Mode
All modes except user mode

Example
The following example shows the remote EPON ping test result:
ZXAN#show remote epon ping-test epon-onu_1/2/1:1 slot 1
Ping Result:

OK

Ping Tx Packets:

Ping Rx Packets:

Ping Lost Packets:

Ping LostPktRation

Min Delay:

Max Delay:

Avg Delay:

19-123
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

19.4.74 show remote onu info


Syntax
show remote onu info epon-onu_shelf/slot/oltId:onuId

Purpose
To show the ONU information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

EPON ONU interface

Mode
Any mode except the ZXAN# mode

Example
The following example displays the ONU information:
ZXAN(config)#show remote onu info epon-onu_1/1/1:1
epon-onu_1/1/1:1
Onu vendorId

Onu type

ZTE-F822.

OnuModel

OnuId

0000.0000.0000.

Hardware version
Software version

.
.

Firmware version

Chip vendorId

N/A.

Chip revison

Number of Ge port

0 .

GePort

Number of Fe port

0 .

FePort

Number of POTS port

0.

Number of E1 port

0.

Number of US Queues

0.

ChipModel

0x0000.

ChipDesignDate 00/00/00.

Max queues per US port 0.


Number of DS Queues

0.

Max queues per DS port 0.


BatteryBackup

no.

19-124
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Multicast protocol

igmpsnooping.

FecMode

disable.

FecAbility

Port Isolation enable.

Alarm

enable.

Mac aging-time

300.

IPV6

N/A.

N/A.

19.4.75 show remote onu port info


Syntax
show remote onu port info epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU remotely managed Ethernet port information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed Ethernet port
information:
ZXAN(epon-onu-mng)#show remote onu port info epon-onu_1/1/2:11

Ethport:

Eth_0/1,

Phystate:

enable

N/A,

Flowctrl:

enable

Linkstate:

Policing: Direction

Status

CIR(kbps)

CBS(Bytes)

EBS(Bytes)

----------------------------------------------------------------upstream

Ethport:

disable

downstream disable

Eth_0/2,

Phystate:

enable

19-125
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Linkstate:

down,

Policing: Direction

Status

Flowctrl:

CIR(kbps)

enable

CBS(Bytes)

EBS(Bytes)

------------------------------------------------------------------upstream

disable

downstream disable

Ethport:

Eth_0/3,

Phystate:

enable

down,

Flowctrl:

enable

Linkstate:

Related Command
None

19.4.76 show remote onu port auto-neg


Syntax
show remote onu port auto-neg epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU remotely managed Ethernet port auto-negotiation information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed Ethernet port
auto-negotiation information:
ZXAN(epon-onu-mng)#show remote onu port auto-neg epon-onu_1/1/2:11
EthPort AdminState TechnologyAbility

AdvertisedTechnologyAbility

-------------------------------------------------------------------Eth_0/1

enable

10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100


0BASE_TX, 100BASE_TXFD

BASE_TX, 100BASE_TXFD

19-126
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands


Eth_0/2

enable

10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100


0BASE_TX, 100BASE_TXFD

Eth_0/3

enable

BASE_TX, 100BASE_TXFD

10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100


0BASE_TX, 100BASE_TXFD

Eth_0/4

enable

BASE_TX, 100BASE_TXFD

10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100


0BASE_TX, 100BASE_TXFD

BASE_TX, 100BASE_TXFD

Related Command
None

19.4.77 show remote onu vlan


Syntax
show remote onu vlan epon-onu_shelf/slot/oltId:onuId

Purpose
o show EPON ONU remotely managed VLAN configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed VLAN
configuration information:
ZXAN(epon-onu-mng)#show remote onu vlan epon-onu_1/1/2:11
Ethport

Mode

Vlan

Priority

Translation
(OldVlanTag:NewVlanTag)

-------------------------------------------------------------Eth_0/1

transparent N/A

N/A

N/A

Eth_0/2

transparent N/A

N/A

N/A

19-127
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Eth_0/3

tag

4092

N/A

Eth_0/4

tag

4092

N/A

Related Command
None

19.4.78 show remote onu multicast-info


Syntax
show remote onu multicast-info epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU remotely managed multicast configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed multicast
configuration information:
ZXAN(epon-onu-mng)#show remote onu multicast-info epon-onu_1/1/2:11
EthPort

TagStripped

MaxGroupNum VlanList

------------------------------------------------------------------Eth_0/1

not-stripped 250

Eth_0/2

not-stripped 255

Eth_0/3

not-stripped 255

Eth_0/4

not-stripped 255

ZXAN(epon-onu-mng)#

19-128
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Related Command
None

19.4.79 show remote onu classification


Syntax
show remote onu classification epon-onu_shelf/slot/oltId:onuId eth_slot/portID

Purpose
To show EPON ONU remotely managed Ethernet port classification information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number
eth: Ethernet port number

eth_slot/portID

Range: 0 31 characters

slot: Slot number


portId: Port number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed Ethernet port
classification information:
ZXAN#show remote onu classification epon-onu_1/1/2:11 eth_0/1
RulePrecedence

RuleName

ConditionNameList

zte

zte

Related Command
None

19-129
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.80 show remote onu classification profile


Syntax
show remote onu classification profile epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU remotely managed Ethernet port classification profile information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed Ethernet port
classification profile information:
ZXAN#show remote onu classification profile epon-onu_1/1/2:3
---rule profile--index name

queuemap

priority

aaa

bbb

---condition profile--index

name

filed

matchValue

operator

c1

vid

111

never-match

c2

priority

always-match

Related Command
None

19-130
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.4.81 show remote onu dba


Syntax
show remote onu dba epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU remotely managed DBA queue threshold configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed DBA queue
threshold configuration information:
ZXAN#show remote onu dba epon-onu_1/1/2:3
Active queueSet 1.
SetId Threshold
Queue1

Queue2 Queue3 Queue4 Queue5 Queue6 Queue7 Queue8

65,535

65,535 65,535 65,535 65,535 65,535 65,535 65,535

65,535

65,535 65,535 65,535 65,535 65,535 65,535 65,535

65,535

65,535 65,535 65,535 65,535 65,535 65,535 65,535

Related Command
None

19.4.82 show remote onu mac


Syntax
show remote onu mac epon-onu_shelf/slot/oltId:onuId eth_slot/portID

19-131
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To show EPON ONU remotely managed MAC address configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number
eth: Ethernet port number

eth_slot/portID

Range: 0 31 characters

slot: Slot number


portId: Port number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed MAC address
configuration information:
ZXAN#show remote onu mac epon-onu_1/1/2:3 eth_0/1
epon-onu_1/1/2:3;
MAC_Address info
Port Name:eth_0/1;
Limit num: no-limit;
Filter mac-address info
vlan
2

mac
9877.9878.4566

Bind mac-address info


vlan
3

mac
9877.9899.0988

Static mac-address info


vlan
1

mac
4557.3241.3423

Related Command
None

19-132
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

19.4.83 show remote onu mgmt-ip


Syntax
show remote onu mgmt-ip epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU remotely managed IP address configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU remotely managed IP address
configuration information:
ZXAN# show remote onu mgmt-ip epon-onu_1/1/2:3
Status

enable;

IP Address

172.168.1.122;

Mask

255.255.0.0;

Priority

3;

Mgmt-IP

172.168.1.10;

vlan

300;

Mgmt-Mask

255.255.0.0;

Mgmt-Gateway

172.168.1.250.

Related Command
None

19.4.84 show remote onu fastleave


Syntax
show remote onu fastleave epon-onu_shelf/slot/oltId:onuId
19-133
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To show EPON ONU fast-leave function configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU fast-leave configuration
information:
ZXAN(config)#show remote onu fastleave epon-onu_1/1/2:3
ONU interface:

epon-onu_1/1/2:3

Fast leave state:

enable

Fast leave ability:

snooping: fast-leave
snooping: not- fast-leave
multicast: fast-leave
multicast: not-fast-leave

Related Command
None

19.4.85 show remote onu auto-config


Syntax
show remote onu auto-config {epon-olt_shelf/slot/olt | epon-onu_shelf/slot/olt:onu}

Purpose
To show EPON ONU auto-dispatch configuration information

Usage Guidelines
The following table provides parameter description:
19-134
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


olt: OLT interface number
epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU auto dispatch configuration
information:
ZXAN(config)#show remote onu auto-config epon-onu_1/1/2:3
Auto-dispatch state
-----------------------------------------------disable

Related Command
None

19.4.86 show remote onu transceiver


Syntax
show remote onu transceiver info epon-onu_shelf/slot/oltIf:onuId
show remote onu transceiver alarm {epon-onu_shelf/slot/oltIf:onuId | thresholds epon-onu_she
lf/slot/oltIf:onuId}

Purpose
To show EPON ONU transceiver configuration and alarm information

Usage Guidelines
The following table provides parameter description:

19-135
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

epon-olt_shelf/slot/olt

shelf: Shelf number

Range: 10 31 characters

slot: Slot number


olt: OLT interface number
thresholds

Alarm threshold

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU transceiver configuration and
alarm information information:
ZXAN(config)# show remote onu transceiver alarm epon-onu_1/1/2:3

Related Command
None

19.4.87 show remote onu vlan-translate


Syntax
show remote onu vlan-translate epon-onu_shelf/slot/oltId:onuId [eth_slot/portID]

Purpose
To show EPON ONU VLAN translate configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number
eth_slot/portID

eth: Ethernet port number

Range: 0 31 characters

slot: Slot number


portId: Port number

Mode
Any mode except user mode
19-136
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Example
The following example displays how to show EPON ONU VLAN translate configuration:
ZXAN(config)# show remote onu vlan-translate epon-onu_1/1/2:3 port eth_0/1

Related Command
None

19.4.88 show remote onu voip-mng-ip


Syntax
show remote onu voip-mng-ip epon-onu_shelf/slot/oltId:onuId voipcard

Purpose
To show EPON ONU VoIP configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number
voipcard

VoIP subcard number

Range: 0 255

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU VLAN translate configuration:
ZXAN(config)# show remote onu voip-mng-ip epon-onu_1/1/2:3 2

Related Command
None

19-137
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

19.4.89 show remote onu svlan-base


Syntax
show remote onu svlan-base epon-onu_shelf/slot/oltId:onuId

Purpose
To show EPON ONU port start MDU_SVLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

epon-onu_shelf/slot/oltId:onuId

shelf: Shelf number

Range: 0 31 characters

slot: Slot number


oltId: OLT interface number
onuId: ONU interface number

Mode
Any mode except user mode

Example
The following example displays how to show EPON ONU port start MDU_SVLAN.
ZXAN(config)#show remote onu svlan-base epon-onu_1/1/2:3
MDU svlan base : 4000

Related Command
None

19.4.90 show remote onu pppoe-test


Syntax
show remote onu pppoe-test epon-onu_shelf/slot/oltIf:onuId eth_slot/port

Purpose
To display the PPPoE test result on Ethernet port

Usage Guidelines
The following table provides parameter description:
19-138
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 19 EPON Commands

Parameter

Description

Value

epon-onu_shelf/slot/oltIf:onuId

EPON ONU interface

eth_slot/port

Ethernet port

Range: 1 31 characters

Mode
Any mode except ZXAN>

Example
The following example displays display the PPPoE test result on the Ethernet port:
ZXAN(epon-onu-mng)#show remote onu pppoe-test epon-onu_0/3/1:1 eth_0/1
pppoe-test result:
TestStatus :

N/A

TestFailReason :N/A

Related Commands
None

19-139
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

19-140
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20

GPON Commands
Table of Contents
GPON Global Commands ........................................................................................20-1
GPON OLT Commands..........................................................................................20-54
GPON ONU Basic Management Commands..........................................................20-77
GPON ONU Remote Management Commands .................................................... 20-110

20.1 GPON Global Commands


20.1.1 fixed-tcont-bw
Syntax
fixed-tcont-bw { disable | enable bandwidth }

Purpose
To configure the fixed T-CONT bandwidth function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

To disable the function

enable

To enable the function

bandwidth

Fixed bandwidth

Range: 1 3600, unit: kbps

Mode
ZXAN(config-gpon)#

Example
The following example displays how to enable the fixed T-CONT bandwidth function:
ZXAN(config-gpon)#fixed-tcont-bw enable fixed 1000

Related Commands
None
20-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.2 profile tcont


Syntax
profile tcont profile-name type value1 [assured value3] [maximum value4]
no profile tcont profile-name

Purpose
To create/delete a GPON T-CONT profile

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

profile-name

TCONT profile name

1 - 64 characters

type value1

TCONT profile type

1-5

assured value3

Assured bandwidth, used in

64 - 2488320 Kbps

TCONT type 2,3 and 5


maximum value4

Maximum bandwidth, used in

64 - 2488320 Kbps

TCONT type3, 4 and 5

Mode
ZXAN(config-gpon)#

Example
The following example shows how to create a GPON T-CONT profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#profile T1-100M type 1 fix 100000
ZXAN(config-gpon)#profile T2-100M type 2 assured 100000
ZXAN(config-gpon)#profile T3-10M100M type 3 assured 10000 maximum 100000
ZXAN(config-gpon)#profile T4-100M type 4 maximum 100000
ZXAN(config-gpon)#profile T5-10M100M1000M type 5 fix 10000 assured 100000 max 1000000
ZXAN(config-gpon)#

Related Commands
None

Related Information
Different T-CONT profile configurations have the following detailed requirements:

20-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

TCONT Profile

Fixed Bandwidth

Type

Assured

Maxim

Bandwidth

Bandwidth

Remarks

Assured maxim
bandwidth

Fixed + Assured
maxim bandwidth

20.1.3 profile traffic


Syntax
profile traffic profile-name sir information-rate pir information-rate
no profile traffic profile-name

Purpose
To create a GPON traffic profile
To delete this profile, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

Traffic profile name

1 64

sir information-rate

SIR information rate

0 Kbps 10000000 Kbps

pir information-rate

PIR information rate

0 Kbps 10000000 Kbps

Mode
GPONZXAN(config)#ZXAN(config-gpon)#

Example
The following example displays how to create a GPON traffic profile:
ZXAN(config-gpon)#profile traffic traffic1 sir 10000 pir 20000

20-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.4 onu profile dial-plan


Syntax
onu profile dial-plan name id token
no onu profile dial-plan name id

Purpose
To configure the dial-plan

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Dial-plan table name

1 64 characters

id

Dial-plan ID

Range: 1 255

token

Dial-plan token

1 28 characters

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the dial-plan:
ZXAN(config-gpon)#onu profile dial-plan test 1 token X*.X.#|#X.*.X.##
ZXAN(config-gpon)#onu profile dial-plan test 2 token #X.*.X.T|#X.*.X.#T

Related Commands
show gpon onu profile dial-plan

20.1.5 onu profile dial-plan-table


Syntax
onu profile dial-plan-table name [ size size ] [ critical-timeout timer ] [ partial-timeout timer ]
[ format format ]
no onu profile dial-plan-table name

Purpose
To configure the dial-plan table

20-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Dial-plan table name

1 64 characters

size size

Fixed bandwidth

Range: 1 255
Default: 16

critical-timeout timer

Short timer

Range: 0 65535, unit: ms


Default: 4000 ms

partical-timeout timer

Long timer

Range: 0 65535, unit: ms


Default: 16000 ms

format format

Dial plan format

h248

not-defined

nsc

vendor-specific

Default: h.248

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the dial-plan table:
ZXAN(config-gpon)#onu profile dial-plan-table test format not-defined

Related Commands
show gpon onu profile dial-plan-table

20.1.6 onu profile dscp


Syntax
onu profile dscp name dscp2pbit mapping
no onu profile dscp name

Purpose
To configure the DSCP to 802.1p mapping profile

Usage Guidelines
The following table provides parameter description:

20-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

mapping

Priority mapping (format:

1 255 characters

X(-X):X[,....,X(-X):X])

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the DSCP to 802.1p mapping profile:
ZXAN(config-gpon)#onu profile dscp abc dscp2pbit 0-7:0,8-15:1,16-23:2,24-31:3,
32-39:4,40-47:5,48-55:6,56-63:7

Related Commands
show gpon onu profile dscp

20.1.7 onu profile ip


Syntax
onu profile ip profile name static gateway ip-gateway [primary-dns ip-dns ] [second-dns ip-dns]

Purpose
To configure an IP profile

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

profile name

Profile name

164 characters

ip-gateway

Gateway IP

primary-dns

Primary DNS IP

second-dns

Second DNS IP

Mode
ZXAN(config-gpon)#

Example
The following example shows how to configure an IP profile:
ZXAN(config-gpon)#onu profile ip adsf static gateway 10.1.1.10

20-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
None

20.1.8 onu profile vlan


Syntax
onu profile vlan profile name tag-mode {tag cvlan vlan id | vlan-stacking svlan vlan id[ cvlan
vlan id]} [priority priority]

Purpose
To configure a VLAN profile

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

profile name

VLAN name

164 characters

priority

Priority

07

Mode
ZXAN(config-gpon)#

Example
The following example shows how to configure a VLAN profile:
ZXAN(config-gpon)#onu profile vlan 12 tag-mode tag cvlan 23

Related Commands
None

20.1.9 onu profile filter-rule


Syntax
onu profile filter-rule {zero-tag | single-tag | double-tag} rule-name { [{ARP | DHCP |ICMP
|ICMPv6 |IGMP |IPoE |IPv6oE | PPPoE | SIP |TCP |UDP |any}][dstipv4 dstipv4 |dstipv6 dsti
pv6| dstl4port dstl4port |dstmac dstmac | srcipv4 srcipv4 | srcipv6 srcipv6 | srcl4port srcl4port
| srcmac srcmac] [flow-lable flow-lable] [mac-control ][inner-tpid { mode0 | mode4 | mode5 |
mode6 | mode7}] [inner-priority priority] [inner-vid vid] [outer-tpid {mode0 | mode4 | mode5
| mode6 | mode7}] [outer-priority priority] [outer-vid vid]]}
no onu profile filter-rule {zero-tag | single-tag | double-tag} rule-name
20-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure extended VLAN filter rule for ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

zero-tag

Untagged frame

single-tag

Single-tag frame

double-tag

Double-tag frame

rule-name

Rule name

Range: 1 63 characters

ARP

ARP frame

DHCP

DHCP frame

ICMP

ICMP frame

ICMPv6

ICMPv6 frame

IGMP

IGMP frame

IPoE

IPoE frame

IPoEv6

IPoEv6 frame

PPPoE

PPPoE frame

SIP

SIP frame

TCP

TCP frame

UDP

UDP frame

any

Ethernet frame of any type

dstipv4 dstipv4

Destination IPv4 address

dstipv6 dstipv6

Destination IPv6 address

dstl4port dstmac dstl4port dstmac

Destination layer-4 port

Range: 1 65535

dstmac dstmac

Destination MAC address

srcipv4 srcipv4

Source IPv4 address

srcipv6 srcipv6

Source IPv6 address

srcl4port srcmac srcl4port srcmac

Source layer-4 port

Range: 1 65535

srcmac srcmac

Source MAC address

flow-label flow-label

Flow lable

Range: 0-1048575

mac-control

MAC address control

20-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

inner-tpid {mode0 | mode4 |

Inner TPID match mode for

mode5 | mode6 | mode7}

single-tag frame or double-tag


frame
l

mode0: no filter on TPID


field

mode4: inner TPID =


8100
mode5inner TPID = input
PVID, ignore DE

mode6: inner TPID = input


PVID, DE = 0

mode7: inner TPID = input


PVID, DE = 1

inner-priority priority

Inner 802.1p priority

Range: 0 7

inner-vid vid

Inner VID

Range: 0 4094

outer-tpid {mode0 | mode4 |

Outer TPID match mode for or

mode5 | mode6 | mode7}

double-tag frame
l

mode0: no filter

mode4: inner TPID =


8100
mode5inner TPID = input
PVID, ignore DE

mode6inner TPID = input


PVID, DE bit = 0

mode7inner TPID = input


PVID, DE bit = 1

outer-priority priority

Outer 802.1p priority

Range: 0 7

outer-vid vid

Outer VID

Range: 0 4094

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the VLAN filter rule:
ZXAN(config-gpon)#onu profile filter-rule single-tag single-tag-vid100 inner-vid 100
ZXAN(config-gpon)#

Related Commands
show gpon onu profile filter-rule

20-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.10 onu profile igmp


Syntax
onu profile igmp name [ down-tag { { add | replace } prioriy prio vlan vid | strip | transparent
} ] [ fast-leave { disable | enable }] [iptv-package { [ dynamic1 pkgname ] [ dynamic2 pkgname
] [ dynamic3 pkgname ] [ dynamic4 pkgname ] [ dynamic5 pkgname ] [ dynamic6 pkgname ] [
dynamic7 pkgname ] [ dynamic8 pkgname ] [ static pkgname ] } ] [ last-query-interval interval ]
[non-match-group { discard | forward } ] [ proxy-ip ipaddr ] [query-interval interval ] [query-m
ax-resp time ] [rate-limit limit ] [ robustness { robustness | copy-from-query }] [ tag [ down-tag
{ { add | replace } prioriy prio vlan vid | transparent } ] [version ver ] [work-mode mode ]
no onu profile igmp name

Purpose
To configure the IGMP profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

last-query-interval interval

Last query interval

Range: 0 255, unit: 0.1 s


Default: 10

proxy-ip ipaddr

Proxy IP address

query-interval interval

Query interval

A.B.C.D
Range: 30 300, unit: 0.1 s
Default: 125

query-max-resp time

Query maximum response time

Range: 10 250, unit: 0.1 s


Default: 100

dynamic pckname

Dynamic IPTV package

static pkgname

Static IPTV package

robustness { robustness |

Robustness

Range: 2 5, copy-from-query

copy-from-query }
version ver

Default: copy-from-query
IGMP version

v1

v2

v3

Default: v2
work-mode mode

IGMP work mode

flood

proxy

snooping

spr

Default: snooping
20-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the IGMP profile:
ZXAN(config-gpon)#onu profile igmp test down-tag strip iptv-package static stv

Related Commands
show gpon onu profile igmp

20.1.11 onu profile mgc


Syntax
onu profile mgc profile name server1 server1
onu profile mgc profile name server2 server2
onu profile mgc profile name user-tid { default prefix prefix | prefix prefix postfix-len len pos
tfix-start postfix-start }
onu profile mgc profile name server1 server1 [ validate { disable | basic username username
password password | md5 username username password password realm realm } ]
onu profile mgc profile name server2 server2 [ validate { disable | basic username username
password password | md5 username username password password realm realm } ]
onu profile mgc profile name [ port port [ tos tos | dscp dscp ] ]
onu profile mgc profile name [ media port port [ tos tos | dscp dscp ] ]
onu profile mgc profile name rtp-tid { default | prefix prefix postfix-len postfix-len postfix-start
postfix-start }
onu profile mgc profile name rtp-tid [ msg-format { text-long | text-short | binary } ] [ version
version ] [ max-retry-time max-retry-time ] [ max-retry-attempts max-retry-attempts ] [ service
-change-delay service-change-delay ] [ ss ss ]
onu profile mgc profile name digit-map long-timer long-timer short-timer short-timer start-ti
mer start-timer ] [ heart-beat-interval heart-beat-interval ] [ min-avalanche-timer min-avalanc
he-timer ] [ min-rereg-timer min-rereg-timer ] [ passive-heart-beat passive-heart-beat ] [ regms
g-retran-timer regmsg-retran-timer ]

Purpose
To configure the Media Gateway Control (MGC) profile

Usage Guidelines
The following table provides parameter description:
20-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

profile name

Profile name

1 64 characters

long-timer long-timer

DigitMap long timer

2000 60000, unit: ms

short-timer short-timer

DigitMap short timer

2000 60000, unit: ms

start-timer start-timer

DigitMap start timer

2000 60000, unit: ms

heart-beat heart-beat

Heart-beat

disable

service-change

notify

Heart-beat interval

10000 600000, unit: ms

Maximum retry attempts

0 65535

max-retry-time max-retry-time

Maximum retry time

0 65535, unit: s

min-avalanche-timer

Avalanche minimum timer

0 500000, unit: ms

min-rereg-timer min-rereg-timer

Re-registration minimum timer

0 500000, unit: ms

msg-format msg-format

Message format

binary

text-long

text-short

heart-beat-interval
heart-beat-interval
max-retry-attempts
max-retry-attempts

min-avalanche-timer

Number shortest-match flag

Enable or disable

port port

Port number

1 65535

passive-heart-beat

Passive heart-beat

Enable or disable

regmsg-retran-timer

Registration message

100 50000, unit: ms

regmsg-retran-timer

re-transmission timer

server1 server1

Primary MGC server

IP or URI

server2 server2

Secondary MGC server

IP or URI

service-change-delay

Service delay

0 65535, unit: s

ss ss

SS vendor

1 4 characters

version version

Megaco protocol version

1 255

num-match-shortest
num-match-shortest

passive-heart-beat

service-change-delay

Mode
ZXAN(config-gpon)#

20-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to configure MGC profile:
ZXAN(config-gpon)#onu profile mgc test server1 1.2.3.1
ZXAN(config-gpon)#onu profile mgc test server2 1.2.3.2
ZXAN(config-gpon)#onu profile mgc test user-tid prefix aaln postfix-len 5
postfix-start 1
ZXAN(config-gpon)#onu profile mgc test rtp-tid prefix rtp postfix-len 5
postfix-start 1

Related Commands
show gpon onu profile mgc

20.1.12 onu profile performance-threshold cesuni


Syntax
onu profile performance-threshold cesuni profile-name [down-missing value1] [down-reorder
ed value2] [down-misordered value3] [down-buffer-underrun-overrun value4] [down-malfor
med value5] [down-stray value6] [down-remote-loss value7] [down-es value8] [down-ses value9]
[down-uas value10]
no onu profile performance-threshold cesuni profile-name

Purpose
To configure the CES performance monitoring threshold profile for ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

Profile name

Range: 1 64 characters

down-missing value1

Downstream missing packets

Range: 1 4294967295

threshold
down-reordered value2

Downstream reordered packets

Range: 1 4294967295

threshold
down-misordered value3

Downstream mis-oredered

Range: 1 4294967295

packets threshold
down-buffer-underrun-overrun

Downstream buffer

value4

overrun/underrun packets

Range: 1 4294967295

threshold
down-malformed value5

Downstream malformed packets

Range: 1 4294967295

threshold
20-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

down-stray value6

Downstream stray packets

Range: 1 4294967295

threshold
down-remote-loss value7

Downstream remote loss

Range: 1 4294967295

packets threshold
down-es value8

Downstream ES threshold

Range: 1 4294967295

down-ses value9

Downstream SES threshold

Range: 1 4294967295

down-uas value10

Downstream UAS threshold

Range: 1 4294967295

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the CES performance monitoring
threshold profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold cesuni ces-alarm
down-misordered 100
ZXAN(config-gpon)#

Related Commands
show gpon onu profile performance-threshold

20.1.13 onu profile performance-threshold dot1x


Syntax
onu profile performance-threshold dot1x name [ rx-invalid-eapol num ] [ rx-len-err-eap num ]
onu profile performance-threshold dot1x name

Purpose
To configure the dot1x performance-threshold profile

Usage Guidelines
The following table provides parameter description:

20-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

name

Profile name

1 64 characters

rx-invalid-eapol num

Threshold value of received

Range: 1 4294967295

invalid EAPOL packets


rx-len-err-eap num

Threshold value of received

Range: 1 4294967295

EAP length errors

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the dot1x performance-threshold profile:
ZXAN(config-gpon)#onu profile performance-threshold dot1x abc rx-invalid-eapol
100 rx-len-err-eap 100

Related Commands
show gpon onu profile performance-threshold dot1x

20.1.14 onu profile performance-threshold ethuni


Syntax
onu profile performance-threshold ethuni profile-name [fcs-err value1] [excessive-collision val
ue2] [late-collision value3] [too-long value4] [rx-buf-overflow value5] [ tx-buf-overflow value6]
[single-collision value7] [multi-collisions value8] [sqe value9] [deferred-tx value10] [internal-m
ac-tx-err value11] [internal-mac-rx-err value12] [carrier-sense-err value13] [alignment-err va
lue14] [pppoe-filtered value15] [drop-events value16] [undersize value17] [fragments value18]
[jabbers value19]
no onu profile performance-threshold ethuni profile-name

Purpose
To configure the Ethernet UNI performance monitoring threshold profile for ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

Profile name

1 64 characters

fcs-err value1

FCS errors threshold

Range: 1 4294967295

excessive-collision value2

Excessive collisions threshold

Range: 1 4294967295

20-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

late-collision value3

Latest collisions threshold

Range: 1 4294967295

too-long value4

Too long frames threshold

Range: 1 4294967295

rx-buf-overflow value5

Rx buffer over flow threshold

Range: 1 4294967295

tx-buf-overflow value6

Tx buffer over flow threshold

Range: 1 4294967295

single-collision value7

Single-collision threshold

Range: 1 4294967295

multi-collisions value8

Multiple collisions threshold

Range: 1 4294967295

sqe value9

Signal quality errors threshold

Range: 1 4294967295

deferred-tx value10

Differed transmission errors

Range: 1 4294967295

threshold
internal-mac-tx-err value11

Internal MAC transmit error

Range: 1 4294967295

threshold
internal-mac-rx-err valueRange:

Internal MAC receive errors

12

threshold

carrier-sense-err value13

Internal MAC receive errors

Range: 1 4294967295

Range: 1 4294967295

threshold
alignment-err value14

Alignment errors threshold

Range: 1 4294967295

pppoe-filtered value15

PPPoE filtered frames threshold

Range: 1 42949672955

drop-events value16

Drop events threshold

Range: 1 4294967295

undersize value17

Undersize packets threshold

Range: 1 4294967295

fragments value18

Fragments threshold

Range: 1 4294967295

jabbers value19

Jabbers threshold

Range: 1 4294967295

Mode
ZXAN(config-gpon)#

Example
The following example displays how to the configure the performance monitoring threshold
profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold ethuni eth-alarm fcs-err 100
ZXAN(config-gpon)#

Related Commands
show gpon onu profile performance-threshold

20-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.1.15 onu profile performance-threshold gem


Syntax
onu profile performance-threshold gem profile-name [lost-packets value1] [misinserted-packe
ts value2] [impaired-blocks value3]
no onu profile performance-threshold gem profile-name

Purpose
To configure the GEM port performance monitoring threshold profile for ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

Profile name

1 64 characters

lost-packets value1

Los packets threshold

Range: 1 4294967295

misinserted-packets value2

Mis-inserted packets threshold

Range: 1 4294967295

impaired-blocks value3

Impaired-blocks threshold

Range: 1 4294967295

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the performance monitoring threshold
profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold gem gem-alarm lostpackets 100
ZXAN(config-gpon)#

Related Commands
show gpon onu profile performance-threshold

20.1.16 onu profile performance-threshold radius


Syntax
onu profile performance-threshold radius name [ retx-access-req num ] [ rx-invalid-radius
num ]
onu profile performance-threshold radius name
20-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the RADIUS performance-threshold profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

rx-invalid-eapol num

Threshold value of access

Range: 1 4294967295

request
rx-len-err-eap num

Threshold value of received

Range: 1 4294967295

invalid packets

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the RADIUS performance-threshold
profile:
ZXAN(config-gpon)#onu profile performance-threshold radius abc retx-access-req
10 rx-invalid-radius 10

Related Commands
show gpon onu profile performance-threshold radius

20.1.17 onu profile performance-threshold switchport


Syntax
onu profile performance-threshold switchport name [ delay-exceeded-discard num ] [ mtu-ex
ceeded-discard num ] [ received-and-discarded num ]
onu profile performance-threshold switchport name

Purpose
To configure the switchport performance-threshold profile

Usage Guidelines
The following table provides parameter description:

20-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

name

Profile name

1 64 characters

delay-exceeded-discard num

Threshold of discarded frames

Range: 1 4294967295

due to delay exceeded


mtu-exceeded-discard num

Threshold value of discarded

Range: 1 4294967295

frames due to MTU exceeded


received-and-discarded num

Threshold value of received and

Range: 1 4294967295

discarded frames

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the switchport performance-threshold
profile:
ZXAN(config-gpon)#onu profile performance-threshold switchport abc delay-exceed
ed-discard 1000 100 mtu-exceeded-discard 100 received-and-discarded 1000

Related Commands
show gpon onu profile performance-threshold switchport

20.1.18 onu profile performance-threshold vlan


Syntax
onu profile performance-threshold vlan ethuni name [ discard-delay-exceeded num ] [ discar
d-lack-of-buffer num ] [ discard-on-error num ] [ discard-on-ingress-filtering num ]
onu profile performance-threshold vlan name

Purpose
To configure the VLAN Ethernet performance-threshold profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Threshold value of discarded

Range: 1 4294967295

discard-delay-exceeded num

frames due to exceeded delay

20-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

discard-lack-of-buffer num

Threshold value of discarded

Range: 1 4294967295

frames due to lack of buffer


discard-on-error num

Threshold value of discarded

Range: 1 4294967295

frames due to error


discard-on-ingress-filtering num

Range: 1 4294967295

Threshold value of discarded


frames due to ingress filtering

Mode
ZXAN(config-gpon)#

Example
The following example displays
performance-threshold profile:

how

to

configure

the

VLAN

Ethernet

ZXAN(config-gpon)#onu profile performance-threshold vlan ethuni abc discarddelay-exceeded 100 discard-lack-of-buffer 100 discard-on-error 100 discardon-ingress-filtering 100

Related Commands
show gpon onu profile performance-threshold vlan

20.1.19 onu profile sip


Syntax
onu profile sip profile name proxy proxy
onu profile sip profile name [proxy proxy ] [ outbound outbound] [ registrar registrar] [ validate
{ disable | basic username username password password | md5 username username password
password realm realm } ] [ media port port [ tos tos | dscp dscp ] ]
onu profile sip profile name [dns1 dns1 ] [ dns2 dns2] [ reg-exp-time reg-exp-time] [ rereg-time
rereg-time ] [ ss ss ] [ dial-plan dial-plan ] [release-time release-time ] [ roh-time roh-time]
onu profile sip profile name [ heart-beat { enable interval | disable }]
onu profile sip profile name [ appsrv profile name ] [ accesscode profile name ]

Purpose
To configure the SIP profile

Usage Guidelines
The following table provides parameter description:
20-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

profile name

SIP profile name

1 64 characters

proxy

Proxy server IP or URI

1 128 characters

outbound

Outbound server IP or URI

1 128 characters

registrar

Registrar server IP or URI

1 128 characters

dsn1

Primary DNS server IP

dsn2

Secondary DNS server IP

reg-exp-time

Registration expiration time

0 4294967295, unit: s

rereg-time

Re-registration time

0 4294967295, unit: s

release-time

Release timer

0 255, unit: s

ss

SS vendor

1 4 characters

dial-plan

Dial plan table name

1 64 characters

roh-time

ROH timer

0 255, unit: s

appsrv profile name

Application profile name

1 64 characters

accesscode profile name

Access code profile name

1 64 characters

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the SIP profile:
ZXAN(config-gpon)#onu profile sip sip-service proxy 2.1.1.1
ZXAN(config-gpon)#onu profile sip sip-service appsrv pro1 accesscode pro1

Related Commands
show gpon onu profile sip

20.1.20 onu profile tdm


Syntax
onu profile tdm profile-name [jtrbfr-max depth] [jtrbfr-desire depth] [rtp {enable ssrc payloadssrc signalling-ssrc ptype payload-type signalling-type clk-ref clk-ref timestamp-mode {absolute
| differential | unknown} expected-ptype payload-type signalling-type expected-ssrc payload-s
srcsignalling-ssrc | disable]
no onu profile tdm profile-name

20-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure TDM profile for the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

Profile name

1 64 characters

jtrbfr-max depth

Jitter buffer maximum depth

Range: 0 65535

jtrbfr-desire depth

Jitter buffer desired depth

Range: 0 65535

rtp {enable | disable}

Enable or disable RTP header

Default: enable

ssrc payload-ssrc

Payload SSRC

Range: 0 42949672955

signalling-ssrc

Signalling SSRC

Range: 0 42949672955

ptype payload-type signalling-type

Payload type

Range: 96 127

signalling-type

Signaling type

Range: 0, 96 127

clk-ref clk-ref

Clock reference

Range: 0 65535, multiples of


8 kHz

timestamp-mode {absolute |

Time stamp mode

expected-ptype payload-type

Expected payload type and

payload-type: 0 255

signalling-type

signaling type

signalling-type : 0 255

expected-ssrc payload-ssrc

Expected payload SSRC and

payload-ssrc: 0 42949672955

signalling-ssrc

signaling SSRC

signalling-ssrc: 0

differential | unknown}

42949672955

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the TDM profile:
ZXAN(config-gpon)#onu profile tdm test rtp disable
ZXAN(config-gpon)#

Related Commands
None

20-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.1.21 onu profile treat


Syntax
onu profile treat treat-name [remove-tag tagnum] [inner-tpid {mode0 | mode1 | mode2 | mode3 |
mode4 | mode5 | mode6 | mode7}] [inner-priority {copy-inner | copy-outer | derive-from-dscp|
insert priority}] [inner-vid {copy-inner | copy-outer | insert vid}] [outer-tpid {mode0 | mode1 |
mode2 | mode3 | mode4 | mode5 | mode6 | mode7}] [outer-priority {copy-inner | copy-outer |
derive-from-dscp | insert priority}] [outer-vid {copy-inner | copy-outer | insert vid}] [discard]
no onu profile treat treat-name

Purpose
To configure the extended VLAN process profile for ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

treat-name

Profile name

Range: 1 64 characters

remove-tag tagnum

Number of removed tags

Range: 0 - 2

For double-tag frames, 1 means

Default: 0

to remove the outer tag


inner-tpid {mode0 | mode1 |

Inner TPID process mode

mode2 | mode3 | mode4 | mode5

| mode6 | mode7}

mode0: copy TPID from


inner tag

mode1: copy TPID from

mode2: TPID = output

outer tag
TPID, copy DE bit from
inner tag
l

mode3: TPID = output


TPID, copy DE from outer
tag

mode4: TPID = 8100

mode5: reserved

mode6: TPID = output


TPID, DE = 0

mode7: TPID = output


TPID, DE = 1

20-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

inner-priority {copy-inner |

Inner 802.1p priority process

Range: 0 7

copy-outer | derive-from-dscp|

mode

insert priority}

copy-inner: copy the inner


priority from the inner
priority of Rx frame

copy-outer: copy the inner


priority from the outer
priority of Rx frame

derive-from-dscp: derive
from DSCP

insert priority: insert priority

inner-vid {copy-inner |

Inner VID process mode

copy-outer | insert vid}

Range: 1 4094

copy-inner: copy the inner


VID from the inner VID of
Rx frame

copy-outer: copy the inner


VID from the outer VID of
Rx frame

insert vid: insert VID

outer-tpid {mode0 | mode1 |

Outer TPID process mode

mode2 | mode3 | mode4 | mode5

| mode6 | mode7}

mode0: copy TPID from


inner tag

mode1: copy TPID from


outer tag

mode2: TPID = output


TPID, copy DE bit from
inner tag

mode3: TPID = output


TPID, copy DE from outer
tag

mode4: TPID = 8100

mode5: reserved

mode6: TPID = output


TPID, DE = 0

mode7: TPID = output


TPID, DE = 1

20-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

outer-priority {copy-inner |

Inner 802.1p priority process

Range: 0 7

copy-outer | derive-from-dscp |

mode

insert priority}

copy-inner: copy the inner


priority from the inner
priority of Rx frame

copy-outer: copy the inner


priority from the outer
priority of Rx frame

derive-from-dscp: derive
from DSCP

insert priority: insert priority

outer-vid {copy-inner |

Outer VID process mode

copy-outer | insert vid}

Range: 1 4094

copy-inner: copy the inner


VID from the inner VID of
Rx frame

copy-outer: copy the inner


VID from the outer VID of
Rx frame

insert vid: insert VID

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the extended VLAN process profile:
ZXAN(config-gpon)#onu profile treat add-outer-vid200 outer-vid insert 200
ZXAN(config-gpon)#

Related Commands
show gpon onu profile treat

Related Information
If none of inner-tpid, inner-priority, and inner-vid is specified, the inner tag is not added to
packets.
If none of outer-tpid, outer-priority, and outer-vid is specified, the outer tag is not added to
packets.

20-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.22 onu profile voip-accesscode


Syntax
onu profile voip-accesscode profile name [ cancel-call-waiting cancel-call-waiting ] [ call-hold
call-hold ] [ call-park call-park ] [ cid-activate cid-activate ] [ cid-deactivate cid-deactivate ] [
no-disturb-activation no-disturb-activation ] [ no-disturb-deactivation no-disturb-deactivation
] [ no-disturb-pin-change no-disturb-pin-change ] [ emergency-srv-num emergency-srv-num ] [
intercom-service intercom-service ] [ unattended-blind-call-transfer unattended-blind-call-tran
sfer ] [ attended-call-transfer attended-call-transfer ]

Purpose
To configure VoIP service access code profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

1 64 characters

cancel-call-waiting

Cancel call waiting

1 5 characters

call-hold call-hold

Call hold

1 5 characters

call-park call-park

Call park

1 5 characters

cid-activate cid-activate

CID enable

1 5 characters

cid-deactivate cid-deactivate

CID disable

1 5 characters

no-disturb-activation

No-disturb enable

1 5 characters

No-disturb disable

1 5 characters

No-disturb PIN change

1 5 characters

Emergency service

1 5 characters

intercom-service intercom-service

Inter-communication service

1 5 characters

unattended-blind-call-transfer

Unattended blind call transfer

1 5 characters

Attended call transfer

1 5 characters

cancel-call-waiting

no-disturb-activation
no-disturb-deactivation
no-disturb-deactivation
no-disturb-pin-change
no-disturb-pin-change
emergency-srv-num
emergency-srv-num

unattended-blind-call-transfer
attended-call-transfer
attended-call-transfer

20-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure VoIP service access code profile:
ZXAN(config-gpon)#onu profile voip-accesscode pro1 cancel-call-waiting 12365
attended-call-transfer 12345

Related Commands
show gpon onu profile voip-accesscode

20.1.23 onu profile voip-appsrv


Syntax
onu profile voip-appsrv profile name [ calling-num { enable | disable } ] [ calling-name { enable
| disable } ] [ cid-blocking { enable | disable } ] [ cid-num-permanent-status { enable | disable
} ] [ cid-name-permanent-status { enable | disable } ] [ anonymous-cid-blocking { enable |
disable } ] [ call-waiting { enable | disable } ] [ cid-announcement { enable | disable } ] [ 3way
{ enable | disable } ] [ call-transfer { enable | disable } ] [ call-hold { enable | disable } ] [
call-park { enable | disable } ] [ no-disturb { enable | disable } ] [ emergency-call-flash { enable
| disable } ] [ emergency-originate-hold {enable | disable } ] [ 6way { enable | disable } ] [
message-waiting-splash-ring { enable | disable } ] [ message-wating-special-dialtone { enable
| disable } ] [ message-waiting-visual-ind { enable | disable } ] [ call-forwarding-ind { enable |
disable } ] [ direct-connect-feature { enable | disable } ] [ dialtone-delay { enable | disable } ] [
direct-connect-uri direct-connect-uri [ validate { disable | basic username username password
password } | md5 username username password password realm realm ] ] [ bridge-line-agen
t-uri bridge-line-agent-uri [ validate { disable | basic username username password password
} | md5 username username password password realm realm ] ] [ conference-factory-uri conf
erence-factory-uri [ validate { disable | basic username username password password } | md5
username username password password realm realm ] ]

Purpose
To configure VoIP service application profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

1 64 characters

calling-num

Caller number

Enable or disable

calling-name

Caller name

Enable or disable

20-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

cid-blocking

CID block

Enable or disable

cid-num-permanent-status

CID number permanent status

Enable or disable

cid-name-permanent-status

CID name permanent status

Enable or disable

anonymous-cid-blocking

Anonymous CID block

Enable or disable

call-waiting

Call waiting

Enable or disable

cid-announcement

CID announcement

Enable or disable

3way

3-way call

Enable or disable

call-transfer

Call transfer

Enable or disable

call-hold

Call hold

Enable or disable

call-park

Call park

Enable or disable

no-disturb

No disturb

Enable or disable

emergency-call-flash

Emergency call flash

Enable or disable

emergency-originate-hold

Emergency originate hold

Enable or disable

6way

Conference call

Enable or disable

message-waiting-splash-ring

Splash ring for waiting message

Enable or disable

message-wating-special-dialtone

Special dial-tone for waiting

Enable or disable

message
message-waiting-visual-ind

Visual indication for waiting

Enable or disable

message
call-forwarding-ind

Call forward indication for

Enable or disable

waiting message
direct-connect-feature

Direct connection

Enable or disable

dialtone-delay

Dial-tone delay

Enable or disable

direct-connect-uri

Direct connection URI

1 128 characters

validate

Validate

username username

User name

1 25 characters

password password

Password

1 25 characters

md5

MD5 value

realm realm

Realm

1 25 characters

conference-factory-uri

Conference call URI

1 128 characters

direct-connect-uri

conference-factory-uri

Mode
ZXAN(config-gpon)#
20-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to configure the VoIP service application profile:
ZXAN(config-gpon)#onu profile voip-appsrv pro1 emergency-call-flash enable
conference-factory-uri 10.20.30.2 validate basic username zte password zte

Related Commands
show gpon onu profile voip-appsrv

20.1.24 onu profile voip-ip


Syntax
onu profile voip-ip profile name static gateway ip-address [ primary-dns address [ second-dns
address ] ]

Purpose
To configure the VoIP IP profile, which is only valid for static IP mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

1 64 characters

gateway ip-address

Gateway

primary-dns address

Primary DNS

second-dns address

Secondary DNS

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the VoIP IP profile:
ZXAN(config-gpon)#onu profile voip-ip pro1 static gateway 10.32.62.52 primarydns 10.32.25.14

Related Commands
show gpon onu profile voip-ip

20-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.25 onu profile voip-media


Syntax
onu profile voip-media name [ encoding { { 1st | 2nd | 3rd | 4th } [ codec format ] [ pkt-period
period ] [ silence-suppress { on | off } ] | fax-mode { passthru | t38 } | oob-dtmf { disable | enable
}}]
onu profile voip-media name [ rtp [min-port port ] [ max-port port ] [ dscp-mark dscp ] [ event
{ [ piggyback { enable | disable } ] [ tone { enable | disable } ] [ dtmf { enable | disable } ] [ cas
{ enable | disable } ] } ]
onu profile voip-media name [ service [ announce-type type ] [echo-cancel { off | on} ] [ coun
try-code code ] [ signal-prio { prio | no-change } ] [ media-pri { prio | no-change } ] [ jitter {
adaptive min min max max | fix target target [ max max ] }
no onu profile voip-media name

Purpose
To configure the VoIP media profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

codec format

Codec format

cn

dvi4-rate11khz

dvi4-rate16khz

dvi4-rate22khz

dvi4-rate8khz

g722

g723

g728

g729

gsm

l16-1channel

l16-2channel

lpc

mpa

pcma

pcmu

qcelp

Default: pcmu

20-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

pkt-period period

Packet period

Range: 10 30, unit: ms


Default: 10

silence-suppress { on | off }

Silence suppression

Default: off

fax-mode { passthru | t38 }

Fax mode

Default: passthru

oob-dtmf { disable | enable }

Out-of-band DTMF carriage

Default: enable

min-port port

Minximum port

Range: 0 65535

max-port port

Maximum port

Range: 0 65535

dscp-mark dscp

DSCP priority

Range: 0 63

piggyback { enable | disable }

Piggyback event

Default: disable

tone { enable | disable }

Tone event

Default: disable

dtmf { enable | disable }

DTMF event

Default: disable

cas { enable | disable }

CAS event

Default: disable

announce-type type

Announce type

fast-busy

na

reorder-tone

silence

voice-announce

Default: na
echo-cancel { on | off }

Echo-cannel

Default: on

country-code code

Country code

Range: 0 65535
Default: 0

signal-prio { prio | no-change

Signal 802.1p priority

Range: 0 7, no change
Default: no change

media-prio { prio | no-change

Media 802.1p priority

Range: 0 7, no change
Default: no change

adaptive min min max max

Adaptive jitter

Range: 0 65535, unit: ms

fix target target [ max max

Fixed jitter

Range: 0 65535, unit: ms

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the VoIP media profile:
ZXAN(config-gpon)#onu profile voip-media test rtp event piggyback enable tone
enable dtmf enable cas enable

20-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show gpon onu profile voip-media

20.1.26 onu profile voip-vlan


Syntax
onu profile voip-vlan profile name tag-mode vlan-stacking svlan svlan [ cvlan cvlan [ priority
priority ] ]
onu profile voip-vlan profile name tag-mode tag cvlan cvlan [ priority priority ]

Purpose
To configure the VoIP VLAN profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

1 64 characters

svlan svlan

SVLAN ID

1 4094

cvlan cvlan

CVLAN ID

1 4094

priority priority

Priority

07

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the VoIP VLAN profile:
ZXAN(config-gpon)#onu profile voip-vlan pro1 tag-mode vlan-stacking svlan 100

Related Commands
show gpon onu profile voip-vlan

20.1.27 show gpon profile


Syntax
show gpon profile {tcont [profile-name1] | traffic [profile-name2]}

Purpose
To display GPON profile configuration
20-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

tcont

T-CONT profile

profile-name1

T-CONT profile name

Range: 1 - 64 characters

traffic

Traffic profile

profile-name2

Traffic profile name

Range: 1 - 64 characters

Mode
Any mode except user mode

Example
The following example displays GPON T-CONT profile configuration:
ZXAN#show gpon profile tcont
NAME

TYPE

FBW

ABW

MBW

default

10240

profile

1000

bf

100

hf

100

ZXAN#

The following example displays GPON traffic profile configuration:


ZXAN#show gpon profile traffic
NAME

SIR

default

10240

10240

profile

1024

4048

tf

100

100

cf

65

100

PIR

ZXAN#

Related Commands
None

20.1.28 show gpon onu profile dial-plan


Syntax
show gpon onu profile dial-plan name id

20-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the dial-plan configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Dial-plan table name

1 64 characters

id

Dial-plan ID

Range: 1 255

Mode
Any mode except ZXAN>

Example
The following example displays the dial-plan:
ZXAN(config-gpon)#show gpon onu profile dial-plan test
Dial plan id

Dial plan token

------------------------------------1

X*.X.#|#X.*.X.##

#X.*.X.T|#X.*.X.
#T

Related Commands
onu profile dial-plan

20.1.29 show gpon onu profile dial-plan-table


Syntax
show gpon onu profile dial-plan-table [ name ]

Purpose
To display the dial-plan table configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Dial-plan table name

1 64 characters

20-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode except ZXAN>

Example
The following example displays the dial-plan table:
ZXAN(config-gpon)#show gpon onu profile dial-plan-table
TableName MaxSize

Critical

Partial

Format

--------------------------------------------------------------------test

16

4000

16000

not-define
d

Related Commands
onu profile dial-plan-table

20.1.30 show gpon onu profile dscp


Syntax
show gpon onu profile dscp [ name ]

Purpose
To display the DSCP to 802.1p mapping profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the DSCP to 802.1p mapping profile configuration:
ZXAN(config-gpon)#show gpon onu profile dscp

Profile name:

abc

Dscp2Pbit mapping:

8-15:1,16-23:2,24-31:3,32-39:4,40-47:5,48-55:6,56-63:7

Related Commands
onu profile dscp
20-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.31 show gpon onu profile filter-rule


Syntax
show gpon onu profile filter-rule [ name ]

Purpose
To display the filter rule profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the filter rule profile configuration:
ZXAN(config-gpon)#show gpon onu profile filter-rule

RuleName:

abc

TagNum:

EtherType:

IGMP

InnerPrio:

InnerVid:

100

InnerTPID:

mode0

OuterPrio:

OuterVid:

200

OuterTPID:

mode0

Related Commands
onu profile filter-rule

20.1.32 show gpon onu profile igmpi


Syntax
show gpon onu profile igmp [ name ]

Purpose
To display the IGMP profile configuration
20-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the IGMP profile configuration:
ZXAN(config-gpon)#show gpon onu profile igmp test

Profile-name:

test

Version:

v2

Work-mode:

snooping

Fast-leave:

disable

Robustness:

copy-from-query

Proxy-ip:

0.0.0.0

Query-interval:

125

Query-max-resp:

100

Last-query-interval:

10

Non-match-group:

discard

Rate-limit:

Up stream tag:

transparent

Down stream tag:

strip

Iptv-package-dynamic1:
Iptv-package-dynamic2:
Iptv-package-dynamic3:
Iptv-package-dynamic4:
Iptv-package-dynamic5:
Iptv-package-dynamic6:
Iptv-package-dynamic7:
Iptv-package-dynamic8:
Iptv-package-static:

stv

Related Commands
onu profile igmp

20-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.33 show gpon onu profile ip


Syntax
show gpon onu profile ip [ profile name ]

Purpose
To show an IP profile

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

profile name

Profile name

164 characters

Mode
All modes except user mode

Example
The following example shows a GPON ONU IP profile:
ZXAN#show gpon onu

profile ip

Related Commands
None

20.1.34 show gpon onu profile mgc


Syntax
show gpon onu profile mgc [ name ]

Purpose
To display the MGC profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>
20-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays the MGC profile configuration:
ZXAN(config-gpon)#show gpon onu profile mgc name abc

Profile name:
Server1:

abc
1.1.1.1

Validation scheme:

disable

Username:

N/A

Password:

N/A

Realm:

N/A

Server2:

1.1.1.2

Validation scheme:

disable

Username:

N/A

Password:

N/A

Realm:

N/A

UDP port:

2944

DSCP/TOS:

Media UDP port:

2944

Media DSCP/TOS:

Message format:

text long

Version:

Maximum retry time:

0(s)

Maximum retry attempts: 0(s)


Service change delay:

0(s)

Softswitch vendor:
User TID:
Prefix:
RTP TID:

default

Heart beat:

service change

RTP link detect:

disable

Number shortest match:

disable

Digit map long timer:

40000(ms)

Digit map short timer:

2000(ms)

Digit map start timer:

4000(ms)

Heart beat interval:

60000(ms)

Rereg timer min:

60000(ms)

Rereg timer max:

120000(ms)

Regmsg retran timer:

2000(ms)

Total retran timer:

10000(ms)

Related Commands
onu profile mgc

20-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.35 show gpon onu profile performance-threshold ces


Syntax
show gpon onu profile performance-threshold ces [ name ]

Purpose
To display the CES UNI performance-threshold profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the CES UNI performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold ces

Profile name

abc

Down missing packets

Down reordered packets

Down misordered packets

Down buffer underrun overrun packets

Down malformed packets

Down stray packets

Down remote packet loss

Down errored seconds

100

Down severely errored seconds

Down unavailable seconds

100

Related Commands
onu profile performance-threshold cesuni

20.1.36 show gpon onu profile performance-threshold dot1x


Syntax
show gpon onu profile performance-threshold dot1x [ name ]
20-40
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To display the dot1x performance-threshold profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the dot1x performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold dot1x

Threshold profile:

abc

Rx Invalid EAPOL packets:

100

Rx length errored EAP packets:

100

Related Commands
onu profile performance-threshold dot1x

20.1.37 show gpon onu profile performance-threshold eth


Syntax
show gpon onu profile performance-threshold eth [ name ]

Purpose
To display the Ethernet performance-threshold profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>
20-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the Ethernet performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold eth abc

Profile name

abc

Fcs error packets

10000

Excessive collision packets

Late collision count

Too long packets

Rx buffer overflow count

Tx buffer overflow count

Single collision packets

Multiple collisions packets

Sqe count

Deferred transmission packets 0


Internal mac tx error packets 0
Internal mac rx error packets 0
Carrier sense error count

Alignment error packets

Pppoe filtered packets

Drop events count

10000

Undersize packets

Fragments

Jabbers

Related Commands
onu profile performance-threshold ethuni

20.1.38 show gpon onu profile performance-threshold gem


Syntax
show gpon onu profile performance-threshold gem [ name ]

Purpose
To display the GEM port performance-threshold profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

20-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode except ZXAN>

Example
The following example displays the GEM port performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold gem

Profile name

abc

Lost packets

1000

Misinserted packets

1000

Impaired blocks

1000

Related Commands
onu profile performance-threshold gem

20.1.39 show gpon onu profile performance-threshold radius


Syntax
show gpon onu profile performance-threshold radius [ name ]

Purpose
To display the RADIUS performance-threshold profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the RADIUS performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold radius

Threshold profile:

abc

ReTxAccessRequest:

10

RxInvalidRadius packets:

10

20-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
onu profile performance-threshold radius

20.1.40 show gpon onu profile performance-threshold switchport


Syntax
show gpon onu profile performance-threshold switchport [ name ]

Purpose
To display the switchport performance-threshold profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the switchport performance-threshold profile configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold switchport abc

Profile name:

abc

Delay exceeded discard:

1000

MTU exceeded discard:

100

Received and discarded:

1000

Related Commands
onu profile performance-threshold switchport

20.1.41 show gpon onu profile performance-threshold vlan-eth


Syntax
show gpon onu profile performance-threshold vlan-eth [ name ]

Purpose
To display the VLAN Ethernet performance-threshold profile configuration
20-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the VLAN Ethernet performance-threshold profile
configuration:
ZXAN(config-gpon)#show gpon onu profile performance-threshold vlan-eth

Profile name:

abc

Discard for lack of buffer:

100

Discard delay exceeded:

100

Discard on error:

100

Discard on ingress filtering:100

Related Commands
onu profile performance-threshold vlan

20.1.42 show gpon onu profile sip


Syntax
show gpon onu profile sip [ name ]

Purpose
To display the SIP profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

20-45
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the SIP profile configuration:
ZXAN(config-gpon)#show gpon onu profile sip name sip-test

Profile name :

sip-test

Proxy server:

1.2.3.1

Outbound proxy:

1.2.3.1

Registrar:

1.2.3.1

Validation scheme:

disable

UDP port:

5060

DSCP/TOS:

Media UDP port:

5060

Media DSCP/TOS:

DNS1:

0.0.0.0

DNS2:

0.0.0.0

Registration expiration time:

3600(s)

Re-registration time:

360(s)

Softswitch vendor:
Dial plan table name:

test

Release timer:

10(s)

ROH timer:

15(s)

Link test:

disable

Link test interval:

N/A

appsrv:

voip-service

accesscode:

abc

Related Commands
onu profile sip

20.1.43 show gpon onu profile tdm


Syntax
show gpon onu profile tdm [ name ]

Purpose
To display the TDM profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

20-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode except ZXAN>

Example
The following example displays the TDM profile configuration:
ZXAN(config-gpon)#show gpon onu profile tdm

Tdm profile name:

test

Jitter buffer max depth:

Jitter buffer desire depth:

Fill policy:

ont-default

Misconnected packers declare: 0


Misconnected packers clear:

255

Loss packers declare:

Loss packers clear:

255

Buffer declare:

Buffer clear:

255

Malformed packets declare:

Malformed packets clear:

10

R bit transmit set:

R bit transmit clear:

R bit receive policy:

p0

L bit receive policy:

p0

Ses threshold:

100

RTP information:

ignore

Related Commands
onu profile tdm

20.1.44 show gpon onu profile treat


Syntax
show gpon onu profile treat [ name ]

Purpose
To display the extended VLAN treatment profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

20-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except ZXAN>

Example
The following example displays the extended VLAN treatment profile configuration:
ZXAN(config-gpon)#show gpon onu profile treat

TreatName:

abc

TagsToRemove:

InnerprioMapMode:

insert

InnerPrio:

InnervidMapMode:

copy-inner

InnerVid:

InnerTPID

mode4

Related Commands
onu profile treat

20.1.45 show gpon onu profile vlan


Syntax
show gpon onu profile vlan [ profile name ]

Purpose
To show a GPON ONU VLAN profile

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

profile name

VLAN Name

164 characters

Mode
All modes except user mode

Example
The following example shows a GPON ONU VLAN profile:
ZXAN#show gpon onu profile vlan asdf

20-48
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
None

20.1.46 show gpon onu profile voip-accesscode


Syntax
show gpon onu profile voip-accesscode [ name ]

Purpose
To display the VoIP access code profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the VoIP access code profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-accesscode

Profile-name:

abc

cancel-call-waiting:
call-hold:

***

call-park:
cid-activate:
cid-deactivate:
no-disturb-activation:
no-disturb-deactivation:
no-disturb-pin-change:
emergency-srv-num:
intercom-service:
unattend-blind-call-transfer:
attend-call-transfer:

Related Commands
onu profile voip-accesscode
20-49
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.1.47 show gpon onu profile voip-appsrv


Syntax
show gpon onu profile voip-appsrv [ name ]

Purpose
To display the VoIP service application profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the VoIP service application profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-appsrv

Profile-name:

voip-service

calling-num:

disable

calling-name:

disable

cid-blocking:

disable

cid-num-permanent-status:

disable

cid-name-permanent-status:

disable

anonymous-cid-blocking:

disable

call-wating:

enable

cid-announcement:

disable

3way:

enable

call-transfer:

enable

call-hold:

enable

call-park:

disable

no-disturb:

disable

emergency-call-flash:

disable

emergency-originate-hold:

disable

6way:

disable

message-waiting-splash-ring:

disable

message-wating-special-dialtone: disable
message-waiting-visual-ind:

disable

call-forwarding-ind:

disable

20-50
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


direct-connect-feature:

disable

dialtone-delay:

disable

direct-connect-uri:
Validation scheme:

disable

Username:
Password:
Realm:
bridge-line-agent-uri:
Validation scheme:

disable

Username:
Password:
Realm:
conference-factory-uri:
Validation scheme:

disable

Username:
Password:
Realm:

Related Commands
onu profile voip-appsrv

20.1.48 show gpon onu profile voip-ip


Syntax
show gpon onu profile voip-ip [ name ]

Purpose
To display the VoIP IP profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the VoIP IP profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-ip

20-51
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Profilename:

ip-test

Gateway:

1.2.3.1

Primary DNS:

0.0.0.0 Secondary DNS: 0.0.0.0

Related Commands
onu profile voip-ip

20.1.49 show gpon onu profile voip-media


Syntax
show gpon onu profile voip-media [ name ]

Purpose
To display the VoIP media profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the VoIP media profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-media test

Profilename:

test

Encoding:
1st - Codec: pcmu, Packet period: 10, Silence suppression: off
2nd - Codec: pcmu, Packet period: 10, Silence suppression: off
3rd - Codec: pcmu, Packet period: 10, Silence suppression: off
4th - Codec: pcmu, Packet period: 10, Silence suppression: off
Fax mode: passthru ,

OOB DTMF: enable

Service:
Announcement type: na
Jitter: fix, Buffer target=0, max=0
Echo cancel: on
Country code: 0
Signal 802.1p priority: no change
Media 802.1p priority: no change

20-52
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


RTP:
Port: min=50000, max=60000
DSCP mark: 46
Event: piggyback=enable, tone=enable, dtmf=enable, cas=enable

Related Commands
onu profile voip-media

20.1.50 show gpon onu profile voip-vlan


Syntax
show gpon onu profile voip-vlan [ name ]

Purpose
To display the VoIP VLAN profile configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Profile name

1 64 characters

Mode
Any mode except ZXAN>

Example
The following example displays the VoIP VLAN profile configuration:
ZXAN(config-gpon)#show gpon onu profile voip-vlan

Profile name:

vlan-test

Tag mode:

tag

CVLAN:

300

CVLAN priority:7

Related Commands
onu profile voip-vlan

20-53
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.2 GPON OLT Commands


20.2.1 als
Syntax
als [ CloseTime time | LosCloseTime time | OpenTime time ]

Purpose
To configure the open & close time of the optical module on an OLT port

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

CloseTime time

Close time

20-2000ms, in default 100ms

LosCloseTime time

Close time after loss of signal

5-50ms, in default 100ms50ms

(LoS)
OpenTime time

Open time

50-20000ms, in default 50ms

Mode
GPON OLT interface mode: ZXAN(config-if)#

Example
The following example shows how to configure the open time of the optical module an OLT
port:
ZXAN(config-if)#als opentime 100
ZXAN(config-if)#

Related Commands
None

20.2.2 auto-learning
Syntax
auto-learning {aging-time |disable | enable }

Purpose
To configure the default ONU registration mode on the OLT interface
20-54
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

aging-time

Aging time

Range: 2 3600, unit: s

disable

Default ONU registration mode:

provision (default)
enable

Default ONU registration mode:

learn

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the default ONU registration mode:
ZXAN(config)#interface gpon-olt-1/14/1
ZXAN(config-if)#auto-learning enable
ZXAN(config-if)#

Related Commands
None

20.2.3 ber-interval
Syntax
ber-interval time

Purpose
To configure BER detection and report interval

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Interval

Range: 1 536870911, unit: ms

Mode
ZXAN(config-if)#

20-55
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure BER detection and report interval:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#ber-interval 100000
ZXAN(config-if)#

Related Commands
None

20.2.4 clear
Syntax
clear

Purpose
To clear all configuration on the OLT interface

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to clear all configuration on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#clear

Related Commands
None

Related Information
Before you configure PON protection, you need to clear all configuration on the protective
OLT interface.

20.2.5 dba period-mode


Syntax
dba period-mode { default | low-delay | low-overhead }
20-56
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To configure DBA period mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

default

Default mode

low-delay

Low delay mode

low-overhead

Low overhead mode

Mode
ZXAN(config-if)#

Example
The following example displays how to configure DBA period mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#dba period-mode default
ZXAN(config-if)#

Related Commands
None

20.2.6 discover-period
Syntax
discover-period new-onu time1 miss-onu time2

Purpose
To configure period of ONU discovery

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

new-onu time1

Period of discovering new ONU

Range: 0 3600, unit: s

miss-onu time2

Period of discovering lost ONU

Range: 0 3600, unit: s

Mode
ZXAN(config-if)#
20-57
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure period of ONU discovery:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#discover-period new-onu 100 miss-onu 300

Related Commands
None

20.2.7 fec
Syntax
fec {downstream | none}

Purpose
To configure FEC on the OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

downstream

Enable FEC on downstream

direction
none

Disable FEC

Mode
ZXAN(config-if)#

Example
The following example displays how to enable FEC on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#fec downstream

Related Commands
show gpon fec

20.2.8 linktrap
Syntax
linktrap { inform | disable}
20-58
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To configure alarm trap mode when link on GPON OLT port is down

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

inform

Send alarm to NMS when the

link is down.
disable

Do not send alarm to NMS

when the link is down.

Mode
ZXAN(config-if)#

Example
The following example displays how to enable link alarm trap on the PON port:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)# linktrap inform

Related Commands
None

20.2.9 lock
Syntax
lock
no lock

Purpose
To shut down optical module and disable ONU alarm trap (OLT alarm trap is enabled.)

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to lock the PON port:
20-59
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#lock

Related Commands
None

20.2.10 loopback-detection
Syntax
loopback-detection {disable | enable}

Purpose
To enable or disable loop-back detection on GPON OLT port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

Enable

enable

Disable

Mode
ZXAN(config-if)#

Example
The following example displays how to enable loop-back detection on GPON OLT port:
GPON OLT
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)# loopback-detection enable

Related Commands
None

20.2.11 mld
Syntax
mld max-groups max-groups

20-60
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To configure MLD maximum group number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

max-groups max-groups

Maximum group number

Range: 0 32768

Mode
ZXAN(config-if)#

Example
The following example displays how to configure MLD maximum group number:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#mld max-groups 100

Related Commands
None

20.2.12 multicast-rate-limit
Syntax
multicast-rate-limit { [burst-size burstsize ] [ rate-limit ratelimit ] }

Purpose
To configure multicast rate limit

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

burst-size burstsize

Burst packet size

Range: 0 1023 unit: KByte


Default: 1023 KByet

rate-limit ratelimit

Maximum packet rate

Range: 0 2488000, unit: kbps


Default: 2488000 kbps

Mode
ZXAN(config-if)#
20-61
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure multicast rate limit:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#multicast-rate-limit burst-size 1000 rate-limit 1000

Related Commands
None

20.2.13 name
Syntax
name oltname
no name

Purpose
To configure the alias of OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

oltname

OLT interface alias

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the alias of OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#name n1

Related Commands
None

20.2.14 onu profile


Syntax
onu onu-num profile {[line line-profile-name] | [alarm alarm-profile-name] | [performance perf
ormance-profile-name] | [remote remote-profile-name]}
20-62
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

no onu onu-num profile {line | alarm | performance | remote}

Purpose
To bind the line/remote/alarm/performance profile of the ONU
To unbind the profile, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu-num

ONU ID

line-profile-name

The line profile, created and configured in

PON mode
remote-profile-name

The remote profile, created and configured

in PON mode
alarm-profile-name

The alarm profile, created and configured in

PON mode
performance-profile-name

The performance profile, created and

configured in PON mode

Mode
ZXAN(config-if)#

Example
The following example displays how to bind the line/remote/alarm/performance profile of
the ONU:
ZXAN(config-if)#onu 3 profile line line-profile remote
remote-profile alarm alarm-profile performance performance-profile

20.2.15 onu type


Syntax
onu onuid type type-name { sn vendor-id+serial number | sn+hpw vendor-id+serial number pas
sword | sn+pw vendor-id+serial number password |sn+rid vendor-id+serial number rid} [vportmode {onu | gemport | manual}]
onu onuid type type-name { hpw password| loid loid | loid+pw loid password| pw password | pw
password | rid rid} [ sn vendor-id+serial number] [ vport-mode {onu | gemport | manual} ]
no onu ounid

20-63
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To register ONU to an OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onuid

ONU ID

Range: 1 - 128

type type-name

ONU type, supported type

Range: 1 - 64 characters

including ZTE-F600G,
ZTE-F641, ZTE-F622,
ZTE-F625, ZTE-F621,
ZTE-F601, ZTE-F640,
universalOnuType
sn vendor-id+serial number

SN authentication mode

12 characters

sn+hpw vendor-id+serial number

SN + hex password

SN: 12 characters

password

authentication mode

Password: 1 10 characters

sn+pw vendor-id+serial number

SN + password authentication

SN: 12 characters

password

mode

Password: 1 10 characters

sn+rid vendor-id+serial number

SN + RID authentication mode

SN: 12 characters
RID: 1 36 characters

rid
vport-mode

Virtual port mode

onu, gemport, manual

hpw password

Hex password

Range: 1 10 characters

loid loid

LOID authentication mode

Range: 1 24 characters

LOID + password authentication

LOID: 1 24 characters

mode

Password: 1 12 characters

pw password

Password authentication mode

Range: 1 10 characters

rid rid

RID authentication mode

Range: 1 36 characters

loid+pw loid password

Mode
ZXAN(config-if)#

Example
The following example displays how to register ONU to an OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#onu 1 type ZTE-F622 sn CIGG02938572 vport-mode gemport
ZXAN(config-if)#

20-64
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
None

20.2.16 onu-action
Syntax
onu-action deactive

Purpose
To deactivate ONUs on the OLT interface

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to deactivate ONUs on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#onu-action deactive

Related Commands
None

20.2.17 onu-sn
Syntax
onu-sn enable

Purpose
To enable all disabled ONUs on the OLT interface

Usage Guidelines
None

Mode
ZXAN(config-if)#
20-65
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to enable all disabled ONUs on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#onu-sn enable

Related Commands
None

20.2.18 optical-module-alarm-profile
Syntax
optical-module-alarm-profile prfName
no optical-module-alarm-profile

Purpose
To apply an optical-module alarm profile on a OLT or Ethernet optical port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prfName

Profile name

Mode
ZXAN(config-if)#

Example
The following example displays how to apply on an optical interface:
ZXAN(config-if)#optical-module-alarm-profile opt_prf1

Related Commands
optical-module alarm-profile
show optical-module-alarm-profile

20.2.19 range-mode
Syntax
range-mode base-distance maximum-distance
20-66
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To configure OLT range mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

base-distance

Base distance

Range: 0 1000, unit: 100 m

maximum-distance

Maximum distance

Range: 0 1000, unit: 100 m

Mode
ZXAN(config-if)#

Example
The following example displays how to configure OLT range mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#range-mode 100 150
ZXAN(config-if)#

Related Commands
None

20.2.20 range
Syntax
range

Purpose
To display the interface range on the interface

Usage Guidelines
The following table provides parameter description:
None

Mode
ZXAN(config-if)#

Example
The following example displays how to display the interface range :
20-67
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface gpon-olt-1/3/1
ZXAN(config-if)#range
Portlist of the range: gpon-olt-1/3/1

Related Commands
None

20.2.21 resource-id-assign-mode
Syntax
resource-id-assign-mode { mode1 | mode2}

Purpose
To set assigning mode of OLT resource ID

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

mode1 | mode2

Mode1: Script doesnt save

Default: mode1 (no

AllocID and PortID, and doesnt

configuration)

support manual assigning.


Mode 2: Script saves AllocID
and PortID, and supports
manual assigning, but does not
support profile configuration.

Mode
ZXAN(config-if)#

Example
The following example shows how to set the assigning mode of OLT resource ID as mode1:
ZXAN(config-if)#resource-id-assign-mode mode1

Related Commands
None

20-68
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.2.22 scb-port
Syntax
scb-port port

Purpose
To configure SCB port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port

Port ID

129 4095

Mode
ZXAN(config-if)#

Example
The following example displays how to configure SCB port:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#scb-port 200

Related Commands
None

20.2.23 shutdown
Syntax
shutdown
no shutdown

Purpose
To shut down the OLT interface

Usage Guidelines
None

Mode
ZXAN(config-if)#
20-69
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to shut down the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#shutdown

Related Commands
None

20.2.24 traffic-profile (olt)


Syntax
traffic-profile name direction { egress | ingress }

Purpose
To apply traffic profile on the OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Traffic profile name

Range: 1 31 characters

egress

Downstream direction

ingress

Upstream direction

Mode
ZXAN(config-if)#

Example
The following example displays how to apply traffic profile on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#traffic-profile profile1 direction egress

Related Commands
None

20.2.25 vlan-smart-qinq
Syntax
vlan-smart-qinq { enable| disable }
20-70
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To enable or disable smart QinQ on the OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable QINQ

disable

Disable QINQ

Mode
ZXAN(config-if)#

Example
The following example displays how to enable smart QinQ on the OLT interface:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#vlan-smart-qinq enable

Related Commands
None

20.2.26 show gpon fec


Syntax
show gpon fec interface

Purpose
To display FEC configuration on GPON OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

GPON OLT interface name

Mode
ZXAN(config-if)#

Example
The following example displays the FEC configuration on GPON OLT interfaces:
20-71
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#show gpon fec
Interface

mode

-------------------------------gpon-olt_1/1/1

downstream

gpon-olt_1/1/2

none

gpon-olt_1/1/3

none

gpon-olt_1/1/4

none

gpon-olt_1/1/5

none

gpon-olt_1/1/6

none

gpon-olt_1/1/7

none

gpon-olt_1/1/8

none

Related Commands
fec

20.2.27 show gpon olt conifg


Syntax
show gpon olt conifg interface

Purpose
To display the configuration on OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

GPON OLT interface name

Mode
ZXAN(config-if)#

Example
The following example displays the configuration on the OLT interface:
ZXAN(config-if)#show gpon olt config gpon-olt_1/1/1
gpon-olt_1/1/1

Name:OLT-1

MaxSupportOnts :128

MaxSupportTconts

:4096

RealLegalOnts

RealIllegalOnts

:0

Missing onu

:5

PwMode

:none

:0

Discovering onu:10
Ethernet switch:disable
ONU Auto configuration
State

:ready

20-72
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


ONU authType

:sn

Auto learn

Aging time:

:0

SCB port:

FEC

:none

:disable
4095

Related Commands
None

20.2.28 show gpon olt performance


Syntax
show gpon olt performance { current | history } interface

Purpose
To display the statistics on the OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

current

Current statistics

history

History statistics

interface

GPON OLT interface name

Mode
ZXAN(config-if)#

Example
The following example displays current statistics on the OLT interface:
ZXAN(config-if)#show gpon olt performance current gpon-olt_1/1/1
gpon-olt_1/1/1:
Current Olt Performance Statistics Data:
DsGemFrames:

0,

UsIdleGemFrames:

0,

UsCorGemFrames:

0,

UsErrGemFrmae:

0,

UsCorGemBytes:

0,

DsSendToOnuEthFrames:

0,

DsSendToOnuEthBytes:

0,

DsMacRxCorEthFrames:

0,

DsMacRxErrEthFrames:

0,

UsCorEthFrames:

0,

20-73
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


UsErrEthFrames:

0,

DsPloamMsg:

5548,

UsCorPloamMsg:

0,

UsErrPloamMsg:

0.

Related Commands
None

20.2.29 show gpon olt rang-mode


Syntax
show gpon olt rang-mode interface

Purpose
To display range mode of OLT interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

GPON OLT interface name

Mode
ZXAN(config-if)#

Example
The following example displays range mode of the OLT interface:
ZXAN(config-if)#show gpon olt range-mode gpon-olt_1/1/1
OltInterface

Base-distance(100m)

Maximum-distance(100m)

--------------------------------------------------------------------gpon-olt_1/1/1

200

Related Commands
rang-mode

20.2.30 show loop-detection global


Syntax
show loop-detection {global | interface}
20-74
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To show the PON loopback detection configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

global

ZXAN(config)#

interface

Interface configuration mode

Mode
ZXAN(config)#

Example
The following example displays the PON loopback detection configuration:
ZXAN(config)#show loop-detection global
LoopDetectSwitch:disable
AutoShutdownSwitch:disable
AutoCheckTime:10(s)

20.2.31 show pon-loopback-detection


Syntax
show pon-loopback-detection interface {epon-olt_shelf/slot/port | gpon-olt_shelf/slot/port}

Purpose
To show the PON loop-back detection information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot/port

OLT interface

Mode
ZXAN(config)#

Example
The following example displays the PON loop-back detection information:
ZXAN(config)#show pon-loopback-detection interface gpon-olt_1/1/1

20-75
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.2.32 show interface optical-module-info


Syntax
show interface optical-module-info interface

Purpose
To display the optical module information of an optical port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

Interface name

Mode
Any mode except ZXAN>

Example
The following example displays the information about the optical module:
ZXAN#show interface optical-module-info gpon-olt_1/1/1
Optical module information:gpon-olt_1/1/1
Basic-info:
Vendor-Name

: N/A

Vendor-Pn

: N/A

Vendor-Sn

: N/A

Version-Lev

: N/A

Production-Data: N/A

Module-Type

: N/A

Wavelength

: N/A

Connector

: N/A

Fiber-Type

: N/A

Material-Number: N/A
Register-Data

: N/A

Diagnostic-info:
RxPower

: N/A

TxPower

: N/A

Bias-Current

: N/A

Laser-Rate

: N/A

Temperature

: N/A

Supply-Vol

: N/A

Alarm-thresh:
RxPower-Upper

: 3

(dbm)

RxPower-Lower

: -34(dbm)

TxPower-Upper

: 9

(dbm)

TxPower-Lower

: -14(dbm)

TxBias-Upper

: 131(mA)

TxBias-Lower

: 0

(mA)

Voltage-Upper

: 7

Voltage-Lower

: 0

(v)

(v)

Temperature-Upper: 90 (c)

Temperature-Lower: -45(c)

Related Commands
None
20-76
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.3 GPON ONU Basic Management Commands


20.3.1 clear counter pon-vport
Syntax
clear counter pon-vport gpon-onu interface vport vport id

Purpose
To clear the counter on PON Vport

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

vport id

VPort whose real time statistics

1256

to be cleared

Mode
ZXAN#

Example
The following example shows how to clear the counter on PON Vport:
ZXAN#clear counter pon-vport gpon-onu_1/1/1:1 vport 1

Related Commands
None

20.3.2 action
Syntax
action {action | deactive}

Purpose
To activate or deactivate ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

action

Activate ONU

20-77
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

deactive

Deactivate ONU

Mode
ZXAN(config-if)#

Example
The following example displays how to activate the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#action active

Related Commands
None

20.3.3 bind ip-address


Syntax
bind ip-address ip-addresss [ vport vport ]

Purpose
To bind IP address to ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-addresss

IP address

vport vport

Virtual port ID

Range: 1 256

Mode
ZXAN(config-if)#

Example
The following example displays how to bind an IP address to the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#bind ip-address 10.20.30.2 vport 10

Related Commands
None
20-78
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.3.4 bind mac-address


Syntax
bind mac-address mac-addresss [ vport vport ]

Purpose
To bind MAC address to ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mac-addresss

MAC address

vport vport

Virtual port ID

Range: 1 256

Mode
ZXAN(config-if)#

Example
The following example displays how to bind a MAC address to the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#bind mac-address 1a23.2235.2b5d vport 10

Related Commands
None

20.3.5 broadcast-rate-limit
Syntax
broadcast-rate-limit peak-rate pkt direction { egress | ingress } [vport vportid]

Purpose
To set the broadcast packet peak rate

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

peak-rate pkt

Peak rate used to limit broadcast

0,64-2488000 Unit: kbs

packets

Default: 2488000

20-79
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

egress

Egress

ingress

Ingress

vportid

Vport ID

1255

Mode
ZXAN(config-if)#

Example
The following example shows how to configure the broadcast packet peak rate as 10000kb:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#broadcast-rate-limit peak-rate 10000 direction egress

Related Commands
None

20.3.6 dba
Syntax
dba mode { hybrid | nsr | sr }

Purpose
To configure DBA mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

nsr

Allocate bandwidth according

traffic monitored by OLT (


non-status reporting)
sr

Allocate bandwidth according to

ONU status reporting


hybrid

Allocate bandwidth according to

both NSR and SR

Mode
ZXAN(config-if)#

20-80
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to configure DBA mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dba mode nsr

Related Commands
None

20.3.7 description (onu)


Syntax
description string

Purpose
To configure ONU description

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

string

ONU description

Range: 1 127 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU description:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#description F620

Related Commands
None

20.3.8 dhcp6-option18
Syntax
dhcp6-option18 { enable | disable } sport sport | vport vport
dhcp6-option18 trust { true { keep | replace } | false { add | discard } } sport sport | vport
vport
20-81
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure DHCPv6 option18 function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

sport sport

Service port index

Range: 1 128

vport vport

Virtual port index

Range: 1 128

true { keep | replace }

Trust, keep or replace the

option18
false { add | discard } }

Not trust, add or discard the

option18

Mode
ZXAN(config-if)#

Example
The following example displays how to enable DHCPv6 option18:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp6-option18 enable vport 1

Related Commands
None

20.3.9 dhcp-option82
Syntax
dhcp-option82 { enable | disable } sport sport | vport vport
dhcp-option82 trust { true { keep | replace } | false { add | discard } } sport sport | vport
vport

Purpose
To configure DHCP option82 function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

sport sport

Service port index

Range: 1 128

20-82
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

vport vport

Virtual port index

Range: 1 128

true { keep | replace }

Trust, keep or replace the

option82
false { add | discard } }

Not trust, add or discard the

option82

Mode
ZXAN(config-if)#

Example
The following example displays how to configure DHCP option82 function:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp-option82 enable sport 1

Related Commands
None

20.3.10 encrypt
Syntax
encrypt portindex {enable | disable}

Purpose
To enable or disable GEM port encryption

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portindex

GEM port index

Range: 1 - 256

enable

Enable encryption

disable

Disable encryption

Mode
ZXAN(config-if)#

Example
The following example displays how to enable GEM port encryption:
20-83
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#encrypt 1 enable
ZXAN(config-if)#

Related Commands
None

20.3.11 fec (onu)


Syntax
fec {none |upstream }

Purpose
To configure FEC function on GPON ONU interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

none

Disable FEC

upstream

Enable FEC on upstream

direction

Mode
ZXAN(config-if)#

Example
The following example displays how to configure enable FEC on the GPON ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#fec upstream

Related Commands
show gpon onu detail-info

20.3.12 gemport
Syntax
gemport portindex [ name name ] [ portid portid ] unicast tcont tcont [ dir { both | down | up
} ] [ queue queue ]
20-84
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

gemport portindex up-queue-map-id queue-map-id [ down-queue-map-id queue-map-id ]


gemport portindex state { active | deactive }
gemport portindex traffic-limit {[ downstream profile-name ] [ upstream profile-name]}
no gemport portindex

Purpose
To configure GEM port attributes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portindex

GEM port index

Range: 1 255

up-queue-map-id queue-map-id

Upstream queue map ID

Range: 0 3

down-queue-map-id

Downstream queue map ID

Range: 0 7

name name

Port name

Range: 1 63 characters

portid portid

Actual port ID

129 4095

tcont tcont

T-CONT index

Range: 1 255

dir { both | down | up }

GEM port direction

queue queue

Queue ID

Range: 1 8

state { active | deactive }

Port administrative state

traffic-limit

Traffic limit

downstream profile-name

Downstream traffic profile name

upstream profile-name

Upstream traffic profile name

queue-map-id

Mode
ZXAN(config-if)#

Example
The following example displays how to configure GEM port attributes:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#gemport 1 name gemport unicast tcont 1 queue 3
ZXAN(config-if)#gemport 1 up-queue-map-id 1
ZXAN(config-if)#gemport 1 traffic-limit downstream profile1

Related Commands
None
20-85
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
The corresponding T-CONT should be configured in advance.

20.3.13 ip access-group
Syntax
ip access-group {acl-number | acl-name} {in | out} vport vport number
no ip access-group {acl-number | acl-name} {in | out} vport vport number

Purpose
To apply the ACL to the ingress or egress direction of the port
To cancel the ACL, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

acl-number

ACL number

300 399

acl-name

ACL name

1 31

Mode
ZXAN(config-if)#

Example
The following example displays how to apply the ACL to the ingress or egress direction of
the port:
ZXAN(config-if)#no ip access-group 323 in vport 23

20.3.14 link-test
Syntax
link-test test-times testtimes

Purpose
To test the link status between OLT and ONU

Usage Guidelines
The following table provides parameter description:
20-86
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

testtimes

Times of test

Range: 1 100

Mode
ZXAN(config-if)#

Example
The following example displays how to test the link status between OLT and ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#link test 1
Sending 1 GEM frames to gpon-onu_1/1/1:1.
.
Success rate is 0 percent (0/1)

Related Commands
None

20.3.15 max-mac-learn
Syntax
max-mac-learn value [vport vport]

Purpose
To configure maximum number of MAC addresses that the ONU can learn

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

value

Maximum number

Range: 0 4095

vport vport

Virtual port ID

Range: 1 256

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum number of MAC addresses
that the ONU can learn:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#max-mac-learn 3

20-87
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

20.3.16 name (onu)


Syntax
name onuname
no name

Purpose
To configure alias of ONU interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onuname

Alias of ONU interface

Mode
ZXAN(config-if)#

Example
The following example displays how to configure alias of the ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#name n1

Related Commands
None

20.3.17 omcc-encrypt
Syntax
omcc-encrypt { enable | disable }

Purpose
To enable or disable OMCC encryption

Usage Guidelines
The following table provides parameter description:
20-88
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

enable

Enable

disable

Disable

Mode
ZXAN(config-if)#

Example
The following example displays how to enable OMCC encryption:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#omcc-encrypt enable

Related Commands
None

20.3.18 omci-bandwidth
Syntax
omci-bandwidth profile-name

Purpose
To configure OMCI bandwidth

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile-name

T-CONT profile name

Mode
ZXAN(config-if)#

Example
The following example displays how to configure OMCI bandwidth:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#omci-bandwidth zteprofile1

Related Commands
None
20-89
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
The corresponding T-CONT profile should be configured in advance.

20.3.19 performance gemport


Syntax
performance gemport gemportid {start | stop}

Purpose
To start/stop the GPON gemport performance sampling

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

gemportid

ONU interfaces logic gemport

1256

ID

Mode
ZXAN(config-if)#

Example
The following example shows how to start the GPON gemport 1 performance sampling
ZXAN(config-if)#performance gemport 1 start

Related Commands
show performance gpon-gemport

20.3.20 performance vport


Syntax
performance vport vportid {start | stop}

Purpose
To start/stop performance sampling on a VPort

Usage Guidelines
The following table describes the relevant parameters:
20-90
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

vportid

ONU ports logic vport ID

1256

Mode
ZXAN(config-if)#

Example
The following example shows how to start performance sampling on VPort 1:
ZXAN(config-if)#performance vport 1 start

Related Commands
None

20.3.21 range (onu)


Syntax
range

Purpose
To display port list on the ONU interface

Usage Guidelines
The following table provides parameter description:
None

Mode
ZXAN(config-if)#

Example
The following example displays port list on the ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#range
Portlist of the range:

gpon-onu_1/1/1:1

Related Commands
None

20-91
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.3.22 registration-method
Syntax
registration-method { hpw hpw | pw pw | sn sn | loid loid}

Purpose
To configure ONU registration method

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hpw hpw

ONU password in Hex

Range: 1 10 characters

pw pw

ONU password

Range: 1 10 characters

sn sn

ONU SN

12 characters

loid loid

ONU LOID

24 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU registration method:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#registration-method pw zte123

Related Commands
None

20.3.23 rogue-onu-state
Syntax
rogue-onu-state { off | on | shutdown } [ duration{ time | forever }]

Purpose
To configure the state of rouge ONU

Usage Guidelines
The following table provides parameter description:
20-92
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

time

Duration

Range: 1 255, unit: min

forever

Forever

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the state of rouge ONU:
To configure ONUONU
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#rogue-onu-state on duration 60

Related Commands
None

20.3.24 service-port
Syntax
service-port portid [ vport vport ] user-vlan { vid [to vid ] | untagged } [ user-etype { IPOE |
PPPOE | user-define protocol-type-value} [ filter { enable | disable } ]] [ user-priority priority ]
{ [ vlan vid ] [ [svlan vid ][ new-cos cos ] } [ vlan-xconnect ] [ transparent ] [ queue-no queue-no ]
service-port portid [ vport vport ]{ enable | disable }
service-port portid [ vport vport ] description string
service-port portid [ vport vport ] other-all tls-vlan vid [ queue-no queue-no ]
no service-port portid

Purpose
To configure service characteristics of the ONU interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portid

Service port ID

Range: 1 128

vport vport

Virtual port ID

Range: 1 128

user-priority priority

User priority

Range: 0 7

user-vlan vid to vid

User VLAN list

Range: 1 4094

20-93
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

user-etype

User packet type

user-define protocol-type-value

Packet encapsulation mode

0xHHHH

filter { enable | disable }

Enable or disable filter

svlan vid

SVLAN ID

Range: 1 4094

new-cos cos

New CoS priority

Range: 0 7

vlan vid

CVLAN ID

Range: 1 4094

queue-no queue-no

Queue ID

Range: 0 7

Mode
ZXAN(config-if)#

Example
The following example displays how to configure service characteristics of the ONU
interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#service-port 1 vport 1 user-vlan 100 vlan 100 svlan 1000
new-cos 5
ZXAN(config-if)#service-port 1 enable

Related Commands
show service-port interface

20.3.25 state
Syntax
state {deactive | ready}

Purpose
To configure the state of an ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

deactive

Disable the ONU

ready

OMCC is ready

20-94
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the state of an ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#state ready
ZXAN(config-if)#

Related Commands
None

20.3.26 sn-bind
Syntax
sn-bind { enable | disable | update-sn }

Purpose
To configure SN binding on the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable SN binding

disable

Disable SN binding

update-sn

Upgrade SN

Mode
ZXAN(config-if)#

Example
The following example displays how to enable SN binding on the ONU:
To configure ONUSN
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#sn-bind enable

Related Commands
None
20-95
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.3.27 switchport
Syntax
switchport default { cvlan vid | vlan vid [ one-to-one ] } [ vport vportid ]
switchport mode { access | hybrid | trunk | transparent } [ vport vportid ]
switchport tls { disable | enable | vlan vid } [ vport vportid ]
switchport tpid tpid [ vport vportid ]
switchport translate vlan vid [ cvlan cvid ] svlan svid [ one-to-one ] [ vport vportid ]
switchport vlan vid { tag | untag } [ vport vportid ]

Purpose
To configure switching characteristics on the ONU interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

cvlan cvid

CVLAN ID

Range: 1 4094

svlan svid

SVLAN ID

Range: 1 4094

vlan vid

VLAN ID

Range: 1 4094

mode { access | hybrid | trunk |

Port mode

transparent }
one-to-one

one port maps to one VLAN


(default VLAN)

one VLAN maps one


SVLAN (VLAN translation)

vport vportid ]

Virtual port ID

Range: 1 128

Mode
ZXAN(config-if)#

Example
The following example displays how to configure:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#switchport vlan 10 tag

Related Commands
show vlan port
20-96
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.3.28 traffic-profile
Syntax
traffic-profile profile vport vport direction { egress | ingress }

Purpose
To apply traffic profile on the ONU interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile

Profile name

vport vport

Virtual port ID

Range: 1 128

egress

Upstream direction

ingress

Downstream direction

Mode
ZXAN(config-if)#

Example
The following example displays how to apply traffic profile on the ONU interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#traffic-profile pf1 vport 1 direction ingress

Related Commands
None

20.3.29 tcont
Syntax
tcont tcont [ name name ] [ allocid allocid ] { gap gap | profile profile }
no tcont tcont

Purpose
To configure attributes of the transmission container (T-CONT)

Usage Guidelines
The following table provides parameter description:
20-97
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

tcont

T-CONT index

Range: 1 255

name name

T-CONT name

Range: 1 63 characters

allocid allocid

Allocated ID

256 4095

gap gap

DBA gap mode

mode0, mode1, mode2, mode3


Default: mode2

profile profile

Profile name

Mode
ZXAN(config-if)#

Example
The following example displays how to configure T-CONT attributes:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#tcont 1 name iptv-tcont profile iptv-100M

Related Commands
show gpon onu tcont

Related Information
The corresponding T-CONT profile should be configured in advance.

20.3.30 type
Syntax
type name

Purpose
To configure the alias for ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

ONU type name

Range: 1 63 characters

Mode
ZXAN(config-if)#
20-98
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to configure the alias for the ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#type ZTE-F640
ZXAN(config-if)#

Related Commands
None

Related Information
Currently, the following ONU types are supported:
l
l
l
l
l
l
l

ZTE-F641: Provides 4 FE intefaces


ZTE-F622: Provides 4 FE + 2 POTS interfaces
ZTE-F625: Provides 4 FE + 2 POTS + 1 Video interfaces
ZTE-F621: 1 GE + 1 FE + 4 CES interfaces
ZTE-F601: Provides 1 GE + 1 FE interfaces
ZTE-F640: Provides 1 GE + 2 POTS + 1 Video interfaces
universalOnuType

The 'universalOnuType' is connected to unknown ONU type. As the UNI of the unknow
ONU is also unknow, UNI user information cannot be queried.
Generally, it is recommended to use the known ONU type. Use the show onu-type
command to display the ONUs that the system supports. Use the onu-type command to
create ONU type in GPON interface mode.
The type name of the ONU which is added manually cannot be changed.

20.3.31 vport
Syntax
vport portId {name vportname} [map-type {cos | vlan | cos+vlan | 1:1}] [def-map-vlan vlanid]
[def-map-cos cosvalue]
no vport portId

Purpose
To create ONU virtual port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portiId

Bridge port index

Range: 1 - 256

20-99
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

name vportname

Bridge port name

Range: 1 - 64 characters

map-type

Mapping type

Keywords: cos, vlan, cos+vlan,


1:1

def-map-vlan vlanid

Default mapping VLAN ID

Range: 1 - 4094

def-map-cos cosvalue

Default mapping to CoS

Range: 0 - 7

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU virtual port:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#vport 1 name vport map-type cos
ZXAN(config-if)#

Related Commands
None

20.3.32 vport-map
Syntax
vport-map portId gemport [vlan vlanid] [cos cos-type]
no vport-map portId gemport

Purpose
To create mapping between virtual port and GEM port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portId

VPORT ID

Range: 1 - 256

gemport

GEM port ID

Range: 1 - 256

vlan vlanid

VLAN ID

Range: 1 - 4094

cos cos-type

CoS number

Range: 0 - 7

Mode
ZXAN(config-if)#
20-100
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to create mapping between virtual port and GEM port:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#vport-map 1 1 vlan 200 cos 1
ZXAN(config-if)#

Related Commands
None

Related Information
Each virtual port supports maximum eight virtual port mapping.

20.3.33 vport-mode
Syntax
vport-mode {onu | gemport | manual} [def-map-type {cos | vlan | cos+vlan | 1:1}]

Purpose
To configure ONU virtual port mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

onu

ONU mode

gemport

GEM port mode

manual

Manual mode

def-map-type

Default mapping type

Keywords: cos, vlan, cos+vlan,


1:1

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ONU virtual port mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#vport-mode gemport def-map-type cos
ZXAN(config-if)#

20-101
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

20.3.34 show gpon onu detail-info


Syntax
show gpon onu detail-info gpon-onu_shelf/slot/oltId:onuid

Purpose
To show the detailed information on the GPON ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

Mode
Any mode except the ZXAN> mode

Example
The following example displays the detailed information on the GPON ONU:
ZXAN(config)#show gpon onu detail-info gpon-onu_1/2/1:1

ONU interface:
Name:

gpon-onu_1/2/1:1
zte((Shanghai))

Type:

ZTE-F622

State:

ready

Admin state:

enable

Phase state:

OffLine

Authentication mode: SN
SN Bind:

enable with SN check

Serial number:

ZTEG7001D7DB

Password mode:

none

Password:
Device ID:
Description:

ONU-1:1

Vport mode:

gemport

DBA Mode:

Hybrid

ONU Status:

enable

OMCI BW Profile:

N/A

Line Profile:

N/A

20-102
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


Service Profile:

N/A

Alarm Profile:

N/A

Performance Profile: N/A


ONU Distance:

N/A

20.3.35 show gpon onu profile treat


Syntax
show gpon onu profile treat [name treat-name]

Purpose
To display the information about extended VLAN process profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

treat-name

Profile name

1 63 characters

Mode
Any mode except ZXAN>

Example
The following example displays the information about extended VLAN process profile:
ZXAN#show gpon onu profile treat
TreatName:

add-outer-vid200

TagsToRemove:

OuterprioMapMode:

insert

OuterPrio:

OutervidMapMode:

insert

OuterVid:

200

OuterTPID:

mode4

ZXAN#

Related Commands
onu profile treat

20.3.36 show gpon onu gemport


Syntax
show gpon onu gemport gpon-olt_shelf/slot/oltId [:onuId [gemportId]]
20-103
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the GPON GEM port configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-olt_shelf/slot/oltId

GPON card shelf number, slot

number and OLT ID


onuId

ONU ID

Range: 1 - 64

gemportId

GEM port ID

Range: 1 - 256

Mode
Any mode except user mode

Example
The following example displays how to show the GPON GEM port configuration:
ZXAN#show gpon onu gemport gpon-olt_1/1/1
Show Gemport Information As Follows:
OLT gpon-olt_1/1/1, ONU 1. GemPort 1, Name 1.
TCONT 1. Gemport direction:both.
DefQueueType QUEUE3. Encrypt state down.
You can see the detail profile Info. by using corresponding 'show'
command.
ZXAN#

Related Commands
None

Related Information
One T-CONT is configured with four GEM ports only. The value for gemportId ranges from
1 to 256. If the ONU supports only four GEM ports, the range is from 1 to 4.

20.3.37 show gpon onu baseinfo


Syntax
show gpon onu baseInfo gpon-olt_shelf/slot/oltId:onuid

20-104
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To show the basic information on the GPON ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

Mode
Any mode except the ZXAN> mode

Example
The following example displays the basic information on the GPON ONU:
ZXAN(config-if)#show gpon onu baseinfo gpon-olt_1/1/1
OnuIndex

Type

Mode

SN/PW

State

----------------------------------------------------------------gpon-onu_1/1/1:1

ZTE-F622

SN

CIGG12345678

ready

20.3.38 show gpon onu state


Syntax
show gpon onu state [gpon-olt_shelf/slot/oltId] [onuId] [AuthFail | DyingGasp | LOS | Logging
| OffLine | syncMib | working]

Purpose
To show the status information on the GPON ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId onuId

GPON ONU interface

AuthFail

ONU that fails to be authenticated

DyingGasp

ONU that is powered down

LOS

LOS ONU

Logging

ONU being registered

OffLine

Offline ONU

20-105
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

syncMib

ONU whose MIB data status is

synchronized
Working ONU

working

Mode
Any mode except the ZXAN> mode

Example
The following example displays the status information on the GPON ONU:
ZXAN(config-if)#show gpon onu state gpon-olt_1/1/1 working
OnuIndex

Admin State

Omcc State

O7 State

Phase State

--------------------------------------------------------------------gpon-onu_1/1/1:1

enable

enable

operation

working

20.3.39 show gpon onu uncfg


Syntax
show gpon onu uncfg gpon-olt_shelf/slot/oltId [:onuId]

Purpose
To display GPON unauthorized ONU information

Usage Guidelines
The following table provides parameter description:
Parameter
gpon-olt_shelf/slot/oltId

Description

Value

GPON card shelf number, slot

number and OLT ID


ONU ID

onuId

Range: 1 - 64

Mode
Any mode except user mode

Example
The following example displays the unauthorized ONU information:
ZXAN#show gpon onu uncfg gpon-olt_1/1/1
OnuIndex

Sn

State

--------------------------------------------------gpon-onu_1/1 ZTE_--0x00150150

unknow

20-106
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


/1:0
ZXAN#

Related Commands
None

20.3.40 show gpon onu tcont


Syntax
show gpon onu tcont gpon-olt_shelf/slot/oltId [onu-Id [tcontId]]

Purpose
To display the GPON T-CONT information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-olt_shelf/slot/oltId

GPON card shelf number, slot

number and OLT ID


onuId

ONU ID

Range: 1 128

tcontId

T-CONT index

Range: 1 255

Mode
Any mode except user mode

Example
The following example displays the T-CONT information:
ZXAN#show gpon onu tcont gpon-olt_1/2/1 1 1

Name: tt, OLT: gpon-olt_1/2/1,


ONU: 1, TCONT: 1
AllocId: 256
DBA Gap Mode: mode2
Using following bandwidth profile:
Profile Name: default

Related Commands
None
20-107
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.3.41 show gpon onu vport


Syntax
show gpon onu vport gpon-olt_shelf/slot/oltId [onuId [vportId]]

Purpose
To display the GPON ONU VPORT information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-olt_shelf/slot/oltId

GPON card shelf number, slot

number and OLT ID


onuiId

ONU ID

Range: 1 - 128

vportId

VPORT ID

Range: 1 - 256

Mode
Any mode except user mode

Example
The following example displays the ONU VPORT information:
ZXAN#show gpon onu vport gpon-olt_1/1/1 1 1
ZXAN#

Related Commands
None

20.3.42 show performance gpon-gemport


Syntax
show performance gpon-gemport Gpon-onu interface gemport gemportid

Purpose
To show the GPON gemport performance configuration

Usage Guidelines
The following table describes the relevant parameters:
20-108
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

gemportid

ONU ports logic gemport ID

1256

Mode
All modes except user mode

Example
The following example shows the GPON ONU gemport 2 performance configuration
ZXAN#show performance gpon-gemport gpon-onu_1/1/1:1 gemport 2

Related Commands
None

20.3.43 show performance pon-vport


Syntax
show performance pon-vport gpon-onu interface vport vportid {current | current-15min-inter
val | current-1day-interval | his-15min-interval | his-1day-interval }

Purpose
To show the vport performance configuration

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

vportid

ONU ports logic vport ID

1256

Mode
All modes except user mode

Example
The following example shows the vport performance configuration:
ZXAN#show performance pon-vport gpon-onu_1/1/1:1 vport 1 current

Related Commands
None

20-109
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4 GPON ONU Remote Management Commands


20.4.1 pon-onu-mng
Syntax
pon-onu-mng gpon-onu_shelf/slot/oltId:onuId

Purpose
To enter into the GPON ONU management configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId

GPON card shelf number, slot

number and OLT ID


onuId

ONU ID

Range: 1 - 64 characters

Mode
ZXAN(config)#

Example
The following example displays how to enter into the GPON ONU management
configuration mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#

Related Commands
None

Related Information
Register an ONU in GPON OLT interface configuration mode before entering into GPON
ONU management configuration mode.

20.4.2 auto-shutdown
Syntax
auto-shutdown [hold-time holdtime] [revert-time reverttime]
20-110
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

no auto-shutdown

Purpose
To configure auto-shutdown parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hold-time holdtime

The time that looped UNI is

Range: 60 - 96400, unit: s

disabled
revert-time reverttime

The loop-free time before a UNI

Range: 15 - 86400, unit: s

is enabled

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure auto-shutdown parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#auto-shutdown hold-time 100 revert-time 100
ZXAN(gpon-onu-mng)#

Related Commands
show gpon remote-onu auto-shutdown

20.4.3 broadcast-limit
Syntax
broadcast-limit { cpu | ethuni eth_slot/port } limit
no broadcast-limit { cpu | ethuni eth_slot/port }

Purpose
To configure ONU broadcast limit

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

cpu

CPU

20-111
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

ethuni eth_slot/port}

ONU Ethernet interface

limit

Broadcast limit

Range: 1 4294967295, unit:


pps

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure broadcast limit on ONU Ethernet
interface:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#broadcast-limit ethuni eth_0/1 200

Related Commands
show gpon remote-onu broadcast-limit

20.4.4 cfm mep


Syntax
cfm mep md-index ma-index eth_slot/port mepid
cfm mep md-index ma-index [{ccm | server} {enable | disable}] [direction {up | down}] [primary
-vlan {from-ma | vlanid}][state {lock | unlock}] [priority priority] [egress-id {default | mac+id}]
[rmep rmepidlist]
cfm mep md-index ma-index ais {disable | enable [period {1s | 1min}] [priority priority] [level
level]
cfm mep md-index ma-index alarm [threshold { mode1 | mode2 | mode3 | mode4 | mode5 |
mode6}] [declare-sock-time time] [clear-soak-time time]
no cfm mep eth_slot/port

Purpose
To create the MEP associated to ONU Ethernet user port, specify MEP ID, primary VLAN,
associated VLAN, CCM interval, associated MD name, level and other parameters
To simplify the configurations, the first command is used to create MEP. The second
command is used to modify MEP-related parameters.

Usage Guidelines
The following table provides parameter description:
20-112
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

eth_slot/port

Ethernet user port ID

Range: 1 31

mepid

MEP ID

Range: 1 8191

code

MD code (operator + UMC cod)

Range: 1 31

level

MD level of MEP

Range: 0 7

name

MA name

Range: 1 45

vlanlist

VLAN list associated to MA. The

Range: 1 64

first VLAN is the primary VLAN.


ma-ccm {disable | interval time

The interval of sending CCM

100ms

10min

10ms

10s

1min

1s

3.33ms

Default: 1s
{ccm | server | ais} {enable |

Configure MEP control

CCM: Generate CCM. By

disable}] [direction {up | down}]

parameter

default, CCM is not generated.


Server: Enable MEP function.
By default, MEP function is
disabled.
AIS: Generate AIS. By default,
AIS is not generated.
Direction: MEP direction. up
stands for to the bridge. The
default value is down, namely,
UNI downstream direction.

[state {lock | unlock}]

MEP state

Default: lock

priority priority

Priority of CCM and LTM frame

Range: 0 7
Default: 7

rmep rmepid addresss

The MEP ID and MEP MAC

Range: 1 8191

address of the opposite end

Default: 0

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure MEP:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#cfm mep 1 1 ethuni eth_0/1 1

20-113
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(gpon-onu-mng)#

Related Commands
None

Related Information
Because MEP is associated to a bridge port, the uni bridge port must exist.

20.4.5 cfm ma
Syntax
cfm ma md-index ma-index [ name { primary-vid | integer integer | vpn-id vpn-id | string } ] [
ccm { disable | interval { 3.33ms | 10ms | 100ms | 1s | 10s | 1min | 10min }}] [ vlan vlanlist
] [ mhf-creation { none | default | explicit | defer }] [ senderid { none | chassis | manage |
chassis+manage | defer }]
no cfm ma md-index

Purpose
To create CFM MA in a specified MD, including the name format, CMM interval,
management VLAN (the first VLAN is the primary VLAN), MHF creation policy, Sender
ID TLV filling policy

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

md-index

MD index

Range: 1 16

ma-index

MA index

Range: 1 32

name { primary-vid | integer

Name format and contents

integer | vpn-id vpn-id | string }

primary-vid: Use the


primary VLAN ID as the
name.

l
l

integer: Two byte integer


vpn-id: OUI + 4 byte
integer

String: 1 45 characters

Default: primary-vid
ccm { disable | interval { 3.33ms

CCM interval

Default: 1 s

| 10ms | 100ms | 1s | 10s | 1min


| 10min

20-114
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

vlan vlanlist

VLAN list, the system supports

Range: 1 4094

12 VLAN lists at maximum.


mhf-creation { none | default |

MHF creation policy

explicit | defer }

none: Do not create MHF


policy.
default: Create MHF policy.

explicit: The creation is


explicit.

defer: The MHF policy is


consistent with MD.

Default: defer
senderid { none | chassis | manage

Sender ID TLV filling policy

| chassis+manage | defer

none: No filling

chassis: Fill with the


configured chassis.

manage: Fill withe the


configured management
address.

chassis+manage: Fill with


configured chassis and
management address.

defer: The Sender ID TLV


filling policy is consistent
with MD.

Default: defer

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to create CFM MA in the specified MD:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#cfm ma 2 1 name test-ma-2-1
ZXAN(gpon-onu-mng)#

Related Commands
None

20-115
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.6 cfm md
Syntax
cfm md md-index [ name { dns dns-link | mac mac-address | icc-based ITU carrier code+UMC
code | string } ] [ level level ] [ mhf-creation { none | default | explicit }] [ senderid { none |
chassis | manage | chassis+manage }]
no cfm md md-index

Purpose
To create CFM MD, including the name format, MD level, MHF creation policy, Sender ID
TLV filling policy

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

md-index

MD index

116

[name {dns <dns-like name

Name format and contents

of 145 characters|mac

dns: Use character strings


like DNS name.

<aabb.ccdd.eeff:xxyy in

mac: Use MAC

HEX|icc-based <ITU carrier

address and two-byte

code+UMC code of 13

integer.
l

characters|<string of 145
characters}]

icc-based: Use ICC


(operator code) as the
prefix and UMS code,
totally 13 characters

l
level level

MD level

145 characters

Range: 07
Default: 0

mhf-creation { none | default |

MHF creation policy

explicit }

none: Do not create MHF


policy.
default: Create MHF policy.

explicit: The creation is


explicit.

Default: none

20-116
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

senderid { none | chassis | manage

Sender ID TLV filling policy

none: No filling

chassis: Fill with the

| chassis+manage}

configured chassis.
l

manage: Fill withe the


configured management
address.

chassis+manage: Fill with


configured chassis and
management address.

defer: The Sender ID TLV


filling policy is consistent
with MD.

Default: none

Mode
ZXAN(gpon-onu-mng)#

Example
CFM MD
The following example displays how to create CFM MD:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#cfm md 1 name test-md-1 level 5
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.7 dot1p-map
Syntax
dot1p-map [unmark-option[ { dscp2prio | defprio}] [flow id ] [def-priority default-priority] [ds
cp2prio prio-mapping] [ipp2prio prio-mapping ] [tos2prio prio-mapping]

Purpose
To configure 802.1p priority mapping

Usage Guidelines
The following table provides parameter description:

20-117
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

flow id

Flow ID

Range:1 255
Default: 1

unmark-option {dscp2prio |

Ethernet frame without 802.1p

defprio: default priority

defprio}

priority

dscp2prio: DSCP to 802.1p


mapping

def-priority default-priority

Default 802.1p priority

Range: 0 - 7
Default: 0

dscp2prio prio-mapping

DSCP to 802.1p mapping

DSCP: 0 - 63
802.1p: 0 7

ipp2prio prio-mapping

Priority mapping between two

IP addresses
tos2prio prio-mapping

Priority mapping between two

TOS

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure 802.1p priority mapping:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dot1p-map flow 1 unmark-option defprio
ZXAN(gpon-onu-mng)#

Related Commands
show gpon remote-onu dot1p-map flow

20.4.8 dot1x
Syntax
dot1x [ fallback { allow | deny } ] [ auth-server1 auth-server1 ] [ auth-server2 auth-server2 ] [
auth-server3 auth-server3 ] [ cid-prefix cid-prefix ] [ proxy proxy ] [ shared-secret1 shared-sec
ret1 ] [ shared-secret2 shared-secret2 ] [ shared-secret3 shared-secret3 ]

Purpose
To configure ONU 802.1x properties

Usage Guidelines
The following table provides parameter description:
20-118
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

fallback { allow | deny }

Authentication status

deny: If there is no an external


authentication server, 802.1x
session fails.
Allow: If there is no an external
authentication server, 802.1x
session succeeds.

auth-server1 auth-server1

The primary radius

1 128 characters

authentication server URI


address
auth-server2 auth-server2

The secondary radius

1 128 characters

authentication server URI


address
auth-server3 auth-server3

The third radius authentication

1 128 characters

server UR Iaddress
cid-prefix cid-prefix

CID (circuit id) prefix

1 128 characters

proxy proxy

OLT 802.1x radius proxy

1 128 characters

shared-secret1 shared-secret1

The primary radius

1 128 characters

authentication server shared


password
shared-secret2 shared-secret2

The secondary radius

1 128 characters

authentication server shared


password
shared-secret3 shared-secret3

The third radius authentication

1 128 characters

server shared password

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ONU 802.1x properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dot1x fallback allow

Related Commands
None

20-119
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.9 dot1x ethuni


Syntax
dot1x ethuni ethuni [ auth { enable | disable } ] [ direction { both | upstream } ] [ key-tx { enable
| disable } ] [ quiet-period quiet-period ] [ timeout-period timeout-period ]

Purpose
To configure Ethernet user port 802.1x properties

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

ONU Ethernet port

auth { enable | disable }

Enable/disable user port 802.1x

authentication
direction { both | upstream }

802.1x authentication direction

key-tx { enable | disable }

Enable/disable key transmission

quiet-period quiet-period

Period from EAP request to

Range: 0 65535

sending identification request to

Unit: sec

the opposite end


timeout-period timeout-period

Timeout period for ONT to wait

Range: 0 65535

for response from RADIUS

Unit: sec

server

Default: 30 s

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure 802.1x properties of Ethernet user port :
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dot1x ethuni eth_0/1 auth enable

Related Commands
None

20.4.10 dhcp-ip
Syntax
dhcp-ip ethuni eth_slot/port {forbidden | from-internet | from-onu | no-ctrl }
20-120
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To configure DHCP IP address allocation mode for ONU Ethernet interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eth_slot/port

Ethernet interface name

{forbidden | from-internet |

DHCP IP address mode

Default: no-ctrl

from-onu | no-ctrl }

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure DHCP IP address allocation mode:
ZXAN(gpon-onu-mng)#dhcp-ip ethuni eth_0/1 from-onu

Related Commands
show gpon remote-onu dhcp-ip ethuni

Related Information
When the DHCP server function is enabled on an ONU, the downlink device acquires IP
address according to DHCP IP address allocation mode configured on the ONU.

20.4.11 dhcp-option60
Syntax
dhcp-option60 { enable < vendor class identifier > | disable}

Purpose
To enable/disable the option60 on an ONU

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

vendor class identifier

option60 character string

1128 characters

20-121
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(gpon-onu-mng)#

Example
The following example shows how to set and enable option60 on an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#dhcp-option60 enable 12345678

Related Commands
show gpon remote-onu dhcp-option60

20.4.12 equip-mgmt
Syntax
equip-mgmt [battery-backup {true | false}] [state {lock | unlock}] [sec-mode {aes | null}]

Purpose
To configure ONU information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

battery-backup {true | false}

ONU supports backup battery

true: Support backup battery

or not

false: Not support backup


battery

state {lock | unlock}

ONU management state

lock: ONU management state


is locked
unlock: ONU management
state is unlocked

sec-mode {aes | null}

Egress traffic profile name

aes: Use AES to encrypt unicast


service
null: No encryption

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ONU information:
ZXAN(config)#interface gpon-onu_1/1/1:1

20-122
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


ZXAN(gpon-onu-mng)#equip-mgmt battery-backup true
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.13 ex-vlan
Syntax
ex-vlan { flow flowid | ethuni eth_slot/port | switchport ethuni eth_slot/port | veip veipid | wifi
wifi_slot/port } [ down-mode {no-operation | inverse-upstream } ] [ dscp2pbit dscp-name ] [
input-tpid tpid ] [ output-tpid tpid ]
no ex-vlan {flow | ethuni | [switchport]} id

Purpose
To configure extended VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flow flowid

Flow ID

Range: 1 255

ethuni eth_slot/port

ONU Ethernet UNI

1 31 characters

switchport ethuni eth_slot/port

ONU Ethernet UNI (format: )

1 31 characters

veip veipid

Virtual Ethernet interface

Range: 1 255

wifi wifi_slot/port

Wifi port

1 31 characters

down-mode

Downstream mode

no-operation: No operation
inverse-upstream: Do reverse
mapping according to upstream
rule

dscp2pbit dscp-name

DSCP to 802.1p mapping profile

1 64 characters

name
input-tpid tpid

Input TPID

Hexadecimal number, such as


0x9100

output-tpid tpid

Output TPID

Hexadecimal number, such as


0x9100

Mode
ZXAN(gpon-onu-mng)#
20-123
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure extended VLAN:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ex-vlan ethuni eth_21/4 input-tpid 0x9100
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.14 ex-vlan-table
Syntax
ex-vlan-table { flow flowid | ethuni eth_slot/port | switchport ethuni eth_slot/port | veip veipid
| wifi wifi_slot/port } rule filter-rule-name treat treat-name
no ex-vlan-table {flow | ethuni | [switchport]} id

Purpose
To configure extended VLAN table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flow flowid

Flow ID

Range: 1 255

ethuni eth_slot/port

ONU Ethernet UNI

1 31 characters

switchport ethuni eth_slot/port

ONU Ethernet UNI (format: )

1 31 characters

veip veipid

Virtual Ethernet interface

Range: 1 255

wifi wifi_slot/port

Wifi port

1 31 characters

rule filter-rule-name

Rule profile name

treat treat-name

Treat profile name

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure extended VLAN table:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ex-vlan-table ethuni eth_0/1 rule single-tag-vid100
treat add-outer-vid200

20-124
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.15 flow
Syntax
flow flowid [{switch | ethuni | ethflow | iphost | downMulticast} vid vlanid]
no flow flowid
flow flowid priority priority vid vlanid
no flow flowid priority priority vid vlanid

Purpose
To configure flow and flow TCI

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flowid

Flow ID

Range: 1 - 255

switch

Flow from layer-2 switch

ethuni

Uplink flow mapping from

Ethernet port through 802.1p


ethflow

Uplink flow mapping from

Ethernet flow through 802.1p


iphost

Uplink flow mapping from IP

host through 802.1p


downMulticast

Downstream multicast

priority priority

802.1p priority of the flow

Range: 0 - 7

vid vlanid

VLAN ID of the flow

Range: 1 - 4094

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure flow:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1

20-125
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(gpon-onu-mng)#flow 1 vid 100
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.16 flow mode


Syntax
flow mode flowid tag-filter {transparent | discard | forward | prio-filter | vid-filter | prio-vidfilter | prio-match | vid-match | prio-vid-match} untag-filter {transparent | discard}

Purpose
To configure flow mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flowid

Flow ID

Range: 1 - 255

tag-filter

Flow filter mode for tagged

frames
transparent

Transparent forwarding

according to layer 2 address


discard

Discard unconditionally

forward

Forward unconditionally

prio-filter

Filter according to 802.1p

priority; forward unmatched


frames according to layer 2
address
vid-filter

Filter according to vid; forward

unmatched frames according to


layer 2 address
prio-vid-filter

Filter according to 802.1p

priority and vid; forward


unmatched frames according to
layer 2 address

20-126
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

prio-match

Filter according to 802.1p

priority; discard unmatched


frames
vid-match

Filter according to vid; discard

unmatched frames
prio-vid-match

Filter according to 802.1p

priority and vid; discard


unmatched frames
untag-filter

Flow filter mode for untagged

frames
transparent

Transparent forwarding

according to layer 2 address


discard

Discard unconditionally

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure flow mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#flow mode 1 tag-filter vid-match untag-filter
discard
ZXAN(gpon-onu-mng)#

Related Commands
None

Related Information
By default, flow mode for tagged frames is vid-match. Flow mode for untagged frames is
discard.

20.4.17 firewall ip-filter


Syntax
firewall ip-filter ip-filterid [state {enable | disable}] [mode {permit | discard}] [protocol {tcp|u
dp|tcp-udp|icmp|all}] [src-ip src-ip [to src-ip]] [src-port src-port [to src-port]] [dst-ip dst-ip [to
dst-ip]] [dst-port dst-port [to dst-port]] [ingress {lan | iphost hostid | ethuni eth_slot/port}] [egress
{lan|iphost hostid | ethuni eth_slot/port}]
20-127
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no firewall ip-filter ip-filterid [ src-ip ] [ src-port ] [ dst-ip ] [ dst-port ] [ ingress ] [ egress ]

Purpose
To configure firewall IP filter
Use the no command to delete specific field or the filter.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

IP filter ID

1 255

state{enable | disable}

IP filter state

Default: disable

mode{permit | discard}

IP filter mode

Default: discard

protocol {tcp|udp|tcp-udp|icmp

Protocol type

Default: tcp

src-ip src-ip [to src-ip]

Source IP address range

Default: no filter, 0.0.0.0

src-port src-port [to src-port]

Source port range

Default: no filter

dst-ip dst-ip [to dst-ip]

Destination IP address range

Default: no filter, 0.0.0.0

dst-port dst-port [to dst-port]

Destination port range

Default: no filter

ingress {lan | iphost hostid |

Ingress object

Default: no filter

Egress object

Default: no filter

|all}

ethuni eth_slot/port}
egress {lan|iphost hostid | ethuni
eth_slot/port}

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the IP filter:
ZXAN(gpon-onu-mng)#firewall ip-filter 1 state enable protocol udp src-ip
10.1.1.1 to 10.1.1.255 src-port 5060 ingress iphost 1
ZXAN(gpon-onu-mng)#firewall ip-filter 2 state enable protocol tcp dst-ip
192.168.1.1 dst-port 21 egress ethuni eth_0/1
ZXAN(gpon-onu-mng)#no firewall ip-filter 2 dst-ip

Related Commands
show gpon remote-onu firewall ip-filter

20-128
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.18 firewall mac-filter


Syntax
firewall mac-filter id macaddress [{src | dst}] [protocol {ip | all}]
no firewall mac-filter id
show gpon remote-onu firewall mac-filter gpon-onu_shelf/slot/olt:onuid

Purpose
To configure firewall MAC filter
Use the no command to delete the filter.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

Filter ID

1 255

macaddress

MAC address

{src | dst}

Source or destination MAC

protocol {ip|all}

Protocol type

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure MAC filter:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#firewall mac-filter 1 00d0.d0d0.0101 dst protocol ip
ZXAN(gpon-onu-mng)#firewall mac-filter 2 00d0.d0d0.0101 dst protocol all
ZXAN(gpon-onu-mng)#firewall mac-filter 3 00d0.d0d0.0102 src protocol ip

Related Commands
show gpon remote-onu firewall mac-filter

20.4.19 firewall mac-filter-table


Syntax
firewall mac-filter-table [state {enable | disable}] [mode {permit | discard}]
no firewall mac-filter-table
20-129
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure firewall MAC filter table
Use the no command to delete the filter table.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

state {enable | disable}

MAC filter state

Default: disable

mode {permit | discard}

MAC filter mode

Default: discard

Mode
ZXAN(gpon-onu-mng)#

Related Information
None

Example
The following example displays how to configure MAC filter table:
ZXAN(gpon-onu-mng)#firewall mac-filter-table state enable mode permit

Related Commands
show gpon remote-onu firewall mac-filter-table

20.4.20 firewall port-forward


Syntax
firewall port-forward id [state {enable | disable}] [iphost iphostid] [protocol {tcp|udp|tcp-udp}]
[wan-ip wan-ip [to wan-ip]] [wan-port wan-port [to wan-port]] [{lan-mac lan-mac | lan-ip lan-ip
}][lan-port lan-port [to lan-port]]
no firewall port-forward id [wan-ip]
show gpon remote-onu firewall port-forward gpon-onu_shelf/slot/olt:onuid

Purpose
To configure firewall port forwarding (from WAN to LAN)
Use the no command to delete specific field or the forwarding.

Usage Guidelines
The following table provides parameter description:
20-130
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

id

Port forwarding ID

1 255

state {enable | disable}

Forwarding state

Default: disable

iphost iphostid

IP host ID

1 255, default: 1

protocol {tcp|udp|tcp-udp}

Protocol type

Default: tcp

wan-ip wan-ip [to wan-ip]

WAN IP address range

Default: 0.0.0.0

wan-port wan-port [to wan-port]

WAN port range

lan-mac lan-mac

LAN MAC address range

lan-ip lan-ip

LAN IP address range

lan-port lan-port

LAN port range

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure port forwarding:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#firewall port-forward 1 state enable protocol udp wan-ip
10.1.1.1 to 10.1.1.255 wan-port 5060 lan-ip 192.168.1.10 lan-port 2000
ZXAN(gpon-onu-mng)#firewall port-forward 2 state enable iphost 2 protocol tcp
wan-ip 11.1.1.1 wan-port 21 lan-mac 00d0.d0d0.0101 lan-port 1000
ZXAN(gpon-onu-mng)#no firewall port-forward 2 wan-ip

Related Commands
show gpon remote-onu firewall ip-filter

20.4.21 gemport
Syntax
gemport portindex [ up-queue-map queue-map-id ] [ down-queue queue-map-id ] [ uni eth_slot
/port ]
gemport portindex traffic-limit [ downstream profile-name ][ upstream profile-name ]
gemport portindex [ dot1p-list 802.1p-map ] [ flow flowid ]
gemport portindex loop { enable | disable }
no gemport portindex [ traffic-limit { all | downstream | upstream } ]

Purpose
To configure GEM port attributes
20-131
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

portindex

GEM port index

Range: 1 255

up-queue-map queue-map-id

Upstream queue map ID

Range: 0 3

down-queue queue-map-id

Downstream queue map ID

Range: 0 7

traffic-limit

Traffic limit

downstream profile-name

Downstream traffic profile name

upstream profile-name

Upstream traffic profile name

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure GEM port attributes:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#gemport 1 traffic-limit downstream test1 upstream test2

Related Commands
None

20.4.22 igmp
Syntax
igmp eth_slot/port [max-groups max-groups] [max-bandwidth max-bandwidth] [bandwidth-en
force {enable | disable }] [profile profilename]
no igmp eth_slot/port [max-groups] [max-bandwidth] [profile profilename]

Purpose
To configure ONU Ethernet user port IGMP parameters and associate the port with the
IGMP profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eth_slot/port

Ethernet user port

max-groups

Maximum multicast group

Range: 1 65535

20-132
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

max-bandwidth

Maximum bandwidth

Range: 1 4294967295

profilename

Profile name

Range: 1 31

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ONU Ethernet user port IGMP parameters
and associate the port with the IGMP profile:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:64
ZXAN(gpon-onu-mng)#igmp eth_0/1 profile test
ZXAN(gpon-onu-mng)#igmp eth_0/1 max-groups 1024

Related Commands
None

20.4.23 igmp monitor


Syntax
igmp monitor eth_slot/port

Purpose
To configure IGMP management port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eth_slot/port

Ethernet user port

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure IGMP management port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1

20-133
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(gpon-onu-mng)#igmp monitor eth_0/1

Related Commands
None

20.4.24 interface ces


Syntax
interface ces ces_slot/port [state{unlock | lock}] [ds1-framing{extendsuper | g704 | jtg704 | su
per | unframe}] [ds1-mode{mode1 | mode2 | mode3 | mode4}] [type expected-type] [line-coding
{ami | b3zs | b8zs | hdb3}] [line-length line-length] [line-type{3plcp | ds3cbitparity | ds3clearch
annel | ds3m23 | ds3syntran | e3framed | other}] [loop{noloop | lineloop | opsloop1 | opsloop2
| opsloop3 | payloadloop}] [arc arc arc-interval arc-interval]

Purpose
To configure the properties of a CES user port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ces_slot/port

CES port, slot number, port

number
state{unlock | lock}

ds1-framing{extendsuper | g704 |

Port management state

lock

unlock

DS1 frame structure

Default: extendedsuper

DS1 mode

type expected-type

Expected card type

line-length line-length

Line length

line-coding{ami | b3zs | b8zs |

Coding mechanism

Default: b8zs

Line type

Loop

jtg704 | super | unframe}


ds1-mode{mode1 | mode2 |
mode3 | mode4}

hdb3}
line-type{3plcp | ds3cbitparity
| ds3clearchannel | ds3m23 |
ds3syntran | e3framed | other}
loop{noloop | lineloop |
opsloop1 | opsloop2 | opsloop3 |
payloadloop}

20-134
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

arc arc

Alarm suppression

arc-interval arc-interval

Alarm suppression time

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to lock the management state of the CES user port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface ces ces_0/1 state lock

Related Commands
None

20.4.25 interface eth


Syntax
interface eth eth_slot/port [state {unlock | lock}] [mtu mtu] [pause-time pause-time] [l2l3{ l2 | l3
| either }] [loop{enable | disable}] [type expect-type] [power-control{disable | enable }] [pppoefilter{disable | enable }] [speed{auto | full-10 | full-100 | ull-1000 | half-10 | half-100}] [wiring
{dce | dte }][arc arc arc-interval arc-interval]

Purpose
To configure the properties of an Ethernet interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eth_slot/port

ONU Ethernet interface, slot

number and port number


state {unlock | lock}

Port management state

lock

unlock

mtu mtu

Maximum transfer unit (MTU)

pause-time pause-time

The pause time of sending

frames
l2l3{ l2 | l3 | either }

UNI is used in 12, 13 or either

loop{enable | disable}

Enable/disable port loopback

20-135
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

type expect-type

Ethernet card type

Range: 1 254
0: Adaptive

power-control{disable | enable }

Power control

pppoe-filter{disable | enable }

Port PPPoE packets filtering

Enable: Transmit PPPoE

control

packets only.
disable: Transmit packets of all
types.

speed{auto | full-10 | full-100 |

Port duplex mode/rate

Cable type

ull-1000 | half-10 | half-100}


wiring {dce | dte }

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to lock the management state of a specified Ethernet
interface:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)# interface eth eth_0/1 state lock

Related Commands
None

20.4.26 interface pon


Syntax
interface pon pon_slot/port [gem-blocklen GEM-block-length] [sf-threshold threshold1 sd-thre
shold threshold2] [rx-optical-threshold [low threshold1] [high threshold2]] [tx-optical-threshol
d[low threshold1] [high threshold2]] [arc arc arc-interval arc-interval] [alarm {enable | {disabl
e[alarm-disable-interval interval]}}] [vol-thresholdlow{threshold1} high{threshold2}] [current-t
hresholdlow{threshold1} high{threshold2}] [temp-thresholdlow{threshold1} high {threshold2}]

Purpose
To configure the SFi/SF alarm BER threshold and SDi/SF alarm BER threshold of a PON
port

Usage Guidelines
The following table provides parameter description:
20-136
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

pon_slot/port

PON port, slot number, port

number
gem-blocklen GEM-block-length

GEM block length

Range: 0 65,535
Default: 48

sf-threshold threshold1

SFi/SF alarm BER threshold

Sf-threshold: 3 8
Default: 5

sd-threshold threshold2

SDi/SD alarm BER threshold

Sf-threshold: 4 10
Range: 9

arc arc

Alarm suppression

0: No suppression
1: Alarm suppression

arc-interval arc-interval

Alarm suppression time

Range: 0 254
Unit: minute
255: Alarm suppression without
limit

rx-optical-threshold

low threshold1

Receiving optical power

Range: -127 to 0dBm

threshold

Accuracy: 0.5

The low receiving optical power

threshold
high threshold2

The high receiving optical power

threshold
tx-optical-threshold

low threshold1

The transmitting optical power

Range: -63 to 63.5 dBm

threshold

Granularity: 0.5 dB

The low transmitting optical

power threshold
high threshold2

The high transmitting optical

power threshold
alarm {enable | disable}

Enable/disable alarm report

alarm-disable-interval interval

Disable alarm report interval.

Range: 0 255

This parameter is valid when an

Unitmin

alarm is disabled.
[vol-thresholdlow{threshold1}

Feedback voltage alarm

Range: 0 6.56 V

high{threshold2}]

threshold

Granularity: 0.02 V

low threshold1: The low


feedback voltage alarm
threshold
high threshold2: The high
feedback voltage alarm
threshold

20-137
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

current-thresholdlow{threshold1}

Bias current alarm threshold

Range: 0 131 mA

high{threshold2}]

low threshold1: The low bias

Granularity: 0.002 mA

current alarm threshold


high threshold2: The high bias
current alarm threshold
[temp-thresholdlow{threshold1}

Optical module temperature

Range: -127 to 127

high {threshold2}]

alarm threshold

Granularity: 1/256

low threshold1: The low optical


module temperature alarm
threshold
high threshold1: The high
optical module temperature
alarm threshold

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the SFi/SF alarm BER threshold and
SDi/SF alarm BER threshold of a PON port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface pon pon_0/1 sf-threshold 4 sd-threshold 8

Related Commands
None

20.4.27 interface pots


Syntax
interface pots pots_slot/port [state{lock | unlock}] [tx-gain gain] [rx-gain gain] [tx-path{fulltim
eOnHook | parttimeOnHook }][impedance impedance] [arc arc arc-interval arc-interval]

Purpose
To configure the properties of a POTS user port

Usage Guidelines
The following table provides parameter description:

20-138
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

pots_slot/port

POTS port, slot number and

port number
state{lock | unlock}

tx-gain gain

Port management state

Transmitting signal gain

lock

unlock

Range: -12.0 to +6.0


Accuracy: 0.1dB
Default: 0

rx-gain gain

Receiving signal gain

Range: -12.0 to +6.0


Accuracy: 0.1dB
Default: 0

tx-path{fulltimeOnHook |

On-hook transmission mode

fulltimeOnHook: Full-time

parttimeOnHook }

on-hook
parttimeOnHook: Part-time
on-hook

impedance impedance

Impedance

Range: 0 255

arc arc

Alarm suppression

0: No suppression
1: Alarm suppression

arc-interval arc-interval

Alarm suppression time

Range: 0 254
Unit: minute
255: Alarm suppression without
limit

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the impedance of a specified POTS user
port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface pots pots_0/1 impedance 10

Related Commands
None

20.4.28 interface video


Syntax
interface video video_slot/port [state{unlock | lock}] [power-control{disable | enable}] [arc arc
arc-interval arc-interval]
20-139
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the properties of a video interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

video_slot/port

Video port, slot number, port

number
state{unlock | lock}

Port management state

lock

unlock

power-control{disable | enable}

Power control

arc arc

Alarm suppression

0: No suppression
1: Alarm suppression

arc-interval arc-interval

Alarm suppression time

Range: 0 254
Unit: minute

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to lock the management state of a video port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface video video_0/1 state lock

Related Commands
None

20.4.29 interface video-ani


Syntax
interface video-ani agc-mode {broadband offset agc-setting | optical offset agc-setting | dsiable}
interface video-ani arc arc arc-interval arc-interval
interface video-ani optical-thresh lower threshold upper threshold
interface video-ani pilot-frequency pilot-frequency
interface video-ani state[lock | unlock]

Purpose
To configure Access Node Interface (ANI) for video service on the ONU
20-140
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

arc arc

Alarm restrain control (ARC)

arc-interval arc-interval

Value

ACR inteval

0: no-control, report alarms

1: restrain alarm reporting

0 255, unit: minute


255 refers no limit

agc-mode

Auto gain control (AGC) mode

disable: no AGC

broadband: broadband
gain

l
offset agc-setting

optical: optical gain

Set gain according to AGC

-12.8 dB12.7 dB

mode

Unit: 0.1 dB

agc-mode is disable, no
need to set

agc-mode is broadband,
set broadband gain

agc-mode is optical, set


optical gain

optical-thresh lower threshold

Low optical threshold

-12 dBm to 6 dBm


Unit: 0.1 dBm

upper threshold

High optical threshold

-12 dBm to 6 dBm


Unit: 0.1 dBm

pilot-frequency pilot-frequency

Pilot frequency

0 Hz 4294967295 Hz
l

Signal capability 4 or 5:
read and write

Signal capability 2 or 3:
read only

Signal capability 0, 1, 6, or
7: undefined

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ANI for video service on the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface video-ani state unlock
ZXAN(gpon-onu-mng)#interface video-ani arc 1 arc-interval 2
ZXAN(gpon-onu-mng)#interface video-ani pilot-frequency 1000
ZXAN(gpon-onu-mng)#interface video-ani agc-mode broadband offset 30

20-141
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(gpon-onu-mng)#interface video-ani optical-thresh lower -60 upper 30

Related Commands
show gpon remote-onu interface video-ani

20.4.30 interface wifi


Syntax
interface wifi wifi_solt/port {[arc arc arc-interval arc-interval] [state {lock | unlock}]}

Purpose
To configure the properties of WIFI port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

wifi_slot/port

WIFI port number

1 31 characters

arc arc

Alarm suppression

0: No suppression
1: Alarm suppression

arc-interval arc-interval

Alarm suppression time

Range: 0 254
Unit: minute
255: Alarm suppression without
limit

state {lock | unlock}

Port management state

lock

unlock

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the properties of a WIFI port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#interface wifi wifi_0/1 arc 0 arc-interval 255 state unlock

Related Commands
None

20-142
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.31 ip-host dhcp-enable


Syntax
ip-host hostId dhcp-enable {true | false} ping-response {true | false} traceroute-response {true
| false}

Purpose
To configure ONU host DHCP, PING response and trace response

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hostId

ONU host ID

Range: 1 255

dhcp-enable

Enable DHCP

true

false

true

false

true

false

ping-response

traceroute-response

PING response

Trace route response

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ONU host DHCP, PING response and
trace response:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 dhcp-enable true ping-response true traceroute-response true

Related Commands
None

20.4.32 ip-host id
Syntax
ip-host hostId id string

20-143
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure ONU host ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hostId

ONU host ID

Range: 1 255

string

ONU host ID string

1 25 characters

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the ONU host ID:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 id test

Related Commands
None

20.4.33 ip-host ip
Syntax
ip-host hostId ip address mask mask [gateway gateway]

Purpose
To configure ONU host IP address, subnet mask, and gateway

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hostId

ONU host ID

Range: 1 255

ip address

IP address

Decimal numbers

mask mask

Subnet mask

gateway gateway

Gateway address

Decimal numbers

Mode
ZXAN(gpon-onu-mng)#
20-144
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to configure the ONU host IP address, subnet mask,
and gateway:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 ip 10.1.1.1 mask 255.255.255.0 gateway 10.61.54.254

Related Commands
None

20.4.34 ip-host primary-dns


Syntax
ip-host hostId primary-dns address [second-dns address]

Purpose
To configure ONU host DNS

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hostId

ONU host ID

1 255

primary-dns address

Primary DNS address

Decimal numbers

second-dns address

Secondary DNS address

Decimal numbers

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the ONU host DNS:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-host 1 primary-dns 192.168.1.1 second-dns 192.168.1.10

Related Commands
None

20-145
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.35 ip-service-map
Syntax
ip-service-map service-Id host hostid

Purpose
To configure IP Service host ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

service-Id

Service ID

Range: 1 24

host hostid

Host ID

Range: 1 255

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure IP Service host ID:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#ip-service-map 1 host 1

Related Commands
None

20.4.36 lct
Syntax
lct { enable | disable }

Purpose
To enable LCT

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#
20-146
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to enable LCT:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#lct enable

Related Commands
None

20.4.37 loopback
Syntax
loopback

Purpose
To configure ONU loopback

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ONU loopback:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#loopback

Related Commands
None

20.4.38 loop-detect
Syntax
loop-detect ethuni eth_slot/port {enable | disable}

Purpose
To enable/disable the loop detection

20-147
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni eth_slot/port

ONU Ethernet UNI

Range: 1 - 31 characters

enable

Enable the loop detection

disable

Disable the loop detection

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to enable the loop detection on a UNI:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#loop-detect ethuni eth_0/1 enable
ZXAN(gpon-onu-mng)#

Related Commands
show gpon remote-onu loop-detect

20.4.39 mac-filter
Syntax
mac-filter {flow flowid | ethuni eth_slot/port | iphost hostid} macaddress {discard | forward}
no mac-filter {flow flowid | ethuni eth_slot/port | iphost hostid} macaddress

Purpose
To configure the MAC address filter

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flow flowid

Flow ID

Range: 1 - 255

ethuni eth_slot/port

Ethernet card slot number and

Range: 1 - 31 characters

port number
iphost hostid

Host ID

Range: 1 - 255

macaddress

MAC address

XXXX.XXXX.XXXX

discard

Discard the packet

20-148
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

forward

Forward the packet

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the MAC address filter:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#mac-filter iphost 1 0000.0000.1111 discard
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.40 me-access
Syntax
me-access trans-id MSG-type ME-class ME-id [ ME-content ]

Purpose
To configure ME access

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

trans-id

Trans ID

Range: 0 65535

MSG-type

MSG type

Range: 0 255

ME-class

ME class

Range: 0 65535

ME-id

ME id

Range: 0 65535

ME-content

ME contents

0 95 characters

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ME access :
20-149
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#me-access 1 1 1 1

Related Commands
None

20.4.41 mgc
Syntax
mgc mgcid {server1 address-name [validate {disable | md5 username name password password
realm realm | basic username name password password}]|server2 address-name [validate {dis
able | md5 username name password password realm realm | basic username name password
password}]}
mgc mgcid [port port-num] [version version][msg-format {text-long | text-short | binary}] [ma
x-retry-time time-in-seconds] [max-retry-attempts times] [service-change-delay time-in-second
s][ss-vendor ss-vendor]
no mgc mgcid

Purpose
To create an MGC and associate the MGC with TCP/UDP port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mgcid

MGC ID

Range: 1 65535

server1 address-name

The primary MGC signaling

IP address format or domain

server

name
1 128 characters

server2 address-name

The secondary MGC signaling

IP address format or domain

server

name
1 128 characters

port port-num

TCP/UDP port number

Range: 1 65535

host-id hostid

IP host ID

Range: 1 255

version version

Protocol version

Range: 1 255

msg_format

Message format

text-long

text-short

binary

max-retry-time time-in-seconds

Maximum retry time

Range: 1 65535 sec

20-150
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

max-retry-attempts times

Maximum retry attempts

Range: 1 65535

service-change-delay

Service state change delay

Range: 1 65535 sec

ss-vendor ss-vendor

SS vendor

1 4 characters

validate {disable | md5 | basic}

Validation mode

md5

basic

disable

time-in-seconds

username name

User name

0 128 characters

password password

Password

0 25 characters

realm realm

Domain

0 25 characters

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure an MGC:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#mgc 1 server1 10.64.196.254 validate basic username zte password zte

Related Commands
None

20.4.42 mgc-service
Syntax
mgc-service pots_slot/port profile profile-name

Purpose
To configure POTS MGC service (including H.248 and MGCP)

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pots_slot/port

POTS port number

1 64 characters

profile profile-name

The profile which associates

1 64 characters

with MGC service


20-151
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure POTS MGC service:
ZXAN(gpon-onu-mng)#mgc-service pots_0/1 profile test1

Related Commands
None

Related Information
The MGC service is configured when VoIP is H.248 or MGCP. The MGC profile must be
created in advance.

20.4.43 mgmt-ip
Syntax
mgmt-ip ip-address mask-address vlan vlanID priority priority route subnet net-mask nexthop [
host hostid ]

Purpose
To configure GPON ONU management IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address mask-address

ONU IP address and mask

A.B.C.D

address
vlan vlanID

VLAN ID

Range: 1 4094

priority priority

Priority

Range: 0 7

route subnet net-mask nexthop

Subnet IP address, mask,

A.B.C.D

next-hop address
host hostid

Host ID

Range: 1 255

Mode
ZXAN(gpon-onu-mng)#

20-152
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to configure GPON ONU management IP address:
ZXAN(gpon-onu-mng)#mgmt-ip 10.2.3.4 255.0.0.0 vlan 3 priority 1
route 10.3.2.5 255.0.0.0 10.2.3.6 host 3

Related Commands
None

20.4.44 mgmt-ip auto-assign


Syntax
mgmt-ip auto-assign [ host host ]

Purpose
To assign ONU MGMT IP address automatically from the IP address pool

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

host host

host ID

Range: 1 255

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to assign ONU MGMT IP address automatically from
the IP address pool:
ZXAN(gpon-onu-mng)#mgmt-ip auto-assign host 1

Related Commands
None

20.4.45 mgmt-ip release


Syntax
mgmt-ip release

20-153
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To release ONU MGMT IP address

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to release ONU MGMT IP address:
ZXAN(gpon-onu-mng)#mgmt-ip release

Related Commands
None

20.4.46 mirror
Syntax
mirror ethuni eth gemport gemport direction { both | down | up }

Purpose
To configure mirroring

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni eth

Ethernet port name

gemport gemport

gemport number

Range: 1 256

direction { both | down | up }

Mirroring direction

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure mirroring:
ZXAN(gpon-onu-mng)#mirror ethuni eth_0/1 gemport 1 direction both

20-154
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
None

20.4.47 multicast vlan


Syntax
multicast vlan add vlanlist vlanlist
multicast vlan delete vlanlist vlanlist
multicast vlan clear
multicast vlan tag-strip port port { enable | disable }
multicast vlan tag-strip port port translate trans-list trans-list

Purpose
To configure ONU multicast VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

add vlanlist vlanlist

Add a multicast VLAN

Range: 1 4094

delete vlanlist vlanlist

Delete a multicast VLAN

Range: 1 4094

clear

Clear all multicast VLANs

tag-strip port port

Configure ONU UNI multicast

VLAN

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ONU multicast VLAN:
ZXAN(gpon-onu-mng)#multicast vlan add vlanlist 1

Related Commands
None

20-155
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.48 onu-vlan
Syntax
onu-vlan { ethuni ethuni | iphost iphost | wifi wifi } [ down-mode down-mode ] [ up-mode up-m
ode ] [ up-prio up-prio ]

Purpose
To configure VLAN process mode on ONU UNI

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni ethuni

Ethernet port

iphost iphost

IP host ID

Range: 1 255

wifi wifi

WIFI port

down-mode down-mode

Downstream VLAN mode

delete-pvid, transparent, untag

up-mode up-mode

Upstream VLAN mode

add, add-pvid, overwrite,


transparent

up-prio up-prio

Upstream VLAN priority

Range: 0 7

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure VLAN process mode on ONU UNI:
ZXAN(gpon-onu-mng)#onu-vlan ethuni eth_0/1 down-mode delete-pvid

Related Commands
None

20.4.49 performance
Syntax
performance {flow flow id | [switchport] ethuni eth_slot/port | dot1x ethuni eth_slot/port |ga
l-eth gemport id | gem gemport id | multicast { [ethuni eth_slot/port ] [ vlan vid ] } | switch
switch_slot/port | [switchport] iphost host id | call-ctrl pots_slot/port| rtp pots_slot/port | sip-aent
agent id | sip-call-init agent id | mgc mgc id | pw ces_slot/port | vlan ethuni eth_slot/port vid}
{start | stop | threshold threshold-profile-name }
20-156
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To configure performance statistics task

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

{flow flow id | [switchport] ethuni

Performance statistics node

start

Start the performance statistics

stop

Stop the performance statistics

threshold threshold-profile-name

Performance statistics threshold

eth_slot/port | dot1x ethuni


eth_slot/port | gal-eth gemport
id | gem gemport id | multicast
{ [ethuni eth_slot/port ] [ vlan
vid ] } | switch switch_slot/port
| [switchport] iphost host id
| call-ctrl pots_slot/port | rtp
pots_slotslot/port | sip-aent agent
id| sip-call-init agent id | mgc mgc
id | pw ces_slot/port | vlan ethuni
eth_slot/port vid}

profile name

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure an Ethernet performance statistics task:
ZXAN(gpon-onu-mng)#performance ethuni detailed eth_0/1 start

Related Commands
show gpon remote-onu performance

20.4.50 power-shedding
Syntax
power-shedding [restore-interval time] [{atm | ces | data | dsl | frame | sonnet | video-overlay
| video-return | voice} {immediate | interval time-before-shedding}]
no power-shedding {atm | ces | data | dsl | frame | sonnet | video-overlay | video-return | voice}
20-157
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To disable specific service for power saving when the ONU AC power is faulty

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

restore-interval time

Interval from AC power is

0 65535, unit: s

restored to the specific service


is restored
interval time-before-shedding

Interval from AC power is

2 65535, unit: s

faulty to the specific service is


disabled

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure power-shedding:
ZXAN(gpon-onu-mng)#power-shedding restore-interval 23 data interval 23

Related Commands
show gpon remote-onu power-shedding

20.4.51 pkt-filter
Syntax
pkt-filter {flow flowid | ethuni eth-slot/port | iphost hostid} [{appleTalk | arp | bpdu | ipv4bro
adcast | ipv4multicast | ipv6multicast | ipx | netBEUI | pppoe | rarp} {discard | forward}]

Purpose
To configure packet filter rule for layer 2 bridge on ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni eth-slot/port

Ethernet port

flow flowid

Flow ID

Range: 1 255

iphost hostid

IP host

Range: 1 255

20-158
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

appleTalk | arp | bpdu |

Ethernet frame type

discard

Discard filtered frames

forward

Forward filtered frames

ipv4broadcast | ipv4multicast |
ipv6multicast | ipx | netBEUI |
pppoe | rarp

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure packet filter rule :
ZXAN(config)#pon-onu-mng gpon-onu-1/3/1:1
ZXAN(gpon-onu-mng)#pkt-filter ethuni eth_0/1 pppoe discard rarp forward
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.52 pw psn ethernet


Syntax
pw psn ethernet ces_slot/port [switch switch_slot/switch] dst-mac mac address loopback {disab
le | enable} tx-payload-ecid ecid tx-signalling-ecid ecid [expected-payload-ecid ecid expectedsignalling-ecid ecid] tag-policy {tag vid vlanid [prio priority] | untag}

Purpose
To configure PW over Ethernet

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ces_slot/port

CES port name

1 31 characters

switch_slot/switch

Switch name

1 31 characters

dst-mac mac address

Destination MAC address

XXXX.XXXX.XXXX

loopback{disable | enable}

Enable or disable loop-back

20-159
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

tx-payload-ecid ecid

Tx payload ECID

Hex number, the lowest 12 bits


must be 0x102
Format: 0xXXXXX102

tx-signalling-ecid ecid

Tx signaling ECID

Hex mumber
4 bytes

expected-payload-ecid ecid

Expected payload ECID

Hex number, the lowest 12 bits


must be 0x102
Format: 0xXXXXX102

expected-signalling-ecid ecid

Expected signaling ECID

Hex number
4 bytes

tag-policy

Tag policy

Tag
Untag

untag

Untagged

tag

Tagged

prio priority

Priority

Range: 0 7

vid vlanid

VLAN ID

Range: 1 4094

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure PW over Ethernet:
ZXAN(config)#pon-onu-mng gpon-onu-1/3/1:1
ZXAN(gpon-onu-mng)#pw psn ethernet ces_0/1 dst-mac 0000.1111.2222 loopback disable
tx-payload-ecid 0x00004102 tx-singalling-ecid 0x00000000 expected-payload-ecid
0x00004102 expected-signalling-ecid 0x00000000 tag-policy untag
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.53 pw psn ip
Syntax
pw psn ip ces_slot/port near-end-ip tcp-udp-port [host hostid] far-end-ip URI

Purpose
To create PW over IP
20-160
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ces_slot/port

CES user port

Near-end TCP/UDP port

near-end-ip tcp-udp-port

number
host hostid

Near-end IP host ID

far-end-ip URI

Far-end IP address

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to create PW over IP:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#pw psn ip ces_0/1 near-end-ip 5060 far-end-ip
udp://192.168.100.221:5000

Related Commands
None

Related Information
1. To configure a PW link, the relevant command flow is: pw rtp -> pw ip (pw ethernet)
-> pw tdm -> pw optional (optional).
2. Only creating a PW link and deleting a PW link is supported. The pw delete command
is used to delete all PW link configurations.

20.4.54 pw optional
Syntax
pw optional ces_slot/port {[service-type {basic-unstructure | octec-aligned-unstructure | stru
ctured}] [signaling {no-signalling | cas-same-packet-stream | cas-seperate-channel}] [arc arc
arc-interval interval]}

Purpose
To configure PW optional properties

Usage Guidelines
The following table provides parameter description:
20-161
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

ces_slot/port

CES user port

service-type {basic-unstructure

Service type

Signaling type

Alarm suppression

0: No suppression

| octec-aligned-unstructure |
structured}
signaling {no-signalling |
cas-same-packet-stream |
cas-seperate-channel}
arc arc

1: Alarm suppression
arc-interval interval

Alarm suppression time

Range: 0 254
Unit: minute

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure PW optional properties:
ZXAN(gpon-onu-mng)#pw optional ces_0/1 service-type basic-unstructure

Related Commands
None

Related Information
1. To configure a PW link, the relevant command flow is: pw rtp -> pw ip (pw ethernet)
-> pw tdm -> pw optional (optional).
2. Only creating a PW link and deleting a PW link is supported. The pw delete command
is used to delete all PW link configurations.

20.4.55 pw rtp
Syntax
pw rtp ces_slot/port payload-ssrc ssrc signalling-ssrc ssrc payload-ptype payload-type signallin
g-ptype payload-type {[clock-reference multiplesOf8kHz timestamp-mode {unknown | absolute
| differential}] [expected-payload-ptype payload-type expected-signalling-ptype payload-type]
[expected-payload-ssrc ssrc expected-signalling-ssrc ssrc] [rtp-ts-mode {absolute | differential
| unknow}]}

Purpose
To configure PW RTP properties
20-162
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ces_slot/port

CES user port

payload-ssrc ssrc

Payload SSRC

Range: 0 4294967295

signalling-ssrc ssrc

Signaling SSRC

Range: 0 4294967295

payload-ptype

Payload type of payload channel

signalling-ptype payload-type

Payload type of signaling type

clock-reference multiplesOf8kHz

Clock reference

timestamp-mode {unknown |

Time stamp mode

Multiples of 8kHz

expected-payload-ptype

The expected payload type of

payload-type

payload channel

expected-signalling-ptype

The expected payload type of

payload-type

signaling channel

expected-payload-ssrc ssrc

The expected SSRC of payload

absolute | differential}

channel
expected-signalling-ssrc ssrc

The expected SSRC of signaling

channe
rtp-ts-mode {absolute |

RTP time stamp mode

Default: unknow

differential | unknow}

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure PW RTP properties:
ZXAN(gpon-onu-mng)#pw rtp ces_0/1 payload-ssrc 2
signalling-ptype 0

signalling-ssrc 3 payload-ptype 4

expected-payload-ptype 0 expected-signalling-ptype 4

clock-reference 2 rtp-ts-mode absolute

Related Commands
None

Related Information
1. To configure a PW link, the relevant command flow is: pw rtp -> pw ip (pw ethernet)
-> pw tdm -> pw optional (optional).

20-163
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

2. Only creating a PW link and deleting a PW link is supported. The pw delete command
is used to delete all PW link configurations.

20.4.56 pw tdm
Syntax
pw tdm ces_slot/port payloadsize size [payload-delay time-in-ms] timing-mode {network-timi
ng | differential-timing | adaptive-timing | loop-timing} [tdm-profile profile-name]

Purpose
To configure PW TDM properties

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ces_slot/port

CES user port

payloadsize size

Payload size

payload-delay time-in-ms

Payload delay

timing-mode {network-timing

Timing mode

TDM profile

| differential-timing |
adaptive-timing | loop-timing}
tdm-profile profile-name

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure PW TDM properties:
ZXAN(gpon-onu-mng)# pw tdm ces_0/1 payloadsize 32 timing-mode differential-timing

Related Commands
None

20.4.57 pw delete
Syntax
pw delete ces_slot/port

20-164
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Purpose
To delete PW

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ces_slot/port

CES user port

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to delete a PW:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#pw delete ces_0/1

Related Commands
None

20.4.58 protocol-filter
Syntax
protocol-filter ethuni eth forward { enable | disable } [ vlan vlan-list ]

Purpose
To configure protocol filtering

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni eth

Ethernet interface

vlan vlan-list

VLAN list name

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure protocol filtering :
20-165
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#protocol-filter ethuni eth_0/1 forward enable

Related Commands
None

20.4.59 proto-proc
Syntax
proto-proc ctrl Profile name [limit] Profile name
proto-proc ethuni eth_slot/port {ctrl Profile name | limit Profile name} [ctrl | limit]
proto-proc limit Profile name [ctrl] Profile name

Purpose
To configure protocol process mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

limit Profile name

Packet limit profile name

ctrl Profile name

Protocol control profile name

ethuni eth_slot/port

Ethernet interface name

Mode
ZXAN(gpon-onu-mng)#

Related Information
None

Example
The following example displays how to configure protocol process mode:
ZXAN(gpon-onu-mng)#proto-proc limit asdf ctrl asdf

Related Commands
show gpon remote-onu proto-proc

20-166
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.60 range
Syntax
range

Purpose
To display the port range in current mode

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays the port range in current mode:
ZXAN(gpon-onu-mng)#range
Portlist of the range:

gpon-onu_1/2/1:1

Related Commands
None

20.4.61 reboot
Syntax
reboot

Purpose
To reboot remote ONU

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to reboot ONU:
ZXAN(gpon-onu-mng)#reboot
ZXAN(gpon-onu-mng)#

20-167
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

20.4.62 restore
Syntax
restore

Purpose
To restore remote ONU

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to restore remote ONU:
ZXAN(gpon-onu-mng)#restore
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.63 schedule
Syntax
schedule eth_slot/port profile name
no schedule eth_slot/port profile

Purpose
To configure ONU Ethernet port scheduling and associate the scheduling to the relevant
profile

Usage Guidelines
The following table provides parameter description:

20-168
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

eth_slot/port

Ethernet user port

name

Scheduling profile name

1 31 characters

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure Ethernet port scheduling and associate
the scheduling to the relevant profile:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#schedule eth_0/1 profile test

Related Commands
None

20.4.64 ssid auth wep


Syntax
ssid auth wep wifi_slot/port {open-system [ encrypt {{ 40bit [key1 key2 key3 key4 | hexkey1 key2
key3 key4 ] | 104bit [key1 key2 key3 key4 | hexkey1 key2 key3 key4 ] } [default-key key id] | disable
}]| shared-key [key1 key2 key3 key4 | hexkey1 key2 key3 key4 ] | 104bit [key1 key2 key3 key4 |
hexkey1 key2 key3 key4 ]} [default-key key id]]}

Purpose
To set WIFI encryption including encryption method, length and key

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

{wep | wpa}

Encryption method

ONU: WPA in default

{open-system | shared-key}

wep encryption

key1 key2 key3 key4 | hexkey1

wep encryption key (four keys)

40bit: ASCII key is 5 characters

key2 key3 key4

HEX indicates the key is

while HEX is 10 characters.

hexadecimal. Otherwise it will

104 bit: ASCII key is 13

be ASCII

characters while HEX is 26


characters.

default-key key id

Default WEP key

14, in default 1

20-169
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to configure the WIFI encryption:
ZXAN(gpon-onu-mng)#ssid auth wep wifi_0/1 shared-key

Related Commands
ssid auth wpa

20.4.65 ssid auth wpa


Syntax
ssid auth wpa wifi_slot/port [{ wpa-psk | wpa2-psk | wpa-wpa2-psk}] [encrypt {wep | tkip |
wep-tkip | aes | wep-aes | tkip-aes | wep-tkip-aes }] [key { default wpa passphrase }] [key-upd
ate-interval key update interval]}

Purpose
To set the WIFI encryption including encryption method, length and key

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

wpa-psk | wpa2-psk |

All file WPA encrytpiton

In default wpa-wpa2-psk

WPA encryption algorithm

In default TKIP-AES

WPA encrytpion key. Default

863 characters

wpa-wpa2-psk
encrypt {wep | tkip | wep-tkip
| aes | wep-aes | tkip-aes |
wep-tkip-aes
key { default wpa passphrase }

means to use default key value


key update interval

WPA key update interval

1001000. In default 600

Mode
ZXAN(gpon-onu-mng)#

Example
The following example shows how to configure the WIFI encryption:
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 key default

20-170
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
None

Related Information
WPA is the default encryption method for ONU WIFI. The following are default setting:
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 wpa-wpa2-psk
encrypt tkip-aes key-update-interval 600

The encryption key recovers as default value in the following situation:


l
l

No key input during switching between WEP and WPA method


No key input in key length change under WEP method

The original key will be kept intact in the following situation:


l
l

No key input during open-system and shared-key switching under WEP method
No key input during the switch among wpa-psk, wpa2-psk and wpa-wpa2-psk.

Encryption key recovery can be realized with the following command under WPA method:
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 key default

20.4.66 service
Syntax
service name type {internet | hybrid | internet+iptv | iptv | voip} {ethuni eth_slot/port | iphost
iphost} gemport gemport-index [[cos cos] [vlan vlanid [mvlan mvlanid]] | untag]
no service name

Purpose
To configure service on the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Service name

1 31 characters, no space

type

Service type

Internet

VOIP

IPTV

Internet+IPTV

Hybrid

ethuni eth_slot/port

Ethernet interface

iphost iphost

IP host ID

1 255

20-171
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

cos cos

CoS list, separated by comma,

07

maximum 12 CoS priorities


vlan vlanid

VLAN list, separated by comma,

1 4094

maximum 12 VLAN IDs


mvlan mvlanid

MVLAN ID

untag

Map untagged service to GEM

port

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure services on the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#service 1 gemport 1 vlan 100
ZXAN(gpon-onu-mng)#service 2 gemport 2 untag

Related Commands
show gpon remote-onu service

Related Information
The service command supports creation and deletion, but no modification.
The service command supports optimized services configuration on GPON ONUs. It
conflicts with the flow and gemport commands.
On one ONUservice transparent transmission, CoS mapping, VLAN mapping ,CoS +
VLAN mapping, and port mapping conflict with each other. Only one mapping type can be
used.
On one ONU, untagged service and tagged service (CoS mapping, VLAN mapping ,CoS
+ VLAN mapping) can be coexistent.

20.4.67 sntp
Syntax
sntp time-zone time-zone master-server IPAddress slave-server IPAddress [daylight-saving-ti
me { enable| disable}][interval interval][dscp dscp]

Purpose
To configure properties of the Simple Networking Timing Protocol (SNTP)
20-172
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time-zone time-zone

Time zone

GMT-12:00 to GMT+12:00

master-server IPAddress

Master server IP address

slave-server IPAddress

Slave server IP address

daylight-saving-time{ enable|

Enable or disable

disable}

daylight-saving-time

interval interval

Interval of synchronization

1 4294967295, unit: s
Default: 86400 s

dscp dscp

DSCP of synchronization

0 255

packets

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the SNTP parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sntp time-zoon GMT+08:00 master-server 1.2.3.4 slave-server
1.2.3.5

20.4.68 switch
Syntax
switch switch_slot/switch [stp {disable | enable}] [learn {disable | enable}] [local-switch {disable
| enable}] [priority priority] [max-age seconds] [hello-time seconds] [forward-delay seconds]
[unknownMac-discard {disable | enable}] [addr-learn-depth depth]

Purpose
To configure switch information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

switch_slot/switch

Switch port

Range: 1 - 31 characters

stp {disable | enable}

Enable or disable STP

20-173
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

learn {disable | enable}

Enable or disable learn function

local-switch {disable | enable}

Enable or disable UNI port local

switch
priority priority]

MAC bridge priority

Range: 0 - 65535

max-age seconds

Maximum age of spanning tree

Range: 6 - 40 sec

item
hello-time seconds

Hello time

Range: 1 - 10 sec

forward-delay seconds

Forward delay

Range: 4 - 30 sec

unknownMac-discard {disable |

Discard unknown MAC packets

disable: Flooding

enable}

or not

enable: Discard

addr-learn-depth depth

Maximum address learn number

Range: 0 - 255

at UNI side

0: No restriction

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure switch information:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#switch switch_0/1 forward-delay 4 hello-time 1
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.69 switchport-bind
Syntax
switchport-bind switch_slot/switch {ethuni | iphost} id
no switchport-bind {ethuni | iphost} id

Purpose
To bind UNI or host to switch port

Usage Guidelines
The following table provides parameter description:
20-174
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

switch_slot/switch

Switch port

Range: 1 - 31 characters

ethuni

Ethernet port

Range: 1 - 31 characters

Format: eth_slot/port
iphost id

Host ID

Range: 1 - 255

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to bind UNI to switch port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#switchport-bind switch_0/1 ethuni eth_0/1
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.70 switchport
Syntax
switchport {flow | ethuni | iphost | veip} id [addr-learn-depth num] [stp {enable | disable}]
[path-cost path-cost] [priority priority] [lan-fcs {forward | discard}]

Purpose
To configure L2 bridge port properties

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

{flow | ethuni | iphost | veip} id

L2 bridge port ID

ethuni: eth_slot/port
Others: 1 255

addr-learn-depth num

MAC address limit

Range: 0 255
0 means no limit

stp {enable | disable}

Enable/disable STP

path-cost path-cost

Path cost

0 65535

priority priority

Port priority

0 65535

20-175
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

lan-fcs {forward | discard}

Forward/discard FCS

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure L2 bridge port properties:
ZXAN(gpon-onu-mng)#switchport ethuni eth_0/1 stp enable

Related Commands
show gpon remote-onu firewall switchport

20.4.71 synctime
Syntax
synctime

Purpose
To synchronize the start time of performance statistics

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to synchronize the start time of performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#synctime
ZXAN(gpon-onu-mng)#

Related Commands
None

20-176
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.72 sys-attr
Syntax
sys-attr {[cpu-threshold percentage] [mem-threshold percentage] }

Purpose
To configure the alarm thresholds for CPU and memory usage

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

percentage

Percentage

0 100

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the alarm thresholds for CPU and memory
usage:
ZXAN(gpon-onu-mng)#sys-attr cpu-threshold 23 mem-threshold 32

Related Commands
show gpon remote-onu sys-attr

20.4.73 security-ctrl
Syntax
security-ctrl { enable psk psk | disable }

Purpose
To configure security control

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

psk psk

Pre-shared key

32 characters

20-177
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure security control:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#security-ctrl enable psk 1234567890123456789012

Related Commands
None

20.4.74 security-mng
Syntax
security-mng id [ ingress-type ingress-type ] [ mode mode ] [ start-src-ip start-src-ip end-src-ip
end-src-ip ] [ state state ][ protocol {[ protocol1 ] [ protocol2 ] [ protocol3 ]}]

Purpose
To configure remote security control properties

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

Port ID

Range: 1 65535

ingress-type ingress-type

Ingress type

iphost

lan

wan

discard

permit

mode mode

Control mode

start-src-ip start-src-ip end-src-ip

Start IP and end IP of the control

end-src-ip

source

state state

Control state

protocol protocol

A.B.C.D

enable

disable

Control protocol (The multiple

ftp

protocols are supported.)

telnet

web

Mode
ZXAN(gpon-onu-mng)#
20-178
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to configure remote security control properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#security-mng 1 ingress-type lan mode discard start-src-ip
10.2.3.4 end-src-ip 10.2.3.254 state enable protocol ftp telnet web

Related Commands
None

20.4.75 sip-agent reg-exptime


Syntax
sip-agent agent-id reg-exptime time [rereg-starttime time]

Purpose
To configure SIP agent authentication overtime

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

agent-id

SIP agent ID

Range: 0 65,535

reg-exptime time

Authentication overtime

Range: 0 42,949,672,955
Unit: sec

rereg-starttime time

Start time of re-authentication

Range: 0 42,949,672,955
Unit: sec

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure SIP agent authentication overtime:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 reg-exptime 100 rereg-starttime 100

Related Commands
None

20-179
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.76 sip-agent registrar-server


Syntax
sip-agent agent-id registrar-server {IP | URL}

Purpose
To specify the authenctication server of SIP agent

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

agent-id

Agent ID

Range: 0 65,535

{IP | URL}

Authentication server, which is

IP or URL

the same as the proxy-server by

0 128 characters

default if it is not specified

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to specify the authenctication server of SIP agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 registrar-server 10.1.1.1

Related Commands
None

20.4.77 sip-agent rereg-starttime


Syntax
sip-agent agent-id rereg-starttime time

Purpose
To configure the re-authentication start time of SIP agent

Usage Guidelines
The following table provides parameter description:

20-180
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

agent-id

Agent ID

Range: 0 65,535

rereg-starttime time

Re-authentication start time

Range: 0 42,949,672,955
Unit: sec

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the re-authentication start time of SIP
agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 rereg-starttime 1223

Related Commands
None

20.4.78 sip-agent proxy-server


Syntax
sip-agent agent-id proxy-server {IP | URL} [outbound-proxy{IP | URL}] primary-dns address
[secondary-dns address]tcpudp-port tcp-udp-port [host host-id]
no sip-agent agent-id

Purpose
To create a SIP agent and associate the agent with TCP/UDP port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

agent-id

Agent ID

Range: 0 65,535

proxy-server {IP | URL}

Proxy server

IP or URL
0 128 characters

outbound-proxy{IP | URL}

Outbound proxy, which is the

IP or URL

same as the proxy-server by

0 128 characters

default if it is not specified


primary-dns address

The primary DNS

Decimal numbers

secondary-dns address

The secondary DNS

Decimal numbers

20-181
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

tcpudp-port tcp-udp-port

TCP/UDP port

Range: 0 65,535

host host-id

The host ID

Range: 1 255

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to create a SIP agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 proxy-server 1.1.1.1 outbound-proxy 2.2.2.2
primary-dns 3.3.3.3 tcpudp-port 100

Related Commands
None

20.4.79 sip-agent ss
Syntax
sip-agent agent-id ss softswitch-vendor

Purpose
To configure the SS vendor of SIP agent

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

agent-id

Agent ID

Range: 0 65,535

softswitch-vendor

SS vendor

0 4 characters

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the SS vendor of SIP agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 ss ZTE

20-182
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
None

20.4.80 sip-agent validate


Syntax
sip-agent agent-id validate {disable | md5 | basic} [username name password password] [realm
realm]

Purpose
To configure the validation mode of SIP agent and the relevant parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

agent-id

Agent ID

Range: 0 65,535

validate {disable | md5 | basic}

Validation mode

md5

basic

disable

username name

User name

0 128 characters

password password

Password

0 25 characters

realm realm

Domain

0 25 characters

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the validation mode of SIP agent and
relevant parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 validate basic username zte password zte

Related Commands
None

20-183
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.81 sip-user
Syntax
sip-user pots_slot/port sip-agent agent-id user-aor aor [display-name name] [username name
password password]
sip-user pots_slot/port vmail-validate {disable | md5 | basic}] {vmail-username name vmail-pa
ssword password | vmail-realm realm }
sip-user pots_slot/port dial-plan dial-plan-name
sip-user pots_slot/port {[ vmail-server {IP | URL} ][vmail-exptime time] [release-time time][roh
-time time] }
sip-user pots_slot/port release-time time [roh-time time]
no sip-user pots_slot/port

Purpose
To create a SIP user and associate with POTS UNI, SIP Agent

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pots_slot/port

POTS port

0 31 characters

sip-agent agent-id

SIP agent ID

Range: 0 65,535

user-aor aor

User AOR

0 128 characters

display-name name

Display name

0 25 characters

username name

User name

0 25 characters

password password

Password

0 25 characters

vmail-server {IP | URL}

Voice mailbox server

IP or URL
0 128 characters

vmail-validate{disable | md5 |

Voice mailbox enable type

basic}

md5

basic

disable

vmail-username name

Voice mailbox user name

0 25 characters

vmail-password password

Voice mailbox password

0 25 characters

vmail-exptime time]

Voice mailbox overtime

Range: 0 42,949,672,955
Unit sec

vmail-realm realm

Voice mailbox realm

0 25 characters

dial-plan dial-plan-name

Dial plan name

1 63 characters

20-184
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

service-profile profile-id

Service profile ID, shared with

Range: 0 65,535

ONU
release-time time

Release time

Range: 0 255
Unit sec

roh-time time

ROH time

Range: 0 255
Unit sec

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to create a SIP user:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#sip-user pots_4/1 sip-agent 1 user-aor sip1
ZXAN(gpon-onu-mng)#sip-user pots_4/1 sip-agent 1 user-aor sip1

Related Commands
None

20.4.82 sip-service
Syntax
sip-service pots_slot/port profile profilename userid userid [username name password passwor
d][display-name name][vmail-server {ip | url}][vmail-validate{disable | basic username userna
me password password | md5 username username password password realm realm}][vmail-su
bscript-time time]

Purpose
To configure POTS SIP service

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pots_slot/port

POTS port

1 64 characters

profile profilename

Profile name

1 64 characters

userid userid

User ID

1 128 characters

20-185
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

username name password

User name and password

1 25 characters

display-name name

Display name

1 25 characters

vmail-server {IP | URL}

Voice mailbox server

IP or URL

password

1 128 characters
vmail-validate{disable | md5 |

Voice mailbox validation type

basic}

md5

basic

disable

Default: disable
vmail-subscript-time time

Voice mailbox subscribe period

Range: 0 42,949,672,955
Unit sec
Default: 3600 sec

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure POTS SIP service:
ZXAN(gpon-onu-mng)#sip-service pots_0/1 profile test1 userid 68895000
username 5000 password 5000 display-name ztesh vmail-server 10.63.10.1
vmail-validate md5 username test password test realm test vmail-subscript-time 7200

Related Commands
show gpon remote-onu sip-service

20.4.83 test
Syntax
test

Purpose
To test ONU

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#
20-186
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Example
The following example displays how to test ONU:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#test
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.84 tr069-mgmt
Syntax
tr069-mgmt veipid [state { lock | unlock }] [acs IP/URL validate {disable | basic username name
password password | md5 username name password password realm realm}] [tag pri pri vlan
vlanid | untag]
no tr069-mgmt veipid acs

Purpose
To configure parameters of TR069 management channel

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

veipid

Virtual Ethernet Interface Point

1 255

(VEIP) ID
state {lock | unlock}

To lock or unlock the

Default: lock

management channel
acs IP/URL

Auto-Configuration Server

(ACS) IP address
validate {disable| basic username

ACS validation mode

name password password |

disableno need to
validate

md5 username name password


password

Default: disable

basicbasic validation

md5MD5 validation

tag

Tag mode

pri pri

Priority

07

vlan vlanid

VLAN ID

1 4094

untag

Untag mode

Default: untag

20-187
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure parameters of TR069 management
channel:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#tr069-mgmt 1 state unlock
ZXAN(gpon-onu-mng)#tr069-mgmt 1 acs 10.63.10.1 validate basic username zte password zte
ZXAN(gpon-onu-mng)#tr069-mgmt 1 tag pri 5 vlan 100

Related Commands
show gpon remote-onu tr069-mgmt

20.4.85 up-queue-map
Syntax
up-queue-map flow flowid priority-list queue queue id
no up-queue-map flow flowid

Purpose
To configure GPON ONU upstream queue map

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flow

User network interfaces

flowid

Flow ID

Range: 1 - 255

priority-list

Priority list

Range: 0 - 7

queue queue id

Queue ID

Range: 0 - 7

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure GPON ONU upstream queue map:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1

20-188
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


ZXAN(gpon-onu-mng)#up-queue-map flow 1 1 queue 7
ZXAN(gpon-onu-mng)#

Related Commands
None

Related Information
l
l

Before executing this command, it is required to create the relevant flow or 802.1p
connection at UNI or upstream port.
queue queue id is upstream priority queue ID. It ranges from 0 to 7. The real queue
number depends on ONU. Queue 1 has the highest priority. The larger the queue ID,
the lower is the priority.
Queue 0 indicates the highest priority queue of T-CONT.

20.4.86 vlan port mode


Syntax
vlan port port mode{transparent | trunk | tag[vlan vlanid][priority priority | hybrid[def-vlan
vlanid][def-prio priorityid]}

Purpose
To configure VLAN port mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port

Ethernet port

eth_slot/port

mode{transparent | trunk | tag|

Port mode

transparent

trunk

tag

hybrid

hybrid}

priority priority

Priority

Range: 0 7

vlan vlanid

VLAN ID

Range: 1 4094

def-vlan vlanid

Default VLAN ID

Range: 1 4094

def-prio priorityid

Default priority

Range: 0 7

Mode
ZXAN(gpon-onu-mng)#
20-189
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure VLAN port mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 mode trunk
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.87 vlan port vlan


Syntax
vlan port port vlan vlanid
no vlan port port vlan vlanid

Purpose
To configure the binding between a VLAN and a port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port

Ethernet port

For example: eth_slot/port

vlan vlanid

VLAN ID

Range: 1 4094

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the binding between a VLAN and a port:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 VLAN 1

Related Commands
show gpon remote-onu vlan port

20-190
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.88 vlan port translate


Syntax
vlan port port translatevlan vlanid[priority priority][cvlan cvlanid [cvlan-prio priority]][svlan
svlanid][svlan-prio priority]
no vlan port port translatevlan vlanid[priority priority]

Purpose
To configure VLAN translate rule

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port

Ethernet port

For example: eth_slot/port

priority priority

Priority

Range: 0 7

vlan vlanid

VLAN ID

Range: 1 4094

cvlan cvlanid

CVLAN ID

Range: 1 4094

cvlan-prio priority

CVLAN priority

Range: 0 7

svlan svlanid

SVLAN ID

Range: 1 4094

svlan-prio priority

SVLAN priority

Range: 0 7

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure VLAN translate rule:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 translate vlan 100 cvlan 200 svlan 300
ZXAN(gpon-onu-mng)#

Related Commands
show gpon remote-onu vlan translate

20-191
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.89 vlan-filter-mode
Syntax
vlan-filter-mode {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port} tag-filter
{transparent | discard | forward | prio-filter | vid-filter | prio-vid-filter | prio-match | vid-ma
tch | prio-vid-match} untag-filter {transparent | discard}
no vlan-filter-mode {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port}

Purpose
To configure VLAN filter mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni eth_slot/port

Ethernet card slot number and

Range: 1 - 31 characters

port number
iphost hostid

Host ID

Range: 1 - 255

veip veipid

Virtual Ethernet interface

Range: 1 - 255

wifi wifi_slot/port

Wifi port

Range: 1 - 31 characters

tag-filter

Flow filter mode for tagged

frames
transparent

Transparent forwarding

according to layer 2 address


discard

Discard unconditionally

forward

Forward unconditionally

prio-filter

Filter according to 802.1p

priority; forward unmatched


frames according to layer 2
address
vid-filter

Filter according to vid; forward

unmatched frames according to


layer 2 address
prio-vid-filter

Filter according to 802.1p

priority and vid; forward


unmatched frames according to
layer 2 address

20-192
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

prio-match

Filter according to 802.1p

priority; discard unmatched


frames
vid-match

Filter according to vid; discard

unmatched frames
prio-vid-match

Filter according to 802.1p

priority and vid; discard


unmatched frames
untag-filter

Flow filter mode for untagged

frames

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure VLAN filter mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan-filter-mode ethuni eth_0/1 tag-filter
discard untag-filter transparent
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.90 vlan-filter
Syntax
vlan-filter {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port} [priority priority
vid vid
no vlan-filter {ethuni eth_slot/port | iphost hostid | veip veipid | wifi wifi_slot/port} [priority
priority vid vid

Purpose
To configure VLAN filter

Usage Guidelines
The following table provides parameter description:
20-193
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

ethuni eth_slot/port

Ethernet card slot number and

Range: 1 - 31 characters

port number
iphost hostid

Host ID

Range: 1 - 255

veip veipid

Virtual Ethernet interface

Range: 1 - 255

wifi wifi_slot/port

Wifi port

Range: 1 - 31 characters

priority priority

Filter priority

Range: 0 - 7

vid vid

Filter VLAN ID

Range: 1 - 4094

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure VLAN filter:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#vlan-filter ethuni eth_0/1 priority 0 vid 10
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.91 veip
Syntax
veip id [ inter-domain inter-domain ] [ port [ tcp | udp ] port ] [ state state ]

Purpose
To configure ONU virtual Ethernet interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

MAC bridge ID

Range: 1 255

inter-domain inter-domain

The MAC bridge enables STP

algorithm or not
port [ tcp | udp ] port

Port (protocol) number

Range: 1 65535

20-194
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

state state

State

lock

unlock

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure ONU virtual Ethernet interface:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#veip 1 port tcp 100 host 1 state lock
ZXAN(gpon-onu-mng)#

Related Commands
None

20.4.92 voip
Syntax
voip protocol {h248 | mgcp | none | sip}

Purpose
To configure VoIP protocol

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

h248

H.248 protocol

mgcp

MGCP

none

None

sip

SIP

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure VoIP protocol:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1

20-195
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(gpon-onu-mng)#voip protocol mgcp

Related Commands
None

20.4.93 voip-ctp
Syntax
voip-ctp pots_slot/port [signal {loop-start | groud-start | loop-reverse-battery | coin-fist | dialtone-first | multi-party}] | [media-profile profile-name] | [mgc mgc-index]
no voip-ctp pots_slot/port

Purpose
To configure VoIP voice CTP and associate the user data to POTS UNI

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pots_slot/port

POTS port number

0 31 characters

signal

Mode of transmitting signals

loop-start

groud-start

loop-reverse-battery

coin-fist

dial-tone-first

multi-party

media-profile profile-name

Media profile name

0 63 characters

mgc mgc-index

MGC index

Range: 1 65535

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure VoIP voice CTP:
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:1
ZXAN(gpon-onu-mng)#voip-ctp pots_0/1 signal multi-party

Related Commands
None
20-196
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.94 voip-ip
Syntax
voip-ip [ media ] mode dchp [ id id ] vlan-profile vlan-profile name [ slot slotno ] [ host hostId ]
voip-ip [ media ] mode static ip-profile ip-profile name ip ip-address mask mask vlan-profile
vlan-profile name [ slot slotno ] [ host hostId ]
voip-ip [ media ] mode pppoe [ mode { auto | chap | pap } ] username username password
password ] vlan-profile vlan-profile name [ slot slotno ] [ host hostId ]
voip-ip [ media ] [ ping-response { enable | disable } [ traceroute-response { enable | disable }
] [ slot slotno ] [ host hostId ]

Purpose
To configure VoIP IP address mode on the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profile name

Profile name

1 64 characters

svlan svlan

SVLAN ID

1 4094

cvlan cvlan

CVLAN ID

1 4094

priority priority

Priority

07

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure the VoIP IP address mode on the ONU:
ZXAN(gpon-onu-mng)#voip-ip mode pppoe mode chap username zte password zte
vlan-profile 20110921

Related Commands
None

20.4.95 weight
Syntax
weight tcont tcontId queue queue-number weight
20-197
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure T-CONT weight

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

tcontId

T-CONT ID

Range: 1 256

queue-number

Queue number

Range: 1 4

weight

Weight

Range: 0 255

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure T-CONT weight:
ZXAN(gpon-onu-mng)#weight tcont 1 queue 1 30

Related Commands
None

20.4.96 show mpnat cfg-table


Syntax
show mpnat cfg-table {summary | static | dynamic | all}

Purpose
To display NAT configuration table information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

summary

Summary of occupied items and

idle items
static

Static configured items

dynamic

Dynamic configured items

all

All configured items

20-198
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode except ZXAN>

Example
The following example displays NAT configuration table information:
ZXAN# show mpnat cfg-table all

OutGlbIp

InGlbPort InRmtIp

InLclIp

InLclPort Type

OnuI

nterface
------------------------------------------------------------------------------0.0.0.0

9999

6.6.7.1

6.6.7.2

static

ZXAN# show mpnat cfg-table summary

Used Num

: 1

Unused Num

: 63

Static entry num : 1


Dynamic entry num: 0

Related Commands
None

20.4.97 show mpnat trans-table


Syntax
show mpnat trans-table {summary | all | service-port portno | onu onu_shelf/slot/oltId:onuId}

Purpose
To display NAT transfer table information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

summary

Summary of occupied items and

idle items
all

All transferred items

service-port

Display the transferred items of

Range: 0-7000

a service port
onu_shelf/slot/oltId:onuId

Display the transferred items of

a specified ONU
20-199
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except ZXAN>

Example
The following example displays NAT transfer table information:
ZXAN# show mpnat trans-table all

Entry:

113043736

OutGlbMac :

0:21:97:ef:28:3c

InLclMac :

0:d0:d0:12:34:56

InGlbMac

0:d0:d0:44:44: 8

InRmtMac :

0: 1: c: d: 0:ab

OutGlbIp

: 10.63.194.82

InLclIp

: 6.6.7.2

InGlbIp

: 10.63.194.84

InRmtIp

: 6.6.7.1

OutGlbPort: 2806

InLclPort: 2806

InGlbPort : 9999

InRmtPort: 9999

OnuInterface:
OuterIfName:mng1

RecvOuterPkt

: 15

RecvInnerPkt

: 14

Snd2InnerPkt

: 15

Snd2OuterPkt

: 14

Snd2InnerFailPkt: 0

Snd2OuterFailPkt: 0

ZXAN# show mpnat trans-table summary

Used Num

: 1

Unused Num

: 1023

Related Commands
None

20.4.98 show gpon remote-onu auto-shutdown


Syntax
show gpon remote-onu auto-shutdown gpon-onu_shelf/slot/olt:onu

Purpose
To query GPON ONU auto-shutdown configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

20-200
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode

Example
The following example displays how to query auto-shutdown parameters:
ZXAN(gpon-onu-mng)#show gpon remote-onu auto-shutdown gpon-onu_1/1/1:1
hold-time: 60(s)
revert-time: 15(s)

Related Commands
auto-shutdown

20.4.99 show gpon remote-onu broadcast-limit


Syntax
show gpon remote-onu broadcast-limit { cpu | ethuni eth_slot/port } gpon-onu_shelf/slot/olt:onu
[ eth_slot/port ]

Purpose
To display ONU broadcast limit

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

eth_slot/port

Ethernet interface name

Mode
Any mode except ZXAN>

Example
The following example displays broadcast limit on the ONU Ethernet interface:
ZXAN(gpon-onu-mng)#$emote-onu broadcast-limit ethuni gpon-onu_1/1/1:1 eth_0/1

UNI Port:

eth_0/1

Limit Rate:

200

Related Commands
broadcast-limit
20-201
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.100 show gpon remote-onu capability


Syntax
show gpon remote-onu capability gpon-onu_shelf/slot/oltId:onuid

Purpose
To show the ONU capacity information, including the ONU type, priority queue quantity,
and port quantity

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

Mode
ZXAN(config-if)#

Example
The following example displays the ONU capacity information:
ZXAN(config-if)#show gpon remote-onu capability gpon-onu_1/1/5:1
TCONT number:

GEMPort number:

Total priority queue number: 0


Up priority queue number:

Down priority queue number:

Traffic scheduler number:

Traffic management option:

N/A

Total UNI number:

Ethernet UNI number:

CES UNI number:

POTS UNI number:

Video UNI number:

WiFi UNI number:

IP host number:

VEIP number:

Operation Id:

N/A

CTC spc version:

N/A

ONU type:

N/A

Tx power supply control:

N/A

(GE:0

FE:0)

20-202
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.101 show gpon remote-onu cfm mep


Syntax
show gpon remote-onu cfm mep gpon-onu_shelf/slot/olt:onu [eth_slot/port]

Purpose
To display MEP information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


eth_slot/port

Ethernet user port

Mode
Any mode except ZXAN>

Example
The following example displays MEP information:
ZXAN(gpon-onu-mng)#show gpon remote-onu cfm mep gpon-onu_1/1/1:1
interface: eth_0/1
MEP ID111
MEP CCMenable
MEP serverdisable
MEP AISdisable
MEP directiondown
MEP stateunlock
MEP CCM priority7
Peer MEP ID222
Peer MEP MAC00d0.d001.0101
MA primary VLAN100
MA normal VLAN200,300
MA CCM interveal1s
MD nameCTC0123456789
MD level0

Related Commands
None

20-203
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.102 show gpon remote-onu dhcp-ip


Syntax
show gpon remote-onu dhcp-ip ethuni gpon-onu_shelf/slot/olt:onu [eth_slot/port]

Purpose
To display DHCP IP address allocation mode on ONU Ethernet interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

eth_slot/port

Ethernet interface name

Mode
Any mode except ZXAN>

Example
The following example displays DHCP IP address allocation mode on the ONU Ethernet
interface:
ZXAN(config)#show gpon remote-onu dhcp-ip ethuni gpon-onu_1/1/1:1

interface: eth_0/1
DHCP IP obtain contrl mode :no control

interface: eth_0/2
DHCP IP obtain contrl mode :no control

interface: eth_0/3
DHCP IP obtain contrl mode :no control

interface: eth_0/4
DHCP IP obtain contrl mode :no control

interface: eth_0/5
DHCP IP obtain contrl mode :no control

interface: eth_0/6
DHCP IP obtain contrl mode :no control

20-204
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
dhcp-ip ethuni

20.4.103 show gpon remote-onu dhcp-option60


Syntax
show gpon remote-onu dhcp-option60 gpon-onu interface

Purpose
To show the ONU option60

Usage Guidelines
None

Mode
All modes except user mode

Example
The following example shows the ONU option60:
ZXAN#show gpon remote-onu dhcp-option60 gpon-onu_1/1/1:1
Option60 status: disable

Related Commands
None

20.4.104 show gpon remote-onu dot1p-map


Syntax
show gpon remote-onu dot1p-map flow gpon-onu_shelf/slot/olt:onu [id]

Purpose
To display the 802.1p mapping information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flow

Flow

20-205
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Flow ID

Range: 1 - 255

Mode
Any mode except user mode

Example
The following example displays the 802.1p mapping information:
ZXAN#show gpon remote-onu dot1p-map flow gpon-onu_1/1/1:1 1
ZXAN#

Related Commands
None

20.4.105 show gpon remote-onu equip


Syntax
show gpon remote-onu equip gpon-onu_shelf/slot/oltId:onuid

Purpose
To show the ONU properties, including the administrative status, battery backup, security
mode, equipment ID, OMCC version, startup time, and operation time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

Mode
Any mode except the ZXAN> mode

Example
The following example displays the ONU properties:
ZXAN(config)#show gpon remote-onu equip gpon-onu_1/1/1:1

Vendor ID:

20-206
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


Version:
SN:

00000000

Admin status:

unlock

Battery backup:

false

Security Mode:

aes

Product code:

TotalPrioQueueNum:

TotalTrafficSchNum:

TrafficMgmtOption:

priority-controlled

OperState:

enable

EquipID:
OMCC Version:

Security Capability: null


Model:
Survival time:

N/A

TotalGemPortNum:

N/A

SysUpTime:

N/A

20.4.106 show gpon remote-onu ex-vlan


Syntax
show gpon remote-onu ex-vlan {flow | ethuni | switchport} gpon-onu_shelf/slot/olt:onu [id]

Purpose
To display the remote ONU extended VLAN information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

Extended VLAN information

about Ethernet port


flow

ONU extended VLAN

information in ANI
switchport

Extended VLAN information

about switch port


gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Port ID

Mode
Any mode except user mode
20-207
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the remote ONU extended VLAN information:
ZXAN#show gpon remote-onu ex-vlan ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#

Related Commands
None

20.4.107 show gpon remote-onu ex-vlan-table


Syntax
show gpon remote-onu ex-vlan-table {flow | ethuni | switchport} gpon-onu_shelf/slot/olt:onu
[id] [rule rule-name]

Purpose
To display the GPON remote ONU extended VLAN table information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

Extended VLAN information

about Ethernet port


flow

ONU extended VLAN in ANI

switchport

Extended VLAN information

about switch port


gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Port ID

rule rule-name

Filter rule profile name

Range: 1 - 64 characters

Mode
Any mode except user mode

Example
The following example displays the GPON remote ONU extended VLAN table information:
ZXAN#show gpon remote-onu ex-vlan-table ethuni gpon-onu_1/1/1:1
eth_0/1
ZXAN#

20-208
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Related Commands
None

20.4.108 show gpon remote-onu flow


Syntax
show gpon remote-onu flow gpon-onu_shelf/slot/olt:onu [flowid]

Purpose
To display the remote ONU flow information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


flowid

Flow ID

Range: 1 - 255

Mode
Any mode except user mode

Example
The following example displays the remote ONU flow information:
ZXAN#show gpon remote-onu flow gpon-onu_1/1/1:1 1
ZXAN#

Related Commands
None

20.4.109 show gpon remote-onu gemport


Syntax
show gpon remote-onu gemport gpon-onu_shelf/slot/olt:onu [queue-map] [gemportid]

Purpose
To display GEM port information
20-209
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


gemportid

GEM port ID

queue-map

Queue mapping relationship

Mode
Any mode except ZXAN>

Example
The following example displays GEM port information:
ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_1/2/3:1 1
Gemport:

Traffic limit:
ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_1/2/3:1 queue-map 1
Gemport ID:

Upstream queue map(prio->queue):0->3 1->3 2->3 3->3 4->3 5->3 6->3 7->3
Downstream queue:

UNI name:

eth_0/1

Related Commands
None

20.4.110 show gpon remote-onu igmp


Syntax
show gpon remote-onu igmp gpon-onu_shelf/slot/olt:onu [eth_slot/port]

Purpose
To display IGMP information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


20-210
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode except ZXAN>

Example
The following example displays IGMP information:
ZXAN(gpon-onu-mng)#show gpon remote-onu igmp gpon-onu_1/2/3:1 eth_0/1
Interface:

eth_0/1

Max-groups:

Max-bandwidth:

Bandwidth-enforce: disable
Profile:

test

Related Commands
None

20.4.111 show gpon remote-onu interface


Syntax
show gpon remote-onu interface {eth | pots | ces | video | video-ani | pon | wifi} gpon-onu_sh
elf/slot/olt:onu [id]

Purpose
To display the remote ONU interface property and statistics information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

eth

Ethernet interface information

pots

POTS interface information

ces

CES interface information

video

Interface video information

video-ani

Access network interface video

information
pon

PON interface information

wifi

WiFi interface information

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Port ID

20-211
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays the remote ONU interface property and statistics
information:
ZXAN#show gpon remote-onu interface eth gpon-onu_1/1/1:1 eth_0/1
interfece:

eth_0/1;

admin status:

unlock;

operate status: enable;


speed status:
arc:0,

full-100;

arc-interval 0;

expect-type:

0;

speed config:

auto;

eth-loop:

noloop

max-frame:

1518;

pause-time:

wiring :

dce

bridgeOrIP:

either

pppoe-filter:

disable

power-control: disable
ZXAN#

Related Commands
None

20.4.112 show gpon remote-onu ip-host


Syntax
show gpon remote-onu ip-host gpon-onu_shelf/slot/olt:onu [hostId]

Purpose
To display ONU host IP address configuration information

Usage Guidelines
The following table provides parameter description:

20-212
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


ONU host ID

hostId

Range: 0 255

Mode
Any mode except ZXAN>

Example
The following example displays ONU host IP address configuration information:
ZXAN#show gpon remote-onu ip-host gpon-onu_1/1/1:1 1
host id:

1;

hostName:

identify:

test;

ip:

10.1.1.1;

mask:

255.255.255.0;

gateway:

10.61.54.254;

primary DNS:

192.168.1.1;

second DNS:

192.168.1.10;

dhcp-enable:

true;

ping-response:

true;

traceroute-response:true;
mac:

00:00:00:00:00:00;

curIp:

0.0.0.0;

curMask:

0.0.0.0;

curGateway:

0.0.0.0;

curPriDNS:

0.0.0.0;

curSecDNS:

0.0.0.0;

domainName:

Related Commands
ip-host

20.4.113 show gpon remote-onu ip-service-map


Syntax
show gpon remote-onu ip-service-map gpon-onu_shelf/slot/olt:onu [ serviceID ]

Purpose
To display IP service map of the ONU

20-213
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

serviceID

Service ID

Range: 1 24

Mode
Any mode except ZXAN>

Example
The following example displays IP service map of the ONU:
ZXAN(gpon-onu-mng)#show gpon remote-onu ip-service-map gpon-onu_1/1/1:1

Service id:

host id:

Related Commands
ip-service-map

20.4.114 show gpon remote-onu ip route


Syntax
show gpon remote-onu ip route gpon-onu_shelf/slot/oltId:onuid

Purpose
To show the ONU IP route information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

Mode
ZXAN(config-if)#

Example
The following example displays the ONU IP route information:
ZXAN(config-if)#show gpon remote-onu ip route gpon-onu_1/1/5:1

20-214
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.115 show gpon remote-onu loop-detect


Syntax
show gpon remote-onu loop-detect ethuni gpon-onu_shelf/slot/olt:onu

Purpose
To query GPON ONU loop-detect configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

ONU Ethernet UNI

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

Mode
Any mode

Example
The following example displays how to query loop-detect configuration:
ZXAN(gpon-onu-mng)#show gpon remote-onu loop-detect ethuni gpon-onu_1/1/1:1

Interface:

eth_0/1

Loop detect: enable

Interface:

eth_0/2

Loop detect: disable

Interface:

eth_0/3

Loop detect: disable

Interface:

eth_0/4

Loop detect: disable


ZXAN(gpon-onu-mng)#

Related Commands
loop-detect

20-215
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.116 show gpon remote-onu mac-filter


Syntax
show gpon remote-onu mac-filter {flow | ethuni | iphost} gpon-onu_shelf/slot/olt:onu [id]

Purpose
To display the MAC address filter configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

Ethernet port

flow

Flow

iphost

IP host

A.B.C.D

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Port ID

Mode
Any mode except user mode

Example
The following example displays the MAC address filter information:
ZXAN#show gpon remote-onu mac-filter ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#

Related Commands
None

20.4.117 show gpon remote-onu mgc


Syntax
show gpon remote-onu mgc gpon-onu_shelf/slot/olt:onu [mgcid]

Purpose
To display the performance alarm information
20-216
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


mgcid

MGC ID

Range: 1 65535

Mode
Any mode except ZXAN>

Example
The following example displays the performance alarm information:
ZXAN(config)#show gpon remote-onu mgc gpon-onu_1/1/1:64

Related Commands
None

20.4.118 show gpon remote-onu port-map


Syntax
show gpon remote-onu port-map gpon-onu_shelf/slot/oltId:onuid slotId

Purpose
To show the port location of the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

slotId

ONU slot number

0 255

Mode
Any mode except the ZXAN> mode

Example
The following example displays the port location of the ONU:
ZXAN#show gpon remote-onu port-map gpon-onu_1/1/1:1 slot 3

20-217
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.119 show gpon remote-onu power-shedding


Syntax
show gpon remote-onu power-shedding gpon-onu_shelf/slot/oltid:onuid

Purpose
To show ONU power shedding information

Usage Guidelines
The following table provides parameter description:
Parameter
gpon-onu_shelf/slot/oltid:onuid

Description

Value

OLT shelf number, slot number,

port number, and ONU number

Mode
Any mode except ZXAN>

Example
The following example displays ONU power shedding information:
ZXAN#show gpon remote-onu power-shedding gpon-onu_1/1/1:1

Related Commands
None

20.4.120 show gpon remote-onu pw


Syntax
show gpon remote-onu pw gpon-onu_shelf/slot/olt:onu [ces_slot/port]

Purpose
To display PW configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface name

ces_slot/port

CES user port

20-218
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode except ZXAN>

Example
The following example displays PW configuration information:
ZXAN# show gpon remote-onu pw gpon-onu_1/1/1:1

Related Commands
None

20.4.121 show gpon remote-onu pkt-filter


Syntax
show gpon remote-onu pkt-filter {flow | ethuni | iphost} gpon-onu_shelf/slot/olt:onu [id]

Purpose
To display the GPON packets filter information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

Ethernet port

flow

Flow

iphost

IP host

A.B.C.D

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Port ID

Mode
Any mode except user mode

Example
The following example displays the GPON packets filter information:
ZXAN#show gpon remote-onu pkt-filter ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#

20-219
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

20.4.122 show gpon remote-onu performance


Syntax
show gpon remote-onu performance {ethuni eth_slot/port | gal-eth gemport id | gem gemportid
| switch switch_slot/port | iphost hostid | call-ctrl pots_slot/port | rtp pots_slot/port | sip-call-init
agent id | mgc mgcid | switchport [ethuni | uplink | iphost]} gpon-onu_shelf/slot/olt:onu [id]

Purpose
To display the remote ONU performance information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni eth_slot/port

ONU Ethernet port statistics

Range: 1 - 31 characters

data
gal-eth gemportid

ONU gal-Ethernet port statistics

Range: 1 - 256

data
gem gemportid

ONU GEM statistics data

Range: 1 - 256

switch switch_slot/port

ONU MAC bridge statistics data

Range: 1 - 31 characters

iphost hostid

ONU IP host statistics

Range: 1 - 255

call-ctrl pots_slot/port

ONU call control statistics data

Range: 1 - 31 characters

rtp pots_slot/port

ONU RTP statistics data

Range: 1 - 31 characters

sip-call-init agentid

ONU SIP call initialization

Range: 1 - 255

statistics data
mgc mgcid

ONU MGC statistics data

Range: 1 - 65535

switchport

ONU switch port statistics data

Keywords: ethuni, iphost, uplink


ethuni: ONU bridge port UNI
statistics data
iphost: Bridge port IP host
statistics data
uplink: ONU uplink port
statistics data

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Performance point ID

20-220
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Mode
Any mode except user mode

Example
The following example displays the remote ONU performance information:
ZXAN#show gpon remote-onu performance ethuni gpon-onu_1/1/1:1 eth_0/1
ZXAN#

Related Commands
None

20.4.123 show gpon remote-onu sip-agent


Syntax
show gpon remote-onu sip-agent gpon-onu_shelf/slot/olt:onu [agent-id]

Purpose
To display SIP agent configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


Agent ID

agent-id

Range: 0 65,535

Mode
Any mode except ZXAN>

Example
The following example displays SIP agent configuration information:
ZXAN#show gpon remote-onu sip-agent gpon-onu_1/1/1:4
agent id :

1;

proxyServer:

1.1.1.1;

outboundProxy:

2.2.2.2;

primary DNS :

3.3.3.3;

second DNS :

0.0.0.0;

regServer :

4.4.4.4;

20-221
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


regUserName:

aaa;

regPassword:

aaa;

tcpudpPort:

21;

regExpTime :

3600;

reRegStartTime:
ssVendor:
status:

1223;
ZTE;
NA;

Related Commands
sip-agent

20.4.124 show gpon remote-onu sip-service


Syntax
show gpon remote-onu sip-service gpon-onu_shelf/slot/olt:onu [pots_slot/port]

Purpose
To show POTS SIP service configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


pots_slot/port

POTS port number

0 31 characters

Mode
Any mode except ZXAN>

Example
The following example displays POTS SIP service configuration information:
ZXAN(confg-gpon)#show gpon remote-onu sip-service gpon-onu_1/1/1:1
Interface:pots_0/1
Profile:test1
User identification:68895000
Username:5000
Password:5000
Display name:ztesh
Voicemail server:10.63.10.1
Validation scheme:md5

20-222
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


Username:test
Password:test
Realm:test
Voicemaile subscription expiration time:7200s

Related Commands
None

Related Information
The command is used when VoIP is SIP. In addition, the SIP profile is already configured.

20.4.125 show gpon remote-onu sip-user


Syntax
show gpon remote-onu sip-user gpon-onu_shelf/slot/olt:onu [pots_slot/port]

Purpose
To display SIP user information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


pots_slot/port

POTS port number

0 31 characters

Mode
Any mode except ZXAN>

Example
The following example displays SIP user information:
ZXAN#show gpon remote-onu sip-user gpon-onu_1/1/1:1

Related Commands
sip-user

20-223
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

20.4.126 show gpon remote-onu ssid info


Syntax
show gpon remote-onu ssid info gpon-onu interface [wifi_slot/port]

Purpose
To show the WIFI encryption, including encryption method, length and key

Usage Guidelines
None

Mode
All modes except user mode

Example
The following example shows the WIFI encryption:
ZXAN#show gpon remote-onu ssid info gpon-onu_1/1/1:1 wifi_1/1

Related Commands
None

20.4.127 show gpon remote-onu service


Syntax
show gpon remote-onu service gpon-onu_shelf/slot/oltId:onuid

Purpose
To show the ONU service mapping type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

Mode
ZXAN(config-if)#

Example
The following example displays the ONU service mapping type:
20-224
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


ZXAN(config-if)#show gpon remote-onu service gpon-onu_1/1/5:1
Service name

Type

IfId

GemPort

Cos

Vlan

---------------------------------------------------------------1

hybrid

--

100

20.4.128 show gpon remote-onu schedule


Syntax
show gpon remote-onu schedule gpon-onu_shelf/slot/olt:onu [eth_slot/port]

Purpose
To display Ethernet port scheduling

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


eth_slot/port

Ethernet UNI

Mode
Any mode except ZXAN>

Example
The following example displays Ethernet port scheduling:
ZXAN(gpon-onu-mng)#show gpon remote-onu schedule gpon-onu_1/1/1:1
interface: eth_0/1
schedule profile nametest
interface: eth_0/2
schedule profile namedefault
interface: eth_0/3
schedule profile name

Related Commands
None

20.4.129 show gpon remote-onu switch


Syntax
show gpon remote-onu switch gpon-onu_shelf/slot_olt:onu switch_slot/switch]
20-225
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the switch configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

flow

Flow

gpon-onu_shelf/slot_olt:onu

OLT shelf number, slot number,

port number and ONU number


switch_slot/switch

Bridge port

Range: 1 - 31 characters

Mode
Any mode except user mode

Example
The following example displays the switch configuration:
ZXAN#show gpon remote-onu switch gpon-onu_1/2/1:1 switch_0/1

Switch name:

switch_0/1

STP:

true

MAC learn:

true

Port bridge:

true

Priority:

Max age:

Hello time: 1

Forword delay:4
UnknownMac discard: false
Address learn depth:0
Aging time:300

Related Commands
switch

20.4.130 show gpon remote-onu switchport


Syntax
show gpon remote-onu switchport {flow | ethuni | iphost} gpon-onu_shelf/slot/olt:onu [id]

Purpose
To display the switch port information

20-226
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

Ethernet port

flow

Flow

iphost

IP host

A.B.C.D

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number and ONU number


id

Port ID

Mode
Any mode except user mode

Example
The following example displays the switch port information:
ZXAN#show gpon remote-onu switchport ethuni gpon-onu_1/1/1:1
eth_0/1
ZXAN#

Related Commands
None

20.4.131 show gpon remote-onu test-result


Syntax
show gpon remote-onu test-result {call | iphost | mep | potsuni | pppoe} gpon-onu_shelf/slot/ol
tId:onuid

Purpose
To show the ONU test result, including the voice information, management channel, and
Ethernet information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/oltId:onuid

GPON ONU interface

20-227
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays the ONU test result:
ZXAN(config-if)#show gpon remote-onu test-result iphost gpon-onu_1/1/5:1 1

20.4.132 show gpon remote-onu test-result ipoe


Syntax
show gpon remote-onu test-result ipoe gpon-onu interface eth_slot/port

Purpose
To show the IPoE simulation test

Usage Guidelines
None

Mode
All modes except user mode

Example
The following example shows the IPoE simulation test:
ZXAN#show gpon remote-onu test-result ipoe gpon-onu_1/1/1:1 eth_slot/port

Related Commands
None

20.4.133 show gpon remote-onu up-queue-map


Syntax
show gpon remote-onu up-queue-map flow gpon-onu_shelf/slot/olt:onu [flowid]

Purpose
To display the upstream queue mapping information

Usage Guidelines
The following table provides parameter description:
20-228
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Parameter

Description

Value

uni

UNI information

gpon-onu_shelf/slot/olt:onu

GPON ONU interface name

flowid

Flow ID

1 255

Mode
Any mode except user mode

Example
The following example displays the upstream queue mapping information:
ZXAN#show gpon remote-onu up-queue-map flow gpon-onu_1/2/1:1

Flow ID

Priority :Queue

--------------------------------------------------------------2

0:1 1:1 2:1 3:0 4:1 5:3 6:2 7:3

Related Commands
None

20.4.134 show gpon remote-onu voip


Syntax
show gpon remote-onu voip gpon-onu_shelf/slot/olt:onu

Purpose
To display VoIP configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number

Mode
Any mode except ZXAN>

Example
The following example displays VoIP configuration:
20-229
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(gpon-onu-mng)#show gpon remote-onu voip gpon-onu_1/2/3:1
Protocol used:

SIP

Related Commands
None

20.4.135 show gpon remote-onu voip-ctp


Syntax
show gpon remote-onu voip-ctp gpon-onu_shelf/slot/olt:onu [pots_slot/port]

Purpose
To display VoIP voice CTP configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


pots_slot/port

POTS port

0 31 characters

Mode
Any mode except ZXAN>

Example
The following example displays VoIP voice CTP configuration:
ZXAN(config)#show gpon remote-onu voip-ctp gpon-onu_1/1/1:64

Related Commands
None

20.4.136 show gpon remote-onu voip-linestatus


Syntax
show gpon remote-onu voip-linestatus gpon-onu_shelf/slot/olt:onu [pots_slot/port]

Purpose
To display VoIP link status
20-230
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


pots_slot/port

POTS port

0 31 characters

Mode
Any mode except ZXAN>

Example
The following example displays VoIP link status:
ZXAN(config)#show gpon remote-onu voip-linestatus gpon-onu_1/1/1:64

Related Commands
None

20.4.137 show gpon remote-onu vlan


Syntax
show gpon remote-onu vlan {port | translate} gpon-onu_shelf/slot/olt:onu

Purpose
To display ONU UNIVLAN information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

ONU interface

port

UNI port VLAN information

translate

UNI VLAN translate information

Mode
Any mode except user mode

Example
The following example displays the ONU UNI VLAN information:
ZXAN(gpon-onu-mng)#show gpon remote-onu vlan port gpon-onu_1/1/1:1

20-231
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Interface

Mode

Def-vid

Def-Prio

Vlan-list

............................................................................
eth_0/1

trunk

--

--

835,838,840,851-860

The following example displays the ONU UNI VLAN translate information:
ZXAN(gpon-onu-mng)# show gpon remote-onu vlan translate gpon-onu_1/1/1:1
Interface

Vlan

Prio

CVlan

CVlan-Prio

SVlan

SVlan-Prio

............................................................................
eth_0/1

835

--

--

500

Related Commands
vlan port

20.4.138 show gpon remote-onu vlan port


Syntax
show gpon remote-onu vlan port gpon-onu_shelf/slot/olt:onu [port]

Purpose
To display the VLAN information of a user port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


port

Ethernet interface

eth_slot/port

Mode
Any mode except ZXAN>

Example
The following example displays the VLAN information of a user port:
ZXAN#show gpon remote-onu vlan port gpon-onu_1/1/1:1 eth_0/1

Related Commands
None

20-232
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands

20.4.139 show gpon remote-onu vlan translate


Syntax
show gpon remote-onu vlan translate gpon-onu_shelf/slot/olt:onu [port]

Purpose
To display port VLAN translate rule

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

OLT shelf number, slot number,

port number, and ONU number


port

Ethernet interface

eth_slot/port

Mode
Any mode except ZXAN>

Example
The following example displays port VALN translate rule:
ZXAN#show gpon remote-onu vlan translate gpon-onu_1/1/1:1 eth_0/1

Related Commands
None

20.4.140 show gpon remote-onu vlan-filter


Syntax
show gpon remote-onu vlan-filter {ethuni | iphost} gpon-onu_shelf/slot/olt:onu [id]

Purpose
To display the GPON VLAN filter information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ethuni

Ethernet port

iphost

IP host

A.B.C.D

20-233
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

ONU interface

id

Port ID

Mode
Any mode except user mode

Example
The following example displays the GPON VLAN filter information:
ZXAN#show gpon remote-onu vlan-filter ethuni gpon-onu_1/1/1:1
eth_0/1
ZXAN#

Related Commands
None

20.4.141 show gpon remote-onu weight


Syntax
show gpon remote-onu weight gpon-onu_shelf/slot/olt:onu

Purpose
To display T-CONT queue weight of the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

Mode
Any mode except ZXAN>

Example
The following example displays T-CONT queue weight of the ONU:
ZXAN(gpon-onu-mng)#show gpon remote-onu weight gpon-onu_1/1/1:1
Tcont

Queue

Weight

-------------------------------------1

255

20-234
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 20 GPON Commands


1

Related Commands
weight

20.4.142 show gpon remote-onu tr069-mgmt


Syntax
show gpon remote-onu tr069-mgmt gpon-onu_shelf/slot/olt:onu [veipid]

Purpose
To display the configuration of TR069 management channel on the ONU

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gpon-onu_shelf/slot/olt:onu

GPON ONU interface

veipid

VEIP ID

1 255

Mode
Any mode except ZXAN>

Example
The following example displays the configuration of TR069 management channel:
ZXAN(gpon-onu-mng)#show gpon remote-onu tr069-mgmt gpon-onu_1/2/1:1

VEIP ID:

Admin status:

lock

ACS:
Validation scheme: disable
Tag:

priority : 7, vlan : 4095

Related Commands
tr069-mgmt

20-235
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

20-236
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21

Multicast Commands
Table of Contents
Layer-3 Multicast Commands ...................................................................................21-1
IGMP Snooping Global Commands........................................................................21-38
IGMP Snooping Interface Commands ....................................................................21-56
MVLAN Commands................................................................................................21-66
SCB VLAN Commands ..........................................................................................21-87

21.1 Layer-3 Multicast Commands


21.1.1 accept-register
Syntax
accept-register access-list-number
no accept-register

Purpose
To filter the multicast messages encapsulated in the received register messages

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

access-list-number

IP standard access list number

Range: 1 - 99

Mode
ZXAN(config-router)#

Example
The following example displays how to filter the multicast messages encapsulated in the
received register messages:
ZXAN(config)#router pimsm
ZXAN(config-router)#accept-register 1
ZXAN(config-router)#

21-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
rp-candidate

Related Information
Use this command to prevent unauthorized sources from registering with the RP. If an
unauthorized source sends a register message to the RP, the RP immediately sends back
a register-stop message.

21.1.2 accept-rp
Syntax
accept-rp access-list-number
no accept-rp

Purpose
To filter the candidate RP address advertised in the BSR message

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

access-list-number

IP standard access list number

Range: 1 - 99

Mode
ZXAN(config-router)#

Example
The following example displays how to filter the candidate RP address advertised in the
BSR message:
ZXAN(config)#router pimsm
ZXAN(config-router)#accept-rp 1
ZXAN(config-router)#

Related Commands
bsr-candidate

21-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Related Information
If this router is not a BSR, the candidate RP addresses advertised in the received BSR
message are filtered according to the rules defined in the ACL access list. The matched
ones are added into the local RP set while the ones not matched are ignored.
If this router is a BSR, the candidate RP addresses advertised in the sent BSR messages
are filtered according to the rules defined in the ACL access list. The matched ones are
added into the message advertisement while the ones not matched are ignored.

21.1.3 bsr-candidate
Syntax
bsr-candidate interface-name [hash-mask-length] [priority]
no bsr-candidate

Purpose
To configure the router as the candidate BSR

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

hash-mask-length

Hash mask length

Range: 0 - 32

priority

Priority

Range: 0 - 255
Default: 0

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the router as the candidate BSR:
ZXAN(config)#router pimsm
ZXAN(config-router)#bsr-candidate loopback1 30 100
ZXAN(config-router)#

Related Commands
show ip pim bsr

21-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
By default, BSR candidate priority is zero. The candidate BSR with higher priority becomes
the final BSR. If several routers have the same BSR priority, the candidate BSR with higher
IP address becomes the final BSR.
It is recommended to configure the BSR on the loopback interface to minimize the network
oscillation caused by the interface up/down.

21.1.4 clear ip mroute


Syntax
clear ip mroute [group-address group-address [source-address source-address]]

Purpose
To delete entries from the IP multicast routing table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-address group-address

Multicast group address

A.B.C.D

source-address source-address

Source address

A.B.C.D

Mode
ZXAN#

Example
The following example displays how to delete entries from the IP multicast routing table:
ZXAN#clear ip mroute
ZXAN#

Related Commands
show ip mroute

21.1.5 clear ip msdp peer


Syntax
clear ip msdp peer [peer-address]

21-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Purpose
To clear the TCP connection to the specified MSDP peer

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

peer-address

Peer address

A.B.C.D

Mode
ZXAN#

Example
The following example displays how to clear the TCP connection to the specified MSDP
peer:
ZXAN#clear ip msdp peer 168.1.1.1
ZXAN#

Related Commands
None

Related Information
This command closes the TCP connection to the peer, resets all the MSDP peer statistics,
and clears the input and output queues to and from the MSDP peer.

21.1.6 ip igmp access-group


Syntax
ip igmp access-group access-list-number
no ip igmp access-group

Purpose
To configure the group range that the IGMP can join

Usage Guidelines
The following table provides parameter description:

21-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

access-list-number

Access list number

Range: 1 - 199
Range: 1000 - 1999 (extended
range)

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the group range that the IGMP can join:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp access-group 1
ZXAN(config-if)#ip igmp access-group 2
ZXAN(config-if)#

Related Commands
show igmp interface

21.1.7 ip igmp immediate-leave


Syntax
ip igmp immediate-leave [group-list access-list-number]
no ip igmp immediate-leave

Purpose
To minimize the leave latency of IGMP memberships when IGMP Version 2 is used and
only one receiver host is connected to each interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-list access-list-number

Standard access list number

Range: 1 - 99

that defines multicast groups


in which the immediate leave
feature is enabled

Mode
ZXAN(config-if)#
21-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Example
The following example displays how to minimize the leave latency of IGMP memberships
when IGMP Version 2 is used and only one receiver host is connected to each interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp immediate-leave group-list 1
ZXAN(config-if)#

Related Commands
ip igmp last-member-query-interval

21.1.8 ip igmp last-member-query-interval


Syntax
ip igmp last-member-query-interval seconds
no ip igmp last-member-query-interval

Purpose
To configure the interval at which the router sends IGMP group-specific or
group-source-specific query messages

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Interval at which IGMP

Range: 1 - 65535 sec

group-specific host query

Default: 1 sec

messages are sent

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the interval at which the router sends
IGMP group-specific or group-source-specific query messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp last-member-query-interval 1000
ZXAN(config-if)#

21-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
ip igmp immediate-leave

Related Information
When a router receives an IGMP Version 2 (IGMPv2) or IGMP Version 3 (IGMPv3)
message indicating that a host wants to leave a group, source, or channel, it sends
last-member-query-count group, group-specific, or source-specific IGMP query messages
at intervals set by the ip igmp last-member-query-interval command. If no response is
received after this period, the router stops forwarding for the group, source, or channel.

21.1.9 ip igmp querier-timeout


Syntax
ip igmp querier-timeout seconds
no ip igmp querier-timeout

Purpose
To configure the timeout period before the router triggers IGMP querier reelection for the
interface

Usage Guidelines
The following table provides parameter description:
Parameter
seconds

Description

Value

The time the router waits before

Range: 60 - 300 sec

the router triggers IGMP querier

Default: 120 sec

reelection for the interface

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the timeout period before the router
triggers IGMP querier reelection for the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp querier-timeout 100
ZXAN(config-if)#

Related Commands
ip igmp query-interval
21-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Related Information
The IGMP querier timeout period applies to routers on the subnet that are not currently
acting as the IGMP querier.
By default, a router on the subnet that is not currently acting as the querier waits twice
the query interval specified by the ip igmp query-interval command, after which, if it has
heard no queries, it triggers IGMP reelection. The router with the lowest IP address on the
subnet is elected the IGMP querier

21.1.10 ip igmp query-interval


Syntax
ip igmp query-interval seconds
no ip igmp query-interval

Purpose
To configure the frequency at which the IGMP host-query messages are sent

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

IGMP query interval

Range: 1 - 65535 sec


Default: 125 sec

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the frequency at which the IGMP
host-query messages are sent:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp query-interval 250
ZXAN(config-if)#

Related Commands
ip igmp querier-timeout
show ip igmp interface

21-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
Multicast routers send host membership query messages (host-query messages) to
discover which multicast groups have members on the router's attached networks. Hosts
respond with IGMP report messages indicating that they wish to receive multicast packets
for specific groups (that is, indicating that the host wants to become a member of the
group). Host-query messages are addressed to the all-hosts multicast group, which has
the address 224.0.0.1, and has an IP TTL value of 1

21.1.11 ip igmp query-max-response-time


Syntax
ip igmp query-max-response-time seconds
no ip igmp query-max-response-time

Purpose
To configure the maximum response time advertised in IGMP queries

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Maximum response time

Range: 1 - 25 sec

advertised in IGMP queries

Default: 10 sec

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum response time advertised
in IGMP queries:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp query-max-response-time 15
ZXAN(config-if)#

Related Commands
show ip igmp interface

21-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Related Information
This command is valid only when IGMP Version 2 is running. This command controls the
period during which the responder can respond to an IGMP query message before the
router deletes the group.

21.1.12 ip igmp static-group


Syntax
ip igmp static-group group-address
no ip igmp static-group group-address

Purpose
To configure the static group member on the IGMP interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-address

IGMP static group address

A.B.C.D

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the static group member on the IGMP
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp static-group 224.1.1.1
ZXAN(config-if)#

Related Commands
show ip igmp group

21.1.13 ip igmp version


Syntax
ip igmp version version
no ip igmp version
21-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the IGMP version on the interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

version

IGMP version

Range: 1 - 2

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the IGMP version on the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp version 2
ZXAN(config-if)#

Related Commands
ip igmp query-max-reponse-time

21.1.14 ip multicast-routing
Syntax
ip multicast-routing
no ip multicast-routing

Purpose
To enable the IP multicast route function

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the IP multicast route function:
ZXAN(config)#ip multicast-routing

21-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands


ZXAN(config)#

Related Commands
None

21.1.15 ip pim bsr-border


Syntax
ip pim bsr-border
no ip pim bsr-border

Purpose
To configure the interface to be the PIM domain border

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface to be the PIM domain border:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim bsr-border
ZXAN(config-if)#

Related Commands
bsr-candidate

Related Information
When this command is configured on the interface, no boot message can pass through the
border in any direction. This command effectively divides the network into different boot
message areas. Other PIM messages can pass through the domain border.

21.1.16 ip pim dm
Syntax
ip pim dm
21-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no ip pim dm

Purpose
To enable PIM-DMprotocol on the interface
Use no ip pim dm command to disable the protocol.

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable PIM-DM protocol on the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim dm

Related Commands
show ip pimsm interface

Related Information
When PIM-DM protocol is enabled on an interface, the IGMP is enable automatically as
well.
By default, PIM-DM protocol is disabled on a interface.

21.1.17 ip pim dr-priority


Syntax
ip pim dr-priority priority
no ip pim dr-priority

Purpose
To set the priority for which a router is elected as the DR

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

priority

Priority of the router to be

Range: 0 - 4294967295

selected as the DR

Default: 0

21-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to set the priority for which a router is elected as the
designated router (DR):
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim dr-priority 1000
ZXAN(config-if)#

Related Commands
show ip pimsm interface
show ip pimsm neighbor

Related Information
When a DR is a candidate for election, the following conditions apply:
l

The router with the highest priority value configured on an interface is elected as the
DR. If this priority value is the same on multiple routers, then the router with the highest
IP address configured on an interface is elected as the DR.
If a router does not advertise a priority value in its hello messages, the router is
regarded as having the highest priority and is elected as the DR. If there are multiple
routers with this priority status, then the router with the highest IP address configured
on an interface is elected as the DR.

On the shared network section connected with the receiver, only the DR can respond to
the IGMP join/leave messages.

21.1.18 ip pim neighbor-filter


Syntax
ip pim neighbor-filter access-list-number
no ip pim neighbor-filter

Purpose
To prevent a router from participating in PIM (for example, to configure stub multicast
routing)

Usage Guidelines
The following table provides parameter description:
21-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

access-list-number

Number of a standard IP access

Range: 1 - 99

list that denies PIM packets


from a source

Mode
ZXAN(config-if)#

Example
The following example displays how to prevent a router from participating in PIM:
ZXAN(config)#acl standard number 10
ZXAN(config-std-acl)#rule 1 deny 10.1.1.1 0.0.0.0
ZXAN(config-std-acl)#exit
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim neighbor-filter 10
XAN(config-if)#

Related Commands
show ip pimsm neighbor

21.1.19 ip pim query-interval


Syntax
ip pim query-interval seconds
no ip pim query-interval

Purpose
To configure the time interval for sending PIM hello messages

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Interval for sending PIM Hello

Range: 1 - 65535 sec

messages

Default: 30 sec

Mode
ZXAN(config-if)#
21-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Example
The following example displays how to configure the time interval for sending PIM hello
messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim query-interval 50
ZXAN(config-if)#

Related Commands
show ip pimsm interface

21.1.20 ip pim sm
Syntax
ip pim sm
no ip pim sm

Purpose
To enable the PIM-SM protocol on the interface

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the PIM-SM protocol on the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip pim sm
ZXAN(config-if)#

Related Commands
show ip pimsm interface

21-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

21.1.21 packet-count
Syntax
packet-count {begin | end}

Purpose
To enable or disable the upstream multicast data packet counting function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

begin

Enable the upstream multicast

data packet counting function


end

Disable the upstream multicast

data packet counting function

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the upstream multicast data packet counting
function:
ZXAN(config)#router pimsm
ZXAN(config-router)#packet-count begin
ZXAN(config-router)#

Related Commands
show ip pimsm interface

21.1.22 router pimsm


Syntax
router pimsm
no router pimsm

Purpose
To enable the PIM-SM multicast protocol
21-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the PIM-SM multicast protocol:
ZXAN(config)#router pimsm
ZXAN(config-router)#

Related Commands
ip multicast-routing

21.1.23 rp-candidate
Syntax
rp-candidate interface-name [group-list access-list-number] [priority priority]
no rp-candidate

Purpose
To configure the router to advertise itself as the candidate RP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

Access-list reference for group

Range: 1 - 99

group-list access-list-number

prefixes
priority priority

Priority value for candidate RP

Range: 0 - 255
Default: 0

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the router to advertise itself as the
candidate RP:
21-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#router pimsm
ZXAN(config-router)#rp-candidate loopback1 group-list 1 priority 100
ZXAN(config-router)#

Related Commands
show ip pim bsr

21.1.24 show ip igmp groups


Syntax
show ip igmp groups [group-address | interface-name | summary]

Purpose
To display the multicast groups with receivers that are directly connected to the router and
that were learned through IGMP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-address

IP group address

A.B.C.D

interface-name

VLAN number

Range: 1 - 4094

summary

IGMP group summary

Mode
Any mode except user mode

Example
The following example displays the multicast groups with receivers that are directly
connected to the router and that were learned through IGMP:
ZXAN#show ip igmp groups summary
IGMP groups summary:
Interface

Static

Joined

Total

vlan100

vlan2

Summary

ZXAN#

ZXAN#show ip igmp groups vlan 2


Total: 1 groups joined in vlan2

21-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands


Group addr

Interface

Present

Expire

Last Reporter

224.1.1.1

vlan2

00:14:02

never

10.1.1.1

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Group addr

Group IP address

Interface

Interface through which the group is reachable

Present

Time in weeks, days, hours, minutes, and


seconds that this multicast group has been known

Expire

Time in weeks, days, hours, minutes, and


seconds until the entry expires. If an entry
expires, then the entry (for a short period) shows
"now" before it is removed.
"never" indicates that the entry does not time out,
because a local receiver is on this router for this
entry.
"stopped" indicates that timing out of this entry is
not determined by this expire timer. If the router
is in INCLUDE mode for a group, then the whole
group entry times out after the last source entry
has timed out (unless the mode is changed to
EXCLUDE mode before it times out).

Last Reporter

Last host to report being a member of the


multicast group

Related Commands
ip igmp static-group

21.1.25 show ip igmp interface


Syntax
show ip igmp interface [interface-name]

Purpose
To display multicast-related information about an interface

Usage Guidelines
The following table provides parameter description:

21-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

interface-name

Interface name

Mode
Any mode except user mode

Example
The following example displays the multicast-related information about an interface:
ZXAN#show ip igmp interface vlan 2
vlan2
Internet address is 10.1.1.1, subnet mask is 255.255.0.0
IGMP is enabled on interface
Current IGMP version is 2
IGMP query interval is 250 seconds
IGMP last member query interval is 10 seconds
IGMP query max response time is 15 seconds
IGMP querier timeout period is 100 seconds
IGMP querier is 10.1.1.1, never expire
Inbound IGMP access group is 131072
IGMP immediate leave for group-list 1
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Internet address is..., subnet mask is...

Internet address of the interface and subnet mask


being applied to the interface

IGMP is enabled on interface

Indicates whether IGMP has been enabled on


the interface

IGMP query interval

Interval at which the Protocol Independent


Multicast (PIM) router query messages are sent

Inbound IGMP access group

Indicates whether an IGMP access group has


been configured

Related Commands
None

21.1.26 show ip igmp packet-count


Syntax
show ip igmp packet-count [interface-name]
21-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Purpose
To display the IGMP receive or send protocol packet

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

Mode
Any mode except user mode

Example
The following example displays the IGMP receive or send protocol packet:
ZXAN#show ip igmp packet-count
Received IGMP Packets Count
Interface
ReportV1

Query
Others

vlan100
0

vlan2
0

0
0

Summary

Leave

Total
0

ReportV2

0
0

Send IGMP Packets Count


Interface

Query

Spec-Query

Total

vlan100

vlan2

Summary

ZXAN#

Related Commands
None

21.1.27 show ip igmp snooping


Syntax
show ip igmp snooping [vlan vlanid [group group-address ]| | statistic [clear] ]

21-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display IGMP snooping information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group group-address

Group IP addrses

A.B.C.D

vlan vlanid

VLAN ID

1 4094

statistic

Statistics information

clear

Cleared statistics

Mode
Any mode except ZXAN>

Related Information
None

Example
The following example displays IGMP snooping information:
ZXAN# show ip igmp snooping statistic
RxCommQuery

0;

RxSpecialQuery

0;

RxV1Report

0;

RxV2Report

0;

RxV3Report

0;

RxLeave

0;

RxError

0;

RxUnknown

0;

TxCommQuery

0;

TxSpecialQuery

0;

TxV1Report

0;

TxV2Report

0;

TxV3Report

0;

TxLeave

0;

DropRxCommQuery

0;

DropRxSpecialQuery

0;

DropRxV1Report

0;

DropRxV2Report

0;

DropRxV3Report

181;

DropRxLeave

0;

DropRxUnknown

0;

RxTotal

181;

TxTotal

0;

21.1.28 show ip mforwarding


Syntax
show ip mforwarding {summary | group-address group-address [source-address source-addr
ess]}

21-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Purpose
To display the multicast forwarding route entries

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-address

Multicast group address

A.B.C.D

source-address source-address

Source address

A.B.C.D

summary

Summary information

Mode
Any mode except user mode

Example
The following example displays the multicast forwarding route entries:
ZXAN#show ip mforwarding summary
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Up Send

Up Send

Assert flag

Assert flag

No Used

No Used

IIF MATCH

IIF MATCH

IIF Wrong

IIF Wrong

FORWARD

FORWARD

Related Commands
show ip mroute

21.1.29 show ip mroute


Syntax
show ip mroute [brief | group group-address [source source-address] | source source-address |
summary]

21-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the contents of the multicast routing (mroute) table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-address

Group IP address

A.B.C.D

source-address source-address

Source IP address

A.B.C.D

summary

IP multicast routing table

summary
Brief

brief

Mode
Any mode except user mode

Example
The following example displays the contents of the multicast routing (mroute) table:
ZXAN#show ip mroute
IP Multicast Routing Table
Flags:D -Dense,S -Sparse,C -Connected,L -Local,P -Pruned,
R -RP-bit set,F -Register flag,T -SPT-bit set,J -Join SPT,
M -MSDP created entry,N -No Used,U -Up Send,
A -Advertised via MSDP,X -Proxy Join Timer Running,
* -Assert flag
Statistic:Receive packet count/Send packet count
Timers:Uptime/Expires
Interface state:Interface,Next-Hop or VCD,State/Mode
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Dense

PIM-DM generated route entries

Sparse

PIM-SM generated route entries

Connected

Specifies that the multicast group or interface has


directly-connected members

Pruned

Outgoing interface route entry is null

RP-bit set

This (S, g) entry is on the shared tree.

21-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Parameter

Description

Register flag

The entry can send the Register message of the


directly-connected source.

SPT-bit set

This route entry receives the multicast packet


from SPT tree.

Up Send

Sends multicast packets upward to this entry

No Used

Entry is not used

Join SPT

Data flow switches to the SPT tree

Uptime/Expires

Running time and expired time of the


entry/outgoing interface

RP

Corresponding RP of the PIM-SM generated (*,


G) entry

flag

Multicast routing entry status

Incoming interface:

Incoming interface of the entry

RPF nbr

Corresponding RPF neighbor of the entry

Outgoing interface list

List of the outgoing interfaces

Assert flag

Related Commands
show ip mforwarding

21.1.30 show ip pim bsr


Syntax
show ip pim bsr

Purpose
To display the BSR information

Usage Guidelines
None:

Mode
Any mode except user mode

Example
The following example displays the BSR information:
ZXAN#show ip pim bsr

21-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


BSR address: 10.1.1.1
Uptime: 2d21h, BSR Priority :0, Hash mask length:30
Expires:00:00:42
This system is a candidate BSR
candidate BSR address: 10.1.1.1(vlan2), priority: 0, hash mask
length:30
This system is a candidate RP
candidate RP address: 10.1.1.1(vlan2),priority:192
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

BSR address

BSR IP address

Uptime

BSR lifetime

BSR Priority

BSR Priority

Hash mask length

BSR mask length

Expires

BSR expired time or the expired time for sending


BSR message

candidate BSR address

IP address of the candidate BSR configured


locally

Priority

Priority of the candidate BSR configured locally

hash mask length

Mask length of the candidate BSR configured


locally

RP

IP address and interface number of the candidate


RP configured locally

Related Commands
bsr-candidate
rp-candidate

21.1.31 show ip pim rp hash


Syntax
show ip pim rp hash group-address

Purpose
To display which RP is being selected for a specified group

21-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-address

RP information for the specified

A.B.C.D

group address

Mode
Any mode except user mode

Example
The following example displays which rendezvous point (RP) is being selected for a
specified group:
ZXAN#show ip pim rp hash 224.1.1.1
rp address:10.1.1.1 (?)
Info source: 10.1.1.1(?) via bootstrap
Uptime: 2d21h, expires: 00:02:12
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Rp address

Address of the RP for the group specified. Within


parentheses is the DNS name of the RP. If the
address of the RP is not registered in the DNS, a
question mark (?) is displayed.

Static

This RP is not the BSR advertisement, and it is


configured locally in static mode.

Info source

Indicates from which system the router learned


this RP information, along with the DNS name
of the source

Uptime

Length of time (in hours, minutes, and seconds)


that the router has known about this RP

Expire

Time (in hours, minutes, and seconds) after


which the information about this RP expires

Related Commands
None

21-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

21.1.32 show ip pim rp mapping


Syntax
show ip pim rp mapping

Purpose
To display the RP set information advertised by the BSR

Usage Guidelines
None:

Mode
Any mode except user mode

Example
The following example displays the RP set information advertised by the BSR:
ZXAN#show ip pim rp mapping
Group(s) 224.0.0.0/4
RP 10.1.1.1, v2, Priority :192
BSR: 10.1.1.1, via bootstrap
Uptime: 2d21h, expires: 00:02:15
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Group

Address and mask of the multicast group


advertised by BSR

Rp address

Candidate RP address advertised by the


multicast group

Static

This candidate RP is not the BSR advertisement,


and it is configured locally in static mode.

BSR address

BSR IP address

Uptime

Candidate RP lifetime

Expire

Candidate RP expired time

Related Commands
bsr-candidate
rp-candidate
21-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

static-rp

21.1.33 show ip pimsm interface


Syntax
show ip pimsm interface [interface-name]

Purpose
To display information about interfaces configured for PIM-SM

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

Mode
Any mode except user mode

Example
The following example displays the information about interfaces configured for PIM-SM:
ZXAN#show ip pimsm interface
Address

Interface

State Nbr
Count

Query

DR

DR

Intvl

Priority

10.1.1.1 vlan2

Down

50

0.0.0.0

1000

0.0.0.0

Down

30

0.0.0.0

vlan100

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Address

Interface IP address of the next hop router

Interface

Interface type and number that is configured to


run PIM SM

State

State Up/Down

NbrCount

Number of PIM-SM neighbors that have been


discovered through this interface. If the Neighbor
Count is 1 for a DVMRP tunnel, the neighbor is
active (receiving probes and reports).

QueryIntvl

Frequency of PIM hello messages


21-31

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

DR

IP address of the DR on a network

DR Priority

DR Priority

Related Commands
ip pim sm
show ip pimsm neighbor

21.1.34 show ip pimsm mroute


Syntax
show ip pimsm mroute [group group-address [source source-address] | source source-address
| summary]

Purpose
To display the IP multicast PIM-SM routing table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-address

Group IP address

A.B.C.D

interface-name

Source IP address

A.B.C.D

summary

Summary information

Mode
Any mode except user mode

Example
The following example displays the IP multicast PIM-SM routing table:
ZXAN#show ip pimsm mroute
PIMSM Multicast Routing Table
Flags:C -Connected,P -Pruned,L -Local,R -RP-bit set,
F -Register flag,T -SPT-bit set,J -Join SPT,
M -MSDP created entry,N -No Used,U -Up Send,
A -Advertised via MSDP,X -Proxy Join Timer Running,
* -Assert flag
Statistic:Receive packet count/Send packet count
Timers:Uptime/Expires
Interface state:Interface,Next-Hop or VCD,State/Mode

21-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands


ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Connected

Member of the multicast group is present on the


directly connected interface

Pruned

Route has been pruned

Uptime

How long (in hours, minutes, and seconds) the


entry has been in the IP multicast routing table

Expires

How long (in hours, minutes, and seconds) until


the entry will be removed from the IP multicast
routing table on the outgoing interface

Provides information about the entry

Related Commands
show ip mroute

21.1.35 show ip pimsm neighbor


Syntax
show ip pimsm neighbor [interface-name]

Purpose
To display the PIM-SM neighbors discovered

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

Mode
Any mode except user mode

Example
The following example displays the PIM-SM neighbors discovered:
ZXAN#show ip pimsm neighbor
Neighbor Address Interface DR Priority Uptime Expires Ver
ZXAN#

21-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

The following table describes the parameters displayed in the example:


Parameter

Description

Neighbor Address

IP address of the PIM-SM neighbor

Interface

Interface type and number on which the neighbor


is reachable

DR Priority

DR Priority

Uptime

Uptime shows how long (in hours:minutes:seconds) the entry has been in the PIM neighbor
table

Expires

Expires shows how long (in hours:minutes:seconds or in milliseconds) until the entry will be
removed from the IP multicast routing table

Ver

PIM protocol version

Related Commands
show ip pimsm interface

21.1.36 show ip pimsm packet-count


Syntax
show ip pimsm packet-count interface-number

Purpose
To display the statistics of packets received and sent by multicast PIM-SM and the statistics
of upstream sent packets received

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-number

Interface number

Mode
Any mode except user mode

Example
The following example displays the statistics of packets received and sent by multicast
PIM-SM and the statistics of upstream sent packets received:
21-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands


ZXAN#show ip pimsm packet-count vlan 2
MR and PIMSM receive and Send packet summary
DataUpsend: 0
Packet-type

Rx_ok

Tx_ok

Rx_err

Tx_err

Hello

Register

*0

*0

Register-Stop

*0

*0

Join/Prune

BSR

Assert

CRP-ADV

*0

*0

PROBE

*0

*0

ERR_TYPE

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

DataUpsend

Upstream data sent

Packet-type

Packet-type

Rx_ok

Receive packet

Tx_ok

Transmit packet

Rx_err

Receive packet error

Tx_err

Transmit packet error

Related Commands
None

21.1.37 show ip rpf


Syntax
show ip rpf source-address

Purpose
To display the information that IP multicast routing uses to perform the RPF check for a
multicast source

Usage Guidelines
The following table provides parameter description:

21-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

source-address

IP address or name of a

A.B.C.D

multicast source for which to


display RPF information

Mode
Any mode except user mode

Example
The following example displays the information that IP multicast routing uses to perform
the RPF check for a multicast source:
ZXAN#show ip rpf 168.1.10.1

RFF information:
RPF interface is mng1<>
RPF neighbor is 10.63.196.254 <isn't neighbor>
RPF metric preference is 1
RPF metric value is 0
RPF type is unicast
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

RPF interface

For the given source, the interface from which the


router expects to receive packets.

RPF neighbor

For the given source, the neighbor from which


the router expects to receive packets.

RPF metic preference

The preference value used for selecting the


unicast routing metric to the RP announced by
the designated forwarder (DF).

RPF metric

Unicast routing metric to the RP announced by


the DF.

Related Commands
show ip mroute

21.1.38 spt-threshold
Syntax
spt-threshold infinity [group-list access-list-number]
21-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

no spt-threshold infinity [group-list access-list-number]

Purpose
To configure the router with directly-connected receiver to change over from the SPT to
the shared tree and then to the RP tree

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

infinity

Causes all sources for the

specified group to use the


shared tree
group-list access-list-number

Group address access-list

Range: 1 - 99

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the router with directly-connected receiver
to change over from the SPT to the shared tree and then to the RP tree:
ZXAN(config)#router pimsm
ZXAN(config-router)#spt-threshold infinity
ZXAN(config-router)#

Related Commands
None

21.1.39 static-rp
Syntax
static-rp ip-address [group-list access-list-number] [priority priority]
no static-rp

Purpose
To configure the static RP address

Usage Guidelines
The following table provides parameter description:
21-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

ip-address

Static RP address

A.B.C.D

group-list access-list-number

Group address access-list

Range: 1 - 99

priority priority

Priority

Range: 0 - 255
Default: 0

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the static RP address:
ZXAN(config)#router pimsm
ZXAN(config-router)#static-rp 10.1.1.1
ZXAN(config-router)#

Related Commands
show ip pim rp mapping

Related Information
After the static RP configuration, it enters the RP set to join in the selection, even if this
router does not receive any BSR RP information advertisement.

21.2 IGMP Snooping Global Commands


21.2.1 igmp enable
Syntax
igmp enable [vport vport]

Purpose
To enable the global IGMP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vport vport

Virtual port ID

Range: 1 - 255

21-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the IGMP on an interface:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp enable vport 1
ZXAN(config-if)#

Related Commands
show igmp interface

Related Information
By default, IGMP is enabled.

21.2.2 igmp version-mode


Syntax
igmp version-mode {v1 | v2 | v3} {accept | drop}

Purpose
To configure IGMP version process mode for the router

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

v1

IGMP version 1

v2

IGMP version 2

v3

IGMP version 3

accept

Process IGMP packet normally

drop

Drop IGMP packet

Mode
ZXAN(config)#

Example
The following example displays how to configure IGMP version process mode for the router
to transparently forward the packets:
21-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#igmp version-mode v3 accept
ZXAN(config)#

Related Commands
show igmp

Related Information
By default, all IGMP packets are accepted.

21.2.3 igmp snooping-aging-time


Syntax
igmp snooping-aging-time aging-time

Purpose
To configure IGMP snooping aging time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

aging-time

Aging time

Range: 30 - 3600 sec


Default: 300 sec

Mode
ZXAN(config)#

Example
The following example displays how to configure IGMP snooping aging time:
ZXAN(config)#igmp snooping-aging-time 500
ZXAN(config)#

Related Commands
None

21.2.4 igmp span-vlan


Syntax
igmp span-vlan {enable | disable}
21-40
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Purpose
To enable or disable IGMP span VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the IGMP span VLAN

disable

Disable the IGMP span VLAN

Mode
ZXAN(config)#

Example
The following example displays how to enable IGMP span VLAN:
ZXAN(config)#igmp span-vlan enable
ZXAN(config)#

Related Commands
None

Related Information
By default, IGMP span VLAN is enabled.

21.2.5 igmp bandwidth-control


Syntax
igmp bandwidth-control {enable | disable}

Purpose
To enable or disable IGMP bandwidth control

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the bandwidth control

disable

Disable the bandwidth control

21-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to enable IGMP bandwidth control:
ZXAN(config)#igmp bandwidth-control enable
ZXAN(config)#

Related Commands
None

Related Information
By default, bandwidth control is disabled.

21.2.6 igmp log


Syntax
igmp log {enable | disable}

Purpose
To enable or disable IGMP logging

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable IGMP logging

disable

Disable IGMP logging

Mode
ZXAN(config)#

Example
The following example displays how to enable IGMP logging:
ZXAN(config)#igmp log enable
ZXAN(config)#

21-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Related Commands
show igmp log

Related Information
By default, IGMP logging is disabled.

21.2.7 igmp robustness


Syntax
igmp robustness robustness

Purpose
To configure the number of times that the system sends each IGMP message from this
interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

robustness

IGMP querier robustness

Range: 2 - 5

variable

Default: 2

Mode
ZXAN(config)#

Example
The following example displays how to configure the number of times that the system
sends each IGMP message from this interface:
ZXAN(config)#igmp robustness 3
ZXAN(config)#

Related Commands
show igmp

Related Information
By default, the IGMP querier robustness variable is 2.
The IGMP robustness variable determines the default number of general queries the IGMP
querier sends on startup and the number of IGMP group-specific queries the IGMP querier
sends upon receiving an IGMP leave message.
21-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

21.2.8 igmp query-interval


Syntax
igmp query-interval interval

Purpose
To configure the frequency at which the IGMP host-query messages are sent

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interval

Frequency at which the IGMP

Range: 60 - 300 sec

host-query messages are sent

Default: 125 sec

Mode
ZXAN(config)#

Example
The following example displays how to configure the frequency at which the IGMP
host-query messages are sent:
ZXAN(config)#igmp query-interval 60
ZXAN(config)#

Related Commands
show igmp

Related Information
Multicast routers send host membership query messages (host-query messages) to
discover which multicast groups have members on the attached networks of the router.
Hosts respond with IGMP report messages indicating that they want to receive multicast
packets for specific groups (that is, indicating that the host wants to become a member of
the group). Host-query messages are addressed to the all-hosts multicast group, which
has the address 224.0.0.1, and has an IP TTL value of 1.

21.2.9 igmp query-max-resp


Syntax
igmp query-max-resp query-max-resp
21-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Purpose
To configure the maximum response time advertised in IGMP queries

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

query-max-resp

Maximum response time

Range: 10 - 250

advertised in IGMP queries

Unit: 100 msec

Mode
ZXAN(config)#

Example
The following example displays how to configure the maximum response time advertised
in IGMP queries:
ZXAN(config)#igmp query-max-resp 50
ZXAN(config)#

Related Commands
show igmp

Related Information
By default, the maximum response time for IGMP general queries is 10 seconds.
This command is used to control the maximum response time for hosts to answer an IGMP
query message.

21.2.10 igmp last-query-interval


Syntax
igmp last-query-interval interval

Purpose
To configure the last member query interval, namely the length of time the device waits
between sending IGMP group-specific queries

Usage Guidelines
The following table provides parameter description:
21-45
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

interval

IGMP last member query

Range: 1 - 255

interval

Default: 10

Mode
ZXAN(config)#

Example
The following example displays how to configure the last member query interval, namely
the length of time the device waits between sending IGMP group-specific queries:
ZXAN(config)#igmp last-query-interval 20
ZXAN(config)#

Related Commands
show igmp

Related Information
By default, the IGMP last member query interval is 1 second.

21.2.11 igmp last-query-count


Syntax
igmp last-query-count count

Purpose
To configure the number of group-specific queries sent before the router assumes there
are no local members of a group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

count

Query count

Range: 2 - 5
Default: 2

Mode
ZXAN(config)#

21-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Example
The following example displays how to configure the number of group-specific queries sent
before the router assumes there are no local members of a group:
ZXAN(config)#igmp last-query-count 3
ZXAN(config)#

Related Commands
show igmp

21.2.12 igmp unsolicited-report-interval


Syntax
igmp unsolicited-report-interval time

Purpose
To configure the interval for IGMP unsolicited report

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Interval

1 600, unit: s
Default: 10 s

Mode
ZXAN(config)#

Example
The following example displays how to configure the interval for IGMP unsolicited report:
ZXAN(config)#igmp unsolicited-report-interval 15

Related Commands
show igmp

21.2.13 igmp host-tracking


Syntax
igmp host-tracking {enable | disable}
21-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable or disable IGMP host tracking

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

disable

Disable (default)

Mode
ZXAN(config)#

Example
The following example displays how to enable IGMP host tracking:
ZXAN(config)#igmp host-tracking enable

Related Commands
show igmp

Related Information
When there are multiple STBs connected to a UNI and fast-leave is enabled on the UNI,
the IGMP host tracking should be enabled.

21.2.14 igmp mcm


Syntax
igmp mcm {enable | disable}

Purpose
To enable or disable IGMP multi-copy multicast

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable

disable

Disable (default)

21-48
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Mode
ZXAN(config)#

Example
The following example displays how to enable IGMP multi-copy multicast:
ZXAN(config)#igmp mcm enable

Related Commands
show igmp

21.2.15 igmp non-match-group


Syntax
igmp non-match-group {forward | drop}

Purpose
To configure the action on mismatched groups

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

forward

Forward

drop

Drop (default)

Mode
ZXAN(config)#

Example
The following example displays how to configure the action on mismatched groups:
ZXAN(config)#igmp non-match-group forward

Related Commands
show igmp

21.2.16 igmp statistics clear


Syntax
igmp statistics clear { current | history}[ mvlan vlan-id | interface if-name [vport id | pvc id] ]
21-49
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To clear the IGMP statistics

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

mvlan vlan-id

MVLAN ID

14094

interface if-name

Interface Name

032 characters

vport id

VPORT ID

1255

pvc id

PVC ID

18

Mode
Global configuration mode: ZXAN(config)#

Example
The following example shows how to clear the current IGMP statistics:
ZXAN(config)#igmp statistics clear history

Related Commands
None

Related Information
If with parameters, only statistics associated with the specified MVLAN or interface is to
be cleared.

21.2.17 show igmp


Syntax
show igmp

Purpose
To display the IGMP configuration information

Usage Guidelines
None

Mode
Any mode except user mode
21-50
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Example
The following example displays the IGMP configuration information:
ZXAN#show igmp
IGMP global parameters:
---------------------------------------------------IGMP is globally enable.
IGMP v1 mode is accept.
IGMP v2 mode is accept.
IGMP v3 mode is accept.
IGMP log is disable.
Snooping aging time is 300 seconds.
Span vlan is enable.
Bandwidth control is disable.
Robustness variable is 2.
General query interval is 125(second).
Query max response time is 100(0.1second).
Last member query interval is 10(0.1second).
Last member query count is 2.
Version 1 router present timeout is 400 seconds.
Unsolicited report interval is 10 seconds.
ZXAN#

Related Commands
None

21.2.18 show igmp statistics


Syntax
show igmp statistic [mvlan mvlan-id] [interface if-name [vport vport]]

Purpose
To display IGMP packet statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mvlan-id mvlan-id

MVLAN ID

Range: 1 - 4095

interface if-name

Interface name

vport vport

Virtual port ID

Range: 1 - 255

21-51
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays IGMP packet statistics:
ZXAN(config)#show igmp statistics mvlan 4000
Igmp Statistics of Mvlan : 4000
-------------------------------------------------joins sent to net

: 0

joins rcv from users

: 0

succ joins from users

: 0

leave

to network

: 0

leave

from users

: 0

gen-query

to users

: 0

gen-query from net

: 0

spe-query

to users

: 0

spe-query

from net

: 0

----------------------------------------------------

ZXAN(config)#show mld statistics mvlan 100 interface gpon-onu_1/1/1:1 vport 1


Mld Statistics of Mvlan: 100 Port: gpon-onu_1/1/1:1:1
--------------------------------------------------successful joins

: 0

leave messages

: 0

gen-query

to users

: 0

spe-query

to users

: 0

--------------------------------------------------

Related Commands
igmp mvlan

21.2.19 show igmp mp-statistics


Syntax
show igmp mp-statistics [mvlan vlan-id ]

Purpose
To display the numbers of layer-2 multicast packets received and transmitted by the control
and switching cards:

Usage Guidelines
The following table provides parameter description:
21-52
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Parameter

Description

Value

mvlan vlan-id

MVLAN ID

1 4095

Mode
Any mode except ZXAN>

Example
The following example displays the numbers of layer-2 multicast packets received and
transmitted by the control and switching cards of specific VLAN:
ZXAN#show igmp mp-statistics mvlan 1
Total Statictics:
-----------------------------------------RxTotal

: 0

TxTotal

: 0

Rx Statistics:
-----------------------------------------RxCommQuery

: 0

RxSpecialQuery

: 0

RxV1Report

: 0

RxV2Report

: 0

RxV3Report

: 0

RxLeave

: 0

RxError

: 0

RxUnknown

: 0

Tx Statistics:
-----------------------------------------TxCommQuery

: 0

TxSpecialQuery

: 0

TxV1Report

: 0

TxV2Report

: 0

TxV3Report

: 0

TxLeave

: 0

Drop Statistics:
-----------------------------------------DropRxCommQuery

: 0

DropRxSpecialQuery

: 0

DropRxV1Report

: 0

DropRxV2Report

: 0

DropRxV3Report

: 0

DropRxLeave

: 0

21-53
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


DropRxUnknown

: 0

Related Commands
show igmp statistics

21.2.20 show igmp np-statistics


Syntax
show igmp np-statistics { current | history } [ mvlan vlan-id ] [ interface interface ]

Purpose
To display the numbers of layer-2 multicast packets received and transmitted by the control
and switching cards

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

current

Current traffic

history

Historical traffic

mvlan vlan-id

MVLAN ID

1 4095

interface interface

Interface

Mode
Any mode except ZXAN>

Example
The following example displays the numbers of layer-2 multicast packets received and
transmitted by the control and switching cards:
ZXAN(config)#show igmp np-statistics history
Total Statictics:
-----------------------------------------RxTotal

: 0

TxTotal

: 0

Rx Statistics:
-----------------------------------------RxCommQuery

: 0

RxSpecialQuery

: 0

RxV1Report

: 0

RxV2Report

: 0

21-54
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands


RxV3Report

: 0

RxLeave

: 0

RxError

: 0

RxUnknown

: 0

Tx Statistics:
-----------------------------------------TxCommQuery

: 0

TxSpecialQuery

: 0

TxV1Report

: 0

TxV2Report

: 0

TxV3Report

: 0

TxLeave

: 0

Drop Statistics:
-----------------------------------------DropRxCommQuery

: 0

DropRxSpecialQuery

: 0

DropRxV1Report

: 0

DropRxV2Report

: 0

DropRxV3Report

: 0

DropRxLeave

: 0

DropRxUnknown

: 0

Related Commands
None

21.2.21 show igmp pon-statistics


Syntax
show igmp pon-statistics interface interface

Purpose
To display the numbers of layer-2 multicast packets received and transmitted by the PON
port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface

OLT interface name

21-55
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except ZXAN>

Example
The following example displays the numbers of layer-2 multicast packets received and
transmitted by the PON port:
ZXAN(config)#show igmp pon-statistics interface gpon-olt_1/1/1
Active Group Num

: 0

Active User Num

: 0

Related Commands
None

21.3 IGMP Snooping Interface Commands


21.3.1 igmp drop
Syntax
igmp drop [vport vport]

Purpose
To drop IGMP packets

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vport vport

Virtual port ID

Range: 1 - 255

Mode
ZXAN(config-if)#

Example
The following example displays how to drop IGMP packets:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp drop vport 1
ZXAN(config-if)#

Related Commands
None
21-56
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

21.3.2 igmp enable


Syntax
igmp enable [vport vport]

Purpose
To enable the IGMP

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the global IGMP:
ZXAN(config)#igmp enable

Related Commands
show igmp

Related Information
By default, IGMP is enabled.

21.3.3 igmp version


Syntax
igmp version{v1 |v2 |v3} [vport vport]

Purpose
To configure the IGMP version on the interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

v1

IGMPv1

v2

IGMPv2 (default)

21-57
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

v3

IGMPv3

vport vport

Virtual port ID

1 255, default: 1

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the IGMP version on the interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#igmp version v1 vport 1

Related Commands
None

21.3.4 ip igmp version


Syntax
ip igmp version {1 | 2}
no ip igmp version

Purpose
To configure IGMP version for an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

IGMP version 1

IGMP version 2

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the IGMP version for an interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip igmp version 2
ZXAN(config-if)#

21-58
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Related Commands
ip igmp query-max-reponse-time
show ip igmp interface

Related Information
By default, the IGMP version on a VLAN interface is v2.

21.3.5 igmp fast-leave


Syntax
igmp fast-leave {enable | disable} [vport vport]

Purpose
To enable or disable the fast leave processing on the current interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the fast leave process

disable

Disable the fast leave process

vport vport

Virtual port ID

Range: 1 - 255

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the fast leave processing on the current
interface:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp fast-leave enable vport 1
ZXAN(config-if)#

Related Commands
show igmp interface

Related Information
By default, fast leave process is disabled.
21-59
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

21.3.6 igmp max-groups


Syntax
igmp max-groups group-num [vport vport]

Purpose
To configure the maximum number of groups used by IGMP and accepted by a router

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-num

Maximum number of groups

Range: 0 - 8192

accepted by a router
vport vport

Virtual port ID

Range: 1 - 255

Mode
ZXAN(config-if)#

Example
To configure the maximum number of groups used by IGMP and accepted by a router:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp max-groups 1024
ZXAN(config-if)#

Related Commands
None

21.3.7 igmp proxy-ip


Syntax
igmp proxy-ip ip-address [vport vport]

Purpose
To configure IGMP proxy source address for a query packet

Usage Guidelines
The following table provides parameter description:
21-60
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Parameter

Description

Value

ip-address

Proxy source address

A.B.C.D

vport vport

Virtual port ID

Range: 1 - 255

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IGMP proxy source address for a query
packet:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp proxy-ip 10.1.1.1 vport 1
ZXAN(config-if)#

Related Commands
None

21.3.8 igmp last-query-interval


Syntax
igmp last-query-interval last-query-interval [vport vport]

Purpose
To configure the last member query interval, namely the length of time the device waits
between sending IGMP group-specific queries

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interval

IGMP last member query

Range: 1 - 255

interval

Unit: 100 msec

Virtual port ID

Range: 1 - 255

vport vport

Mode
ZXAN(config-if)#

21-61
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the last member query interval, namely
the length of time the device waits between sending IGMP group-specific queries:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp last-query-interval 10 vport 1
ZXAN(config-if)#

Related Commands
None

21.3.9 igmp last-query-count


Syntax
igmp last-query-count count [vport vport]

Purpose
To configure the number of group-specific queries sent before the router assumes there
are no local members of a group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

count

Query count

Range: 2 - 5
Default: 2

vport vport

Virtual port ID

Range: 1 - 255

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the number of group-specific queries sent
before the router assumes there are no local members of a group:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp last-query-count 3 vport 1
ZXAN(config-if)#

21-62
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Related Commands
None

21.3.10 igmp robustness


Syntax
igmp robustness robustness [vport vport]

Purpose
To configure the number of times that the system sends each IGMP message from this
interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

robustness

IGMP querier robustness

Range: 2 - 5

variable

Default: 2

Virtual port ID

Range: 1 - 255

vport vport

Value

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the number of times that the system
sends each IGMP message from this interface:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp robustness 3 vport 1
ZXAN(config-if)#

Related Commands
None

21.3.11 igmp query-max-resp


Syntax
igmp query-max-resp query-max-resp [vport vport]

21-63
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the maximum response time advertised in IGMP queries

Usage Guidelines
The following table provides parameter description:
Parameter
query-max-resp

Description

Value

Maximum response time

Range: 10 - 250

advertised in IGMP queries

Unit: 100 msec


Default: 10 sec

vport vport

Virtual port ID

Range: 1 - 255

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum response time advertised
in IGMP queries:
ZXAN(config)#interface gpon-onu_1/1/2:3
ZXAN(config-if)#igmp query-max-resp 10 vport 1
ZXAN(config-if)#

Related Commands
None

21.3.12 show igmp interface


Syntax
show igmp interface if-name [vport vport]

Purpose
To display IGMP multicast-related information about an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

if-name

Interface name

Range: 0 - 32 characters

vport vport

Virtual port ID

Range: 1 - 255

21-64
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Mode
Any mode except user mode

Example
The following example displays IGMP multicast-related information about an interface:
ZXAN#show igmp interface gpon-onu_1/1/2:3
IGMP interface gpon-onu_1/1/2:3 vport 1 parameters:
---------------------------------------------------IGMP status is drop.
IGMP version is v2.
fast leave is enable.
max concurrent group num is 32.
proxy ip is 192.168.2.14.
general query interval is 2 (second).
query max response time is 150 (0.1second).
last membership query interval is 10 (0.1second).
last membership query count is 2.
ZXAN#

Related Commands
None

21.3.13 show igmp interface dynamic-group-list


Syntax
show igmp interface if-name [vport vport] dynamic-group-list

Purpose
To display the IGMP interface dynamic group list information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

if-name

Interface name

Range: 0 - 32 characters

vport vport

PVC ID

Range: 1 - 8

Mode
Any mode except user mode
21-65
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the IGMP interface active group list information:
ZXAN#show igmp interface gpon-onu_1/1/2:3 dynamic-group-list
VID

Group IP

Join Time

Host ID

-----------------------------------------100

244.1.1.1

15:30:00 Oct 20 2007

ZXAN#

Related Commands
None

21.4 MVLAN Commands


21.4.1 mvlan-translate
Syntax
mvlan-translate mvlan-id to cvlan-id

Purpose
To configure the MVLAN translation entry

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

org-vlan-id

MVLAN ID

1 4094

new-vlan-id

CVLAN ID

1 4094

Mode
ZXAN(config)#

Example
The following example displays how to configure the MVLAN translation entry:
ZXAN(config)#mvlan-translate 40 to 100

Related Commands
None
21-66
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Related Information
l
l
l
l

Before configure the MVLAN translation rule, you need configure the MVLAN first.
The ZXA10 C320 supports only downstream MVLAN translation for protocol packets
and data packets.
The ZXA10 C320 supports only 1:1 translation.
The ZXA10 C320 supports maximum 16 translation entries.

21.4.2 igmp mvlan


Syntax
igmp mvlan vid
no igmp mvlan vid

Purpose
To create a MVLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

Mode
ZXAN(config)#

Example
The following example displays how to create a MVLAN:
ZXAN(config)#igmp mvlan 100

Related Commands
None

21.4.3 igmp mvlan cvlan


Syntax
igmp mvlan vid cvlan vid

Purpose
To configure the correspondence between the MVLAN and CVLAN
21-67
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mvlan vid

MVLAN ID

2 4093

cvlan vid

CVLAN ID

0 4094
Default: 0

Mode
ZXAN(config)#

Example
The following example displays how to configure the correspondence between the MVLAN
and CVLAN
ZXAN(config)#igmp mvlan 100 cvlan 100

Related Commands
None

21.4.4 igmp mvlan enable


Syntax
igmp mvlan vid [enable | disable | drop]

Purpose
To create a MVLAN and configure the IGMP packet management

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

enable

Process IGMP packets normally

disable

Forward IGMP packets

transparently
drop

Drop IGMP packets

Mode
ZXAN(config)#
21-68
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Example
The following example displays how to create MVLAN and enable IGMP packet
management:
ZXAN(config)#igmp mvlan 100 enable
ZXAN(config)#

Related Commands
None

21.4.5 igmp mvlan work-mode


Syntax
igmp mvlan vid work-mode {snooping | router | proxy}

Purpose
To configure IGMP working mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

snooping

IGMP snooping mode

router

IGMP router mode

proxy

IGMP proxy mode

Mode
ZXAN(config)#

Example
The following example displays how to configure IGMP working mode to be snooping
mode:
ZXAN(config)#igmp mvlan 100 work-mode snooping
ZXAN(config)#

Related Commands
None
21-69
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
Proxy mode is the default IGMP working mode.

21.4.6 igmp mvlan host-ip


Syntax
igmp mvlan vid host-ip ip-address

Purpose
To configure MVLAN host IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

ip-address

Host IP address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure MVLAN host IP address:
ZXAN(config)#igmp mvlan 100 host-ip 10.1.1.1
XAN(config)#

Related Commands
None

Related Information
host-ip is the source IP address of the report/leave message sent by the system in proxy
mode. By default, it is 192.168.2.14.

21.4.7 igmp mvlan host-version


Syntax
igmp mvlan vid host-version host-version

21-70
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Purpose
To configure the host version of the MVLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

VLAN ID

2 4094

host-version

Host version

v2, v3

Mode
ZXAN(config)#

Example
The following example displays how to configure the host version of the MVLAN:
ZXAN(config)#igmp mvlan 100 host-version v2

Related Commands
None

21.4.8 igmp mvlan source-port


Syntax
igmp mvlan vid source-port if-name
no igmp mvlan vid source-port if-name

Purpose
To configure source ports on NNI side

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

if-name

Interface name

Range: 0 - 32 characters

Mode
ZXAN(config)#
21-71
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure source port on NNI side:
ZXAN(config)#igmp mvlan 100 source-port gei_1/3/1
ZXAN(config)#

Related Commands
None

21.4.9 igmp mvlan receiver-port


Syntax
igmp mvlan vid receive-port if-name [vport vport]
no igmp mvlan vid receive-port if-name [vport vport]

Purpose
To configure receive ports on UNI side

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

if-name

Interface name

Range: 0 - 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure receive port on UNI side:
ZXAN(config)#igmp mvlan 100 receive-port gpon-onu_1/1/2:3
ZXAN(config)#

Related Commands
None

21-72
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

21.4.10 igmp mvlan max-groups


Syntax
igmp mvlan vid max-groups group-num

Purpose
To configure maximum group number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

group-num

Group number

Range: 0 - 32768

Mode
ZXAN(config)#

Example
The following example displays how to configure maximum group number:
ZXAN(config)#igmp mvlan 100 max-groups 1024
ZXAN(config)#

Related Commands
None

21.4.11 igmp mvlan group-filter


Syntax
igmp mvlan vid group-filter {enable | disable}

Purpose
To enable or disable the group access control

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

21-73
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

enable

Enable the group access control

disable

Disable the group access

control

Mode
ZXAN(config)#

Example
The following example displays how to enable the group access control:
ZXAN(config)#igmp mvlan 100 group-filter enable
ZXAN(config)#

Related Commands
None

Related Information
By default, group access control is enabled.

21.4.12 igmp mvlan group


Syntax
igmp mvlan vid group group-address [to group-end]
no igmp mvlan vid group group-address [to group-end]

Purpose
To configure MVLAN group properties

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

group group-address

Group address

A.B.C.D

group-end

In batch process, the first three

bytes of the specified multicast


end address must be the same
as that of start address

21-74
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Mode
ZXAN(config)#

Example
The following example displays how to configure MVLAN group properties:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 to 224.224.1.127
ZXAN(config)#

Related Commands
None

21.4.13 igmp mvlan group bandwidth


Syntax
igmp mvlan vid group group-address [to group-end] bandwidth value

Purpose
To configure IGMP MVLAN group bandwidth

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

group-address

Group address

A.B.C.D

group-end

In batch process, the first three

bytes of the specified multicast


end address must be the same
as that of start address
bandwidth value

Bandwidth

Range: 100 - 65535 kbps


Default: 2048 kbps

Mode
ZXAN(config)#

Example
The following example displays how to configure the IGMP MVLAN group bandwidth:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 bandwidth 4096
ZXAN(config)#

21-75
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

21.4.14 igmp mvlan group static-port


Syntax
igmp mvlan vid group group-address [to group-end] static-port if-name [vport vport]
no igmp mvlan vid group group-address [to group-end] static-port if-name [vport vport]

Purpose
To configure IGMP MVLAN static group membership entries

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

group group-address

Group address

A.B.C.D

group-end

In batch process, the first three

bytes of the specified multicast


end address must be the same
as that of start address
static-port if-name

Interface name

Range: 0 - 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure IGMP MVLAN static group membership
entries:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1
static-port gpon-onu_1/1/2:3
ZXAN(config)#

Related Commands
None
21-76
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

21.4.15 igmp mvlan group prejoin


Syntax
igmp mvlan vid group group-address [to group-end] prejoin {enable | disable}

Purpose
To configure MVLAN group properties

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

group group-address

Group address

A.B.C.D

group-end

In batch process, the first three

bytes of the specified multicast


end address must be the same
as that of start address
prejoin

Pre-join

enable

Enable group pre-join

disable

Disable group pre-join

Mode
ZXAN(config)#

Example
The following example displays how to configure MVLAN group properties:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 prejoin enable
ZXAN(config)#

Related Commands
None

Related Information
By default, MVLAN group pre-join is disabled.

21-77
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

21.4.16 igmp mvlan group source-address


Syntax
igmp mvlan vid group group-address [to group-end] source-address source-address

Purpose
To configure IGMP MVLAN group source address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

VLAN ID

Range: 1 - 4094

group-address

Group IP address

A.B.C.D

group-end

Group end

source-address source-address

Source address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure IGMP MVLAN group source address:
ZXAN(config)#igmp mvlan 100 group 224.224.1.1 source-address 168.1.1.1
ZXAN(config)#

Related Commands
None

21.4.17 igmp mvlan priority


Syntax
igmp mvlan vid priority value

Purpose
To configure the priority of IGMP protocol packets in proxy or router mode

Usage Guidelines
The following table provides parameter description:
21-78
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Parameter

Description

Value

vid

VLAN ID

1 4094

priority value

Priority

0 7, default: 0

Mode
ZXAN(config)#

Related Information
None

Example
The following example displays how to configure the priority of IGMP protocol packets:
ZXAN(config)#igmp mvlan 100 priority 7

Related Commands
None

21.4.18 igmp statistics clear


Syntax
igmp statistics clear [mvlan vid] | [interface if-name [vport vport]]

Purpose
To clear the IGMP statistics information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mvlan vid

MVLAN ID

Range: 1 - 4094

interface if-name

Interface name

Range: 0 - 32 characters

vport vport

PVC ID

Range: 1 - 8

current

Current statistics

history

History statistics

Mode
ZXAN(config)#

21-79
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to clear the IGMP statistics information:
ZXAN(config)#igmp statistics clear history mvlan 100
ZXAN(config)#

Related Commands
None

21.4.19 mvlan-translate
Syntax
mvlan-translate mvlan to cvlan
no mvlan-translate mvlan to cvlan

Purpose
To translate downstream MVLAN to CVLAN
Use no command to delete MVLAN translate.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

Mvlan-id

Specify MVLAN VLAN ID

Range: 1 4090

Cvlan-id

Specify CVLAN VLAN ID

Range: 1 4090

Mode
ZXAN(config)#

Example
The following example displays how to translate MVLAN to CVLAN:
ZXAN(config)#mvlan-translate 1000 to 100

Related Command
show mvlan-translate

21-80
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

21.4.20 show igmp interface


Syntax
show igmp interface interface-name [vport vport]

Purpose
To display the IGMP interface information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

Range: 0 - 32 characters

vport vport

Virtual port ID

Range: 1 - 255

Mode
Any mode except user mode

Example
The following example displays the IGMP interface information:
ZXAN#show igmp interface gpon-onu_1/1/2:3
IGMP interface gpon-onu_1/1/2:3 vport 1 parameters:
---------------------------------------------------IGMP status is drop.
IGMP version is v2.
fast leave is enable.
max concurrent group num is 32.
proxy ip is 192.168.2.14.
general query interval is 2 (second).
query max response time is 150 (0.1second).
last membership query interval is 10 (0.1second).
last membership query count is 2.
ZXAN#

Related Commands
None

21-81
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

21.4.21 show igmp mvlan


Syntax
show igmp mvlan [vid]

Purpose
To display MVLAN information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4095

Mode
Any mode except user mode

Example
The following example displays the MVLAN information:
ZXAN#show igmp mvlan
Total Num is 3.
VID

Status

Mode

Host IP

GroupFilt

MaxGroups

ActGroups

----------------------------------------------------------------2

enable

snooping 10.1.1.1

enable

1024

10

enable

proxy

0.0.0.0

enable

1024

100

enable

snooping 10.1.1.1

enable

1024

ZXAN#

Related Commands
None

21.4.22 show igmp mvlan group


Syntax
show igmp mvlan vid [group [group-address]]

Purpose
To display the MVLAN group details

21-82
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

MVLAN ID

Range: 1 - 4094

group-address

Group address

A.B.C.D

Mode
Any mode except user mode

Example
The following example displays the MVLAN group details:
ZXAN#show igmp mvlan 100
Source Port

: gei_1/3/1

Receive Port

: group: 224.1.1.1 - 224.1.1.10,

224.224.1.1 - 224.224.1.127
ZXAN#

Related Commands
None

21.4.23 show igmp dynamic-member


Syntax
show igmp dynamic-member [[shelf shelf] slot slot] [mvlan vid [group group-address]]

Purpose
To display the dynamic member information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf shelf

Specify shelf number

Range: 1 - 5

slot slot

Specify slot number

Range: 3 - 8, 11 - 16

mvlan vid

MVLAN ID

Range: 1 - 4095

group group-address

Group address

A.B.C.D

21-83
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays the dynamic member information:
ZXAN#show igmp dynamic-member
ZXAN#

Related Commands
None

21.4.24 show igmp static-member


Syntax
show igmp static-member [mvlan vid [group group-address]]

Purpose
To display the static membership information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mvlan vid

MVLAN ID

Range: 1 - 4095

group group-address

Group address

A.B.C.D

Mode
Any mode except user mode

Example
The following example displays the static membership information:
ZXAN#show igmp static-member
ZXAN#

Related Commands
None

21-84
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

21.4.25 show igmp log


Syntax
show igmp log [statistic] [interface if-name [vport vport]] [group group-address] [time hh:mm:ss
month day year [to hh:mm:ss month day year]]

Purpose
To display IGMP log information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

statistic

Statistics information

interface if-name

Interface name

Range: 0 - 32 characters

vport vport

PVC ID

Range: 1 - 8

group-address

Group address

A.B.C.D

hh:mm:ss

Time

hh: hours
mm: minutes
ss: seconds

month

Month

Keywords: apr, aug, dec, feb,


jan, jul, jun, mar, may, nov, oct,
sep

day

Day of month

Range: 1 - 31

year

Year

Range: 2001 - 2098

Mode
Any mode except user mode

Example
The following example displays the IGMP log information:
ZXAN#show igmp log group 224.1.1.1
ZXAN#

Related Commands
None

21-85
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

21.4.26 show igmp statistics


Syntax
show igmp statistic [mvlan mvlan-id] [interface if-name [vport vport]]

Purpose
To display IGMP statistics information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mvlan vid

MVLAN ID

Range: 1 - 4094

interface if-name

Interface name

Range: 0 32 characters

vport vport

Virtual port ID

Range: 1 - 255

Mode
Any mode except user mode

Example
The following example displays the IGMP statistics information:
ZXAN#show igmp statistics mvlan 100 interface gpon-onu_1/1/2:3 vport 1
ZXAN#

Related Commands
None

21.4.27 show mvlan-translate


Syntax
show mvlan-translate

Purpose
To show downstream multicast traffic VLAN translate items

Usage Guidelines
None
21-86
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 21 Multicast Commands

Mode
Any mode except user mode

Example
The following example displays how to show downstream multicast traffic VLAN translate
items:
ZXAN(config)#show mvlan-translate
Mvlan

Cvlan

---------------------------------------1000

100

1004

104

1005

105

1006

106

1007

107

1008

108

1009

109

1010

110

1011

111

1012

112

Related Command
mvlan-translate

21.5 SCB VLAN Commands


21.5.1 vlan-scb-action vlan-remove
Syntax
vlan-scb-action interface interface {vlan-remove vlan | vlan-translate {svlan vlanid } vlanvlanid
user-vlan vlanid }

Purpose
To remove tags from EPON OLTs SCB downstream traffic

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

interface interface

Interface name

OLT port

vlan

VLAN ID

14094

21-87
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Global configuration mode: ZXAN(config)#

Example
The following example shows how to remove tags from EPON OLTs SCB downstream
traffic:
ZXAN(config)# vlan-scb-action interface epon-olt_1/1/1 vlan-remove 10

Related Commands
None

Related Information
None

21.5.2 vlan-scb-action vlan-translate


Syntax
vlan-scb-action interface interface vlan-translate [ svlan svlan ] vlan vlan user-vlan user-vlan

Purpose
To configure the EPON OLT to translate VLAN of downstream SCB traffic

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface

OLT interface

vlan vlan

Downstream CVlan Id

1 4094

Mode
ZXAN(config)#

Example
The following example displays how to configure the EPON OLT to translate VLAN of
downstream SCB traffic:
ZXAN(config)#vlan-scb-action the interface gpon-olt_1/1/1 vlan-translate svlan 1
vlan 1 user-vlan 1

Related Commands
None
21-88
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22

IPTV Commands
Table of Contents
IPTV Global Commands...........................................................................................22-1
IPTV Channel Commands........................................................................................22-4
Package Commands .............................................................................................. 22-11
PWR Preview Commands ......................................................................................22-14
View-profile Profile Commands...............................................................................22-18
CDR Commands ....................................................................................................22-22
Interface Mode Commands ....................................................................................22-31

22.1 IPTV Global Commands


22.1.1 iptv cac
Syntax
iptv cac {enable | disable}

Purpose
To enable or disable CAC

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable CAC

disable

Disable CAC

Mode
ZXAN(config)#

Example
The following example displays how to enable IPTV channel access control:
ZXAN(config)#iptv cac enable
ZXAN(config)#

22-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show iptv control

Related Information
By default, CAC is disabled.

22.1.2 iptv sms-server


Syntax
iptv sms-server ipaddress

Purpose
To configure SMS server IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipaddress

SMS server IP address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure the SMS server IP address:
ZXAN(config)#iptv sms-server 10.61.97.156
ZXAN(config)#

Related Commands
show iptv control

22.1.3 iptv highest-priority


Syntax
iptv highest-priority { deny | watch }

Purpose
To configure the highest priority
22-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

deny

deny

watch

watch

Mode
ZXAN(config)#

Example
The following example displays how to configure the highest priority:
ZXAN(config)#iptv highest-priority deny

Related Commands
None

22.1.4 show iptv control


Syntax
show iptv control

Purpose
To display the IPTV channel control information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the IPTV channel control information:
ZXAN#show iptv control
CAC

: disable

SMS

: 192.168.0.119

ZXAN#

22-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
iptv sms-server

22.2 IPTV Channel Commands


22.2.1 iptv channel mvlan group name
Syntax
iptv channel mvlan mvlan-id group group-ip [name channel-name [id channel-id]]
no iptv channel name channel-name
no iptv channel id channel-id

Purpose
To configure IPTV channel information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mvlan-id

MVLAN ID

Range: 1 4096

group-ip

Group IP address

A.B.C.D

channel-name

Channel name

Range: 1 32 characters

id channel-id

Channel ID

Range: 1 1023

Mode
ZXAN(config)#

Example
The following example displays how to configure IPTV channel information:
l

Create channel.
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.1
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.3
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.4 name cqtv1
ZXAN(config)#iptv channel mvlan 2 group 224.1.1.2 name cqtv id 3
ZXAN(config)#

Display the configured channel information.


ZXAN#show iptv channel
ID

mvlan

group

name

22-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands


-------------------------------------------------0

224.1.1.1

CHNAME0

224.1.1.3

CHNAME1

224.1.1.4

CQTV1

224.1.1.2

CQTV

ZXAN#

Delete some channels.


ZXAN(config)#no iptv channel name cqtv
ZXAN(config)#no iptv channel id 0
ZXAN(config)#

Display the channel information after some channels are deleted.


ZXAN#show iptv channel
ID

mvlan

group

name

-------------------------------------------------1

224.1.1.3

CHNAME1

224.1.1.4

CQTV1

ZXAN#

Related Commands
show iptv channel

Related Information
If channel-name parameter is not used, the system uses the default channel name and ID.
Channel ID is calculated to be 5 by use of internal algorithm and its name is CHNAME5.
To configure channel name, ID must be unique.

22.2.2 iptv channel mvlan group to


Syntax
iptv channel mvlan mvlan-id group group-ip [to group-ip-end [prename prename-str]]
no iptv channel id channel-id

Purpose
To create or delete the channels in a batch

Usage Guidelines
The following table provides parameter description:
22-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

mvlan-id

MVLAN ID

Range: 1 4096

group-ip

Starting IP address

A.B.C.D

to group-ip-end

Ending IP address

A.B.C.D

prename prename-str

Multi channels prename

Range: 1 27 characters

id channel-id

Channel ID

Range: 0 1023

Mode
ZXAN(config)#

Example
The following example displays how to create or delete the channels in a batch
l

Create channels in a batch


ZXAN(config)#iptv channel mvlan 3 group 224.3.3.1 to 224.3.3.255
ZXAN(config)#iptv channel mvlan 4 group 224.3.4.1 to 224.3.3.255
prename cctv
ZXAN(config)#

Display the created channels.


ZXAN#show iptv channel
ID

mvlan

group

name

-------------------------------------------------0

224.3.3.1

CHNAME0

224.1.1.3

CHNAME1

224.1.1.4

CQTV1

224.3.3.2

CHNAME3

224.3.3.3

CHNAME4

224.3.3.4

CHNAME5

508

224.3.4.252

CCTV252

509

224.3.4.253

CCTV253

510

224.3.4.254

CCTV254

511

224.3.4.255

CCTV255

ZXAN#

Delete the channels in a batch.


ZXAN(config)#no iptv channel id 0-99
ZXAN(config)#

Display the channels which exist after some channels are deleted in a batch.
22-6

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands


ZXAN#show iptv channel
ID

mvlan

group

name

-------------------------------------------------100

224.3.3.99

CHNAME100

101

224.3.3.100

CHNAME101

102

224.3.3.101

CHNAME102

103

224.3.3.102

CHNAME103

104

224.3.3.103

CHNAME104

510

224.3.4.254

CCTV254

511

224.3.4.255

CCTV255

ZXAN#

Related Commands
show iptv channel

Related Information
l

l
l

This command is executed to create channels. The count-value is limited by the


last byte of group-ip address. Take group-ip address 224.3.2.X for instance. The
maximum count-value can be 255 and it means 255 channels. When VLAN ID does
not change, group-ip ranges from 224.3.2.1 to 224.3.2.255.
If prename-str parameter is configured, the channel name takes prename-str as prefix
and adds sequence number after that which starts from 1.
Use no form of this command to delete a channel with a specific ID list.

22.2.3 iptv channel rename


Syntax
iptv channel old-name rename new-name

Purpose
To rename an IPTV channel

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

old-name

Old name

Range: 1 32 characters

new-name

New name

Range: 1 32 characters

22-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to rename an IPTV channel:
ZXAN(config)#iptv channel chname100 rename hbtv
ZXAN(config)#show iptv channel
ID

mvlan

group

name

-------------------------------------------------100

224.3.3.99

HBTV

101

224.3.3.100

CHNAME101

102

224.3.3.101

CHNAME102

ZXAN(config)#

Related Commands
show iptv channel

22.2.4 iptv channel view-profile


Syntax
iptv channel channel-name view-profile viewfile-name

Purpose
To create an IPTV channel profile

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

channel-name

Channel name

Range: 1 32 characters

viewfile-name

Profile name

Range: 1 64 characters
Default Profile: DEFVAL.PRF

Mode
ZXAN(config)#

Example
The following example displays how to create an IPTV channel profile:
ZXAN(config)#iptv channel hbtv view-profile test

22-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands


ZXAN(config)#

Related Commands
show iptv channel

22.2.5 iptv channel cdr


Syntax
iptv channel channel-name cdr {enable | disable}

Purpose
To enable or disable IPTV channel CDR

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

channel-name

Channel name

Range: 1 32 characters

enable

Enable IPTV channel CDR

disable

Disable IPTV channel CDR

Mode
ZXAN(config)#

Example
The following example displays how to enable IPTV channel CDR:
ZXAN(config)#iptv channel hbtv cdr enable
ZXAN(config)#

Related Commands
show iptv channel

Related Information
By default, IPTV channel CDR is enabled.

22-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

22.2.6 show iptv channel


Syntax
show iptv channel [{channel-name} [users]]

Purpose
To display the IPTV channel information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

channel-name

Channel name

Range: 1 32 characters

users

Iptv channel users information

Mode
Any mode except user mode

Example
The following example displays the IPTV channel information:
ZXAN#show iptv channel hbtv
id

:0

mvlan

:3

group

:224.3.3.99

cdrenable

:enable

-------view info------viewprofile

:TEST.PRF

max-view-cout

:4

view-interval

:200

blankout-interval

:30

ZXAN#

Related Commands
None

22-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

22.3 Package Commands


22.3.1 iptv package
Syntax
iptv package name package-name [pkgid package-id]
no iptv package package-name

Purpose
To configure the IPTV package information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

package-name

Package name

Range: 1 32 characters

package-id

Package ID

Range: 0 1023

Mode
ZXAN(config)#

Example
The following example displays how to configure the IPTV package information:
ZXAN(config)#iptv pack name pkg1
ZXAN(config)#iptv pack name pkg2 pkgid 4
ZXAN(config)#

Related Commands
show iptv package

Related Information
When the package-id parameter is not configured, the system automatically generates a
package ID.

22-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

22.3.2 iptv package channel


Syntax
iptv package package-name channel {channel-name | idlist | mvlan mvlan-id group group-ip [to
group-ip-end]} {deny | watch | preview}
no iptv package channel package-name {channel-name | idlist | mvlan vlan-id group group-ip
[to group-ip-end ]}

Purpose
To configure the IPTV channel package information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

package-name

Package name

Range: 1 32 characters

channel-name

Channel name

Range: 1 32 characters

idlist

Channel ID list

Range: 0 1023

mvlan-id

MVLAN ID

Range: 1 4094

group group-ip

Starting IP address

A.B.C.D

to group-ip-end

Ending IP address

A.B.C.D

deny

Deny access

watch

Preview access only

preview

Full access

Mode
ZXAN(config)#

Example
The following example displays how to configure the IPTV channel package information:
ZXAN(config)#iptv package pkg1 channel 0,3-10 preview
ZXAN(config)#iptv package pkg1 channel hbtv50 watch
ZXAN(config)#iptv package pkg1 channel hbtv51 watch
ZXAN(config)#no iptv package pkg1 channel 50
ZXAN(config)#no iptv package pkg1 channel hbtv50
ZXAN(config)#

22-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Related Commands
show iptv package

22.3.3 iptv package rename


Syntax
iptv package rename package-name rename new-name

Purpose
To modify IPTV package name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

package-name

Old package name

1 32 characters

new-name

New package name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to modify IPTV package name:
ZXAN(config)#iptv package pkg1 rename pkg2

Related Commands
show iptv package

22.3.4 show iptv package


Syntax
show iptv package [package-name]

Purpose
To display the IPTV channel package information

Usage Guidelines
The following table provides parameter description:
22-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

package-name

Package name

Range: 1 32 characters

Mode
Any mode except user mode

Example
The following example displays the IPTV channel package information:
ZXAN#show iptv package
Total package number 2
----------------------------------------------------------Id

Packagename

Channels

Users

----------------------------------------------------------0

PKG1

PKG2

ZXAN#

ZXAN#show iptv package pkg1


Package name: PKG1
Total channel number: 1
----------------------------------------------------------------Id

Name

Ip-address

Mvlan

Right

----------------------------------------------------------------0

CCTV

224.1.1.1

Watch

ZXAN#

Related Commands
None

22.4 PWR Preview Commands


22.4.1 iptv prw
Syntax
iptv prw {enable | disable}

Purpose
To enable or disable the IPTV preview function

22-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the preview function

disable

Disable the preview function

Mode
ZXAN(config)#

Example
The following example displays how to enable the IPTV preview function:
ZXAN(config)#iptv prw enable
ZXAN(config)#

Related Commands
show iptv prw

22.4.2 iptv prw reset


Syntax
iptv prw reset

Purpose
To reset the IPTV user preview parameters

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to reset the IPTV user preview parameters:
ZXAN(config)#iptv prw reset
ZXAN(config)#

22-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show iptv prw

22.4.3 iptv prw auto-reset


Syntax
iptv prw auto-reset HH:MM:SS

Purpose
To configure the auto reset time for IPTV preview function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

HH:MM:SS

Reset time

hh:mm:ss

Mode
ZXAN(config)#

Example
The following example displays how to configure the auto reset time for IPTV preview
function:
ZXAN(config)#iptv prw auto-reset 23:58:59
ZXAN(config)#

Related Commands
show iptv prw

22.4.4 iptv prw recognition-time


Syntax
iptv prw recognition-time recog-time

Purpose
To configure IPTV preview recognition time

Usage Guidelines
The following table provides parameter description:
22-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Parameter

Description

Value

recog-time

Recognition time

Range: 1 60 seconds
Default: 4 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure IPTV preview recognition time:
ZXAN(config)#iptv prw recognition-time 12
ZXAN(config)#

Related Commands
show iptv prw

22.4.5 show iptv prw


Syntax
show iptv prw

Purpose
To display IPTV user preview information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the IPTV user preview information:
ZXAN#show iptv prw
Prwenable
PrwRecognitionTime
PrwAutoResetTime

: enable
: 12
: 23:58:59

ZXAN#

22-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

22.5 View-profile Profile Commands


22.5.1 iptv view-profile
Syntax
iptv view-profile viewfile-name
no iptv view-profile viewfile-name

Purpose
To configure the IPTV view profile parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

viewfile-name

View profile name

Range: 1 64 characters
Default Profile: DEFVAL.PRF

Mode
ZXAN(config)#

Example
The following example displays how to configure the IPTV view profile parameters:
ZXAN(config)#iptv view-profile test
ZXAN(config)#iptv view test count 4 duration 200 interval 30
ZXAN(config)#

Related Commands
iptv view-profile count
iptv view-profile duration

22.5.2 iptv view-profile count


Syntax
iptv view-profile viewfile-name count view-count [duration duration-time] [blackout blackout-i
nterval]
22-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Purpose
To configure the IPTV view profile count time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

viewfile-name

View profile name

Range: 1 64 characters

view-count

Maximum preview count

Range: 1 100

time

Default: 3

Duration time

Range: 1 6000 seconds

duration duration-time

Default: 120 seconds


blackout blackout-interval

Blackout interval

Range: 1 7200 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure the IPTV view profile count time:
ZXAN(config)#iptv view-profile test count 20
ZXAN(config)#

Related Commands
iptv view-profile duration

22.5.3 iptv view-profile duration


Syntax
iptv view-profile viewfile-name duration view-duration [blackout blackout-interval]

Purpose
To configure the IPTV view profile duration time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

viewfile-name

View profile name

Range: 1 64 characters

22-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

duration-time

Duration time

Range: 1 6000 seconds


Default: 120 seconds

blackout blackout-interval

Blackout interval

Range: 1 7200 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure the IPTV view profile duration time:
ZXAN(config)#iptv view-profile test duration 120
ZXAN(config)#

Related Commands
iptv view-profile count

22.5.4 iptv view-profile blackout


Syntax
iptv view-profile viewfile-name blackout blackout-interval

Purpose
To configure the IPTV view profile blackout interval

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

viewfile-name

View profile name

Range: 1 64 characters

blackout-interval

Blackout interval

Range: 1 7200 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure the IPTV view profile blackout interval:
ZXAN(config)#iptv view-profile test blackout interval 20
ZXAN(config)#

22-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Related Commands
iptv view-profile duration
iptv view-profile count

22.5.5 show iptv view-profile


Syntax
show iptv view-profile [viewfile-name]

Purpose
To display the IPTV view profile parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

viewfile-name

View profile name

Range: 1 64 characters

Mode
Any mode except user mode

Example
The following example displays the IPTV view profile parameters:
ZXAN#show iptv view-profile
all view-profile-----DEFVAL.PRF
TEST.PRF
ZXAN#

ZXAN#show iptv view-profile test


max-view-count
view-duration

:4
:200(s)

blackout-interval

:30(s)

ZXAN#

Related Commands
iptv view-profile count
iptv view-profile duration

22-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

22.6 CDR Commands


22.6.1 iptv cdr
Syntax
iptv cdr {enable | disable}

Purpose
To enable or disable the CDR function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the CDR function

disable

Disable the CDR function

Mode
ZXAN(config)#

Example
The following example displays how to enable the CDR function:
ZXAN(config)#iptv cdr enable
ZXAN(config)#

Related Commands
iptv cdr max-records

22.6.2 iptv cdr max-records


Syntax
iptv cdr max-records cdr-size

Purpose
To configure the maximum CDR records that can be cached

Usage Guidelines
The following table provides parameter description:
22-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Parameter

Description

Value

cdr-size

CDR maximum records

Range: 500 65535

Mode
ZXAN(config)#

Example
The following example displays how to configure maximum CDR records that can be
cached:
ZXAN(config)#iptv cdr max-records 6000
ZXAN(config)#

Related Commands
iptv cdr report-interval
iptv cdr report
iptv cdr creat-interval
iptv cdr deny-right
iptv cdr prw-right
show iptv cdr

22.6.3 iptv cdr report


Syntax
iptv cdr report

Purpose
To report the CDR records

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to report the CDR records:
ZXAN(config)#iptv cdr report

22-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#

Related Commands
iptv cdr report-interval
iptv cdr max-records
iptv cdr creat-interval
iptv cdr deny-right
iptv cdr prw-right
show iptv cdr

22.6.4 iptv cdr report-interval


Syntax
iptv cdr report-interval report-interval

Purpose
To configure the interval for generation of CDR report

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

report-interval

Report interval

Range: 1 30 minutes
Default: 5 minutes

Mode
ZXAN(config)#

Example
The following example displays how to configure the interval for generation of CDR report:
ZXAN(config)#iptv cdr report-interval 10
ZXAN(config)#

Related Commands
iptv cdr report
iptv cdr max-records
iptv cdr creat-interval
22-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

iptv cdr deny-right


iptv cdr prw-right
show iptv cdr

22.6.5 iptv cdr report-threshold


Syntax
iptv cdr report-threshold report-threshold

Purpose
To configure CDR auto-report threshold value

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

report-threshold

Threshold value (should not

Range: 300 65535

more than CDR max-records)

Mode
ZXAN(config)#

Example
The following example displays how to configure CDR auto-report threshold value:
ZXAN(config)#iptv cdr report-threshold 300
ZXAN(config)#

Related Commands
iptv cdr report-interval
iptv cdr report

22.6.6 iptv cdr create-period


Syntax
iptv cdr create-period period

Purpose
To configure the period for creating a CDR record for 'permit' user
22-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

period

CDR record interval

Range: 0 1440 minutes

Mode
ZXAN(config)#

Example
The following example displays how to configure the period for creating a CDR record for
'permit' user:
ZXAN(config)#iptv cdr create-period 30
ZXAN(config)#

Related Commands
show iptv cdr

22.6.7 iptv cdr deny-right


Syntax
iptv cdr deny-right {enable | disable}

Purpose
To enable or disable the 'Deny' user for generating the CDR records

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the 'Deny' user for

generating CDR records


enable

Disable the 'Deny' user for

generating CDR records

Mode
ZXAN(config)#

22-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Example
The following example displays how to enable the 'Deny' user for generating the CDR
records:
ZXAN(config)#iptv cdr deny-right enable
ZXAN(config)#

Related Commands
iptv cdr prw-right
show iptv cdr

22.6.8 iptv cdr prw-right


Syntax
iptv cdr prw-right {enable | disable}

Purpose
To enable or disable the 'Preview' user for generating the CDR records

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the 'Preview' user for

generating the CDR records


disable

Disable the 'Preview' user for

generating the CDR records

Mode
ZXAN(config)#

Example
The following example displays how to enable the 'Preview' user for generating the CDR
records:
ZXAN(config)#iptv cdr prw-right enable
ZXAN(config)#

Related Commands
iptv cdr deny-right
22-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

show iptv cdr

22.6.9 iptv cdr prw-overcount


Syntax
iptv cdr prw-overcount {enable | disable}

Purpose
To enable or disable the CDR switch for preview user over-count

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable CDR switch for preview

user over-count
disable

Disable CDR switch for preview

user over-count

Mode
ZXAN(config)#

Example
The following example displays how to enable CDR switch for preview over-count:
ZXAN(config)#iptv cdr prw-overcount enable
ZXAN(config)#

Related Commands
iptv cdr prw-right
show iptv cdr

22.6.10 iptv cdr clear


Syntax
iptv cdr clear

Purpose
To clear IPTV CDR records
22-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to clear IPTV CDR records:
ZXAN(config)#iptv cdr clear
ZXAN(config)#

Related Commands
show iptv cdr

22.6.11 show iptv cdr


Syntax
show iptv cdr [records | line-card ]

Purpose
To display the IPTV CDR information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

records

All CDR records on main card

line-card

CDR records from all lind cards

Mode
Any mode except user mode

Example
The following example displays the IPTV CDR information:
ZXAN#show iptv cdr
CDR

DISABLE

CDR State

IDLE

CDR SocketStatus

CLOSE

CDR Deny-right

ENABLE

22-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


CDR Prw-right

ENABLE

CDR Create-Period(min.)

60

MAX-RECORDS

1000

REPORT-INTERVAL(sec.)

300

Records in cache

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

CDR

CDR status

CDR State

CDR transmission status

CDR Deny-right

CDR record for 'Deny' user

CDR Prw-right

CDR record for 'Preview' user

CDR Create-Period

CDR record period for 'Permit' user

MAX-RECORDS

Maximum number of CDR records

Records in cache

CDR records in cache

Related Commands
None

22.6.12 show iptv cdr content


Syntax
show iptv cdr content

Purpose
To display CDR record contents

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the CDR record contents:
ZXAN#show iptv cdr content
--Cdr message includes following information.

22-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands


--Index

: it is a local index of a Cdr message(0-4294967296).

--Time_stamp

: the absolute time of Cdr message generated.

--ifindex

: the port which generate this message.

--Vid

: multicast vlan id.

--SourceIP

: source ip in IGMPv3.0,it is 0.0.0.0 when the device

--

can't support IGMPv3.0.

--GroupIP

: multicast group ip.

--Validility

: indicate if the access is valid.

---Type

'1' is valid and '2' is invalid.


: the type of access.

--

1 -- view

--

2 -- preview

--

0 -- deny

--Reason

: the reason of leave.

--

0 --

permit Leave(valid)

--

1 --

prw normal leave(valid)

--

2 --

prw overinterval leave(invalid)

--

3 --

prw overcount leave(invalid)

--

4 --

deny(invalid)

--

5 --

permit over-config-period(valid)

--Time_online : how long this access does,the unit is seconds.

ZXAN#

Related Commands
None

22.7 Interface Mode Commands


22.7.1 iptv service
Syntax
iptv service {start | pause | resume | remove} [vport vport]

Purpose
To configure the IPTV port service mode

Usage Guidelines
The following table provides parameter description:

22-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

start

Start the IPTV service

pause

Pause the IPTV service

resume

Resume the IPTV service

remove

Remove the IPTV service

vport vport

Virtual port ID

Range: 1 32

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the IPTV port service mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv service start vport 3
ZXAN(config-if)#

Related Commands
show iptv interface

Related Information
l
l
l
l

start: User enters IN_SERVICE state


pause: User enters PAUSE_SERVICE state
resume: User enters IN_SERVICE state
remove: User enters NO_SERVICE state

22.7.2 iptv auth-mode


Syntax
iptv auth-mode {auth | no-auth} [vport vport]

Purpose
To configure the IPTV user authorization mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

auth

Authorization mode

22-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands

Parameter

Description

Value

no-auth

No authorization mode

vport vport

Virtual port ID

Range: 1 32

Mode
Epon-onu interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the IPTV user authorization mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv auth-mode no-auth vport 1
ZXAN(config-if)#

Related Commands
show iptv interface

Related Information
By default, the right mode is authorization mode. When authorization mode is changed
from auth to no-auth, the package and channel configuration is deleted.

22.7.3 iptv right-mode


Syntax
iptv right-mode {package | channel} [vport vport]

Purpose
To configure the IPTV user multicast control mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

package

Package access mode

channel

Channel access mode

vport vport

Virtual port ID

Range: 1 32

Mode
Epon-onu interface configuration mode
22-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

ZXAN(config-if)#

Example
The following example displays how to configure the IPTV user multicast control mode:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv right-mode package vport 1
ZXAN(config-if)#

Related Commands
show iptv interface

22.7.4 iptv channel


Syntax
iptv channel {channel-name | package-list} {deny | watch | preview} [ vport vport]
no iptv channel {channel-name | package-list} [vport vport]

Purpose
To configure the IPTV user channel information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

channel-name

Channel name

Range: 1 32 characters

package-list

Package ID

Range: 0 1023

deny

Deny the user

watch

Full entitlement of the channels

preview

Preview rights for the port

vport vport

Virtual port ID

Range: 1 32

Mode
Epon-onu interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the IPTV user channel information:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv channel chname0 watch vport 1

22-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands


ZXAN(config-if)#

Related Commands
show iptv interface

22.7.5 iptv cdr


Syntax
iptv cdr {disable | enable} [vport vport]

Purpose
To enable or disable the CDR function for an IPTV user

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the CDR function

disable

Disable the CDR function

vport vport

Virtual port ID

Range: 1 32

Mode
Epon-onu interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to enable the CDR function for an IPTV user:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#iptv cdr enable vport 1
ZXAN(config-if)#

Related Commands
show iptv interface

22.7.6 show iptv interface


Syntax
show iptv interface interface-name [vport vport ][channel | package | watching | previewing]
22-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display IPTV user information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

PON-ONU interface

interface-name

name

vport vport

Virtual port ID

Range: 1 256

channel

Channel information

package

Package information

watching

Channel watching

information
Channel preview

previewing

information

Mode
Any mode except user mode

Example
The following example displays the IPTV user information:
ZXAN#show iptv interface gpon-onu_1/1/1:1 vport 1
auth-mode : auth
right-mode: package
cdrstatus : enable
service

: IN_SERVICE

ZXAN#

ZXAN#show iptv interface gpon-onu_1/1/1:1 vport 1 channel


Total channel num : 2
channel-id

right

channel-name

-----------------------------------------1

preview

watch

CHNAME1
CHNAME2

ZXAN#

ZXAN#show iptv interface gpon-onu_1/1/1:1 vport 1 package


Total package num: 1
pkg-id

pkg-name

-----------------------------------------0

PKG1

22-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 22 IPTV Commands


ZXAN#

Related Commands
None

22-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

22-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23

Ethernet OAM Commands


(802.3ag & 802.3ah)
Table of Contents
efm enable ...............................................................................................................23-2
efm disable...............................................................................................................23-2
efm remote-loopback................................................................................................23-3
efm send-packet.......................................................................................................23-4
cfm create md ..........................................................................................................23-4
cfm delete ................................................................................................................23-5
cfm enable ...............................................................................................................23-6
cfm md session ........................................................................................................23-6
ma create .................................................................................................................23-7
ma delete .................................................................................................................23-7
ma session...............................................................................................................23-8
assign ......................................................................................................................23-9
ccm timer-interval .....................................................................................................23-9
create mep .............................................................................................................23-10
create mip .............................................................................................................. 23-11
create rmep............................................................................................................23-12
mep........................................................................................................................23-12
primary vlan ...........................................................................................................23-13
protect....................................................................................................................23-13
ccm-send ...............................................................................................................23-14
state enable ...........................................................................................................23-15
cfm lbm ..................................................................................................................23-15
cfm ltm ...................................................................................................................23-16
cfm ltr-read.............................................................................................................23-17
show efm interface .................................................................................................23-18
show cfm ma ..........................................................................................................23-19
show cfm md ..........................................................................................................23-20
show cfm mp ..........................................................................................................23-20
show cfm status .....................................................................................................23-22

23-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

23.1 efm enable


Syntax
efm enable {active | passive}

Purpose
To configure port 802.3ah OAM mode and enable port OAM function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

active

Active mode

passive

Passive mode

Mode
ZXAN(config-if)#

Example
The following example displays how to configure 802.3ah OAM mode and enable port
OAM function:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm enable active
ZXAN(config-if)#

Related Commands
None

23.2 efm disable


Syntax
efm disable

Purpose
To disable port OAM function

Usage Guidelines
None
23-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Mode
ZXAN(config-if)#

Example
The following example displays how to disable port OAM function:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm disable
ZXAN(config-if)#

Related Commands
None

23.3 efm remote-loopback


Syntax
efm remote-loopback

Purpose
To configure 802.3ah OAM remote looback

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure 802.3ah OAM remote loopback:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm remote-loopback
ZXAN(config-if)#

Related Commands
None

Related Information
Only when the port's 802.3ah OAM mode is 'active', can the port be configured with remote
loopback. The port in passive mode cannot be configured with remote loopback.
23-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

23.4 efm send-packet


Syntax
efm send-packet[Num]

Purpose
To configure the number of sent packets while there is a loopback on the remote end

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

Num

Number of packets

1 10

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the number of sent packets :
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#efm send-packet 3

Related Commands
show efm

Related Information
When a port whose 802.3ah mode is active is set to remote loopback successfully, you
can use the command efm send-packet to send test packets.

23.5 cfm create md


Syntax
cfm create md session id name name level level

Purpose
To create the CFM MD

Usage Guidelines
The following table provides parameter description:
23-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Parameter

Description

Value

session id

Session ID

Range: 1 16

name name

MD name

1 16 characters

level level

MD level

Range: 0 7

Mode
ZXAN(config)#

Example
The following example displays how to create a CFM MD:
ZXAN(config)#cfm create md session 1 name md1 level 3
ZXAN(config-md)#

Related Commands
show cfm md

23.6 cfm delete


Syntax
cfm delete md id

Purpose
To delete the Ethernet OAM MD

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

Session ID

Range: 1 16

Mode
ZXAN(config)#

Example
The following example displays how to delete an Ethernet OAM MD:
ZXAN(config)#cfm delete md 1

Related Commands
show cfm md
23-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

23.7 cfm enable


Syntax
cfm enable

Purpose
To enable the CFM function

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the CFM function:
ZXAN(config)#cfm enable

Related Commands
show cfm status

23.8 cfm md session


Syntax
cfm md session id

Purpose
To configure the CFM MD

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

Session ID

Range: 1 16

Mode
ZXAN(config)#

23-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Example
The following example displays how to configure a CFM MD:
ZXAN(config)#cfm md session 1
ZXAN(config-md)#

Related Commands
show cfm md

23.9 ma create
Syntax
ma create session id name name

Purpose
To create the CFM MA

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session id

Session ID

Range: 1 32

name name

MD name

1 16 characters

Mode
ZXAN(config-md)#

Example
The following example displays how to create a CFM MA:
ZXAN(config-md)#ma create session 1 name ma1
ZXAN(config-md-ma)#

Related Commands
show cfm ma

23.10 ma delete
Syntax
ma delete { id | name }
23-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To delete the CFM MA

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

Session ID

Range: 1 32

name

MA name

1 16 characters

Mode
ZXAN(config-md)#

Example
The following example displays how to delete a CFM MA:
ZXAN(config-md)#ma delete 1

Related Commands
show cfm ma

23.11 ma session
Syntax
ma session id

Purpose
To configure the CFM MA

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

id

Session ID

Range: 1 32

Mode
ZXAN(config-md)#

Example
The following example displays how to configure a CFM MA:
ZXAN(config-md)#ma session 1

23-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)


ZXAN(config-md-ma)#

Related Commands
show cfm ma

23.12 assign
Syntax
assign { mep mepid | mip sessionid } to { interface interface | tunnel tunnelid }

Purpose
To assign Ethernet interface to MEP or MIP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mep mepid

MEP ID

Range: 1 8191

mip sessionid

Session ID

Range: 1 64

interface interface

Ethernet interface or smartgroup

1 16 characters

interface
tunnel tunnelid

Tunnel ID

Range: 1 4096

Mode
ZXAN(config-md)#

Example
The following example displays how to create a CFM MA:
ZXAN(config-md-ma)#assign mep 1 to interface gei_1/3/1

Related Commands
show cfm ma

23.13 ccm timer-interval


Syntax
ccm timer-interval interval

23-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the CCM interval

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interval

CCM interval

Range: 1 7
1: 3 ms
2: 10 ms
3: 100 ms
4: 1 s
5: 10 s
6: 1 min
7: 10 min

Mode
ZXAN(config-md-ma)#

Example
The following example displays how to enable the CCM sending function:
ZXAN(config-md-ma)#ccm timer-interval 2

Related Commands
show cfm ma

23.14 create mep


Syntax
create mep session id mepid direction { down | up }

Purpose
To create the CFM MEP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session id

Session ID

Range: 1 64

mepid

MEP ID

Range: 1 8191

23-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Mode
ZXAN(config-md-ma)#

Example
The following example displays how to create a CFM MEP:
ZXAN(config-md-ma)#create mep session 1 1 direction down
ZXAN(config-md-ma-mep)#

Related Commands
show cfm ma

23.15 create mip


Syntax
create mip session id name name

Purpose
To create the CFM MIP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session id

Session ID

Range: 1 64

name name

MIP name

1 16 characters

Mode
ZXAN(config-md-ma)#

Example
The following example displays how to create a CFM MIP:
ZXAN(config-md-ma)#create mip session 2 name mip1

Related Commands
show cfm ma

23-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

23.16 create rmep


Syntax
create rmep session id mepid macaddr

Purpose
To create the CFM RMEP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session id

Session ID

Range: 1 64

mepid

MEP ID

Range: 1 8191

macaddr

MAC address

XXXX.XXXX.XXXX

Mode
ZXAN(config-md-ma)#

Example
The following example displays how to create a CFM RMEP:
ZXAN(config-md-ma)#create rmep session 2 2 remote-mac 00d0.d058.6958

Related Commands
show cfm ma

23.17 mep
Syntax
mep mepid id

Purpose
To configure the CFM MEP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mepid id

MEP ID

Range: 1 8191

23-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Mode
ZXAN(config-md-ma)#

Example
The following example displays how to configure a CFM MEP:
ZXAN(config-md)#mep mepid 1
ZXAN(config-md-ma-mep)#

Related Commands
show cfm mp

23.18 primary vlan


Syntax
primary vlan vid

Purpose
To configure the primary VLAN of CFM MA

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

VLAN ID

Range: 1 4094

Mode
ZXAN(config-md-ma)#

Example
The following example displays how to configure the primary VLAN of a CFM MA:
ZXAN(config-md-ma)#primary vlan 100

Related Commands
show cfm ma

23.19 protect
Syntax
protect { link | tunnel | vlan }
23-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure protection mode of CFM MA

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

link

Protect link

tunnel

Protect tunnel

vlan

Protect VLAN

Mode
ZXAN(config-md-ma)#

Example
The following example displays how to configure protect mode of the CFM MA:
ZXAN(config-md-ma)#protect vlan

Related Commands
show cfm ma

23.20 ccm-send
Syntax
ccm-send { disable | enable }

Purpose
To enable or disable the CCM sending function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

To disable the function

enable

To enable the function

Mode
ZXAN(config-md-ma-mep)#
23-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Example
The following example displays how to enable the CCM sending function:
ZXAN(config-md-ma-mep)#ccm-send enable

Related Commands
show cfm mp

23.21 state enable


Syntax
state enable

Purpose
To enable the MEP

Usage Guidelines
None

Mode
ZXAN(config-md-ma-mep)#

Example
The following example displays how to enable the MEP:
ZXAN(config-md-ma-mep)#state enable

Related Commands
show cfm mp

23.22 cfm lbm


Syntax
cfm lbm md mdid ma maid smep-id smep-id { dmep-id dmep-id | dmep-mac dmep-mac | dmip
-mac dmip-mac} [ repeat count ] [ size size ] [ timeout time ]

Purpose
To send CFM loopback messages

23-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

md mdid

MD ID

Range: 1 16

ma maid

MA ID

Range: 1 32

smep-id smep-id

Source MEP ID

Range: 1 8191

dmep-id dmep-id

Destination MEP ID

Range: 1 8191

dmep-mac dmep-mac

Destination MEP MAC

XXXX.XXXX.XXXX

dmip-mac dmip-mac

Destination MIP MAC

XXXX.XXXX.XXXX

repeat count

Repeat counts

Range: 1 200

size size

Data TLV length

Range: 1 400

timeout time

Time-out interval

Range: 1 10, unit: s

Mode
ZXAN#

Example
The following example displays how to send CFM loopback messages between to MEPs:
ZXAN#cfm lbm md 1 ma 1 smep-id 1 dmep-id 2

Related Commands
cmf ltm

23.23 cfm ltm


Syntax
cfm ltm md mdid ma maid smep-id smep-id { dmep-id dmep-id | dmep-mac dmep-mac | dmipmac dmip-mac} [ timeout time ] [ ttl ttl ]

Purpose
To send CFM link trace messages

Usage Guidelines
The following table provides parameter description:

23-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Parameter

Description

Value

md mdid

MD ID

Range: 1 16

ma maid

MA ID

Range: 1 32

smep-id smep-id

Source MEP ID

Range: 1 8191

dmep-id dmep-id

Destination MEP ID

Range: 1 8191

dmep-mac dmep-mac

Destination MEP MAC

XXXX.XXXX.XXXX

dmip-mac dmip-mac

Destination MIP MAC

XXXX.XXXX.XXXX

timeout time

Time-out interval

Range: 5 10, unit: s

ttl ttl

TTL

Range: 1 64

Mode
ZXAN#

Example
The following example displays how to send CFM link trace messages between to MEPs:
ZXAN#cfm ltm md 1 ma 1 smep-id 1 dmep-id 2

Related Commands
cmf lbm

23.24 cfm ltr-read


Syntax
cfm ltr-read trans-id id

Purpose
To read the CFM link trace reply

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

trans-id id

Transaction ID

Range: 1 42949672955

Mode
ZXAN#

23-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to read the CFM link trace reply:
ZXAN#cfm ltr-read trans-id 10

Related Commands
cmf ltm

23.25 show efm interface


Syntax
show efm interface interface_name

Purpose
To show port OAM information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface_name

Uplink port name

Mode
ZXAN(config-if)#

Example
The following example displays how to show port OAM information:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#show efm interface gei_1/3/1
Function Switch: ON
Mode: ACTIVE

Status: SEND_ANY

RmoteLoopback: Remote Loopback


Send 5 packets, receive 5 packets
ZXAN(config-if)#

Related Commands
None

23-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

23.26 show cfm ma


Syntax
show cfm ma { all | session id } md mdid

Purpose
To display the CFM MA configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

All sessions

session id

MA session ID

Range: 1 32

md mdid

MD session ID

Range: 1 16

Mode
Any mode except ZXAN>

Example
The following example displays the CFM MA configuration:
ZXAN(config-md-ma)#show cfm ma all md 1

MA session 1
name:

ma1

belong to MD:

primary vlan:

100

protect type:

vlan

tunnel:

time interval:
speed:

1(s)

slow

contain MP numbers:

contain Normal vlan:

Related Commands
create cfm ma

23-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

23.27 show cfm md


Syntax
show cfm md { all | session id }

Purpose
To display the CFM MD configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

all

All sessions

session id

Session ID

Range: 1 16

Mode
Any mode except ZXAN>

Example
The following example displays the CFM MD configuration:
ZXAN(config)#show cfm md all
MD session 1
name:
level:

md1
3

contain MA numbers: 0

Related Commands
create cfm md

23.28 show cfm mp


Syntax
show cfm ma { all | session id} md mdid

Purpose
To display the CFM MA configuration

Usage Guidelines
The following table provides parameter description:
23-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Parameter

Description

Value

all

All sessions

session id

MA session ID

Range: 1 32

md mdid

MD session ID

Range: 1 16

ma maid

MA session ID

Range: 1 64

Mode
Any mode except ZXAN>

Example
The following example displays the CFM MA configuration:
ZXAN(config)#show cfm mp all md 1 ma 1
MP session 1
type: local mep
direction: down
mep id: 1
admi state: disable
ccm send state: disable
mep priority: 7
mep client-level: 0
mep ais state: disable
mep lck state: disable
mep ais flag state: disable
mep lck flag state: disable
ccm check state: enable
lowest alarm priory: 1
assign port: gei_1/3/1
assign tunnel: 0
relate-to rmep:0
One-LM state: disable
LocalLoss: 0

LocalLoss_Average: 0

RmtLoss: 0

RmtLoss_Average: 0

Two-LM state: disable


LocalLoss: 0

LocalLoss_Average: 0

RmtLoss: 0

RmtLoss_Average: 0

One-DM state: disable


TimeDelay: 0

TimeDelayAverage: 0

TimeDelayIntervalAverage: 0

Two-DM state: disable


TimeDelay: 0

TimeDelayAverage: 0

23-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


TimeDelayIntervalAverage: 0

DefXconCCM:0
DefErrorCCM:0
DefRemoteCCM:0
DefRDICCM:0
UnexpectedMepIDCCM:0
UnexpectedPeriodCCM:0
UnexpectedLevelCCM:0

MP session 2
type: mip
name: mip1
assign port:

MP session 3
type: remote mep
mep id: 3
admi state: disable
ccm check state: enable
ccm send state: disable
remote mac: d0d0.1123.ef01

DefRemoteCCM:1
DefRDICCM:0

Related Commands
create mep

23.29 show cfm status


Syntax
show cfm status

Purpose
To display the CFM status

Usage Guidelines
None

Mode
Any mode except ZXAN>

23-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 23 Ethernet OAM Commands (802.3ag & 802.3ah)

Example
The following example displays the CFM status:
ZXAN(config)#show cfm status
CFM enabled

Related Commands
cfm enable

23-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

23-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 24

LST Commands
Table of Contents
lst-group ...................................................................................................................24-1
add-port ...................................................................................................................24-2
next-hop ...................................................................................................................24-2
interval-link-detect ....................................................................................................24-3
retry-link-detect ........................................................................................................24-4
show lst ....................................................................................................................24-5
show lst groupid .......................................................................................................24-5

24.1 lst-group
Syntax
lst-group group-id
no lst-group group-id

Purpose
To create a lst group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-id

Group ID

Range: 1 16

Mode
ZXAN(config)#

Example
The following example displays how to create a lst group:
ZXAN(config)#lst-group 4
ZXAN(cfg-lst-4)#

Related Commands
show lst-group
24-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

24.2 add-port
Syntax
add-port { uplink-port | olt-port } interface
no add-port { uplink-port | olt-port } interface

Purpose
To configure the binding between the uplink port and OLT port (PON port) in a lst group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

Interface

Uplink port or OLT port

Mode
ZXAN(cfg-lst-id)#

Example
The following example displays how to configure the between the uplink port and OLT port
(PON port) in a lst group:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)#add-port uplink-port gei_1/3/1

Related Commands
None

Related Information
If one uplink port is already specified in a lst group, the uplink port cannot be used in other
lst groups. If some OLT ports are already bound to a lst group, these OLT ports cannot
be used in other lst groups. One lst group can only be configured with one uplink port and
less than 40 OLT ports.

24.3 next-hop
Syntax
next-hop ipaddress
no next-hop
24-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 24 LST Commands

Purpose
To configure the next-hop IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipaddress

IP address

Mode
ZXAN(cfg-lst-id)#

Example
The following example displays how to configure the next-hop IP address:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)# next-hop 10.10.10.1

Related Commands
show lst groupid

Related Information
You need to create a lst group before executing this command.

24.4 interval-link-detect
Syntax
interval-link-detect time

Purpose
To configure the link detection interval

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Detection time

Range: 1 10
Unit: sec
Default: 3

24-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(cfg-lst-id)#

Example
The following example displays how to configure the link detection interval:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)# interval-link-detect 9

Related Commands
show lst groupid

Related Information
You need to create a lst group before executing this command.

24.5 retry-link-detect
Syntax
retry-link-detect num

Purpose
To configure the retry times

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

num

Retry times

Range: 1 10
Default: 5

Mode
ZXAN(cfg-lst-id)#

Example
The following example displays how to configure the retry times:
ZXAN(config)#lst-group 1
ZXAN(cfg-lst-1)# retry-link-detect 9

Related Commands
show lst groupid
24-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 24 LST Commands

Related Information
You need to create a lst group before executing this command.

24.6 show lst


Syntax
show lst

Purpose
To display the current lst group

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the current lst group:
ZXAN(config)#show lst
Group List :
--------------------------------------Group List :
--------------------------------------1

Related Commands
show lst groupid

24.7 show lst groupid


Syntax
show lst groupid groupid

Purpose
To display the information of a lst group

Usage Guidelines
The following table provides parameter description:
24-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

groupid

lst group ID

Range: 1 16

Mode
Any mode except ZXAN>

Example
The following example displays the information of a lst group:
ZXAN(config)#show lst groupid 1

Switch type

Uplink ports status

Pon ports status

Next-hop

common port

gei_1/3/1 : up

0.0.0.0

Link-detect-retry

Link-detect-interval

Link status

N/A

Related Commands
show lst

24-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 25

Port Configuration
Commands
Table of Contents
max-mac-learn .........................................................................................................25-1
linktrap .....................................................................................................................25-2
lock ..........................................................................................................................25-3
customer-xconnect ...................................................................................................25-4
flowcontrol................................................................................................................25-4
port-protect...............................................................................................................25-5
description................................................................................................................25-6
eth-switch multicast-limit...........................................................................................25-7
eth-switch mac-protect .............................................................................................25-8
eth-switch vlan-limit ..................................................................................................25-8
optical-module-alarm-profile .....................................................................................25-9
ip access-group......................................................................................................25-10
show customer-xconnect detail .............................................................................. 25-11
show customer-xconnect summary ........................................................................25-12
show interface port-status ......................................................................................25-12

25.1 max-mac-learn
Syntax
max-mac-learn num [vport vportno]
no max-mac-learn [vport vportno]

Purpose
To configure the maximum MAC address learn number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

num

Maximum MAC learn number

Range: 0 4095

25-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

vport vportno

Virtual port number

1 256
Default: 1

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum MAC address learn
number:
ZXAN(config)#interface gpon-onu_1/1/4:1
ZXAN(config-if)#max-mac-learn 128 vport 1

Related Commands
None

25.2 linktrap
Syntax
For EPON OLT interface configuration mode:
linktrap {disable | inform}
For Ethernet interface configuration mode:
linktrap {alarm | disable }

Purpose
To configure interface link traps

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

Disable link traps

inform

Enable link trap informs

alarm

Enable link trap alarms

Mode
ZXAN(config-if)#
25-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 25 Port Configuration Commands

Example
The following example displays how to enable link trap informs in EPON OLT interface
configuration mode:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#linktrap inform

The following example displays how to enable link trap alarm in Ethernet interface
configuration mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#linktrap alarm

Related Commands
show running interface

Related Information
l
l

Link traps are disabled by default in EPON OLT configuration mode.


By default, alarms are enabled in Ethernet interface configuration mode. When a port
link goes down, the system sends a 'link down' alarm to the network management
system. When the port link is up, the 'link down' alarm is cleared.

25.3 lock
Syntax
lock
no lock

Purpose
To lock (shutdown) a EPON OLT interface

Usage Guidelines
None

Mode
EPON OLT interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to lock (shutdown) a EPON OLT interface:
25-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#lock

Related Commands
None

Related Information
l
l
l

When a EPON OLT interface is locked (shutdown), all alarms of the OLT are cleared
and no more alarms occur.
When a EPON OLT interface is unlocked (no shutdown), the OLT state is changed to
'up' and interface is enabled.
By default, EPON OLT interface is unlocked.

25.4 customer-xconnect
Syntax
customer-xconnect { enable | disable } [ cvlan cvlanid]

Purpose
To set the customer-xconnect on a CVLAN

Usage Guidelines
None

Mode
ZXAN(config-vlan)#

Example
The following example shows how to set the customer-xconnect on CVLAN 23:
ZXAN(config-vlan)#customer-xconnect enable cvlan 23

Related Commands
None

25.5 flowcontrol
Syntax
flowcontrol {enable | disable}
25-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 25 Port Configuration Commands

no flowcontrol

Purpose
To configure flow control

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable flow control

disable

Disable flow control

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to enable flow control:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#flowcontrol enable

Related Commands
None

Related Information
By default, the Ethernet uplink port flow control is disabled.

25.6 port-protect
Syntax
port-protect {enable | disable}

Purpose
To configure port protection

Usage Guidelines
The following table provides parameter description:
25-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

enable

Enable port protection

disable

Disable port protection

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to enable port protection:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#port-protect enable

Related Commands
None

Related Information
This command is used to isolate users of Ethernet uplink port. By default, port protection
is disabled.

25.7 description
Syntax
description description

Purpose
To provide description for an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

description

Interface description

Range: 1 64 characters
(Ethernet/PON-OLT
interface)

Range: 1 127 characters


(GPON-ONU interface)

25-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 25 Port Configuration Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to provide description for an interface:
ZXAN(config)#interface gpon-onu_1/2/1:1
ZXAN(config-if)#description this is ONU1

Related Commands
show interface

25.8 eth-switch multicast-limit


Syntax
eth-switch multicast-limit num
no eth-switch multicast-limiti

Purpose
To configure multicast limit

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

num

Multicast limit

Range: 0 65534 pps (packets per second)

Mode
ZXAN(config)#

Example
The following example displays how to configure multicast limit:
ZXAN(config)#eth-switch multicast-limit 1000

Related Commands
show eth-switch

Related Information
l

By default, the multicast limit is not configured.


25-7

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This command is effective only for unknown multicast packets.

25.9 eth-switch mac-protect


Syntax
eth-switch mac-protect mac-address vlan num
no eth-switch mac-protect mac-address vlan num

Purpose
To configure a protected MAC address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mac-address

MAC address

XXXX.XXXX.XXXX

vlan num

VLAN number

1 4094

Mode
ZXAN(config)#

Example
The following example displays how to configure a protected MAC address:
ZXAN(config)#eth-switch mac-protect 0000.0000.0001 vlan 2

Related Commands
show eth-switch

Related Information
l
l

After executing this command, the system provides MAC+VLAN configuration to all
GPON cards.
After a MAC address is protected, if one ONU has MAC+VLAN upstream data flow,
the relevant GPON card discards the upstream data.

25.10 eth-switch vlan-limit


Syntax
eth-switch vlan-limit vlan vlan rate rate {upstream | downstream}
25-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 25 Port Configuration Commands

Purpose
To configure VLAN rate limit

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan vlan

VLAN number

Range: 1 1094

rate rate

Rate value

Range: 64 10000000 kbps


Granularity: 64 kbps

upstream

Upstream VLAN limit

downstream

Downstream VLAN limit

Mode
ZXAN(config)#

Example
The following example displays how to configure upstream VLAN limit:
ZXAN(config)#eth-switch vlan-limit vlan 200 rate 64 upstream

Related Commands
show eth-switch vlan-limit

Related Information
l
l
l

The main control card can be configured with 64 VLAN rate limit rules at the maximum.
The configured rate granularity is 64 Kbps. Valid value is multiple of 64.
Downstream rate limit is configured on all uplink ports. Upstream rate limit is
configured on all ports except uplink ports.

25.11 optical-module-alarm-profile
Syntax
performance threshhold-profile profilename

Purpose
To apply the optical-module alarm-profile on the optical interface

25-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

profilename

Profile name

1 32 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to apply the optical-module alarm-profile on the optical
interface:
ZXAN(config-if)#optical-module-alarm-profile abc

Related Commands
optical-module alarm-profile

25.12 ip access-group
Syntax
For Ethernet or PON-OLT interface configuration mode:
ip access-group {aclnum| aclname} in
no ip access-group {aclnum| aclname} in
For PON-ONUu interface configuration mode:
ip access-group {aclnum| aclname} {in | out} [ vport vport ]
no ip access-group {aclnum| aclname} {in | out} [ vport vport ]

Purpose
To apply an ACL to an interface

Usage Guidelines
The following table provides parameter description:

25-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 25 Port Configuration Commands

Parameter

Description

Value

aclnum

IPv4 ACL number

Range: 1 699 (Ethernet


interface)

Range: 100 699 (EPON-OLT


interface)

Range: 300 399


(EPON-ONU interface)

Range: 600 699 (GPON-OLT


interface)

Range: 300 699


(GPON-ONU interface)

aclname

ACL name

Range: 1 32 characters

in

Inbound packets

out

Outbound packets

vport

Virtual port ID

Range: 1 256

Mode
ZXAN(config-if)#

Example
The following example displays how to apply an ACL to the interface:
ZXAN(config)#interface gpon-onu_1/2/1:1
ZXAN(config-if)#ip access-group 300 in vport 1

Related Commands
show running-config

25.13 show customer-xconnect detail


Syntax
show customer-xconnect detail [svlan vlanid cvlan vlanid]

Purpose
To show the customer-xconnect configuration

Usage Guidelines
None

25-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
All modes except user mode

Example
The following example shows the customer-xconnect configuration:
ZXAN#show customer-xconnect detail

Related Commands
None

25.14 show customer-xconnect summary


Syntax
show customer-xconnect summary

Purpose
To show the customer-xconnect summary information

Usage Guidelines
None

Mode
All modes except user mode

Example
The following example shows the customer-xconnect summary information:
ZXAN#show customer-xconnect summary

Related Commands
None

25.15 show interface port-status


Syntax
show interface port-status {interface-id}

Purpose
To display Ethernet interface information
25-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 25 Port Configuration Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-id

Ethernet interface

Gei_1/3/portno
Xgei_1/3/portno

Mode
Any mode except user mode

Example
The following example displays how to display Ethernet interface information:
ZXAN(config)#show interface port-status gei_1/3/4
-----------------------------------------------------------------Port

hybrid Status

Native VLAN

Negotiation Status

-----------------------------------------------------------------gei_1/3/4

electric

enable

-----------------------------------------------------------------Speed (Mbps)

Duplex

Flow-Ctrl

Admin Status

Link

-----------------------------------------------------------------10000

full

disable

activate

down

Related Commands
None

25-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

25-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26

Ethernet Interface
Configuration Commands
Table of Contents
byname ....................................................................................................................26-1
clear counter ............................................................................................................26-2
description................................................................................................................26-3
duplex ......................................................................................................................26-4
flowcontrol................................................................................................................26-5
hybrid-attribute .........................................................................................................26-6
interface ...................................................................................................................26-6
monitor session ........................................................................................................26-8
monitor session (Port) ..............................................................................................26-9
multicast.................................................................................................................26-10
negotiation auto...................................................................................................... 26-11
shutdown................................................................................................................ 26-11
speed .....................................................................................................................26-12
port-protect.............................................................................................................26-13
eth-switch broadcast-limit .......................................................................................26-14
eth-switch unknowncast-limit ..................................................................................26-15
eth-switch multicast-limit.........................................................................................26-15
eth-switch vlan-limit ................................................................................................26-16
range......................................................................................................................26-17
uplink-isolate ..........................................................................................................26-17
show eth-switch......................................................................................................26-18
show eth-switch vlan-limit.......................................................................................26-19
show interface ........................................................................................................26-20
show ip interface ....................................................................................................26-23
show monitor session .............................................................................................26-24
show performance eth-if .........................................................................................26-25

26.1 byname
Syntax
byname by-name
no byname
26-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the interface byname

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

by-name

Interface byname

Range: 1 32 characters

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface byname:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#byname ether1
ZXAN(config-if)#exit
ZXAN(config)#interface byname ether1
ZXAN(config-if)#

Related Commands
show interface

26.2 clear counter


Syntax
clear counter {ethernet Gei interface | olt Epon-olt interface | onu Epon-onu interface}

Purpose
To clear the interface statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

Gei interface

GEI Ethernet interface

gei_1/3/portno
xgei_1/3/portno

Epon-olt interface

OLT interface

epon-olt_rackno/slotno/portno

26-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Parameter

Description

Value

Epon-onu interface

ONU interface

epon-onu_rackno/slotno/portno:onuno

Mode
ZXAN#

Example
The following example displays how to clear the interface statistics:
ZXAN#clear counter ethernet gei_1/3/1
ZXAN#

Related Commands
show interface

Related Information
Execute this command to clear all interface statistics unless an interface name is specified.

26.3 description
Syntax
description string
no description

Purpose
To describe a specific interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

string

Description of the interface

Range: 1 20 characters

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to describe a specific interface:
26-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#description "this is GigabitEthernet Interface"
ZXAN(config-if)#

Related Commands
None

26.4 duplex
Syntax
duplex {half | full}
no duplex

Purpose
To configure the working pattern as half-duplex or full-duplex

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

half

Half duplex

full

Full duplex

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the working pattern as full-duplex:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#duplex full
ZXAN(config-if)#

Related Commands
None

26-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Related Information
Fast Ethernet port, gigabit Ethernet port support both half-duplex and full-duplex modes.
Fast Ethernet optical port, 1000 M Ethernet port and gigabit Ethernet optical port only
supports full-duplex mode.
Disable auto negotiation function before configuring the duplex mode.

26.5 flowcontrol
Syntax
flowcontrol {enable | disable}
no flowcontrol

Purpose
To enable or disable the flow control

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the flow control

disable

Disable the flow control

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to disable the flow control:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#flowcontrol disable
ZXAN(config-if)#

Related Commands
None

Related Information
flowcontrol disable and no flowcontrol have the same effect.
By default, flowcontrol function is disable.
26-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

26.6 hybrid-attribute
Syntax
hybrid-attribute {fiber | copper}

Purpose
To configure the Giga Ethernet interface property

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

fiber

Fiber port

copper

Copper port

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the Giga Ethernet interface property:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#hybrid-attribute copper
ZXAN(config-if)#

Related Commands
None

Related Information
Before executing this command to transfer fiber to copper, or copper to fiber, ensure the
interface support both fiber mode and copper mode.

26.7 interface
Syntax
interface {interface-name | byname byname}
no interface {interface-name | byname byname}
26-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Purpose
To enter into an interface mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno

byname byname

Byname

Range: 1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to enter into an interface mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#

Related Commands
show interface

Related Information
The no command is invalid for physical interfaces. Both the no interface byname byname
and the no interface interface-name commands are used to delete the interface.
Only when the interface byname for the interface is set, it is possible to enter the
configuration mode of this interface using the byname parameter.
26-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

26.8 monitor session


Syntax
monitor session session-number [ destination [dst-ip dstip src-ip srcip [ dscp dscp ] [ priority
prio ] [ tpid tpid ] [ ttl ttl ] | interface interface ] ]
monitor session session-number [ source [ cpu | inner-port port | interface interface] direction
{ both |tx | rx} ]
no monitor session session-number

Purpose
To create a session

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session-number

Session number

dst-ip dstip

Destination IP address

A.B.C.D

src-ip srcip

Source IP address

A.B.C.D

dscp dscp

DSCP priority

Range: 0 63

priority prio

Priority

tpid tpid

TPID

0xHHHH
Range: 1 255

ttl ttl
interface interface

Interface name

1 32 characters

inner-port port

Internal port name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to create a session:
ZXAN(config)#monitor session 1 destination dst-ip 1.1.1.1 src-ip 2.2.2.2
dscp 0 priority 0 tpid 0x8100 ttl 255
ZXAN(config)#

Related Commands
show monitor session

26-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Related Information
Use the no command to delete the session. All the configured source ports and destination
ports in that session are deleted.

26.9 monitor session (Port)


Syntax
monitor session session-number {destination | source [direction {both | tx | rx}]}
no monitor session

Purpose
To add a source or a destination port to a session

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session-number

Session number

destination

Destination port

source

Source port

direction

Traffic collection direction of the

source port
both

Traffic collection direction of the

source port to both Rx and Tx


tx

Traffic collection direction of the

source port to Tx
rx

Traffic collection direction of the

source port to Rx

Mode
Ethernet/Smartgroup interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to add a source or a destination port to a session:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#monitor session 1 source direction tx
ZXAN(config-if)#monitor session 1 destination
ZXAN(config-if)#

26-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show monitor session

Related Information
Each session can be configured with up to eight source ports and one destination port.
Each port can be either the source or the destination, but not both.
When configuring the source/destination port with the command, if the session number
does not exist, create a session first, and then add the source/destination port. When
configuring the destination port, if the session already holds a destination port, the
configuration is invalid.
If the source/destination port of each session are on the same line interface card, the
system supports up to eight sessions. If the source/destination port of each session are
not on the same line interface card, only one session is allowed.

26.10 multicast
Syntax
multicast ttl-threshold value
no multicast-limit

Purpose
To configure the multicast TTL threshold value

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ttl-threshold value

TTL threshold value

Range: 0 255

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the multicast TTL threshold value:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#multicast ttl-threshold 10
ZXAN(config-if)#

26-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Related Commands
None

26.11 negotiation auto


Syntax
negotiation auto
no negotiation auto

Purpose
To activate auto-negotiation link for the Ethernet interface

Usage Guidelines
None

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to activate auto-negotiation link for the Ethernet
interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#negotiation auto
ZXAN(config-if)#

Related Commands
show interface

26.12 shutdown
Syntax
shutdown
no shutdown

Purpose
To shut down an interface
26-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how not to shut down an interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no shutdown
ZXAN(config-if)#

Related Commands
None

Related Information
The shutdown command is used to shut down an interface (to disable all functions), and
does not correspond to the physical status (up or down) of an interface.

26.13 speed
Syntax
speed {10 | 100 | 1000| 10000}
no speed

Purpose
To configure the interface speed to 10/100/1000/10000 Mbps

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

10

Interface speed to 10 Mbps

100

Interface speed to 100 Mbps

1000

Interface speed to 1000 Mbps

10000

Interface speed to 10000 Mbps

26-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface speed to 1000 Mbps:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#speed 1000
ZXAN(config-if)#

Related Commands
show interface

Related Information
Before configuring interface speed, disable the auto negotiation.

26.14 port-protect
Syntax
port-protect {enable | disable}

Purpose
To enable or disable the port protection function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the port protection

disable

Disable the port protection

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to enable the port protection function:
26-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#port-protect enable
ZXAN(config-if)#

Related Commands
None

26.15 eth-switch broadcast-limit


Syntax
eth-switch broadcast-limit num [ burst-size burst size]
no eth-switch broadcast-limit

Purpose
To enable/disable the global broadcast packet limit

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

num

Broadcast packet peak rate

065,534 In default 100pps

(PPS)

Mode
Global configuration mode: ZXAN(config)#

Example
The following example shows how to set the broadcast peak rate as 200 pps:
ZXAN(config)#eth-switch broadcast-limit 200

Related Commands
show eth-switch

Related Information
None

26-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

26.16 eth-switch unknowncast-limit


Syntax
eth-switch unknowncast-limit num
no eth-switch unknowncast-limit

Purpose
To configure unknowncast limit

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

num

Unknowncast limit number

Range: 0 65534 pps


Default: 100 pps

Mode
ZXAN(config)#

Example
The following example displays how to configure the unknowncast limit:
ZXAN(config)#eth-switch unkowncast-limit 1000
ZXAN(config)#

Related Commands
None

26.17 eth-switch multicast-limit


Syntax
eth-switch multicast-limit num
no eth-switch multicast-limit

Purpose
To configure the multicast limit

Usage Guidelines
The following table provides parameter description:
26-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

num

Multicast limit number

Range: 0 65534 pps


Default: no limit

Mode
ZXAN(config)#

Example
The following example displays how to configure the multicast limit:
ZXAN(config)#eth-switch multicast-limit 100
ZXAN(config)#

Related Commands
show eth-switch

26.18 eth-switch vlan-limit


Syntax
eth-switch vlan-limit vlan vlan | rate rate {upstream |downstream}
no eth-switch vlan-limit vlan vlan {upstream |downstream}

Purpose
To configure rate limit for the VLAN

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan

VLAN ID

Range: 1 4094

rate

Rate

Range: 64 10,000,000, unit:


kbps, granularity: 64 kbps

upstream

Upstream direction

downstream

Downstream direction

Mode
ZXAN(config)#

26-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Example
The following example displays how to configure rate limit for the VLAN:
ZXAN(config)#eth-switch vlan-limit vlan 100 rate 640 downstream

Related Commands
show eth-switch vlan-limit

Related Information
The ZXA10 C320 supports maximum 64 VLAN rate-limit entries.

26.19 range
Syntax
range

Purpose
To display the port list of a specified range

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays the port list of a specified range:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#range
Portlist of the range: gpon-olt_1/1/1
ZXAN(config-if)#

Related Commands
None

26.20 uplink-isolate
Syntax
uplink-isolate {enable | disable}
26-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable/disable the uplink port isolation

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the uplink port isolation

disable

Disable the uplink port isolation

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the uplink port isolation:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#uplink-isolate enable
ZXAN(config-if)#

Related Commands
None

Related Information
When an uplink port is uplink-isolate enabled, the port cannot communicate with other
uplink ports that are uplink-isolate enabled, it can only communicate with uplink ports that
are uplink-isolate disabled and user ports.

26.21 show eth-switch


Syntax
show eth-switch

Purpose
To display the Ethernet switch information

Usage Guidelines
None

Mode
Any mode except user mode
26-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Example
The following example displays the Ethernet switch information:
ZXAN#show eth-switch
broadcast-limit

:100 pps

unkowncast-limit :100 pps


multicast-limit

:disable

mac-anti-spoofing:disable
port-protect

:disable

ZXAN#

Related Commands
None

26.22 show eth-switch vlan-limit


Syntax
show eth-switch vlan-limit

Purpose
To display the configuration of VLAN rate limit

Usage Guidelines
None

Mode
Any mode except ZXAN>

Related Information
None

Example
The following example displays the configuration of VLAN rate limit:
ZXAN(config)#show eth-switch vlan-limit
the total vlan-limit rule numbers:1
-------------------------------------------vlan

rate(unit:kbps)

direction

-------------------------------------------100

640

downstream

26-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
eth-switch vlan-limit

26.23 show interface


Syntax
show interface interface

Purpose
To display the detailed statistics of the interface for network traffic analysis

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

Interface name

Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno

Mode
Any mode except user mode

Example
The following example displays the detailed statistics of the interface for network traffic
analysis:
l

Loopback interface
ZXAN#show interface loopback1
loopback1 is up,

line protocol is up

26-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands


Description is none
Keepalive set:10 sec
Internet address is unassigned
MTU 1500 bytes
MRU 1500 bytes

BW 8000000 Kbits

ZXAN#

Null interface
ZXAN#show interface null1
null1 is up,

line protocol is up

Description is none
Keepalive set:10 sec

BW 10000000 Kbits

ZXAN#

Smartgroup interface
ZXAN#show interface smartgroup1
smartgroup1 is up,

line protocol is down

Description is none
Keepalive set:10 sec
VLAN mode is hybrid, pvid 1
ZXAN#

VLAN interface
ZXAN#show interface vlan1
vlan1 is up,

line protocol is up

Description is none
Keepalive set:10 sec
MAC address is 00d0.d0c7.ffe0
ARP Timeout:00:05:00
Internet address is unassigned
MTU 1500 bytes
MRU 1500 bytes

BW 1000000 Kbits

ZXAN#

gei_1/3/1 interface
ZXAN#show interface gei_1/3/1
gei_1/3/1 is down,

line protocol is down

Description is none
Keepalive set:10 sec
The port is optical
Duplex full
scramble payload-enable
VLAN mode is access, pvid 1BW 1000000 Kbits

26-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Last clearing of "show interface" counters never
120 seconds input rate :0 Bps,

0 pps

120 seconds output rate:0 Bps,

0 pps

Interface peak rate


input

:
0 Bps, output

0 Bps

Interface utilization: input 0%, output

0%

Input:
Packets

: 0

Bytes

: 0

Unicasts

: 0

Multicasts: 0

Broadcasts

: 0

Undersize : 0

Oversize

: 0

CRC-ERROR : 0

Dropped

: 0

Fragments : 0

Jabber

: 0

MacRxErr

: 0

: 0

Output:
Packets

: 0

Bytes

Unicasts

: 0

Multicasts: 0

Broadcasts

: 0

Collision : 0

LateCollision: 0
Total:
64B

: 0

65-127B

: 0

128-255B

: 0

256-511B

: 0

512-1023B : 0

1024-2018B: 0

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

gei_1/3/1 is down

Whether the administration status of


the interface is available: down means
unavailable.

line protocol is up

Whether the administration status of the


interface is available, and down means
unavailable.

Description

Interface description

Duplex

Interface work mode: full or half duplex

The port is electric

Electrical or optical interface

vlan

Interface VLAN information

MTU

Interface MTU value

BW

Interface bandwidth

MAC

Interface MAC address

InputOutputTotal

Interface statistics

26-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Related Commands
None

26.24 show ip interface


Syntax
show ip interface [brief] [interface-name]
show ip interface [| {begin | exclude | include} line]

Purpose
To display the interface status and configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

brief

Brief summary of IP status

and configuration
interface-name

Interface name

Epon-olt_rackno/slotno/portno
Epon-onu_rackno/slotno/portno:onuno
Gei_1/3/portno
Loopback
Interface Range: 1 64
Mng1
Null1
Smartgroup
Interface Range: 1 8
SuperVLAN
Interface Range: 1 255
Tunnel
Interface Range: 1 64
Vlan
Interface Range: 1 4094
Xgei_1/3/portno

Output modifier

begin

Begin with the line that

matches
exclude

Exclude the line that

matches
include

Include the line that matches

26-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

line

Line

Mode
Any mode except user mode

Example
The following example displays the interface status and configuration information:
ZXAN#show ip interface brief
interface

IP-Address

Mask

vlan1

unassigned

unassigned

AdminStatus PhyStatus Protocol

vlan100
vlan200

up

up

up

10.63.184.213 255.255.255.0

up

up

up

unassigned

up

up

down

unassigned

ZXAN#

Related Commands
None

Related Information
show ip interface command displays information about all the interfaces configured.
show ip interface interface-name command displays the specified interface information.
show ip interface brief command displays the summary of all the interfaces.
show ip interface brief interface-name command displays the summary of the specified
interface.

26.25 show monitor session


Syntax
show monitor session {session-number}

Purpose
To display the detailed information about the user defined sessions

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

session-number

Session number

26-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 26 Ethernet Interface Configuration Commands

Mode
Any mode except user mode

Example
The following example displays the detailed information about the user defined sessions:
ZXAN#show monitor session 1
Session 1
-----------Source Ports:
Port: gei_1/3/1

Monitor Direction: both

Destination Port:
Port:
ZXAN#

Related Commands
monitor session

26.26 show performance eth-if


Syntax
show performance eth-if gei_shelf/slot/olt { current | current-15min-interval | current-1day-i
nterval | his-15min-interval interval | his-1day-interval interval }

Purpose
To display Ethernet interface performance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

gei_shelf/slot/olt

Ethernet interface

current

Current

current-15min-interval

Current 15-minute interval

his-15min-interval interval

History 15-minute interval

Range: 1 96

his-1day-interval interval

History 1-day interval

Range: 1 7

Mode
Any mode except ZXAN>
26-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the current performance of an Ethernet interface:
ZXAN(config)#show performance eth-if gei_1/16/1 current
---------------------------------------------------------------Input:
Byte

:0

Packets

:0
:0

UcastPkts

:0

McastPkts

BcastPkts

:0

OversizePkts :0

UndersizePkts:0
Output:
Byte

:0

Packets

:0

UcastPkts

:0

McastPkts

:0

BcastPkts

:0

PausePkts

:0

DiscardPkts

:0

Collisions

:0

SingColls

:0

MultiColls

:0

FcsErrors

:0

AlignErrs

:0

Related Commands
None

26-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27

MSTP Commands
Table of Contents
instance ...................................................................................................................27-1
name........................................................................................................................27-2
revision ....................................................................................................................27-3
spanning-tree ...........................................................................................................27-4
spanning-tree bpduguard .........................................................................................27-5
spanning-tree edged-port .........................................................................................27-6
spanning-tree forward-delay .....................................................................................27-7
spanning-tree guard .................................................................................................27-8
spanning-tree hello-time ...........................................................................................27-9
spanning-tree linktype ..............................................................................................27-9
spanning-tree max-age...........................................................................................27-10
spanning-tree mcheck ............................................................................................ 27-11
spanning-tree mode ...............................................................................................27-12
spanning-tree mst configuration .............................................................................27-12
spanning-tree mst hmd5-digest ..............................................................................27-13
spanning-tree mst hmd5-key ..................................................................................27-14
spanning-tree mst instance priority .........................................................................27-15
spanning-tree mst instance (Interface)....................................................................27-16
spanning-tree mst instance path-cost .....................................................................27-17
spanning-tree mst max-hops ..................................................................................27-17
spanning-tree transparent ......................................................................................27-18
spanning-tree packet-type ......................................................................................27-19
show spanning tree inconsistentports .....................................................................27-20
show spanning-tree instance ..................................................................................27-21
show spanning-tree interface..................................................................................27-22
show spanning-tree mst configuration ....................................................................27-23
show spanning-tree statistics..................................................................................27-24
show spanning-tree transparent .............................................................................27-25

27.1 instance
Syntax
instance instance vlans vlan-id
no instance instance

27-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To create an instance in MSTP mode, and map it to the corresponding VLAN table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

instance

Instance ID

Range: 1 16

vlans

VLAN maps

vlan-id

VLAN range or VLAN number

Range: 1 4094
(Example: 1 10 or 1, 3, 5)

Mode
ZXAN(config-mstp)#

Example
The following example displays how to create an instance in MSTP mode, and map it to
the corresponding VLAN table:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#instance 1 vlans 10-20
ZXAN(config-mstp)#

Related Commands
show spanning-tree mst configuration
spanning-tree mst configuration

Related Information
By default, all VLANs are mapped to the common internal spanning tree (CIST).
Use the no instance command to remap the specified VLAN(s) or all VLANs to the CIST
(MST instance 0).
The user cannot map the same VLAN to different MST instances. If the user map's a VLAN
that has been mapped to an instance to a new instance, the old mapping is automatically
removed.

27.2 name
Syntax
name name
27-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Purpose
To create an MST configuration name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

name

Configuration name

Range: 1 32 characters

Mode
ZXAN(config-mstp)#

Example
The following example displays how to create an MST configuration name:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#name zte
ZXAN(config-mstp)#

Related Commands
show spanning-tree mst configuration
spanning-tree mst configuration

27.3 revision
Syntax
revision version
no revision

Purpose
To configure the MSTP version number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

version

Revision number

Range: 0 65535
Default: 0

27-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-mstp)#

Example
The following example displays how to configure MSTP revision number:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#revision 10
ZXAN(config-mstp)#

Related Commands
show spanning-tree mst configuration
spanning-tree mst configuration

Related Information
The MSTP revision level, the MST region name, and the VLAN-to-instance mapping table
of a device jointly determine the MST region the device belongs to.

27.4 spanning-tree
Syntax
spanning-tree {enable | disable}

Purpose
to enable or disable the MSTP feature globally or on the port(s)

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enables the MSTP feature

disable

Disables the MSTP feature

Mode
ZXAN(config)#
Ethernet interface configuration mode
ZXAN(config-if)#

27-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Example
The following example displays how to enable the MSTP globally and disable the MSTP
on port:
ZXAN(config)#spanning-tree enable
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree disable
ZXAN(config-if)#

Related Commands
None

Related Information
After being enabled, MSTP dynamically maintains spanning tree status of the
corresponding VLANs based on the received configuration BPDUs. After being disabled,
it stops maintaining the spanning tree status.

27.5 spanning-tree bpduguard


Syntax
spanning-tree bpduguard action {discard | shutdown}
no spanning-tree bpduguard action

Purpose
To change an interfaces spanning tree BPD guard for BPDU packets

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

action discard

Discard BPDU packet

action shutdown

Shutdown port

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to change an interfaces spanning tree BPD guard:
27-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree bpduguard action shutdown
ZXAN(config-if)#

Related Commands
None

Related Information
By default, the BPDU guard function is disabled.
Through this command, the ports are protected from attack.

27.6 spanning-tree edged-port


Syntax
spanning-tree edged-port {enable | disable}

Purpose
To enable or disable the spanning tree edged port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the spanning tree edged

port
disable

Disable the spanning tree edged

port

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to enable the spanning tree edged port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree edged-port enable
ZXAN(config-if)#

27-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Related Commands
spanning-tree linktype
spanning-tree packet-type

Related Information
By default, port is not an edged port.
Using this command, the administrator can set the port connected to the computer to serve
as an edged port. This interface is in forwarding state or can fast switch to the forwarding
state.

27.7 spanning-tree forward-delay


Syntax
spanning-tree forward-delay time
no spanning-tree forward-delay

Purpose
To configure the spanning tree forward delay time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Forward delay time

Range: 4 30 seconds
Default: 15 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure the spanning tree forward delay time:
ZXAN(config)#spanning-tree forward-delay 16
ZXAN(config)#

Related Commands
spanning-tree mst max-hops
spanning-tree hello-time
27-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

27.8 spanning-tree guard


Syntax
spanning-tree guard {loop | root} instance instance-range
no spanning-tree guard {loop | root} instance [instance-range]

Purpose
To change an interface STP guard mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

loop

Set guard mode to loop guard

on interface
root

Set guard mode to loop guard

on interface
instance instance-range

Instance range

Range: 0 31

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to change an interface STP guard mode:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree guard root instance 0
ZXAN(config-if)#

Related Commands
None

Related Information
Using this command, administrators can avoid the wrong configuration.
By default, this command is disabled.

27-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

27.9 spanning-tree hello-time


Syntax
spanning-tree hello-time time
no spanning-tree hello-time

Purpose
To configure the spanning tree Hello time (interval for sending BPDU packets)

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Interval between the generation

Range: 1 10 seconds

of configured BPDUs

Default: 2 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure the spanning tree Hello time
ZXAN(config)#spanning-tree hello-time 3
ZXAN(config)#

Related Commands
spanning-tree mst max-hops
spanning-tree forward-delay

27.10 spanning-tree linktype


Syntax
spanning-tree linktype {auto | p2p | share}

Purpose
To configure the spanning tree link type

Usage Guidelines
The following table provides parameter description:
27-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

auto

Automatic judgment according

to the duplex mode of the port:


p2p in full duplex mode and
share in half duplex mode
p2p

Spanning tree link type p2p

share

Spanning tree link type share

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the spanning tree link type:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree linktype p2p
ZXAN(config-if)#

Related Commands
spanning-tree packet-type

Related Information
By default, link type is auto.
The user can enable the fast status change function when the link type of the port is p2p.
If the link type of the port is share, the status can be changed only after two times of
forward-delay time.

27.11 spanning-tree max-age


Syntax
spanning-tree max-age time
no spanning-tree max-age

Purpose
To configure the maximum age of the STP BPDU packet

Usage Guidelines
The following table provides parameter description:
27-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Parameter

Description

Value

time

Maximum age of the STP BPDU

Range: 6 40 seconds

packet

Default: 20 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure the maximum age of the STP BPDU
packet:
ZXAN(config)#spanning-tree max-age 21
ZXAN(config)#

Related Commands
spanning-tree mst max-hops
spanning-tree forward-delay

27.12 spanning-tree mcheck


Syntax
spanning-tree mcheck

Purpose
To configure the spanning tree mcheck

Usage Guidelines
None

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the spanning tree mcheck:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree mcheck
ZXAN(config-if)#

27-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

27.13 spanning-tree mode


Syntax
spanning-tree mode {mstp | rstp | sstp}

Purpose
To configure the spanning tree mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mstp

Multi spanning tree mode

rstp

Rapid spanning tree mode

sstp

Single spanning tree mode

Mode
ZXAN(config)#

Example
The following example displays how to configure the spanning tree mode:
ZXAN(config)#spanning-tree mode rstp
ZXAN(config)#

Related Commands
spanning-tree

Related Information
By default, MSTP is the spanning tree mode.

27.14 spanning-tree mst configuration


Syntax
spanning-tree mst configuration
27-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Purpose
To enter into the MSTP configuration mode

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enter into the MSTP configuration mode:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#

Related Commands
show spanning-tree mst configuration

Related Information
In MSTP configuration mode, users can configure dedicated parameters of MSTP; MST
configuration name, MST configuration version, and configuration digest.

27.15 spanning-tree mst hmd5-digest


Syntax
spanning-tree mst hmd5-digest {cisco | huawei} key
no spanning-tree mst hmd5-digest {cisco | huawei}

Purpose
To configure MST HMD5 digest key parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

cisco

Cisco key

huawei

Huawei key

key

HMD5 digest value

34 characters (For example:


0x...32)

27-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure MST HMD5 digest key parameters
ZXAN(config)#spanning-tree mst hmd5-digest cisco 0x123456789012345678
90123456789012
ZXAN(config)#

Related Commands
spanning-tree mst hmd5-key

Related Information
Because the MSTP packet format is different from the IEEE standard when different
manufacturers (such as CISCO and HUAWEI) implement MSTP, the user must configure
a KEY or DIGEST value for the ZTE switch before connecting to the equipment.
The default value is 0x00000000000000000000000000000000.

27.16 spanning-tree mst hmd5-key


Syntax
spanning-tree mst hmd5-key {cisco | huawei} key
no spanning-tree mst hmd5-key {cisco | huawei}

Purpose
To configure the MST hmac MD5 digest

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

cisco

Cisco

huawei

Huawei

key

HMD5_KEY(0x... 32 HEX-

34 characters (For example:

KEYs)

0x...32)

Mode
ZXAN(config)#
27-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Example
The following example displays how to configure the spanning tree MST hmac MD5 digest:
ZXAN(config)#spanning-tree mst hmd5-key CISCO 0x12345678901234567890
123456789012
ZXAN(config)#

Related Commands
spanning-tree mst hmd5-digest

Related Information
Because the MSTP packet format is different from the IEEE standard when different
manufacturers (such as CISCO and HUAWEI) implement MSTP, the user must configure
a KEY or DIGEST value for the ZTE switch before connecting to the equipment.

27.17 spanning-tree mst instance priority


Syntax
spanning-tree mst instance instance priority priority

Purpose
To configure the MST instance priority

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

instance

Instance ID

Range: 0 31
Default: 0

priority

Interface priority

Range: i x 4096 (i = 0 15)

Mode
ZXAN(config)#

Example
The following example displays how to configure the MST instance priority:
ZXAN(config)#spanning-tree mst instance 0 priority 4096
ZXAN(config)#

27-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
spanning-tree mst instance priorityinterface

27.18 spanning-tree mst instance (Interface)


Syntax
spanning-tree mst instance instance {path-cost cost | priority priority}

Purpose
To configure the MST instance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

instance

Instance ID

Range: 0 16
Default: 0

path-cost cost

Interface path cost

Range: 1 2000000

priority priority

Interface priority

Range: i x 16 (i = 0 15)

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the MST instance:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000
ZXAN(config-if)#

Related Commands
spanning-tree mst instance priority

Related Information
Using this command, the administrator can change the topology of spanning tree.
By default, the device automatically calculates the path costs of ports in each MST instance
based on the corresponding standard.
27-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

27.19 spanning-tree mst instance path-cost


Syntax
spanning-tree mst instance instance path-cost cost

Purpose
To configure the path cost for MST instance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

instance

Instance ID

Range: 0 16,
0 is the default instance.

path-cost cost

Path cost

Range: 1 2000000

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the path cost of MST instance:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000

Related Commands
spanning-tree mst instance priority

Related Information
The network administrator can modify the topology structure of an spanning tree by this
command.

27.20 spanning-tree mst max-hops


Syntax
spanning-tree mst max-hops hop
no spanning-tree mst max-hops

Purpose
To configure the maximum hops of the BPDU packet in the MST area
27-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

hop

Maximum hops of the BPDU

Range: 1 40

packet

Default: 20

Mode
ZXAN(config)#

Example
The following example displays how to configure the maximum hops of the BPDU packet
in the MST area:
ZXAN(config)#spanning-tree mst max-hops 23
ZXAN(config)#

Related Commands
spanning-tree mst max-age

Related Information
Devices other than the root bridge in an MST region use the maximum hops setting on the
root bridge.

27.21 spanning-tree transparent


Syntax
spanning-tree transparent {enable | disable}

Purpose
To enable or disable the transparent flag

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the transparent flag

disable

Disable the transparent flag

27-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Mode
ZXAN(config)#

Example
The following example displays how to enable the transparent flag:
ZXAN(config)#spanning-tree disable
ZXAN(config)#spanning-tree transparent enable
ZXAN(config)#

Related Commands
spanning-tree

Related Information
Disable the STP before using this command.

27.22 spanning-tree packet-type


Syntax
spanning-tree packet-type {IEEE | CISCO | HUAWEI | HAMMER}
no spanning-tree packet-type

Purpose
To configure the MST BPDU packet-type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

IEEE

Standard IEEE BPDU packet

CISCO

Cisco BPDU packet

HAMMER

HAMMER (Harbour Networks)

BPDU packet
HUAWEI

Huawei BPDU packet

Mode
Ethernet interface configuration mode
ZXAN(config-if)#
27-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the MST BPDU packet-type:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#spanning-tree packet-type CISCO
ZXAN(config-if)#

Related Commands
spanning-tree linktype
spanning-tree edged-port

Related Information
Because the MST BPDU packet-type is modified by different manufacturers, it must be
configured on the ports before connecting to the devices of these manufacturers.
By default, BPDU packet type is IEEE.

27.23 show spanning tree inconsistentports


Syntax
show spanning-tree inconsistentports

Purpose
To display the information about the inconsistent ports

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the information about the inconsistent ports:
ZXAN#show spanning-tree inconsistentports
Mst Instance

interface

Name

name

Inconsistency

------------------------------------------------MST00

gei_1/3/1

Root Inconsistent

ZXAN#

27-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Related Commands
show spanning-tree instance
show spanning-tree interface

27.24 show spanning-tree instance


Syntax
show spanning-tree instance instance

Purpose
To display the information about an instance and its ports

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

instance

Instance ID

Range: 0 16
Default: 0

Mode
Any mode except user mode

Example
The following example displays the information about an instance and its ports:
ZXAN#show spanning-tree instance 0

MST00
Spanning tree enabled protocol MSTP
Root

ID:

Priority

4096;

Address

Hello-Time

Forward-Delay

10 sec;

sec;

00d0.d0c7.ffe0

Max-Age

20 sec

RegRootID: Priority

4096;

Address

00d0.d0c7.ffe0

BridgeID:

Priority

4096;

Address

00d0.d0c7.ffe0

Hello-Time

Forward-Delay

10 sec;

Max-Hops

Message-Age

0 sec;

RemainHops

Interface

sec;

Max-Age

20 sec
5
5

Prio.Nbr

27-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Name

Port ID

Cost

Sts

Role

LinkType Bound

---------------------------------------------------------------tdm-gei_1/22 4/1128.59

20000 Forward

Designated p2p

MSTP

ZXAN#

Related Commands
show spanning-tree interface

27.25 show spanning-tree interface


Syntax
show spanning-tree interface port-name

Purpose
To display the information about all instances of a designated port

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port-name

Interface name

Gei_1/3/portno
Smartgroup
Interface Range: 1 8
Xgei_1/3/portno

Mode
Any mode except user mode

Example
The following example displays the information about all instances of a designated port:
ZXAN#show spanning-tree interface gei_1/3/1
Mst Instance
Name

Prio.Nbr
Port ID

Cost

Sts

Role

--------------------------------------------------------------MST00

128.31

200000

forward

root

MST01

112.31

200000

forward

root

----------------------------------------------------------------

ZXAN#

27-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands

Related Commands
show spanning-tree instance

27.26 show spanning-tree mst configuration


Syntax
show spanning-tree mst configuration

Purpose
To display the relevant MSTP mode configurations

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the relevant MSTP mode configurations:
ZXAN#show spanning-tree mst configuration
spanning-tree mode: [MSTP]
CISCO

Hmd5-key

: 0x13ac06a62e47fd51f95d2ba243cd0346

CISCO

Hmd5-digest

: 0x00000000000000000000000000000000

HUAWEI

Hmd5-key

: 0x13ac06a62e47fd51f95d2ba243cd0346

HUAWEI

Hmd5-digest

: 0x00000000000000000000000000000000

Name

: [00d0d0183101]

Revision

: 0

Instance

Vlans mapped

--------

---------------------------------------------------

1-4094

ZXAN#

Related Commands
show spanning-tree instance
show spanning-tree interface

27-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

27.27 show spanning-tree statistics


Syntax
show spanning-tree statistics port-name

Purpose
To display the STP port statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port-name

Interface name

Gei_1/3/portno
Smartgroup
Interface Range: 1 8
Xgei_1/3/portno

Mode
Any mode except user mode

Example
The following example displays the STP port statistics:
ZXAN#show spanning-tree statistics gei_1/3/1
statistic of port gei_1/3/1
-------------------------------------------------------------BPDU-related parameters
-------------------------------------------------------------port spanning tree

enable

state

forward

port_priority

128

port_number

31

path cost

200000

designated_root

00-0d-0d-f0-01-01

designated_ext_cost

designated_int_cost

200000

designated_bridge

00-0d-0d-f0-01-01

designated_port

41

-------------------------------------------------------------PORT based information & statistics


-------------------------------------------------------------All

bpdu's xmitted

All

bpdu's received

123

27-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 27 MSTP Commands


Mst bpdu's xmitted

Mst bpdu's received

123

Rst bpdu's xmitted

Rst bpdu's received

config bpdu's xmitted

config bpdu's received

tcn bpdu's xmitted

tcn bpdu's received

-------------------------------------------------------------spanningtree based information & statistics


-------------------------------------------------------------spanningtree type

MSTP

multicast_mac_addr

01-80-c2-00-00-00

bridge priority

32768

bridge mac address

00-0d-0d-f0-01-01

bridge hello time

bridge forward delay

15 sec

bridge Max age

20 sec

bridge Max hop

20

sec

--------------------------------------------------------------

ZXAN#

Related Commands
show spanning-tree interface

27.28 show spanning-tree transparent


Syntax
show spanning-tree transparent

Purpose
To display the current status of the STP transparent transmission flag

Usage Guidelines
None

Mode
Any mode except user mode

27-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the current status of the STP transparent transmission
flag:
ZXAN#show spanning-tree transparent
transparent flag:disabled
ZXAN#

Related Commands
spanning-tree transparent

Related Information
After this command is executed, the chip broadcasts the received BPDU packets directly
in VLAN, without sending to CPU.

27-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 28

LACP Commands
Table of Contents
clear lacp..................................................................................................................28-1
interface ...................................................................................................................28-2
lacp admin-key .........................................................................................................28-3
lacp port-priority .......................................................................................................28-3
lacp system-priority ..................................................................................................28-4
lacp timeout..............................................................................................................28-5
linkgroup load-balance .............................................................................................28-6
linkgroup ..................................................................................................................28-7
show lacp .................................................................................................................28-7
smartgroup...............................................................................................................28-9
smartgroup load-balance........................................................................................28-10
user-smartgroup load-balance................................................................................ 28-11
show user-smartgroup............................................................................................ 28-11
show linkgroup .......................................................................................................28-12

28.1 clear lacp


Syntax
clear lacp [smartgroup-id] counters

Purpose
To clear the count of received and transmitted LACP packets

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

smartgroup-id

Smart group number

Range: 1 32

Mode
ZXAN#

28-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to clear the count of received and transmitted LACP
packets:
ZXAN#clear lacp 1 counters
ZXAN#

Related Commands
None

Related Information
When smartgroup-id parameter is not added, this command clears all the counters.

28.2 interface
Syntax
interface smartgroup-number
no interface smartgroup-number

Purpose
To create a smartgroup and enter the smartgroup interface configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

smartgroup-number

Smart group interface number

Range: 1 8

Mode
ZXAN(config)#

Example
The following example displays how to create a smartgroup and enter the smartgroup
interface configuration mode:
ZXAN(config)#interface smartgroup1
ZXAN(config-if)#

Related Commands
None
28-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 28 LACP Commands

Related Information
Delete the ports in the smartgroup before using no interface.

28.3 lacp admin-key


Syntax
lacp admin-key key-value

Purpose
To set the LACP admin-key

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

key-value

LACP admin-key The default is

065535

LACP ID.

Mode
ZXAN(config-if)#

Example
The following example shows how to configure the LACP admin-key as 100:
ZXAN(config)# interface smartgroup1
ZXAN(config-if)# lacp admin-key 1000

Related Commands
show running-config interface
show lacp internal

28.4 lacp port-priority


Syntax
lacp port-priority priority

Purpose
To configure the LACP port priority

28-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

priority

LACP port priority

Range: 1 65535

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the LACP port priority:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#lacp port-priority 100
ZXAN(config-if)#

Related Commands
show lacp

Related Information
With this command, ports are added to the link aggregation group according to their
priorities.

28.5 lacp system-priority


Syntax
lacp system-priority priority

Purpose
To configure the LACP system priority

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

priority

LACP system priority

Range: 1 65535
Default: 32768

28-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 28 LACP Commands

Mode
ZXAN(config)#

Example
The following example displays how to configure the LACP system priority:
ZXAN(config)#lacp system-priority 100
ZXAN(config)#

Related Commands
show lacp

Related Information
After configuring this command, ports are added to the link aggregation group according
to their priorities.

28.6 lacp timeout


Syntax
lacp timeout {long | short}

Purpose
To configure the interface LACP timeout

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

long

LACP long timeout

short

LACP short timeout

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface LACP to short timeout:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#lacp timeout short

28-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-if)#

Related Commands
show lacp

Related Information
By default, long timeout is configured.
When the long timeout is configured, the system sends LACP packets once every 30
seconds.
When the short timeout is configured, the system sends LACP packets once every one
second.

28.7 linkgroup load-balance


Syntax
linkgroup load-balance groupid modemode
no linkgroup load-balance

Purpose
To configure load balance mode for a link group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

groupid

Link group ID

Range: 1 192

mode mode

Load balance mode

dst-ip, dst-mac, src-dst-ip,


src-dst-mac, src-ip, src-mac

Mode
ZXAN(config)#

Example
The following example displays how to configure load balance mode for a link group:
ZXAN(config)#linkgroup load-balance 1 mode src-mac

Related Commands
show linkgroup
28-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 28 LACP Commands

28.8 linkgroup
Syntax
linkgroup groupid
no linkgroup

Purpose
To add interface(s) to a link group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

groupid

Link group ID

Range: 1 192

Mode
ZXAN(config-if)#
ZXAN(config-if-range)#

Example
The following example displays how to add interfaces to a link group:
ZXAN(config)#interface gei_1/3/1-2
ZXAN(config-if-range)#linkgroup 1

Related Commands
show linkgroup

28.9 show lacp


Syntax
show lacp {[smartgroup-id] {counters | internal | neighbors} | sys-id}

Purpose
To display the current LACP configuration and state

Usage Guidelines
The following table provides parameter description:

28-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

smartgroup-id

Smart group number

Range: 1 8

counter

Counters information

internal

Internal information

neighbors

Neighbors information

sys-id

System ID information

Mode
Any mode except user mode

Example
The following example displays the current LACP configuration and state:
ZXAN#show lacp 1 counters
Smartgroup:1
Actor LACPDUs Marker LACPDUs Marker
Port Tx Rx Tx Rx Err Err
----------------------------------------------------ZXAN#show lacp internal
Smartgroup:1
Flag *--LOOP is TRUE
Actor Agg LACPDUs Port Oper Port RX Mux
Port State Interval Priority Key State Machine Machine
-----------------------------------------------------ZXAN#show lacp neighbors
Smartgroup 1 neighbors
Actor Partner Partner Port Oper Port
Port System ID Port No. Priority Key State
-----------------------------------------------------

ZXAN#show lacp sys-id


0x8000,00d0.d0c7.ffe0
ZXAN#

Related Commands
smartgroup

28-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 28 LACP Commands

28.10 smartgroup
Syntax
smartgroup smartgroup-id mode {passive | active | on} [subgroupsubgroup-id]
no smartgroup

Purpose
To add an interface to a link aggregation group, and set the link aggregation mode for the
interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

smartgroup-id

Smart group ID

Range: 1 8

mode

Smart group mode

Enable LACP only if a LACP

passive

device is detected
active

Enable LACP unconditionally

on

Enable ether-channel only

subgroup-id

Sub group ID

Range: 1 2

Mode
Ethernet interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to add an interface to a link aggregation group, and
set the link aggregation mode for the interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#smartgroup 1 mode active
ZXAN(config-if)#

Related Commands
show lacp

28-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
VLAN configurations of a member interface must be consistent with those of the
smartgroup; otherwise such an interface is not allowed to join the smartgroup.
After an interface joins an aggregation group, modifying VLAN attributes of the smartgroup
results in automatic modification of VLAN attributes on the side of the member interfaces
to keep consistent with the smartgroup.

28.11 smartgroup load-balance


Syntax
smartgroup load-balance mode
no smartgroup load-balance

Purpose
To configure load balance mode for smartgroup

Usage Guidelines
The following table provides parameter description:
Parameter

Description

mode

Smart group mode

Value
dst-ip, dst-mac, src-dst-ip,
src-dst-mac, src-ip, src-mac

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the load balance policy for smartgroup:
ZXAN(config)#interface smartgroup1
ZXAN(config-if)#smartgroup load-balance src-mac
ZXAN(config-if)#

Related Commands
show lacp

28-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 28 LACP Commands

28.12 user-smartgroup load-balance


Syntax
user-smartgroup load-blance group-id mode lb-mode

Purpose
To set the load balance mode of the smartgroup

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group-id

User smartgroup ID

1 192

lb-mode

Load balance mode, same as the six

modes in LACP

Mode
ZXAN(config)#

Example
The following example displays how to set the load balance mode of the smartgroup:
ZXAN(config)#user-smartgroup load-balance 45 mode dst-mac

28.13 show user-smartgroup


Syntax
show user-smartgroup {all | group-id}

Purpose
To show the information on the user smartgroups

Usage Guidelines
The following table provides parameter description:

28-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

all

To show the information on all the user smartgroups,

including the load balance mode, member port


quantity, and activated member port quantity
To show the information on a specified user

group-id

smartgroup, including the load balance mode,


member port quantity, and activated member port
quantity

Mode
Any mode except the ZXAN# mode

Example
The following example displays the information on the user smartgroups:
ZXAN(config)#show user-smartgroup all

28.14 show linkgroup


Syntax
show linkgroup groupid

Purpose
To display the configuration of a link group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

groupid

Link group ID

Range: 1 192

Mode
Any mode except ZXAN>

Example
The following example displays the configuration of a link group:
ZXAN(config)#show linkgroup 1
Linkgroup: 1

LoadBalance Mode: src-dst-mac

-------------------------------------------------------Member ports:
gei_1/3/1

gei_1/3/2

28-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 28 LACP Commands


Active ports:

Related Commands
linkgroup load-balance

28-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

28-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29

DHCP Commands
Table of Contents
DHCP Snooping Commands ....................................................................................29-1
DHCP Layer-3 Commands .....................................................................................29-10
DHCP Relay/Proxy Commands ..............................................................................29-14
DHCP Server Commands ......................................................................................29-24

29.1 DHCP Snooping Commands


29.1.1 ip dhcp snooping broadcast-to-unicast
Syntax
ip dhcp snooping broadcast-to-unicast

Syntax
no ip dhcp snooping broadcast-to-unicast

Purpose
To configure DHCP snooping upstream broadcast to unicast function
Use no command to disable the function

Usage Guidelines
None

Mode
ZXAN(config-vlan)#

Example
The following example displays how to configure DHCP snooping upstream broadcast to
unicast function
ZXAN(config)#vlan 1234
ZXAN(config-vlan)#ip dhcp snooping broadcast-to-unicast

29-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Command
None

29.1.2 ip dhcp snooping clear


Syntax
ip dhcp snooping clear {slot slotno | mac}

Purpose
To clear the DHCP snooping items or client MAC addresses according to the slot number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slot

Slot number

mac

MAC address of the client

Mode
ZXAN(config)#

Example
The following example displays how to clear the DHCP snooping items according to the
slot number:
ZXAN(config)#ip dhcp snooping clear slot 2

29.1.3 ip dhcp snooping enable


Syntax
ip dhcp snooping enable
no ip dhcp snooping enable

Purpose
To enable globalDHCP snooping

Usage Guidelines
None

29-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Mode
ZXAN(config)#

Example
The following example displays how to enable global DHCP snooping:
ZXAN(config)#ip dhcp snooping enable
ZXAN(config)#

Related Commands
None

29.1.4 ip dhcp snooping


Syntax
ip dhcp snooping {enable | disable} [vport vport ]

Purpose
To enable or disable DHCP snooping on an itnerface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable DHCP snooping

disable

Disable DHCP snooping

vport vport

Virtual port ID

1 255

Mode
ZXAN(config-if)#

Example
The following example displays how to enable DHCP snooping on the interface:
ZXAN(config)interface gpon-onu_1/1/1:1
ZXAN(config-if)#ip dhcp snooping enable vport 1
ZXAN(config-if)#

Related Commands
None
29-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

29.1.5 ip dhcp snooping quota


Syntax
ip dhcp snooping quota max-session [vport vport]
no ip dhcp snooping quota [vport vport]

Purpose
To configure the maximum number of DHCP snooping sessions

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

max-session

Max DHCP session number

Range: 1 255

vport vport

Virtual port ID

Range: 1 255

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum number of DHCP snooping
sessions:
ZXAN(config)interface gpon-onu_1/1/1:1
ZXAN(config-if)#ip dhcp snooping quota 100
ZXAN(config-if)#

Related Commands
None

29.1.6 ip dhcp snooping trust


Syntax
ip dhcp snooping trust interface
no ip dhcp snooping trust interface

Purpose
To configure interface or interface range as trusted

29-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

Interface name

gei_1/3/portno
Smartgroup
Interface Range: 1 8
Xgei_1/3/portno

Mode
ZXAN(config)#

Example
The following example displays how to configure interface or interface range as trusted:
ZXAN(config)#ip dhcp snooping trust gei_1/3/1
ZXAN(config)#

Related Commands
None

Related Information
This command can only be executed on the uplink ports.

29.1.7 ip dhcp snooping user delete ip


Syntax
ip dhcp snooping user delete ip ip-address

Purpose
To delete DHCP snooping user information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

ip-address

IP address

A.B.C.D

Mode
ZXAN(config)#
29-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to delete DHCP snooping user information
ZXAN(config)# ip dhcp snooping user delete ip 11.11.11.14

Related Command
None

29.1.8 ip dhcp snooping vlan


Syntax
ip dhcp snooping vlan {vlanName | vlanNo}
no ip dhcp snooping vlan {vlanName | vlanNo}

Purpose
To enable DHCP snooping on a VLAN or VLAN range

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlanName

VLAN name

vlanNo

VLAN ID

Range: 1 4094

Mode
ZXAN(config)#

Example
The following example displays how to enable DHCP snooping on a VLAN:
ZXAN(config)#ip dhcp snooping vlan 2
ZXAN(config)#

Related Commands
None

29-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

29.1.9 show ip dhcp snooping configure


Syntax
show ip dhcp snooping configure

Purpose
To display the DHCP snooping global configuration

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the DHCP snooping global configuration:
ZXAN#show ip dhcp snooping configure
DHCP snooping configure information
DHCP snooping globally state :enable(running)
ZXAN#

Related Commands
None

29.1.10 show ip dhcp snooping port


Syntax
show ip dhcp snooping port [ quota | statistics ] { pon-onu_shelf/slot/olt:onu | gei_shelf/slot/port
| linkgroup ][vport vport]

Purpose
To display the DHCP snooping port information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

quota

DHCP quota

statistics

DHCP statistics

29-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

pon-onu_shelf/slot/olt:onu

PON ONU interface

gei_shelf/slot/port

Ethernet interface

linkgroup

Ling group

Range: 1 192

vport vport

Virtual port ID

Range: 1 128

Mode
Any mode except user mode

Example
The following example displays the DHCP snooping port information:
ZXAN#show ip dhcp snooping port gpon-onu_1/1/1:1
Status

: enable

Current online users are 0.


Index MAC addr

IP addr

Vlan State

Expiration

ZXAN#

Related Commands
ip dhcp snooping quota

29.1.11 show ip dhcp snooping trust


Syntax
show ip dhcp snooping trust

Purpose
To display the DHCP snooping trust interface

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the DHCP snooping trust interface:
ZXAN#show ip dhcp snooping trust
Interface

State

----------------------------------------

29-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands


gei_1/3/1

Trusted

ZXAN#

Related Commands
None

29.1.12 show ip dhcp snooping vlan


Syntax
show ip dhcp snooping vlan [vlanName | vlanNo]

Purpose
To display the DHCP snooping status on VLANs

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlanName

VLAN name

vlanNo

VLAN ID

Range: 1 4094

Mode
Any mode except user mode

Example
The following example displays the DHCP snooping status on VLANs:
ZXAN#show ip dhcp snooping vlan
DHCP snooping state on vlans
Vlan

State

------------------------------20

enable

ZXAN#

Related Commands
None

29-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

29.1.13 show ip dhcp snooping port quota


Syntax
show ip dhcp snooping port quota interface [ vport vport]

Purpose
To display the DHCP snooping port quota information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

Interface name

epon-onu_rackno/slotno/portno:onuno

Vport id

vport vport

Range: 1 255

Mode
Any mode except user mode

Example
The following example displays the DHCP snooping port quota information:
ZXAN#show ip dhcp snooping port quota gpon-onu_1/1/1:1
Port

Vport

gpon-onu_1/1/1:1

Quota
No Limit

ZXAN#

Related Commands
None

29.2 DHCP Layer-3 Commands


29.2.1 ip dhcp enable
Syntax
ip dhcp enable
no ip dhcp enable

29-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Purpose
To enable the DHCP function

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the DHCP function:
ZXAN(config)#ip dhcp enable
ZXAN(config)#

Related Commands
None

Related Information
Only when DHCP is enabled globally, the ports in DHCP relay, DHCP proxy, or DHCP
server mode can run properly, but the DHCP snooping function is not related to DHCP
globally enabling.

29.2.2 ip dhcp logging on


Syntax
ip dhcp logging on
no ip dhcp logging on

Purpose
To enable the DHCP log function

Usage Guidelines
None

Mode
ZXAN(config)#

29-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to enable the DHCP log function:
ZXAN(config)#ip dhcp logging on
ZXAN(config)#

Related Commands
None

29.2.3 ip dhcp mode


Syntax
ip dhcp mode {relay | proxy | server}
no ip dhcp mode

Purpose
To configure DHCP work mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

relay

DHCP relay mode

proxy

DHCP proxy mode

server

DHCP server mode

Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure DHCP work mode:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp mode proxy
ZXAN(config-if)#

Related Commands
None
29-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

29.2.4 show ip dhcp configure


Syntax
show ip dhcp configure

Purpose
To display the DHCP configuration information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the DHCP configuration information:
ZXAN#show ip dhcp configure
DHCP process state information
process state : disable(stop)
logging flag : off
DHCP server configure:
available dns for client.master:
lease time of ip address:

slave:

3600 seconds

update arp state : disable


DHCP relay configure:
not insert relay information in BOOTREQUEST.
relay information policy:

default(replace)

relay information format:

default(china-tel)

relay retry times to server:

10

update arp state : disable


ZXAN#

Related Commands
None

29-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

29.3 DHCP Relay/Proxy Commands


29.3.1 ip dhcp database
Syntax
ip dhcp database {read | write}
no ip dhcp database {read | write}

Purpose
To configure DHCP database parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

read

Read database from memory

write

Write database to memory

Mode
ZXAN(config)#

Example
The following example displays how to configure DHCP database parameters:
ZXAN(config)#ip dhcp database write
ZXAN(confif)#

Related Commands
None

Related Information
l
l

When the DHCP user information is read, it is deleted. Therefore, the user information
can be read only once.
This command can write the user information only in DHCP relay and proxy modes.
The user information in DHCP server mode cannot be written or read.

29-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

29.3.2 ip dhcp relay server retry


Syntax
ip dhcp relay server retry num
no ip dhcp relay server retry

Purpose
To configure the retry times for the packets from relay to server

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

num

Request retry times

Range: 5 1000
Default: 10

Mode
ZXAN(config)#

Example
The following example displays how to configure the retry times for the packets from relay
to server:
ZXAN(config)#ip dhcp relay server retry 1000
ZXAN(config)#

Related Commands
None

Related Information
If the retry times exceed the maximum, the server is considered to be faulty. The server
forwarding state is set to dead and the system switches to the next server. If only one
server is configured, the system continues to use this server.

29.3.3 ip dhcp relay update arp


Syntax
ip dhcp relay update arp
no ip dhcp relay update arp
29-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To secure dynamic ARP entries in the ARP table to their corresponding DHCP bindings

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to update ARP entry of DHCP binding:
ZXAN(config)#ip dhcp relay update arp
ZXAN(config)#

Related Commands
None

Related Information
After forwarding the IP address returned by the DHCP server to DHCP client, the DHCP
relay binds the IP addresses allocated by the DHCP server with the ARP table items and
stops ARP learning. This protects the DHCP users from ARP attack.
This command takes effect only when the interface is configured to secure forwarding
mode.
By default, the IP addresses are not bound with ARP.

29.3.4 ip dhcp proxy client leasetime


Syntax
ip dhcp proxy client leasetime seconds
no ip dhcp proxy client leasetime

Purpose
To configure DHCP proxy client lease time

Usage Guidelines
The following table provides parameter description:

29-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Parameter

Description

Value

seconds

Proxy client lease time

Range: 60 18000 seconds


Default: 60 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure DHCP proxy client lease time:
ZXAN(config)#ip dhcp proxy client leasetime 1000
ZXAN(config)

Related Commands
None

29.3.5 ip dhcp relay server vclass-id


Syntax
ip dhcp relay server vclass-id string ip [standard | security]
no ip dhcp relay server vclass-id string [ip]

Purpose
To configure the mapping relationship between the DHCP option60 string and the server
IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

string

Vendor class identifier name

Range: 1 50 characters

ip

DHCP relay server address

A.B.C.D

Standard DHCP forward mode

standard

for relay
security

Security DHCP forward mode

for relay

Mode
ZXAN(config)#
29-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the map of vclass ID to DHCP relay
server:
ZXAN(config)#ip dhcp relay server vclass-id test 10.1.1.1 standard
ZXAN(config)#

Related Commands
None

Related Information
By default, the forwarding mode is auto learning mode. In standard mode, when the user
successfully applies for an IP address, the user space is released and the succeeding
DHCP packets are not processed. In security mode, when the user successfully applies
for an IP address, the user space is reserved and the succeeding DHCP unicast packets
are processed.

29.3.6 ip dhcp helper-address


Syntax
ip dhcp helper-address policy vclass-id
no ip dhcp helper-address policy vclass-id

Purpose
To configure Option60 forwarding in DHCP relay or proxy mode

Usage Guidelines
None

Mode
Vlan interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure Option60 forwarding in DHCP relay or
proxy mode:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp helper-address policy vclass-id
ZXAN(config-if)#

29-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Related Commands
None

Related Information
If the field option60 does not find matching server IP address, discard the request packet.

29.3.7 ip dhcp relay agent


Syntax
ip dhcp relay agent ip-address
no ip dhcp relay agent

Purpose
To configure the DHCP agent IP address in relay or proxy mode. To delete the DHCP
agent IP address, use the no command.
To delete the DHCP agent IP address, use the no command.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

DHCP relay agent address

A.B.C.D

Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure DHCP relay agent:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp relay agent 192.200.100.254
ZXAN(config-if)#

Related Commands
None

29-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
Before enabling DHCP relay to forward the user DHCP request to the external DHCP
server, configure the DHCP agent IP address, which is one of the IP addresses of the
DHCP client interfaces.
The external DHCP server allocates the user IP addresses according to the DHCP agent
IP address so that the IP addresses are in the same subnet. The response packet returned
by the DHCP server to the DHCP client is forwarded through DHCP agent. Therefore, the
external DHCP server needs to configure the route of the subnet which the DHCP agent
belongs to.
This IP address is contained in the giaddr field in the DHCP packet.

29.3.8 ip dhcp relay server


Syntax
ip dhcp relay server ip-address [standard | security]
no ip dhcp relay server ip-address

Purpose
To configure DHCP relay server address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

DHCP relay server address

A.B.C.D

standard

Standard DHCP forward mode

for relay
security

Security DHCP forward mode

for relay

Mode
Vlan interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure DHCP relay server address:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp relay server 192.200.100.254
ZXAN(config-if)#

29-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Related Commands
ip dhcp relay agent

Related Information
By default, the forwarding mode is the field learning mode.

29.3.9 ip dhcp relay user delete ip


Syntax
ip dhcp relay user delete ip ip-address

Purpose
To delete DHCP relay user information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

ip-address

IP address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to delete DHCP relay user information
ZXAN(config)# ip dhcp relay user delete ip 1.1.1.11

Related Command
None

29.3.10 bridge-dhcp-relay
Syntax
bridge-dhcp-relay vlan vlan1 source-interface-vlan vlan2
no bridge-dhcp-relay vlan vlan1

Purpose
To configure bridge DHCP VLAN map
29-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan vlan1

VLAN ID

Range: 1 4096

source-interface-vlan vlan2

Source interface VLAN ID

Range: 1 4096

Mode
ZXAN(config)#

Example
The following example displays how to configure bridge DHCP VLAN map:
ZXAN(config)#bridge-dhcp-relay vlan 20 source-interface-vlan 10

Related Commands
show bridge-dhcp-relay

29.3.11 show ip dhcp relay server vclass-id


Syntax
show ip dhcp relay server vclass-id [string]

Purpose
To display DHCP server IP address and the mapping relations

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

string

Vendor class identifier name

Range: 1 50 characters

used to map DHCP server

Mode
Any mode except user mode

Example
The following example displays DHCP server IP address and the mapping relations:
ZXAN#show ip dhcp relay server vclass-id
test:
DHCP server :10.1.1.1

standard

29-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands


ZXAN#

Related Commands
None

29.3.12 show ip dhcp proxy client


Syntax
show ip dhcp proxy client

Purpose
To display DHCP proxy client parameters

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays DHCP proxy client parameters:
ZXAN#show ip dhcp proxy client
DHCP client configure information in proxy mode:
leasetime

:60 seconds

ZXAN#

Related Commands
None

29.3.13 show bridge-dhcp-relay


Syntax
show bridge-dhcp-relay

Purpose
To display the configuration of bridge DHCP relay map

29-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the configuration of bridge DHCP relay map:
ZXAN(config)#show bridge-dhcp-relay
bridge-dhcp-relay vlan

20 source-interface-vlan

10

Related Commands
bridge-dhcp-relay

29.4 DHCP Server Commands


29.4.1 ip local pool
Syntax
ip local pool pool-name begin-ip-address last-ip-address net-mask
no ip local pool pool-name begin-ip-address last-ip-address net-mask

Purpose
To configure IP local address pool list

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pool-name

Pool name

Range: 1 16 characters

begin-ip-address

Beginning IP address

A.B.C.D

last-ip-address

Last IP address

A.B.C.D

net-mask

Subnet mask address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure IP local address pool list:
29-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands


ZXAN(config)#ip local pool test 10.1.1.1 10.1.1.255 255.255.0.0
ZXAN(config)#

Related Commands
None

29.4.2 ip local pool conflict-ip


Syntax
ip local pool conflict-ip timeout
no ip local pool conflict-ip

Purpose
To configure the timeout interval for conflicting IP addresses

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

timeout

Conflict IP timeout

Range: 1 60000 minutes

Mode
ZXAN(config)#

Example
The following example displays how to configure the timeout interval for conflicting IP
addresses to 60 minutes:
ZXAN(config)#ip local pool conflict-ip 60
ZXAN(config)#

Related Commands
show ip local pool conflict-ip

29.4.3 ip dhcp server dns


Syntax
ip dhcp server dns master-ip [slave-ip]
no ip dhcp server dns
29-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the DNS address returned by theDHCP server

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

master-ip

Master DNS address

A.B.C.D

slave-ip

Slave DNS address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure DHCP server DNS address:
ZXAN(config)#ip dhcp server dns 10.1.1.1 10.1.1.10
ZXAN(config)#

Related Commands
show ip dhcp server user
ip dhcp server leasetime
ip dhcp server gateway
ip local pool
peer default ip pool

Related Information
Up to two DNS addresses can be configured at the same time.

29.4.4 ip dhcp server leasetime


Syntax
ip dhcp server leasetime time
no ip dhcp server leasetime

Purpose
To configure DHCP server lease time

29-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Lease time

Range: 60 18000 seconds


Default: 3600 seconds

Mode
ZXAN(config)#

Example
The following example displays how to configure DHCP server lease time:
ZXAN(config)#ip dhcp server leasetime 1200
ZXAN(config)#

Related Commands
show ip dhcp server user
ip dhcp server dns

Related Information
Before the lease period expires, the user needs to lease the IP address from the DHCP
server again. Otherwise, the DHCP server reclaims the IP address.

29.4.5 ip dhcp server update arp


Syntax
ip dhcp server update arp
no ip dhcp server update arp

Purpose
To update the ARP entry of DHCP client

Usage Guidelines
None

Mode
ZXAN(config)#

29-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to update the ARP entry of DHCP client:
ZXAN(config)#ip dhcp server update arp
ZXAN(config)#

Related Commands
show ip dhcp relay server vclass-id

Related Information
This command binds the IP addresses allocated by the DHCP server with the ARP table
items and stops ARP learning. This protects the DHCP users from ARP attack.
By default, the IP addresses are not bound with ARP.

29.4.6 ip dhcp server gateway


Syntax
ip dhcp server gateway ip-address
no ip dhcp server gateway [ip-address]

Purpose
To configure DHCP client gateway address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

DHCP client gateway address

A.B.C.D

Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure DHCP client gateway address:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp server gateway 10.1.1.1
ZXAN(config-if)#

29-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 29 DHCP Commands

Related Commands
show ip dhcp server user
ip dhcp server leasetime
ip dhcp server dns
peer default ip pool

Related Information
The DHCP gateway address configured on the interface should be in the same network
segment with the IP address of the interface.When the router works as the DHCP client
gateway, the gateway IP address is set to be the interface IP address. Otherwise, the
DHCP client cannot obtain a matched gateway for communication. In addition, when the
lease period of the DHCP client IP address expires, the IP address cannot be leased again
in unicast mode.
When the DHCP server is started, the DHCP gateway address is returned to the user as
the default gateway address.

29.4.7 peer default ip pool


Syntax
peer default ip pool poolname
no peer default ip pool

Purpose
To configure default IP pool parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

poolname

Pool name

Range: 1 16 characters

Mode
Supervlan/Vlan interface configuration mode
ZXAN(config-if)#

Example
The following example displays how to configure default IP pool parameters:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#peer default ip pool test

29-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-if)#

Related Commands
None

29.4.8 show ip dhcp server user


Syntax
show ip dhcp server user interface-name

Purpose
To display the DHCP server online user information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

VLAN
Range: 1 4094
SuperVLAN
Range: 1 255

Mode
Any mode except user mode

Example
The following example displays the DHCP server online user information:
ZXAN#show ip dhcp server user vlan 2
Current online users are 0.
Index MAC addr

IP addr

State

Expiration

ZXAN#

Related Commands
None

29-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30

Port Location Commands


Table of Contents
Port Location Commands .........................................................................................30-1
DHCP Option82 Commands...................................................................................30-10
PPPoE+ Commands ..............................................................................................30-14

30.1 Port Location Commands


30.1.1 port location access-node-identifier
Syntax
port-location access-node-identifier {inband-mac | hostname}

Purpose
To configure port location access node identifier information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

inband-mac

In-band MAC as identifier

hostname

Host name as identifier

Mode
ZXAN(config)#

Example
The following example displays how to configure port location access node identifier
information:
ZXAN(config)#port-location access-node-identifier inband-mac
ZXAN(config)#

30-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show port-location global

30.1.2 port-location hostname


Syntax
port-location hostname string

Purpose
To configure port location host name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

string

Host name

Range: 1 50 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure port location host name:
ZXAN(config)#port-location hostname ZTE
ZXAN(config)#

Related Commands
show port-location global

30.1.3 port-location rackno frameno


Syntax
port-location rackno rackno frameno frameno

Purpose
To configure the rack number and frame number for port location

Usage Guidelines
The following table provides parameter description:
30-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30 Port Location Commands

Parameter

Description

Value

rackno rackno

Rack number for port location

Range: 0 63

framenno frameno

Frame number for port location

Range: 0 31

Mode
ZXAN(config)#

Example
The following example displays how to configure the rack number and frame number for
port location:
ZXAN(config)#port-location rackno 3 frameno 8
ZXAN(config)#

Related Commands
show port-location global

30.1.4 port-location flexible-syntax add


Syntax
port-location flexible-syntax add { delimiter delimiter | string string | variable variable [ width
width ] } [ index index ]

Purpose
To add items to the flexible syntax table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

delimiter delimiter

Delimiter , supports the following

1 5 characters

characters and space:


#
.
,
;
/
:
string string

String

1 50 characters

30-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

variable variable

Variable

access_node_id

chassis

cvlan

ethernet-priority

frame

gem-port

loid

loidpw

onu-id

port

q-vid

rack

slot

sn

sub-slot

svlan

vci

vpi

width

Variable width

Range: 1 5

index index

Index

Range: 1 30

Mode
ZXAN(config)#

Example
The following example displays how to add items to the flexible syntax table:
ZXAN(config)#port-location flexible-syntax add delimiter space index 1
ZXAN(config)#port-location flexible-syntax add string ZXAN
ZXAN(config)#port-location flexible-syntax add variable slot

Related Commands
show port-location flexible-syntax

Related Information
The index parameter is optional. If the command contains this parameter, the items are
added in this position. If the command does not contain this parameter, the items are
added at the end of the table.
You cannot add the same variable range repeatedly.

30-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30 Port Location Commands

30.1.5 port-location flexible-syntax delete


Syntax
port-location flexible-syntax delete index index

Purpose
To delete items from the flexible syntax table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

index index

Index

Range: 1 30

Mode
ZXAN(config)#

Example
The following example displays how to delete item from the flexible syntax table:
ZXAN(config)#port-location flexible-syntax delete index 1

Related Commands
show port-location flexible-syntax

30.1.6 port-location format


Syntax
port-location format {china-telecom | dsl-forum | china-netcom | ti} { sport sport | vport vport
}

Purpose
To configure port location format

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

china-telecom

China telecom format

dsl-forum

DSL forum format

30-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

china-netcom

China netcom format

ti

Ti format

sport sport

Sport index

Range: 1 8

vport vport

Virtual port ID

Mode
ZXAN(config-if)#

Example
The following example displays how to configure port location format:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#port-location format china-telecom sport 1
ZXAN(config-if)#

Related Commands
show port-location port

30.1.7 port-location sub-option remote-id


Syntax
port-location sub-option remote-id {enable | disable} [ sport sport | vport vport ]

Purpose
To enable or disable the port location sub-option remote ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable remote ID

disable

Disable remote ID

sport sport

Sport index

Range: 1 128

vport vport

Virtual port ID

Range: 1 128

Mode
ZXAN(config-if)#
30-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30 Port Location Commands

Example
The following example displays how to enable the port location sub-option remote ID:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)# port-location sub-option remote-id enable
ZXAN(config-if)#

Related Commands
show port-location port

30.1.8 port-location sub-option remote-id name


Syntax
port-location sub-option remote-id name string { sport sport | vport vport }

Purpose
To configure port location sub-option remote ID name

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

string

Remote ID name

Range: 1 64 characters

sport sport

Sport index

Range: 1 128

vport vport

Virtual port ID

Range: 1 128

Mode
ZXAN(config-if)#

Example
The following example displays how to configure port location sub-option remote ID name:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#port-location sub-option remote-id name name1 sport 1
ZXAN(config-if)#

Related Commands
show port-location port

30-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

30.1.9 show port-location global


Syntax
show port-location global

Purpose
To display the global port location information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the global port location information:
ZXAN#show port-location global
identifer : inband-mac
rackno

: 0

frameno

: 0

hostname

: ZXAN

ZXAN#

Related Commands
port-location hostname

30.1.10 show port-location port


Syntax
show port-location port interface [pvc pvcid | sport sport| vport vport]

Purpose
To display the port location information

Usage Guidelines
The following table provides parameter description:

30-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30 Port Location Commands

Parameter

Description

Value

port interface

Interface name

Epon-onu_rackno/slotno/portno:onuno

pvc pvcid

PVC number

Range: 1 8

sport sport

Sport index

Range: 1 8

vport vport

Virtual port ID

Range: 1 128

Mode
Any mode except user mode

Example
The following example displays the port location information:
ZXAN#show port-location port gpon-onu_1/1/1:1
Port

CircuitId Format

gpon-onu_1/1/1:1

china-telecom

RemoteId status

RemoteId name

disable

ZXAN#

Related Commands
port-location format
port-location sub-option remote-id
port-location sub-option remote-id name

30.1.11 show port-location flexible-syntax


Syntax
show port-location flexible-syntax

Purpose
To display the port location flexible syntax configuration

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example flexible syntax configuration:
30-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#show port-location flexible-syntax
ItemIndex

VariableType

Variable Name

Width

Delimiter

space

String

ZXAN

Standard-Var

Slot

Flexible-Syntax Format:
ZXANSlot

Related Commands
port-location flexible-syntax add
port-location flexible-syntax delete

30.2 DHCP Option82 Commands


30.2.1 dhcp-option82
Syntax
dhcp-option82 {enable | disable}

Purpose
To enable or disable DHCP Option82

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable DHCP Option82

disable

Disable DHCP Option82

Mode
ZXAN(config)#

Example
The following example displays how to enable DHCP Option82:
ZXAN(config)#dhcp-option82 enable
ZXAN(config)#

Related Commands
show dhcp-option82 global
30-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30 Port Location Commands

30.2.2 dhcp-option82 pvc


Syntax
dhcp-option82 {enable | disable} { sport sport | vport vport }

Purpose
To enable or disable DHCP option82

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable DHCP Option82

disable

Disable DHCP Option82

sport sport

Sport index

Range: 1 8

vport vport

Virtual port ID

Mode
ZXAN(config-if)#

Example
The following example displays how to enable DHCP Option82:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp-option82 enable sport 1
ZXAN(config-if)#

Related Commands
show dhcp-option82 port

30.2.3 dhcp-option82 trust


Syntax
dhcp-option82 trust {true {keep | replace} | false {discard | add}} { sport sport | vport vport }

Purpose
To configure DHCP Option82 trust policy

30-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

keep

Keep the DHCP policy

replace

Replace the DHCP policy

discard

Discard the DHCP policy

add

Add the DHCP policy

sport sport

Sport index

Range: 1 8

vport vport

Virtual port ID

Mode
ZXAN(config-if)#

Example
The following example displays how to configure DHCP Option82 trust policy:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#dhcp-option82 trust true keep sport 1
ZXAN(config-if)#

Related Commands
show dhcp-option82 port

30.2.4 show dhcp-option82 global


Syntax
show dhcp-option82 global

Purpose
To display the DHCP Option82 global information

Usage Guidelines
None

Mode
Any mode except user mode

30-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30 Port Location Commands

Example
The following example displays the DHCP Option82 global information:
ZXAN#show dhcp-option82 global
option82 status : enable
ZXAN#

Related Commands
dhcp-option82

30.2.5 show dhcp-option82 port


Syntax
show dhcp-option82 port interface [pvc pvcid | sport sport | vport vport ]

Purpose
To display the DHCP Option82 port information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface

Interface number

epon-onu_rackno/slotno/portno:onuno

pvc pvcid

PVC number

Range: 1 8

sport sport

Sport index

Range: 1 8

vport vport

Virtual port ID

Range: 1 128

Mode
Any mode except user mode

Example
The following example displays the DHCP Option82 port information:
ZXAN#show dhcp-option82 port gpon-onu_1/1/1:1
Onu

Option82 status

gpon-onu_1/1/1:1

enable

Trust
true

Policy
keep

ZXAN#

Related Commands
show dhcp-option82 global
30-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

dhcp-option82 trust

Related Information
When trust is true, policy can be only set to keep or replace.
When trust is false, policy can be only set to discard or add.

30.3 PPPoE+ Commands


30.3.1 pppoe-plus
Syntax
pppoe-plus {enable | disable}

Purpose
To enable or disable the PPPoE+ function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the PPPoE+ function

disable

Disable the PPPoE+ function

Mode
ZXAN(config)#

Example
The following example displays how to enable the PPPoE+ function:
ZXAN(config)#pppoe-plus enable
ZXAN(config)#

Related Commands
show pppoe-plus global

30.3.2 pppoe-plus pvc


Syntax
pppoe-plus {enable | disable} { sport sport | vport vport }
30-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 30 Port Location Commands

Purpose
To enable or disable the PPPoE+ PVC function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable the PPPoE+ function

disable

Disable the PPPoE+ function

sport sport

Sport index

Range: 1 8

vport vport

Virtual port ID

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the PPPoE+ PVC function:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)# pppoe-plus enable sport 1
ZXAN(config-if)#

Related Commands
show pppoe-plus port

30.3.3 show pppoe-plus global


Syntax
show pppoe-plus global

Purpose
To display the PPPoE+ global information

Usage Guidelines
None

Mode
Any mode except user mode
30-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the PPPoE+ global information:
ZXAN#show pppoe-plus global
pppoe-plus status : enable
ZXAN#

Related Commands
show pppoe-plus global

30.3.4 show pppoe-plus port


Syntax
show pppoe-plus port interface [pvc pvcid | sport sport | vport vport ]

Purpose
To display the PPPoE+ port information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

port interface

Interface name

epon-onu_rackno/slotno/portno:onuno

pvc pvcid

PVC number

Range: 1 8

sport sport

Sport index

Range: 1 8

vport vport

Virtual port ID

Range: 1 128

Mode
Any mode except user mode

Example
The following example displays the PPPoE+ port information:
ZXAN#show pppoe-plus port gpon-onu_1/1/1:1
Port
gpon-onu_1/1/1:1

Pppoe-plus status
disable

ZXAN#

Related Commands
pppoe-plus
30-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 31

MFF and ARP Anti Snoofing


Commands
Table of Contents
ip-service mac-forced-forwarding..............................................................................31-1
ip-service mac-forced-forwarding vlan ......................................................................31-2
ip-servcie arp-anti-spoofing ......................................................................................31-3
ip-servcie arp-anti-spoofing vlan ...............................................................................31-3
ip-service ip-source-guard ........................................................................................31-4
show ip-service arp ..................................................................................................31-5
show ip-service mac-forced-forwarding ....................................................................31-6
show ip-service gateway ..........................................................................................31-7
show ip-service arp-anti-spoofing .............................................................................31-8
show ip-service ip-source-guard ...............................................................................31-8

31.1 ip-service mac-forced-forwarding


Syntax
ip-service mac-forced-forwarding { enable| disable}

Purpose
To configure MAC address forced forwarding function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable MAC address forced

forwarding function
disable

Disable MAC address forced

forwarding function

Mode
ZXAN(config)#

31-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure MAC address forced forwarding function.
ZXAN(config)#ip-service mac-forced-forwarding enable

Related Command
show ip-service mac-forced-forwarding

31.2 ip-service mac-forced-forwarding vlan


Syntax
ip-service mac-forced-forwarding vlan vlanId gateway ip-address[ gateway mask | mac-address]

Syntax
no ip-service mac-forced-forwarding vlan vlanId gateway ip-address[ gateway mask | mac-add
ress]

Purpose
To enable or disable the gateway IP/MAC MAC forced forwarding function

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

vlanId

Gateway VLAN

14094

ip-address

Gateway IP address

A.B.C.D

mac-address

Gateway MAC address

A.B.C.D

gateway mask

Gateway mask

A.B.C.D

Mode
ZXAN(config)#

Example
The following example shows how to enable MAC forced forwarding function in VLAN 2
on a MEF gateway:
ZXAN(config)#ip-service mac-forced-forwarding vlan 217 gateway 217.1.1.254

Related Commands
show ip-service mac-forced-forwarding gateway
31-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 31 MFF and ARP Anti Snoofing Commands

Related Information
Now, the system support to configure maximum 8 VLANs on a MEF gateway.

31.3 ip-servcie arp-anti-spoofing


Syntax
ip-servcie arp-anti-spoofing {enable | disable}

Purpose
To configure ARP anti-spoofing function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable ARP anti-spoofing

function
disable

Disable ARP anti-spoofing

function

Mode
ZXAN(config)#

Example
The following example displays how to configure ARP anti-spoofing function.
ZXAN(config)#ip-servcie arp-anti-spoofing enable

Related Command
show ip-service arp-anti-spoofing

Related Information
Presently, ARP anti-spoofing function relies on DHCP ARP item and the ARP iterm of the
fixed users specified by IP access user management module.

31.4 ip-servcie arp-anti-spoofing vlan


Syntax
ip-servcie arp-anti-spoofing vlan vlanid direction {all | uplink-port | user-port }
31-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Syntax
no ip-servcie arp-anti-spoofing vlan vlanid direction {all | uplink-port | user-port }

Purpose
To configure VLAN ARP anti-spoofing function
Use no command to delete VLAN ARP anti-spoofing function.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

vlanid

VLAN which is to configure

Range: 1 4094

ARP anti-spoofing function


direction

ARP anti-spoofing function

direction

All: At both the network side and user


side

Uplink-port: At the network side

User-port: At the user side

Mode
ZXAN(config)#

Example
The following example displays how to configure VLAN ARP anti-spoofing function.
ZXAN(config)#ip-servcie arp-anti-spoofing vlan 217 direction uplink-port

Related Command
show ip-service arp-anti-spoofing

Related Information
l
l
l

Presently, ARP anti-spoofing function relies on DHCP ARP item and fixed user's ARP
iterm specified by IP access user management module.
ARP anti-spoofing function supports eight VLANs at maximum.
At the network side, ARP anti-spoofing function is mainly for configuring VLAn
gateway MAC address.

31.5 ip-service ip-source-guard


Syntax
ip-service ip-source-guard {enable | disable}
31-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 31 MFF and ARP Anti Snoofing Commands

Purpose
To configure the IP-source-guard function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable IP-source-guard

disable

Disable IP-source-guard

Mode
ZXAN(config)#

Example
The following example displays how to enable the IP-source-guard function:
ZXAN(config)#ip-servcie ip-source-guard enable

Related Commands
show ip-service ip-source-guard

31.6 show ip-service arp


Syntax
show ip-service arp [ dhcp | ipoa-dynamic | ipoa-static | dynamic | fixed | ip-addr ip-addr][vlan
vlanId]

Purpose
To show ARP mapping list information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

dhcp

ARP information from DHCP

module
ipoa-dynamic

ARP information from IPoA

dynamic learning
ipoa-static

ARP information form IPoA

static configuration
31-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

dynamic

ARP information from MFF

and ARP anti-spoofing module


dynamic learning
fixed

ARP information of fixed

users configured by IP access


management module
ip-addr

IP address of IP-addr source

option
vlanId

ARP information of a specified

Range: 1 4094

VLAN

Mode
ZXAN(config)#

Example
The following example displays how to show ARP mapping list information.
ZXAN(config)#show ip-service arp
Total arp: 5
Vlan Internet Address Physical Address

Type

Port

-------------------------------------------------------------------210 192.168.1.1 00d0.d09a.7bb3 DYNAMIC-270S epon-onu_/1/13/1:1 vport 1

Related Command
ip-service ip-fixed-user

31.7 show ip-service mac-forced-forwarding


Syntax
show ip-service mac-forced-forwarding

Purpose
To show MAC forced forwarding enabled status

Usage Guidelines
None

Mode
ZXAN(config)#
31-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 31 MFF and ARP Anti Snoofing Commands

Example
The following example displays how to show MAC forced forwarding enabled status.
ZXAN(config)#show ip-service mac-forced-forwarding
MAC-forced Forwarding status:Enabled.

Related Command
ip-service mac-forced-forwarding

31.8 show ip-service gateway


Syntax
show ip-service gateway

Purpose
To show gateway information in MAC forced forwarding status

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to show gateway information in MAC forced
forwarding status.
ZXAN(config)#show ip-service gateway
Vlan Gateway IP

Gateway MAC

Type

__________________________________________________
210 21.1.1.254 0000.0000.0000

invalid

211 22.1.1.254 00d0.d0c4.07c2

dynamic-600s

Related Command
ip-service mac-forced-forwarding vlan
ip-service mac-forced-forwarding

31-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

31.9 show ip-service arp-anti-spoofing


Syntax
show ip-service arp-anti-spoofing

Purpose
To show configuration information related to arp-anti-spoofing function

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to show configuration information related to
arp-anti-spoofing function.
ZXAN(config)#show ip-service arp-anti-spoofing
Arp Anti-Snoofing status:Enabled.
vlan

direction

___________________
211

all

212

user-port

Related Command
ip-service arp-anti-spoofing
ip-service arp-anti-spoofing vlan

31.10 show ip-service ip-source-guard


Syntax
show ip-service ip-source-guard [ interface ]

Purpose
To display ip-source-guard information

Usage Guidelines
The following table provides parameter description:
31-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 31 MFF and ARP Anti Snoofing Commands

Parameter

Description

Value

interface

Interface naem

Mode
Any mode except ZXAN>

Example
The following example displays ip-source-guard information:
ZXAN(config)#show ip-servcie ip-source-guard

Related Commands
ip-service ip-source-guard

31-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

31-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 32

Control Panel Safety


Commands
Table of Contents
anti-dos ....................................................................................................................32-1
anti-dos drop ............................................................................................................32-2
anti-dos drv-limit.......................................................................................................32-2
anti-dos blocking-time ..............................................................................................32-3
anti-dos limit-num .....................................................................................................32-4
antidos .....................................................................................................................32-4
packet-limit...............................................................................................................32-5
show control-panel anti-dos black-table....................................................................32-6
show control-panel packet-limit statistics ..................................................................32-7
clear packet-statistics ...............................................................................................32-8

32.1 anti-dos
Syntax
anti-dos {enable | disable}

Purpose
To configure anti-DoS function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable anti-DoS function

disable

Disable anti-DoS function

Mode
ZXAN(control-panel)#

Example
The following example displays how to configure anti-DoS function.
32-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos enable

Related Command
None

Related Information
The anti-DoS function protects normal responses between NEs when DOS attacks occur.

32.2 anti-dos drop


Syntax
anti-dos drop {enable | disable}

Purpose
To configure anti-DoS drop function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable anti-DoS drop function

disable

Disable anti-dos drop function

Mode
ZXAN(control-panel)#

Example
The following example displays how to configure anti-DoS drop function.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos drop enable

Related Command
None

32.3 anti-dos drv-limit


Syntax
anti-dos drv-limit {enable | disable}
32-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 32 Control Panel Safety Commands

Purpose
To configure anti-DoS drive limit function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

enable

Enable anti-DoS drive limit

function
disable

Disable anti-dos drive limit

function

Mode
ZXAN(control-panel)#

Example
The following example displays how to configure anti-DoS drive limit function.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos drv-limit enable

Related Command
None

32.4 anti-dos blocking-time


Syntax
anti-dos blocking-time block time

Purpose
To configure anti-DoS blocking time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

blocking-time block time

Blocking time

Range: 1 600 seconds

Mode
ZXAN(control-panel)#
32-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure anti-DoS blocking time.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos blocking-time 300

Related Command
None

32.5 anti-dos limit-num


Syntax
anti-dos limit-num Limit number

Purpose
To configure anti-DoS limit number

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Parameter

limit-num Limit number

Limit number

Range: 10 1000 (Unit: pps)

Mode
ZXAN(control-panel)#

Example
The following example displays how to configure anti-DoS limit number.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos limit-num 20

Related Command
None

32.6 antidos
Syntax
antidos shutdown-time time

32-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 32 Control Panel Safety Commands

Purpose
To configure shutdown time on virtual ports for anti-DoS entry

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Shutdown time

0 60, unit: minute


0: no shutdonw

Mode
ZXAN(control-panel)#

Example
The following example displays how to configure the shutdown time on virtual ports for
anti-DoS:
ZXAN(config)#control-panel
ZXAN(control-panel)# antidos shutdown-time 2

Related Commands
None

32.7 packet-limit
Syntax
packet-limit packet type Limit number

Syntax
no packet-limit packet type Limit number

Purpose
To configure packet limit
Use no command to delete packet limit configuration.

Usage Guidelines
The following table provides parameter description:

32-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Parameter

packet type

Packet type

All: All packet

Arp: ARP packet

Bpdu: BPDU packet

Dhcp: DHCP packet

Icmp: ICMP packet

Igmp: IGMP packet

Ipv6_dhcp: IPV6 dhcp Packet

Ipv6_icmp: IPV6 icmp Packet

Ipv6_na: IPV6 neighbor advertisement Packet

Ipv6_ns: IPV6 neighbor solicitation Packet

Ipv6_ra: IPV6 router advertisement Packet

Ipv6_rs: IPV6 router solicitation Packet

Pppoe: PPPoE packet

Snmp: SNMP packet

Vbas: VBAS packet

limit-num Limit number

Limit

Range: 1 50 (Unit: pps)

number

Mode
ZXAN(control-panel)#

Example
The following example displays how to configure packet limit.
ZXAN(config)#control-panel
ZXAN(control-panel)#packet-limit arp 10

Related Command
None

Related Information
The function of 'antidos' is to protect normal responses between NEs when DOS attacks
occur.

32.8 show control-panel anti-dos black-table


Syntax
show control-panel anti-dos black-table

32-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 32 Control Panel Safety Commands

Purpose
To display anti-DoS black table

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the anti-DoS black table:
ZXAN#show control-panel anti-dos black-table
----------------------------MP
mac-address

vlan

port

----------------------------NP
mac-address

BLACK-TABLE-----------------------------------onu-sn

state

PktIn

Drop

BLACK-TABLE------------------------------------

port

onu-sn

state

PktIn

Drop

-------------------------------------------------------------------------------

Related Command
None

Related Information
The function of 'anti-dos' is to protect normal responses between NEs when DOS attacks
occur.

32.9 show control-panel packet-limit statistics


Syntax
show control-panel packet-limit statistics

Purpose
To display packet-limit statistics

Usage Guidelines
None

Mode
Any mode except ZXAN>
32-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the packet-limit statistics:
ZXAN#show control-panel packet-limit statistics
-------------------------------------------------------------inband

pktNumTotal

pktNumProcessed

pktNumDropped

all

arp

icmp

igmp

bpdu

dhcp

vbas

pppoe

snmp

------------------------------------------------------------outband

pktNumTotal

pktNumProcessed

pktNumDropped

all
arp

1632199

1631944

255

icmp

-------------------------------------------------------------

Related Command
None

32.10 clear packet-statistics


Syntax
clear packet-statistics

Purpose
To clear packet statistics

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to clear packet statistics.
ZXAN#clear packet-statistics

32-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 32 Control Panel Safety Commands

Related Command
None

32-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

32-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33

IPv4 Protocol Commands


Table of Contents
arp to-static ..............................................................................................................33-2
arp timeout ...............................................................................................................33-2
clear arp ...................................................................................................................33-3
clear arp-cache ........................................................................................................33-4
clear ip traffic............................................................................................................33-5
clear tcp connect ......................................................................................................33-5
clear tcp line .............................................................................................................33-6
clear tcp statistics .....................................................................................................33-7
clear tcp tcb..............................................................................................................33-7
clear tcp tty...............................................................................................................33-8
clear tcp vty..............................................................................................................33-9
ip route.....................................................................................................................33-9
ip address .............................................................................................................. 33-11
ip mtu ..................................................................................................................... 33-11
ip proxy-arp ............................................................................................................33-12
ip redirect ...............................................................................................................33-13
ip source-route .......................................................................................................33-14
ip tcp finwait-time ...................................................................................................33-14
ip tcp queuemax.....................................................................................................33-15
ip tcp synwait-time..................................................................................................33-16
ip tcp window-size ..................................................................................................33-16
ip unreachable........................................................................................................33-17
ping ........................................................................................................................33-18
ping mng ................................................................................................................33-19
set arp....................................................................................................................33-20
show arp ................................................................................................................33-21
show ip forwarding .................................................................................................33-22
show ip protocol routing..........................................................................................33-24
show ip protocol routing summary ..........................................................................33-25
show ip route..........................................................................................................33-25
show ip traffic .........................................................................................................33-27
show tcp.................................................................................................................33-29
show tcp brief .........................................................................................................33-31
show tcp configure .................................................................................................33-32
show tcp line ..........................................................................................................33-33
show tcp statistics ..................................................................................................33-34
show tcp tcb ...........................................................................................................33-35
33-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

show tcp tty ............................................................................................................33-37


show tcp vty ...........................................................................................................33-38
show vrrp ...............................................................................................................33-39
trace.......................................................................................................................33-41
vrrp advertise .........................................................................................................33-42
vrrp authentication..................................................................................................33-43
vrrp ip.....................................................................................................................33-44
vrrp learn................................................................................................................33-44
vrrp preempt...........................................................................................................33-45
vrrp priority .............................................................................................................33-46

33.1 arp to-static


Syntax
arp to-static
no arp to-static

Purpose
To bind automatically the ARP dynamic entries in the ARP buffer

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to bind automatically the ARP dynamic entries in the
ARP buffer:
ZXAN(config)#arp to-static
ZXAN(config)#

Related Commands
None

33.2 arp timeout


Syntax
arp timeout timeout
33-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

no arp timeout

Purpose
To configure the ARP cache timeout

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

timeout

ARP timeout

Range: 1 4294967 sec

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the ARP cache timeout:
ZXAN(config)#interface vlan 100
ZXAN(config-if)#arp timeout 10000

Related Commands
None

33.3 clear arp


Syntax
clear arp {ip-address| static | permanent}

Purpose
To delete a specific entry or all entries from the ARP table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Specify the IP address to clear

A.B.C.D

from the ARP table


static

ARP static entries

permanent

ARP permanent entries

33-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to delete a specific entry or all entries from the ARP
table:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#clear arp static
ZXAN#

Related Commands
set arp
show srp

33.4 clear arp-cache


Syntax
clear arp-cache [supervlan number | vlan number]

Purpose
To clear the ARP cache for a specified interface or all interfaces on a specified module

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

supervlan number

Super VLAN number

Range: 1 - 255

vlan number

VLAN number

Range: 1 - 4094

Mode
ZXAN#

Example
The following example displays how to clear the ARP cache for all interfaces on a specified
module:
ZXAN#clear arp-cache
ZXAN#

33-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Related Commands
show arp

33.5 clear ip traffic


Syntax
clear ip traffic

Purpose
To clear the IP traffic statistical counters

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to clear the IP traffic statistical counters:
ZXAN#clear ip traffic
ZXAN#

Related Commands
show ip traffic

33.6 clear tcp connect


Syntax
clear tcp connect [mng] local-host-address local-port remote-ip-address remote-port

Purpose
To clear the TCP connections, including Telnet, FTP and BGP connections

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mng

Management interface

33-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

local-host-address

Local IP address

A.B.C.D

local-port

Local port number

Range: 1 65535

remote-ip-address

Remote IP address

A.B.C.D

remote-port

Remote port number

Range: 1 65535

Mode
ZXAN#

Example
The following example displays how to clear the TCP connections, including Telnet, FTP
and BGP connections:
ZXAN#clear tcp connect 168.1.168.168 23 168.1.16.140 1456
ZXAN#

Related Commands
None

33.7 clear tcp line


Syntax
clear tcp line line-number

Purpose
To clear the Telnet connection

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

line-number

Line number

Range: 66 69

Mode
ZXAN#

Example
The following example displays how to clear the Telnet connection:
ZXAN#clear tcp line 66

33-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands


ZXAN#

Related Commands
None

33.8 clear tcp statistics


Syntax
clear tcp statistics

Purpose
To clear the TCP protocol statistics

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to clear the TCP protocol statistics:
ZXAN#clear tcp statistics
ZXAN#

Related Commands
None

33.9 clear tcp tcb


Syntax
clear tcp tcb tcb-address

Purpose
To clear the TCB address

Usage Guidelines
The following table provides parameter description:
33-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

tcb-address

TCB address

Range: 0 4294967295

Mode
ZXAN#

Example
The following example displays how to clear the TCB address:
ZXAN#clear tcp tcb 3261896
ZXAN#

Related Commands
None

33.10 clear tcp tty


Syntax
clear tcp tty tty-number

Purpose
To clear the terminal controller address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

tty-number

TTY number

Range: 66 69

Mode
ZXAN#

Example
The following example displays how to clear the terminal controller address:
ZXAN#clear tcp tty 66
ZXAN#

33-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Related Commands
None

33.11 clear tcp vty


Syntax
clear tcp vty vty-number

Purpose
To clear the virtual terminal controller address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vty-number

VTY number

Range: 0 3

Mode
ZXAN#

Example
The following example displays how to clear the virtual terminal controller address:
ZXAN#clear tcp vty 0
ZXAN#

Related Commands
None

33.12 ip route
Syntax
ip route prefix net-mask {[interface-name] | next-hop-address} [distance-metric] [global] [tag tag]
no ip route prefix net-mask [distance-metric] [tag tag]

Purpose
To configure a static route

33-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prefix

Prefix of the destination IP

A.B.C.D

address
net-mask

Network mask

A.B.C.D

interface-name

Interface name

Loopback Interface Range: 1 64


Super VLAN Interface Range:
1 - 255
VLAN Interface Range: 1 - 4094

next-hop-address

Next hop address

A.B.C.D

distance-metric

Distance metric for this route

Range: 1 255

global

Next hop address is global

tag tag

Tag value, used as the match

Range: 150 255

value and to control the route


re-allocation

Mode
ZXAN(config)#

Example
The following example displays how to configure a static route:
ZXAN(config)#ip route 131.108.0.0 255.255.0.0 131.108.6.6
ZXAN(config)#ip route 10.0.0.0 255.0.0.0 131.108.3.4 110
ZXAN(config)#

Related Commands
None

Related Information
distance-metric is equivalent to the priority of the routing protocol. The smaller it is, the
higher the priority. By default, the priority of static routes is higher than dynamic routes.
However, the dynamic router with higher priority is configured.
tag corresponds to the tag value in the IP routing table of the routing protocol. Two static
routes to the same destination network (with different next hop addresses) do not have the
same tag value.

33-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

33.13 ip address
Syntax
ip address ip-address net-mask [broadcast-address] [secondary]
no ip address [ip-address net-mask]

Purpose
To configure interface IP address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

net-mask

Network mask

A.B.C.D

broadcast-address

Broadcast address

A.B.C.D

secondary

Secondary address

Mode
ZXAN(config-if)#

Example
The following example displays how to configure interface IP address:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip address 168.1.10.100 255.255.0.0
ZXAN(config-if)#

Related Commands
None

Related Information
If no parameter is attached, all interface configurations are deleted.
By default, the interface IP address is not configured.

33.14 ip mtu
Syntax
ip mtu bytes
33-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no ip mtu

Purpose
To configure the MTU size of IP packets sent on an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

bytes

Interface MTU size

Range: 128 1500, unit: bytes


Default: 1500

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the MTU size of IP packets sent on an
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip mtu 1000
ZXAN(config-if)#

Related Commands
None

33.15 ip proxy-arp
Syntax
ip proxy-arp
no ip proxy-arp

Purpose
To enable ARP port agent function

Usage Guidelines
None

Mode
ZXAN(config-if)#
33-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Example
The following example displays how to enable ARP port agent function:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip proxy-arp
ZXAN(config-if)#

Related Commands
None

Related Information
By default, ARP port agent function is disabled.

33.16 ip redirect
Syntax
ip redirect
no ip redirect

Purpose
To enable the sending of ICMP redirect messages

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the sending of ICMP redirect messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip redirect
ZXAN(config-if)#

Related Commands
None

33-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

33.17 ip source-route
Syntax
ip source-route
no ip source-route

Purpose
To enable or disable the router to handle packets with IP source route options

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the router to handle packets with IP source
route options:
ZXAN(config)#ip source-route
ZXAN(config)#

Related Commands
None

33.18 ip tcp finwait-time


Syntax
ip tcp finwait-time seconds
no ip tcp finwait-time

Purpose
To configure the wait time for TCP disconnection

Usage Guidelines
The following table provides parameter description:

33-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Parameter

Description

Value

seconds

Time to wait for TCP

Range: 300 600 sec

disconnection

Default: 600 sec

Mode
ZXAN(config)#

Example
The following example displays how to configure the wait time for TCP disconnection:
ZXAN(config)#ip tcp finwait-time 400
ZXAN(config)#

Related Commands
None

33.19 ip tcp queuemax


Syntax
ip tcp queuemax packets
no ip tcp queuemax

Purpose
To configure the maximum length of TCP outgoing packets

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

packets

Number of packets

Range: 5 50

Mode
ZXAN(config)#

Example
The following example displays how to configure the maximum length of TCP outgoing
packets:
ZXAN(config)#ip tcp queuemax 40
ZXAN(config)#

33-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

33.20 ip tcp synwait-time


Syntax
ip tcp synwait-time seconds
no ip tcp synwait-time

Purpose
To configure the wait time for new TCP connection attempt

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Time to wait for the connection

Range: 30 80 sec
Default: 30 sec

Mode
ZXAN(config)#

Example
The following example displays how to configure the wait time for new TCP connection
attempt:
ZXAN(config)#ip tcp synwait-time 50
ZXAN(config)#

Related Commands
None

33.21 ip tcp window-size


Syntax
ip tcp window-size bytes
no ip tcp window-size

33-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Purpose
To configure the TCP window size

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

bytes

Window size

Range: 100 16000 byte

Mode
ZXAN(config)#

Example
The following example displays how to configure the TCP window size:
ZXAN(config)#ip tcp window-size 2000
ZXAN(config)#

Related Commands
None

33.22 ip unreachable
Syntax
ip unreachable
no ip unreachable

Purpose
To enable the sending of ICMP unreachable messages

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the sending of ICMP unreachable
messages:
33-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip unreachable
ZXAN(config-if)#

Related Commands
None

Related Information
If the router receives an unknown protocol used to send to its non-broadcast packet, it
would send an ICMP host unreachable message to the source address.

33.23 ping
Syntax
ping ip-address
ping ip-address [option repeat-count datagram-size timeout [extcom source-ip-address type-of-se
rvice time-to-live frag {loose | strict} source-route-address [source-route-address] | record recor
d-hops | timestamp record-timestamps| none]]

Purpose
To check the connectivity of the host

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Host IP address

A.B.C.D

repeat-count

Number of times the test is

Range: 1 4294967295

repeated
datagram-size

Size of the packet

Range: 36 8192

timeout

Time out

Range: 1 60 sec

extcom

Extended commands

source-ip-address

Source IP address

A.B.C.D

type-of-service

Type of service

Range: 0 255

time-to-live

Time to live

Range: 1 255

frag

Fragment

Range: 0 1
0: may frag
1: do not frag

33-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Parameter

Description

Value

loose

Loose

strict

Strict

source-route-address

Source route IP address

A.B.C.D

record record-hops

Record route number of hops

Range: 1 9

timestamp record-timestamps

Number of timestamp

Range: 1 9

none

No option

Mode
ZXAN>
ZXAN#

Example
The following example displays how to check the connectivity of the host:
ZXAN#ping 100.1.1.49
sending 5,100-byte ICMP echos to 100.1.1.49,
timeout is 2 seconds.!!!!!
Success rate is 100 percent(5/5),round-trip
min/avg/max= 0/0/0 ms.
ZXAN#

Related Commands
None

Related Information
The ping command sends the ICMP echo packet. If the destination receives an ICMP
echo message, it sends an ICMP echo reply message to the source address of the echo
message. As a result, this command is used to diagnose network interconnectivity.

33.24 ping mng


Syntax
ping mng ip-address [option repeat-count datagram-size timeout]

Purpose
To check the connectivity of the management interface

33-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Host IP address

A.B.C.D

Number of times the test is

Range: 1 4294967295

repeat-count

repeated
datagram-size

Size of the ping packet

Range: 36 8192

timeout

Time out

Range: 1 60 seconds

Mode
ZXAN>
ZXAN#

Example
The following example displays how to check the connectivity of the management interface:
ZXAN#ping mng 100.1.1.49 option 10 36 1
sending 10,36-byte ICMP echos to 100.1.1.49,timeout
is 1 seconds.
!!!!!!!!!!
Success rate is 100 percent(10/10),round-trip
min/avg/max= 0/2/20 ms.
ZXAN#

Related Commands
None

Related Information
The ping mng command sends the ICMP echo packet. If the destination receives an
ICMP echo message, it sends an ICMP echo reply message to the source address of the
echo message. As a result, this command is used to diagnose network inter-connectivity.

33.25 set arp


Syntax
set arp {static | permanent} ip-address hardware-address

Purpose
To configure the ARP MAC address binding
33-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

static

Static binding

permanent

Permanent binding

ip-address

IP address

A.B.C.D

hardware-address

MAC Address

xxxx.xxxx.xxxx

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the ARP MAC address binding:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#set arp static 168.10.1.1 000a.010c.e2c6
ZXAN(config-if)#

Related Commands
show arp

33.26 show arp


Syntax
show arp interface- number [mac mac-addr]
show arp

Purpose
To display the ARP table entry

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface- number

Interface number

Super VLAN Interface Range:


1 - 255
VLAN Interface Range: 1
4094

mac mac-addr

MAC address

XXXX.XXXX.XXXX

33-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays the ARP table entry:
ZXAN#show arp
Arp protect whole is disabled . The count is 3.
Address

Age(min)

Hardware Addr

Interface

10.63.184.21

0019.21d4.e22a

vlan100

10.63.184.254

00d0.d0c7.0601

vlan100

10.63.184.213

0033.1111.1111

vlan100

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Address

The IP address that is mapped to the MAC


address

Age (min)

Time interval from the last ARP update message


received by the entry to the execution of this
command (in minutes). If it is '-', this interface is
the interface address and is effective forever.

Hardware Addr

MAC address

Interface

Name of the interface

Related Commands
clear arp-cache

Related Information
The show arp command without any parameters shows the corresponding relations
between the IP address and MAC address in the ARP buffer of the interface. If it is
attached with the interface- number parameter, the ARP table of the specified interface is
displayed.

33.27 show ip forwarding


Syntax
show ip forwarding {hostrt start-ip-address [end-ip-address] | subnetrt ip-address mask | summ
ary}

33-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Purpose
To display the entries in the unicast forwarding table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

start-ip-address

Start IP address

A.B.C.D

end-ip-address

End IP addres

A.B.C.D

hostrt

Host routing table

subnetrt

Subnet routing table

mask

Subnet mask of the host

address (optional), or mask of


the network segment address
summary

Summary information of the

unicast forwarding table

Mode
Any mode except user mode

Example
The following example displays the entries in the unicast forwarding table:
ZXAN#show ip forwarding summary
Summary of ip forward-table:
---------------------------host

route is 1

subnet

route is 1

ZXAN#

Related Commands
None

Related Information
The contents of the unicast forwarding table, include the host routes, subnet routes, and
summary of the forwarding table.
To display the host routes, start-ip-address is mandatory, and end-ip-address is optional.
When end-ip-address is not specified, only one entry corresponding to the IP address is
displayed. Otherwise, all entries (not more than 255) within start-ip-address and end-ip-add
ress are displayed.
33-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

33.28 show ip protocol routing


Syntax
show ip protocol routing [network ip-address [mask net-mask] | summary]

Purpose
To display the protocol stack route-related information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

network ip-address

Network IP address

A.B.C.D

mask net-mask

IP subnet mask

A.B.C.D

summary

Summary of all routes

Mode
Any mode except user mode

Example
The following example displays the protocol stack route-related information:
ZXAN#show ip protocol routing
Protocol routes:
status codes: *valid, >best, i-internal, s-stale

Dest

NextHop

RoutePrf RouteMetric Protocol

*> 0.0.0.0/0

0.0.0.0

254

special

*> 10.0.0.0/8

10.63.184.254 1

static

*> 10.63.184.0/22

10.63.184.213 0

connected

*> 10.63.184.213/32

10.63.184.213 0

connected

special

*> 255.255.255.255/32 0.0.0.0

254

ZXAN#

Related Commands
None

Related Information
By default, all protocol stack routes are displayed. If the network IP address and network
mask parameters are used, the protocol routes that match the address/mask are displayed.
33-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

33.29 show ip protocol routing summary


Syntax
show ip protocol routing summary

Purpose
To display the IP protocol routing summary

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the IP protocol routing summary:
ZXAN#show ip protocol routing summary
Route Source
connected :

count
0

static:

ospf:

rip:

bgp:

isis:

Total:

ZXAN#

Related Commands
None

33.30 show ip route


Syntax
show ip route [ip-address] [net-mask | protocol]
show ip route other

Purpose
To display the IP routing table
33-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

net-mask

Network mask

A.B.C.D

protocol

Protocol

Keywords: static, connected,


bgp, ospf, rip, address, isis-l1,
isis-l2

Show VRRP NAT tables

other

Mode
Any mode except user mode

Example
The following example displays the IP routing table:
ZXAN#show ip route
IPv4 Routing Table:
Dest

Mask

100.1.1.0 255.255.255.0

Gw

Interface Owner

pri metric

100.1.1.1

mng1

direct

100.1.1.1 255.255.255.255 100.1.1.1

mng1

address 0

The following table describes the parameters displayed in the example:


Parameter

Description

Dest

Address of the destination IP network

Mask

Network mask

Gw

Next-hop IP address

Interface

Specified interface

Owner

Source of the route, that is, the routing protocol


or keyword
OSPF: routes generated by the ospf
RIP: routes generated by the RIP
BGP: routes generated by the BGP
IS-IS: routes generated by the IS-IS
Direct: directly connected routes
Static: static routes
Address: interface address route
33-26

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Parameter

Description

pri

Administrative distance assigned to this route

metric

Metric assigned to this route

Related Commands
None

33.31 show ip traffic


Syntax
show ip traffic

Purpose
To display the IP transmission statistics

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the IP transmission statistics:
ZXAN#show ip traffic
IP statistics:
Rcvd: 7091 total, 1322 local destination
format errors

checksum errors

bad hop count

unknown protocol
0
Frags:reassembled

timeouts

couldn't reassemble
0

fragmented

couldn't fragment

Bcast:received

sent

53

44

Sent: generated

forwarded

encapsulation failed

no route

990
ICMP statistics:
Rcvd: 0 total

33-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


format errors

redirects

unreachable

echo

echo reply

mask requests

mask replies

quench

timestamp request

timestamp reply

time exceeded

parameter problem
0
Sent: 0 total
format errors

redirects

unreachable

echo

echo reply

mask requests

mask replies

quench

timestamp request

timestamp reply

time exceeded

parameter problem
0
UDP statistics:
Rcvd: 53 total, 0 checksum errors, 1 no port
Sent: 0 total
TCP statistics:
Rcvd: 1269 total, 0 checksum errors
Sent: 983 total
ARP statistics:
Rcvd: requests
13

replies
41

Sent: requests
41

replies
10

Droped: in requests
0

in replies

out requests

ZXAN#

Related Commands
None

Related Information
This command displays the statistic information of all the protocols (including the dynamic
routing protocol) on the IP layer.
The statistics of the protocol packets include the following contents:
l
l

IP statistics: number of received packets, number of sent packets, fragment statistics


and broadcast packet statistics.
ICMP statistics: number of packets received and sent.
33-28

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

l
l
l

ARP statistics: number of packets received and sent.


TCP statistics: number of packets received, packets with checksum errors and
packets sent.
UDP statistics: number of packets received, packets with checksum errors and
number of erroneous packets on the receiving port.

33.32 show tcp


Syntax
show tcp

Purpose
To display the relevant parameters of all TCP connections

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the relevant parameters of all TCP connections:
ZXAN#show tcp
tty 67,virtual tty from host 10.63.10.208
Connection state is ESTAB, I/O status: 1, unread input
bytes: 1
Local host: 10.63.173.100, Local port: 23
Foreign host: 10.63.10.208, Foreign port: 2852
Enqueued packets for retransmit: 0, input: 70
mis-ordered: 0 (0 bytes)

Event Timers (Current time is 5770300(ms)):


Timer
Retrans
TimeWait

Starts

Wakeups

47

AckHold

22

KeepAlive

37

37

Persist

SynWait

FinWait

iss: 1210240000

snduna: 1210240372

sndnxt: 1210240372

33-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


sndwnd: 65164
irs: 3144580243

rcvnxt: 3144580317

SRTT: 871 ms, RTTO:


minRTT: 16 ms,

rcvwnd: 4026

412 ms, KRTT: 412 ms

maxRTT: 1161 ms,

ACK hold: 200 ms

Flags: Passive open, higher precedence, retransmission


timeout

Datagrams (max data segment is 536 bytes):


Rcvd: 70 (out of order: 0), with data: 37,
total data bytes: 74
Sent: 48 (retransmit: 0), with data: 43,
total data bytes: 371

tty 68,virtual tty from host 10.63.10.214


Connection state is ESTAB, I/O status: 1,
unread input bytes: 1
Local host: 10.63.173.100, Local port: 23
Foreign host: 10.63.10.214, Foreign port: 4524
Enqueued packets for retransmit: 3, input: 800
mis-ordered: 0 (0 bytes)

Event Timers (Current time is 5770320(ms)):


Timer

Starts

Wakeups

637

Retrans
TimeWait
AckHold

295

KeepAlive

468

468

Persist

SynWait

FinWait

iss: 630845000

snduna: 630848834

sndnxt: 630848834

sndwnd: 16106
irs: 3723997840

rcvnxt: 3723998392

SRTT: 652 ms, RTTO:


minRTT: 16 ms,

rcvwnd: 4084

287 ms, KRTT: 287 ms

maxRTT: 1202 ms,

ACK hold: 200 ms

Flags: Passive open, higher precedence, retransmission


timeout

Datagrams (max data segment is 536 bytes):


Rcvd: 800 (out of order: 0), with data: 474,
total data bytes: 552
Sent: 594 (retransmit: 3), with data: 584,
total data bytes: 3833

33-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands


tty 66,virtual tty from host 10.63.10.209
Connection state is ESTAB, I/O status: 1,
unread input bytes: 1
Local host: 10.63.173.100, Local port: 23
Foreign host: 10.63.10.209, Foreign port: 1650
Enqueued packets for retransmit: 25, input: 4917
mis-ordered: 0 (0 bytes)

Event Timers (Current time is 5770340(ms)):


Timer

Starts

Wakeups

4299

25

AckHold

1702

30

KeepAlive

2689

2689

Retrans
TimeWait

Persist

SynWait

FinWait

iss: 65000000

snduna: 65048570

sndnxt: 65048572

sndwnd: 65203
irs: 1368434624

rcvnxt: 1368437948

SRTT: 888 ms, RTTO:


minRTT: 16 ms,

rcvwnd: 3992

369 ms, KRTT: 369 ms

maxRTT: 1355 ms,

ACK hold: 200 ms

Flags: Passive open, higher precedence, retransmission


timeout

Datagrams (max data segment is 536 bytes):


Rcvd: 4917 (out of order: 0), with data: 2681,
total data bytes: 3323
Sent: 3862 (retransmit: 25), with data: 3817,
total data bytes: 48571
ZXAN#

Related Commands
None

33.33 show tcp brief


Syntax
show tcp brief

33-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the brief descriptions of all the TCP connections

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the brief descriptions of all the TCP connections:
ZXAN#show tcp brief
TCB

Local Address

Foreign Address

State

197404144

100.1.1.1.23

100.1.1.49.1648

ESTAB

197406336

100.1.1.1.23

100.1.1.2.1370

ESTAB

197439456

100.1.1.1.23

100.1.1.88.1584

ESTAB

197369152

100.1.1.1.23

100.1.1.5.1150

ESTAB

ZXAN#

Related Commands
None

33.34 show tcp configure


Syntax
show tcp configure

Purpose
To display the TCP configuration parameter information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the TCP configuration parameter information:
33-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands


ZXAN#show tcp config
TCP SYNWAIT: 30
TCP FINWAIT: 600
TCP QUEUEMAX: 5
TCP WINDOWSIZE: 2144
ZXAN#

Related Commands
None

33.35 show tcp line


Syntax
show tcp line line-number

Purpose
To display the relevant TCP connection parameters of the corresponding connection in the
specified row

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

line-number

Line number

Range: 66 69

Mode
Any mode except user mode

Example
The following example displays the relevant TCP connection parameters of the
corresponding connection in the specified row:
ZXAN#show tcp line 66
tty 66,virtual tty from host 10.63.11.58
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 10.63.184.213, Local port: 23
Foreign host: 10.63.11.58, Foreign port: 2265
Enqueued packets for retransmit: 0, input: 273
mis-ordered: 0 (0 bytes)

Event Timers (Current time is 0x2894299c):

33-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Timer

Starts

Wakeups

113

Retrans
TimeWait
AckHold

48

KeepAlive

67

67

Persist

SynWait

FinWait

iss: 2479350456

snduna: 2479351795

sndnxt: 2479351797

irs: 1068303723

rcvnxt: 1068303833

rcvwnd: 3990

SRTT: 953 ms, RTTO:


minRTT: 20 ms,

sndwnd: 65393

299 ms, KRTT: 299 ms

maxRTT: 1048 ms,

ACK hold: 200 ms

Flags: Passive open, higher precedence, retransmission timeout

Datagrams (max data segment is 536 bytes):


Rcvd: 273 (out of order: 0), with data: 69, total data bytes: 109
Sent: 105 (retransmit: 0), with data: 99, total data bytes: 1340
ZXAN#

Related Commands
None

33.36 show tcp statistics


Syntax
show tcp statistics

Purpose
To display the TCP layer statistic parameters

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the TCP layer statistic parameters:
ZXAN#show tcp statistics

33-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands


Rcvd: 14861 Total, 41 no port
0 checksum error, 0 bad offset, 0 too short
14711 packets (4531127 bytes) in sequence
0 out-of-order packets (0 bytes)
0 packets (0 bytes) with data after window
0 packets after close
0 window probe packets, 7259 window update packets
10 dup ack packets, 0 ack packets with unsend data
14714 ack packets (4531160 bytes)
Sent: 12369 Total, 0 urgent packets
85 control packets (including 1 retransmitted)
8704 data packets (117793 bytes)
94 data packets (1907 bytes) retransmitted
3622 ack only packets (0 delayed)
0 window probe packets, 2775 window update packets
7 Connections initiated, 16 connections accepted,
23 connections established,28 Connections closed ,
95 Total rxmt timeout, 0 connections dropped in rxmt timeout
6183 Keepalive timeout, 2 keepalive probe,
0 Connections dropped in keepalive
ZXAN#

Related Commands
None

33.37 show tcp tcb


Syntax
show tcp tcb tcb-address

Purpose
To display the relevant parameters of the connection corresponding to the specified TCB

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

tcb-address

TCB address

Range: 0 4294967295

Mode
Any mode except user mode
33-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the relevant parameters of the connection corresponding
to the specified TCB:
ZXAN#show tcp tcb 3507808
Stand-alone TCP connection from host 168.1.16.140
Connection state is ESTAB, I/O status: 1,
unread input bytes: 1
Local host: 168.1.168.168, Local port: 21
Foreign host: 168.1.16.140, Foreign port: 1804
Enqueued packets for retransmit: 0, input: 3
mis-ordered: 0 (0 bytes)

Event Timers (Current time is 0x39f490):


Timer

Starts

Wakeups

Retrans

TimeWait

AckHold

KeepAlive

Persist

SynWait

FinWait

iss: 911535000 snduna: 911535060 sndnxt: 911535060


sndwnd: 16557
irs: 3109854539

rcvnxt: 3109854540

SRTT: 258 ms, RTTO:


minRTT: 0 ms,

rcvwnd: 2144

1973 ms, KRTT: 1973 ms

maxRTT: 20 ms,

ACK hold: 200 ms

Flags: Passive open, higher precedence, retransmission


timeout

Datagrams (max data segment is 536 bytes):


Rcvd: 3 (out of order: 0), with data: 0, total data bytes: 0
Sent: 2 (retransmit: 0), with data: 1, total data bytes: 59
ZXAN#

Related Commands
None

33-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

33.38 show tcp tty


Syntax
show tcp tty tty-number

Purpose
To display the relevant parameters of the connections with TTY terminal type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

tty-number

TTY number

Range: 66 69

Mode
Any mode except user mode

Example
The following example displays the relevant parameters of the connections with TTY
terminal type:
ZXAN#show tcp tty 66
tty 66,virtual tty from host 10.63.11.58
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 10.63.184.213, Local port: 23
Foreign host: 10.63.11.58, Foreign port: 1411
Enqueued packets for retransmit: 5, input: 913
mis-ordered: 0 (0 bytes)

Event Timers (Current time is 0x286d7888):


Timer

Starts

Wakeups

663

AckHold

312

12

KeepAlive

428

428

Retrans
TimeWait

Persist

SynWait

FinWait

iss: 1561420456

snduna: 1561426537

sndnxt: 1561426539

irs: 3376372298

rcvnxt: 3376372798

rcvwnd: 3600

SRTT: 1112 ms, RTTO:


minRTT: 16 ms,

sndwnd: 65355

305 ms, KRTT: 305 ms

maxRTT: 1394 ms,

ACK hold: 200 ms

33-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Flags: Passive open, higher precedence, retransmission timeout

Datagrams (max data segment is 536 bytes):


Rcvd: 913 (out of order: 0), with data: 439, total data bytes: 499
Sent: 603 (retransmit: 5), with data: 588, total data bytes: 5549
ZXAN#

Related Commands
None

33.39 show tcp vty


Syntax
show tcp vty vty-number

Purpose
To display the VTY terminal type relevant parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vty-number

VTY number

Range: 0 3

Mode
Any mode except user mode

Example
The following example displays the VTY terminal type relevant parameters:
ZXAN#show tcp vty 1
tty 67,virtual tty from host 100.1.1.49
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 100.1.1.1, Local port: 23
Foreign host: 100.1.1.49, Foreign port: 1648
Enqueued packets for retransmit: 6, input: 689
mis-ordered: 0 (0 bytes)

Event Timers (Current time is 0x4469570):


Timer
Retrans

Starts

Wakeups

679

33-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands


TimeWait

AckHold

302

15

KeepAlive

415

415

Persist

SynWait

FinWait

iss: 279010816

snduna: 279029365

irs: 3216228978

rcvnxt: 3216229646

SRTT: 733 ms, RTTO:


minRTT: 31 ms,

sndnxt: 279029367

sndwnd: 17284

rcvwnd: 1477

420 ms, KRTT: 420 ms

maxRTT: 1398 ms,

ACK hold: 200 ms

Flags: Passive open, higher precedence, retransmission timeout

Datagrams (max data segment is 1260 bytes):


Rcvd: 689 (out of order: 0), with data: 418, total data bytes: 667
Sent: 611 (retransmit: 6), with data: 592, total data bytes: 18550
ZXAN#

Related Commands
None

33.40 show vrrp


Syntax
show vrrp [group | all | brief | interface interface-name]

Purpose
To display the configuration information of all VRRP groups

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group

Virtual router ID

Range: 0 255

all

Displays configuration

information of all VRRP groups


(including the group without
virtual address)
brief

Brief information configured for

the VRRP

33-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

interface interface-name

Interface name

Super VLAN Interface Range:


1 - 255
VLAN Interface Range: 1 - 4094

Mode
Any mode except user mode

Example
The following example displays the configuration information of all VRRP groups:
ZXAN#show vrrp
vlan2 - Group 1
State is Initial
Virtual IP address is 10.1.1.1
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 2.000 sec
Preemption is enabled
min delay is 500.000 sec
Priority is 120 (config 120)
Authentication is enabled
Master Router is 0.0.0.0 , priority is 0
Master Advertisement interval is 0.000 sec
Master Down interval is 6.531 sec
ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Vlan2-Group

Interface type and name

State

Shows the status of the VRRP group on the


interface (Master, Backup, Initial or Disable)

Virtual IP address

Virtual IP address of the VRRP group on the


interface

Virtual MAC address

Virtual MAC address of the VRRP group on the


interface

Advertisement interval

Time interval for VRRP to send packets on the


interface

Preemption

Preemption allowed or not

Priority

Priority configured on the interface

Track object

Track object, down priority


33-40

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Parameter

Description

Master Router

Interface address of the master virtual router in


the group

Master Advertisement interval

Time interval for the master to advertise packets

Master Down interval

Master timeout interval

Related Commands
None

33.41 trace
Syntax
trace ip-address

Purpose
To track the route to the destination

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

Mode
ZXAN>
ZXAN#

Example
The following example displays how to track the route to the destination:
ZZXAN#trace 10.63.10.250
tracing the route to 10.63.10.250
1

10.63.184.254

10.63.0.117

10.63.0.14

<20ms

20 ms

<20ms
<20ms

<20ms

20 ms

<20ms
<20ms

<20ms

<20ms
<20ms

<20ms

[finished]
ZXAN#

The following table describes the parameters displayed in the example:


33-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Route sequence number of the router to the


destination route.

10.63.184.254/10.63.0.117/10.63.0.14

IP address of a hop router in the route.

20 ms 20 ms <20ms

Wrap time of each of the three detections to be


sent.

Related Commands
None

Related Information
The trace command works on the ICMP error packet that is generated when the packet
exceeds its TTL value. The trace command starts by sending a packet with the TTL value
being 1 to cause the first router to discard the packet and send the first error packet.
TTL timeout packet means that a middle router receives the message and abandons
the detection. The destination unreachable message means that the destination node
receives the message but cannot deliver the message. If the timer stops before the
response arrives, the trace prints a *.

33.42 vrrp advertise


Syntax
vrrp group advertise {msec interval | interval}
no vrrp group advertise

Purpose
To configure the VRRP advertisement timer

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group

Group number

Range: 0 255

msec interval

Advertisement interval in

Range: 100 1000 millisec

millisecond
interval

Advertisement interval in

Range: 1 255 sec

second

Mode
ZXAN(config-if)#
33-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Example
The following example displays how to configure the VRRP advertisement timer:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 advertise 2
ZXAN(config-if)#

Related Commands
show vrrp

33.43 vrrp authentication


Syntax
vrrp group authentication string
no vrrp group authentication

Purpose
To configure the VRRP authentication

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group

Group number

Range: 0 255

authentication string

Authentication string

Range: 1 8 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the VRRP authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 authentication hello
ZXAN(config-if)#

Related Commands
show vrrp

33-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

33.44 vrrp ip
Syntax
vrrp group ip ip-address [secondary]
no vrrp group [ip ip-address]

Purpose
To enable the VRRP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group

Group number

Range: 0 255

ip ip-address

VRRP group IP address

A.B.C.D

secondary

Specify an additional VRRP

address for this group

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the VRRP:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 ip 10.1.1.1
ZXAN(config-if)#

Related Commands
show vrrp

33.45 vrrp learn


Syntax
vrrp group learn
no vrrp group learn

Purpose
To learn the VRRP timer values from current master
33-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group

Group number

Range: 0 255

Mode
ZXAN(config-if)#

Example
The following example displays how to learn the VRRP timer values from current master:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 learn
ZXAN(config-if)#

Related Commands
show vrrp

33.46 vrrp preempt


Syntax
vrrp group preempt [delay seconds]
no vrrp group preempt

Purpose
To configure the router to take over as master virtual router for a VRRP group if it has
higher priority than the current master virtual router

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group

Virtual router group number of

Range: 0 255

the group for which preemption


is being configured
delay seconds

Number of seconds that the

Range: 0 3600 sec

router delays before issuing an


advertisement claiming master
ownership
33-45
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the router to take over as master virtual
router for a VRRP group if it has higher priority than the current master virtual router:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 preempt delay 500
ZXAN(config-if)#

Related Commands
show vrrp

33.47 vrrp priority


Syntax
vrrp group priority priority
no vrrp group priority

Purpose
To configure the VRRP group priority

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

group

Group number

Range: 0 255

priority priority

Priority level

Range: 1 254

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the VRRP group priority:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#vrrp 1 priority 120
ZXAN(config-if)#

33-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 33 IPv4 Protocol Commands

Related Commands
show vrrp

33-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

33-48
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 34

ACL Commands
Table of Contents
acl standard .............................................................................................................34-1
acl extend.................................................................................................................34-2
acl hybrid..................................................................................................................34-3
acl link......................................................................................................................34-3
name........................................................................................................................34-4
rule (Basic ACL) .......................................................................................................34-5
rule (Extended ACL).................................................................................................34-6
rule (Layer-2 ACL)....................................................................................................34-8
rule (Hybrid ACL) .....................................................................................................34-9
vlan-mark ............................................................................................................... 34-11
clear traffic-statistics ...............................................................................................34-12
show access-list bound ..........................................................................................34-13
show acl .................................................................................................................34-13

34.1 acl standard


Syntax
acl standard {number acl-number | name acl-name}
no acl standard {number acl-number | name acl-name}

Purpose
To configure the standard ACL

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number acl-number

Standard ACL number

Range: 1 - 99

name acl-name Extended

Standard ACL name

Range: 1 - 32 characters

Mode
ZXAN(config)#

34-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the standard ACL:
ZXAN(config)#acl standard number 10
ZXAN(config-std-acl)#

Related Commands
show acl

34.2 acl extend


Syntax
acl extend {number acl-number | name acl-name}
no acl extend {number acl-number | name acl-name}

Purpose
To access the extended ACL configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number acl-number

Extended ACL number

Range: 100 - 199

name acl-name

Extended ACL name

Range: 1 - 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to access the extended ACL configuration mode:
ZXAN(config)#acl extend number 100
ZXAN(config-ext-acl)#

Related Commands
show acl

34-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 34 ACL Commands

34.3 acl hybrid


Syntax
acl hybrid {number acl-number | name acl-name}
no acl hybrid {number acl-number | name acl-name}

Purpose
To access the hybrid ACL configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number acl-number

Hybrid ACL number

Range: 300 - 399

name acl-name

Hybrid ACL name

Range: 1 - 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to access the hybrid ACL configuration mode:
ZXAN(config)#acl hybrid number 300
ZXAN(config-hybd-acl)#

Related Commands
show acl

34.4 acl link


Syntax
acl link {number acl-number | name acl-name}
no acl link {number acl-number | name acl-name}

Purpose
To access the layer-2 ACL configuration mode

Usage Guidelines
The following table provides parameter description:
34-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

number acl-number

ACL link number

Range: 200 - 299

name acl-name

Layer-2 ACL name

Range: 1 - 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to access the layer-2 ACL configuration mode:
ZXAN(config)#acl link number 200
ZXAN(config-link-acl)#

Related Commands
show acl

34.5 name
Syntax
name acl-alias
no name acl-alias

Purpose
To configure an ACL alias

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

acl-alias

ACL alias name

Range: 1 - 32 characters

Mode
ZXAN(config-ext-acl)#
ZXAN(config-hybd-acl)#
ZXAN(config-link-acl)#
ZXAN(config-std-acl)#

Example
The following example displays how to configure an ACL alias:
34-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 34 ACL Commands


ZXAN(config-std-acl)#name zte
ZXAN(config-std-acl)#

Related Commands
None

34.6 rule (Basic ACL)


Syntax
rule rule-no {permit | deny} {source [source-wildcard] | any} [time-range timerange-name]
no rule {rule-no | all}

Purpose
To configure a basic ACL rule

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rule-no

ACL rule ID

Range: 1 - 127

Permit the packet that matches

permit

this rule
deny

Deny the packet that matches

this rule
source

Source IP address

A.B.C.D

source-wildcard

Source IP address wildcard

A.B.C.D

mask
any

Any source IP address

time-range timerange-name

Time segment name

Range: 1 - 16 characters

Mode
ZXAN(config-std-acl)#

Example
The following example displays how to configure a basic ACL rule:
ZXAN(config-std-acl)#rule 1 permit 168.1.1.1 0.0.0.255
ZXAN(config-std-acl)#rule 10 permit any time-range test
ZXAN(config-std-acl)#

34-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show acl
time-range

Related Information
Configure a time range for ACL to specify an expiry time. Enable time range globally by
executing the time-range command prior to specifying time range for ACL.

34.7 rule (Extended ACL)


Syntax
rule rule-no {permit | deny} icmp {source source-wildcard | any} {dest dest-wildcard | any} [icm
p-type [icmp-code icmp-code]] {[precedence pre-value] [tos tos-value]} | dscp dscp-value] [timerange timerange-name]
rule rule-no {permit | deny} {ip-number | ip} {source source-wildcard | any} {dest dest-wildcard
| any} {[precedence pre-value] [tos tos-value | dscp dscp-value]} [time-range timerange-name]
rule rule-no {permit | deny} tcp {source source-wildcard | any} [rule port] {dest dest-wildcard |
any} [rule port] [established] [{[precedence pre-value] [tos tos-value]} | dscp dscp-value] [time-r
ange timerange-name]
rule rule-no {permit | deny} udp {source source-wildcard | any} [rule port] {dest dest-wildcard |
any} [rule port] [established] [{[precedence pre-value] [tos tos-value]} | dscp dscp-value] [time-r
ange timerange-name]
rule rule-no {permit | deny} igmp | ospf | pim | vrrp {source source-wildcard | any} {dest dest-wil
dcard | any} [established] [{[precedence pre-value] [tos tos-value]} | dscp dscp-value] [time-range
timerange-name]
no rule {rule-no | all}

Purpose
To configure an extended ACL rule

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rule-no

ACL rule ID

Range: 1 - 127

permit

Permit the packet that matches

this rule
34-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 34 ACL Commands

Parameter

Description

Value

deny

Deny the packet that matches

this rule
source

Source IP address

A.B.C.D

source-wildcard

Source IP address wildcard

A.B.C.D

mask
any

Any source IP address

dest

Destination IP address

A.B.C.D

dest-wildcard

Destination IP address wildcard

A.B.C.D

mask
icmp-type

ICMP type

icmp-code icmp-code

ICMP code

Range: 0 - 254

precedence pre-value

Priority

Range: 0 - 7

tos tos-value

Service type

Range: 0 - 15

dscp dscp-value

DSCP value

Range: 0 - 63

time-range timerange-name

Time segment name

Range: 1 - 16 characters

ip-number

Any Internet protocol

rule

Rule

port

Port

established

Established

Mode
ZXAN(config-ext-acl)#

Example
The following example displays how to configure an extended ACL rule:
ZXAN(config-ext-acl)#rule 1 permit 100 any any
ZXAN(config-ext-acl)#rule 2 permit icmp 168.1.1.0 0.0.0.255 any echo
dscp 1
ZXAN(config-ext-acl)#rule 3 deny ip any 168.1.0.0 0.0.255.255 tos 1
precedence 1
ZXAN(config-ext-acl)#rule 4 permit tcp any eq bgp 168.1.1.0 0.0.0.255
eq domain
established tos 1 precedence 7
ZXAN(config-ext-acl)#rule 5 deny udp any any dscp 5 time-range test
ZXAN(config-ext-acl)#

34-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show acl
time-range

34.8 rule (Layer-2 ACL)


Syntax
rule rule-no {permit | deny} {protocol-number | any | protocol-type} [{{ [ vlan-id vlan-id] [cos co
s-vlaue] [double-tag [vlan-id vlan-id] [cos cos-value] [ingress {source-mac source-mac-wildcard
| any}] [egress {dest-mac dest-mac-wildcard | any}]}}] [time-range timerange-name]
no rule {rule-no | all}

Purpose
To configure layer-2 ACL rule parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rule-no

ACL rule ID

Range: 1 - 127

permit

Permit the packet that matches

this rule
deny

Deny the packet that matches

this rule
protocol-number

An IP number

Range: 0 - 65534

protocol-type

Protocol type

Keyword: arp, ip

vlan-id

VLAN ID

Range: 1 - 4094

cos cos-value

CoS value

Range: 0 - 7

ingress

Ingress parameters

source-mac

Source MAC address

xxxx.xxxx.xxxx

source-mac-wildcard

Source MAC wildcard bits

xxxx.xxxx.xxxx

egress

Egress parameters

any

Any source IP address

double-tag

Double tag parameters

time-range timerange-name

Time range name

Range: 1 - 16 characters

34-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 34 ACL Commands

Mode
ZXAN(config-link-acl)#

Example
The following example displays how to configure layer-2 ACL rule parameters:
ZXAN(config-link-acl)#rule 1 permit any cos 2 vlan-id 100 ingress 0011.1234.0000
0000.0000.0000 egress any
ZXAN(config-link-acl)#

Related Commands
show acl
time-range

34.9 rule (Hybrid ACL)


Syntax
rule rule-id {deny | permit} {{protocol-number | ip | igmp | ospf | pim | vrrp} {source-address
source-wildcard-bits | any} {destination-address destination-wildcard-bits | any} | tcp {source-ad
dress source-wildcard-bits | any} [rule {port | tcpporttype}] {destination-address destination-wild
card-bits | any} [rule {port | tcpporttype}] | udp {source-address source-wildcard-bits | any} [rule
{port | udpporttype}] {destination-address destination-wildcard-bits | any} [rule {port | udpporttyp
e}]} {protocol-number | protocol-type | any} [vlan-id vlan-id] [cos cos-value] [double-tag [vlan-id
vlan-id] [cos cos-value]] [ingress {source-mac source-mac-wildcard | any}] [egress {dest-mac des
t-mac-wildcard | any}] [time-range timerange-name]
no rule {rule-id | all}

Purpose
To configure a hybrid ACL rule

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rule-id

ACL rule ID

Range: 1 - 4094

deny

Deny the packet that matches

this rule
permit

Permit the packet that matches

this rule
protocol-number

An IP number

Range: 0 - 254

34-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

igmp

Internet Group Management

Protocol (2)
ip

Any internet protocol

ospf

Open Shortest Path First

Protocol (89)
pim

Protocol Independent Multicast

(103)
tcp

Transmission Control Protocol

(6)
udp

User Datagram Protocol (17)

vrrp

Virtual Router Redundancy

Protocol (112)
source-address

Source IP address

A.B.C.D

source-wildcard-bits

Source IP address wildcard

A.B.C.D

mask
any

Any source IP address

destination-address

Destination IP address

A.B.C.D

destination-wildcard-bits

Destination IP address wildcard

A.B.C.D

mask
rule

Operator to compare the source

or destination port
port

Source or destination port

number
tcpporttype

TCP source or destination port

type
udpporttype

UDP source or destination port

type
protocol-type

Protocol type

Keyword: arp, ip

vlan-id vlan-id

VLAN ID

Range: 1 - 4094

cos-value

CoS value

Range: 0 - 7

double-tag

Double tag parameters

ingress

Ingress parameters

source-mac source-mac-wildcard

Source MAC address and

xxxx.xxxx.xxxx

wildcard bits
egress

Egress parameters

34-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 34 ACL Commands

Parameter

Description

Value

dest-mac dest-mac-wildcard

Destination MAC address and

xxxx.xxxx.xxxx

wildcard bits
time-range timerange-name

Time range name

Range: 1 - 16 characters

Mode
ZXAN(config-hybd-acl)#

Example
The following example displays how to configure a hybrid ACL rule:
ZXAN(config-hybd-acl)#rule 1 permit igmp any 168.10.1.1 0.0.0.255 any ingress
0000.0000.3230 0000.0000.0000
ZXAN(config-hybd-acl)#rule 2 deny udp any 168.1.1.1 0.0.0.0 egress 1111.0000.0000
0000.ffff.ffff
ZXAN(config-hybd-acl)#rule 3 permit tcp 168.1.1.1 0.0.0.255 eq ftp 168.1.2.2
0.0.0.255 eq telnet 1024 ingress 1111.aabb.cccc 0000.0000.ffff time-range test
ZXAN(config-hybd-acl)#

Related Commands
show acl
time-range

34.10 vlan-mark
Syntax
vlan-mark in { acl-number | acl-name } rule-id rule-no vlan-id vlan-id
no vlan-mark in { acl-number | acl-name } rule-id rule-no vlan-id vlan-id

Purpose
To configure the flow priority mark function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

in

Priority mark

acl-number

ACL number

Range: 1 - 699

acl-name

ACL name

Range: 1 - 32 characters

rule-id rule-no

Rule id

Range: 1 - 4094

34-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

vlan-id vlan-id

Vlan id

Range: 1 - 4094

Mode
ZXAN(config)#

Example
The following example displays how to configure the flow priority mark:
ZXAN(config)#vlan-mark in 100 rule-id 1 vlan-id 2
ZXAN(config)#

Related Commands
None

34.11 clear traffic-statistics


Syntax
clear traffic-statistics in {acl-number | acl-name} rule-id rule-no

Purpose
To clear the traffic statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

in

Priority mark

acl-number

ACL number

Range: 1 - 399

acl-name

ACL name

Range: 1 - 31 characters

rule-id rule-no

ACL rule ID

Range: 1 - 4094

Mode
ZXAN#

Example
The following example displays how to clear the traffic statistics:
ZXAN#clear traffic-statistics in 300 rule-id 1
ZXAN#

34-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 34 ACL Commands

Related Commands
None

34.12 show access-list bound


Syntax
show access-list bound [interface-name]

Purpose
To display access list(s) information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

Mode
Any mode except user mode

Example
The following example displays access list(s) information:
ZXAN#show access-list bound
Interface

Bound

Type

ACL

gei_1/3/1

in

V4STD

10

ZXAN#

Related Commands
None

34.13 show acl


Syntax
show acl [acl-number | acl-name]

Purpose
To display all the configured ACLs on the system or to display ACL contents of a specified
ACL
34-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

acl-number

ACL number

Range: 1 - 349

acl-name

ACL name

Range: 1 - 31 characters

Mode
Any mode except user mode

Example
The following example displays all the configured ACLs on the system or to display ACL
contents of a specified ACL:
ZXAN#show acl
ZXAN#

Related Commands
acl extend
acl link
acl standard
acl hybrid

34-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35

QoS Commands
Table of Contents
qos dscp-to-dscp-profile ...........................................................................................35-1
qos dscp-to-drop-profile............................................................................................35-2
qos dscp-to-cos-profile .............................................................................................35-3
qos cos-to-cos-profile ...............................................................................................35-4
qos queue-block-profile ............................................................................................35-5
qos queue-map-profile .............................................................................................35-7
qos eth-cos-local-map ..............................................................................................35-8
traffic-profile .............................................................................................................35-9
qos trust .................................................................................................................35-10
qos cos cos-remark ................................................................................................ 35-11
qos cos dscp-remark ..............................................................................................35-12
qos egress-cos cos-remark ....................................................................................35-13
qos egress-cos dscp-remark ..................................................................................35-14
qos traffic-shape.....................................................................................................35-14
qos queue-block-profile (interface) .........................................................................35-15
qos queue-map-profile (interface)...........................................................................35-16
qos drop-procedence .............................................................................................35-17
qos dscp dscp-remark ............................................................................................35-18
traffic-mirror............................................................................................................35-19
traffic-profile ...........................................................................................................35-20
show qos dscp-to-dscp-profile ................................................................................35-21
show qos dscp-to-drop-profile ................................................................................35-21
show qos cos-to-cos-profile ....................................................................................35-22
show qos queue-block-profile .................................................................................35-23
show qos queue-map-profile ..................................................................................35-23
show qos eth-cos-local-map ...................................................................................35-24
show traffic-profile ..................................................................................................35-25
show traffic-mirror...................................................................................................35-25

35.1 qos dscp-to-dscp-profile


Syntax
qos dscp-to-dscp-profile prf-name dscp-value to new-dscp-value
no qos dscp-to-dscp-profile prf_name

35-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To create a dscp-to-dscp profile, which presents the mapping relationship when the user
remarks the dscp according to the original packets dscp

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created profile name

Range: 1 32 characters

dscp-value

Original dscp value

Range: 0 63

new-dscp-value

New dscp value

Range: 0 63

Mode
ZXAN(config)#

Example
The following example displays how to create a dscp-to-dscp profile:
l
l

Profile name: TEST


Mapping relationship: dscp 1 mapping to dscp 15

ZXAN(config)#qos dscp-to-dscp-profile test 1 to 15

Related Commands
show qos dscp-to-dscp-profile

Related Information
The default dscp value for 64 dscp lists (0 63) is 0 to 63 respectively.
You can use the no qos dscp-to-dscp-profile command to delete the related profile.

35.2 qos dscp-to-drop-profile


Syntax
qos dscp-to-drop-profile prf-name dscp-value to drop-value
no qos dscp-to-drop-profile prf_name

Purpose
To create a dscp-to-drop profile, which represents the mapping relationship when the user
revises the drop precedence according to the original packets dscp

35-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created profile name

Range: 1 32 characters

dscp-value

Original dscp value

Range: 0 63

drop-value

Drop precedence

Range: 0 2 (low, medium, and


high)

Mode
ZXAN(config)#

Example
The following example displays how to create a dscp-to-drop profile:
l
l

Profile name: TEST


Drop priority of dscp 1 packets: 2

ZXAN(config)#qos dscp-to-drop-profile test 1 to 2

Related Commands
show qos dscp-to-drop-profile

Related Information
The default drop-value for the 64 dscp lists (0 63) is 0.
You can use the no qos dscp-to-drop-profile command to delete the related profile.

35.3 qos dscp-to-cos-profile


Syntax
qos dscp-to-cos-profile prf-name dscp-value to cos-value
no qos dscp-to-cos-profile prf_name

Purpose
To create a dscp-to-cos profile, which represents the mapping relationship when the user
revises the cos priority according to the original packets dscp

Usage Guidelines
The following table provides parameter description:

35-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

prf-name

Created profile name

Range: 1 32 characters

dscp-value

Original dscp value

Range: 0 63

cos-value

Cos priority

Range: 0 7

Mode
ZXAN(config)#

Example
The following example displays how to create a dscp-to-cos profile:
l
l

Profile name: TEST


Cos priority of dscp 0 8 packet: 2

ZXAN(config)#qos dscp-to-cos-profile test 0-8 to 2

Related Commands
show qos dscp-to-cos-profile

Related Information
The default cos priority of the 64 dscp lists (0 63) is as follows:
l
l
l
l
l
l
l
l

dscp0 7: cos0
dscp8 15: cos1
dscp16 23: cos2
dscp24 31: cos3
dscp32 39: cos4
dscp40 47: cos5
dscp48 55: cos6
dscp56 63: cos7

You can use the no qos dscp-to-cos-profile command to delete the related profile.

35.4 qos cos-to-cos-profile


Syntax
qos cos-to-cos-profile prf-name {[cos0 priority-value ] | [cos1 priority-value ] | [cos2 priority-value
] | [cos3 priority-value ] | [cos4 priority-value ] | [cos5 priority-value ] | [cos6 priority-value ] | [cos7
priority-value ]}
no qos cos-to-cos-profile prf_name

35-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

Purpose
To create a cos-to-cos profile, which represents the mapping relationship when the user
revises the cos priority according to the original packets cos

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created profile name

Range: 1 32 characters

priority-value

Revised priority value

Range: 0 7

Mode
ZXAN(config)#

Example
The following example displays how to create a cos-to-cos profile:
l
l

Profile name: TEST


Cos priority of cos0 packets: 2

ZXAN(config)#qos cos-to-cos-profile test cos0 2

Related Commands
show qos cos-to-cos-profile

Related Information
The default cos value for cos0 7 is 0, 1, 2, 3, 4, 5, 6, 7 respectively.
You can use the no qos cos-to-cos-profile command to delete the related profile.

35.5 qos queue-block-profile


Syntax
qos queue-block-profile prf-name {[queue-number ] [queue0 weight depth ] | [queue1 weight
depth ] | [queue2 weight depth ] | [queue3 weight depth ] | [queue4 weight depth ] | [queue5
weight depth ] | [queue6 weight depth ] | [queue7 weight depth ]}
no queue-block-profile prf_name

Purpose
To configure the service queue number, queue scheduling mode and queue depth

35-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created profile name

Range: 1 32 characters

queue-number

queue number

Range: 2, 4, 8
Default: 8

Queue weight

weight

Range: 0 63
0: sp dispatch

Queue depth

depth

Range: 0-63

Mode
ZXAN(config)#

Example
The following example displays how to create a queue-block profile:
l
l
l

Profile name: test


Weight of queue0: 20
Depth of queue0: 25

ZXAN(config)#qos queue-block-profile test queue0 20 25

Related Commands
show qos queue-block-profile

Related Information
Queue management includes the following items:
l Queue number: the queue number is configured in global configuration mode.
When the queue number is two, it means that queue0 and queue1 are available.
When the queue number is four, it means that queue0, queue1, queue2, and queue3
are available.
When the queue number is eight, it means queue0 to queue7 are all available.
l

Queue weight and depth: the system supports three queue scheduling modes.

SP

WRR

SP+WRR

When the weight is 0, the scheduling mode is the default mode, SP, the priority of
which is higher than that of WRR.
You can use the no queue-block-profile command to delete the related profile.
35-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

35.6 qos queue-map-profile


Syntax
qos queue-map-profile {prf-name{cos-queue-type[queue-number queue-num][cos0 queue-valu
e] | [cos1 queue-value ] |[cos2 queue-value ] | [cos3 queue-value ] |[cos4 queue-value]| [cos5 queu
e-value ] |[cos6 queue-value] |[cos7 queue-value ]} | service-type}
no qos queue-map-profile prf_name

Purpose
To configure the service enqueue mapping relationship, which can be cos-queue mapping
relationship or service-type mapping relationship

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created profile name

Range: 1 32 characters

cos-queue-type

Cos-queue mapping relationship

queue-number queue-num

Queue number

Range: 2, 4, 8
Default: 8

queue-value

Revised priority

Range: 0 7

service-type

Service type enqueue mode

Mode
ZXAN(config)#

Example
The following example displays how to create a queue-map profile:
l
l

Profile name: TEST


Mapping mode: cos-queue, cos0 mapping to queue7

ZXAN(config)#qos queue-map-profile test cos-queue-type cos0 7

Related Commands
show qos queue-map-profile

Related Information
By default, the service enqueues according to cos. Cos0-cos7 map to queue0-queue7
respectively.

35-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

If the queue number is two, cos0-cos1 map to queue0-queue1 respectively, and cos2-cos7
map to queue1.
If the queue number is four, cos0-cos3 map to queue0-queue3 respectively, and cos4-cos7
map to queue3.
You can use the no qos queue-map-profile command to delete the related profile.

35.7 qos eth-cos-local-map


Syntax
qos eth-cos-local-map cos0 local-value cos1 local-value cos2 local-value cos3 local-value cos4
local-value cos5 local-value cos6 local-value cos7 local-value
no qos eth-cos-local-map

Purpose
To configure the mapping relationship of cos priority to local priority for the Ethernet type
interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

local-value

Local priority value

Range: 0 7

Mode
ZXAN(config)#

Example
The following example displays how to configure the mapping relationship of cos priority
to local priority for the Ethernet type interface:
l
l

Cos0 mapping to queue7


Cos1 mapping to queue5

ZXAN(config)#qos eth-cos-local-map cos0 7 cos1 5 cos2 2 cos3 3


cos4 4 cos5 5 cos6 6 cos7 7

Related Commands
show qos eth-cos-local-map

Related Information
By default, cos0-cos7 map to queue0-queue7 respectively.
35-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

You can use the no qos eth-cos-local-map command to recover the default mapping
relationship from cos to the local priority.

35.8 traffic-profile
Syntax
traffic-profile prf-name ip cir cir-value cbs cbs-value pir pir-value pbs pbs-value[discard-mod
e{noDistinction | lowPriorityFirst }]
no traffic-profile prf-name

Purpose
To create a traffic profile and configure the speed limiting parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created profile name

Range: 1 32 characters

cir cir-value

Committed information rate

Range: 0 10,000,000
Unit: kbps
Maximum speed: 10Gbps

cbs cbs-value

Committed burst size

Range: 0 1023
Unit: Kbytes
Maximum: 1023 Kbytes

pir pir-value

Peak information rate

Range: 0 10,000,000
Unit: kbps
Maximum: 10 Gbps

pbs pbs-value

Peak burst size

Range: 0 1023
Size: Kbytes
Maximum: 1023 Kbytes

noDistinction

lowPriorityFirst

Mode
ZXAN(config)#

Example
The following example displays how to create a traffic profile named 10M:
ZXAN(config)#traffic-profile 10M ip cir 10240 cbs 256 pir 10240 pbs 256

35-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
show traffic-profile

Related Information
This command is valid under the gpon-olt ports and gpon-onu ports.
You can use the no traffic-profile command to delete the related profile.

35.9 qos trust


Syntax
qos trust {cos | dscp }

Purpose
To configure the reference object for the priority marking under the current interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

cos

To configure the reference

object to cos
dscp

To configure the reference

object to dscp

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the reference object to dscp for the
interface gei_1/3/1:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos trust dscp
ZXAN(config-if)#

Related Commands
show qos interface

Related Information
By default, the reference object for the priority marking under the current interface is cos.
35-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

This command is valid under the eth ports and gpon-onu ports.

35.10 qos cos cos-remark


Syntax
qos cos cos-remark prf-name vport vportid
no qos cos cos-remark vport vportid

Purpose
To configure the cos-remark profile for a vport

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created cos-to-cos profile name

Range: 1 32 characters

vport vportid

Vport number for gpon-onu

Range: 1 32

interfaces

Mode
ZXAN(config-if)#

Example
The following example displays how to cofigure the cos-to-cos profile to TEST for vport 1
of the interface gpon-onu_1/1/1:1:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos cos cos-remark TEST vport 1
ZXAN(config-if)#

Related Commands
show qos interface
qos cos-to-cos-profile

Related Information
When the trusted reference object is cos and the parameter cos override is not configured,
this profile takes effect.
You can use the no qos cos cos-remark command to delete the configuration.

35-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

35.11 qos cos dscp-remark


Syntax
qos cos dscp-remark prf-name vport vportid
no qos cos dscp-remark vport vportid

Purpose
To configure the dscp-to-cos profile for a vport

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created dscp-to-cos profile

Range: 1 32 characters

name
vport vportid

Vport number for gpon-onu

Range: 1 32

interfaces

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the dscp-to-cos profile to TEST for vport
1 of the interface gpon-onu_1/1/1:1:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos cos dscp-remark TEST vport 1
ZXAN(config-if)#

Related Commands
show qos interface
qos dscp-to-cos-profile

Related Information
This profile takes effect when the trusted reference object is dscp.
This command is valid under the eth ports and gpon-onu ports.
For the Ethernet interfaces, the user need to configure qos, cos, default-cos, and
cos-value, for adding the default priority to the received untag packets.
For gpon-onu interfaces, vport is another mandatory parameter besides the above
parameters.
35-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

You can use the no qos cos dscp-remark command to delete the configuration.

35.12 qos egress-cos cos-remark


Syntax
qos egress-cos cos-remark prf-name vport vportid
no qos egress-cos cos-remark vport vportid

Purpose
To configure the egress-cos cos-remark profile for a vport

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created cos-to-cos profile name

Range: 1 32 characters

vport vportid

Vport number for gpon-onu

Range: 1 32

interfaces

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the egress-cos cos-remark profile to
TEST for vport 1 of the gpon-onu_1/1/1:1 interface:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos egress-cos cos-remark TEST vport 1
ZXAN(config-if)#

Related Commands
show qos interface
qos cos-to-cos-profile

Related Information
When the vport trust mode is cos, and the paramter egress-cos override is not
configurated, this profile takes effect.
You can use the no qos egress-cos cos-remark command to delete the related configuration.

35-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

35.13 qos egress-cos dscp-remark


Syntax
qos egress-cos dscp-remark prf-name vport vportid
no qos egress-cos dscp-remark vport vportid

Purpose
To configure the egress-cos dscp-remark profile of a Vport

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created dscp-to-cos profile

Range: 1 32 characters

name
vport vportid

Vport number for GPON ONU

Range: 1 32

interfaces

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the egress-cos dscp-remark profile of the
gpon-onu_1/1/1:1 interface to TEST:
ZXAN(config)#interface gpon-onu_1/1/1:1
ZXAN(config-if)#qos egress-cos dscp-remark TEST vport 1
ZXAN(config-if)#

Related Commands
show qos interface
qos dscp-to-cos-profile

Related Information
This profile takes effect when the vport trust mode is dscp.

35.14 qos traffic-shape


Syntax
qos traffic-shape rate-limit rate-value bucket-size bucket-value
35-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

no qos traffic-shape

Purpose
To configure the traffic shaping function of an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rate-limit rate-value

Limit rate

Range: 64 1000000
Unit: kbps

bucket-size bucket-value

Bucket size

Range: 4 16000
Unit: kbytes

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the traffic shaping rate of the interface
gei_1/3/1 to 10 Mbits:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos traffic-shape rate-limit 10240 buckte-size 100
ZXAN(config-if)#

Related Commands
show qos interface

Related Information
You can use the no qos traffic-shape command to delete the traffic shape configuration.

35.15 qos queue-block-profile (interface)


Syntax
qos queue-block-profile prf-name
no qos queue-block-profile

Purpose
To configure the queue-block-profile of an interface

35-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created queue-block-profile

Range: 1 32 characters

name

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the queue-block profile of the gei_1/3/1
interface to TEST:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos queue-block-profile TEST
ZXAN(config-if)#

Related Commands
show qos interface
qos queue-block-profile

Related Information
This command is valid under the eth and gpon-olt interfaces.

Related Informaiton
You can use the no qos queue-block-profile command to delete the related configuration.

35.16 qos queue-map-profile (interface)


Syntax
qos queue-map-profile prf-name
no qos queue-map-profile

Purpose
To configure the queue-map-profile of an interface

Usage Guidelines
The following table provides parameter description:
35-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

Parameter

Description

Value

prf-name

Created queue-map-profile

Range: 1 32 characters

name

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the queue-map profile of the
gpon-olt_1/1/1 interface to TEST:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#qos queue-map-profile TEST
ZXAN(config-if)#

Related Commands
show qos interface
qos queue-map-profile

Related Information
You can use the no qos queue-map-profile command to delete the related configuration.

35.17 qos drop-procedence


Syntax
qos drop-procedence prf-name
no qos drop-procedence

Purpose
To configure the dscp-to-drop profile for an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created dscp-to-drop profile

Range: 1 32 characters

name

Mode
ZXAN(config-if)#
35-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the dscp-to-drop profile of the gei_1/3/1
interface to TEST:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos drop-procedence TEST
ZXAN(config-if)#

Related Commands
show qos interface
qos dscp-to-drop-profile

Related Information
You can use the no qos drop-procedence command to delete the configuration.

35.18 qos dscp dscp-remark


Syntax
qos dscp dscp-remark prf-name
no qos dscp dscp-remark

Purpose
To configure the dscp-to-dscp profile for an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Created dscp-to-dscp profile

Range: 1 32 characters

name

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the dscp-remark profile to TEST:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#qos dscp dscp-remark TEST
ZXAN(config-if)#

35-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

Related Commands
show qos interface
qos dscp-to-dscp-profile

Related Information
This profile takes effect when the interface trust mode is dscp.
You can use the no qos dscp dscp-remark command to delete the related configuration.

35.19 traffic-mirror
Syntax
traffic-mirror in { aclno | aclname } rule-id ruleid { cpu | destination-ip dstip source-ip srcip {
[ dscp dscp ] [ priority prio ] [ tpid tpid ] [ ttl ttl ] } | interface interface }
no traffic-mirror in { aclno | aclname } rule-id ruleid

Purpose
To configure the traffic mirror

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

aclno

ACL number

Range: 1 699

aclname

ACL name

1 32 characters

rule-id ruleid

Rule ID

Range: 1 4094

destination-ip dstip

Destination IP address

A.B.C.D

source-ip dstip

Source IP address

A.B.C.D

dscp dscp

DSCP priority

Range: 0 63

priority prio

Priority

tpid tpid

TPID

0xHHHH

ttl ttl

TTL

Range: 1 255

interface interface

Interface name

1 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the traffic mirror:
35-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#traffic-mirror in 1 rule-id 10 destination-ip 1.1.1.1 source-ip
2.2.2.2 DSCP 10
ZXAN(config)#

Related Commands
show traffic-mirror

35.20 traffic-profile
Syntax
traffic-profile prf-name direction {ingress | egress }
no traffic-profile prf-name[vport vportid] direction {ingress | egress }

Purpose
To configure the traffic profile for an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Traffic profile name

Range: 1 32 characters

To configure ingress traffic

ingress

profile
egress

To configure egress traffic profile

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the egress traffic profile of the
gpon-olt_1/1/1 to TEST:
ZXAN(config)#interface gpon-olt_1/1/1
ZXAN(config-if)#qos traffic-profile test direction egress
ZXAN(config-if)#

Related Commands
show traffic-profile
traffic-profile

35-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

Related Information
In gpon-olt interface configuration mode, the egress traffic profile can be configured.
In gpon-onu interface configuration mode, both the ingress and egress traffic profiles can
be configured.
You can use the no traffic-profile command to delete the profile configuration.

35.21 show qos dscp-to-dscp-profile


Syntax
show qos dscp-to-dscp-profile [prf-name ]

Purpose
To display the information of the dscp-to-dscp profile with the name of prf_name
When the profile name is empty, the system displays the name list of all the profiles.

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Profile name

Range: 1 32 characters

Mode
Any mode

Example
The following example displays the information of the dscp-to-dscp profile named test:
ZXAN(config)#show qos dscp-to-dscp-profile test

Related Commands
qos dscp-to-dscp-profile

35.22 show qos dscp-to-drop-profile


Syntax
show qos dscp-to-drop-profile [prf-name ]

Purpose
To display the information of the dscp-to-drop profile with the name of prf_name
35-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

When the profile name is not configured, the system displays the information of all the
dscp-to-drop profiles

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Profile name

Range: 1 32 characters

Mode
Any mode

Example
The following example displays the information of the dscp-to-drop profile with the name
of test:
ZXAN(config)#show qos dscp-to-drop-profile test

Related Commands
qos dscp-to-drop-profile

35.23 show qos cos-to-cos-profile


Syntax
show qos cos-to-cos-profile [prf-name ]

Purpose
To display the information of the cos-to-cos profile with the name of prf-name
When the profile name is not configured, the system displays the information of all the
cos-to-cos profiles

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Profile name

Range: 1 32 characters

Mode
Any mode

35-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

Example
The following example displays the information of the cos-to-cos profile with the name of
test:
ZXAN(config)#show qos cos-to-cos-profile test

Related Commands
qos cos-to-cos-profile

35.24 show qos queue-block-profile


Syntax
show qos queue-block-profile [prf-name ]

Purpose
To display the information of the queue-block profile with the name of prf_name
When the profile name is not configured, the system displays the information of all the
queue-block profiles

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Profile name

Range: 1 32 characters

Mode
Any mode

Example
The following example displays the information of the queue-block profile with the name
of test:
ZXAN(config)#show qos queue-block-profile test

Related Commands
qos queue-block-profile

35.25 show qos queue-map-profile


Syntax
show qos queue-map-profile [prf-name ]
35-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the information of the queue-map profile with the name of prf_name
When the profile name is not configured, the system displays the information of all the
queue-map profiles

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Profile name

Range: 1 32 characters

Mode
Any mode

Example
The following example displays the information of the queue-map profile with the name of
test:
ZXAN(config)#show qos queue-map-profile test

Related Commands
qos queue-map-profile

35.26 show qos eth-cos-local-map


Syntax
show qos eth-cos-local-map

Purpose
To display the information of the eth-cos-local-map mapping table

Usage Guidelines
None

Mode
Any mode

Example
The following example displays the information of the eth-cos-local-map mapping table:
ZXAN(config)#show qos eth-cos-local-map

35-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 35 QoS Commands

Related Commands
qos eth-cos-local-map

35.27 show traffic-profile


Syntax
show traffic-profile [prf-name | interface interface ]

Purpose
To display the information of the traffic profile with the name of prf_name
When the profile name is not configured, the system displays the information of all the
traffic profiles

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prf-name

Profile name

Range: 0 32 characters

interface

Interface name

Mode
Any mode

Example
The following example displays the information of the traffic profile with the name of test:
ZXAN(config)#show traffic-profile test

Related Commands
traffic-profile

35.28 show traffic-mirror


Syntax
show traffic-mirror

Purpose
To display the traffic-mirror of ACL

35-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the traffic-mirror of the ACL:
ZXAN(config)#show traffic-mirror
traffic-mirror in 300 rule-id 2 destination-ip 2.2.2.2
source-ip 1.1.1.1 priority 0 tpid 0x8100 ttl 128 DSCP 13
next hop
out interface

: gei_1/3/1

destination mac : 00d0.0022.1143


source mac

: 00d0.d011.3254

vlanid

: 200

current next hop


out interface

: gei_1/3/1

destination mac : 00d0.0033.1122


source mac

: 00d0.d011.3254

vlanid

: 200

Related Commands
traffic-mirror

35-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 36

MAC Configuration
Commands
Table of Contents
mac add ...................................................................................................................36-1
mac aging-time.........................................................................................................36-2
mac monitor-period ..................................................................................................36-3
mac pool ..................................................................................................................36-3
mac usage-threshold................................................................................................36-4
mac delete ...............................................................................................................36-5
security mac-anti-spoofing........................................................................................36-6
security uplink-protected-mac...................................................................................36-7
show security configuration ......................................................................................36-8
show security mac-spoofing-list ................................................................................36-8
show security mac-spoofing-log ...............................................................................36-9
show mac...............................................................................................................36-10
show mac aging-time ............................................................................................. 36-11
show mac monitor-info ...........................................................................................36-12
show mac pool .......................................................................................................36-13
show mac running ..................................................................................................36-14

36.1 mac add


Syntax
mac add permanent mac-address {ethernet port-name | smartgroup smartgroup-id | epon inte
rface-name vport vport} [vlan vlan-id]

Purpose
To add a MAC address entry

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

permanent mac-address

Permanent MAC address

XXXX.XXXX.XXXX

36-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

ethernet port-name

Ethernet interface

smartgroup smartgroup-id

Smart group ID

Range: 1 - 8

vlan vlan-id

Vlan ID

Range: 1 - 4094

Mode
ZXAN(config)#

Example
The following example displays how to add a MAC address entry:
ZXAN(config)#mac add permanent 0009.6b08.bfd6 ethernet gei_1/3/1
ZXAN(config)#

Related Commands
mac delete
show mac

36.2 mac aging-time


Syntax
mac aging-time time

Purpose
To configure the MAC address aging time in the system

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

MAC aging time

Range: 10 - 1000000 sec


Default: 300 sec

Mode
ZXAN(config)#

Example
The following example displays how to configure the MAC address aging time in the
system:
ZXAN(config)#mac aging-time 180

36-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 36 MAC Configuration Commands


ZXAN(config)#

Related Commands
show mac aging-time
show mac-running

36.3 mac monitor-period


Syntax
mac monitor-period time

Purpose
To configure the MAC monitoring period

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

MAC monitoring time

Range: 5 - 1440 min


Default: 10 min

Mode
ZXAN(config)#

Example
The following example displays how to configure the MAC monitoring period:
ZXAN(config)#mac monitor-period 5
ZXAN(config)#

Related Commands
show mac monitor-info

36.4 mac pool


Syntax
mac pool pool-index start-mac [mac-num]
no mac pool pool-index
36-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the MAC pool

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pool-index

Pool index

Range: 1 - 8

start-mac

Starting MAC address

mac-num

MAC number of the pool

Range: 1 - 1024
Default: 256

Mode
ZXAN(config)#

Example
The following example displays how to configure the MAC pool:
ZXAN(config)#mac pool 2 000a.010c.e2c6 1024
ZXAN(config)#

Related Commands
show mac pool

36.5 mac usage-threshold


Syntax
mac usage-threshold percent

Purpose
To configure the MAC usage threshold value

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

percent

MAC usage percent

Range: 1 - 100%
Default: 70%

36-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 36 MAC Configuration Commands

Mode
ZXAN(config)#

Example
The following example displays how to configure the MAC usage threshold value:
ZXAN(config)#mac usage-threshold 10
ZXAN(config)#

Related Commands
None

36.6 mac delete


Syntax
mac delete {mac-address | ethernet port-name | smartgroup smartgroup-id | epon interface-name
} [ vlan vlan-id]
mac delete {dynamic | permanent | all | vlan vlan-id}

Purpose
To delete a MAC address entry

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mac-address

MAC address

XXXX.XXXX.XXXX

ethernet port-name

Ethernet interface

smartgroup smartgroup-id

Smart group ID

Range: 1 - 8

vlan-id

VLAN ID

Range: 1 - 4094

dynamic

Dynamic MAC address

permanent

Permanent MAC address

Mode
ZXAN(config)#

Example
The following example displays how to delete a MAC address entry:
ZXAN(config)#mac delete 0009.6b08.bfd6

36-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#mac delete ethernet gei_1/3/1
ZXAN(config)#

Related Commands
mac add
show mac

36.7 security mac-anti-spoofing


Syntax
security mac-anti-spoofing {enable | disable}

Purpose
To enable or disable MAC address anti-spoofing function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable MAC address

anti-spoofing function
disable

Disable MAC address

anti-spoofing function

Mode
ZXAN(config)#

Example
The following example displays how to disable MAC address anti-spoofing function:
ZXAN(config)#security mac-anti-spoofing disable
ZXAN(config)#

Related Commands
show security configuration

Related Information
By default, MAC address anti-spoofing function is enabled.

36-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 36 MAC Configuration Commands

36.8 security uplink-protected-mac


Syntax
security uplink-protected-mac mac-address
no security uplink-protected-mac {mac-address | all}

Purpose
To configure an uplink-protected MAC address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mac-address

Assign a uplink-protected MAC

address
Clear all uplink-protected MAC

all

addresses

Mode
ZXAN(config)#

Example
l

The following example displays how to configure an uplink-protected MAC address:


ZXAN(config)#security uplink-protected-mac 0000.0000.0001
ZXAN(config)#

l
l

The following example displays how to clear all uplink-protected MAC addresses:
ZXAN(config)#no security uplink-protected-mac all
ZXAN(config)#

Related Commands
show security configuration

Related Information
To configure uplink-protected MAC address, both the MAC address anti-spoofing function
and the uplink port protection need to be enabled.

36-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

36.9 show security configuration


Syntax
show security configuration

Purpose
To show security configuration such as MAC address anti-spoofing configuration and
uplink-protected MAC configuration

Usage Guidelines
None

Mode
ZXAN#
ZXAN(config)#

Example
The following example displays the security configuration:
ZXAN(config)#show security configuration
mac-anti-spoofing :disable
uplink-protect

:enable

the total uplink-protect-mac num:1


-----------------------------num

uplink-protect-mac

0000.0000.0001

ZXAN(config)#

Related Commands
security mac-anti-spoofing
security uplink-protected-mac

36.10 show security mac-spoofing-list


Syntax
show security mac-spoofing-list

Purpose
To show security MAC address spoofing list
36-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 36 MAC Configuration Commands

Usage Guidelines
None

Mode
ZXAN#
ZXAN(config)#

Example
The following example displays the security MAC spoofing list:
ZXAN(config)#show security

mac-spoofing-list

the total mac-spoofing num:1


-----------------------------------------------------------mac-address

vlan

0000.0000.0001 100

hit

gport

port

agetime

0x112233

unknown

210

ZXAN(config)#

Related Commands
security mac-anti-spoofing

Related Information
This command is for software anti-spoofing solution. The hardware anti-spoofing solution
does not have this command.

36.11 show security mac-spoofing-log


Syntax
show security mac-spoofing-log

Purpose
To show security MAC address spoofing log

Usage Guidelines
None

Mode
ZXAN#
ZXAN(config)#
36-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the security MAC spoofing log:
ZXAN(config)#show security mac-spoofing-log
the total mac-spoofing-log num:1
---------------------------------------------------------------mac-address

vlan

0000.0000.0001 100

gport

time(yy-mm-dd hh:mm:ss) operate(ADD)

0x112233 2001-1-1 0:0:11

SSPFAIL HASHFAIL

ZXAN(config)#

Related Commands
security mac-anti-spoofing

Related Information
This command is for software anti-spoofing solution. The hardware anti-spoofing solution
does not have this command.

36.12 show mac


Syntax
show mac [dynamic | static | ethernet port-name | shelfno shelfno] slot slot | smartgroup smar
tgroup-id | vlan vlan-id ] [statistic]
show mac mac-address [vlan vlan-id] [statistic]
show mac system

Purpose
To display the MAC address entries

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

dynamic

Dynamic MAC address entries

static

Static MAC address entries

mac-address

MAC address

statistic

MAC address statistics

system

System MAC address

ethernet port-name

Ethernet interface

36-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 36 MAC Configuration Commands

Parameter

Description

Value

smartgroup smartgroup-id

Smart group ID

Range: 1 - 8

vlan-id

VLAN ID

Range: 1 - 4094

shelfno shelfno

Shelf number

Range: 1 - 5

slot slot

Slot number

Range: 2 - 9, 12 - 22

Mode
Any mode except user mode

Example
The following example displays the MAC address entries:
ZXAN#show mac
Total mac address: 1
mac_address

vid

Type

port

Time

------------------------------------------------------000a.010c.e2c6

Permanent

gei_1/3/1

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

mac_address

MAC address

port

Port number where the MAC address is located

vid

VLAN ID

stc

MAC address of a static logo

Related Commands
mac add
mac delete

Related Information
show mac command displays line card FPGA MAC address and control card ROS MAC
address.

36.13 show mac aging-time


Syntax
show mac aging-time
36-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the MAC address aging time

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the MAC address aging time:
ZXAN#show mac aging-time
The MAC Address aging time is 60 seconds
ZXAN#

Related Commands
mac aging-time

36.14 show mac monitor-info


Syntax
show mac monitor-info

Purpose
To display the MAC monitoring information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the MAC monitoring information:
ZXAN#show mac monitor-info
MAC table usage monitoring period is 10 minutes.
Elapsed time in current monitoring period(mm:ss) is 01:28.
MAC table maximum size is 8192(8k).

36-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 36 MAC Configuration Commands


Current occupancy is 3, about 0 percent usage.
Current monitor period peak occupancy is 3, about 0 percent usage.
History monitor period peak occupancy is 3, about 0 percent usage.
ZXAN#

Related Commands
None

36.15 show mac pool


Syntax
show mac pool pool-index

Purpose
To display the MAC pool information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pool-index

MAC pool index

Range: 1 - 8

Mode
Any mode except user mode

Example
The following example displays the MAC pool information:
ZXAN#show mac pool
Total mac: 1792
Index

Free mac: 1792

startMac

Used mac: 0

num/free/used

-------------------------------------1

1a22.2222.2222

512/512/0

1a44.4444.4444

1024/1024/0

1a55.5555.5555

256/256/0

ZXAN#

Related Commands
mac pool
36-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

36.16 show mac running


Syntax
show mac running

Purpose
To display the MAC running configuration

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the MAC running configuration:
ZXAN#show mac running
MAC aging-time 300
MAC monitor-period 10
MAC usage-threshold 70
MAC pool 1 000a.010c.e2c6 256
ZXAN#

Related Commands
show mac
show mac aging-time

Related Information
If the configuration is implemented with default parameters, nothing is displayed after this
command is executed. This command is used to show the configuration information that
is written into the database.

36-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 37

IP Address Pool Commands


Table of Contents
ip local pool ..............................................................................................................37-1
ip local pool conflict-ip ..............................................................................................37-2
clear ip pool conflict-ip ..............................................................................................37-2
peer default ip pool...................................................................................................37-3
show ip local pool .....................................................................................................37-4
show ip local pool conflict-ip .....................................................................................37-5

37.1 ip local pool


Syntax
ip local pool pool-name begin-ip-address last-ip-address net-mask
no ip local pool pool-name begin-ip-address last-ip-address net-mask

Purpose
To configure IP address pool statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pool-name

Pool name

Range: 1 - 16 characters

begin-ip-address

Beginning IP address

A.B.C.D

last-ip-address

Last IP address

A.B.C.D

net-mask

Subnet mask

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure IP address pool statistics:
ZXAN(config)#ip local pool test 10.1.1.1 10.1.1.255 255.255.0.0
ZXAN(config)#

37-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

37.2 ip local pool conflict-ip


Syntax
ip local pool conflict-ip timeout
no ip local pool conflict-ip

Purpose
To configure the local conflict IP pool address release time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

timeout

Conflict IP timeout

Range: 1 - 60000 min


Default: 30 min

Mode
ZXAN(config)#

Example
The following example displays how to configure the local conflict IP pool address release
time:
ZXAN(config)#ip local pool conflict-ip 60
ZXAN(config)#

Related Commands
show ip local pool conflict-ip
clear ip pool conflict-ip

37.3 clear ip pool conflict-ip


Syntax
clear ip pool conflict-ip {address conflict-addr | pool pool-name | all}
37-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 37 IP Address Pool Commands

Purpose
To clear the address conflict in the address pool

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

address conflict-addr

IP address

A.B.C.D

pool pool-name

Address pool name

Range: 1 - 16 characters

all

All conflict addresses in the

address pool

Mode
ZXAN#

Example
The following example displays how to clear the address conflict in the address pool:
ZXAN#clear ip pool conflict-ip address 100.1.1.10
ZXAN#

Related Commands
ip local pool conflict-ip
show ip local pool conflict-ip

37.4 peer default ip pool


Syntax
peer default ip pool pool-name
no peer default ip pool

Purpose
To configure the default IP address pool used by the interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pool pool-name

Address pool name

Range: 1 - 16 characters

37-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the default IP address pool used by the
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#peer default ip pool test
ZXAN(config-if)#

Related Commands
ip local pool
show ip local pool

37.5 show ip local pool


Syntax
show ip local pool [pool-name]

Purpose
To display the local pool configuration information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pool-name

Address pool name

Range: 1 - 16 characters

Mode
Any mode except the exec mode

Example
The following example displays the local pool configuration information:
ZXAN#show ip local pool ZXAN
Available addresses:
100.1.1.1
100.1.1.2
100.1.1.3
100.1.1.4

37-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 37 IP Address Pool Commands


100.1.1.5
100.1.1.6
100.1.1.7
100.1.1.8
100.1.1.9
100.1.1.10
Inuse addresses:(* -Conflict Flag)
ZXAN#

Related Commands
ip local pool

37.6 show ip local pool conflict-ip


Syntax
show ip local pool conflict-ip

Purpose
To display the address conflict in the local address pool

Usage Guidelines
None

Mode
Any mode except the user mode

Example
The following example displays the address conflict in the local address pool:
ZXAN#show ip local pool conflict-ip
Conflict-ip

Pool

Timeout(min)

ZXAN#

Related Commands
clear ip pool conflict-ip
ip local pool conflict-ip

37-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

37-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38

System Log/Statistical
Management Commands
Table of Contents
clear logging alarm ...................................................................................................38-1
clear logging command ............................................................................................38-2
clear logging snmp ...................................................................................................38-2
clear processor.........................................................................................................38-3
logging buffer ...........................................................................................................38-4
logging console ........................................................................................................38-4
logging level .............................................................................................................38-5
logging mode ...........................................................................................................38-6
logging on ................................................................................................................38-7
logging snmplog-save ..............................................................................................38-7
show snmplogfile......................................................................................................38-8
show cmdlogfile........................................................................................................38-9
show logging alarm ................................................................................................38-10
show logging configure........................................................................................... 38-11
show processor ......................................................................................................38-12
unm server .............................................................................................................38-13
write alarmlog.........................................................................................................38-14
write cmdlog ...........................................................................................................38-15
write snmplog .........................................................................................................38-16

38.1 clear logging alarm


Syntax
clear logging alarm

Purpose
To clear alarm log buffer

Usage Guidelines
None

38-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to clear alarm log buffer:
ZXAN#clear logging alarm
ZXAN#

Related Commands
None

38.2 clear logging command


Syntax
clear logging command

Purpose
To clear the command log buffer

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to clear the command log buffer:
ZXAN#clear logging command
ZXAN#

Related Commands
None

38.3 clear logging snmp


Syntax
clear logging snmp
38-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38 System Log/Statistical Management Commands

Purpose
To clear SNMP log buffer

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to clear SNMP log buffer:
ZXAN#clear logging snmp
ZXAN#

Related Commands
None

38.4 clear processor


Syntax
clear processor

Purpose
To clear the processor information

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to clear the processor information:
ZXAN#clear processor
ZXAN#

38-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

38.5 logging buffer


Syntax
logging buffer buffer-size
no logging buffer

Purpose
To configure the alarm log buffer size

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

buffer-size

Log buffer size

Range: 100 - 1000 Kb


Default: 200 Kb

Mode
ZXAN(config)#

Example
The following example displays how to configure the alarm log buffer size:
ZXAN(config)#logging buffer 100
ZXAN(config)#

Related Commands
None

38.6 logging console


Syntax
logging console level
no logging console

Purpose
To send the alarm messages to the console interface or Telnet terminal
38-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38 System Log/Statistical Management Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

level

Console logging level

Keywords: cleared, critical,


indeterminate, major, minor,
notifications, warnings

Mode
ZXAN(config)#

Example
The following example displays how to send the alarm messages to the console interface
or Telnet terminal:
ZXAN(config)#logging console warnings
ZXAN(config)#

Related Commands
None

38.7 logging level


Syntax
logging level level
no logging level

Purpose
To configure the alarm message level recorded in the alarm log file

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

level

Alarm message level

Keywords: CLEARED,
INDETERMINATE, MAJOR,
MINOR, NOTIFICATIONS,
WARNINGS

Mode
ZXAN(config)#
38-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the alarm message level recorded in the
alarm log file:
ZXAN(config)#logging level indeterminate
ZXAN(config)#

Related Commands
None

38.8 logging mode


Syntax
logging mode {FULLCLEAR | FULLCYCLE | FULLEND}
no logging mode

Purpose
To configure the clearing mode of the alarm log buffer

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

FULLCLEAR

Clear log buffer when buffer is

full
FULLCYCLE

Clear 1/3 of log buffer when

buffer is full
FULLEND

No logging to buffer when buffer

is full

Mode
ZXAN(config)#

Example
The following example displays how to configure the clearing mode of the alarm log buffer:
ZXAN(config)#logging mode FULLCLEAR
ZXAN(config)#

38-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38 System Log/Statistical Management Commands

Related Commands
None

38.9 logging on
Syntax
logging on
no logging on

Purpose
To enable the system log function

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the system log function:
ZXAN(config)#logging on
ZXAN(config)#

Related Commands
None

38.10 logging snmplog-save


Syntax
logging snmplog-save {enable | disable}

Purpose
To enable or disable the SNMP log saving function

Usage Guidelines
The following table provides parameter description:
38-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

enable

Enable SNMP log save function

disable

Disable SNMP log save function

Mode
ZXAN(config)#

Example
The following example displays how to disable the SNMP log save function:
ZXAN(config)#logging save disable
ZXAN(config)#

Related Commands
None

38.11 show snmplogfile


Syntax
show snmplogfile [start-time date time] [end-time date time] [ipaddress ip-address] [summary]

Purpose
To display the SNMP log record history

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

start-time date time

Login start date and time

Date Format: mm-dd-yyyy


Time Format: hh:mm:ss

end-time date time

Login end date and time

Date Format: mm-dd-yyyy


Time Format: hh:mm:ss

ipaddress ip-address

Login IP address

A.B.C.D

summary

SNMP log summary

Mode
Any mode except user mode

38-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38 System Log/Statistical Management Commands

Example
The following example displays SNMP log record history:
ZXAN#show snmplogfile
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerFileName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerUserPwd.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerUserName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpServerIpAddress.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpClntOperType.0
02:37:31 01/01/2001 UTC 111.111.111.211 get
zxAnFtpManagedFileType.0

ZXAN#

Related Commands
None

38.12 show cmdlogfile


Syntax
show cmdlogfile [username string] [start-time date time] [end-time date time] [vtyno string]
[ipaddress ip-address] [summary]

Purpose
To display the records of the commands stored in the command log buffer

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

username string

Login user name

Range: 1 - 16 characters

start-time date time

Login start date and time

Date Format: mm-dd-yyyy


Time Format: hh:mm:ss

end-time date time

Login end date and time

Date Format: mm-dd-yyyy


Time Format: hh:mm:ss

38-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

vtyno string

Login VTY terminal number

Keywords: con0, vty0, vty1,


vty2, vty3

ipaddress ip-address

Login IP address

A.B.C.D

summary

Command log summary

Mode
Any mode except user mode

Example
The following example displays the records of the commands stored in the command log
buffer:
ZXAN#show cmdlogfile summary
Cmdlog buffer is 200KByte, used 14 percent

ZXAN#

Related Commands
None

38.13 show logging alarm


Syntax
show logging alarm [typeid type] [alarm-code alarm-code] [start-date date end-date date] [level
level] [summary] [| include line]

Purpose
To display the alarm information records in the alarm log buffer

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

typeid type

Alarm type

Keywords: environment,
equipment, protocol, service,
system

alarm-code alarm-code

Alarm ID

Range: 1 - 65535

38-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38 System Log/Statistical Management Commands

Parameter

Description

Value

start-date date

Start date of the alarm log

Date Format: mm-dd-yyyy

(including this date)


end-date date

End date of the alarm log

Date Format: mm-dd-yyyy

(including this date)


level level

Level of alarm messages to be

Keywords: CLEARED,

displayed

CRITICAL, INDETERMINATE,
MAJOR, MINOR,
NOTIFICATIONS, WARNINGS

summary

Alarm summary

Output modifier

include line

Include lines that match

Mode
Any mode except user mode

Example
The following example displays alarm information records in the alarm log buffer:
ZXAN#show logging alarm typeid service
An alarm 34817 level 6 occurred at 03:47:22 05/29/2010 beijing sent by MCP rs232
Serial Interface logout
ZXAN#

Related Commands
None

Related Information
Currently the alarms that can be displayed include ARP, BGP, card alarm, database alarm,
DRP, environment alarm, ICMP, IGMP, IP, IS-IS, OAM, OSPF, port alarm, RIP, RMON,
ROS, security alarm, SNMP, TCP-UDP, TELNET, URPF, NAT.

38.14 show logging configure


Syntax
show logging configure

Purpose
To display the log about the configuration information
38-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the log about the configuration information:
ZXAN#show logging configure
logging on
logging buffer 200
logging mode fullcycle
logging console notifications
logging level notifications
logging cmdlog-interval 10
logging snmplog-interval 10
logging save disable
ZXAN#

Related Commands
logging on
logging buffer
logging mode
logging console

38.15 show processor


Syntax
show processor [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To display the system processor information such as CPU and memory utilization

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

rackno rackno

Specify rack number

Range: 1 - 3

38-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38 System Log/Statistical Management Commands

Parameter

Description

Value

shelfno shelfno

Specify shelf number

Range: 1 - 3

slotno slotno

Specify slot number

Range: 2 - 22

Mode
Any mode except user mode

Example
The following example displays the system processor information:
ZXAN#show processor
Rack

Shelf

Slot

CPU(5s) CPU(1m)

CPU(5m)

PhyMem(MB) Memory

----------------------------------------------------------------1

6%

6%

6%

32

46%

10

24%

24%

24%

254

72%

21

11%

11%

11%

16

45%

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Rack

Rack number

Shelf

Shelf number

Slot

Slot number

CPU(5s)

CPU occupancy rate after 5 seconds

CPU(1m)

CPU occupancy rate after 1 minute

CPU(5m)

CPU occupancy rate after 5 minutes

PhyMem (MB)

Physical memory utilization

Memory

Memory occupancy rate

Related Commands
None

38.16 unm server


Syntax
unm server {unmserver | mng unmserver} string
no unm server

38-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the integrated network management trap server address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

mng

Management interface

unmserver

UNM server address

A.B.C.D

string

SNMPv1/v2c community string

Range: 1 - 32 characters

or SNMPv3 user name

Mode
ZXAN(config)#

Example
The following example displays how to configure the integrated network management trap
server address:
ZXAN(config)#unm server 10.40.88.201 public
ZXAN(config)#

Related Commands
None

38.17 write alarmlog


Syntax
write alarmlog

Purpose
To save the alarm log from buffer to flash

Usage Guidelines
None

Mode
ZXAN#

38-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 38 System Log/Statistical Management Commands

Example
The following example displays how to save the alarm log from buffer to flash:
ZXAN#write alarmlog
Building logging file...
..
[ok]
ZXAN#

Related Commands
None

Related Information
flash:data/log.dat is the flash file path.

38.18 write cmdlog


Syntax
write cmdlog

Purpose
To save the command log from buffer to flash

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to save the command log from buffer to flash:
ZXAN#write cmdlog
Building cmdlog file...
..
[ok]
ZXAN#

Related Commands
None
38-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
flash:data/log.dat is the flash file path.

38.19 write snmplog


Syntax
write snmplog

Purpose
To save the SNMP log from buffer to flash

Usage Guidelines
None

Mode
ZXAN#

Example
The following example displays how to save the SNMP log from buffer to flash:
ZXAN#write snmplog
Building snmplog file...
..
[ok]
ZXAN#

Related Commands
None

Related Information
flash:data/log.dat is the file path in flash.

38-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 39

NTP Configuration
Commands
Table of Contents
ntp alarm-threshold ..................................................................................................39-1
ntp poll-interval.........................................................................................................39-2
ntp enable ................................................................................................................39-3
ntp server .................................................................................................................39-3
ntp source ................................................................................................................39-4
show ntp status ........................................................................................................39-5

39.1 ntp alarm-threshold


Syntax
ntp alarm-threshold number
no ntp alarm-threshold

Purpose
To configure the NTP synchronize offset alarm threshold value

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number

NTP alarm threshold value

Range: 7 65535

Mode
ZXAN(config)#

Example
The following example displays how to configure the NTP synchronize offset alarm
threshold value:
ZXAN(config)#ntp alarm-threshold 10
ZXAN(config)#

39-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
ntp enable
show ntp status

Related Information
If the offset exceeds the threshold value, then the system reports the NTP alarm. Use no
ntp alarm-threshold command to configure the default value.

39.2 ntp poll-interval


Syntax
ntp poll-interval time
no ntp poll-interval

Purpose
To configure the poll interval of NTP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Poll interval

Range: 20 86400, unit s


Default: 300 s

Mode
ZXAN(config)#

Example
The following example displays how to the poll interval of NTP:
ZXAN(config)#ntp poll-interval 50

Related Commands
ntp enable
show ntp status

Related Information
After the interval is configured, the poll starts immediately if the NTP is enable and NTP
server is configured.
39-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 39 NTP Configuration Commands

39.3 ntp enable


Syntax
ntp enable
no ntp enable

Purpose
To enable the NTP function

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the NTP function:
ZXAN(config)#ntp enable
ZXAN(config)#

Related Commands
ntp server
show ntp status

Related Information
This command is the universal switch for all NTP functions. Other NTP commands are
effective only after configuring this command. Use no command to disable NTP function.

39.4 ntp server


Syntax
ntp server ip-address priority priority [version number [key-id key-id] | key-id key-id [version
number] | lock | unlock ]
no ntp server ip-address

Purpose
To set the IP address of a NTP server which needs time and version synchronization
39-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table describes the relevant parameters:
Parameter

Description

Value

ip-address

Time server IP address

Decimal point form

priority priority

Configure server priority

1255

version number

NTP version No.

13

key-id key-id

Configure a key ID

1255

Mode
ZXAN(config)#

Example
The following example shows how to set the IP address of a NTP server which needs time
and version synchronization:
ZXAN(config)#ntp server 10.1.1.1 priority 1 version 1

Related Commands
ntp enable
show ntp status

Related Information
It only allows to configure time synchronization from a single time server. If multiple
configuration exist, the latter will replace the former one.
After this configuration, NTP enable shall be executed first, then time synchronization can
start.
Use command No to delete previous configuration.

39.5 ntp source


Syntax
ntp source ip-address
no ntp source ip-address

Purpose
To configure the NTP packet source address

39-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 39 NTP Configuration Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

NTP packet source address

A.B.C.D

Mode
ZXAN(config)#

Example
The following example displays how to configure the NTP packet source address:
ZXAN(config)#ntp source 10.1.1.1
ZXAN(config)#

Related Commands
ntp enable
ntp server
show ntp status

39.6 show ntp status


Syntax
show ntp status

Purpose
To display the running status of NTP

Usage Guidelines
None

Mode
Any mode except the user mode

Example
The following example displays the running status of NTP:
ZXAN#show ntp status
Clock is unsynchronized , stratum 16, no reference clock
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz,

39-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


precision is 2**16
reference time is 0.0 ()
clock offset is 0.00 msec, root delay is 0.00
root dispersion is 0.00

msec

msec, peer dispersion is 0.00 msec

ZXAN#

Related Commands
ntp enable
ntp server

39-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 40

Clock Management
Commands
Table of Contents
clock.........................................................................................................................40-1
card-clock.................................................................................................................40-2
source ......................................................................................................................40-3
external-input ...........................................................................................................40-4
external-output .........................................................................................................40-5
ptp............................................................................................................................40-6
ptp-source ................................................................................................................40-7
show clock config .....................................................................................................40-8
show clock interface .................................................................................................40-9
show clock source active..........................................................................................40-9
show clock source alarm ........................................................................................40-10
show source active................................................................................................. 40-11
show source alarm ................................................................................................. 40-11

40.1 clock
Syntax
clock [timezone name hours-offset min-offset]

Purpose
To configure the clock time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

timezone name

Time zone name

Range: 1 - 10 characters

hours-offset

Hours offset

Range: -12 - 13

min-offset

Minutes offset

Range: 0 - 59

40-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure the clock time:
ZXAN(config)#clock timezone china -8 0
ZXAN(config)#

Related Commands
None

40.2 card-clock
Syntax
card-clock slotno slotno {auto | backplane | line1 | line2 | local}
no card-clock slotno slotno

Purpose
To configure the clock source for the card

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slotno slotno

Slot number

1 22

auto

The card selects clock source

automatically.
backplane

The card selects the backplane

as the clock source.


line1

The card selects line1 as the

clock source.
For SDH card, line1 is port 1.
line2

The card selects line2 as the

clock source.
local

The card selects local clock as

the clock source.

40-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 40 Clock Management Commands

Mode
ZXAN(config-clock)#

Example
The following example displays how to configure the clock source for the card in slot 2:
ZXAN(config-clock)#card-clock slotno 2 local

Related Commands
None

40.3 source
Syntax
source shelf/slot/port { force { cancel | set } | priority clock-priority | type { el | external | internal
| maintain | stm1 | stm4 priority } clock-priority
no source clock-priority

Purpose
To add a reference clock source

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/slot/port

Specify shelf number, card

Range: 1 - 31 characters

number and port number


internal

Internal clock source

maintain

Maintains the clock

external

External clock source

Range: 1 - 2

e1

E1 clock source

Range: 1 - 32

stm1

STM-1 clock source

Range: 1 - 4

stm4

STM-4 clock source

Range: 1 - 4

priority clock-priority

Source priority

Range: 1 255
Default: 1

Mode
ZXAN(config-clock)#

40-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to add a reference clock source:
ZXAN(config)#clock
ZZXAN(config-clock)#source 1/3/1 type syncE priority 1
ZXAN(config-clock)#

Related Commands
None

40.4 external-input
Syntax
external-input shelf/card/port quailty {enhanced2 | enhanced3 | primary | sec} mode { hz | bits}

Purpose
To configure the external input clock

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

shelf/card/port

Specify shelf number, card

Range: 1 - 31 characters

number and port number


quailty

Quality of clock

primary

Datum clock

G.811

enhanced2

Enhanced level-2 clock

G.812

enhanced3

Enhanced level-3 clock

G.812

sec

SEC clock

G.813

mode

Mode

hz

Hertz mode

bits

Bits mode

Mode
ZXAN(config-clock)#

Example
The following example displays how to configure the external input clock:
ZXAN(config)#clock

40-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 40 Clock Management Commands


ZXAN(config-clock)#external-input 1/11/1 quality sec mode hz
ZXAN(config-clock)#

Related Commands
None

40.5 external-output
Syntax
external-output [{ssmThreshold {enhanced2 | enhanced3 | primary | sec}} | {mode {hz | bits}}]

Purpose
To configure the external output clock

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ssmThreshold

SSM threshold

primary

Datum clock

G.811

enhanced2

Enhanced level-2 clock

G.812

enhanced3

Enhanced level-3 clock

G.812

sec

SEC clock

G.813

mode

Mode

hz

Hertz mode

bits

Bits mode

Mode
ZXAN(config-clock)#

Example
The following example displays how to configure the external output clock:
ZXAN(config)#clock
ZXAN(config-clock)#external-output ssmThreshold sec mode hz
ZXAN(config-clock)#

40-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

40.6 ptp
Syntax
ptp slave {ip ip-address | mac} [ sync-hybrid | async-hybrid | not-synce ] [ domain domain-nu
mber ] [ packet-type packet-type] [ interval interval-value] [ step-mode step-mode] [ slot/port]
no ptp [ slot/port ]

Purpose
To configure the PTP work mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

slave

PTP slave mode

ip ip-address

PTP IP address

mac

PSN in layer-2 way

sync-hybrid | async-hybrid |

Whether the PTP module

Default: sync-hybrid

not-synce

work in hybrid mode

packet-type packet-type

Multicast and unicast settings

Range: multicast, unicast

interval interval-value

Interval for sending protocol

Range: -8 to 0

packets

Default: -4
Unit: second
l

0 indicates 1 second.

-1 indicates 1/2 second.

-4 indicates 1/16 second.

16 packets are sent every second.


Usually, master: -6, slave: -4
step-mode step-mode

PTP step mode

Range: one-step, two-step


Default: one-step

domain domain-number

PTP domain number

Range: 0 255
Default: 0

slot/port

Slot number and port number

Mode
ZXAN(config-clock)#
40-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 40 Clock Management Commands

Example
The following example displays how to configure the PTP work mode:
ZXAN(config-clock)# ptp slave ip 192.168.2.11 packet-type
unicast step-mode one-step interval -4
ZXAN(config-clock)# no ptp ip 192.168.2.11

Related Information
At present, one PTP module can be implemented only in one domain. One domain can
contain multiple PTP modules. One PTP chip can be configured with only one PTP
command.

40.7 ptp-source
Syntax
ptp-source {ip ip-address | mac mac-address} [adjust adjust-value]
no ptp-source {ip ip-address | mac mac-address}

Purpose
To configure the PTP source

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip ip-address

IP address of the PTP

source
mac mac-address

MAC address of the PTP

source
adjust adjust-value

Path delay adjusting value

Range: -1000000 to 1000000


Default: 0
Unit: nanosecond
A positive number indicates that the delay
time from slave to master is longer than that
from master to slave. A negative number
indicates the opposite.

Mode
ZXAN(config-clock)#

40-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the PTP source:
ZXAN(config-clock)#ptp-source ip 192.168.1.12
ZXAN(config-clock)#no ptp-source ip 192.168.1.12

40.8 show clock config


Syntax
show clock config [master | slave]

Purpose
To display the clock configuration

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

master

Primary clock configuration

slave

Secondary clock configuration

Mode
Any mode except user mode

Example
The following example shows how to display the basic information of the reference clock
source:
ZXAN#show clock config
interface

type

priority

ssm

mode

status

remarks

......................................................................
1/3/1

syncE

qlsec

primary

source

clock source count: 1;


wtr 5 minutes ;

holdofftime 300 ms; QL-enable

Related Commands
source

40-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 40 Clock Management Commands

40.9 show clock interface


Syntax
show clock interface {esmc | ssm-send | ssm} [shelf/slot/port]

Purpose
To show the clock interface information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

esmc

Clock interface esmc

ssm-send

Clock interface ssm-send

ssm

Clock interface ssm

shelf

Shelf number

13

slot

Slot number

0 22

port

Port number

Mode
Any mode except the ZXAN> mode

Example
The following example shows the clock interface information:
ZXAN(config-clock)# show clock interface ssm-send
interface

port_type ssm-send

........................................
1/3/1

synce

qlsec

ZXAN(config-clock)#show clo interface esmc


interface

port_type

esmc

.............................................
1/3/1

synce

enable

40.10 show clock source active


Syntax
show clock source active

40-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To display the active clock source

Mode
Any mode except ZXAN>

Example
The following example displays the active clock source:
ZXAN(config-clock)#show clock source active
interface:1/3/1
type :synce
ssm-ql :qlsec
status :locked
warning :none

Related Commands
None

40.11 show clock source alarm


Syntax
show clock source alarm

Purpose
To show the source clock alarm

Usage Guidelines
None

Mode
Any mode except the ZXAN> mode

Example
The following example displays the source clock alarm:
ZXAN(config-clock)#show clock source alarm
interface

type

priority

ssm-received alarm

...........................................................
1/3/1

synce

qlsec

none

40-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 40 Clock Management Commands

Related Information
This command is used to show the alarms of all source clocks, one line for one clock
source.

40.12 show source active


Syntax
show source active

Purpose
To display the current active clock source

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the current active clock source:
ZXAN#show source active
ZXAN#

Related Commands
None

40.13 show source alarm


Syntax
show source alarm

Purpose
To display the source clock alarm

Usage Guidelines
None

40-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays the source clock alarm:
ZXAN#show clock source alarm
Interface

Type

Priority

READ-SSM

Alarm

........................................

Related Commands
None

40-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 41

TACACS+ Commands
Table of Contents
tacacs enable ...........................................................................................................41-1
tacacs-client .............................................................................................................41-2
tacacs-server ...........................................................................................................41-2

41.1 tacacs enable


Syntax
tacacs {enable | disable}

Purpose
To enable or disable the TACACS+

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable TACACS+

disable

Disable TACACS+

Mode
ZXAN(config)#

Example
The following example displays how to enable the TACACS+:
ZXAN(config)#tacacs enable
ZXAN(config)#

Related Commands
None

41-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

41.2 tacacs-client
Syntax
tacacs-client address [port port]

Purpose
To configure the TACACS+ client parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

address

TACACS+ client address

A.B.C.D

port port

TACACS+ port number

Range: 1025 - 65535

Mode
ZXAN(config)#

Example
The following example displays how to configure the TACACS+ client parameters:
ZXAN(config)#tacacs-client 168.1.1.1 port 1025
ZXAN(config)#

Related Commands
tacacs-server

41.3 tacacs-server
Syntax
tacacs-server {[host address port port] | [key name] | [timeout value]}
tacacs-server packet size

Purpose
To configure the TACACS+ server parameters

Usage Guidelines
The following table provides parameter description:
41-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 41 TACACS+ Commands

Parameter

Description

Value

host address

TACACS+ host address

A.B.C.D

key name

TACACS+ name

Range: 1 - 31 characters

port port

TACACS+ port number

Range: 1025 - 65535

packet size

Packet size

Range: 1024 - 4096

timeout value

Time out value

Range: 1 - 1000 sec

Mode
ZXAN(config)#

Example
The following example displays how to configure the TACACS+ server parameters:
ZXAN(config)#tacacs-server host 168.1.10.1 key test port 1025 timeout 100
ZXAN(config)#

Related Commands
tacacs-client

41-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

41-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 42

RADIUS Commands
Table of Contents
algorithm ..................................................................................................................42-1
deadtime ..................................................................................................................42-2
max-retries ...............................................................................................................42-3
radius vendor-identify ...............................................................................................42-4
server.......................................................................................................................42-4
timeout .....................................................................................................................42-5
show radius vendor-identify ......................................................................................42-6

42.1 algorithm
Syntax
algorithm {first | round-robin}

Purpose
To configure the algorithm for RADIUS authentication group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

first

Always choose current

valid server as new user


authentication server
round-robin

Always choose next valid server

as new user authentication


server

Mode
ZXAN(config)#

Example
The following example displays how to configure the algorithm for RADIUS authentication
group:
42-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#algorithm round-robin
ZXAN(config-authgrp-1)#

Related Commands
None

42.2 deadtime
Syntax
deadtime time

Purpose
To configure RADIUS authentication server dead-time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Authentication server dead-time

Range: 0 - 65534 min


Default: 5 min

Mode
ZXAN(config-authgrp-1)#

Example
The following example displays how to configure Radius authentication server dead-time:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#deadtime 10
ZXAN(config-authgrp-1)#

Related Commands
None

Related Information
To execute this command, first create a Radius server group.
The dead-time interval starts when the server does not respond to an authentication
request transmissions.
42-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 42 RADIUS Commands

42.3 max-retries
Syntax
max-retries number

Purpose
To configure the maximum number of RADIUS retransmission attempts

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number

Maximum number of

Range: 1 - 255

retransmission attempts

Default: 3

Mode
ZXAN(config-authgrp-1)#

Example
The following example displays how to configure the maximum number of RADIUS
retransmission attempts:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#max-retries 5
ZXAN(config-authgrp-1)#

Related Commands
None

Related Information
To execute this command, first create a Radius server group.
As RADIUS uses UDP packets to transmit data, the communication is not reliable. If
the device does not receive a response to its request from the RADIUS server within the
response time-out time, it retransmits the RADIUS request. If the number of retransmission
attempts exceeds the limit but the device still receives no response from the RADIUS
server, the device regards that the authentication fails.

42-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

42.4 radius vendor-identify


Syntax
radius vendor-identify { disable | enable }

Purpose
To configure the RADIUS vendor identify function

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

disable

To disable the function

enable

To enable the function

Mode
ZXAN(config)#

Example
The following example displays how to enable the RADIUS vendor identify function:
ZXAN(config)#radius vendor-identify enable

Related Commands
show radius vendor-identify

42.5 server
Syntax
server server-num ipaddress key keystr [port portnum]

Purpose
To configure the RADIUS server property

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

server-num

Server ID

Range: 1 - 4

ipaddress

Server IP address

A.B.C.D

42-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 42 RADIUS Commands

Parameter

Description

Value

key keystr

Share key between server and

Range: 1 - 32 characters

system
port portnum

Server port number

Range: 1025 - 65535


Default: 1812

Mode
ZXAN(config-authgrp-1)#

Example
The following example displays how to configure the Radius server property:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#server 1 10.61.225.14 key zte
ZXAN(config-authgrp-1)#

Related Commands
None

Related Information
To execute this command, first create a Radius server group.

42.6 timeout
Syntax
timeout time

Purpose
To configure RADIUS authentication server timeout parameters

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Timeout interval

Range: 1 - 255 sec


Default: 3 sec

Mode
ZXAN(config-authgrp-1)#
42-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the RADIUS authentication server timeout
parameters:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#timeout 10
ZXAN(config-authgrp-1)#

Related Commands
None

Related Information
To execute this command, first create a Radius server group.

42.7 show radius vendor-identify


Syntax
show radius vendor-identify

Purpose
To display the vendor identify configuration of RADIUS

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the vendor identify configuration of RADIUS:
ZXAN(config)#show radius vendor-identify
Radius vendor-identify is enable

Related Commands
radius vendor-identify

42-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 43

SSH Commands
Table of Contents
ssh server authentication ispgroup ...........................................................................43-1
ssh server authentication mode ................................................................................43-2
ssh server authentication type ..................................................................................43-2
ssh server enable .....................................................................................................43-3
ssh server generate-key ...........................................................................................43-4
ssh server only .........................................................................................................43-4
ssh server version ....................................................................................................43-5
show ssh ..................................................................................................................43-6

43.1 ssh server authentication ispgroup


Syntax
ssh server authentication ispgroup ispgroup

Purpose
To configure the RADIUS authentication group when SSH server works in RADIUS
authentication mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ispgroup

RADIUS authentication group

Range: 1 - 10

ID

Mode
ZXAN(config)#

Example
The following example displays how to configure the RADIUS authentication group when
SSH server works in RADIUS authentication mode:
ZXAN(config)#ssh server authentication ispgroup 2
ZXAN(config)#

43-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

43.2 ssh server authentication mode


Syntax
ssh server authentication mode {local | radius| tacacs+}

Purpose
To configure the SSH server authentication mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

local

Local authentication group

mode (default)
radius

RADIUS authentication mode

tacacs+

TACACS+ authentication mode

Mode
ZXAN(config)#

Example
The following example displays how to configure the SSH server authentication mode:
ZXAN(config)#ssh server authentication mode local
ZXAN(config)#

Related Commands
None

43.3 ssh server authentication type


Syntax
ssh server authentication type {pap | chap}

Purpose
To configure the authentication access mode for SSH server
43-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 43 SSH Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

pap

PAP authentication group mode

chap

CHAP authentication group

mode

Mode
ZXAN(config)#

Example
The following example displays how to configure the authentication access mode for SSH
server:
ZXAN(config)#ssh server authentication type pap
ZXAN(config)#

Related Commands
None

43.4 ssh server enable


Syntax
ssh server enable
no ssh server enable

Purpose
To enable the SSH server

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the SSH server:
ZXAN(config)#ssh server enable

43-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#

Related Commands
None

43.5 ssh server generate-key


Syntax
ssh server generate-key

Purpose
To generate RSA encryption key when SSH server works in protocol version 1

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to generate RSA encryption key when SSH server
works in protocol version 1:
ZXAN(config)#ssh server generate-key
ZXAN(config)#

Related Commands
None

43.6 ssh server only


Syntax
ssh server only
no ssh server only

Purpose
To configure SSH server as the only safe configuration access mode, disabling Telnet
access
43-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 43 SSH Commands

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to configure SSH server as the only safe configuration
access mode, disabling Telnet access:
ZXAN(config)#ssh server only
ZXAN(config)#

Related Commands
None

43.7 ssh server version


Syntax
ssh server version version

Purpose
To configure the SSH server protocol version

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

version

SSH server protocol version

Range: 1 - 2

Mode
ZXAN(config)#

Example
The following example displays how to configure the SSH server protocol version:
ZXAN(config)#ssh server version 1
ZXAN(config)#

43-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

43.8 show ssh


Syntax
show ssh

Purpose
To display all the related configuration information of SSH server

Usage Guidelines
None

Mode
Any mode except the user mode

Example
The following example displays all the related configuration information of SSH server:
ZXAN#show ssh
SSH configuration:
SSH enable-flag configuration : enable
SSH version

: ver1.0

SSH only configuration

: enable

SSH init server key

: enable

SSH auth radius isp-groupid

: 2

SSH auth mode

: local

SSH auth type

: pap

ZXAN#

Related Commands
None

43-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 44

PIM Snooping Commands


Table of Contents
ip pim snooping ........................................................................................................44-1
pim snooping............................................................................................................44-2
show ip pim snooping all-statistic..............................................................................44-2
show ip pim snooping entry ......................................................................................44-3
show ip pim snooping neighbor-info .........................................................................44-4
show ip pim snooping port-info .................................................................................44-5
show ip pim snooping port-statistic clear interface ....................................................44-5
show ip pim snooping port-statistic interface.............................................................44-6

44.1 ip pim snooping


Syntax
ip pim snooping
no ip pim snooping

Purpose
To enable PIM snooping

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable PIM snooping:
ZXAN(config)#ip pim snooping
ZXAN(config)#

Related Commands
None
44-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

44.2 pim snooping


Syntax
pim snooping
no pim snooping

Purpose
To configure PIM snooping for VLAN

Usage Guidelines
None

Mode
ZXAN(config-vlan)#

Example
The following example displays how to configure PIM snooping for VLAN:
ZXAN(config)#ip pim snooping
ZXAN(config)#vlan 2
ZXAN(config-vlan)#pim snooping
ZXAN(config-vlan)#

Related Commands
ip pim snooping

Related Information
This command takes effect only when snooping is globally enabled.

44.3 show ip pim snooping all-statistic


Syntax
show ip pim snooping all-statistic [clear]

Purpose
To display all (accumulated) statistics of PIM packets

Usage Guidelines
The following table provides parameter description:
44-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 44 PIM Snooping Commands

Parameter

Description

Value

clear

Clear mode

Mode
Any mode except user mode

Example
The following example displays all (accumulated) statistics of PIM packets:
ZXAN#show ip pim snooping all-statistic clear
RxHello

0;

RxJoinPrune

0;

TxHello

0;

TxJoinPrune

0;

DropRxTotal

0;

RxTotal

0;

TxTotal

0;

ZXAN#

Related Commands
show ip pim snooping all-statistic
show ip pim snooping port-statistic clear interface
show ip pim snooping port-statistic interface

44.4 show ip pim snooping entry


Syntax
show ip pim snooping entry [vlan vid]

Purpose
To display all VLAN entries for PIM snooping

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vlan vid

VLAN ID

Range: 1 - 4094

Mode
Any mode except user mode

44-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays all VLAN entries for PIM snooping:
ZXAN#show ip pim snooping entry
group entry number = 0:
index vlan Source-ip Group-ip
---------------------------------------------ZXAN#

Related Commands
show ip pim snooping port-info
show ip pim snooping neighbor-info

44.5 show ip pim snooping neighbor-info


Syntax
show ip pim snooping neighbor-info

Purpose
To display the information about neighboring routers

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the information about neighboring routers:
ZXAN#show ip pim snooping neighbor-info

Port

vid

neighbor-ip-address

remain-time

------------------------------------------------------ZXAN#

Related Commands
show ip pim snooping port-info
show ip pim snooping entry
44-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 44 PIM Snooping Commands

44.6 show ip pim snooping port-info


Syntax
show ip pim snooping port-info vid

Purpose
To display the VLAN port information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

vid

VLAN ID

Range: 1 - 4094

Mode
Any mode except user mode

Example
The following example displays the VLAN port information:
ZXAN#show ip pim snooping port-info 2

PIM Snooping is globally enabled.


PIM Snooping is enabled in this vlan.
vlan

Source-ip

Group-ip

Ports

Remain-time

--------------------------------------------------------------------

ZXAN#

Related Commands
show ip pim snooping port-info
show ip pim snooping entry

44.7 show ip pim snooping port-statistic clear interface


Syntax
show ip pim snooping port-statistic clear interface interfacename

Purpose
To display statistics for all the received PIM packets
44-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interfacename

Interface name

Mode
Any mode except user mode

Example
The following example displays the statistics for all the received PIM packets:
ZXAN#show ip pim snooping port-statistic clear interface gei_1/11/1
RxHello

0;

RxJoinPrune

0;

TxHello

0;

TxJoinPrune

0;

DropRxTotal

0;

RxTotal

0;

TxTotal

0;

ZXAN#

Related Commands
show ip pim snooping all-statistic clear
show ip pim snooping port-statistic interface

44.8 show ip pim snooping port-statistic interface


Syntax
show ip pim snooping port-statistic interface interfacename

Purpose
To display the port statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interfacename

Interface name

Mode
Any mode except user mode
44-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 44 PIM Snooping Commands

Example
The following example displays the port statistics:
ZXAN#show ip pim snooping port-statistic interface gei_1/11/1
RxHello

0;

RxJoinPrune

0;

TxHello

0;

TxJoinPrune

0;

DropRxTotal

0;

RxTotal

0;

TxTotal

0;

ZXAN#

Related Commands
show ip pim snooping all-statistic clear

44-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

44-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45

RIP Protocol Commands


Table of Contents
router rip ..................................................................................................................45-2
auto-summary ..........................................................................................................45-2
default-metric ...........................................................................................................45-3
disable interface .......................................................................................................45-4
distance ...................................................................................................................45-5
enable interface........................................................................................................45-5
flash-update-threshold..............................................................................................45-6
ip poison-reverse......................................................................................................45-7
ip rip authentication key............................................................................................45-8
ip rip authentication key-chain ..................................................................................45-9
ip rip authentication mode ......................................................................................45-10
ip rip interface.........................................................................................................45-10
ip rip neighbor-restrict............................................................................................. 45-11
ip rip notify default route .........................................................................................45-12
ip rip only-send-subnet ...........................................................................................45-13
ip rip originate default route ....................................................................................45-14
ip rip receive version ..............................................................................................45-15
ip split-horizon ........................................................................................................45-16
maximum-paths......................................................................................................45-17
neighbor .................................................................................................................45-17
network ..................................................................................................................45-18
offset-list.................................................................................................................45-19
output-delay ...........................................................................................................45-20
redistribute .............................................................................................................45-21
show ip rip..............................................................................................................45-22
show ip rip database ..............................................................................................45-23
show ip rip interface ...............................................................................................45-24
show ip rip networks...............................................................................................45-25
timers basic............................................................................................................45-25
validate-update-source ...........................................................................................45-27
version ...................................................................................................................45-27

45-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

45.1 router rip


Syntax
router rip
no router rip

Purpose
To enter the RIP configuration mode

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enter the RIP configuration mode:
ZXAN(config)#router rip
ZXAN(config-router)#

Related Commands
None

45.2 auto-summary
Syntax
auto-summary
no auto-summary

Purpose
To send only the convergence routing information about the classical network and super
network

Usage Guidelines
None

Mode
ZXAN(config-router)#
45-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Example
The following example displays how to send only the convergence routing information
about the classical network and super network:
ZXAN(config)#router rip
ZXAN(config-router)#auto-summary
ZXAN(config-router)#

Related Commands
None

Related Information
Super netwotk is the network which has multi-network segment IP addresses and is
allocated to subscriber by ISP.

45.3 default-metric
Syntax
default-metric metric-value
no default-metric

Purpose
To configure re-distribution of other protocol generated routes as the default metric for the
RIP route

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

metric-value

Default metric value

Range: 1 - 16

Mode
ZXAN(config-router)#

Example
The following example displays how to configure re-distribution of other protocol generated
routes as the default metric for the RIP route:
ZXAN(config)#router rip
ZXAN(config-router)#default-metric 2
ZXAN(config-router)#

45-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
redistribute

Related Information
This command works with the redistribute command to have the same metric value used
for the current routing protocol and all re-distributing route. The default metric helps solve
the route re-distributing problems that are caused by different metrics. When the metric is
not changed, the default metric provides a reasonable alternative method to facilitate the
re-distributing.

45.4 disable interface


Syntax
disable interface ip-address

Purpose
To disable the RIP on an interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the RIP on an interface:
ZXAN(config)#router rip
ZXAN(config-router)#disable interface 10.20.1.20
ZXAN(config-router)#

Related Commands
enable interface

45-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

45.5 distance
Syntax
distance distance
no distance

Purpose
To configure the RIP route management distance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

distance

RIP route management distance

Range: 1 - 255
Default: 120

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the RIP route management distance:
ZXAN(config)#router rip
ZXAN(config-router)#distance 122
ZXAN(config-router)#

Related Commands
None

Related Information
The RIP route management distance is defined to change the selection for the optimal
route by the global routing table.

45.6 enable interface


Syntax
enable interface ip-address

Purpose
To enable the RIP on an interface
45-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the RIP on an interface:
ZXAN(config)#router rip
ZXAN(config-router)#enable interface 10.20.1.20
ZXAN(config-router)#

Related Commands
disable interface

45.7 flash-update-threshold
Syntax
flash-update-threshold threshold
no flash-update-threshold

Purpose
To suppress regularly scheduled flash updates

Usage Guidelines
The following table provides parameter description:
Parameter
threshold

Description

Value

Time interval for which the

Range: 1 - 30 sec

suppression of flash updates

Default: 5 sec

can be configured

Mode
ZXAN(config-router)#

45-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Example
The following example displays how to suppress regularly scheduled flash updates:
ZXAN(config)#router rip
ZXAN(config-router)#flash-update-threshold 10
ZXAN(config-router)#

Related Commands
None

Related Information
By default, this command is disabled.
This command suppresses flash updates when the arrival of a regularly scheduled update
matches the number of seconds that is configured with the threshold parameter.
If the number of seconds matches the number of seconds or is less than the number
seconds that is configured with the threshold parameter, the flash update is suppressed. If
the number of seconds until the flash update arrives exceeds the number of seconds that
is configured with the threshold parameter, the flash update is not suppressed.

45.8 ip poison-reverse
Syntax
ip poison-reverse
no ip poison-reverse

Purpose
To enable the poison reverse mechanism

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the poison reverse mechanism:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip poison-reverse
ZXAN(config-if)#

45-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

Related Information
When the poison reversion mechanism is enabled, the metric must be configured as infinite
(Metric = 16), so that the route information is returned to the router that originally advertises
the route and the loop is broken in time. However, this may cause increase in the traffic
on the network. When the network load is greater, the poison reverse should be disabled.

45.9 ip rip authentication key


Syntax
ip rip authentication key key
no ip rip authentication key

Purpose
To configure the key for the simple text authentication for the RIP interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

key

Authentication key

Range: 1 - 16 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the key for the simple text authentication
for the RIP interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication key zxan
ZXAN(config-if)#

Related Commands
ip rip authentication mode
45-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Related Information
If the key is not configured using the key command, the authentication is not performed on
the interface.

45.10 ip rip authentication key-chain


Syntax
ip rip authentication key-chain key-id key-string
no ip rip authentication key-chain key-id

Purpose
To configure the key-chain for the MD5 authentication

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

key-id

Key ID

Range: 1 - 255

key-string

Key string

Range: 1 - 16 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the key-chain for the MD5 authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication key-chain 1 abcd
ZXAN(config-if)#no ip rip authentication key-chain 1
ZXAN(config-if)#

Related Commands
ip rip authentication mode

Related Information
ip rip authentication mode md5 and ip rip authentication key-chain commands are
configured at the same time.

45-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

45.11 ip rip authentication mode


Syntax
ip rip authentication mode {text | md5}
no ip rip authentication mode

Purpose
To configure the authentication type for the RIP version 2 message packet

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

text

Simple text authentication mode

md5

MD5 authentication mode

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the authentication type for the RIP version
2 message packet:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication mode md5
ZXAN(config-if)#

Related Commands
ip rip authentication key
ip rip authentication key-chain

Related Information
By default, there is no authentication mode.

45.12 ip rip interface


Syntax
ip rip interface {passive | active}
no ip rip interface
45-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Purpose
To configure the method to send/receive route information on an interface

Usage Guidelines
The following table provides parameter description:
Parameter
passive

Description

Value

Enables an interface to only

receive the RIP route update


information
active

Enables an interface to only

send the RIP route update


information

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the method to send/receive route
information on an interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip interface passive
ZXAN(config-if)#

Related Commands
None

Related Information
This command can also be used to reduce the bandwidth occupation of the network.
The ip rip interface passive command often works with the neighbor command to have the
router only send route to the specified neighbor, so as to reduce the bandwidth occupation
of the network.
The ip rip interface active command is usually used when the LAN only needs to report the
route information inside its subnet to the upper-level server.

45.13 ip rip neighbor-restrict


Syntax
ip rip neighbor-restrict
45-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no ip rip neighbor-restrict

Purpose
To configure an interface to enter into the RIP neighbor restriction mode

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure an interface to enter into the RIP neighbor
restriction mode:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip neighbor-restrict
ZXAN(config-if)#

Related Commands
neighbor

Related Information
In no ip rip neighbor-restrict mode, the neighbor can be found no matter whether a neighbor
is configured on the interface. For the configured neighbor, the unicast packet is sent; while
for the found neighbor, no unicast packet is sent. The packets can be received from either
the configured or the found neighbor.

45.14 ip rip notify default route


Syntax
ip rip notify default route [only]
no ip rip notify default route

Purpose
To configure an interface to advertise default router when the default route exists on this
router

Usage Guidelines
The following table provides parameter description:
45-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Parameter

Description

Value

only

Only the default route is sent on

this interface

Mode
ZXAN(config-if)#

Example
The following example displays how to configure an interface to advertise default router
when the default route exists on this router:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip notify default route
ZXAN(config-if)#

Related Commands
ip rip originate default route

45.15 ip rip only-send-subnet


Syntax
ip rip only-send-subnet
no ip rip only-send-subnet

Purpose
To configure an interface to advertise only the interface-related network subnet information

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure an interface to advertise only the
interface-related network subnet information:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip only-send-subnet
ZXAN(config-if)#

45-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

Related Information
When this command is used, the interface sends only the route information of the interface
in the same subnet, while the route information not in the same subnet is shielded. When
the lower-level router advertises route information to the upper-level router, only its subnet
information needs to be advertised. This command can be used to reduce the route
information volume.

45.16 ip rip originate default route


Syntax
ip rip originate default route [only]
no ip rip originate default route

Purpose
To configure a default route on the interface and force advertisement

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

only

Only the default route is sent on

this interface

Mode
ZXAN(config-if)#

Example
The following example displays how to configure a default route on the interface and force
advertisement:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip originate default route
ZXAN(config-if)#

45-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Related Commands
ip rip notify default route

45.17 ip rip receive version


Syntax
ip rip receive version {1 | 2}
no ip rip receive version

Purpose
To configure the RIP version to be received on the interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

RIP version number 1

RIP version number 2

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the RIP version to be received on the
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip receive version 1
ZXAN(config-if)#

Related Commands
None

Related Information
This command can be used to ignore the RIP default status specified by the version
command, but this only applies for the configured interfaces.

45-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

45.18 ip split-horizon
Syntax
ip split-horizon
no ip split-horizon

Purpose
To enable the split horizon function

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the split horizon function:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#no ip split-horizon
ZXAN(config-if)#

Related Commands
None

Related Information
By default, split horizon is enabled.
This command enables split horizon, preventing the RIP router from advertising routes
from the interface originating the route, reducing the possibility of routing loops. The no
version disables split horizon.
It is generally not recommended to change the default status of the split horizon, unless
it is used for advertising routes. The default status must be changed in the application
system. If the split horizon is disabled on the serial interface (and the interface is
connected with the packet switching network), it must be disabled for all the routers and
access servers in the related multicast groups on the network.

45-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

45.19 maximum-paths
Syntax
maximum-paths number
no maximum-paths

Purpose
To configure the maximum routes supported in load balance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number

Maximum number of the routes

Range: 1 - 8

supported in load balance

Default: 1

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the maximum routes supported in load
balance:
ZXAN(config)#router rip
ZXAN(config-router)#maximum-paths 2
ZXAN(config-router)#

Related Commands
None

Related Information
The same effective routes received through the RIP are adjusted according to the
requirements of the load balance.

45.20 neighbor
Syntax
neighbor ip-address
no neighbor ip-address
45-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To define a neighboring router with which to exchange routing information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address of peer router to

A.B.C.D

exchange route information

Mode
ZXAN(config-router)#

Example
The following example displays how to define a neighboring router with which to exchange
routing information:
ZXAN(config)#router rip
ZXAN(config-router)#neighbor 10.10.10.2
ZXAN(config-router)#

Related Commands
ip rip interface

Related Information
This command allows exchanging the RIP route information in the point-to-point
(non-broadcast) mode. Once a neighbor is specified, the interface that is in the same
network of that interface exchanges the RIP route information in the broadcast (multicast)
mode. At most 255 neighbors can be found or configured at the same time.

45.21 network
Syntax
network ip-address net-mask
no network ip-address net-mask

Purpose
To specify the network table for RIP routing

45-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address of the network

A.B.C.D

directly connected
net-mask

Network reverse mask in form

A.B.C.D

of decimal value

Mode
ZXAN(config-router)#

Example
The following example displays how to specify the network table for RIP routing:
ZXAN(config)#router rip
ZXAN(config-router)#network 202.102.3.0 0.0.0.255
ZXAN(config-router)#

Related Commands
router rip

Related Information
The RIP route update information can be sent/received only through these network
interfaces. The RIP sends the update information to the specified network interface. If an
interface network is not specified, the RIP update advertisement cannot be obtained.

45.22 offset-list
Syntax
offset-list access-list-number {in | out} offset [interface interface-name]

Purpose
To configure the specified received/sent route metric offset

Usage Guidelines
The following table provides parameter description:

45-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

access-list-number

Access list number of networks

Range: 1 - 99

to apply offset
in

Inbound packets

out

Outbound packets

offset

Offset metric value

Range: 0 - 16

interface interface-name

Interface name

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the specified received/sent route metric
offset:
ZXAN(config)#router rip
ZXAN(config-router)#offset-list 3 in 2
ZXAN(config-router)#

Related Commands
None

Related Information
If an interface name is specified, the offset value is effective only for the specified interface.

45.23 output-delay
Syntax
output-delay packets delay
no output-delay

Purpose
To configure the delay between the RIP update messages

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

packets

Number of packets

Range: 1 - 4294967295

45-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

Parameter

Description

Value

delay

Delay for RIP packet update

Range: 0 - 100 msec

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the delay between the RIP update
messages:
ZXAN(config)#router rip
ZXAN(config-router)#output-delay 580 10
ZXAN(config-router)#

Related Commands
None

Related Information
If packets are sent from a high-speed router to a low-speed router in high speed, the
low-speed router cannot receive the packets in high speed. Here, this command can be
used to prevent the loss of information in the routing table.

45.24 redistribute
Syntax
redistribute protocol [metric metric-value] [route-map map-tag]
no redistribute protocol [metric] [route-map]

Purpose
To re-distribute routes from one route domain to the RIP route domain

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

protocol

Source routing protocol for route

Keywords: bgp-ext; bgp-int;

redistribution

connected; isis-1; isis-1-2;


isis-2; ospf-ext; ospf-int; static

45-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

metric metric-value

Metric value for redistributed

Range: 0 - 16

routes
route-map map-tag

Route map name

Range: 0 - 16 characters

Mode
ZXAN(config-router)#

Example
The following example displays how to re-distribute routes from one route domain to the
RIP route domain:
ZXAN(config)#router rip
ZXAN(config-router)#redistribute ospf-ext
ZXAN(config-router)#

Related Commands
default-metric

45.25 show ip rip


Syntax
show ip rip

Purpose
To display the basic information of the RIP operation

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the basic information of the RIP operation:
ZXAN#show ip rip
router rip
auto-summary
default-metric 1

45-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands


distance 120
validate-update-source
version 2
flash-update-threshold 5
maximum-paths 2
output-delay 580 10
timers basic 30 180 180 240
neighbor
10.10.10.2
network
202.102.3.0

0.0.0.255

ZXAN#

Related Commands
None

Related Information
According to the output information of this command, the user knows whether the
configuration is correct and conducts IP fault diagnosis.

45.26 show ip rip database


Syntax
show ip rip database [network ip-address [mask net-mask]]

Purpose
To display the route entries generated by the RIP protocol

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

network ip-address

IP address of the network

A.B.C.D

mask net-mask

Network mask

A.B.C.D

Mode
Any mode except user mode

Example
The following example displays the route entries generated by the RIP protocol:
45-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN#show ip rip databae
Pref Routes
h : is possibly down,in holddown time
f : out holddown time before flush
*> 10.0.0.0/8
*> 150.1.1.0/24
*> 160.1.1.0/24
*> 201.1.1.0/24
*> 203.1.1.0/24

ZXAN#

Related Commands
None

Related Information
According to the output information of this command, the user can judge whether the
current RIP routing table is correct or not.

45.27 show ip rip interface


Syntax
show ip rip interface interface-name

Purpose
To display the RIP interface information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

RIP interface name

Mode
Any mode except user mode

Example
The following example displays the RIP interface information:
ZXAN#show ip rip interface vlan100
ip address:

45-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands


10.10.30.4
receive version 1 2
send version 2
split horizon is effective

ZXAN#

Related Commands
None

45.28 show ip rip networks


Syntax
show ip rip networks

Purpose
To display the RIP networks configured by the user

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the RIP networks configured by the user:
ZXAN#show ip rip networks
networks

wildmask

202.102.3.0

0.0.0.255

ZXAN#

Related Commands
network

45.29 timers basic


Syntax
timers basic update invalid holddown flush
45-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To adjust the RIP network timer

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

update

Update sending interval, the

Range: 1 - 65535 sec

basic parameter of the routing

Default: 1 sec

protocol
invalid

Period before route invalidity

Range: 1 - 65535 sec


Default: 1 sec

holddown

flush

Period for suppressing better

Range: 1 - 65535 sec

route

Default: 1 sec

Period from route invalidity to

Range: 1 - 65535 sec

route clearing

Default: 1 sec

Mode
ZXAN(config-router)#

Example
The following example displays how to adjust the RIP network timer:
ZXAN(config)#router rip
ZXAN(config-router)#timers basic 5 15 15 30
ZXAN(config-router)#

Related Commands
None

Related Information
The RIP basic timer is adjustable. Since the RIP executes the asynchronous routing
algorithm, it is very important to keep consistent timers for all routers and access servers.

Note:
If the update period is too short, it may cause congestion in the low-speed serial line, while
it does not cause big problem in the high-speed serial line of the fast Ethernet. In addition,
if there are many routes to be updated, it may take much time for the router to handle the
update.

45-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 45 RIP Protocol Commands

45.30 validate-update-source
Syntax
validate-update-source
no validate-update-source

Purpose
To enable or disable the source IP address that enters the route update

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the source IP address that enters the route
update:
ZXAN(config)#router rip
ZXAN(config-router)#no validate-update-source
ZXAN(config-router)#

Related Commands
None

Related Information
The software ensures that the source IP addresses that enter the route update are
defined as the addresses of the receiving interface. These addresses are in the same IP
network. When the split horizon is enabled for the entry interface, the system executes
the consistency check.

45.31 version
Syntax
version {1 | 2}

Purpose
To configure the RIP version used by a specified router
45-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

Version number 1

Version number 2

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the RIP router version used by a specified
router:
ZXAN(config)#router rip
ZXAN(config-router)#version 2
ZXAN(config-router)#

Related Commands
ip rip receive version

45-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46

OSPF Protocol Commands


Table of Contents
enable ip ospf...........................................................................................................46-2
router ospf................................................................................................................46-3
area authentication...................................................................................................46-4
area filter-list ............................................................................................................46-4
area nssa .................................................................................................................46-6
area range................................................................................................................46-7
area stub ..................................................................................................................46-8
area stub-host ..........................................................................................................46-9
area virtual-link.......................................................................................................46-10
auto-cost ................................................................................................................ 46-11
capacity opaque .....................................................................................................46-12
clear ip ospf process ..............................................................................................46-13
clear ip ospf redistribution.......................................................................................46-14
compatible rfc 1583 ................................................................................................46-15
debug.....................................................................................................................46-15
default-metric .........................................................................................................46-16
disable area ...........................................................................................................46-17
disable interface .....................................................................................................46-18
disable ip ospf ........................................................................................................46-18
distance ospf ..........................................................................................................46-19
enable area ............................................................................................................46-20
enable interface......................................................................................................46-21
enable ip ospf.........................................................................................................46-21
filter ........................................................................................................................46-22
grace-period ...........................................................................................................46-23
ip ospf authentication .............................................................................................46-24
ip ospf authentication-key.......................................................................................46-24
ip ospf cost.............................................................................................................46-25
ip ospf dead-interval ...............................................................................................46-26
ip ospf hello-interval ...............................................................................................46-27
ip ospf message-digest-key ....................................................................................46-28
ip ospf mtu-ignore ..................................................................................................46-29
ip ospf network .......................................................................................................46-30
ip ospf priority.........................................................................................................46-31
ip ospf retransmit-interval .......................................................................................46-31
ip ospf transmit-delay .............................................................................................46-32
maximum-paths......................................................................................................46-33
46-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

neighbor .................................................................................................................46-34
network ..................................................................................................................46-35
no area...................................................................................................................46-36
notify default route..................................................................................................46-37
nsf..........................................................................................................................46-38
passive-interface ....................................................................................................46-38
redistribute .............................................................................................................46-39
router-id .................................................................................................................46-40
show ip ospf ...........................................................................................................46-41
show ip ospf border-routers ....................................................................................46-45
show ip ospf database............................................................................................46-46
show ip ospf interface.............................................................................................46-55
show ip ospf neighbor ............................................................................................46-57
show ip ospf nsf .....................................................................................................46-58
show ip ospf request-list .........................................................................................46-60
show ip ospf retransmission-list ..............................................................................46-61
show ip ospf virtual-links.........................................................................................46-62
summary-address ..................................................................................................46-63
timers lsa-group-pacing ..........................................................................................46-64
timers spf ...............................................................................................................46-65

46.1 enable ip ospf


Syntax
enable ip ospf process-id

Purpose
To enable OSPF process for privilege mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process-id

Process ID

Range: 1 65535

Mode
ZXAN(config)#

Example
The following example displays how to enable OSPF process for privilege mode:
ZXAN(config)#enable ip ospf 1
ZXAN(config)#

46-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Related Commands
enable ip bgp

46.2 router ospf


Syntax
router ospf process-id
no router ospf process-id

Purpose
To enter the OSPF protocol configuration mode

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process-id

OSPF process ID

Range: 1 - 65535

Mode
ZXAN(config)#

Example
The following example displays how to enter the OSPF protocol configuration mode:
ZXAN(config)#router ospf 1
ZXAN(config-router)#

Related Commands
None

Related Information
If the OSPF protocol is started but is disabled, the system prompts Please enable
the OSPF instance first and returns to the global configuration mode. If the OSPF
protocol is started and it is enabled, it directly enters the OSPF protocol configuration mode.
The global OSPF and the OSPF under the VRFs use different process numbers.

46-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

46.3 area authentication


Syntax
area area-id authentication [message-digest]
no area area-id authentication [message-digest]

Purpose
To enable the authentication for the OSPF area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

Area ID

Range: 0 - 4294967295

Message-digest (type 2)

message-digest

authentication

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the authentication for the OSPF area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 authentication message-digest
ZXAN(config-router)#

Related Commands
None

Related Information
If no parameter is attached, it is the type 1 authentication, that is, the simple password
authentication. If the parameter is attached, it is the type 2 authentication, that is, the
message-digest authentication. If the area does not exist, it is created automatically.

46.4 area filter-list


Syntax
area area-id filter-list prefix prefix-list {out | in}
46-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

no area area-id filter-list prefix prefix-list {out | in}

Purpose
To filter network routing information between OSPF area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

Area ID

Range: 0 - 4294967295

prefix prefix-list

Name of an IP prefix-list

Range: 1 - 16 characters

out

Filter networks sent from this

area
in

Filter networks sent to this area

Mode
ZXAN(config-router)#

Example
The following example displays how to filter network routing information between OSPF
area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 20.20.20.0 0.0.0.255 area 1
ZXAN(config-router)#exit
ZXAN(config)#ip prefix-list ZXAN deny 20.20.20.0 24
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 0.0.0.1 filter-list prefix ZXAN out
ZXAN(config-router)#

Related Commands
None

Related Information
If the area does not exist, it is created automatically. By default, there is no OSPF area
network route filtering information.

46-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

46.5 area nssa


Syntax
area area-id nssa [no-redistribution] [default-information-originate [metric metric-value] [me
tric-type type]] [no-summary]
no area area-id nssa [no-redistribution] [default-information-originate] [no-summary]

Purpose
To configure an area as the NSSA area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

Area ID

Range: 0 - 4294967295

no-redistribution

Do not redistribute external LSA

into NSSA area


default-information-originate

Generate default type-7 LSA for

this area
metric metric-value

OSPF metric value

Range: 0 - 16777214

metric-type type

Metric type

Keywords: ext-1, ext-1

no-summary

Do not send any summary into

NSSA area

Mode
ZXAN(config-router)#

Example
The following example displays how to configure an area as the NSSA area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 nssa default-information-originate
ZXAN(config-router)#

Related Commands
None

46-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Related Information
If the area does not exist, it is created automatically. By default, NSSA area network is not
defined. If default type-7 LSA for this area is defined, the cost of the default value 1 must
be type ext-2.

46.6 area range


Syntax
area area-id range ip-address net-mask [advertise | not-advertise]
no area area-id range ip-address net-mask

Purpose
To configure the address range of the summary route in an area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

Area ID

Range: 0 - 4294967295

ip-address

IP address of the summary

A.B.C.D

address range
net-mask

Summary address range mask

A.B.C.D

advertise

Advertise this range

not-advertise

Do not advertise this range

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the address range of the summary route
in an area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.1.1.0 0.0.0.255 area 1
ZXAN(config-router)#network 10.1.2.0 0.0.0.255 area 1
ZXAN(config-router)#network 10.1.3.0 0.0.0.255 area 1
ZXAN(config-router)#area 0 range 10.1.0.0 255.255.0.0 advertise
ZXAN(config-router)#

46-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

46.7 area stub


Syntax
area area-id stub [no-summary] [default-cost cost]
no area area-id stub [no-summary] [default-cost]

Purpose
To configure an area as a stub area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

Area ID

Range: 0 - 4294967295

no-summary

Prohibit ABR from sending the

summarized routing information


to this stub area
default-cost cost

Default cost for advertisement

Range: 0 - 65535

to this stub area

Mode
ZXAN(config-router)#

Example
The following example displays how to configure an area as a stub area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 stub no-summary efault-cost 10
ZXAN(config)#router ospf 1
ZXAN(config-router)#no area 1 stub no-summary
ZXAN(config-router)#no area 1 stub default-cost
ZXAN(config-router)#

Related Commands
None

46-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Related Information
The area is created automatically if it does not exist. It can also be specified whether
to prohibit the ABR to send the summary network route information to the stub area and
whether to advertise the default route cost to the stub area.
The no area area-id stub no-summary command is used to allow the ABR to send the
summary route information to the stub area.
The no area area-id stub default-cost is used to restore the default route cost advertise to
the stub area as the default 1.
The no area area-id stub command is used to change the specified area from a stub area
to a non-stub area.

46.8 area stub-host


Syntax
area area-id stub-host ip-address cost cost
no area area-id stub-host ip-address [cost cost]

Purpose
To add the host route advertised by the router in an area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

Area ID

Range: 0 - 4294967295

ip-address

IP address of the stub host for

A.B.C.D

advertisement
cost cost

Cost of this host route for

Range: 1 - 65535

advertisement

Mode
ZXAN(config-router)#

Example
The following example displays how to add the host route advertised by the router in an
area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 stub-host 10.1.1.1 cost 10
ZXAN(config-router)#

46-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

Related Information
The no area area-id stub-host ip-address command deletes the host route advertised by the
router in an area.
If the area does not exist, it is created automatically.

46.9 area virtual-link


Syntax
area area-id virtual-link router-id [hello-interval seconds] [retransmit-interval seconds] [trans
mit-delay seconds] [dead-interval seconds] [authentication-key key] [message-digest-key keyid
md5 cryptkey [delay time]] [authentication [null | message-digest]]
area area-id virtual-link router-id [hello-interval seconds] [retransmit-interval seconds] [trans
mit-delay seconds] [dead-interval seconds] [authentication-key key] [message-digest-key keyid
] [authentication [null | message-digest]]

Purpose
To configure an OSPF virtual link

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

Area ID

Range: 0 - 4294967295

router-id

Router ID of the virtual link

A.B.C.D

hello-interval seconds

Interval for sending Hello

Range: 1 - 8192 sec

packets on the virtual link

Default: 10

Retransmit interval on the virtual

Range: 1 - 8192 sec

link

Default: 5

Delay for transmitting a link

Range: 1 - 8192 sec

state update packet on the

Default: 1

retransmit-interval seconds

transmit-delay seconds

virtual link
dead-interval seconds

authentication-key key

Dead interval for neighbors on

Range: 1 - 8192 sec

the virtual link

Default: 40

Authentication key on the virtual

Range: 1 - 8 characters

link

46-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Parameter

Description

Value

message-digest-key keyid

MD5 authentication key ID on

Range: 1 - 255

the virtual link

Default: 10

MD5 authentication key on the

Range: 1 - 24 characters

virtual link

Maximum: 16 bytes

delay time

MD5 authentication delay

Range: 0 - 100000 min

authentication

Cost of this host route for

md5 cryptkey

advertisement
message-digest

Configure type 2 authentication

mode on the virtual link,


that is, the message digest
authentication
null

Configure type 0 authentication

mode on the virtual link

Mode
ZXAN(config-router)#

Example
The following example displays how to configure an OSPF virtual link:
ZXAN_01(config)#router ospf 1
ZXAN_01(config-router)#area 1 virtual-link 15.15.15.15
ZXAN_02(config)#router ospf 1
ZXAN_02(config-router)#area 1 virtual-link 16.16.16.16
ZXAN_02(config-router)#

Related Commands
None

Related Information
If the area does not exist, it is created automatically.

46.10 auto-cost
Syntax
auto-cost reference-bandwidth ref-bw
no auto-cost reference-bandwidth

46-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To modify the reference bandwidth of the OSPF process

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

reference-bandwidth ref-bw

Reference bandwidth to assign

Range: 1 - 4000000 Mbps

OSPF cost

Default: 100 Mbps

Mode
ZXAN(config-router)#

Example
The following example displays how to modify the reference bandwidth of the OSPF
process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#auto-cost reference-bandwidth 10000
ZXAN(config-router)#

Related Commands
ip ospf cost

Related Information
If the OSPF process interface has not been configured using the ip ospf cost command,
the cost of the OSPF interface is the reference bandwidth divided by the interface
bandwidth. Otherwise, the cost of the OSPF interface is the value configured in the ip
ospf cost command for the interface. This command takes effect immediately after the
configuration.

46.11 capacity opaque


Syntax
capability opaque
no capability opaque

Purpose
To enable or disable a route to support Opaque LSA
46-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to disable a route to support Opaque LSA:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no capability opaque
ZXAN(config-router)#

Related Commands
show ip ospf database

Related Information
By default, opaque LSAs are allowed
During the exchange of link state database, opaque LSAs are included in the database
summary list and transmitted to the neighbor routers that also support opaque LSAs.
Before a router floods opaque LSAs to neighbor routers, it first checks whether the neighbor
routers support opaque LSAs. Opaque LSAs are transmitted only to the neighbor routers
that support the function, and they are added to the link state retransmit list of neighbor
routers. When LSU packets are multicasted, the neighbor routers that do not support the
function receive the LSAs passively and simply discard them.

46.12 clear ip ospf process


Syntax
clear ip ospf process process-id

Purpose
To restart the OSPF process

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process-id

OSPF process ID

Range: 1 - 65535

46-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN#

Example
The following example displays how to restart the OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#end
ZXAN#clear ip ospf process 1
ZXAN#

Related Commands
None

46.13 clear ip ospf redistribution


Syntax
clear ip ospf redistribution process-id

Purpose
To clear OSPF route redistribution

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process-id

OSPF process ID

Range: 1 65535

Mode
ZXAN#

Example
The following example displays how to clear OSPF route redistribution:
ZXAN#clear ip ospf redistribution 1
ZXAN#

Related Commands
None
46-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

46.14 compatible rfc 1583


Syntax
compatible rfc1583
no compatible rfc1583

Purpose
To restore the method used to calculate summary route costs per RFC 1583

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to restore the method used to calculate summary
route costs per RFC 1583:
ZXAN(config)#router ospf 1
ZXAN(config-router)#compatible rfc1583
ZXAN(config-router)#

Related Commands
None

Related Information
To minimize the chance of routing loops, all OSPF routers in an OSPF routing domain
should have RFC compatibility set identically.
Use the no compatible rfc1583 command to enable the calculation method used per RFC
2328.

46.15 debug
Syntax
debug
no debug

46-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the debug information for an OSPF process

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the debug information for an OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#debug
ZXAN(config-router)#

Related Commands
None

Related Information
Since the OSPF may have many processes, to enable the debug information may cause
mutual interference, and this command can be used to solve the problem.
This configuration is not written into database and not displayed in the show running-config
command.

46.16 default-metric
Syntax
default-metric metric-value
no default-metric

Purpose
To configure the default metric after the redistribution

Usage Guidelines
The following table provides parameter description:
Parameter
metric-value

Description

Value

Default cost value of the system

Range: 1 - 4294967295

external routes
46-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the default metric after the redistribution:
ZXAN(config)#router ospf 1
ZXAN(config-router)#default-metric 10
ZXAN(config-router)#

Related Commands
None

Related Information
This command takes effect only when the user has not configured the cost value of the
external routes.
This command does not affect redistribution. The metric value for OSPF redistribution can
be changed by only the redistribute command.

46.17 disable area


Syntax
disable area area-id

Purpose
To disable the specified area if it exists

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

OSPF area ID

Range: 0 - 4294967295

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the specified area if it exists:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable area 1

46-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-router)#

Related Commands
enable area

46.18 disable interface


Syntax
disable interface ip-address wildcard-mask

Purpose
To disable the OSPF interfaces in the specified range

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Interface IP address

A.B.C.D

wildcard-mask

OSPF wild card bits

A.B.C.D

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the interfaces in the specified range:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable interface 10.1.0.0 0.0.255.255
ZXAN(config-router)#

Related Commands
enable interface

46.19 disable ip ospf


Syntax
disable ip ospf process-id
46-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Purpose
To disable the OSPF protocol

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process-id

OSPF process ID

Range: 1 - 65535

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the OSPF protocol
ZXAN(config)#disable ip ospf 1
ZXAN(config)#

Related Commands
enable ip ospf

46.20 distance ospf


Syntax
distance ospf {[internal distance] [ext1 distance] [ext2 distance]}
no distance ospf {internal | ext1 | ext2}

Purpose
To configure the OSPF route administrative distances based on route type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

internal

Internal route distance value

Range: 1 - 255

ext1

Type-1 external routes

Range: 1 - 255

ext2

Type-2 external routes

Range: 1 - 255

distance

Distance

Range: 1 - 255
Default: 110

46-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the OSPF route administrative distances
based on route type:
ZXAN(config)#router ospf 1
ZXAN(config-router)#distance ospf internal 100
ZXAN(config-router)#

Related Commands
None

Related Information
When the routing priority is 255, this route in not valid.
This command performs the same function as the distance command used with an access
list. However, the distance ospf command allows the user to set a distance for an entire
group of routes, rather than a specific route that passes an access list.

46.21 enable area


Syntax
enable area area-id

Purpose
To enable the specified area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

OSPF area ID

Range: 0 - 4294967295

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the specified area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#enable area 1

46-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands


ZXAN(config-router)#

Related Commands
enable area

46.22 enable interface


Syntax
enable interface ip-address wildcard-mask

Purpose
To enable the OSPF interfaces in the specified range

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Interface IP address

A.B.C.D

wildcard-mask

OSPF wild card bits

A.B.C.D

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the interfaces in the specified range:
ZXAN(config)#router ospf 1
ZXAN(config-router)#enable interface 10.1.0.0 0.0.255.255
ZXAN(config-router)#

Related Commands
disable interface

46.23 enable ip ospf


Syntax
enable ip ospf process-id
46-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the OSPF protocol

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process-id

OSPF process ID

Range: 1 - 65535

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the OSPF protocol:
ZXAN(config)#enable ip ospf 1
ZXAN(config)#

Related Commands
disable ip ospf

46.24 filter
Syntax
filter [exact] ip-address net-mask preference
no filter ip-address net-mask preference

Purpose
To control whether to introduce the routing table for the routes generated by external LSAs
and the introducing priority

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

exact

Exact map address

ip-address net-mask

IP address and subnet mask

A.B.C.D

preference

Priority for introducing the

Range: 0 - 255

matched routes
46-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Mode
ZXAN(config-router)#

Example
The following example displays how to control whether to introduce the routing table for
the routes generated by external LSAs and the introducing priority:
ZXAN(config)#router ospf 1
ZXAN(config-router)#filter exact 10.10.10.0 55.255.255.0 20
ZXAN(config-router)#

Related Commands
None

46.25 grace-period
Syntax
grace-period num
no grace-period

Purpose
To configure the NSF grace period

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

num

Grace period number

Range: 120 1800


Default: 120

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the NSF grace period:
ZXAN(config)#router ospf 1
ZXAN(config-router)#grace-period 300
ZXAN(config-router)#

46-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
capacity opaque
nsf

46.26 ip ospf authentication


Syntax
ip ospf authentication [null | message-digest]
no ip ospf authentication

Purpose
To configure the authentication mode for the interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

null

Type 0 authentication mode

message-digest

Type 2 authentication mode

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the authentication mode for the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication message-digest
ZXAN(config-if)#

Related Commands
None

46.27 ip ospf authentication-key


Syntax
ip ospf authentication-key password
no ip ospf authentication-key
46-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Purpose
To configure the simple password authentication for the interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

password

Authentication password

Range: 1 - 8 characters

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the simple password authentication for
the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication-key ZXAN
ZXAN(config-if)#

Related Commands
None

Related Information
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ
`*- =~!@#$%^&()_+[]{}|;':,./<> \ are the characters allowed in a password.

46.28 ip ospf cost


Syntax
ip ospf cost cost
no ip ospf cost

Purpose
To configure the explicit interface cost

Usage Guidelines
The following table provides parameter description:

46-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

cost

Interface cost

Range: 1 - 65535

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the explicit interface cost:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf cost 10
ZXAN(config-if)#

Related Commands
auto-cost

Related Information
If ip ospf cost command is configured on an interface, the auto-cost reference-bandwidth
command is not effective. To enable the auto-cost reference-bandwidth command to take
effect, first delete the cost value configured by the ip ospf cost command.

46.29 ip ospf dead-interval


Syntax
ip ospf dead-interval seconds
no ip ospf dead-interval

Purpose
To configure the dead time of the specified interface neighbor

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Dead interval for neighbors on

Range: 1 - 65535 sec

the interface

Mode
ZXAN(config-if)#
46-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Example
The following example displays how to configure the dead time of the specified interface
neighbor:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf dead-interval 80
ZXAN(config-if)#

Related Commands
ip ospf hello-interval

Related Information
The dead-interval is generally configured to four times the hello-interval.

46.30 ip ospf hello-interval


Syntax
ip ospf hello-interval seconds
no ip ospf hello-interval

Purpose
To configure the time interval for the interface to send the Hello messages

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Hello message interval

Range: 1 - 65535 sec

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the time interval for the interface to send
the hello messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf hello-interval 20
ZXAN(config-if)#

46-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
ip ospf dead-interval

Related Information
The Hello-interval is generally configured to be 1/4th of the dead-interval.

46.31 ip ospf message-digest-key


Syntax
ip ospf message-digest-key keyid md5 password [delay time] encypt
no ip ospf message-digest-key keyid

Purpose
To configure the password serial number pair for the interface with message digest
authentication

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

keyid

Password serial number

Range: 1 - 255

md5 password

Authentication password

Range: 1 - 24 characters

delay time

Time delay before the key takes

Range: 0 - 100000 min

effect
encypt

Encrypt the set password

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the password serial number pair for the
interface with message digest authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf message-digest-key 2 md5 ZXAN
ZXAN(config-if)#

Related Commands
None
46-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Related Information
If the delay time parameter is used, the protocol data packets are not sent temporarily for
the specified time, but the interface can receive messages.
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*=~!@#$%^&_+[]{}|;:,./<>\ characters can be used for password.

46.32 ip ospf mtu-ignore


Syntax
ip ospf mtu-ignore
no ip ospf mtu-ignore

Purpose
To disable OSPF MTU mismatch detection on receiving DBD packets

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to disable OSPF MTU mismatch detection on
receiving DBD packets:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf mtu-ignore
ZXAN(config-if)#

Related Commands
None

Related Information
OSPF checks whether neighbors are using the same MTU on a common interface. This
check is performed when neighbors exchange Database Descriptor (DBD) packets. If the
receiving MTU in the DBD packet is higher than the IP MTU configured on the incoming
interface, OSPF adjacency is not established.

46-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

46.33 ip ospf network


Syntax
ip ospf network {broadcast | non-broadcast | point-to-point | point-to-multipoint [non-broad
cast]}
no ip ospf network [broadcast | non-broadcast | point-to-point | point-to-multipoint [non-br
oadcast]]

Purpose
To configure the interface type

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

broadcast

OSPF broadcast multi-access

network
non-broadcast

OSPF non-broadcast network

point-to-point

OSPF point-to-point network

point-to-multipoint

OSPF point-to-multipoint

network

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface type:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf network point-to-point
ZXAN(config-if)#

Related Commands
None

Related Information
The default interface type depends on network types. Point-to-multipoint type needs
configuration.

46-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

46.34 ip ospf priority


Syntax
ip ospf priority priority
no ip ospf priority

Purpose
To configure the interface priority

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

priority

Interface priority

Range: 0 - 255
Default: 1

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface priority:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf priority 10
ZXAN(config-if)#

Related Commands
None

Related Information
Interface priority is configured to 0 when the router cannot be used as DR and BDR.

46.35 ip ospf retransmit-interval


Syntax
ip ospf retransmit-interval seconds
no ip ospf retransmit-interval

46-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the interface LSA retransmission time interval

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Time interval for retransmission

Range: 1 - 65535 sec


Default: 5 sec

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface LSA retransmission time
interval:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf retransmit-interval 10
ZXAN(config-if)#

Related Commands
None

46.36 ip ospf transmit-delay


Syntax
ip ospf transmit-delay seconds
no ip ospf transmit-delay

Purpose
To configure the delay for the interface to transmit a link status update packet

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Delay for transmitting a link

Range: 1 - 65535 sec

state update packet

Default: 1 sec

46-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the delay for the interface to transmit a
link status update packet:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf transmit-delay 2
ZXAN(config-if)#

Related Commands
None

46.37 maximum-paths
Syntax
maximum-paths number
no maximum-paths [number]

Purpose
To configure the maximum routes supported in load balance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number

Maximum number of the routes

Range: 1 - 8

supported in load balance

Default: 1

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the maximum routes supported in load
balance:
ZXAN(config)#router ospf 1
ZXAN(config-router)#maximum-paths 4
ZXAN(config-router)#

46-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

Related Information
When the router has a complete link state database, it is ready to create its routing table
for stream forwarding. The default overhead metric is the bandwidth based on network
medium. To calculate the minimum overhead to the destination, the routing table stores at
most eight entries with the same overhead for load balancing. This can be configured by
the maximum-paths command.
The router generally selects the path with the minimum metric value. If there are multiple
paths with the minimum and identical metric value, load balancing is enabled on these
paths. The maximum-paths command can be used to support up to eight paths with the
same metric value.
This command is valid immediately but it takes some time for system to process this
command.

46.38 neighbor
Syntax
neighbor ip-address [cost cost] [priority priority] [poll-interval seconds]
no neighbor ip-address [cost cost] [priority priority] [poll-interval seconds]

Purpose
To configure the neighbor router on the non-broadcast network

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address of the neighbor

A.B.C.D

cost cost

Cost to the neighbor

Range: 1 - 65535

priority priority

Neighbor priority

Range: 0 - 255

poll-interval seconds

Neighbor polling interval

Range: 120 - 65535

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the neighbor router on the non-broadcast
network:
46-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands


ZXAN(config)#router ospf 1
ZXAN(config-router)#neighbor 10.1.1.0
ZXAN(config-router)#

Related Commands
None

Related Information
The no neighbor ip-address cost command restores default neighbor cost.
The no neighbor ip-address priority command restores default neighbor priority.
The no neighbor ip-address poll-interval command restores default neighbor polling
interval.
The no neighbor ip-address command is used to delete a specified neighbor. Similar to the
configuring a neighbor, this command also enables interface traversal to find the interface
neighbor and delete the neighbor.

46.39 network
Syntax
network ip-address wildcard-mask [area area-id]
no network ip-address wildcard-mask [area area-id]

Purpose
To configure the interfaces where the OSPF protocol runs, and define the area ID for these
interfaces

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

wildcard-mask

Wild card mask bits

A.B.C.D

area-id

OSPF area ID

Range: 0 - 4294967295

Mode
ZXAN(config-router)#

46-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the interfaces where the OSPF protocol
runs, and define the area ID for these interfaces:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip address 10.10.1.1 255.255.255.0
ZXAN(config-if)#exit
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.10.1.0 0.0.0.255 area 0
ZXAN(config-router)#

Related Commands
None

46.40 no area
Syntax
no area area-id

Purpose
To delete the specified area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-id

OSPF area ID

Range: 0 - 4294967295

Mode
ZXAN(config-router)#

Example
The following example displays how to delete the specified area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no area 1
ZXAN(config-router)#

Related Commands
disable area
46-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

enable area

Related Information
If there is any network command related to this area in the configuration database, the
configuration is simultaneously deleted. If the specified area does not exist, this command
becomes ineffective.
If the area is configured with virtual link, the command returns failure.

46.41 notify default route


Syntax
notify default route [always] [metric metric-value] [metric-type type] [route-map map-tag]
no notify default route [always] [metric metric-value] [metric-type type] [route-map map-tag]

Purpose
To notify the default route

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

always

Always notify default route

metric metric-value

OSPF default metric

Range: 0 - 16777214
Default: 1

metric-type type

Metric type

Keywords: ext-1, ext-2


Default: ext-2

route-map map-tag

Route map reference name

Range: 1 - 16 characters

Mode
ZXAN(config-router)#

Example
The following example displays how to notify the default route:
ZXAN(config)#router ospf 1
ZXAN(config-router)#notify default route always metric 20 metric-type
ext-1 route-map map
ZXAN(config-router)#

46-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

46.42 nsf
Syntax
nsf
no nsf

Purpose
To configure the forward uninterrupted (NSF) capacity

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the forward uninterrupted (NSF) capacity:
ZXAN(config)#router ospf 1
ZXAN(config-router)#nsf
ZXAN(config-router)#

Related Commands
capacity opaque
grace-period

46.43 passive-interface
Syntax
passive-interface {default | interface}

Purpose
To configure an interface as a passive interface so that the interface cannot send any Hello
packet, receive any packet and establish neighbor-ship and adjacency with other routers

46-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

default

All interfaces as passive

interface
interface

Interface name

Mode
ZXAN(config-router)#

Example
The following example displays how to configure an interface as a passive interface so that
the interface cannot send any Hello packet, receive any packet and establish neighbor-ship
and adjacency with other routers:
ZXAN(config)#router ospf 1
ZXAN(config-router)#passive-interface vlan 2
ZXAN(config-router)#

Related Commands
None

46.44 redistribute
Syntax
redistribute protocol [as as-number] [peer peer-address] [tag tag-value] [metric metric-value]
[metric-type type] [route-map map-tag]
no redistribute protocol [as as-number] [peer peer-address] [tag] [metric] [metric-type] [routemap]

Purpose
To redistribute the other protocol routes into the OSPF autonomous system

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

protocol

Filtering based on a protocol

Keywords: bgp-ext, bgp-int,


connected, isis-1, isis-1-2,
isis-2, rip, static

46-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

as as-number

AS number of the peer

Range: 1 - 65535

peer peer-address

IP address of the peer

A.B.C.D

tag tag-value

Tag value

Range: 0 - 4294967295

metric metric-value

Metric value

Range: 0 - 16777214

metric-type type

Metric type

Keywords: ext-1, ext-2

route-map map-tag

Route map name

Range: 1 - 16 characters

Mode
ZXAN(config-router)#

Example
The following example displays how to redistribute the other protocol routes into the OSPF
autonomous system:
ZXAN(config)#router ospf 1
ZXAN(config-router)#redistribute bgp-int tag 1 route-map map
ZXAN(config-router)#no redistribute bgp-int route-map
ZXAN(config-router)#

Related Commands
None

Related Information
no redistribute protocol command is used to remove the redistribution of routes.
no redistribute protocol tag command is used to restore the protocol routing redistribution
Type 5 LSA value to default.
no redistribute protocol metric command is used to restore the Type 5 LSA's metric value
to default.
no redistribute protocol metric type command is used to restore routing redistribution Type
5 LSA's metric type to default.
If no redistribute protocol route-map command is used, no filtering occurs and all routes
are redistributed..

46.45 router-id
Syntax
router-id ip-address
46-40
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

no router-id

Purpose
To specify the router ID for an OSPF process

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

OSPF router ID

A.B.C.D

Mode
ZXAN(config-router)#

Example
The following example displays how to specify the router ID for an OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#router-id 5.5.5.5
ZXAN(config-router)#

Related Commands
None

Related Information
This configuration takes effect after the router restarts or the OSPF process is restarted
manually. The OSPF is manually restarted with the clear ip ospf process command.
By default, OSPF process automatically selects the OSPF router ID.

46.46 show ip ospf


Syntax
show ip ospf [process-id]

Purpose
To display the OSPF protocol and OSPF areas summary information

Usage Guidelines
The following table provides parameter description:
46-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

process process-id

Process ID

Range: 1 - 65535

Mode
Any mode except user mode

Example
The following example displays the OSPF protocol and OSPF areas summary information:
l

show ip ospf (OSPF protocol is not activated)


ZXAN#show ip ospf
There is no OSPF instance

ZXAN#

show ip ospf (OSPF protocol is activated)


ZXAN#show ip ospf
OSPF 1 Router ID 5.5.5.5 enable
Enabled for 00:11:18,Debug on
Number of areas 3, Stub 0, Transit 0
Number of interfaces 1
Number of neighbors 0
Number of adjacent neighbors 0
Number of virtual links 0
Total number of entries in LSDB 4
Number of ASEs in LSDB 0, Checksum Sum 0x00000000
Number of grace LSAs 0
Number of new LSAs received 0
Number of self originated LSAs 9
Hold time between consecutive SPF 1 secs
Non-stop Forwarding enabled, last NSF restart
1d6h ago (took 0 secs)

Area 0.0.0.0 enable


Enabled for 00:11:18
Area has no authentication
Times spf has been run 1
Number of interfaces 1. Up 0
Number of ASBR local to this area 1
Number of ABR local to this area 0
Total number of intra/inter entries in LSDB 1.
Checksum Sum 0x00000632
Area-filter out not set
Area-filter in not set

46-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands


Area ranges count 0

Area 0.0.0.1 enable


Enabled for 00:11:19
It is a nssa area
Metric for default route 10
Area has MD5 authentication
Times spf has been run 2
Number of interfaces 0. Up 0
Number of ASBR local to this area 1
Number of ABR local to this area 0
Total number of intra/inter entries in LSDB 2.
Checksum Sum 0x0000faf2
Area-filter ZXAN out
Area-filter ZXAN in
Area ranges count 1
10.1.0.0

255.255.0.0

advertise

Area 0.0.0.10 enable


Enabled for 00:11:19
Area has no authentication
Times spf has been run 1
Number of interfaces 0. Up 0
Number of ASBR local to this area 1
Number of ABR local to this area 0
Total number of intra/inter entries in LSDB 1.
Checksum Sum 0x00000632
Area-filter out not set
Area-filter in not set
Area ranges count 0

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

OSPF Router ID

ID of the OSPF protocol router

enable/disable

Status of the current OSPF process (enabled


or disabled)

Number of areas

Number of the OSPF areas

Normal

Number of the non-stub areas

Stub

Number of the stub areas

46-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Information

Description

Transit

Number of the transmission areas

Number of interfaces

Number of the OSPF interfaces

Number of neighbors

Number of the OSPF neighbors

Number of virtual links

Number of the OSPF virtual links

Total number of entries in LSDB

Total number of the LSAs

Number of ASEs in LSDB

Total number of the ASE LSAs

Checksum Sum

Sum of the checksums of the ASE and LSA

Number of new LSAs received

Number of the new LSAs received

Number of self originated LSAs

Number of the LSAs generated by the router

Area

ID of the OSPF area

Enable/disable

Area status (enabled or disabled)

It is a stub area

(Effective to the stub area) ABR can send the


collected route information to the stub area

It is a stub area, no summary LSA

(Effective to the stub area) ABR cannot send


the collected route information to the stub area

Metric for default route

(Effective to the stub area) default route cost of


the advertisement to the stub area

Area has no authentication

No authentication in the area

area has simple password authentication

Simple password authentication is used in the


area

Times spf has been run

Number of times the SPF algorithm is executed

Number of interfaces

Number of the OSPF interfaces in the area

Up

Number of the OSPF interfaces in the Up


status in the area

Number of ASBR local to this area

The number of the ASBRs in the area

Number of ABR local to this area

Number of the ABRs in the area

Total number of intra/inter entries in LSDB

Number of the LSAs between and in the areas

Checksum Sum

The sum of the checksums of the LSAs


between and in the areas

Area ranges count

Number of the collected address ranges in the


area configuration

100.1.1.0 255.255.255.0

List the IP addresses and masks of the


collected address ranges in turn

46-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Related Commands
None

46.47 show ip ospf border-routers


Syntax
show ip ospf border-routers [process process-id]

Purpose
To display the ABR and ASBR internal OSPF routing information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process process-id

OSPF process ID

Range: 1 - 65535

display

Mode
Any mode except user mode

Example
The following example displays the ABR and ASBR internal OSPF routing information:
ZXAN#show ip ospf border-routers process 1
OSPF Router with ID (10.10.2.2) (Process ID 1)
OSPF internal Routing Table
Destination

Type

RteType

Area

160.89.97.53

144.144.1.53

Next Hop

Cost
10

ABR

INTRA

0.0.0.3

160.89.103.51

160.89.96.51

10

ABR

INTRA

0.0.0.3

160.89.103.52

160.89.96.51

20

ASBR

INTER

0.0.0.3

160.89.103.52

144.144.1.53

30

ASBR

INTER

0.0.0.3

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Destination

ID of the receiving end router

Next Hop

Next-hop to the receiving end


46-45

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Information

Description

Cost

Path cost

Type

Type of the receiving end router. It cany be ABR,


or the ASBR, or both.

RteType

Path type. It can be an internal area path or an


external area path.

Area

Path area ID

Related Commands
None

46.48 show ip ospf database


Syntax
show ip ospf database [database-summary | adv-router router-id | self-originate] [area area-id]
[process process-id]
show ip ospf database router [link-state-id] [adv-router router-id | self-originate] [area area-id]
[process process-id]
show ip ospf database network [link-state-id] [adv-router router-id | self-originate] [area area
-id] [process process-id]
show ip ospf database summary [link-state-id] [adv-router router-id | self-originate] [area are
a-id] [process process-id]
show ip ospf database asbr-summary [link-state-id] [adv-router router-id | self-originate] [area
area-id] [process process-id]
show ip ospf database nssa [link-state-id] [adv-router router-id | self-originate] [area area-id]
[process process-id]
show ip ospf database external [link-state-id] [adv-router router-id | self-originate] [area areaid] [process process-id]
show ip ospf database [opaque-area| opaque-link ] [link-state-id] [adv-router router-id | self-o
riginate] [area area-id] [process process-id]

Purpose
To display the specified router OSPF database information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

database-summary

Database summary

46-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Parameter

Description

Value

adv-router router-id

Advertising router link states

A.B.C.D

router

Router link status

network

Network link status

summary

Network summary link status

asbr-summary

ASBR summary link states

nssa

NSSA link status

external

External link status

opaque-link

Opaque-link status

opaque-area

Opaque-area link status

link-state-id

Link status ID

A.B.C.D

self-originate

Self-originated link states

area area-id

OSPF area

process process-id

OSPF process ID

Range: 1 - 65535

Mode
Any mode except user mode

Example
The following example displays the specified router OSPF database information:
l

show ip ospf database


ZXAN#show ip ospf database

OSPF Router with ID (5.5.5.5) (Process ID 1)

Router Link States (Area 0.0.0.0)

Link ID ADV Router Age


5.5.5.5 5.5.5.5

Seq#

Checksum Link count

13237 0x80000002 0x632

Router Link States (Area 0.0.0.1)

Link ID ADV Router Age


5.5.5.5 5.5.5.5

Seq#

Checksum Link count

13237 0x80000002 0xdfd

Type-7 AS External Link States (Area 0.0.0.1)

Link ID ADV Router Age

Seq#

0.0.0.0 5.5.5.5

0x80000009 0xdefc

636

Checksum

Tag
3489660928

46-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Router Link States (Area 0.0.0.10)


Link ID ADV Router ge
5.5.5.5 5.5.5.5

Seq#

Checksum

13237 0x80000002 0x632

Link count
0

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Link ID

Link status number

ADV Router

Advertisement router ID

Age

Link status age

Seq#

Link status serial number

Checksum

Checksum of the whole link status


advertisements

Link count

Quantity of the connections included in the


router link status advertisement

show ip ospf database summary


ZXAN#show ip ospf database summary

OSPF Router with ID (192.168.2.1) (Process ID 1)

Summary Net Link States (Area 0.0.0.1)

LS age: 98
Options: (No TOS-capability, No DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 0.0.0.0 (Summary Network Number)
Advertising Router: 192.168.2.1
LS Seq Number: 0x80000002
Checksum: 0x717f
Length: 28
Network Mask: /0
TOS: 0

Metric: 1

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

OSPF Router with id

Router ID

Process ID

OSPF process number


46-48

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Information

Description

LS age

Link status age

Options

Service type option (always 0)

Seq#

Link status serial number

LS Type

Link status type

Link State ID

Link status number

Advertising Router

Advertisement router ID

LS Seq Number

Link status serial number

Checksum

Checksum of the whole link status


advertisements

Length

Length of the link status advertisement

Network Mask

Network mask

TOS

Service type

Metric

Link status penalty

show ip ospf database external


ZXAN#show ip ospf database external
OSPF Router with ID (110.1.1.1) (Process ID 1)
Type-5 AS External Link States
LS age: 18
Options: (No TOS-capability, No DC)
LS Type: AS External Link
Link State ID: 111.1.0.0 (External Network Number)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000001
Checksum: 0x4ae3
Length: 36
Network Mask: /16
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 110.1.1.111
External Route Tag: 3489660928

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

OSPF Router with id

Router ID

46-49
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Information

Description

Process ID

OSPF process number

LS age

Link status age

Options

The service type option (always 0)

Seq#

Link status serial number

LS Type

Link status type

Link State ID

Link status number

Advertising Router

Advertisement router ID

LS Seq Number

Link status serial number

Checksum

Checksum of the whole link status


advertisements

Length

Length of the link status advertisement

Network Mask

Network mask

Metric Type

External type

TOS

Service type

Metric

Link status penalty

Forward Address

Forwarding address. If it is 0.0.0.0, the


advertisement router is used for the
forwarding.

External Route Tag

32-digit added value of the external routes.


The OSPF protocol does not use it by itself.

show ip ospf database network


ZXAN#show ip ospf database network
OSPF Router with ID (110.1.1.1) (Process ID 1)
Net Link States (Area 0.0.0.1)
Routing Bit Set on this LSA
LS age: 789
Options: (No TOS-capability, No DC)
LS Type: Network Links
Link State ID: 168.1.1.1 (Address of Designated Router)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000002
Checksum: 0x9787
Length: 32
Network Mask: /16
Attached Router: 110.1.1.1
Attached Router: 168.1.1.3

46-50
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands


ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

OSPF Router with id

Router ID

Process ID

OSPF process number

LS age

Link status age

Options

Service type option (always 0)

Seq#

Link status serial number

LS Type

Link status type

Link State ID

Link status number

Advertising Router

Advertisement router ID

LS Seq Number

Link status serial number

Checksum

Checksum of the whole link status


advertisements

Length

Length of the link status advertisement

Network Mask

Network mask

Attached Router

Address list of the OSPF routers connected


with the network

show ip ospf database router


ZXAN#show ip ospf database router

OSPF Router with ID (5.5.5.5) (Process ID 1)

Router Link States (Area 0.0.0.0)

Routing Bit Set on this LSA


LS age: MAXAGE(13596)
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 5.5.5.5
Advertising Router: 5.5.5.5
LS Seq Number: 0x80000002
Checksum: 0x632
Length: 24
AS Boundary Router
Number of Links: 0

46-51
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Router Link States (Area 0.0.0.1)

Routing Bit Set on this LSA


LS age: MAXAGE(13596)
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 5.5.5.5
Advertising Router: 5.5.5.5
LS Seq Number: 0x80000002
Checksum: 0xdfd
Length: 36
AS Boundary Router
Number of Links: 1

Link connected to: a Stub Network


(Link ID) Network/subnet number: 10.1.1.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 10

Router Link States (Area 0.0.0.10)

Routing Bit Set on this LSA


LS age: MAXAGE(13602)
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 5.5.5.5
Advertising Router: 5.5.5.5
LS Seq Number: 0x80000002
Checksum: 0x632
Length: 24
AS Boundary Router
Number of Links: 0

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

OSPF Router with id

Router ID

Process ID

OSPF process number

LS age

Link status age

Options

Service type option (always 0)

46-52
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Information

Description

Seq#

Link status serial number

LS Type

Link status type

Link State ID

Link status number

Advertising Router

Advertisement router ID

LS Seq Number

Link status serial number

Checksum

Checksum of the whole link status


advertisements

Length

Length of the link status advertisement

AS Boundary Router

Type of the router

Number of Links

Link quantity

link ID

Link ID

Link Data

Link data, with different meanings for different


links

Metric Type

External type

show ip ospf database database-summary


ZXAN#show ip ospf database database-summary

OSPF Router with ID (5.5.5.5) (Process ID 1)

Area 0.0.0.0 database summary


LSA Type

Count

Router

Network

Summary Net

Summary ASBR

Type-7 Ext

Opaque Link

Opaque Area

Subtotal

Area 0.0.0.1 database summary


LSA Type

Count

Router

Network

Summary Net

Summary ASBR

Type-7 Ext

Opaque Link

46-53
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Opaque Area

Subtotal

Area 0.0.0.10 database summary


LSA Type

Count

Router

Network

Summary Net

Summary ASBR

Type-7 Ext

Opaque Link

Opaque Area

Subtotal

Process 1 database summary


LSA Type

Count

Router

Network

Summary Net

Summary ASBR

Type-7 Ext

Opaque Link

Opaque Area

Type-5 Ext

Opaque AS

Total

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

OSPF Router with id

Router ID

Process ID

OSPF process number

Area database summary

Database statistics in the area

LSA Type

Link status type

Count

Quantity

Router

Router link status advertisements

Network

Network route status advertisement

Summary Net

Network summary link status advertisement

Summary ASBR

Summary link status advertisements of the AS


border

46-54
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Information

Description

Type-7 Ext

Type 7 external link status advertisement

Opaque Link

Always 0

Opaque Area

Always 0

Subtotal

Total quantity of the LSAs in the area

Type-5 Ext

Type 5 external link status advertisement

Opaque AS

Always 0

Related Commands
None

46.49 show ip ospf interface


Syntax
show ip ospf interface [interface-name] [process process-id]

Purpose
To display the OSPF interface information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface-name

Interface name

process process-id

OSPF process ID

Range: 1 - 65535

Mode
Any mode except user mode

Example
The following example displays the OSPF interface information:
ZXAN#show ip ospf interface vlan 2 process 1

OSPF Router with ID (5.5.5.5) (Process ID 1)

vlan2 is down
Internet Address 10.10.1.1 255.255.255.0 disable
Up for 00:00:00
In the area 0.0.0.0

46-55
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Cost 10, Priority 10, Network Type point-to-point
Transmit Delay(sec) 10, Authentication Type message-digest
Timer intervals(sec) : Hello 20, Dead 80, Retransmit 10
Number of Neighbors 0, Number of Adjacent neighbors 0

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

vlan2

Interface type and number

up/down

Lower layer interface status

Internet Address

OSPF interface IP address and mask

enable/disable

OSPF interface status

Up for

Time when the interface is enabled

In the area

Area that the OSPF belongs to

Cost

Interface cost

Priority

Interface priority

Network Type

Interface type (broadcast /NBMA/point-to-point)

Transmit Delay (sec)

Delay for the interface to transmit a link status


update data packet

Authentication Type

Authentication type for the interface

Timer intervals (sec)

List the intervals of the timers of the interface

Hello

Time interval for the interface to send the HELLO


message

Dead

Death time of the neighbor on the interface

Retransmit

Time interval for the interface to re-send the LSA

Designated Router (ID)

Router ID of the DR

Interface address

Interface IP address of the DR

Backup Designated router (ID)

Router ID of the BDR

Interface address

Interface IP address of the BDR

Number of Neighbors

Number of the neighbors for the interface

Number of Adjacent neighbors

Number of the adjacent neighbors for the


interface

Adjacent with neighbor

List the IDs of the routers adjacent with the


interface

46-56
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Related Commands
None

46.50 show ip ospf neighbor


Syntax
show ip ospf neighbor [interface interface-name] [neighbor-id neighbor] [process process-id]

Purpose
To display the OSPF neighbor information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interface interface-name

Interface number

Loopback Range: 1 - 64
Super VLAN Range: 1 - 32
VLAN Range: 1 - 4094

neighbor-id neighbor

Neighbor router ID

A.B.C.D

process process-id

Process ID

Range: 1 - 65535

Mode
Any mode except user mode

Example
The following example displays the OSPF neighbor information:
ZXAN#show ip ospf neighbor
OSPF Router with ID (10.10.10.10) (Process ID 200)
Neighbor 134.1.1.201
In the area 0.0.0.0
via interface gei_1/3 134.1.1.201
Neighbor is DROTHER
State FULL, priority 0, Cost 1
Queue count : Retransmit 0, DD 0, LS Req 0
Dead time : 00:00:38 Options : 0x42
In Full State for 00:03:52

ZXAN#

The following table describes the parameters displayed in the example:

46-57
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Information

Description

Neighbor

Neighbor ID

In the area

Area that the neighbor belongs to

DR

Router ID of the DR

BDR

Router ID of the BDR

State

Neighbor status

Priority

Neighbor priority

Cost

Neighbor cost

Queue count

Lengths of the neighbor queues and their


descriptions

Retransmit

Length of the retransmit queue

DD

Length of the DD queue

LS Req

Length of the request queue

Dead Time

Minimum time to the down of the neighbor

Options

Neighbor options

In Full State

Time period since the full state

Related Commands
None

46.51 show ip ospf nsf


Syntax
show ip ospf nsf

Purpose
To display the OSPF NSF information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the OSPF NSF information:
l

show ip ospf nsf: NSF helper interface and restart interface.


46-58

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands


ZXAN#show ip ospf nsf
OSPF Router with ID (134.1.1.200) (Process ID 200)OSPF instance is
in normal state

ZXAN#

show ip ospf nsf: NSF restart interface information.


ZXAN#show ip ospf nsf
OSPF Router with ID (134.1.1.200) (Process ID 200)
OSPF instance is graceful restarting
Restart reason is switch to redundant control processor
Grace period 240
Start time 000000
Time to leave 223 s
Helper 134.1.1.201
In the area 0.0.0.0
via interface gei_1/3 134.1.1.201
Neighbor is DR
State 2WAY

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Restart reason

Reason for the non-stop forward transmission

Grace period

Longest time period for the non-stop forward


transmission

Start time

Start time for non-stop forward transmission

Time to leave

Remaining time for the non-stop forward


transmission

Helper

Help router ID

In the area

Non-stop forwarding link area

via interface fei_1/1

Helper interface type, number and IP address

State

Help state

show ip ospf nsf: NSF helper interface information.


ZXAN#show ip ospf nsf
OSPF Router with ID (134.1.1.201) (Process ID 200)
This router is a helper of graceful restart
Restarting router ID 134.1.1.200
In the area 0.0.0.0

46-59
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


via interface gei_1/3 134.1.1.200
Neighbor is BDR
State EXCH
Max grace period 240
Start time 00:23:42
Time to leave 219 s

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Restarting router ID

Restarting router ID

In the area

Non-stop forwarding link area

via interface gei_1/3

Helper interface type, number and IP address

Neighbor is BDR

Neighbor is BDR

State

Help state

Start time

Start time for non-stop forward transmission

Max grace period

Longest time period for the non-stop forward


transmission

Time to leave

Remaining time for the non-stop forward


transmission

Related Commands
None

46.52 show ip ospf request-list


Syntax
show ip ospf request-list [neighbor | interface-name interface-neighbor] [process process-id]

Purpose
To display all the link status advertisement lists requested by the router

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

neighbor

Neighbor

46-60
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Parameter

Description

Value

interface-name

Interface name

interface-neighbor

Interface neighbor

process process-id

Process ID

Range: 1 - 65535

Mode
Any mode except user mode

Example
The following example displays all the link status advertisement lists requested by the
router:
ZXAN#show ip ospf request-list
OSPF Router with ID (200.1.1.11) (Process ID 1)
Neighbor 200.1.1.12, interface vlan2 address 144.1.1.12
Type

LS ID

200.1.1.12

ADV RTR

Seq NO

200.1.1.12

Age Checksum

0x8000020D

0x6572

ZXAN#

Related Commands
None

46.53 show ip ospf retransmission-list


Syntax
show ip ospf retransmission-list [neighbor | interface-name interface-neighbor] [process proces
s-id]

Purpose
To display the link status advertisement list resent by the router

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

neighbor

Neighbor

interface-name

Interface name

interface-neighbor

Interface neighbor

46-61
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

process process-id

Process ID

Range: 1 - 65535

Mode
Any mode except user mode

Example
The following example displays the link status advertisement list resent by the router:
ZXAN#show ip ospf retransmission-list
OSPF Router with ID (192.168.2.1) (Process ID 1)

ZXAN#

Related Commands
None

46.54 show ip ospf virtual-links


Syntax
show ip ospf virtual-links [process process-id]

Purpose
To display the information about OSPF virtual links

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

process process-id

Process ID

Range: 1 - 65535

Mode
Any mode except user mode

Example
The following example displays the information about OSPF virtual links
l

show ip ospf virtual-links


ZXAN#show ip ospf virtual-links
ZXAN#

46-62
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

show ip ospf virtual-links


ZXAN#show ip ospf virtual-links
Virtual Link to router 180.1.1.1
Transit area 0.0.0.1
via interface gei_1/3/1 200.1.1.2
State DOWN, Transmit Delay (sec) 1, Cost 5
Timer intervals (sec) : Hello 10, Dead 40, Retransmit 5

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Virtual Link to router

Virtual Link neighbor

Transit area

Virtual regional transmission links

Via interface gei_1/3/1

Interface type, number and IP address

State

Current state of the virtual link

Transmit Delay (sec)

Link state update packet transmission time

Cost

Virtual link cost

Timer intervals (sec)

Virtual link time interval before it is listed

Hello

Virtual link to send Hello message

Dead

Virtual link neighbor's dead time interval

Retransmit

Virtual link LSA retransmission interval

Related Commands
None

46.55 summary-address
Syntax
summary-address ip-address net-mask
no summary-address ip-address net-mask

Purpose
To create aggregate addresses for OSPF

Usage Guidelines
The following table provides parameter description:
46-63
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

ip-address

Summary IP address

A.B.C.D

designated for a range of


addresses
net-mask

IP subnet mask used for the

A.B.C.D

summary route

Mode
ZXAN(config-router)#

Example
The following example displays how to create aggregate addresses for OSPF:
ZXAN(config)#router ospf 1
ZXAN(config-router)#summary-address 10.1.0.0 255.255.0.0
ZXAN(config-router)#

Related Commands
None

Related Information
By default, this command is disabled.
Multiple groups of addresses can be summarized for a given level. Routes learned from
other routing protocols can also be summarized. The metric used to advertise the summary
is the smallest metric of all the more specific routes. This command helps reduce the size
of the routing table.
Using this command for OSPF causes an OSPF ASBR to advertise one external route as
an aggregate for all redistributed routes that are covered by the address. For OSPF, this
command summarizes only routes from other routing protocols that are being redistributed
into OSPF.
OSPF does not support the summary-address 0.0.0.0 0.0.0.0 command.

46.56 timers lsa-group-pacing


Syntax
timers lsa-group-pacing seconds
no timers lsa-group-pacing

46-64
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 46 OSPF Protocol Commands

Purpose
To change the interval at which OSPF LSAs are collected into a group and refreshed,
checksummed, or aged

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Interval at which LSAs are

Range: 1 - 2 sec

grouped and refreshed,

Default: 1 sec

checksummed, or aged

Mode
ZXAN(config-router)#

Example
The following example displays how to change the interval at which OSPF LSAs are
collected into a group and refreshed, checksummed, or aged:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers lsa-group-pacing 2
ZXAN(config-router)#

Related Commands
None

Related Information
By default, OSPF LSA group pacing is enabled.

46.57 timers spf


Syntax
timers spf spf-holdtime
no timers spf

Purpose
To configure the minimum time interval between two continuous SPF computations

Usage Guidelines
The following table provides parameter description:
46-65
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

spf-holdtime

Hold time between consecutive

Range: 1 - 65535 sec

SPF computations

Default: 1 sec

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the minimum time interval between two
continuous SPF computations:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers spf 2
ZXAN(config-router)#

Related Commands
None

46-66
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47

BGP Protocol Commands


Table of Contents
enable ip bgp ...........................................................................................................47-2
router bgp.................................................................................................................47-3
address-family ipv4 multicast....................................................................................47-4
aggregate-adress .....................................................................................................47-5
bgp always-compare-med ........................................................................................47-6
bgp as ......................................................................................................................47-7
bgp client-to-client reflection .....................................................................................47-8
bgp cluster-id ...........................................................................................................47-9
bgp confederation identifier ....................................................................................47-10
bgp confederation peers.........................................................................................47-10
bgp dampening ...................................................................................................... 47-11
bgp default ipv4-unicast..........................................................................................47-12
bgp default local-preference ...................................................................................47-13
bgp default route-targer filter ..................................................................................47-14
bgp fast-external-fallover ........................................................................................47-15
bgp graceful-restart ................................................................................................47-16
bgp router-id...........................................................................................................47-17
bgp update-delay ...................................................................................................47-17
clear ip bgp dampening ..........................................................................................47-18
clear ip bgp flap-statistics .......................................................................................47-19
default-information originate ...................................................................................47-20
default-metric .........................................................................................................47-21
disable ip bgp .........................................................................................................47-22
distance bgp...........................................................................................................47-22
enable ip bgp .........................................................................................................47-23
exit-address-family .................................................................................................47-24
ip as-path access-list..............................................................................................47-25
ip community-list ....................................................................................................47-26
ip prefix-list.............................................................................................................47-27
maximum-paths......................................................................................................47-28
neighbor activate....................................................................................................47-29
neighbor advertisement-interval .............................................................................47-30
neighbor allowas-in ................................................................................................47-31
neighbor default-originate.......................................................................................47-32
neighbor description ...............................................................................................47-33
neighbor ebgp-multihop..........................................................................................47-34
neighbor maximum-prefix .......................................................................................47-35
47-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

neighbor next-hop-self............................................................................................47-36
neighbor passive ....................................................................................................47-37
neighbor password .................................................................................................47-38
neighbor prefix-list ..................................................................................................47-39
neighbor remote-as ................................................................................................47-40
neighbor remove-private-as....................................................................................47-41
neighbor route-map ................................................................................................47-42
neighbor route-reflector-client.................................................................................47-43
neighbor send-community ......................................................................................47-45
neighbor send-med ................................................................................................47-46
neighbor shut-down................................................................................................47-46
neighbor soft-reconfiguration ..................................................................................47-47
neighbor timers ......................................................................................................47-48
neighbor update-source..........................................................................................47-49
network ..................................................................................................................47-51
redistribute .............................................................................................................47-51
reset ip bgp ............................................................................................................47-52
synchronization ......................................................................................................47-53
show bgp all neighbor ............................................................................................47-54
show bgp all protocol..............................................................................................47-56
show bgp all summary............................................................................................47-56
show bgp ipv4 multicast .........................................................................................47-58
show bgp ipv4 multicast neighbor...........................................................................47-60
show bgp ipv4 unicast ............................................................................................47-62
show bgp ipv4 unicast dampening dampened-paths...............................................47-65
show bgp ipv4 unicast dampening flap-statistics.....................................................47-65
show bgp ipv4 unicast neighbor .............................................................................47-66
show bgp ipv4 unicast summary.............................................................................47-69
show ip as-path-access-list ....................................................................................47-70
show ip bgp dampened-paths.................................................................................47-71
show ip bgp flap-statistics.......................................................................................47-72
show ip bgp neighbor .............................................................................................47-72
show ip bgp protocol ..............................................................................................47-76
show ip bgp route ...................................................................................................47-76
show ip bgp summary ............................................................................................47-78
show ip community-list ...........................................................................................47-79
show ip prefix-list....................................................................................................47-80
timers bgp ..............................................................................................................47-81

47.1 enable ip bgp


Syntax
enable ip bgp

47-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Purpose
To restore the BGP session

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to restore the BGP session:
ZXAN(config)#enable ip bgp
ZXAN(config)#

Related Commands
disable ip bgp

Related Information
This command takes effect only for the active BGP sessions.

47.2 router bgp


Syntax
router bgp as-number
no router bgp [as-number]

Purpose
To configure the BGP router module

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

as-number

AS number

Range: 1 - 65535

Mode
ZXAN(config)#

47-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to configure the BGP router module:
ZXAN(config)#router bgp 1
ZXAN(config-router)#

Related Commands
None

47.3 address-family ipv4 multicast


Syntax
address-family ipv4 multicast

Purpose
To enter the BGP IPv4 multicast address-family mode

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to enter the BGP IPv4 multicast address-family mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 multicast
ZXAN(config-router-af)#

Related Commands
None

Related Information
Routing information for address family IPv4 is advertised by default when the user
configures a BGP routing session.

47-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

47.4 aggregate-adress
Syntax
aggregate-address ip-address net-mask [count count] [as-set] [summary-only] [strict]
no aggregate-address ip-address net-mask
aggregate-address ip-address net-mask subnet subnet-address subnet-mask
no aggregate-address ip-address net-mask subnet subnet-address subnet-mask

Purpose
To create an aggregate policy in the BGP routing table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Aggregate network to be

A.B.C.D

created
net-mask

Mask for the aggregated

A.B.C.D

network
count count

Number of aggregate subnets

Range: 0 - 255
Default: 1

as-set

AS path information

summary-only

Filter all particular routes from

update
strict

In accordance with RFC1771,

only the routes with the same


MED and NEXT_HOP attributes
can be aggregated
subnet-address

Aggregate subnet IP address

A.B.C.D

subnet-mask

Aggregate subnet mask

A.B.C.D

Mode
ZXAN(config-router)#

Example
The following example displays how to create an aggregate policy in the BGP routing table:
l

aggregate-address 10.0.0.0 255.0.0.0 count 0


ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 0

47-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-router)#

aggregate-address 10.0.0.0 255.0.0.0 count 2


ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 2
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.2.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.3.0.0 255.255.0.0
ZXAN(config-router)#

subnet 10.1.0.0 255.255.0.0


ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 2
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.1.0 255.255.255.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.2.0 255.255.255.0
ZXAN(config-router)#

Related Commands
None

47.5 bgp always-compare-med


Syntax
bgp always-compare-med
no bgp always-compare-med

Purpose
To allow the comparison of the MEDs for paths from neighbors in different ASs

Usage Guidelines
None

47-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Mode
ZXAN(config-router)#

Example
The following example displays how to allow the comparison of the MEDs for paths from
neighbors in different autonomous systems:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp always-compare-med
ZXAN(config-router)#

Related Commands
reset ip bgp

Related Information
The MED is one of the parameters that is considered when selecting the best path among
many alternative paths. The path with a lower MED is preferred over a path with a higher
MED.
By default, during the best-path selection process, MED comparison is done only among
paths from the same autonomous system. This command changes the default behavior
by allowing comparison of MEDs among paths regardless of the autonomous system from
which the paths are received.

47.6 bgp as
Syntax
bgp as as-number as-weight
no bgp as as-number

Purpose
To configure the AS route path weight policy

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

as-number

AS number

Range: 1 - 65535

as-weight

Weight of the corresponding AS

Range: 0 - 255
Default: 128

47-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the AS route path weight policy:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp as 2 200
ZXAN(config-router)#

Related Commands
None

47.7 bgp client-to-client reflection


Syntax
bgp client-to-client reflection
no bgp client-to-client reflection

Purpose
To restore the route reflection from a BGP route reflector to clients

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the client to client reflection:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp client-to-client reflection
ZXAN(config-router)3

Related Commands
neighbor route-reflector-client

47-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Information
By default, BGP reflects routes received from any route reflector client to all other route
reflector clients.

47.8 bgp cluster-id


Syntax
bgp cluster-id {value | ip-address}
no bgp cluster-id

Purpose
To configure the reflector cluster routing ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

value

Cluster ID

Range: 1 - 4294967295

ip-address

IP address

A.B.C.D

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the reflector cluster routing ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp cluster-id 10.1.1.1
ZXAN(config-router)#

Related Commands
neighbor route-reflector-client

Related Information
By default, group ID is the router ID.
When an autonomous system has multiple routing reflectors, in order to prevent routing
loop, the messages are send with group ID.

47-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

47.9 bgp confederation identifier


Syntax
bgp confederation identifier value
no bgp confederation identifier

Purpose
To configure the confederation ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

value

Confederation ID

Range: 1 - 65535

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the confederation ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation identifier 3
ZXAN(config-router)#

Related Commands
bgp confederation peers

47.10 bgp confederation peers


Syntax
bgp confederation peers value [value]
no bgp confederation peers [value]

Purpose
To configure the autonomous systems that belong to the confederation

Usage Guidelines
The following table provides parameter description:
47-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Parameter

Description

Value

value

AS numbers for BGP peers that

Range: 1 - 65535

belong to the confederation

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the autonomous systems that belong to
the confederation:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation peers 65500
ZXAN(config-router)#

Related Commands
bgp confederation identifier

Related Information
The autonomous systems specified in this command are visible internally to a
confederation. Each autonomous system is fully meshed within itself. The bgp
confederation identifier command specifies the confederation to which the autonomous
systems belong.

47.11 bgp dampening


Syntax
bgp dampening [half-life reuse reuse suppress max-suppress-time | route-map map-tag]
no bgp dampening

Purpose
To enable the BGP route dampening or modify the BGP route dampening factors

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

half-life reuse

Time after which a penalty is

Range: 1 - 45 min

decreased

Default: 15 min

47-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

reuse

Reuse values based on

Range: 1 - 20000

accumulated penalties

Default: 750

A route is suppressed when its

Range: 1 - 20000

penalty exceeds this limit

Default: 2000

Maximum time a route can be

Range: 1 - 255 min

suppressed

Default: 60 min

Route map name that controls

Range: 1 - 16 characters

suppress

max-suppress-time

route-map map-tag

where BGP route dampening is


enabled

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the BGP route dampening:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp dampening
ZXAN(config-router)#

Related Commands
None

Related Information
By default, BGP dampening is disabled.
The parameters half-life reuse, suppress and max-suppress-time are dependent on each other.
Therefore, if one is used, the other three must be specified and suppress must be greater
than reuse.
Once the route has been assigned a penalty, the penalty is decreased by half after the
half-life period.

47.12 bgp default ipv4-unicast


Syntax
bgp default ipv4-unicast
no bgp default ipv4-unicast

47-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Purpose
To enable all the neighbors subsequently created to be automatically activated in the IPv4
unicast address family

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the IPv4 unicast address family on all
neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default ipv4-unicast
ZXAN(config-router)#

Related Commands
None

Related Information
The IPv4 capability is inherited from the original BGP configuration when the neighbor is
created. After the creation, the modification of the BGP configuration does not affect this
neighbor. The IPv4 capability is controlled with the neighbor activate command.

47.13 bgp default local-preference


Syntax
bgp default local-preference value
no bgp default local-preference

Purpose
To configure the local priority of the routes advertised by the BGP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

value

Local preference value

Range: 0 - 4294967295

47-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the local priority of the routes advertised
by the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp default local-preference 500
ZXAN(config-router)#

Related Commands
None

Related Information
When the routes are advertised to the peers, this command is used to configure the
local-preference value of the route, to affect the route decision of the peers. If the other
peers obtain the advertised routes and the local-preference value exists, this value does
not overwrite the existing value.

47.14 bgp default route-targer filter


Syntax
bgp default route-target filter
no bgp default route-target filter

Purpose
To enable the automatic BGP route-target community filtering

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the BGP route-target community filtering:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default route-target filter
ZXAN(config-router)#

47-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Commands
None

Related Information
By default, the route-target filter is enabled.
Use the bgp default route-target filter command to control the distribution of VPN routing
information through the list of VPN route-target communities.
If the router for BGP route-target community filtering is configured, all received EBGP
VPN-IPv4 routes are discarded when those routes do not contain a route-target community
value that matches the import list of any configured VRFs.

47.15 bgp fast-external-fallover


Syntax
bgp fast-external-fallover
no bgp fast-external-fallover

Purpose
To enable or disable the re-establishment of the BGP session upon connection fault

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the re-establishment of the BGP session
upon connection fault:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp fast-external-fallover
ZXAN(config-router)#

Related Commands
None
47-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
By default, the BGP session is recreated automatically when the link fails. According to
RFC1771, when the BGP connection becomes idle due to error conversion, it needs the
Start event to access the Connect state. If this condition happens automatically, it may
cause interruption. To avoid this condition, double the reconnection attempt time.
When the router is in the Idle state, it tries to reconnect. If reconnection fails, the time for
next reconnection attempt is doubled. After using this command, the user does not have to
wait for the doubled reconnection time, but the doubled time is recorded. If the command
fails, the router tries to use the recorded doubled time for reconnection.

47.16 bgp graceful-restart


Syntax
bgp gracful-restart [stalepath-time seconds | restart-time seconds]
no bgp gracful-restart [stalepath-time | restart-time]

Purpose
To configure the BGP graceful restart time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

stalepath-time seconds

Used to set the maximum time

Range: 1 - 3600 sec

to hold on to the stale paths of a


gracefully restarted peer
restart-time seconds

Used to set the maximum

Range: 1 - 3600 sec

time to wait for a


graceful-restart-capable
neighbor to come back up
after a restart

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the BGP graceful restart time:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart
ZXAN(config-router)#

47-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Commands
None

Related Information
All stale paths are deleted after the expiration of stalepath-time seconds timer.

47.17 bgp router-id


Syntax
bgp router-id ip-addr
no bgp router-id

Purpose
To configure the BGP router ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-addr

Router ID

In decimal form

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the BGP router ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp router-id 1.2.1.3
ZXAN(config-router)

Related Commands
None

47.18 bgp update-delay


Syntax
bgp update-delay seconds
no bgp update-delay
47-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the BGP update delay time

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

seconds

Update delay time

Range: 1 - 3600 sec

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the BGP update delay time:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp update-delay 300
ZXAN(config-router)#

Related Commands
None

47.19 clear ip bgp dampening


Syntax
clear ip bgp dampening [ip-address net-mask]

Purpose
To clear BGP route dampening information and unsuppress the suppressed routes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Network IP address related to

A.B.C.D

clearing dampening information


net-mask

Network mask

A.B.C.D

Mode
ZXAN#
47-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Example
The following example displays how to clear the BGP route dampening information and
and unsuppress the suppressed routes:
ZXAN#clear ip bgp dampening
ZXAN#

Related Commands
None

47.20 clear ip bgp flap-statistics


Syntax
clear ip bgp flap-statistics [ip-address net-mask]

Purpose
To clear BGP flap statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

net-mask

Network mask

A.B.C.D

Mode
ZXAN#

Example
The following example displays how to clear BGP flap statistics:
ZXAN#clear ip bgp 1.1.1.1 flap-statistics
ZXAN#clear ip bgp flap-statistics
ZXAN#

Related Commands
None

47-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
If no parameters are specified, the router clears BGP flap statistics for all routes. The
flap statistics for a route are also cleared when a BGP peer is reset. Although the
reset withdraws the route, no penalty is applied in this instance even though route flap
dampening is enabled.

47.21 default-information originate


Syntax
default-information originate
no default-information originate

Purpose
To control the redistribution of a protocol or network into the BGP

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to control the redistribution of a protocol or network
into the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-information originate
ZXAN(config-router)#

Related Commands
redistribute

Related Information
By default, this command is disabled.
The default-information originate command should be used if the network operator needs
to control the redistribution of default routes. Using the default-information originate
command in BGP is similar to using the network command. However, to achieve the same
result as configuring the network command with the route 0.0.0.0, the default-information
originate command requires an explicit redistribution of the route 0.0.0.0. The network
command requires only that route 0.0.0.0 is specified in the IGP routing table. For this
47-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

reason, the network command is preferred for redistributing default routes and protocols
into BGP.

47.22 default-metric
Syntax
default-metric metric-value
no default-metric

Purpose
To configure a default metric for routes redistributed into BGP

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

metric-value

Default metric value

Range: 0 - 4294967295

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure a default metric for routes redistributed
into BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-metric 500
ZXAN(config-router)#

Related Commands
None

Related Information
A default metric can be configured to solve the problem of redistributing routes with
incompatible metrics. Assigning the default metric allows redistribution to occur.
This value is the MED that is evaluated by BGP during the best path selection process. The
MED is a non-transitive value that is processed only within the local autonomous system
and adjacent autonomous systems. The default metric is not set if the received route has
a MED value.
47-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Note:
When enabled, the default-metric command applies a metric value of 0 to redistributed
connected routes. The default-metric command does not override metric values that are
applied with the redistribute command.

47.23 disable ip bgp


Syntax
disable ip bgp

Purpose
To disable the BGP session temporarily

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to disable the BGP session temporarily:
ZXAN(config)#disable ip bgp
ZXAN(config)#

Related Commands
enable ip bgp
reset ip bgp

47.24 distance bgp


Syntax
distance bgp {external external-distance | internal internal-distance}
no distance bgp [external | internal]

47-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Purpose
To change the priority of the routes advertised by the internal/external neighbors

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

external

Distance for routes external to

the AS
external-distance

Distance value

Range: 1 - 255
Default: 20

internal

Distance for routes internal to

the AS
internal-distance

Distance value

Range: 1 - 255
Default: 200

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to change the priority of the routes advertised by the
internal/external neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#distance bgp external 100
ZXAN(config-router)#

Related Commands
None

Related Information
Use this command if another protocol is known to be able to provide a better route to a
node than was actually learned via external BGP (eBGP), or if some internal routes should
be preferred by BGP.

47.25 enable ip bgp


Syntax
enable ip bgp
47-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the BGP session

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the BGP session:
ZXAN(config)#enable ip bgp
ZXAN(config)#

Related Commands
None

47.26 exit-address-family
Syntax
exit-address-family

Purpose
To exit the BGP address family mode

Usage Guidelines
None

Mode
ZXAN(config-router-af)#

Example
The following example displays how to exit the BGP address family mode:
ZXAN(config-router-af)#exit-address-family
ZXAN(config-router)#

47-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Commands
address-family

47.27 ip as-path access-list


Syntax
ip as-path access-list access-list-number {permit | deny} as-regular-expression
no ip as-path access-list access-list-numbe

Purpose
To configure an access list based on AS path information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

access-list-numbe

AS path access list number

Range: 1 - 199

permit

Permits access for matching

conditions
deny

Denies access for matching

conditions
as-regular-expression

Autonomous system in the

access list that uses a regular


expression

Mode
ZXAN(config)#

Example
The following example displays how to configure an access list based on autonomous
system path information:
ZXAN(config)#ip as-path access-list 10 deny test
ZXAN(config)#

Related Commands
show ip as-path-access-list

47-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Information
The access list filter can be defined on the incoming end or outgoing end BGP routes. In
addition, the weights can be allocated on the basis of a group of filters. Every filter is an
access list based on the regular expression.
If the regular expression matches the description of the route AS path and the route is
presented in ASCII format, the permit or deny condition can be used. AS path does not
include the local AS number.

47.28 ip community-list
Syntax
ip community-list community-list-number {permit | deny} [community-number] [ no-advertise ]
[ no-export ] [ no-export-subconfed ]
ip community-list community-list-number

Purpose
To create a numbered or named community list for BGP and to control access to it

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

community-list-number

Community list number

Range: 1 - 99 (standard)
Range: 100 - 499 (expanded)

permit

Permits access for a matching

condition
deny

Denies access for a matching

condition
community-number

Community number configured

Range: 1 - 4294967295, or <1 -

in the set community command

65535> : <0 - 65535>

(A single number or multiple


numbers separated can be
specified.)
no-advertise

Not to advertise this route to any

peer end (internal or external)


no-export

Not to advertise this route to the

next AS
no-export-subconfed

Not to advertise this route to

any external peer end.

47-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Mode
ZXAN(config)#

Example
The following example displays how to create a numbered or named community list for
BGP and to control access to it:
ZXAN(config)#ip community-list 1 deny 5 10
ZXAN(config)#ip community-list 1 deny 10 5
ZXAN(config)#ip community-list 1 permit
ZXAN(config)#

Related Commands
show ip community-list

Related Information
Once a permit value has been configured to match a given set of communities, the
community list defaults to an implicit deny for all other community values.

47.29 ip prefix-list
Syntax
ip prefix-list prefix-list-name [seq seq] {permit | deny | description} {prefix length | descriptiontext} [ge value] [le value]
ip prefix-list prefix-list-name description description
no ip prefix-list prefix-list-name [seq seq] [ {permit | deny } {prefix length | description-text} [ge
value] [le value] ]
no ip prefix-list prefix-list-name description

Purpose
To configure the BGP prefix list and control the access to this list

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prefix-list-name

Prefix list name

Range: 1 - 16

permit

Permit

deny

Deny

47-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

seq seq

Numeric value specifying the

Range: 0 - 4294967294

order of prefix lookup for this list


length

Prefix length

Range: 0 - 32

ge

The greater-than-or-equal-to

value of the mask length to be


applied to this prefix
Le

The less-than-or-equal-to value

of the mask length to be applied


to this prefix
value

The greater-than-or-equal-

Range: 0 - 32

to/less-than-or-equal-to value
description description-text

Description

Range: 1 - 80 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure the BGP prefix list and to control the
access to this list:
ZXAN(config)#ip prefix-list test seq 0 permit 100.1.1.1 24 ge 25
ZXAN(config)#ip prefix-list test description test
ZXAN(config)#

Related Commands
neighbor prefix-list
show ip profix-list

47.30 maximum-paths
Syntax
maximum-paths number
no maximum-paths

Purpose
To configure the maximum number of routes supported by BGP in load balancing

Usage Guidelines
The following table provides parameter description:
47-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Parameter

Description

Value

number

Maximum parallel routes

Range: 1 - 8

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the maximum number of routes supported
by BGP in load balancing:
ZXAN(config)#router bgp 1
ZXAN(config-router)#maximum-paths 5
ZXAN(config-router)#

Related Commands
None

Related Information
By default, BGP installs only one best path into the routing table.

47.31 neighbor activate


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} activate
no neighbor {ipv4-address | ipv6-address | peer-group-name} activate

Purpose
To enable the address capability of the neighbor

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Range: 1 16 characters

Mode
ZXAN(config-router)#
47-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

ZXAN(config-router-af)#

Example
The following example displays how to enable the address capability of the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 multicast
ZXAN(config-router-af)#neighbor 1.1.1.1 activate
ZXAN(config-router-af)#

Related Commands
None

47.32 neighbor advertisement-interval


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} advertisement-interval value
no neighbor {ipv4-address | ipv6-address | peer-group-name} advertisement-interval

Purpose
To configure the minimum interval between the sending of BGP routing updates

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

advertisement-interval

Minimum time interval

Range: 1 - 600 sec


Default: 30 sec

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the minimum interval between the
sending of BGP routing updates:
ZXAN(config)#router bgp 1

47-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands


ZXAN(config-router)#neighbor 1.1.1.1 advertisement-interval 20
ZXAN(config-router)#

Related Commands
None

Related Information
If the user specifies a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.

47.33 neighbor allowas-in


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} allowas-in [value]
no neighbor {ipv4-address | ipv6-address | peer-group-name} allowas-in

Purpose
To configure the number of times that the AS path of a received route may contain the
recipient BGP speaker's AS number and still be accepted

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

value

Number of occurrences of AS

Range: 1 - 10

number

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the number of times that the AS path of a
received route may contain the recipient BGP speaker's AS number and still be accepted:
ZXAN(config)#router bgp 1

47-31
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-router)#neighbor 1.1.1.1 allowas-in 4
ZXAN(config-router)#

Related Commands
None

Related Information
In a hub and spoke configuration, a PE router readvertises all prefixes containing duplicate
autonomous system numbers. Use the neighbor allowas-in command to configure two
VRFs on each PE router to receive and readvertise prefixes:
l
l

One VRF receives prefixes with ASNs from all PE routers and then advertises them
to neighboring PE routers.
The other VRF receives prefixes with ASNs from the CE router and readvertises them
to all PE routers in the hub and spoke configuration.

47.34 neighbor default-originate


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} default-originate
no neighbor {ipv4-address | ipv6-address | peer-group-name} default-originate

Purpose
To allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor
for use as a default route

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

47-32
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Example
The following example displays how to allow a BGP speaker (the local router) to send the
default route 0.0.0.0 to a neighbor for use as a default route:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 default-originate
ZXAN(config-router)#

Related Commands
None

Related Information
This command does not require the presence of 0.0.0.0 in the local router.

47.35 neighbor description


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} description line
no neighbor {ipv4-address | ipv6-address | peer-group-name} description

Purpose
To associate a description with a neighbor

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

line

Neighbor description

Range: 1 - 80 characters

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to associate a description with a neighbor:
ZXAN(config)#router bgp 1

47-33
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-router)#neighbor 1.1.1.1 description ZTE
ZXAN(config-router)#

Related Commands
None

Related Information
By default, there is no description of the neighbor

47.36 neighbor ebgp-multihop


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} ebgp-multihop [ttl value]
no neighbor {ipv4-address | ipv6-address | peer-group-name} ebgp-multihop

Purpose
To accept and attempt BGP connections to external peers residing on networks that are
not directly connected

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

ttl value

Time to live

Range: 1 - 255 hops

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to accept and attempt BGP connections to external
peers residing on networks that are not directly connected:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 ebgp-multihop ttl 200
ZXAN(config-router)#

47-34
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Commands
None

Related Information
By default, only directly connected neighbors are allowed.
To prevent the creation of loops through oscillating routes, the multihop is not established
if the only route to the multihop peer is the default route (0.0.0.0).

47.37 neighbor maximum-prefix


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} maximum-prefix value
no neighbor {ipv4-address | ipv6-address | peer-group-name} maximum-prefix

Purpose
To configure the maximum number of the routes received from neighbors

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

value

Maximum number of prefix limit

Range: 1 - 4294967295

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the maximum number of the routes
received from neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 maximum-prefix 20000
ZXAN(config-router)#

47-35
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

Related Information
By default, this command is disabled. Limitations on the number of prefixes that can be
configured are determined by the amount of available system resources that are configured
by the network operator. Peering sessions are disabled (by default) when the configured
maximum number of prefixes exceeds then the configured value.

47.38 neighbor next-hop-self


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} next-hop-self
no neighbor {ipv4-address | ipv6-address | peer-group-name} next-hop-self

Purpose
To configure the router as the next hop for a BGP-speaking neighbor or peer group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the router as the next hop for a
BGP-speaking neighbor or peer group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 next-hop-self
ZXAN(config-router)#

47-36
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Commands
None

Related Information
This command is useful in nonmeshed networks (such as Frame Relay or X.25) where
BGP neighbors may not have direct access to all other neighbors on the same IP subnet.
If the user specifes a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Specifying the command with an IP address overrides the value inherited from the peer
group.

47.39 neighbor passive


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} passive
no neighbor {ipv4-address | ipv6-address | peer-group-name} passive

Purpose
To configure the passive neighbor to whom not send open message

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Range: 1 - 16 characters

Mode
ZXAN(config-router)#

Example
The following example displays how to enable Message Digest 5 (MD5) authentication on
a TCP connection between two BGP peers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 passive
ZXAN(config-router)#

47-37
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

47.40 neighbor password


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} password string
no neighbor {ipv4-address | ipv6-address | peer-group-name} password

Purpose
To enable MD5 authentication on a TCP connection between two BGP peers

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

string

Password string

Range: 3 - 80 characters

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to enable Message Digest 5 (MD5) authentication on
a TCP connection between two BGP peers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 password 3FE&@1
ZXAN(config-router)#

Related Commands
None

Related Information
The first character of the password cannot be a number. The string can contain any
alphanumeric characters, including spaces.
47-38
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

The user can invoke authentication between two BGP peers, causing each segment sent
on the TCP connection between them to be verified. This feature must be configured
with the same password on both BGP peers; otherwise, the connection between them is
not made. The authentication feature uses the MD5 algorithm. Specifying this command
causes the generation and checking of the MD5 digest on every segment sent on the TCP
connection.
Configuring a password for a neighbor causes an existing session to be torn down and a
new one established.

47.41 neighbor prefix-list


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} prefix-list prefix-list-name {in | out}
no neighbor {ipv4-address | ipv6-address | peer-group-name} advertisement-interval prefix-list
-name {in | out}

Purpose
To prevent distribution of BGP neighbor information as specified in a prefix list

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

prefix-list-name

Prefix list name

Range: 1 - 16 characters

in

Filter list is applied to incoming

advertisements from that


neighbor
out

Filter list is applied to outgoing

advertisements to that neighbor

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to prevent distribution of BGP neighbor information
as specified in a prefix list:
47-39
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config)#ip prefix-list test permit 100.1.1.1 24
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 prefix-list test out
ZXAN(config-router)#

Related Commands
None

Related Information
By default, all external and advertised address prefixes are distributed to BGP neighbors.

47.42 neighbor remote-as


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} remote-as number
no neighbor {ipv4-address | ipv6-address | peer-group-name} remote-as

Purpose
To add an entry to the BGP neighbor

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

AS to which the neighbor

Range: 1 - 65535

number

belongs

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to add an entry to the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 remote-as 8
ZXAN(config-router)#

47-40
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Commands
None

Related Information
By default, there are no BGP neighbor peers.
Specifying a neighbor with an autonomous system number that matches the autonomous
system number specified in the router BGP global configuration command identifies
the neighbor as internal to the local autonomous system. Otherwise, the neighbor is
considered external.
If the user specifies a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
By default, neighbors that are defined using the neighbor remote-as command in router
configuration mode exchange only unicast address prefixes. To exchange other address
prefix types, such as multicast and VPN Version 4, neighbors must also be activated using
the neighbor activate command in address family configuration mode.

47.43 neighbor remove-private-as


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} remove-private-as
no neighbor {ipv4-address | ipv6-address | peer-group-name} remove-private-as

Purpose
To remove private AS numbers from the autonomous system path, a list of autonomous
system numbers that a route passes through to reach a BGP peer, in outbound routing
updates

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
47-41
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays how to remove private autonomous system numbers from
the autonomous system path, a list of autonomous system numbers that a route passes
through to reach a BGP peer, in outbound routing updates:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 remove-private-as
ZXAN(config-router)#

Related Commands
None

Related Information
This command is available for external BGP (eBGP) neighbors only.
When an update is passed to the external neighbor, if the autonomous system path
includes private autonomous system numbers, the software drops the private autonomous
system numbers.
If the autonomous system path includes both private and public autonomous system
numbers, the software considers this to be a configuration error and does not remove the
private autonomous system numbers.
If the autonomous system path contains the autonomous system number of the eBGP
neighbor, the private autonomous system numbers are not removed.
If this command is used with confederation, it works as long as the private autonomous
system numbers follow the confederation portion of the autonomous path.

47.44 neighbor route-map


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} route-map map-tag {in | out}
no neighbor {ipv4-address | ipv6-address | peer-group-name} route-map map-tag {in | out}

Purpose
To apply a route map to incoming or outgoing routes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

47-42
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Parameter

Description

Value

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

map-tag

Name of the route map

Range: 1 - 16 characters

in

Apply map to incoming routes

out

Apply map to outgoing routes

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to apply a route map to incoming or outgoing routes:
ZXAN(config)#route-map setorigin
ZXAN(config-route-map)#set origin egp
ZXAN(config-route-map)#exit
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 route-map setorigin out
ZXAN(config-router)#

Related Commands
None

Related Information
When specified in address family configuration mode, this command applies a route map
to that particular address family only. When specified in router configuration mode, this
command applies a route map to IPv4 unicast routes only.
If an outbound route map is specified, it is proper behavior to only advertise routes that
match at least one section of the route map.
If the user specifes a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Specifying the command for a neighbor overrides the inbound policy that is inherited from
the peer group.

47.45 neighbor route-reflector-client


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} route-reflector-client
47-43
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no neighbor {ipv4-address | ipv6-address | peer-group-name} route-reflector-client

Purpose
To configure the router as a BGP route reflector and configure the specified neighbor as
its client

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the router as a BGP route reflector and
configure the specified neighbor as its client:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 router-reflector-client
ZXAN(config-router)#

Related Commands
bgp client-to-client reflection
bgp cluster-id

Related Information
By default, all internal BGP (iBGP) speakers in an autonomous system must be fully
meshed, and neighbors do not readvertise iBGP learned routes to neighbors, thus
preventing a routing information loop. When all the clients are disabled, the local router
is no longer a route reflector.
If route reflectors are configured, all iBGP speakers need not be fully meshed. In the route
reflector model, an Interior BGP peer is configured to be a route reflector responsible for
passing iBGP learned routes to iBGP neighbors. This scheme eliminates the need for
each router to talk to every other router.

47-44
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Use the neighbor route-reflector-client command to configure the local router as the route
reflector and the specified neighbor as one of its clients. All the neighbors configured with
this command are the members of the client group and the remaining iBGP peers are the
members of the nonclient group for the local route reflector.

47.46 neighbor send-community


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} send-community
no neighbor {ipv4-address | ipv6-address | peer-group-name} send-community

Purpose
To specify that a communities attribute should be sent to a BGP neighbor

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address of the neighbor

A.B.C.D

ipv6-address

IPv6 address of the neighbor

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to send the community attributes when advertising
routes to the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 send-community
ZXAN(config-router)#

Related Commands
None

Related Information
By default, community attribute is not sent.
47-45
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

47.47 neighbor send-med


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} send-med
no neighbor {ipv4-address | ipv6-address | peer-group-name} send-med

Purpose
To send the MED attribute when advertising routes to the neighbor

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to send the MED attribute when advertising routes to
the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 send-med
ZXAN(config-router)#

Related Commands
None

Related Information
By default, MED attribute is not sent.

47.48 neighbor shut-down


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} shut-down
47-46
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

no neighbor {ipv4-address | ipv6-address | peer-group-name} shut-down

Purpose
To disable a neighbor or peer group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to disable a neighbor or peer group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 shut-down
ZXAN(config-router)#

Related Commands
None

Related Information
The neighbor shutdown command terminates any active session for the specified neighbor
or peer group and removes all associated routing information. In the case of a peer group,
a large number of peering sessions could be terminated suddenly.

47.49 neighbor soft-reconfiguration


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} soft-reconfiguration
no neighbor {ipv4-address | ipv6-address | peer-group-name} soft-reconfiguration

47-47
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the neighbor to support soft reset

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the neighbor to support soft reset:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 soft-reconfiguration
ZXAN(config-router)#

Related Commands
None

Related Information
When the local BGP policy is adjusted, the routes that are denied before may be enabled.
If this command is not configured, the neighbor must be reset to resend the routes. When
this command is used, the routes that are denied before can be enabled again without
resetting the neighbor.
However, this command may cause the router to restore many denied routes. As a result,
it is recommended to use the command under the guide of network expert.
If the neighbor supports route refreshing capability, this command is unnecessary.

47.50 neighbor timers


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} timers keepalive holdtime
no neighbor {ipv4-address | ipv6-address | peer-group-name} timers
47-48
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Purpose
To configure the timers for a specific BGP peer or peer group

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

ipv6-address

IPv6 address

X:X::X:X

peer-group-name

Peer group name

keepalive

Frequency (in seconds) with

Range: 0 - 65535 sec

which keepalive messages are

Default: 60 sec

sent to its peer


holdtime

Interval (in seconds) after not

Range: 0, 3 - 65535 sec

receiving a keepalive message

Default: 180 sec

that the software declares a


peer dead

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the timers for a specific BGP peer or peer
group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 timers 60 180
ZXAN(config-router)#

Related Commands
None

Related Information
The timers configured for a specific neighbor or peer group override the timers configured
for all BGP neighbors using the timers bgp command.

47.51 neighbor update-source


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} update-source interface-name
47-49
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no neighbor {ipv4-address | ipv6-address | peer-group-name} update-source

Purpose
To configure the BGP session to use any TCP connection interface

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address of the

A.B.C.D

BGP-speaking neighbor
ipv6-address

IPv6 address of the

X:X::X:X

BGP-speaking neighbor
peer-group-name

Peer group name

interface-name

Interface name

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the BGP session to use any TCP
connection interface:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 update-source loopback1
ZXAN(config-router)#

Related Commands
None

Related Information
If the user specifies a BGP peer group by using the peer-group-name argument, all the
members of the peer group inherit the characteristic configured with this command. The
neighbor update-source command must be used to enable IPv6 link-local peering for
internal or external BGP sessions.

47-50
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

47.52 network
Syntax
network ip-address net-mask [route-map name]
no network ip-address net-mask

Purpose
To configure the network table for the BGP routing process

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address of the network the

A.B.C.D

BGP advertises
net-mask

Network mask address

X:X::X:X

route-map name

Name of the route-map to

Range: 1 - 16 characters

modify the attributes

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to configure the network table for the BGP routing
process:
ZXAN(config)#router bgp 1
ZXAN(config-router)#network 2.2.2.2 255.255.255.255
ZXAN(config-router)#

Related Commands
None

47.53 redistribute
Syntax
redistribute protocol [metric metric-value] [route-map map-tag]
no redistribute protocol [metric] [route-map]
47-51
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To redistribute the routes obtained from other routing protocols into the BGP routing table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

protocol

Source routing protocol for route

Keywords: connected, isis-1,

redistribution

isis-1-2, isis-2, ospf-ext, ospf-int,


rip, static

metric metric-value

Metric value for redistributed

Range: 0 - 4294967295

routes
route-map map-tag

Name of the route-map to

Range: 1 - 16 characters

modify the attributes

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

Example
The following example displays how to redistribute the routes obtained from other routing
protocols into the BGP routing table:
ZXAN(config)#router bgp 1
ZXAN(config-router)#redistribute rip
ZXAN(config-router)#

Related Commands
None

Related Information
By default, route redistribution is disabled.

47.54 reset ip bgp


Syntax
reset ip bgp [ipv4-address | peer-group-name]

Purpose
To reset BGP session
47-52
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv4-address

IPv4 address

A.B.C.D

peer-group-name

Peer group name

Range: 1 - 16 characters

Mode
ZXAN(config)#

Example
The following example displays how to reset BGP session:
ZXAN(config)#reset ip bgp 1.1.1.1
ZXAN(config)#

Related Commands
None

Related Information
This command functions as the enable for the neighbors in the non-BGP session
termination status. It first executes the disable operation and then the enable operation
for the BGP sessions in the active status.

47.55 synchronization
Syntax
synchronization
no synchronization

Purpose
To synchronize BGP with IGP

Mode
ZXAN(config-router)#

Example
The following example displays how to synchronize BGP with IGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#synchronization

47-53
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

Related Information
Use no command to enable BGP to announce a network route without synchronizing with
IBP. By default, synchronization is enabled between BGP and IGP.

47.56 show bgp all neighbor


Syntax
show bgp all neighbor [ip-address]

Purpose
To display information about the TCP and BGP connections to neighbors

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Neighbor IP address

A.B.C.D

Mode
Any mode except user mode

Example
The following example displays the information about the TCP and BGP connections to
neighbors:
ZXAN#show bgp all neighbor 1.1.1.1
BGP neighbor is 1.1.1.1, remote AS 8, external link
BGP version 4, remote router ID 0.0.0.0
BGP state = Connect
hold time is 0 seconds, keepalive interval is 0 seconds
All received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 errs
0 notifications, 0 other errs

47-54
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands


After last established received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 errs
0 notifications, 0 other errs
All sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 notifications
After last established sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 notifications

For address family: IPv4 Unicast


Community attribute sent to this neighbor
Route map for outgoing advertisements is setorigin
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Minimum time between advertisement runs is 30 seconds
Minimum time between origin runs is 15 seconds

For address family: IPv4 Multicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

For address family: VPNv4 Unicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

Connections established 0
No tcp connection

ZXAN#

Related Commands
None

47-55
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

47.57 show bgp all protocol


Syntax
show bgp all protocol

Purpose
To display the BGP protocol configuration information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the BGP protocol configuration information:
ZXAN#show bgp all protocol
BGP router ID is 172.168.0.1, Local as is 1
Hold time is 90 seconds, KeepAlive time is 30 seconds
Default local preference is 100
Default export metric is 0
IGP synchronization is enabled
Default information advertise is disabled
Always compare med is disabled
Fast fallover is enabled
Client-to-client reflection is enabled
Ipv4 unicast is activated
Router target is filtered
Route dampening is disabled
Distance : external 20 internal 200
ZXAN#

Related Commands
None

47.58 show bgp all summary


Syntax
show bgp all summary
47-56
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Purpose
To display the status of all BGP connections

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the status of all BGP connections:
ZXAN#show bgp all summary
Neighbor

Ver

As

MsgRcvd

MsgSend Up/Down(s) State

1.1.1.1

00:00:00

Connect

10.1.1.1

200

00:00:00

Connect

128.140.6.6

123

00:00:00

Connect

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Neighbor

Neighbor IP address

Ver

BGP neighbor version number, version 4 is


supported at present

AS

Neighbor AS number

MsgRcvd

Total messages received by the neighbor, it


is reset whenever the neighbor enters the
established status.

MsgSend

Total messages sent by the neighbor, it is reset


whenever the neighbor enters the established
status.

Up/Down

Time when the neighbor is in the established


status or when it transits from the established
status. If the neighbor never enters the
established status, this time is always 0.

State

Connection status in the BGP state-machine

Related Commands
None
47-57
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

47.59 show bgp ipv4 multicast


Syntax
show bgp ipv4 multicast
show bgp ipv4 multicast detail ip-address net-mask
show bgp ipv4 multicast summary

Purpose
To display the IPv4 multicast database-related information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Neighbor IP address

A.B.C.D

net-mask

Mask address

A.B.C.D

Mode
Any mode except user mode

Example
The following example displays the IPv4 multicast database-related information:
ZXAN#show bgp ipv4 multicast
Status codes: *valid, >best, i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete

Network

Next Hop

Metric

LocPrf

Path

*>i

111.1.1.2/32

2.2.2.1

12345678

200 ?

*>i

111.1.1.3/32

2.2.2.1

12345678

200 ?

ZXAN#

The following table describes the parameters displayed in the example:

47-58
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Information

Description

Status codes

Status of the table entry. The status is displayed


at the beginning of each line in the table. It can
be one of the following values:
l

s: The table entry is suppressed

d: The table entry is dampened

h: The table entry is historical

*: The table entry is valid

>: The table entry is the best entry to use


for that network

i: The table entry was learned via an internal


BGP (iBGP) session

Origin codes

Origin of the entry. The origin code is placed at


the end of each line in the table. It can be one
of the following values:
l

i: Entry originated from an IGP and was


advertised with a network router configuration
or address family configuration command.

e: Entry originated from an Exterior Gateway


Protocol (EGP).

?: Origin of the path is not clear. Usually,


this is a router that is redistributed into BGP
from an IGP.

Network

IP address of a network entity

Nexthop

IP address of the next system that is used when


forwarding a packet to the destination network

Metric

Value of the interautonomous system metric

LocPrf

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

Related Commands
None

47-59
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

47.60 show bgp ipv4 multicast neighbor


Syntax
show bgp ipv4 multicast neighbor [ip-address]
show bgp ipv4 multicast neighbor [in | out] ip-address

Purpose
To display the BGP IPv4 multicast neighbor information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Neighbor IP address

A.B.C.D

in

Internal BGP route

out

External BGP route

Mode
Any mode except user mode

Example
The following example displays the BGP IPv4 multicast neighbor information:
l

show bgp ipv4 multicast neighbor 3.3.3.3


ZXAN#show bgp ipv4 multicast neighbor 3.3.3.3
BGP neighbor is 3.3.3.3, remote AS 100, internal link
BGP version 4, remote router ID 0.0.0.0
BGP state = Connect
hold time is 0 seconds, keepalive interval is 0 seconds
All received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
After last established received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast

47-60
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands


refreshs, 0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
All sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 ipv6 refreshs,
0 notifications
After last established sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 ipv6 refreshs,
0 notifications

For address family: IPv4 Unicast


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Minimum time between advertisement runs is 30 seconds
Minimum time between origin runs is 15 seconds

For address family: IPv4 Multicast


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

For address family: VPNv4 Unicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

For address family: IPv6 Unicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

Connections established 0
No tcp connection

ZXAN#

show bgp ipv4 multicast neighbor out 2.2.2.1


ZXAN#show bgp ipv4 multicast neighbor out 2.2.2.1
Routes Sent to This neighbor:

47-61
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


Dest

NextHop

Metric

LocPrf

RoutePrf Path

111.1.1.2/32

2.2.2.1

12345678

200

100?

111.1.1.3/32

2.2.2.1

12345678

200

100?

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used


when forwarding a packet to the destination
network

Mertic

Value of the interautonomous system metric

LocPref

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

Related Commands
None

47.61 show bgp ipv4 unicast


Syntax
show bgp ipv4 unicast [network ip-address [mask net-mask]]
show bgp ipv4 unicast detail ip-address net-mask

Purpose
To display the BGP IPv4 unicast address family modifier information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

network ip-address

IP address

A.B.C.D

mask net-mask

Mask address

A.B.C.D

47-62
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Mode
Any mode except user mode

Example
The following example displays the BGP IPv4 unicast address family modifier information:
l

show bgp ipv4 unicast


ZXAN#show

bgp ipv4 unicast

Routes of bgp:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest

NextHop

Metric

LocPrf

RtPrf

Path

*>i

111.1.1.2/32

2.2.2.1

12345678

150

200 ?

*>i

111.1.1.3/32

2.2.2.1

12345678

150

200 ?

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used


when forwarding a packet to the destination
network

Metric

Value of the interautonomous system metric

LocPrf

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

show bgp ipv4 unicast detail


ZXAN#show bgp ipv4 unicast detail
10:00:01 received from 100.1.1.1 (1.1.1.1)
origin i,nexthop 10.1.1.1,metric 100,localpref 200,
atomic,aggr 200 10.1.1.1,originator_id 123455,
community 1123464 2355 35665
cluster_id 10.1.1.1 100.1.1.1
unknown attribute type 11 flag ff len 20 type 12
flag fe len 20
as path [100 200] <10> {65543} (65542 65544)

47-63
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


invalid due to import policy denied
Local
origin ?,nexthop 10.1.1.1,
10:04:00 advertised to 200.1.1.1 (2.2.2.2)
origin ?,nexthop 10.1.1.1,metric 100,localpref 200,
atomic,aggr 200 10.1.1.1,originator_id 123455,
community 1123464 2355 35665
cluster_id 10.1.1.1 100.1.1.1
unknown attribute type 11 flag ff len 20 type 12
flag fe len 20
as path [100 200] <10> {65543} (65542 65544)
10:04:01 advertised to 201.1.1.1 (2.2.2.1)
origin ?,nexthop 10.1.1.1,metric 100,localpref 200,
atomic,aggr 200 10.1.1.1,originator_id 123455,
community 1123464 2355 35665
cluster_id 10.1.1.1 100.1.1.1
unknown attribute type 11 flag ff len 20 type 12
flag fe len 20
as path [100 200] <10> {65543} (65542 65544)

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used


when forwarding a packet to the destination
network

Mertic

Value of the interautonomous system metric

LocPref

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

Related Commands
None

47-64
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

47.62 show bgp ipv4 unicast dampening


dampened-paths
Syntax
show bgp ipv4 unicast dampening dampened-paths

Purpose
To display the BGP IPv4 unicast paths suppressed due to dampening

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the BGP IPv4 unicast paths suppressed due to dampening:
ZXAN#show bgp ipv4 unicast dampening dampened-paths
ZXAN#

Related Commands
None

47.63 show bgp ipv4 unicast dampening flap-statistics


Syntax
show bgp ipv4 unicast dampening flap-statistics [network ip network mask [longer-prefixes]]

Purpose
To display the flap statistics of the BGP IPv4 unicast routes

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

network ip

IP address

A.B.C.D

network mask

Mask address

A.B.C.D

47-65
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

longer-prefixes

Displays flap statistics for more

specific entries

Mode
Any mode except user mode

Example
The following example displays the flap statistics of the BGP IPv4 unicast routes:
ZXAN#show bgp ipv4 unicast dampening flap-statistics
ZXAN#

Related Commands
None

47.64 show bgp ipv4 unicast neighbor


Syntax
show bgp ipv4 unicast neighbor [in | out] ip-address

Purpose
To display the BGP IPv4 unicast neighbor information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

in

Internal BGP route

out

External BGP route

Mode
Any mode except user mode

Example
The following example displays the BGP IPv4 unicast neighbor information:
l

show bgp ipv4 unicast neighbor 168.1.70.111


ZXAN#show bgp ipv4 unicast neighbor 168.1.70.111

47-66
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands


BGP neighbor is 168.1.70.111, remote AS 200, external link
BGP version 4, remote router ID 168.1.70.111
BGP state = Established, up for 1d20h
Last read update 1d20h, hold time is 90 seconds, keepalive
interval is 30 seco
nds
Neighbor capabilities:
Route refresh: advertised
Address family IPv4 Unicast: advertised
All received 5254 messages
1 updates, 0 errs
1 opens, 0 errs
5252 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
After last established received 5252 messages
1 updates, 0 errs
0 opens, 0 errs
5251 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
All sent 5253 messages
0 updates, 1 opens, 5252 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 notifications
After last established sent 5251 messages
0 updates, 0 opens, 5251 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 notifications
For address family: IPv4 Unicast
All received nlri 100, unnlri 0, 100 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Minimum time between advertisement runs is 30 seconds
Minimum time between origin runs is 15 seconds
For address family: IPv4 Multicast no activate
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

47-67
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


For address family: VPNv4 Unicast no activate
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
For address family: IPv6 Unicast no activate
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Connections established 1
Local host: 168.1.70.4, Local port: 179
Foreign host: 168.1.70.111, Foreign port: 1530

ZXAN#

show bgp ipv4 unicast neighbor in 2.2.2.1


ZXAN#show bgp ipv4 unicast neighbor in 2.2.2.1
Routes Learned From This neighbor:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest

NextHop

Metric

LocPrf

RoutePrf Path

*>i

111.1.1.2/32

2.2.2.1

12345678

200

100?

*>i

111.1.1.3/32

2.2.2.1

12345678

200

100?

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used


when forwarding a packet to the destination
network

Metric

Update message to identify the multi-attribute


export

LocPrf

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

show bgp ipv4 unicast neighbor out 2.2.2.1


47-68

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands


ZXAN#show bgp ipv4 unicast neighbor out 2.2.2.1
Routes Sent to This neighbor:
Dest

NextHop

Metric

LocPrf

RoutePrf Path

111.1.1.2/32

2.2.2.1

12345678

200

100?

111.1.1.3/32

2.2.2.1

12345678

200

100?

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used


when forwarding a packet to the destination
network

Mertic

Update message to identify the multi-attribute


export

LocPref

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

Related Commands
None

47.65 show bgp ipv4 unicast summary


Syntax
show bgp ipv4 unicast summary

Purpose
To display the BGP IPv4 unicast neighbor status

Usage Guidelines
None

Mode
Any mode except user mode
47-69
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Example
The following example displays the BGP IPv4 unicast neighbor status:
ZXAN#show bgp ipv4 unicast summary
Neighbor

Ver

1.1.1.1

As
8

MsgRcvd
0

MsgSend
0

Up/Down(s)
00:00:00

State/PfxRcd
Connect

10.1.1.1

200

00:00:00

Connect

128.140.6.6

123

00:00:00

Connect

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Neighbor

Neighbor IP address

Ver

BGP neighbor version number, version 4 is


supported at present

AS

Neighbor AS number

MsgRcvd

Total messages received by the neighbor, it


is reset whenever the neighbor enters the
established status

MsgSend

Total messages sent by the neighbor, it is reset


whenever the neighbor enters the established
status

Up/Down

Time when the neighbor is in the established


status or when it transits from the established
status. If the neighbor never enters the
established status, this time is always 0.

State

Neighbor status in the BGP state-machine

Related Commands
None

47.66 show ip as-path-access-list


Syntax
show ip as-path-access-list [access-list-number]

Purpose
To display the contents of all or specified regular expression access list(s)
47-70
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

access-list-number

AS path access list number

Range: 1 - 199

Mode
Any mode except user mode

Example
The following example displays the contents of all or specified regular expression access
list(s):
ZXAN#show ip as-path-access-list 1
ZXAN#

Related Commands
ip as-path access-list

47.67 show ip bgp dampened-paths


Syntax
show ip bgp dampened-paths

Purpose
To display the BGP damped oscillation routes

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the BGP damped oscillation routes:
ZXAN#show ip bgp dampened-paths
ZXAN#

47-71
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

47.68 show ip bgp flap-statistics


Syntax
show ip bgp flap-statistics [ip-address net-mask [longer-prefixes]]

Purpose
To display the BGP flap statistics

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

net-mask

Mask address

A.B.C.D

longer-prefixes

Displays flap statistics for more

specific entries

Mode
Any mode except user mode

Example
The following example displays the BGP flap statistics:
ZXAN#show ip bgp flap-statistics
ZXAN#

Related Commands
None

Related Information
If no parameters are specified, the router displays flap statistics for all routes.

47.69 show ip bgp neighbor


Syntax
show ip bgp neighbor [ip-address]
47-72
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

show ip bgp neighbor [in | out] ip-address

Purpose
To display the BGP neighbor information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

IP address

A.B.C.D

in

Internal BGP routes

out

External BGP routes

Mode
Any mode except user mode

Example
The following example displays the BGP neighbor information:
l

show ip bgp neighbor 1.1.1.1


ZXAN#show ip bgp neighbor 1.1.1.1
BGP neighbor is 1.1.1.1, remote AS 8, external link
BGP version 4, remote router ID 0.0.0.0
BGP state = Connect
hold time is 0 seconds, keepalive interval is 0 seconds
All received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 errs
0 notifications, 0 other errs
After last established received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 errs
0 notifications, 0 other errs
All sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 notifications

47-73
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


After last established sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 notifications

For address family: IPv4 Unicast


Community attribute sent to this neighbor
Route map for outgoing advertisements is setorigin
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Minimum time between advertisement runs is 30 seconds
Minimum time between origin runs is 15 seconds

For address family: IPv4 Multicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

For address family: VPNv4 Unicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

Connections established 0
No tcp connection

ZXAN#

show ip bgp neighbor in 2.2.2.1


ZXAN#show ip bgp neighbor in 2.2.2.1
Routes Learned From This neighbor:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete

LocPrf

RoutePrf

Path

*>i

111.1.1.2/32

Dest

2.2.2.1

NextHop

Metric
0

12345678

200

100?

*>i

111.1.1.3/32

2.2.2.1

12345678

200

100?

ZXAN#

The following table describes the parameters displayed in the example:

47-74
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used


when forwarding a packet to the destination
network

Metric

Value of the interautonomous system metric

LocPrf

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

show ip bgp neighbor out 2.2.2.1


ZXAN#show ip bgp neighbor out 2.2.2.1
Routes Sent to This neighbor:

Dest

NextHop

Metric

LocPrf

RoutePrf Path

111.1.1.2/32

2.2.2.1

12345678

200

100?

111.1.1.3/32

2.2.2.1

12345678

200

100?

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used


when forwarding a packet to the destination
network

Metric

Value of the interautonomous system metric

LocPref

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network

Related Commands
None
47-75
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

47.70 show ip bgp protocol


Syntax
show ip bgp protocol

Purpose
To display the BGP configuration information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the BGP configuration information:
ZXAN#show ip bgp protocol
BGP router ID is 192.168.2.1, Local as is 1
Hold time is 90 seconds, KeepAlive time is 30 seconds
Default local preference is 100
Default export metric is 0
IGP synchronization is enabled
Default information advertise is disabled
Always compare med is disabled
Fast fallover is enabled
Client-to-client reflection is enabled
Ipv4 unicast is activated
Router target is filtered
Route dampening is disabled
Distance : external 20 internal 200
ZXAN#

Related Commands
None

47.71 show ip bgp route


Syntax
show ip bgp route [network ip-address [mask net-mask]]
47-76
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

show ip bgp route detail ip-address net-mask

Purpose
To display the entries in the BGP routing table

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

network ip-address

IP address

A.B.C.D

mask net-mask

Network mask

A.B.C.D

Mode
Any mode except user mode

Example
The following example displays the entries in the BGP routing table:
ZXAN#show ip bgp route
Routes of bgp:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete

Dest

NextHop

Metric

LocPrf

RtPrf

Path

*>i

111.1.1.2/32

2.2.2.1

12345678

150

200 ?

*>i

111.1.1.3/32

2.2.2.1

12345678

150

200 ?

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Dest

Specific route

Nexthop

IP address of the next system that is used when


forwarding a packet to the destination network

Metric

Value of the inter-autonomous system metric

LocPrf

Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf

Local management distance of the route

Path

Autonomous system paths to the destination


network
47-77

SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
None

47.72 show ip bgp summary


Syntax
show ip bgp summary

Purpose
To display the status of all BGP connections

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the display the status of all BGP connections:
ZXAN#show ip bgp summary
Neighbor

Ver

As

MsgRcvd

MsgSend

Up/Down(s) State/PfxRcd

1.1.1.1

00:00:00

Connect

10.1.1.1

200

00:00:00

Connect

128.140.6.6

123

00:00:00

Connect

ZXAN#

The following table describes the parameters displayed in the example:


Information

Description

Neighbor

Neighbor IP address

Ver

BGP neighbor version number, version 4 is


supported at present

AS

Neighbor AS number

MsgRcvd

Total messages received by the neighbor, it


is reset whenever the neighbor enters the
established status

47-78
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Information

Description

MsgSend

Total messages sent by the neighbor, it is reset


whenever the neighbor enters the established
status

Up/Down

Time when the neighbor is in the established


status or when it transits from the established
status. If the neighbor never enters the
established status, this time is always 0.

State

Neighbor status in the BGP state-machine

Related Commands
None

47.73 show ip community-list


Syntax
show ip community-list [community-list-number]

Purpose
To display the configured community lists

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

community-list-number

Community list number

Range: 1 - 99

Mode
Any mode except user mode

Example
The following example displays the configured community lists:
ZXAN#show ip community-list
Community standard list 1
deny 5 10
permit

ZXAN#

47-79
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Related Commands
ip community-list

Related Information
This command can be used without any parameters. If no parameters are specified, this
command display all community lists.

47.74 show ip prefix-list


Syntax
show ip prefix-list [summary | detail] [prefix-list-name]

Purpose
To display the IP prefix list

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

prefix-list-name

Prefix list name

Range: 1 - 16 characters

summary

Summarized information

detail

Detailed information

Mode
Any mode except user mode

Example
The following example displays the IP prefix list:
ZXAN#show ip prefix-list
Prefix-list with the last deletion/insertion: test
ip prefix-list ZXAN
seq 5 deny
seq 10 deny

2 entries

20.0.0.0/8
20.20.20.0/24

ip prefix-list test

1 entries

seq 5 permit 100.1.1.0/24

ZXAN#

47-80
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 47 BGP Protocol Commands

Related Commands
ip prefix-list

47.75 timers bgp


Syntax
timers bgp keepalive holdtime
no timers bgp

Purpose
To adjust the BGP network timers

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

keepalive

Frequency (in seconds) with

Range: 0 - 65535 sec

which the software sends

Default: 60 sec

keepalive messages to its peer


holdtime

Interval (in seconds) after not

Range: 0, 3 - 65535 sec

receiving a keepalive message

Default: 180 sec

that the software declares a


peer dead

Mode
ZXAN(config-router)#

Example
The following example displays how to adjust the BGP network timers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#timers bgp 60 180
ZXAN(config-router)#

Related Commands
None

47-81
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

This page intentionally left blank.

47-82
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48

IS-IS Protocol Commands


Table of Contents
router isis .................................................................................................................48-1
address-family..........................................................................................................48-2
area .........................................................................................................................48-3
authentication...........................................................................................................48-4
authentication-type ...................................................................................................48-4
default-information originate .....................................................................................48-6
disable .....................................................................................................................48-7
disable-snp-authentication........................................................................................48-7
distance ...................................................................................................................48-8
enable ......................................................................................................................48-9
enable-snp-authentication ........................................................................................48-9
hello padding..........................................................................................................48-10
ignore-lsp-errors..................................................................................................... 48-11
is-type ....................................................................................................................48-12
lsp-mtu ...................................................................................................................48-13
lsp-refresh-time ......................................................................................................48-13
max-lsp-lifetime ......................................................................................................48-14
maximum-paths......................................................................................................48-15
metric-style.............................................................................................................48-16
redistribute .............................................................................................................48-17
restart.....................................................................................................................48-18
set-overload-bit ......................................................................................................48-19
show isis adjacency................................................................................................48-20
show isis circuits ....................................................................................................48-21
show isis database .................................................................................................48-22
show isis nsf...........................................................................................................48-25
show isis topology ..................................................................................................48-26
spf-interval .............................................................................................................48-27
summary-address ..................................................................................................48-28
system-id................................................................................................................48-30

48.1 router isis


Syntax
router isis
48-1
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

no router isis

Purpose
To enable the IS-IS routing protocol

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable the IS-IS routing protocol:
ZXAN(config)#router isis
ZXAN(config-router)#

Related Commands
None

48.2 address-family
Syntax
address-family ipv6

Purpose
To enter address family configuration mode for configuring IS-IS routing sessions to use
standard IPv6 address prefix

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ipv6

IPv6 address family

Mode
ZXAN(config-router)#

48-2
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Example
The following example displays how to enter address family configuration mode for
configuring IS-IS routing sessions to use standard IP Version 6 (IPv6) address prefix:
ZXAN(config)#router isis
ZXAN(config-router)#address-family ipv6
ZXAN(config-router-af)#

Related Commands
None

48.3 area
Syntax
area area-address
no area area-address

Purpose
To configure IS-IS area address

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

area-address

Area address

Range: 1 - 13
16 byte hexadecimal string

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the IS-IS area address:
ZXAN(config)#router isis
ZXAN(config-router)#area 11
ZXAN(config-router)#area 11.1111.1111
ZXAN(config-router)#

Related Commands
None
48-3
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

48.4 authentication
Syntax
authentication password [level-1 | level-2]
no authentication password [level-1 | level-2]

Purpose
To configure the IS-IS authentication

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

password

Password

Range: 1 - 180 characters

level-1

Level-1 authentication

level-2

Level-2 authentication

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the IS-IS authentication:
ZXAN(config)#router isis
ZXAN(config-router)#authentication zte
ZXAN(config-router)#authentication zte level-1
ZXAN(config-router)#authentication zte level-2
ZXAN(config-router)#

Related Commands
enable-snp-authentication
disable-snp-authentication

48.5 authentication-type
Syntax
authentication-type {MD5 | TEXT} [level-1 | level-2]
no authentication [level-1 | level-2]
48-4
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Purpose
To specify the type of authentication used in IS-IS packets

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

MD5

MD5 encryption authentication

TEXT

Clear text authentication

level-1

Authentication for Level 1

packets only
level-2

Authentication for Level 2

packets only

Mode
ZXAN(config-router)#

Example
The following example displays how to specify the type of authentication used in IS-IS
packets:
ZXAN(config)#router isis
ZXAN(config-router)#authentication-type MD5
ZXAN(config-router)#authentication-type MD5 level-1
ZXAN(config-router)#authentication-type MD5 level-2
ZXAN(config-router)#authentication-type TEXT
ZXAN(config-router)#authentication-type TEXT level-1
ZXAN(config-router)#authentication-type TEXT level-2
ZXAN(config-router)#

Related Commands
None

Related Information
No authentication is provided for IS-IS packets at the router level by use of this command.

48-5
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

48.6 default-information originate


Syntax
default-information originate [always] [metric metric-value] [metric-type type] [level-1 | level1-2 | level-2]
no default-information originate

Purpose
To generate a default route into an IS-IS routing domain

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

always

Always notify default route

metric metric-value

Metric value for default route

Range: 0 - 4261412864

IS-IS exterior metric type for

Keywords: external, internal

metric-type type

default route
level-1

IS-IS level-1 default route only

level-1-2

IS-IS level-1 and level-2 default

route
level-2

IS-IS level-2 default route only

Mode
ZXAN(config-router)#

Example
The following example displays how to generate a default route into an IS-IS routing
domain:
ZXAN(config)#router isis
ZXAN(config-router)#default-information originate always
ZXAN(config-router)#

Related Commands
None

48-6
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

48.7 disable
Syntax
disable

Purpose
To disable IS-IS protocol and clear all runtime data

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to disable IS-IS protocol and clear all runtime data:
ZXAN(config)#router isis
ZXAN(config-router)#disable
ZXAN(config-router)#

Related Commands
enable

Related Information
If IS-IS instances are operating, this command disables IS-IS instances and clears the
current operation status. The user can re-enable IS-IS instances using the enable
command.

48.8 disable-snp-authentication
Syntax
disable-snp-authentication

Purpose
To disable the SNP authentication

Usage Guidelines
None
48-7
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-router)#

Example
The following example displays how to disable the SNP authentication:
ZXAN(config)#router isis
ZXAN(config-router)#disable-snp-authentication
ZXAN(config-router)#

Related Commands
enable-snp-authentication

48.9 distance
Syntax
distance distance
no distance

Purpose
To define the administrative distance assigned to routes discovered by the IS-IS

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

distance

Administrative distance

Range: 1 - 255

assigned to IS-IS routes

Default: 115

Mode
ZXAN(config-router)#

Example
The following example displays how to define the administrative distance assigned to
routes discovered by the IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#distance 120
ZXAN(config-router)#

48-8
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Related Commands
None

Related Information
This command is used to configure the administrative distances applied to IS-IS routes
when they are inserted into the Routing Information Base (RIB), and influences the
likelihood of these routes being preferred over routes to the same destination addresses
discovered by other protocols.

48.10 enable
Syntax
enable

Purpose
To enable IS-IS protocol

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to enable IS-IS protocol:
ZXAN(config)#router isis
ZXAN(config-router)#enable
ZXAN(config-router)#

Related Commands
disable

48.11 enable-snp-authentication
Syntax
enable-snp-authentication

48-9
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To enable the SNP authentication

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to enable the SNP authentication:
ZXAN(config)#router isis
ZXAN(config-router)#enable-snp-authentication
ZXAN(config-router)#

Related Commands
disable-snp-authentication

48.12 hello padding


Syntax
hello padding [multi-point | point-to-point]
no hello padding

Purpose
To configure padding on IS-IS hello PDUs for all IS-IS interfaces on the networking device

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

multi-point

Pad multi-point hello PDUs

point-to-point

Pad point-to-point hello PDUs

Mode
ZXAN(config-router)#

48-10
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Example
The following example displays how to configure padding on IS-IS hello PDUs for all IS-IS
interfaces on the networking device:
ZXAN(config)#router isis
ZXAN(config-router)#hello padding point-to-point
ZXAN(config-router)#

Related Commands
None

Related Information
For point-to-point links, IS-IS sends only a single hello for Level 1 and Level 2.

48.13 ignore-lsp-errors
Syntax
ignore-lsp-errors
no ignore-lsp-errors

Purpose
To override the networking devices default setting to ignore IS-IS LSPs that are received
with internal checksum errors

Usage Guidelines
None

Mode
ZXAN(config-router)#

Example
The following example displays how to override the networking devices default setting to
ignore IS-IS LSPs that are received with internal checksum errors:
ZXAN(config)#router isis
ZXAN(config-router)#ignore-lsp-errors
ZXAN(config-router)#

Related Commands
None
48-11
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

48.14 is-type
Syntax
is-type {level-1 | level-1-2 | level-2-only}

Purpose
To configure the routing level for an IS-IS area

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

level-1

Router performs only Level 1

(intra-area) routing
level-1-2

Router performs both Level 1

and Level 2 routing


level-2-only

Routing process acts as a Level

2 (inter-area) router only

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the routing level for an IS-IS area:
ZXAN(config)#router isis
ZXAN(config-router)#is-type level-1
ZXAN(config-router)#is-type level-1-2
ZXAN(config-router)#

Related Commands
None

Related Information
When the router is configured with Level 1 routing only, this router learns about destinations
only inside its area. Level 2 (interarea) routing is performed by the closest Level 1-2 router.
When the router is configured with Level 2 routing only, this router is part of the backbone,
and does not communicate with Level 1 routers in its own area.
When the router is configured with both Level 1 and Level 2 routing, this router runs two
instances of the routing process. It has one LSDB for destinations inside the area (Level
48-12
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

1 routing) and runs a SPF calculation to discover the area topology. It also has another
link-state packet database (LSDB) with LSPs of all other backbone (Level 2) routers, and
runs another SPF calculation to discover the topology of the backbone, and the existence
of all other areas.

48.15 lsp-mtu
Syntax
lsp-mtu number
no lsp-mtu

Purpose
To configure the MTU size of IS-IS LSPs

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

number

LSP MTU number

Range: 512 - 1497

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the MTU size of IS-IS LSPs:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-mtu 1000
ZXAN(config-router)#

Related Commands
None

48.16 lsp-refresh-time
Syntax
lsp-refresh-time time
no lsp-refresh-time
48-13
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Purpose
To configure the LSP refresh interval

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

LSP refresh time

Range: 1 - 65535 sec


Default: 900 sec

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the LSP refresh interval:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-refresh-time 300
ZXAN(config-router)#

Related Commands
None

48.17 max-lsp-lifetime
Syntax
max-lsp-lifetime time
no max-lsp-lifetime

Purpose
To configure the maximum LSP lifetime

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

time

Maximum LSP lifetime

Range: 1 - 65535 sec


Default: 1200 sec

48-14
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the maximum LSP lifetime:
ZXAN(config)#router isis
ZXAN(config-router)#max-lsp-lifetime 500
ZXAN(config-router)#

Related Commands
None

Related Information
Invalid time should be longer than refresh time.

48.18 maximum-paths
Syntax
maximum-paths parallel-routes
no maximum-paths

Purpose
To configure the initial lifetime given to a LSP originated by the IS-IS process

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

parallel-routes

Maximum number of parallel

Range: 1 - 8

routes that IS-IS can install in a


routing table

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the initial lifetime given to a LSP originated
by the IS-IS process:
ZXAN(config)#router isis

48-15
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-router)#maximum-paths 2
ZXAN(config-router)#

Related Commands
None

48.19 metric-style
Syntax
metric-style {narrow | wide}
no metric-style

Purpose
To configure the IS-IS metric style

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

narrow

Use old style with narrow metric

wide

Use new style to carry wider

metric

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the IS-IS metric style:
ZXAN(config)#router isis
ZXAN(config-router)#metric-style narrow
ZXAN(config-router)#metric-style wide
ZXAN(config-router)#

Related Commands
None

48-16
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

48.20 redistribute
Syntax
redistribute protocol [level-1 | level-1-2 | level-2] [metric metric-value] [metric-type type] [rout
e-map map-tag]
no redistribute protocol

Purpose
To redistribute routes from one IS-IS instance into another instance

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

protocol

Source routing protocol for route

Keyword: bgp, connected, ospf,

redistribution

rip, static

Redistributes routes for Level 1

level-1

independently
level-1-2

Redistributes routes for Level 1

or Level 2 independently
level-2

Redistributes routes for Level 2

independently
metric metric-value

Specifies a metric value to

Range: 0 - 4261412864

assign to the routes


metric-type type

Metric type for redistributed

Keyword: external, internal


Default: internal

route-map map-tag

Route map reference

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the filtering policy for other protocol
advertising route to IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#redistribute bgp
ZXAN(config-router)#redistribute bgp level-1
ZXAN(config-router)#redistribute bgp level-2
ZXAN(config-router)#redistribute bgp level-1 metric 20
ZXAN(config-router)#redistribute bgp level-1 metric 20 metric-type internal

48-17
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


ZXAN(config-router)#redistribute ospf level-1 metric 20
ZXAN(config-router)#

Related Commands
None

Related Information
If no level is specified, the redistribution takes place according to both Level 1 and Level 2.

48.21 restart
Syntax
restart {enable | t2-timer interval [level-1 | level-2] | t3-timer {adjacency | manual interval}}
no restart {enable | t2-timer interval [level-1 | level-2] | t3-timer}

Purpose
To configure the IS-IS restart

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

enable

Enable IS-IS graceful restart

t2-timer interval

Set restart T2 timer interval

Range: 5 - 65535 sec


Default: 60 sec

level-1

IS-IS level-1 route

level-2

IS-IS level-2 route

t3-timer adjacency

Set restart T3 interval from

adjacency
t3-timer manual interval

Set restart T3 interval from

Range: 1 - 65535 sec

manual

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the IS-IS restart:
ZXAN(config)#router isis
ZXAN(config-router)#restart enable

48-18
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands


ZXAN(config-router)#restart T2-timer 60 level-1
ZXAN(config-router)#restart T2-timer 60 level-2
ZXAN(config-router)#restart T3-timer adjacency
ZXAN(config-router)#

Related Commands
None

48.22 set-overload-bit
Syntax
set-overload-bit [on-start-up {time | auto [time] | wait-for-bgp [time]}] [suppress {all | external
| interlevel}]
no set-overload-bit

Purpose
To configure the router to signal other routers not to use it as an intermediate hop in their
SPF calculations

Usage Guidelines
The following table provides parameter description:
Parameter
on-start-up

Description

Value

Set overload (OL) bit only

temporarily after reboot


time

Time in seconds to unset OL bit

Range: 5 - 86400 sec

after reboot
auto time

Waiting for IS-IS database

Range: 5 - 86400 sec

synchronization
wait-for-bgp time

Sets the overload bit on startup

Range: 5 - 86400 sec

until the BGP signals converge,


or time out
suppress

Suppress

all

Both interlevel and external

external

IP prefixes learned from other

protocols
interlevel

IP prefixes learned from another

IS-IS level

48-19
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the router to signal other routers not to
use it as an intermediate hop in their shortest path first (SPF) calculations:
ZXAN(config)#router isis
ZXAN(config-router)#set-overload-bit
ZXAN(config-router)#

Related Commands
None

Related Information
This command forces the router to set the overload bit in its nonpseudonode LSPs.
Normally the setting of the overload bit is allowed only when a router experiences
problems. For example, when a router is experiencing a memory shortage, the reason
might be that the LSDB is not complete, resulting in an incomplete or inaccurate routing
table. If the overload bit is set in the LSPs of the unreliable router, other routers can ignore
the router in their SPF calculations until it has recovered from its problems. The result is
that no paths through the unreliable router are seen by other routers in the IS-IS area.
However, IP prefixes directly connected to this router are still reachable.

48.23 show isis adjacency


Syntax
show isis adjacency [level-1 | level-2]

Purpose
To display IS-IS adjacencies

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

level-1

Level-1 adjacencies

level-2

Level-2 adjacencies

48-20
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Mode
Any mode except user mode

Example
The following example displays IS-IS adjacencies:
ZXAN#show isis adjacency
Interface System id

State Lev Holds SNPA(802.2)

gei_1/3/1 0000.0a0a.0a0a UP

L1

Pri

802.2 00:e0:63:06:05:c0 64

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Interface

Interface over which to reach the neighbor

System id

The neighbor ID in the xxxx.xxxx.xxxx format

State

Including two formats: UP" or INIT

Lev

Including three formats: L1 L2 or L1L2

Holds

Hold time

SNPA(802.2)

The neighbor port address in the SNPA type


xx.xx.xx.xx.xx.xx format.

Pri

Election DIS priority

Related Commands
None

48.24 show isis circuits


Syntax
show isis circuits [detail]

Purpose
To display the current IS-IS port information

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

detail

Detailed circuits information

48-21
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Mode
Any mode except user mode

Example
The following example displays the current IS-IS port information:
ZXAN#show isis circuits
IS-IS interface database:
Interface
gei_1/3/1

State
Up

Lev
L1L2

CirId
1

Level1-DR Level2-DR Pri(L1/L2)


Disabled

Disabled

10/10

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

Interface

The name of the port

State

If the port is configured with the IS-IS protocol


and started, it should be Up Otherwise, it should
be Down

Lev

Level of the port, including L1 L2 and L1L2

CirId

ID of this port

Level1-DR

Level1 specified router of the port, including the


four formats: xxxx.xxxx.xxxx.xx No found
Disabled, Dis is me and Point to point

Level2-DR

Level2 specified router of the port, including the


four formats: xxxx.xxxx.xxxx.xx No found
Disabled, Dis is me and Point to point

Pri(L1/L2)

Priority of the L1/L2 set on the port

Related Commands
None

48.25 show isis database


Syntax
show isis database [level-1 | level-2] [detail]

Purpose
To display the IS-IS link-state databases
48-22
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

detail

Detailed link state database

information
IS-IS level-1 routing link state

level-1

database
IS-IS level-2 routing link state

level-2

database

Mode
Any mode except user mode

Example
The following example displays how to display the IS-IS link-state databases:
l

show isis database


ZXAN#show isis database
IS-IS Level-1 Link State Database:
LSPID

LSP Seq Num

LSP Checksum LSP Holdtime ATT/P/OL

1921.6800.5080-00-00 0x00000025

0x34E3

1078

0/0/0

1921.6800.5081-00-00 0x00000020

0Xd301

1103

1/0/0

IS-IS Level-2 Link State Database:


LSPID

LSP Seq Num

LSP Checksum LSP Holdtime ATT/P/OL

1921.6800.5080-00-00 0x00000022

0x34E3

1078

0/0/0

1921.6800.5081-00-00 0x00000022

0Xd2A1

1103

1/0/0

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

LSPID

LSP identifier, displayed in the xxxx.xxxx.xxx


x.xx-xx format

LSP Seq Num

Sequence number for the LSP that allows other


systems to determine if they have received the
latest information from the source, displayed in
the 0xdddddddd format

LSP Checksum

Checksum of the entire LSP packet, displayed


in the 0xdddd format

48-23
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

LSP Holdtime

Amount of time the LSP remains valid (in


seconds)

ATT/P/OL

The ATT (external area connected or not) flag


bit/subarea flag bit/overload flag bit

show isis database detail


ZXAN#show isis database detail
IS-IS Level-1 Link State Database:
LSPID

LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL

1921.6800.5080-00-00 0x00000022

0x34E3

1078

0/0/0

1078

0/0/0

NLPID:0xcc
Area Address:00.0001
Metric 10

IS neighbor 1223.2232.1111-01

Metric 10

IS neighbor 1001.AC32.11D1-02

3421.68AC.0010-00-00 0x00000022

0x34E3

NLPID:0xcc
Area Address:00.0001
Metric 10

IS neighbor 1223.0755.1111-01

Metric 10

IS neighbor 1001.AC32.0063-02

IS-IS Level-2 Link State Database:


LSPID

LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL

1921.6800.5080-00-00 0x00000022

0x34E3

1078

0/0/0

NLPID:0xcc
Area Address:00.0001
Metric 10

IS neighbor 1223.2232.1111-01

Metric 10

IS neighbor 1001.AC32.11D1-02

3421.68AC.0010-00-00

0x00000022

0x34E3

1078

0/0/0

NLPID:0xcc
Area Address:00.0001
Metric 10

IS neighbor 1223.0755.111101

Metric 10

IS neighbor 1001.AC32.0063-02

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

IS neighbor

The neighbor IS

IP-Internal/IP-External

A reachable IP address

Area Address

Reachable area addresses from the router

48-24
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Parameter

Description

NLPID

Protocols supported

Hostname

Host name

Ip address

The port IP address

Inter-Domain Info

The inter-domain information (tag)

Authentication type

The authentication information

Related Commands
None

48.26 show isis nsf


Syntax
show isis nsf

Purpose
To display the NSF status information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the NSF status information:
ZXAN#show isis nsf
IS-IS NSF information:
NSF is ENABLE
NSF mode is Normal
NSF L1 active interface: 1
NSF L2 active interface: 1
NSF L1 T2 remaining: 20 seconds
NSF L2 T2 remaining: 20 seconds
NSF T3 using Adjacency
NSF T3 remaining: 10 seconds

Interface:gei_1/3/1
NSF L1 restart state: restart

48-25
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference


NSF L1 helper in restart state: Other
NSF L1 T1 remaining: 5 seconds
NSF L1 T1 retransmissions: 1
NSF L2 restart state: restart
NSF L2 helper in restart state: Other
NSF L2 T1 remaining: 5 seconds
NSF L2 T1 retransmissions: 1
ZXAN#

Related Commands
None

48.27 show isis topology


Syntax
show isis topology [level-1 | level-2]

Purpose
To display a list of connected IS-IS routers in all areas

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

level-1

Displays the IS-IS link-state

topology for Level 1


Displays the IS-IS link-state

level-2

topology for Level 2

Mode
Any mode except user mode

Example
The following example displays a list of connected IS-IS routers in all areas:
ZXAN#show isis topology
IS-IS paths to level-1 routers
System id

Metric

Next-Hop

0000.0000.0002

10

0000.0000.0002 gei_1/3/1

Interface

0000.0c03.6bc5

SNPA

0000.0000.0005

--

0000.0000.0053

10

0000.0000.0053 gei_1/3/1

0060.3e58.ccde

48-26
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

ZXAN#

The following table describes the parameters displayed in the example:


Parameter

Description

System id

System ID number of the networking device

Metric

Metric assigned to the link and used to calculate


the cost from each networking device via the links
in the network to other destinations

Next-Hop

Next hop address

Interface

Interface over which to reach the neighbor.

SNPA

Data-link address (also known as the Subnetwork


Point of Attachment (SNPA)) of the neighbor

Related Commands
None

Related Information
This command is used to verify the presence and connectivity between all routers in all
areas.

48.28 spf-interval
Syntax
spf-interval interval [level-1 | level-2]
no spf-interval [level-1 | level-2]

Purpose
To customize IS-IS throttling of SPF calculations

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

interval

Interval between consecutive

Range: 1 - 120 sec

SPFs

Default: 3 sec

Enables the SPF interval

level-1

configuration for Level 1


48-27
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

Parameter

Description

Value

level-2

Enables the SPF interval

configuration for Level 2

Mode
ZXAN(config-router)#

Example
The following example displays how to customize IS-IS throttling of shortest path first (SPF)
calculations:
ZXAN(config)#router isis
ZXAN(config-router)#spf-interval 10
ZXAN(config-router)#spf-interval 10 level-1
ZXAN(config-router)#spf-interval 10 level-2
ZXAN(config-router)#

Related Commands
None

Related Information
SPF calculations are performed only when the topology changes. They are not performed
when external routes change.

48.29 summary-address
Syntax
summary-address ip-address net-mask [metric metric-value] [level-1 | level-1-2 | level-2]
no summary-address ip-address net-mask

Purpose
To configure the IS-IS address summary

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

ip-address

Summary IP address

A.B.C.D

net-mask

Summary mask

A.B.C.D

48-28
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Chapter 48 IS-IS Protocol Commands

Parameter

Description

Value

metric metric-value

Metric for summary routes

Range: 0 - 4261412864

level-1

Only routes redistributed into

Level 1 are summarized with the


configured address and mask
value
level-1-2

Summary routes are applied

when redistributing routes into


Level 1 and Level 2 IS-IS, and
when Level 2 IS-IS advertises
Level 1 routes as reachable in
its area
level-2

Routes learned by Level 1

routing are summarized into


the Level 2 backbone with the
configured address and mask
value

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the IS-IS address summary:
ZXAN(config)#router isis
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
level-1
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
level-2
ZXAN(config-router)#

Related Commands
None

Related Information
All routes are advertised individually.
Multiple groups of addresses can be summarized for a given level. Routes learned from
other routing protocols can also be summarized. The metric used to advertise the summary

48-29
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

is the smallest metric of all the more specific routes. This command helps reduce the size
of the routing table.
This command also reduces the size of the LSPs and thus the LSDB. It also helps network
stability because a summary advertisement is depending on many more specific routes.
A single route flap does not cause the summary advertisement to flap in most cases.
The drawback of summary addresses is that other routes might have less information to
calculate the most optimal routing table for all individual destinations.

48.30 system-id
Syntax
system-id system-id [range range-number]
no system-id

Purpose
To configure the IS-IS system ID

Usage Guidelines
The following table provides parameter description:
Parameter

Description

Value

system-id

System ID

xxxx.xxxx.xxxx

range range-number

System ID range

Range: 0 - 32

Mode
ZXAN(config-router)#

Example
The following example displays how to configure the IS-IS system ID:
ZXAN(config)#router isis
ZXAN(config-router)#system-id 1111.1111.1111
ZXAN(config-router)#system-id 1111.1111.1111 range 32
ZXAN(config-router)#

Related Commands
None

48-30
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Glossary
ABR
- Area Border Router
ACL
- Access Control List
AES
- Advanced Encryption Standard
AG
- Access Gateway
ARP
- Address Resolution Protocol
AS
- Application Server
AS
- Autonomous System
ASBR
- Autonomous System Boundary Router
BDR
- Backup Designate Router
BER
- Bit Error Rate
BGP
- Border Gateway Protocol
BPDU
- Bridge Protocol Data Unit
BSR
- Bootstrap Router
CAC
- Channel Access Control
CAS
- Channel Associated Signaling
CCM
- Continuity Check Message
CDR
- Call Detail Record
I
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

CE
- Channel Element
CES
- Circuit Emulation Service
CES
- Channel Element Subsystem
CFM
- Connectivity Fault Management
CHAP
- Challenge Handshake Authentication Protocol
CPE
- Customer Premises Equipment
CPU
- Central Processing Unit
CRC
- Cyclic Redundancy Check
CTP
- Connection Termination Point
CVLAN
- Customer Virtual Local Area Network
CoS
- Class of Service
DBA
- Dynamic Bandwidth Allocation
DHCP
- Dynamic Host Configuration Protocol
DNS
- Domain Name Server
DNS
- Domain Name System
DR
- Designated Router
DSCP
- Differentiated Services Code Point
DSL
- Digital Subscriber Line
DTMF
- Dual-Tone Multi-Frequency
II
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Glossary

DoS
- Denial of Service
EAP
- Extensible Authentication Protocol
EAPOL
- Extensible Authentication Protocol Over LAN
EBGP
- External Border Gateway Protocol
EPM
- Environment Power Monitoring
EPON
- Ethernet Passive Optical Network
ES
- Errored Second
FCS
- Frame CheckSequence
FE
- Fast Ethernet
FEC
- Forward Error Correction
FTP
- File Transfer Protocol
GE
- Gigabit Ethernet
GEI
- Giga Ethernet Interface Card
GEM
- GPON Encapsulation Method
GPON
- Gigabit Passive Optical Network
ICMP
- Internet Control Message Protocol
IEEE
- Institute of Electrical and Electronics Engineers
IGMP
- Internet Group Management Protocol
IGP
- Interior Gateway Protocol
III
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

IP
- Internet Protocol
IPTV
- Internet Protocol Television
IPoA
- IP over ATM
IPv4
- Internet Protocol version 4
IS-IS
- Intermediate System-to-Intermediate System
ISP
- Internet Service Provider
LACP
- Link Aggregation Control Protocol
LAN
- Local Area Network
LOF
- Loss Of Frame
LSA
- Link State Advertisement
LSDB
- Link-state Database
LSP
- Link State Packet
LTM
- Link Trace Message
MA
- Maintenance Association
MAC
- Medium Access Control
MD
- Maintenance Domain
MD5
- Message Digest 5 Algorithm
MED
- MULTI_EXIT_DISC
MEP
- Maintenance association End Point
IV
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Glossary

MEP
- Maintenance End Point
MGC
- Media Gateway Controller
MGCP
- Media Gateway Control Protocol
MIB
- Management Information Base
MIP
- Maintenance domain Intermediate Point
MPCP
- Multi-Point Control Protocol
MSDP
- Multicast Source Discovery Protocol
MST
- Multiple Spanning Tree
MSTP
- Multiple Spanning Tree Protocol
MTU
- Maximum Transfer Unit
MVLAN
- Multicast Virtual Local Area Network
NAT
- Network Address Translation
NMS
- Network Management System
NNI
- Network Node Interface
NSR
- Nonstop Routing
NSSA
- Not-So-Stubby Area
NTP
- Network Time Protocol
OAM
- Operation, Administration and Maintenance
OLT
- Optical Line Terminal
V
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

OMCC
- ONU Management and Control Channel
ONU
- Optical Network Unit
OSPF
- Open Shortest Path First
PAP
- Password Authentication Protocol
PDU
- Protocol Data Unit
PIM
- PA Interface Module
PIM-DM
- Protocol Independent Multicast - Dense Mode
PIM-SM
- Protocol Independent Multicast - Sparse Mode
PIR
- Peak Information Rate
PLOAM
- Physical Layer Operations, Administration and Maintenance
PON
- Passive Optical Network
POTS
- Plain Old Telephone Service
PPPoE
- Point to Point Protocol over Ethernet
PVC
- Permanent Virtual Channel
PVC
- Permanent Virtual Circuit
PW
- Pseudo Wire
PnP
- Plug and Play
Q-in-Q
- VLAN Tag in VLAN Tag
Q-in-Q
- 802.1q Tunnel Tags
VI
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Glossary

RADIUS
- Remote Authentication Dial In User Service
REI
- Remote Error Indication
RIP
- Routing Information Protocol
RMEP
- Remote Maintenance association End Point
RMON
- Remote Monitoring
ROS
- Router Operating System
RP
- Rendezvous Point
RPF
- Reverse Path Forwarding
RSSI
- Received Signal Strength Indicator
RTP
- Real-time Transport Protocol
RTT
- Round Trip Time
SCB
- Single Copy Broadcast
SES
- Severely Errored Second
SIP
- Session Initiation Protocol
SIR
- Signal-to-Interference Ratio
SMS
- Short Message Service
SNMP
- Simple Network Management Protocol
SNP
- Signaling Network Protocol
SNTP
- Simple Network Time Protocol
VII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

ZXA10 C320 Command Reference

SPF
- Shortest Path First
SR
- Service Router
SS
- Soft Switch
SSH
- Secure Shell
STP
- Spanning Tree Protocol
SVLAN
- Service Virtual Local Area Network
TACACS+
- Terminal Access Controller Access-Control System Plus
TCB
- Transmission Control Block
TCI
- Tag Control Information
TCP
- Transfer Control Protocol
TDM
- Time Division Multiplexing
TLS
- Transport Layer Security
TLV
- Type/Length/Value
TOS
- Termination Of Service
TPID
- Tag Protocol Identifier
TTL
- Time To Live
UAS
- Unavailable Second
UDP
- User Datagram Protocol
UNI
- User Network Interface
VIII
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Glossary

UNM
- Unified Network Management
URL
- Uniform Resource Locator
URPF
- Unicast Reverse Path Forwarding
VLAN
- Virtual Local Area Network
VPN
- Virtual Private Network
VRF
- Virtual Route Forwarding
VRRP
- Virtual Router Redundancy Protocol
VTY
- Virtual Teletype
VoIP
- Voice over Internet Protocol
WAN
- Wide Area Network
WiFi
- Wireless Fidelity

IX
SJ-20120615152640-010|2012-06-30 (R1.0)

ZTE Proprietary and Confidential

Das könnte Ihnen auch gefallen