Download as pdf or txt
Download as pdf or txt
You are on page 1of 1559

ZXA10 C300

Optical Access Convergence Equipment


Command Reference

Version: V1.2.3

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-08-15 First edition

Serial Number: SJ-20120802162214-011

Publishing Date: 2012-08-15 (R1.0)

SJ-20120802162214-011|2012-08-15 (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 set ............................................................................................................ 2-4
2.5 clock summer-time ............................................................................................. 2-5
2.6 clock timezone ................................................................................................... 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-9
2.12 end................................................................................................................ 2-10
2.13 exit .................................................................................................................2-11
2.14 hostname....................................................................................................... 2-12
2.15 load-balance .................................................................................................. 2-13
2.16 multi-user configure ........................................................................................ 2-13
2.17 set-cputhreshold............................................................................................. 2-15
2.18 set-memthreshold........................................................................................... 2-15
2.19 set-pnp .......................................................................................................... 2-16
2.20 time-range ..................................................................................................... 2-17
2.21 username ...................................................................................................... 2-18
2.22 who ............................................................................................................... 2-19
2.23 show auto-write .............................................................................................. 2-20
2.24 show clock ..................................................................................................... 2-20
2.25 show cputhreshold ......................................................................................... 2-21
2.26 show load-balance ......................................................................................... 2-22
2.27 show memthreshold ....................................................................................... 2-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


2.28 show processor .............................................................................................. 2-24
2.29 show running-config ....................................................................................... 2-24
2.30 show system-group ........................................................................................ 2-26
2.31 show time-range............................................................................................. 2-27
2.32 show username.............................................................................................. 2-28
2.33 show users .................................................................................................... 2-28

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-4
3.5 del-rack ............................................................................................................. 3-5
3.6 del-shelf............................................................................................................. 3-6
3.7 del-card ............................................................................................................. 3-6
3.8 del-subcard........................................................................................................ 3-7
3.9 reboot................................................................................................................ 3-8
3.10 reset-card ........................................................................................................ 3-9
3.11 swap................................................................................................................ 3-9
3.12 show rack ...................................................................................................... 3-10
3.13 show shelf.......................................................................................................3-11
3.14 show card ...................................................................................................... 3-12
3.15 show card type ............................................................................................... 3-13

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


4.1 fan control.......................................................................................................... 4-1
4.2 fan high-threshold .............................................................................................. 4-2
4.3 fan speed .......................................................................................................... 4-3
4.4 fanboard ............................................................................................................ 4-4
4.5 fan-board ........................................................................................................... 4-5
4.6 fan-epm-console ................................................................................................ 4-6
4.7 fan high-temp-protection ..................................................................................... 4-6
4.8 show fan............................................................................................................ 4-7
4.9 show fanboard ................................................................................................... 4-8
4.10 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
II

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


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
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

III

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


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
8.23 show snmp user ............................................................................................. 8-20

Chapter 9 RMON Commands .................................................................... 9-1


9.1 rmon alarm ........................................................................................................ 9-1
9.2 rmon event ........................................................................................................ 9-2
9.3 show rmon......................................................................................................... 9-3

IV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 10 FTP Server Commands ........................................................ 10-1
10.1 ip ftp username .............................................................................................. 10-1
10.2 ip ftp password ............................................................................................... 10-2

Chapter 11 Alarm Management ............................................................... 11-1


11.1 alarm ..............................................................................................................11-1
11.2 alarm confirm ..................................................................................................11-2
11.3 alarm trap-confirm ...........................................................................................11-2
11.4 alarm level-change ..........................................................................................11-3
11.5 show alarm configure .......................................................................................11-4
11.6 show alarm counter .........................................................................................11-5
11.7 show alarm pool ..............................................................................................11-6
11.8 clear alarm pool...............................................................................................11-7
11.9 clear alarm counter ..........................................................................................11-7
11.10 optical-module alarm-profile............................................................................11-8
11.11 show optical-module-alarm-profile ...................................................................11-9
11.12 alarm alarm-profile ....................................................................................... 11-10
11.13 alarm-index ................................................................................................. 11-11
11.14 alarm-profile-apply ....................................................................................... 11-11
11.15 show alarm profile........................................................................................ 11-12

Chapter 12 Historical Performance Management.................................. 12-1


12.1 his-performance alarm .................................................................................... 12-1
12.2 his-performance auto-upload........................................................................... 12-2
12.3 his-performance download .............................................................................. 12-2
12.4 his-performance sample.................................................................................. 12-3
12.5 his-performance upload 15-minute................................................................... 12-4
12.6 his-performance upload 1-day ......................................................................... 12-4

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


13.1 perf-eht-if ....................................................................................................... 13-1
13.2 perf-eth-olt ..................................................................................................... 13-2
13.3 perf-eth-onu ................................................................................................... 13-3
13.4 perf-mac-olt ................................................................................................... 13-3
13.5 perf-mac-onu ................................................................................................. 13-4
13.6 perf-vport ....................................................................................................... 13-5
13.7 perf-clear-current............................................................................................ 13-5
13.8 perf-profile ..................................................................................................... 13-6
13.9 performance threshhold-profile ........................................................................ 13-7
13.10 performance threshhold-profile (vport) ........................................................... 13-7
V

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


13.11 item (olt/onu eth)........................................................................................... 13-8
13.12 item (eth if)..................................................................................................13-10
13.13 item (olt mac) .............................................................................................. 13-11
13.14 item (onu mac) ............................................................................................13-13
13.15 item (vport)..................................................................................................13-14
13.16 show perf-eth-if ...........................................................................................13-15
13.17 show perf-olt ...............................................................................................13-16
13.18 show perf-onu .............................................................................................13-17
13.19 show perf-vport ...........................................................................................13-18

Chapter 14 Debugging Commands......................................................... 14-1


14.1 debug all........................................................................................................ 14-3
14.2 debug arp ...................................................................................................... 14-3
14.3 debug dhcp-option82 ...................................................................................... 14-4
14.4 debug group-management .............................................................................. 14-5
14.5 debug igmp .................................................................................................... 14-6
14.6 debug ip ........................................................................................................ 14-8
14.7 debug ip bgp updates ..................................................................................... 14-8
14.8 debug ip bgp all.............................................................................................. 14-9
14.9 debug ip bgp dampening................................................................................14-10
14.10 debug ip bgp events .................................................................................... 14-11
14.11 debug ip bgp in ............................................................................................ 14-11
14.12 debug ip bgp keepalives ..............................................................................14-12
14.13 debug ip bgp out..........................................................................................14-13
14.14 debug ip destination.....................................................................................14-14
14.15 debug ip dhcp .............................................................................................14-15
14.16 debug ip icmp..............................................................................................14-15
14.17 debug ip icmp detail.....................................................................................14-16
14.18 debug ip igmp .............................................................................................14-17
14.19 debug ip igmp-snooping ...............................................................................14-18
14.20 debug ip interface ........................................................................................14-18
14.21 debug ip msdp.............................................................................................14-19
14.22 debug ip multicast........................................................................................14-20
14.23 debug ip ospf adj .........................................................................................14-21
14.24 debug ip ospf all ..........................................................................................14-22
14.25 debug ip ospf cspf .......................................................................................14-23
14.26 debug ip ospf database-timer .......................................................................14-23
14.27 debug ip ospf events....................................................................................14-24

VI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


14.28 debug ip ospf flood ......................................................................................14-25
14.29 debug ip ospf lsa-generation ........................................................................14-26
14.30 debug ip ospf nsf .........................................................................................14-27
14.31 debug ip ospf packet....................................................................................14-27
14.32 debug ip ospf retransmission........................................................................14-28
14.33 debug ip ospf spf .........................................................................................14-29
14.34 debug ip ospf tree........................................................................................14-30
14.35 debug ip pim-snooping.................................................................................14-31
14.36 debug ip pimsm ...........................................................................................14-31
14.37 debug ip protocol .........................................................................................14-33
14.38 debug ip rip .................................................................................................14-33
14.39 debug ip rip all.............................................................................................14-34
14.40 debug ip rip database ..................................................................................14-35
14.41 debug ip rip events ......................................................................................14-36
14.42 debug ip rip trigger.......................................................................................14-36
14.43 debug ip source...........................................................................................14-37
14.44 debug ip tcp all ............................................................................................14-38
14.45 debug ip tcp driver .......................................................................................14-39
14.46 debug ip tcp driver-pak.................................................................................14-40
14.47 debug ip tcp packet......................................................................................14-40
14.48 debug ip tcp transactions .............................................................................14-41
14.49 debug ip udp ...............................................................................................14-42
14.50 debug iptv ...................................................................................................14-43
14.51 debug lacp all ..............................................................................................14-44
14.52 debug lacp fsm............................................................................................14-45
14.53 debug lacp packet .......................................................................................14-46
14.54 debug mstp agreement ................................................................................14-47
14.55 debug mstp all.............................................................................................14-48
14.56 debug mstp bpdu-rx.....................................................................................14-49
14.57 debug mstp bpdu-tx .....................................................................................14-50
14.58 debug mstp errors .......................................................................................14-51
14.59 debug mstp flush .........................................................................................14-51
14.60 debug mstp info...........................................................................................14-52
14.61 debug mstp migration ..................................................................................14-53
14.62 debug mstp proposals..................................................................................14-54
14.63 debug mstp roles .........................................................................................14-55
14.64 debug mstp state .........................................................................................14-56

VII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


14.65 debug mstp tc .............................................................................................14-57
14.66 debug port-location ......................................................................................14-58
14.67 debug pppoe-plus........................................................................................14-59
14.68 debug radius all ...........................................................................................14-60
14.69 debug radius authentication .........................................................................14-60
14.70 debug radius exception ................................................................................14-61
14.71 debug radius user........................................................................................14-62
14.72 debug ssh ...................................................................................................14-63
14.73 debug syscomm ..........................................................................................14-64
14.74 debug sysctrl...............................................................................................14-65
14.75 debug version-mng ......................................................................................14-66
14.76 debug vlan ..................................................................................................14-67
14.77 debug vrrp ..................................................................................................14-68
14.78 show debugging ..........................................................................................14-69
14.79 terminal monitor...........................................................................................14-70
14.80 terminal length.............................................................................................14-70

Chapter 15 Monitor Commands .............................................................. 15-1


15.1 system-monitor endless-loop duration.............................................................. 15-1
15.2 system-monitor endless-loop reboot ................................................................ 15-2
15.3 system-monitor task-suspend-reboot ............................................................... 15-2
15.4 system-monitor watchdog ............................................................................... 15-3
15.5 system-monitor watchdog-duration .................................................................. 15-4
15.6 pon-loopback-auto-check-time ........................................................................ 15-4

Chapter 16 VLAN Commands.................................................................. 16-1


16.1 Global Commands.......................................................................................... 16-1
16.1.1 vlan ..................................................................................................... 16-1
16.1.2 vlan database....................................................................................... 16-2
16.1.3 name ................................................................................................... 16-2
16.1.4 description ........................................................................................... 16-3
16.1.5 multicast-packet ................................................................................... 16-4
16.1.6 vlan (Database Mode) .......................................................................... 16-5
16.1.7 vbas .................................................................................................... 16-5
16.1.8 vlan-statistic ......................................................................................... 16-6
16.1.9 customer-xconnect ............................................................................... 16-7
16.1.10 xconnect ............................................................................................ 16-8
16.2 Uplink Port Command at Network Side ............................................................ 16-9
16.2.1 switchport mode ................................................................................... 16-9

VIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


16.2.2 switchport default vlan .........................................................................16-10
16.2.3 switchport vlan ....................................................................................16-10
16.2.4 switchport tpid ..................................................................................... 16-11
16.3 Commands at User side.................................................................................16-12
16.3.1 switchport mode ..................................................................................16-12
16.3.2 switchport default vlan .........................................................................16-13
16.3.3 switchport tls ......................................................................................16-14
16.3.4 switchport tls vlan ................................................................................16-14
16.3.5 switchport vlan ....................................................................................16-15
16.4 Service-Port Commands ................................................................................16-16
16.4.1 service-port .........................................................................................16-16
16.4.2 service-port (TLS)................................................................................16-18
16.4.3 service-port description........................................................................16-19
16.5 Smart QinQ Commands.................................................................................16-20
16.5.1 vlan-smart-qinq ...................................................................................16-20
16.5.2 vlan-smart-qinq ingress-port.................................................................16-21
16.6 Show Commands ..........................................................................................16-22
16.6.1 show vlan summary.............................................................................16-22
16.6.2 show vlan ...........................................................................................16-23
16.6.3 show vlan port.....................................................................................16-24
16.6.4 show vlan priority.................................................................................16-25
16.6.5 show vlan protocol...............................................................................16-25
16.6.6 show vlan qinq ....................................................................................16-26
16.6.7 show vlan translate..............................................................................16-27
16.6.8 show vlan-smart-qinq...........................................................................16-27
16.6.9 show interface vlan-statistic detail.........................................................16-28

Chapter 17 SuperVLAN Commands ....................................................... 17-1


17.1 arp-broadcast................................................................................................. 17-1
17.2 interface supervlan ......................................................................................... 17-2
17.3 interface-subvlan-routing................................................................................. 17-3
17.4 ip supervlan pool ............................................................................................ 17-3
17.5 ip-pool-filter .................................................................................................... 17-4
17.6 subvlan.......................................................................................................... 17-5
17.7 supervlan....................................................................................................... 17-6
17.8 supervlan inter-subvlan-routing........................................................................ 17-6
17.9 show supervlan .............................................................................................. 17-7
17.10 show supervlan ip-pool ................................................................................. 17-8

IX

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 18 P2P Commands..................................................................... 18-1
18.1 max-mac-learn ............................................................................................... 18-1
18.2 unknowncast-rate-limit .................................................................................... 18-2
18.3 vlan-statistic ................................................................................................... 18-2
18.4 ip-service ip-source-guard .............................................................................. 18-3
18.5 ip-service ip-source-guard sport ...................................................................... 18-3
18.6 ip-service ipv6-fixed-user ................................................................................ 18-4
18.7 ip-service ip-fixed-user.................................................................................... 18-5
18.8 show ip-service user ....................................................................................... 18-6
18.9 show ip-service ipv6-user................................................................................ 18-6

Chapter 19 PON Comands....................................................................... 19-1


19.1 auto-replace-offline-onu .................................................................................. 19-1
19.2 copy .............................................................................................................. 19-2
19.3 onu-profile...................................................................................................... 19-3
19.4 rogue-onu-detect ............................................................................................ 19-4
19.5 show pon rogue-onu-inf .................................................................................. 19-4
19.6 show pon onu onu-profile ................................................................................ 19-5
19.7 show pon onu-profile ...................................................................................... 19-5
19.8 ONU Type Profile Management ....................................................................... 19-6
19.8.1 onu-type .............................................................................................. 19-6
19.8.2 onu-type-if............................................................................................ 19-8
19.8.3 show onu-type...................................................................................... 19-9
19.8.4 show onu-type-if..................................................................................19-10
19.9 OLT Performance Management......................................................................19-10
19.9.1 performance cesmsb2 .........................................................................19-10
19.9.2 performance cesprotocol...................................................................... 19-11
19.9.3 performance cesrfc1213 ......................................................................19-12
19.9.4 performance cesrfc1757 ......................................................................19-13
19.9.5 performance ceswanport......................................................................19-14
19.9.6 performance cesrsb1 ...........................................................................19-15
19.9.7 performance cesvc12v5 .......................................................................19-16
19.9.8 performance cesvc12v5rei ...................................................................19-17
19.9.9 performance cesvc4b3.........................................................................19-18
19.9.10 performance gponolt ..........................................................................19-19
19.9.11 performance gpononu ........................................................................19-20
19.9.12 show performance pon-olt ..................................................................19-21
19.9.13 show performance pon-onu ................................................................19-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


19.10 Optical Module Management........................................................................19-24
19.10.1 show pon transceiver info...................................................................19-24
19.10.2 show pon power olt-tx ........................................................................19-25
19.10.3 show pon power olt-rx........................................................................19-26
19.10.4 show pon power onu-tx ......................................................................19-27
19.10.5 show pon power onu-rx......................................................................19-27
19.10.6 show pon power attenuation...............................................................19-28
19.10.7 show pon transceiver-threshold ..........................................................19-29
19.10.8 transceiver-threshold .........................................................................19-30
19.10.9 transceiver detect-period....................................................................19-31
19.11 ONU In-Band NM Configuration....................................................................19-31
19.11.1 ip-pool...............................................................................................19-31
19.11.2 ip-pool-bind .......................................................................................19-32
19.11.3 show pon ip-pool ...............................................................................19-33
19.11.4 show pon ip-pool-bind ........................................................................19-34
19.12 PON Protection Commands .........................................................................19-35
19.12.1 protection group ................................................................................19-35
19.12.2 protection prop ..................................................................................19-36
19.12.3 protection switch-command ................................................................19-37
19.12.4 show protection group list...................................................................19-38
19.12.5 show protection group information ......................................................19-38

Chapter 20 EPON Commands ................................................................. 20-1


20.1 EPON Global Configuration............................................................................. 20-1
20.1.1 epon .................................................................................................... 20-1
20.1.2 alarm mask .......................................................................................... 20-2
20.1.3 onu-authentication-mode ...................................................................... 20-2
20.1.4 onu-authentication-mode auth-loid-as-sn ............................................... 20-3
20.1.5 onu-sla-profile ...................................................................................... 20-4
20.1.6 onu-uni-profile ...................................................................................... 20-5
20.1.7 onu-type-profile .................................................................................... 20-6
20.1.8 ems-report ........................................................................................... 20-7
20.1.9 onu-sla-profile profile-name................................................................... 20-7
20.1.10 onu-sla-profile profile-set..................................................................... 20-8
20.1.11 dba .................................................................................................... 20-9
20.1.12 encrypt .............................................................................................20-10
20.1.13 hardwarelog ...................................................................................... 20-11
20.1.14 onu-uni-profile profile-name................................................................20-12

XI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


20.1.15 onu-uni-profile profile-set....................................................................20-12
20.1.16 show epon alarm-mask ......................................................................20-13
20.1.17 show epon authentication-mode .........................................................20-14
20.1.18 show epon onu-sla-profile ..................................................................20-15
20.1.19 show epon onu-uni-profile ..................................................................20-16
20.1.20 show epon onu-type-profile ................................................................20-16
20.1.21 show epon dba..................................................................................20-17
20.2 EPON OLT Interface Configuration .................................................................20-18
20.2.1 interface epon-olt.................................................................................20-18
20.2.2 alarm ..................................................................................................20-18
20.2.3 property ..............................................................................................20-19
20.2.4 fec downstream...................................................................................20-20
20.2.5 high-priority-frame ...............................................................................20-20
20.2.6 linktrap................................................................................................20-21
20.2.7 loopback .............................................................................................20-22
20.2.8 loopback-detection ..............................................................................20-22
20.2.9 maxrtt .................................................................................................20-23
20.2.10 onu ...................................................................................................20-24
20.2.11 optical-module-alarm-profile ...............................................................20-25
20.2.12 performance start ..............................................................................20-26
20.2.13 priority-queue-map ............................................................................20-27
20.2.14 p2p group .........................................................................................20-28
20.2.15 p2p group-name ................................................................................20-28
20.2.16 p2p mode..........................................................................................20-29
20.2.17 reset .................................................................................................20-30
20.2.18 reset counter .....................................................................................20-30
20.2.19 range ................................................................................................20-31
20.2.20 rx-hec ...............................................................................................20-31
20.2.21 vlan-smart-qinq .................................................................................20-32
20.2.22 shutdown ..........................................................................................20-33
20.2.23 show epon priority-queue-map ...........................................................20-33
20.2.24 show olt alarm-info ............................................................................20-34
20.2.25 show olt config ..................................................................................20-35
20.2.26 show olt available-upstream-bandwidth...............................................20-36
20.2.27 show olt dba-cycle .............................................................................20-37
20.2.28 show olt statistics ..............................................................................20-38
20.2.29 show olt mpcp-discovery-window........................................................20-39

XII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


20.3 EPON ONU Interface Configuration ................................................................20-39
20.3.1 interface epon-onu ..............................................................................20-39
20.3.2 activate...............................................................................................20-40
20.3.3 ems-autocfg-request............................................................................20-41
20.3.4 sn.......................................................................................................20-41
20.3.5 deactivate ...........................................................................................20-42
20.3.6 property ..............................................................................................20-43
20.3.7 sla ......................................................................................................20-43
20.3.8 sla-profile............................................................................................20-44
20.3.9 mac-bind.............................................................................................20-45
20.3.10 deregister..........................................................................................20-46
20.3.11 fec ....................................................................................................20-46
20.3.12 encrypt .............................................................................................20-47
20.3.13 ip access-group .................................................................................20-48
20.3.14 diagnose ...........................................................................................20-48
20.3.15 mac ..................................................................................................20-49
20.3.16 max-mac-learn ..................................................................................20-50
20.3.17 priority-trans ......................................................................................20-50
20.3.18 performance start ..............................................................................20-51
20.3.19 join-p2p-group ...................................................................................20-52
20.3.20 range ................................................................................................20-52
20.3.21 show onu all-status ............................................................................20-53
20.3.22 show onu authentication ....................................................................20-54
20.3.23 show onu detail-info...........................................................................20-55
20.3.24 show onu sla .....................................................................................20-56
20.3.25 show onu mpcpinfo............................................................................20-57
20.3.26 show onu oam...................................................................................20-57
20.3.27 show onu config-info ..........................................................................20-58
20.3.28 show onu priority-trans.......................................................................20-59
20.3.29 show onu running config ....................................................................20-60
20.4 EPON ONU Remote Management..................................................................20-61
20.4.1 pon-onu-mng epon-onu .......................................................................20-61
20.4.2 active..................................................................................................20-62
20.4.3 alarm ..................................................................................................20-62
20.4.4 alarm-threshold ...................................................................................20-63
20.4.5 auto-config..........................................................................................20-64
20.4.6 classification condition-profile ...............................................................20-65

XIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


20.4.7 classification rule-profile.......................................................................20-66
20.4.8 classification port.................................................................................20-67
20.4.9 compatibility ........................................................................................20-68
20.4.10 config-pvid ........................................................................................20-69
20.4.11 config-vlan.........................................................................................20-69
20.4.12 isolation ............................................................................................20-70
20.4.13 dba ...................................................................................................20-71
20.4.14 dba queue-set active .........................................................................20-71
20.4.15 holdover............................................................................................20-72
20.4.16 interface eth ......................................................................................20-73
20.4.17 interface el ........................................................................................20-74
20.4.18 interface voip.....................................................................................20-75
20.4.19 interface-loopdetect ...........................................................................20-76
20.4.20 llid-queue ..........................................................................................20-77
20.4.21 multicast fastleave .............................................................................20-77
20.4.22 mac ..................................................................................................20-78
20.4.23 mac aging-time..................................................................................20-79
20.4.24 mac limit-num....................................................................................20-80
20.4.25 mgmt-ip ............................................................................................20-81
20.4.26 multicast control-type .........................................................................20-82
20.4.27 multicast fastleave .............................................................................20-83
20.4.28 multicast vlan ....................................................................................20-84
20.4.29 multicast vlan tag-strip .......................................................................20-85
20.4.30 multicast switch .................................................................................20-85
20.4.31 multicast group-max-number ..............................................................20-86
20.4.32 reboot ...............................................................................................20-87
20.4.33 register .............................................................................................20-87
20.4.34 region ...............................................................................................20-88
20.4.35 reset uni-statistic ...............................................................................20-89
20.4.36 reset voip-module ..............................................................................20-89
20.4.37 reset-card .........................................................................................20-90
20.4.38 restore factory-settings.......................................................................20-91
20.4.39 restore voip-module ...........................................................................20-91
20.4.40 security-mng telnet ............................................................................20-92
20.4.41 ssid-ctrl .............................................................................................20-93
20.4.42 svlan-base ........................................................................................20-94
20.4.43 transceiver ........................................................................................20-94

XIV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


20.4.44 vlan ..................................................................................................20-95
20.4.45 vlan-translate ....................................................................................20-96
20.4.46 voip-mng-ip .......................................................................................20-97
20.4.47 voip call-test ......................................................................................20-98
20.4.48 voip cid-presenting ............................................................................20-99
20.4.49 voip media-ip...................................................................................20-100
20.4.50 voip mg-domainname ......................................................................20-101
20.4.51 voip pppoe ......................................................................................20-101
20.4.52 voip ip-address................................................................................20-102
20.4.53 voip mg...........................................................................................20-103
20.4.54 voip rtp-tid .......................................................................................20-103
20.4.55 voip user-tid ....................................................................................20-104
20.4.56 voip sip-user....................................................................................20-105
20.4.57 voip timer ........................................................................................20-106
20.4.58 voip-module fax-profile.....................................................................20-106
20.4.59 voip-module global-profile ................................................................20-107
20.4.60 voip-module protocol-profile .............................................................20-108
20.4.61 wan ................................................................................................20-108
20.4.62 wep ................................................................................................20-109
20.4.63 wifi.................................................................................................. 20-110
20.4.64 show remote epon wan-general-profile.............................................. 20-111
20.4.65 show remote onu info....................................................................... 20-111
20.4.66 show remote onu port info ................................................................ 20-112
20.4.67 show remote onu port auto-neg ........................................................ 20-113
20.4.68 show remote onu vlan...................................................................... 20-114
20.4.69 show remote onu multicast-info ........................................................ 20-115
20.4.70 show remote onu classification ......................................................... 20-116
20.4.71 show remote onu classification profile ............................................... 20-117
20.4.72 show remote onu dba ...................................................................... 20-118
20.4.73 show remote onu mac...................................................................... 20-119
20.4.74 show remote onu mgmt-ip ................................................................20-120
20.4.75 show remote onu fastleave...............................................................20-121
20.4.76 show remote onu auto-config ...........................................................20-122
20.4.77 show remote onu transceiver............................................................20-123
20.4.78 show remote onu vlan-translate ........................................................20-123
20.4.79 show remote onu voip-mng-ip...........................................................20-124
20.4.80 show remote onu svlan-base............................................................20-125

XV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


20.4.81 show remote onu pppoe-test ............................................................20-126

Chapter 21 GPON Commands................................................................. 21-1


21.1 GPON Global Configuration ............................................................................ 21-1
21.1.1 fixed-tcont-bw....................................................................................... 21-1
21.1.2 profile tcont .......................................................................................... 21-2
21.1.3 profile traffic ......................................................................................... 21-3
21.1.4 onu profile dial-plan .............................................................................. 21-4
21.1.5 onu profile dial-plan-table ...................................................................... 21-4
21.1.6 onu profile dscp.................................................................................... 21-5
21.1.7 onu profile filter-rule.............................................................................. 21-6
21.1.8 onu profile igmp.................................................................................... 21-8
21.1.9 onu profile ip .......................................................................................21-10
21.1.10 onu profile mgc..................................................................................21-10
21.1.11 onu profile performance-threshold cesuni ............................................21-12
21.1.12 onu profile performance-threshold dot1x .............................................21-14
21.1.13 onu profile performance-threshold ethuni ............................................21-14
21.1.14 onu profile performance-threshold gem ...............................................21-16
21.1.15 onu profile performance-threshold radius ............................................21-17
21.1.16 onu profile performance-threshold switchport ......................................21-18
21.1.17 onu profile performance-threshold vlan ...............................................21-18
21.1.18 onu profile sip....................................................................................21-19
21.1.19 onu profile tdm ..................................................................................21-21
21.1.20 onu profile treat .................................................................................21-22
21.1.21 onu profile vlan..................................................................................21-25
21.1.22 onu profile voip-accesscode ...............................................................21-25
21.1.23 onu profile voip-appsrv.......................................................................21-27
21.1.24 onu profile voip-media........................................................................21-29
21.1.25 show gpon profile ..............................................................................21-31
21.1.26 show gpon onu profile dial-plan ..........................................................21-32
21.1.27 show gpon onu profile dial-plan-table ..................................................21-32
21.1.28 show gpon onu profile dscp ................................................................21-33
21.1.29 show gpon onu profile filter-rule ..........................................................21-34
21.1.30 show gpon onu profile igmpi ...............................................................21-35
21.1.31 show gpon onu profile ip ....................................................................21-36
21.1.32 show gpon onu profile mgc.................................................................21-36
21.1.33 show gpon onu profile performance-threshold ces ...............................21-38
21.1.34 show gpon onu profile performance-threshold dot1x ............................21-39

XVI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


21.1.35 show gpon onu profile performance-threshold eth................................21-39
21.1.36 show gpon onu profile performance-threshold gem ..............................21-41
21.1.37 show gpon onu profile performance-threshold radius ...........................21-41
21.1.38 show gpon onu profile performance-threshold switchport .....................21-42
21.1.39 show gpon onu profile performance-threshold vlan-eth.........................21-43
21.1.40 show gpon onu profile sip...................................................................21-44
21.1.41 show gpon onu profile tdm .................................................................21-45
21.1.42 show gpon onu profile treat ................................................................21-46
21.1.43 show gpon onu profile vlan.................................................................21-46
21.1.44 show gpon onu profile voip-accesscode ..............................................21-47
21.1.45 show gpon onu profile voip-appsrv......................................................21-48
21.1.46 show gpon onu profile voip-media.......................................................21-50
21.2 GPON OLT Interface Configuration.................................................................21-51
21.2.1 als ......................................................................................................21-51
21.2.2 auto-learning.......................................................................................21-51
21.2.3 ber-interval..........................................................................................21-52
21.2.4 clear ...................................................................................................21-53
21.2.5 dba period-mode .................................................................................21-54
21.2.6 discover-period ...................................................................................21-54
21.2.7 fec......................................................................................................21-55
21.2.8 linktrap................................................................................................21-56
21.2.9 lock ....................................................................................................21-56
21.2.10 loopback-detection ............................................................................21-57
21.2.11 mld ...................................................................................................21-58
21.2.12 multicast-rate-limit .............................................................................21-58
21.2.13 name ................................................................................................21-59
21.2.14 onu profile .........................................................................................21-60
21.2.15 onu type............................................................................................21-61
21.2.16 onu-action .........................................................................................21-62
21.2.17 onu-sn ..............................................................................................21-62
21.2.18 optical-module-alarm-profile ...............................................................21-63
21.2.19 range-mode ......................................................................................21-64
21.2.20 range ................................................................................................21-64
21.2.21 resource-id-assign-mode....................................................................21-65
21.2.22 scb-port ............................................................................................21-66
21.2.23 shutdown ..........................................................................................21-66
21.2.24 traffic-profile (olt) ...............................................................................21-67

XVII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


21.2.25 vlan-smart-qinq .................................................................................21-68
21.2.26 show gpon fec ...................................................................................21-68
21.2.27 show gpon olt conifg ..........................................................................21-69
21.2.28 show gpon olt performance ................................................................21-70
21.2.29 show gpon olt rang-mode...................................................................21-71
21.2.30 show loop-detection global .................................................................21-72
21.2.31 show pon-loopback-detection .............................................................21-72
21.2.32 show interface optical-module-info ......................................................21-73
21.3 GPON ONU Interface Configuration ...............................................................21-74
21.3.1 action .................................................................................................21-74
21.3.2 bind ip-address ...................................................................................21-75
21.3.3 bind mac-address................................................................................21-75
21.3.4 broadcast-rate-limit..............................................................................21-76
21.3.5 dba.....................................................................................................21-77
21.3.6 description (onu) .................................................................................21-77
21.3.7 dhcp6-option18 ...................................................................................21-78
21.3.8 dhcp-option82 .....................................................................................21-79
21.3.9 encrypt ...............................................................................................21-80
21.3.10 fec (onu) ...........................................................................................21-80
21.3.11 gemport ............................................................................................21-81
21.3.12 ip access-group .................................................................................21-82
21.3.13 link-test .............................................................................................21-83
21.3.14 max-mac-learn ..................................................................................21-84
21.3.15 name (onu) .......................................................................................21-84
21.3.16 omcc-encrypt ....................................................................................21-85
21.3.17 omci-bandwidth .................................................................................21-86
21.3.18 performance......................................................................................21-86
21.3.19 range (onu) .......................................................................................21-87
21.3.20 registration-method............................................................................21-88
21.3.21 rogue-onu-state .................................................................................21-88
21.3.22 service-port .......................................................................................21-89
21.3.23 state .................................................................................................21-90
21.3.24 sn-bind .............................................................................................21-91
21.3.25 switchport .........................................................................................21-92
21.3.26 traffic-profile ......................................................................................21-93
21.3.27 tcont .................................................................................................21-93
21.3.28 type ..................................................................................................21-94

XVIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


21.3.29 vport .................................................................................................21-95
21.3.30 vport-map .........................................................................................21-96
21.3.31 vport-mode........................................................................................21-97
21.3.32 show gpon onu detail-info ..................................................................21-98
21.3.33 show gpon onu profile treat ................................................................21-99
21.3.34 show gpon onu gemport.....................................................................21-99
21.3.35 show gpon onu baseinfo ..................................................................21-100
21.3.36 show gpon onu state........................................................................21-101
21.3.37 show gpon onu uncfg.......................................................................21-102
21.3.38 show gpon onu tcont........................................................................21-103
21.3.39 show gpon onu vport .......................................................................21-104
21.3.40 show performance gpon-gemport .....................................................21-104
21.3.41 show performance pon-vport ............................................................21-105
21.4 GPON ONU Remote Management ...............................................................21-106
21.4.1 pon-onu-mng ....................................................................................21-106
21.4.2 auto-shutdown ..................................................................................21-107
21.4.3 broadcast-limit...................................................................................21-108
21.4.4 cfm mep ...........................................................................................21-109
21.4.5 cfm ma ............................................................................................. 21-110
21.4.6 cfm md ............................................................................................. 21-112
21.4.7 dot1p-map ........................................................................................ 21-114
21.4.8 dot1x ................................................................................................ 21-115
21.4.9 dot1x ethuni ...................................................................................... 21-116
21.4.10 dhcp-ip ........................................................................................... 21-117
21.4.11 dhcp-option60.................................................................................. 21-118
21.4.12 equip-mgmt..................................................................................... 21-118
21.4.13 ex-vlan............................................................................................ 21-119
21.4.14 ex-vlan-table ...................................................................................21-120
21.4.15 flow ................................................................................................21-121
21.4.16 flow mode .......................................................................................21-122
21.4.17 firewall ip-filter .................................................................................21-124
21.4.18 firewall mac-filter .............................................................................21-125
21.4.19 firewall mac-filter-table .....................................................................21-126
21.4.20 firewall port-forward .........................................................................21-127
21.4.21 gemport ..........................................................................................21-128
21.4.22 igmp ...............................................................................................21-129
21.4.23 igmp monitor ...................................................................................21-129

XIX

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


21.4.24 interface ces....................................................................................21-130
21.4.25 interface eth ....................................................................................21-131
21.4.26 interface pon ...................................................................................21-133
21.4.27 interface pots ..................................................................................21-135
21.4.28 interface video.................................................................................21-136
21.4.29 interface video-ani ...........................................................................21-137
21.4.30 interface wifi ....................................................................................21-138
21.4.31 ip-host dhcp-enable .........................................................................21-139
21.4.32 ip-host id .........................................................................................21-140
21.4.33 ip-host ip .........................................................................................21-141
21.4.34 ip-host primary-dns ..........................................................................21-141
21.4.35 ip-service-map.................................................................................21-142
21.4.36 lct ...................................................................................................21-143
21.4.37 loopback .........................................................................................21-143
21.4.38 loop-detect ......................................................................................21-144
21.4.39 mac-filter.........................................................................................21-145
21.4.40 me-access ......................................................................................21-146
21.4.41 mgc ................................................................................................21-146
21.4.42 mgc-service ....................................................................................21-148
21.4.43 mgmt-ip ..........................................................................................21-149
21.4.44 mgmt-ip auto-assign ........................................................................21-149
21.4.45 mgmt-ip release...............................................................................21-150
21.4.46 mirror..............................................................................................21-151
21.4.47 multicast vlan ..................................................................................21-151
21.4.48 onu-vlan..........................................................................................21-152
21.4.49 performance....................................................................................21-153
21.4.50 power-shedding...............................................................................21-154
21.4.51 pkt-filter...........................................................................................21-155
21.4.52 pw psn ethernet...............................................................................21-156
21.4.53 pw psn ip ........................................................................................21-157
21.4.54 pw optional......................................................................................21-158
21.4.55 pw rtp .............................................................................................21-159
21.4.56 pw tdm............................................................................................21-160
21.4.57 pw delete ........................................................................................21-161
21.4.58 protocol-filter ...................................................................................21-162
21.4.59 proto-proc .......................................................................................21-163
21.4.60 range ..............................................................................................21-163

XX

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


21.4.61 reboot .............................................................................................21-164
21.4.62 restore ............................................................................................21-164
21.4.63 restore factory .................................................................................21-165
21.4.64 schedule .........................................................................................21-166
21.4.65 service ............................................................................................21-166
21.4.66 sntp ................................................................................................21-168
21.4.67 switch .............................................................................................21-169
21.4.68 switchport-bind ................................................................................21-170
21.4.69 switchport .......................................................................................21-170
21.4.70 synctime .........................................................................................21-171
21.4.71 sys-attr ...........................................................................................21-172
21.4.72 security-ctrl .....................................................................................21-172
21.4.73 security-mng ...................................................................................21-173
21.4.74 sip-agent reg-exptime ......................................................................21-174
21.4.75 sip-agent registrar-server .................................................................21-175
21.4.76 sip-agent rereg-starttime ..................................................................21-176
21.4.77 sip-agent proxy-server .....................................................................21-176
21.4.78 sip-agent ss ....................................................................................21-177
21.4.79 sip-agent validate ............................................................................21-178
21.4.80 sip-user...........................................................................................21-179
21.4.81 sip-service ......................................................................................21-180
21.4.82 test .................................................................................................21-181
21.4.83 test ipoe..........................................................................................21-182
21.4.84 tr069-mgmt .....................................................................................21-183
21.4.85 up-queue-map.................................................................................21-184
21.4.86 vlan port mode ................................................................................21-185
21.4.87 vlan port vlan...................................................................................21-186
21.4.88 vlan port translate ............................................................................21-187
21.4.89 vlan-filter-mode ...............................................................................21-188
21.4.90 vlan-filter .........................................................................................21-189
21.4.91 veip ................................................................................................21-190
21.4.92 voip ................................................................................................21-191
21.4.93 voip-ctp...........................................................................................21-192
21.4.94 voip-ip.............................................................................................21-193
21.4.95 wan ................................................................................................21-194
21.4.96 wan-ip.............................................................................................21-195
21.4.97 weight.............................................................................................21-196

XXI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


21.4.98 wifi..................................................................................................21-197
21.4.99 show mpnat cfg-table.......................................................................21-199
21.4.100 show mpnat trans-table ..................................................................21-200
21.4.101 show gpon remote-onu auto-shutdown............................................21-201
21.4.102 show gpon remote-onu broadcast-limit ............................................21-202
21.4.103 show gpon remote-onu capability....................................................21-202
21.4.104 show gpon remote-onu cfm mep.....................................................21-203
21.4.105 show gpon remote-onu dhcp-ip.......................................................21-204
21.4.106 show gpon remote-onu dhcp-option60 ............................................21-205
21.4.107 show gpon remote-onu dot1p-map..................................................21-206
21.4.108 show gpon remote-onu equip .........................................................21-207
21.4.109 show gpon remote-onu ex-vlan.......................................................21-208
21.4.110 show gpon remote-onu ex-vlan-table...............................................21-209
21.4.111 show gpon remote-onu flow ............................................................21-209
21.4.112 show gpon remote-onu gemport......................................................21-210
21.4.113 show gpon remote-onu igmp........................................................... 21-211
21.4.114 show gpon remote-onu interface .....................................................21-212
21.4.115 show gpon remote-onu ip-host........................................................21-213
21.4.116 show gpon remote-onu ip-service-map ............................................21-214
21.4.117 show gpon remote-onu ip route.......................................................21-215
21.4.118 show gpon remote-onu loop-detect .................................................21-215
21.4.119 show gpon remote-onu mac-filter ....................................................21-216
21.4.120 show gpon remote-onu mgc ...........................................................21-217
21.4.121 show gpon remote-onu port-map ....................................................21-218
21.4.122 show gpon remote-onu power-shedding..........................................21-218
21.4.123 show gpon remote-onu pw .............................................................21-219
21.4.124 show gpon remote-onu pkt-filter......................................................21-220
21.4.125 show gpon remote-onu performance...............................................21-220
21.4.126 show gpon remote-onu sip-agent....................................................21-222
21.4.127 show gpon remote-onu sip-service..................................................21-223
21.4.128 show gpon remote-onu sip-user......................................................21-224
21.4.129 show gpon remote-onu service .......................................................21-224
21.4.130 show gpon remote-onu schedule ....................................................21-225
21.4.131 show gpon remote-onu switch ........................................................21-226
21.4.132 show gpon remote-onu switchport...................................................21-227
21.4.133 show gpon remote-onu test-result ...................................................21-227
21.4.134 show gpon remote-onu tr069-mgmt.................................................21-228

XXII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


21.4.135 show gpon remote-onu up-queue-map ............................................21-229
21.4.136 show gpon remote-onu voip ...........................................................21-230
21.4.137 show gpon remote-onu voip-ctp ......................................................21-230
21.4.138 show gpon remote-onu voip-linestatus ............................................21-231
21.4.139 show gpon remote-onu vlan ...........................................................21-232
21.4.140 show gpon remote-onu vlan port.....................................................21-233
21.4.141 show gpon remote-onu vlan translate..............................................21-233
21.4.142 show gpon remote-onu vlan-filter ....................................................21-234
21.4.143 show gpon remote-onu wan ...........................................................21-235
21.4.144 show gpon remote onu wan-ip ........................................................21-236
21.4.145 show gpon remote-onu weight ........................................................21-237
21.4.146 show gpon remote-onu wifi info ......................................................21-237

Chapter 22 CPE Version Management.................................................... 22-1


22.1 cpe abort ....................................................................................................... 22-1
22.2 cpe activate ................................................................................................... 22-2
22.3 cpe commit .................................................................................................... 22-3
22.4 cpe update..................................................................................................... 22-4
22.5 cpe update-commit ......................................................................................... 22-4
22.6 cpe update-and-reboot.................................................................................... 22-5
22.7 cpe update-reonline........................................................................................ 22-6
22.8 show cpe update-status .................................................................................. 22-6
22.9 show cpe information...................................................................................... 22-7
22.10 show cpe task .............................................................................................. 22-8
22.11 show cpe summary-of ................................................................................... 22-9
22.12 cpe task ......................................................................................................22-10
22.13 action..........................................................................................................22-10
22.14 description .................................................................................................. 22-11
22.15 equipment-type ...........................................................................................22-12
22.16 match-vertag ...............................................................................................22-13
22.17 mode ..........................................................................................................22-13
22.18 range ..........................................................................................................22-14
22.19 service-type ................................................................................................22-15
22.20 vendor-name...............................................................................................22-16
22.21 version-file ..................................................................................................22-16
22.22 task add......................................................................................................22-17
22.23 task abort....................................................................................................22-17
22.24 task restart .................................................................................................22-18

XXIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


22.25 task delete ..................................................................................................22-18

Chapter 23 Multicast Commands............................................................ 23-1


23.1 Layer-3 Multicast Commands .......................................................................... 23-1
23.1.1 accept-register ..................................................................................... 23-1
23.1.2 accept-rp ............................................................................................. 23-2
23.1.3 bsr-candidate ....................................................................................... 23-3
23.1.4 clear ip mroute ..................................................................................... 23-4
23.1.5 clear ip msdp peer ................................................................................ 23-4
23.1.6 ip igmp access-group............................................................................ 23-5
23.1.7 ip igmp immediate-leave ....................................................................... 23-6
23.1.8 ip igmp last-member-query-interval........................................................ 23-7
23.1.9 ip igmp querier-timeout ......................................................................... 23-8
23.1.10 ip igmp query-interval.......................................................................... 23-9
23.1.11 ip igmp query-max-response-time .......................................................23-10
23.1.12 ip igmp static-group ........................................................................... 23-11
23.1.13 ip igmp version .................................................................................. 23-11
23.1.14 ip multicast-routing ............................................................................23-12
23.1.15 ip pim bsr-border ...............................................................................23-13
23.1.16 ip pim dm ..........................................................................................23-13
23.1.17 ip pim dr-priority.................................................................................23-14
23.1.18 ip pim neighbor-filter ..........................................................................23-15
23.1.19 ip pim query-interval ..........................................................................23-16
23.1.20 ip pim sm ..........................................................................................23-17
23.1.21 packet-count .....................................................................................23-18
23.1.22 router pimsm .....................................................................................23-18
23.1.23 rp-candidate ......................................................................................23-19
23.1.24 show ip igmp groups ..........................................................................23-20
23.1.25 show ip igmp interface .......................................................................23-21
23.1.26 show ip igmp packet-count .................................................................23-22
23.1.27 show ip igmp snooping.......................................................................23-23
23.1.28 show ip mforwarding ..........................................................................23-24
23.1.29 show ip mroute..................................................................................23-25
23.1.30 show ip pim bsr .................................................................................23-27
23.1.31 show ip pim rp hash...........................................................................23-28
23.1.32 show ip pim rp mapping .....................................................................23-29
23.1.33 show ip pimsm interface.....................................................................23-31
23.1.34 show ip pimsm mroute .......................................................................23-32

XXIV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


23.1.35 show ip pimsm neighbor ....................................................................23-33
23.1.36 show ip pimsm packet-count ..............................................................23-34
23.1.37 show ip rpf ........................................................................................23-35
23.1.38 spt-threshold .....................................................................................23-36
23.1.39 static-rp.............................................................................................23-37
23.2 IGMP Snooping Global Commands ................................................................23-38
23.2.1 igmp enable ........................................................................................23-38
23.2.2 igmp version-mode ..............................................................................23-39
23.2.3 igmp snooping-aging-time ....................................................................23-40
23.2.4 igmp span-vlan....................................................................................23-40
23.2.5 igmp bandwidth-control........................................................................23-41
23.2.6 igmp log..............................................................................................23-42
23.2.7 igmp robustness..................................................................................23-43
23.2.8 igmp query-interval ..............................................................................23-43
23.2.9 igmp query-max-resp...........................................................................23-44
23.2.10 igmp last-query-interval......................................................................23-45
23.2.11 igmp last-query-count.........................................................................23-46
23.2.12 igmp unsolicited-report-interval ...........................................................23-47
23.2.13 igmp host-tracking .............................................................................23-47
23.2.14 igmp mcm .........................................................................................23-48
23.2.15 igmp non-match-group .......................................................................23-49
23.2.16 igmp statistics clear ...........................................................................23-49
23.2.17 show igmp ........................................................................................23-50
23.2.18 show igmp statistics...........................................................................23-51
23.2.19 show igmp mp-statistics .....................................................................23-52
23.2.20 show igmp np-statistics ......................................................................23-54
23.2.21 show igmp pon-statistics ....................................................................23-55
23.3 IGMP Snooping Interface Commands .............................................................23-56
23.3.1 igmp drop ...........................................................................................23-56
23.3.2 igmp enable ........................................................................................23-57
23.3.3 igmp version .......................................................................................23-57
23.3.4 ip igmp version ....................................................................................23-58
23.3.5 igmp fast-leave....................................................................................23-59
23.3.6 igmp max-groups.................................................................................23-60
23.3.7 igmp proxy-ip ......................................................................................23-60
23.3.8 igmp last-query-interval........................................................................23-61
23.3.9 igmp last-query-count ..........................................................................23-62

XXV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


23.3.10 igmp robustness ................................................................................23-63
23.3.11 igmp query-max-resp .........................................................................23-63
23.3.12 show igmp interface...........................................................................23-64
23.3.13 show igmp interface dynamic-group-list...............................................23-65
23.4 MVLAN Commands.......................................................................................23-66
23.4.1 mvlan-translate ...................................................................................23-66
23.4.2 igmp mvlan .........................................................................................23-67
23.4.3 igmp mvlan cvlan.................................................................................23-67
23.4.4 igmp mvlan enable ..............................................................................23-68
23.4.5 igmp mvlan work-mode........................................................................23-69
23.4.6 igmp mvlan host-ip ..............................................................................23-70
23.4.7 igmp mvlan host-version ......................................................................23-70
23.4.8 igmp mvlan source-port .......................................................................23-71
23.4.9 igmp mvlan receiver-port......................................................................23-72
23.4.10 igmp mvlan max-groups .....................................................................23-73
23.4.11 igmp mvlan group-filter.......................................................................23-73
23.4.12 igmp mvlan group ..............................................................................23-74
23.4.13 igmp mvlan group bandwidth..............................................................23-75
23.4.14 igmp mvlan group static-port ..............................................................23-76
23.4.15 igmp mvlan group prejoin ...................................................................23-77
23.4.16 igmp mvlan group source-address ......................................................23-78
23.4.17 igmp mvlan priority ............................................................................23-78
23.4.18 igmp statistics clear ...........................................................................23-79
23.4.19 mvlan-translate..................................................................................23-80
23.4.20 show igmp interface...........................................................................23-80
23.4.21 show igmp mvlan...............................................................................23-81
23.4.22 show igmp mvlan group .....................................................................23-82
23.4.23 show igmp dynamic-member..............................................................23-83
23.4.24 show igmp static-member ..................................................................23-84
23.4.25 show igmp log ...................................................................................23-84
23.4.26 show igmp statistics...........................................................................23-85
23.4.27 show mvlan-translate .........................................................................23-86
23.5 SCB VLAN Commands..................................................................................23-87
23.5.1 vlan-scb-action vlan-remove.................................................................23-87
23.5.2 vlan-scb-action vlan-translate ...............................................................23-88
23.6 MLD Snooping Global Commands..................................................................23-89
23.6.1 mld enable ..........................................................................................23-89

XXVI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


23.6.2 mld bandwidth-control..........................................................................23-89
23.6.3 mld host-tracking .................................................................................23-90
23.6.4 mld last-query-interval .........................................................................23-91
23.6.5 mld last-query-count ............................................................................23-91
23.6.6 mld log................................................................................................23-92
23.6.7 mld snooping-aging-time......................................................................23-93
23.6.8 mld span-vlan......................................................................................23-93
23.6.9 mld robustness....................................................................................23-94
23.6.10 mld query-interval ..............................................................................23-95
23.6.11 mld query-max-resp ...........................................................................23-95
23.6.12 mld unsolicited-report-interval.............................................................23-96
23.6.13 mld prejoin-interval ............................................................................23-97
23.6.14 mld statistics clear .............................................................................23-97
23.6.15 show mld ..........................................................................................23-98
23.6.16 show mld statistics.............................................................................23-99
23.7 MLD Snooping Interface Commands ............................................................23-100
23.7.1 mld drop ...........................................................................................23-100
23.7.2 mld enable(interface) .........................................................................23-101
23.7.3 mld version .......................................................................................23-101
23.7.4 mld fast-leave....................................................................................23-102
23.7.5 mld max-groups ................................................................................23-103
23.7.6 mld proxy-ip ......................................................................................23-104
23.7.7 mld last-query-interval (interface)........................................................23-104
23.7.8 mld last-query-count (interface) ..........................................................23-105
23.7.9 mld robustness (interface)..................................................................23-106
23.7.10 mld query-max-resp (interface) .........................................................23-107
23.7.11 show mld interface ...........................................................................23-107
23.7.12 show mld interface dynamic-group-list ..............................................23-108
23.8 MLD MVLAN Commands .............................................................................23-109
23.8.1 mld mvlan .........................................................................................23-109
23.8.2 mld mvlan work-mode........................................................................23-109
23.8.3 mld mvlan host-ip .............................................................................. 23-110
23.8.4 mld mvlan host-version ...................................................................... 23-111
23.8.5 mld mvlan priority .............................................................................. 23-111
23.8.6 mld mvlan source-port ....................................................................... 23-112
23.8.7 mld mvlan receiver-port ..................................................................... 23-113
23.8.8 mld mvlan max-groups....................................................................... 23-114

XXVII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


23.8.9 mld mvlan group-filter ........................................................................ 23-114
23.8.10 mld mvlan group.............................................................................. 23-115
23.8.11 mld mvlan group bandwidth .............................................................. 23-116
23.8.12 mld mvlan group static-port .............................................................. 23-116
23.8.13 mld mvlan group prejoin ................................................................... 23-117
23.8.14 mld mvlan group source-address ...................................................... 23-118
23.8.15 show mld mvlan............................................................................... 23-119
23.8.16 show mld mvlan group ..................................................................... 23-119
23.8.17 show mld dynamic-member..............................................................23-120
23.8.18 show mld static-member ..................................................................23-121
23.8.19 show mld log ...................................................................................23-121

Chapter 24 IPTV Commands ................................................................... 24-1


24.1 IPTV Global Commands ................................................................................. 24-1
24.1.1 iptv cac ................................................................................................ 24-1
24.1.2 iptv sms-server..................................................................................... 24-2
24.1.3 iptv ipv6 sms-server.............................................................................. 24-2
24.1.4 iptv highest-priority ............................................................................... 24-3
24.1.5 show iptv control .................................................................................. 24-4
24.2 IPTV Channel Commands............................................................................... 24-4
24.2.1 iptv channel mvlan group name ............................................................. 24-4
24.2.2 iptv channel mvlan group to................................................................... 24-6
24.2.3 iptv channel rename ............................................................................. 24-8
24.2.4 iptv channel view-profile........................................................................ 24-8
24.2.5 iptv channel cdr .................................................................................... 24-9
24.2.6 iptv ipv6 channel mvlan group name .....................................................24-10
24.2.7 iptv ipv6 channel mvlan group to .......................................................... 24-11
24.2.8 iptv ipv6 channel rename .....................................................................24-12
24.2.9 iptv ipv6 channel cdr ............................................................................24-12
24.2.10 iptv ipv6 channel view-profile..............................................................24-13
24.2.11 show iptv channel ..............................................................................24-14
24.3 Package Commands .....................................................................................24-15
24.3.1 iptv package........................................................................................24-15
24.3.2 iptv package channel ...........................................................................24-15
24.3.3 iptv package rename ...........................................................................24-17
24.3.4 iptv ipv6 package.................................................................................24-17
24.3.5 iptv ipv6 package channel ....................................................................24-18
24.3.6 iptv ipv6 package rename ....................................................................24-19

XXVIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


24.3.7 show iptv package ...............................................................................24-20
24.4 PWR Preview Commands..............................................................................24-21
24.4.1 iptv prw...............................................................................................24-21
24.4.2 iptv prw reset ......................................................................................24-21
24.4.3 iptv prw auto-reset ...............................................................................24-22
24.4.4 iptv prw recognition-time ......................................................................24-23
24.4.5 show iptv prw ......................................................................................24-23
24.5 View-profile Profile Commands.......................................................................24-24
24.5.1 iptv view-profile ...................................................................................24-24
24.5.2 iptv view-profile count ..........................................................................24-25
24.5.3 iptv view-profile duration ......................................................................24-26
24.5.4 iptv view-profile blackout ......................................................................24-26
24.5.5 show iptv view-profile...........................................................................24-27
24.6 CDR Commands ...........................................................................................24-28
24.6.1 iptv cdr................................................................................................24-28
24.6.2 iptv cdr max-records ............................................................................24-29
24.6.3 iptv cdr report ......................................................................................24-29
24.6.4 iptv cdr report-interval ..........................................................................24-30
24.6.5 iptv cdr report-threshold .......................................................................24-31
24.6.6 iptv cdr create-period ...........................................................................24-32
24.6.7 iptv cdr deny-right................................................................................24-32
24.6.8 iptv cdr prw-right..................................................................................24-33
24.6.9 iptv cdr prw-overcount .........................................................................24-34
24.6.10 iptv cdr clear......................................................................................24-35
24.6.11 show iptv cdr .....................................................................................24-35
24.6.12 show iptv cdr content .........................................................................24-36
24.7 Interface Mode Commands ............................................................................24-38
24.7.1 iptv service..........................................................................................24-38
24.7.2 iptv auth-mode ....................................................................................24-39
24.7.3 iptv right-mode ....................................................................................24-39
24.7.4 iptv channel ........................................................................................24-40
24.7.5 iptv cdr................................................................................................24-41
24.7.6 show iptv interface...............................................................................24-42

Chapter 25 CES Commands .................................................................... 25-1


25.1 CES Global Configuration ............................................................................... 25-1
25.1.1 ces ...................................................................................................... 25-1
25.1.2 tdm-profile............................................................................................ 25-2

XXIX

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


25.1.3 mac-address ........................................................................................ 25-3
25.1.4 ip-address............................................................................................ 25-4
25.1.5 show ces global-prop............................................................................ 25-5
25.1.6 show ces tdm-profile............................................................................. 25-5
25.2 TDM Interface Configuration ........................................................................... 25-6
25.2.1 interface .............................................................................................. 25-6
25.2.2 admin-status ........................................................................................ 25-7
25.2.3 clock-source......................................................................................... 25-7
25.2.4 line-type............................................................................................... 25-8
25.2.5 loopback .............................................................................................. 25-9
25.2.6 show ces interface...............................................................................25-10
25.3 PW Configuration .......................................................................................... 25-11
25.3.1 pw ...................................................................................................... 25-11
25.3.2 admin-status .......................................................................................25-12
25.3.3 name ..................................................................................................25-12
25.3.4 psn .....................................................................................................25-13
25.3.5 tdm-service .........................................................................................25-14
25.3.6 show ces pw count ..............................................................................25-16
25.3.7 show ces pw prop detail.......................................................................25-16
25.4 SDH Protection Configuration.........................................................................25-17
25.4.1 sdhprot group......................................................................................25-17
25.4.2 sdhprot switch-command .....................................................................25-18
25.4.3 show ces card-frametype .....................................................................25-19
25.4.4 show ces sdhprot group count..............................................................25-20
25.4.5 show ces sdhprot group prop ...............................................................25-21
25.4.6 show ces sdhprot switch-command ......................................................25-22
25.4.7 show ces sdhprot request ....................................................................25-22
25.5 CES Perfromance Statistics ...........................................................................25-23
25.5.1 show performance ces.........................................................................25-23
25.5.2 perf-clear-current.................................................................................25-24

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


26.1 efm enable..................................................................................................... 26-2
26.2 efm disable .................................................................................................... 26-2
26.3 efm remote-loopback ...................................................................................... 26-3
26.4 efm send-packet............................................................................................. 26-4
26.5 cfm create md ................................................................................................ 26-4
26.6 cfm delete ...................................................................................................... 26-5

XXX

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


26.7 cfm enable ..................................................................................................... 26-6
26.8 cfm md session .............................................................................................. 26-6
26.9 ma create ...................................................................................................... 26-7
26.10 ma delete..................................................................................................... 26-7
26.11 ma session................................................................................................... 26-8
26.12 assign.......................................................................................................... 26-9
26.13 ccm timer-interval ......................................................................................... 26-9
26.14 create mep..................................................................................................26-10
26.15 create mip ................................................................................................... 26-11
26.16 create rmep.................................................................................................26-12
26.17 mep ............................................................................................................26-12
26.18 primary vlan ................................................................................................26-13
26.19 protect ........................................................................................................26-13
26.20 ccm-send ....................................................................................................26-14
26.21 state enable ................................................................................................26-15
26.22 cfm lbm.......................................................................................................26-15
26.23 cfm ltm........................................................................................................26-16
26.24 cfm ltr-read..................................................................................................26-17
26.25 show efm interface ......................................................................................26-18
26.26 show cfm ma...............................................................................................26-19
26.27 show cfm md...............................................................................................26-20
26.28 show cfm mp...............................................................................................26-20
26.29 show cfm status...........................................................................................26-22

Chapter 27 ZESR Commands.................................................................. 27-1


27.1 zesr ctrlvlan ................................................................................................... 27-1
27.2 zesr-set-health failtime.................................................................................... 27-2
27.3 zesr-set-hello failtime...................................................................................... 27-2
27.4 zesr-set-hello hello-time .................................................................................. 27-3
27.5 zesr-set-preforwardtime .................................................................................. 27-4
27.6 show zesr ctrlvlan........................................................................................... 27-5

Chapter 28 ZESS Commands .................................................................. 28-1


28.1 zess-group..................................................................................................... 28-1
28.2 revertive ........................................................................................................ 28-2
28.3 protectInstance .............................................................................................. 28-3
28.4 port................................................................................................................ 28-3
28.5 protect-time.................................................................................................... 28-4
28.6 swap ............................................................................................................. 28-5

XXXI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


28.7 show zess...................................................................................................... 28-6
28.8 show zess groupid.......................................................................................... 28-6

Chapter 29 LST Commands..................................................................... 29-1


29.1 lst-group ........................................................................................................ 29-1
29.2 add-port ......................................................................................................... 29-2
29.3 next-hop ........................................................................................................ 29-2
29.4 interval-link-detect .......................................................................................... 29-3
29.5 retry-link-detect .............................................................................................. 29-4
29.6 show lst ......................................................................................................... 29-5
29.7 show lst groupid ............................................................................................. 29-5

Chapter 30 Port Configuration Commands............................................ 30-1


30.1 max-mac-learn ............................................................................................... 30-1
30.2 linktrap........................................................................................................... 30-2
30.3 lock ............................................................................................................... 30-3
30.4 flowcontrol ..................................................................................................... 30-4
30.5 port-protect .................................................................................................... 30-5
30.6 description ..................................................................................................... 30-5
30.7 eth-switch multicast-limit ................................................................................. 30-6
30.8 eth-switch mac-protect.................................................................................... 30-7
30.9 eth-switch vlan-limit ........................................................................................ 30-8
30.10 optical-module-alarm-profile .......................................................................... 30-9
30.11 ip access-group ............................................................................................ 30-9
30.12 show interface port-status ............................................................................30-10

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


31.1 byname ......................................................................................................... 31-1
31.2 clear counter .................................................................................................. 31-2
31.3 description ..................................................................................................... 31-3
31.4 duplex ........................................................................................................... 31-4
31.5 flowcontrol ..................................................................................................... 31-5
31.6 hybrid-attribute ............................................................................................... 31-6
31.7 interface ........................................................................................................ 31-6
31.8 monitor session .............................................................................................. 31-8
31.9 monitor session (Port)..................................................................................... 31-9
31.10 multicast .....................................................................................................31-10
31.11 negotiation auto ........................................................................................... 31-11
31.12 shutdown .................................................................................................... 31-11
31.13 speed .........................................................................................................31-12
XXXII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


31.14 port-protect .................................................................................................31-13
31.15 eth-switch broadcast-limit.............................................................................31-14
31.16 eth-switch unknowncast-limit ........................................................................31-14
31.17 eth-switch multicast-limit ..............................................................................31-15
31.18 eth-switch vlan-limit .....................................................................................31-16
31.19 range ..........................................................................................................31-17
31.20 uplink-isolate ...............................................................................................31-17
31.21 show eth-switch...........................................................................................31-18
31.22 show eth-switch vlan-limit.............................................................................31-19
31.23 show interface .............................................................................................31-20
31.24 show ip interface .........................................................................................31-23
31.25 show monitor session ..................................................................................31-24
31.26 show performance eth-if...............................................................................31-25

Chapter 32 MSTP Commands ................................................................. 32-1


32.1 instance ......................................................................................................... 32-1
32.2 name ............................................................................................................. 32-2
32.3 revision.......................................................................................................... 32-3
32.4 spanning-tree ................................................................................................. 32-4
32.5 spanning-tree bpduguard ................................................................................ 32-5
32.6 spanning-tree edged-port ................................................................................ 32-6
32.7 spanning-tree forward-delay............................................................................ 32-7
32.8 spanning-tree guard ....................................................................................... 32-8
32.9 spanning-tree hello-time.................................................................................. 32-9
32.10 spanning-tree linktype................................................................................... 32-9
32.11 spanning-tree max-age ................................................................................32-10
32.12 spanning-tree mcheck.................................................................................. 32-11
32.13 spanning-tree mode.....................................................................................32-12
32.14 spanning-tree mst configuration....................................................................32-12
32.15 spanning-tree mst hmd5-digest ....................................................................32-13
32.16 spanning-tree mst hmd5-key ........................................................................32-14
32.17 spanning-tree mst instance priority ...............................................................32-15
32.18 spanning-tree mst instance (Interface) ..........................................................32-16
32.19 spanning-tree mst instance path-cost............................................................32-17
32.20 spanning-tree mst max-hops ........................................................................32-17
32.21 spanning-tree transparent ............................................................................32-18
32.22 spanning-tree packet-type ............................................................................32-19
32.23 show spanning tree inconsistentports............................................................32-20

XXXIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


32.24 show spanning-tree instance ........................................................................32-21
32.25 show spanning-tree interface........................................................................32-22
32.26 show spanning-tree mst configuration ...........................................................32-23
32.27 show spanning-tree statistics........................................................................32-24
32.28 show spanning-tree transparent....................................................................32-25

Chapter 33 LACP Commands.................................................................. 33-1


33.1 clear lacp ....................................................................................................... 33-1
33.2 interface ........................................................................................................ 33-2
33.3 lacp port-priority ............................................................................................. 33-3
33.4 lacp system-priority......................................................................................... 33-3
33.5 lacp timeout ................................................................................................... 33-4
33.6 linkgroup load-balance.................................................................................... 33-5
33.7 linkgroup........................................................................................................ 33-6
33.8 show lacp ...................................................................................................... 33-6
33.9 smartgroup .................................................................................................... 33-8
33.10 smartgroup load-balance............................................................................... 33-9
33.11 user-smartgroup load-balance ......................................................................33-10
33.12 show user-smartgroup .................................................................................33-10
33.13 show linkgroup ............................................................................................ 33-11

Chapter 34 DHCP Commands ................................................................. 34-1


34.1 DHCP Snooping Commands ........................................................................... 34-1
34.1.1 ip dhcp snooping broadcast-to-unicast ................................................... 34-1
34.1.2 ip dhcp snooping clear .......................................................................... 34-2
34.1.3 ip dhcp snooping enable ....................................................................... 34-2
34.1.4 ip dhcp snooping .................................................................................. 34-3
34.1.5 ip dhcp snooping quota......................................................................... 34-4
34.1.6 ip dhcp snooping trust........................................................................... 34-4
34.1.7 ip dhcp snooping user delete ip ............................................................. 34-5
34.1.8 ip dhcp snooping vlan ........................................................................... 34-6
34.1.9 show ip dhcp snooping configure........................................................... 34-7
34.1.10 show ip dhcp snooping port................................................................. 34-7
34.1.11 show ip dhcp snooping trust ................................................................ 34-8
34.1.12 show ip dhcp snooping vlan ................................................................ 34-9
34.1.13 show ip dhcp snooping port quota.......................................................34-10
34.2 DHCP Layer – 3 Commands ..........................................................................34-10
34.2.1 ip dhcp enable.....................................................................................34-10
34.2.2 ip dhcp logging on ............................................................................... 34-11

XXXIV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


34.2.3 ip dhcp mode ......................................................................................34-12
34.2.4 show ip dhcp configure ........................................................................34-13
34.3 DHCP Relay/Proxy Commands ......................................................................34-13
34.3.1 ip dhcp database .................................................................................34-14
34.3.2 ip dhcp relay server retry......................................................................34-14
34.3.3 ip dhcp relay update arp.......................................................................34-15
34.3.4 ip dhcp proxy client leasetime...............................................................34-16
34.3.5 ip dhcp relay server vclass-id ...............................................................34-17
34.3.6 ip dhcp helper-address ........................................................................34-18
34.3.7 ip dhcp relay agent ..............................................................................34-19
34.3.8 ip dhcp relay server .............................................................................34-20
34.3.9 ip dhcp relay user delete ip ..................................................................34-21
34.3.10 bridge-dhcp-relay ..............................................................................34-21
34.3.11 show ip dhcp relay server vclass-id .....................................................34-22
34.3.12 show ip dhcp proxy client ...................................................................34-23
34.3.13 show bridge-dhcp-relay......................................................................34-23
34.4 DHCP Server Commands ..............................................................................34-24
34.4.1 ip local pool.........................................................................................34-24
34.4.2 ip local pool conflict-ip..........................................................................34-25
34.4.3 ip dhcp server dns ...............................................................................34-25
34.4.4 ip dhcp server leasetime ......................................................................34-26
34.4.5 ip dhcp server update arp ....................................................................34-27
34.4.6 ip dhcp server gateway ........................................................................34-28
34.4.7 peer default ip pool ..............................................................................34-29
34.4.8 show ip dhcp server user .....................................................................34-30

Chapter 35 Port Location Commands .................................................... 35-1


35.1 Port Location Commands................................................................................ 35-1
35.1.1 port location access-node-identifier........................................................ 35-1
35.1.2 port-location hostname ......................................................................... 35-2
35.1.3 port-location rackno frameno ................................................................. 35-2
35.1.4 port-location flexible-syntax add ............................................................ 35-3
35.1.5 port-location flexible-syntax delete ......................................................... 35-5
35.1.6 port-location format............................................................................... 35-5
35.1.7 port-location sub-option remote-id ......................................................... 35-6
35.1.8 port-location sub-option remote-id name ................................................ 35-7
35.1.9 show port-location global ...................................................................... 35-8
35.1.10 show port-location port........................................................................ 35-8

XXXV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


35.1.11 show port-location flexible-syntax......................................................... 35-9
35.2 DHCP Option82 Commands ..........................................................................35-10
35.2.1 dhcp-option82 .....................................................................................35-10
35.2.2 dhcp-option82 pvc ............................................................................... 35-11
35.2.3 dhcp-option82 trust.............................................................................. 35-11
35.2.4 show dhcp-option82 global...................................................................35-12
35.2.5 show dhcp-option82 port......................................................................35-13
35.3 PPPoE+ Commands......................................................................................35-14
35.3.1 pppoe-plus..........................................................................................35-14
35.3.2 pppoe-plus pvc....................................................................................35-15
35.3.3 show pppoe-plus global .......................................................................35-15
35.3.4 show pppoe-plus port ..........................................................................35-16

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


36.1 ip-service mac-forced-forwarding..................................................................... 36-1
36.2 ip-service mac-forced-forwarding vlan.............................................................. 36-2
36.3 ip-servcie arp-anti-spoofing ............................................................................. 36-3
36.4 ip-servcie arp-anti-spoofing vlan ...................................................................... 36-4
36.5 ip-service ip-source-guard............................................................................... 36-5
36.6 show ip-service arp......................................................................................... 36-5
36.7 show ip-service mac-forced-forwarding ............................................................ 36-6
36.8 show ip-service gateway ................................................................................. 36-7
36.9 show ip-service arp-anti-spoofing .................................................................... 36-8
36.10 show ip-service ip-source-guard .................................................................... 36-8

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


37.1 anti-dos ......................................................................................................... 37-1
37.2 anti-dos drop.................................................................................................. 37-2
37.3 anti-dos drv-limit............................................................................................. 37-3
37.4 anti-dos blocking-time ..................................................................................... 37-3
37.5 anti-dos limit-num ........................................................................................... 37-4
37.6 anti-dos shutdown-time................................................................................... 37-5
37.7 packet-limit .................................................................................................... 37-5
37.8 show control-panel anti-dos black-table ........................................................... 37-6
37.9 show control-panel packet-limit statistics.......................................................... 37-7
37.10 clear packet-statistics.................................................................................... 37-8

Chapter 38 IPv4 Protocol Commands .................................................... 38-1


38.1 arp to-static .................................................................................................... 38-2
38.2 arp timeout..................................................................................................... 38-2
XXXVI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


38.3 clear arp ........................................................................................................ 38-3
38.4 clear arp-cache .............................................................................................. 38-4
38.5 clear ip traffic.................................................................................................. 38-5
38.6 clear tcp connect ............................................................................................ 38-5
38.7 clear tcp line................................................................................................... 38-6
38.8 clear tcp statistics ........................................................................................... 38-7
38.9 clear tcp tcb ................................................................................................... 38-7
38.10 clear tcp tty .................................................................................................. 38-8
38.11 clear tcp vty .................................................................................................. 38-9
38.12 ip route ........................................................................................................ 38-9
38.13 ip address ................................................................................................... 38-11
38.14 ip mtu ......................................................................................................... 38-11
38.15 ip proxy-arp.................................................................................................38-12
38.16 ip redirect....................................................................................................38-13
38.17 ip source-route ............................................................................................38-14
38.18 ip tcp finwait-time.........................................................................................38-14
38.19 ip tcp queuemax ..........................................................................................38-15
38.20 ip tcp synwait-time .......................................................................................38-16
38.21 ip tcp window-size .......................................................................................38-16
38.22 ip unreachable.............................................................................................38-17
38.23 ping ............................................................................................................38-18
38.24 ping mng.....................................................................................................38-19
38.25 set arp ........................................................................................................38-20
38.26 show arp .....................................................................................................38-21
38.27 show ip forwarding.......................................................................................38-22
38.28 show ip protocol routing ...............................................................................38-24
38.29 show ip protocol routing summary.................................................................38-25
38.30 show ip route...............................................................................................38-25
38.31 show ip traffic ..............................................................................................38-27
38.32 show tcp .....................................................................................................38-29
38.33 show tcp brief ..............................................................................................38-31
38.34 show tcp configure.......................................................................................38-32
38.35 show tcp line ...............................................................................................38-33
38.36 show tcp statistics........................................................................................38-34
38.37 show tcp tcb ................................................................................................38-35
38.38 show tcp tty.................................................................................................38-36
38.39 show tcp vty ................................................................................................38-38

XXXVII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


38.40 show vrrp ....................................................................................................38-39
38.41 trace ...........................................................................................................38-41
38.42 vrrp advertise ..............................................................................................38-42
38.43 vrrp authentication .......................................................................................38-43
38.44 vrrp ip .........................................................................................................38-43
38.45 vrrp learn ....................................................................................................38-44
38.46 vrrp preempt................................................................................................38-45
38.47 vrrp priority..................................................................................................38-46

Chapter 39 IPv6 Protocol Commands .................................................... 39-1


39.1 ipv6 address .................................................................................................. 39-2
39.2 ipv6 dad-attemps............................................................................................ 39-2
39.3 ipv6 enable .................................................................................................... 39-3
39.4 ipv6 mld ......................................................................................................... 39-4
39.5 ipv6 mtu......................................................................................................... 39-5
39.6 ipv6 multicast-routing...................................................................................... 39-5
39.7 ipv6 nd........................................................................................................... 39-6
39.8 ipv6 nd prefix ................................................................................................. 39-7
39.9 ipv6 ospf ........................................................................................................ 39-8
39.10 ipv6 pim ....................................................................................................... 39-9
39.11 ipv6 pim-rp-embedded .................................................................................39-10
39.12 ipv6 rip........................................................................................................ 39-11
39.13 ipv6 route....................................................................................................39-12
39.14 ipv6 router ospf ...........................................................................................39-12
39.15 ipv6 router pimsm ........................................................................................39-13
39.16 ipv6 router pimsm accept-rp .........................................................................39-14
39.17 ipv6 router pimsm bsr-candidate...................................................................39-14
39.18 ipv6 router pimsm rp-candidate ....................................................................39-15
39.19 ipv6 router pimsm static-rp ...........................................................................39-16
39.20 ipv6 router rip ..............................................................................................39-16
39.21 show ipv6 interface ......................................................................................39-17
39.22 show ipv6 mld .............................................................................................39-18
39.23 show ipv6 mr6 .............................................................................................39-19
39.24 show ipv6 mroute ........................................................................................39-20
39.25 show ipv6 mtu .............................................................................................39-20
39.26 show ipv6 ospf ............................................................................................39-21
39.27 show ipv6 pim bsr........................................................................................39-22
39.28 show ipv6 pim interface................................................................................39-23

XXXVIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


39.29 show ipv6 pim mroute ..................................................................................39-24
39.30 show ipv6 pim neighbor ...............................................................................39-24
39.31 show ipv6 pim rp .........................................................................................39-25
39.32 show ipv6 pim traffic ....................................................................................39-26
39.33 show ipv6 rip ...............................................................................................39-27
39.34 show ipv6 route ...........................................................................................39-28

Chapter 40 ACL Commands .................................................................... 40-1


40.1 acl standard ................................................................................................... 40-1
40.2 acl extend ...................................................................................................... 40-2
40.3 acl hybrid ....................................................................................................... 40-3
40.4 acl6 hybrid ..................................................................................................... 40-3
40.5 acl link ........................................................................................................... 40-4
40.6 name ............................................................................................................. 40-5
40.7 rule (Basic ACL) ............................................................................................. 40-5
40.8 rule (Extended ACL) ....................................................................................... 40-7
40.9 rule (Layer – 2 ACL) ....................................................................................... 40-8
40.10 rule (Hybrid ACL).........................................................................................40-10
40.11 vlan-mark ....................................................................................................40-12
40.12 clear traffic-statistics ....................................................................................40-13
40.13 show access-list bound ................................................................................40-13
40.14 show acl .....................................................................................................40-14

Chapter 41 QoS Commands .................................................................... 41-1


41.1 qos dscp-to-dscp-profile.................................................................................. 41-1
41.2 qos dscp-to-drop-profile .................................................................................. 41-2
41.3 qos dscp-to-cos-profile.................................................................................... 41-3
41.4 qos cos-to-cos-profile ..................................................................................... 41-4
41.5 qos queue-block-profile................................................................................... 41-5
41.6 qos queue-map-profile .................................................................................... 41-7
41.7 qos eth-cos-local-map .................................................................................... 41-8
41.8 traffic-profile ................................................................................................... 41-9
41.9 qos trust .......................................................................................................41-10
41.10 qos cos cos-remark ..................................................................................... 41-11
41.11 qos cos dscp-remark....................................................................................41-12
41.12 qos egress-cos cos-remark ..........................................................................41-13
41.13 qos egress-cos dscp-remark ........................................................................41-14
41.14 qos traffic-shape ..........................................................................................41-15
41.15 qos queue-block-profile(interface).................................................................41-16

XXXIX

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


41.16 qos queue-map-profile(interface) ..................................................................41-17
41.17 qos drop-procedence ...................................................................................41-18
41.18 qos dscp dscp-remark..................................................................................41-18
41.19 traffic-mirror.................................................................................................41-19
41.20 traffic-profile ................................................................................................41-20
41.21 show qos dscp-to-dscp-profile ......................................................................41-21
41.22 show qos dscp-to-drop-profile.......................................................................41-22
41.23 show qos cos-to-cos-profile ..........................................................................41-23
41.24 show qos queue-block-profile .......................................................................41-23
41.25 show qos queue-map-profile ........................................................................41-24
41.26 show qos eth-cos-local-map .........................................................................41-25
41.27 show qos interface.......................................................................................41-25
41.28 show traffic-profile .......................................................................................41-26
41.29 show traffic-mirror........................................................................................41-27

Chapter 42 MAC Configuration Commands........................................... 42-1


42.1 mac add ........................................................................................................ 42-1
42.2 mac aging-time .............................................................................................. 42-2
42.3 mac monitor-period......................................................................................... 42-3
42.4 mac pool........................................................................................................ 42-4
42.5 mac usage-threshold ...................................................................................... 42-4
42.6 mac delete ..................................................................................................... 42-5
42.7 security mac-anti-spoofing .............................................................................. 42-6
42.8 security uplink-protected-mac.......................................................................... 42-7
42.9 show security configuration ............................................................................. 42-8
42.10 show security mac-spoofing-list ..................................................................... 42-9
42.11 show security mac-spoofing-log ..................................................................... 42-9
42.12 show mac ...................................................................................................42-10
42.13 show mac aging-time ...................................................................................42-12
42.14 show mac monitor-info .................................................................................42-12
42.15 show mac pool ............................................................................................42-13
42.16 show mac running .......................................................................................42-14

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


43.1 ip local pool.................................................................................................... 43-1
43.2 ip local pool conflict-ip..................................................................................... 43-2
43.3 clear ip pool conflict-ip .................................................................................... 43-2
43.4 peer default ip pool ......................................................................................... 43-3
43.5 show ip local pool ........................................................................................... 43-4

XL

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


43.6 show ip local pool conflict-ip ............................................................................ 43-5

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


44.1 clear logging alarm ......................................................................................... 44-1
44.2 clear logging command................................................................................... 44-2
44.3 clear logging snmp ......................................................................................... 44-2
44.4 clear processor .............................................................................................. 44-3
44.5 logging buffer ................................................................................................. 44-4
44.6 logging console .............................................................................................. 44-4
44.7 logging level................................................................................................... 44-5
44.8 logging mode ................................................................................................. 44-6
44.9 logging on ...................................................................................................... 44-7
44.10 logging snmplog-save ................................................................................... 44-7
44.11 show snmplogfile .......................................................................................... 44-8
44.12 show cmdlogfile............................................................................................ 44-9
44.13 show logging alarm......................................................................................44-10
44.14 show logging configure ................................................................................ 44-11
44.15 show processor ...........................................................................................44-12
44.16 unm server..................................................................................................44-13
44.17 write alarmlog..............................................................................................44-14
44.18 write cmdlog................................................................................................44-15
44.19 write snmplog ..............................................................................................44-16

Chapter 45 NTP Configuration Commands............................................ 45-1


45.1 ntp alarm-threshold......................................................................................... 45-1
45.2 ntp poll-interva1.............................................................................................. 45-2
45.3 ntp enable...................................................................................................... 45-3
45.4 ntp server ...................................................................................................... 45-3
45.5 ntp source...................................................................................................... 45-4
45.6 show ntp status .............................................................................................. 45-5

Chapter 46 Clock Management Commands........................................... 46-1


46.1 clock.............................................................................................................. 46-1
46.2 card-clock ...................................................................................................... 46-2
46.3 source ........................................................................................................... 46-3
46.4 external-input ................................................................................................. 46-4
46.5 external-output ............................................................................................... 46-5
46.6 ptp................................................................................................................. 46-6
46.7 ptp-source...................................................................................................... 46-7
46.8 show clock config ........................................................................................... 46-8
XLI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


46.9 show clock interface ....................................................................................... 46-9
46.10 show clock source active............................................................................... 46-9
46.11 show clock source alarm ..............................................................................46-10
46.12 show source active ...................................................................................... 46-11
46.13 show source alarm ...................................................................................... 46-11

Chapter 47 TACACS+ Commands .......................................................... 47-1


47.1 tacacs enable................................................................................................. 47-1
47.2 tacacs-client................................................................................................... 47-2
47.3 tacacs-server ................................................................................................. 47-2

Chapter 48 RADIUS Commands.............................................................. 48-1


48.1 algorithm........................................................................................................ 48-1
48.2 deadtime........................................................................................................ 48-2
48.3 max-retries..................................................................................................... 48-3
48.4 radius vendor-identify ..................................................................................... 48-4
48.5 server ............................................................................................................ 48-4
48.6 timeout .......................................................................................................... 48-5
48.7 show radius vendor-identify............................................................................. 48-6

Chapter 49 SSH Commands .................................................................... 49-1


49.1 ssh server authentication ispgroup................................................................... 49-1
49.2 ssh server authentication mode ....................................................................... 49-2
49.3 ssh server authentication type ......................................................................... 49-2
49.4 ssh server enable ........................................................................................... 49-3
49.5 ssh server generate-key.................................................................................. 49-4
49.6 ssh server only ............................................................................................... 49-4
49.7 ssh server version .......................................................................................... 49-5
49.8 show ssh ....................................................................................................... 49-6

Chapter 50 PIM Snooping Commands ................................................... 50-1


50.1 ip pim snooping .............................................................................................. 50-1
50.2 pim snooping ................................................................................................. 50-2
50.3 show ip pim snooping all-statistic..................................................................... 50-2
50.4 show ip pim snooping entry ............................................................................. 50-3
50.5 show ip pim snooping neighbor-info ................................................................. 50-4
50.6 show ip pim snooping port-info ........................................................................ 50-5
50.7 show ip pim snooping port-statistic clear interface ............................................ 50-5
50.8 show ip pim snooping port-statistic interface..................................................... 50-6

Chapter 51 RIP Protocol Commands...................................................... 51-1

XLII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


51.1 router rip ........................................................................................................ 51-2
51.2 auto-summary ................................................................................................ 51-2
51.3 default-metric ................................................................................................. 51-3
51.4 disable interface ............................................................................................. 51-4
51.5 distance ......................................................................................................... 51-5
51.6 enable interface.............................................................................................. 51-5
51.7 flash-update-threshold .................................................................................... 51-6
51.8 ip poison-reverse............................................................................................ 51-7
51.9 ip rip authentication key .................................................................................. 51-8
51.10 ip rip authentication key-chain ....................................................................... 51-9
51.11 ip rip authentication mode ............................................................................51-10
51.12 ip rip interface .............................................................................................51-10
51.13 ip rip neighbor-restrict .................................................................................. 51-11
51.14 ip rip notify default route ...............................................................................51-12
51.15 ip rip only-send-subnet.................................................................................51-13
51.16 ip rip originate default route ..........................................................................51-14
51.17 ip rip receive version ....................................................................................51-15
51.18 ip split-horizon .............................................................................................51-16
51.19 maximum-paths...........................................................................................51-17
51.20 neighbor .....................................................................................................51-17
51.21 network.......................................................................................................51-18
51.22 offset-list .....................................................................................................51-19
51.23 output-delay ................................................................................................51-20
51.24 redistribute ..................................................................................................51-21
51.25 show ip rip ..................................................................................................51-22
51.26 show ip rip database ....................................................................................51-23
51.27 show ip rip interface.....................................................................................51-24
51.28 show ip rip networks ....................................................................................51-25
51.29 timers basic.................................................................................................51-25
51.30 validate-update-source.................................................................................51-27
51.31 version........................................................................................................51-27

Chapter 52 OSPF Protocol Commands .................................................. 52-1


52.1 enable ip ospf................................................................................................. 52-2
52.2 router ospf ..................................................................................................... 52-3
52.3 area authentication ......................................................................................... 52-4
52.4 area filter-list .................................................................................................. 52-4
52.5 area nssa....................................................................................................... 52-6

XLIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


52.6 area range ..................................................................................................... 52-7
52.7 area stub ....................................................................................................... 52-8
52.8 area stub-host ................................................................................................ 52-9
52.9 area virtual-link..............................................................................................52-10
52.10 auto-cost..................................................................................................... 52-11
52.11 capacity opaque ..........................................................................................52-12
52.12 clear ip ospf process ....................................................................................52-13
52.13 clear ip ospf redistribution ............................................................................52-14
52.14 compatible rfc 1583 .....................................................................................52-15
52.15 debug .........................................................................................................52-15
52.16 default-metric ..............................................................................................52-16
52.17 disable area ................................................................................................52-17
52.18 disable interface ..........................................................................................52-18
52.19 disable ip ospf .............................................................................................52-18
52.20 distance ospf...............................................................................................52-19
52.21 enable area.................................................................................................52-20
52.22 enable interface...........................................................................................52-21
52.23 enable ip ospf..............................................................................................52-21
52.24 filter ............................................................................................................52-22
52.25 grace-period................................................................................................52-23
52.26 ip ospf authentication ...................................................................................52-24
52.27 ip ospf authentication-key.............................................................................52-24
52.28 ip ospf cost..................................................................................................52-25
52.29 ip ospf dead-interval ....................................................................................52-26
52.30 ip ospf hello-interval.....................................................................................52-27
52.31 ip ospf message-digest-key ..........................................................................52-28
52.32 ip ospf mtu-ignore........................................................................................52-29
52.33 ip ospf network ............................................................................................52-29
52.34 ip ospf priority..............................................................................................52-30
52.35 ip ospf retransmit-interval .............................................................................52-31
52.36 ip ospf transmit-delay...................................................................................52-32
52.37 maximum-paths...........................................................................................52-33
52.38 neighbor .....................................................................................................52-34
52.39 network.......................................................................................................52-35
52.40 no area .......................................................................................................52-36
52.41 notify default route .......................................................................................52-37
52.42 nsf ..............................................................................................................52-37

XLIV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


52.43 passive-interface .........................................................................................52-38
52.44 redistribute ..................................................................................................52-39
52.45 router-id ......................................................................................................52-40
52.46 show ip ospf ................................................................................................52-41
52.47 show ip ospf border-routers ..........................................................................52-44
52.48 show ip ospf database .................................................................................52-45
52.49 show ip ospf interface ..................................................................................52-54
52.50 show ip ospf neighbor ..................................................................................52-56
52.51 show ip ospf nsf...........................................................................................52-57
52.52 show ip ospf request-list...............................................................................52-60
52.53 show ip ospf retransmission-list ....................................................................52-60
52.54 show ip ospf virtual-links ..............................................................................52-61
52.55 summary-address........................................................................................52-63
52.56 timers lsa-group-pacing................................................................................52-64
52.57 timers spf ....................................................................................................52-65

Chapter 53 BGP Protocol Commands .................................................... 53-1


53.1 enable ip bgp ................................................................................................. 53-2
53.2 router bgp ...................................................................................................... 53-3
53.3 address-family ipv4 multicast .......................................................................... 53-4
53.4 aggregate-adress ........................................................................................... 53-5
53.5 bgp always-compare-med ............................................................................... 53-6
53.6 bgp as ........................................................................................................... 53-7
53.7 bgp client-to-client reflection............................................................................ 53-8
53.8 bgp cluster-id ................................................................................................. 53-9
53.9 bgp confederation identifier ............................................................................53-10
53.10 bgp confederation peers ..............................................................................53-10
53.11 bgp dampening............................................................................................ 53-11
53.12 bgp default ipv4-unicast ...............................................................................53-12
53.13 bgp default local-preference .........................................................................53-13
53.14 bgp default route-targer filter ........................................................................53-14
53.15 bgp fast-external-fallover..............................................................................53-15
53.16 bgp graceful-restart......................................................................................53-16
53.17 bgp router-id................................................................................................53-17
53.18 bgp update-delay.........................................................................................53-17
53.19 clear ip bgp dampening................................................................................53-18
53.20 clear ip bgp flap-statistics .............................................................................53-19
53.21 default-information originate .........................................................................53-20

XLV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


53.22 default-metric ..............................................................................................53-21
53.23 disable ip bgp ..............................................................................................53-22
53.24 distance bgp................................................................................................53-22
53.25 enable ip bgp ..............................................................................................53-23
53.26 exit-address-family ......................................................................................53-24
53.27 ip as-path access-list ...................................................................................53-25
53.28 ip community-list..........................................................................................53-26
53.29 ip prefix-list..................................................................................................53-27
53.30 maximum-paths...........................................................................................53-28
53.31 neighbor activate .........................................................................................53-29
53.32 neighbor advertisement-interval....................................................................53-30
53.33 neighbor allowas-in......................................................................................53-31
53.34 neighbor default-originate.............................................................................53-32
53.35 neighbor description ....................................................................................53-33
53.36 neighbor ebgp-multihop ...............................................................................53-34
53.37 neighbor maximum-prefix.............................................................................53-35
53.38 neighbor next-hop-self .................................................................................53-36
53.39 neighbor passive .........................................................................................53-37
53.40 neighbor password ......................................................................................53-38
53.41 neighbor prefix-list .......................................................................................53-39
53.42 neighbor remote-as......................................................................................53-40
53.43 neighbor remove-private-as..........................................................................53-41
53.44 neighbor route-map .....................................................................................53-42
53.45 neighbor route-reflector-client .......................................................................53-43
53.46 neighbor send-community ............................................................................53-45
53.47 neighbor send-med......................................................................................53-46
53.48 neighbor shut-down .....................................................................................53-46
53.49 neighbor soft-reconfiguration ........................................................................53-47
53.50 neighbor timers ...........................................................................................53-48
53.51 neighbor update-source ...............................................................................53-49
53.52 network.......................................................................................................53-51
53.53 redistribute ..................................................................................................53-51
53.54 reset ip bgp .................................................................................................53-52
53.55 synchronization ...........................................................................................53-53
53.56 show bgp all neighbor ..................................................................................53-54
53.57 show bgp all protocol ...................................................................................53-56
53.58 show bgp all summary .................................................................................53-56

XLVI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


53.59 show bgp ipv4 multicast ...............................................................................53-58
53.60 show bgp ipv4 multicast neighbor .................................................................53-60
53.61 show bgp ipv4 unicast..................................................................................53-62
53.62 show bgp ipv4 unicast dampening dampened-paths ......................................53-65
53.63 show bgp ipv4 unicast dampening flap-statistics ............................................53-65
53.64 show bgp ipv4 unicast neighbor....................................................................53-66
53.65 show bgp ipv4 unicast summary ...................................................................53-69
53.66 show ip as-path-access-list ..........................................................................53-70
53.67 show ip bgp dampened-paths.......................................................................53-71
53.68 show ip bgp flap-statistics ............................................................................53-72
53.69 show ip bgp neighbor...................................................................................53-72
53.70 show ip bgp protocol ....................................................................................53-76
53.71 show ip bgp route ........................................................................................53-76
53.72 show ip bgp summary ..................................................................................53-78
53.73 show ip community-list .................................................................................53-79
53.74 show ip prefix-list .........................................................................................53-80
53.75 timers bgp ...................................................................................................53-81

Chapter 54 IS-IS Protocol Commands.................................................... 54-1


54.1 router isis....................................................................................................... 54-1
54.2 address-family................................................................................................ 54-2
54.3 area............................................................................................................... 54-3
54.4 authentication................................................................................................. 54-4
54.5 authentication-type ......................................................................................... 54-4
54.6 default-information originate ............................................................................ 54-6
54.7 disable........................................................................................................... 54-7
54.8 disable-snp-authentication .............................................................................. 54-7
54.9 distance ......................................................................................................... 54-8
54.10 enable ......................................................................................................... 54-9
54.11 enable-snp-authentication ............................................................................. 54-9
54.12 hello padding...............................................................................................54-10
54.13 ignore-lsp-errors .......................................................................................... 54-11
54.14 is-type.........................................................................................................54-12
54.15 lsp-mtu .......................................................................................................54-13
54.16 lsp-refresh-time ...........................................................................................54-13
54.17 max-lsp-lifetime ...........................................................................................54-14
54.18 maximum-paths...........................................................................................54-15
54.19 metric-style .................................................................................................54-16

XLVII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


54.20 redistribute ..................................................................................................54-17
54.21 restart .........................................................................................................54-18
54.22 set-overload-bit ...........................................................................................54-19
54.23 show isis adjacency .....................................................................................54-20
54.24 show isis circuits..........................................................................................54-21
54.25 show isis database ......................................................................................54-22
54.26 show isis nsf................................................................................................54-25
54.27 show isis topology .......................................................................................54-26
54.28 spf-interval ..................................................................................................54-27
54.29 summary-address........................................................................................54-28
54.30 system-id ....................................................................................................54-30

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

XLVIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


About This Manual
Purpose
The ZXA10 C300 Optical Access Convergence Equipment (ZXA10 C300 for short) is a
full-service optical access platform. It supports the video, data, voice, TDM, and CATV
services. The ZXA10 C300 can be connected with MDUs/ONUs/ONTs through various
networking technologies.

The ZXA10 C300 device consists of the switching and control cards, PON interface cards,
uplink cards, Ethernet interface card, P2P interface cards, TDM interface cards, and
common interface card. It provides large-capacity controllable multicast and high QoS
control.
This manual provides the command information on the ZXA10 C300 Optical Access
Convergence Equipment.

Intended Audience
This document is intended for:

l Installation and debugging engineer


l Network monitoring engineer
l System maintenance engineer
l 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.

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter Summary

7, User Management Describes the commands related to user


management.

8, SNMP Commands Describes the commands related to SNMP.

9, RMON Commands Describes the commands related to RMON.

10, FTP Server Commands Describes the commands related to FTP server.

11, Alarm Management Describes the commands related to alarm


management.

12, Historical Performance Management Describes the commands related to historical


performance management.

13, Performance Alarm Profile Management Describes the commands related to performance
alarm profile management.

14, Debugging Commands Describes the commands related to debugging.

15, Monitor Commands Describes the commands related to monitor.

16, VLAN Commands Describes the commands related to VLAN.

17, SuperVLAN Commands Describes the commands related to super VLAN.

18, P2P Commands Describes the commands related to P2P.

19, PON Commands Describes the commands related to GPON and


EPON common configuration.

20, EPON Commands Describes the commands related to EPON.

21, GPON Commands Describes the commands related to GPON.

22, CPE Version Management Describes the commands related to CPE


management.

23, Multicast Commands Describes the commands related to multicast.

24, IPTV Commands Describes the commands related to IPTV.

25, CES Commands Describes the commands related to CES.

26, Ethernet OAM Commands (802.3ag & Describes the commands related to 802.3ag and
802.3ah) 802.3ah.

27, ZESR Commands Describes the commands related to ZESR.

28, ZESS Commands Describes the commands related to ZESS.

29, LST Commands Describes the commands related to LST.

30, Port Configuration Commands Describes the commands related to port


configuration.

31, Ethernet Interface Configuration Describes the commands related to Ethernet


Commands interface configuration.

32, MSTP Commands Describes the commands related to MSTP.

II

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter Summary

33, LACP Commands Describes the commands related to LACP.

34, DHCP Commands Describes the commands related to DHCP.

35, Port Location Commands Describes the commands related to port location.

36, MFF and ARP Anti Spoofing Commands Describes the commands related to MFF and ARP
anti spoofing.

37, Control Panel Safety Commands Describes the commands related to control panel
safety.

38, IPV4 Protocol Commands Describes the commands related to IPV4 protocol.

39, IPV6 Protocol Commands Describes the commands related to IPV6 protocol.

40, ACL Commands Describes the commands related to ACL.

41, QoS Commands Describes the commands related to QoS.

42, MAC Configuration Commands Describes the commands related to MAC


configuration.

43, IP Address Pool Commands Describes the commands related to IP address


pool.

44, System Log/Statistical Management Describes the commands related to system


Commands log/statistical management.

45, NTP Configuration Commands Describes the commands related to NTP


configuration.

46, Clock Management Commands Describes the commands related to clock


management.

47, TACACS+ Commands Describes the commands related to TACACS+.

48, RADIUS Commands Describes the commands related to RADIUS.

49, SSH Commands Describes the commands related to SSH.

50, PIM Snooping Commands Describes the commands related to PIM Snooping.

51, RIP Protocol Commands Describes the commands related to RIP protocol.

52, OSPF Protocol Commands Describes the commands related to OSPF Protocol.

53, BGP Protocol Commands Describes the commands related to BGP Protocol.

54, 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.

III

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Typeface Meaning

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.

IV

SJ-20120802162214-011|2012-08-15 (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 command is the command name.


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

Example
l set-memthreshold [rackno rackno] [shelfno shelfno] slotno slotno threshold
l igmp {enable | disable}

1.2 Command Usage and Operation


The general command usage and operation is as follows:

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

1-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 C300 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 pon-onu-mng


mode mng)# mode

Clock configuration mode ZXAN(config-clock)# Global configuration clock


mode

Interface configuration mode ZXAN(config-if)# Global configuration interface


mode

VLAN database configuration ZXAN(vlan)# Global configuration vlan database


mode mode

VLAN configuration mode ZXAN(config-vlan)# Global configuration vlan


mode

MSTP configuration mode ZXAN(config-mstp)# Global configuration spanning-tree mst


mode configuration

CES configuration mode ZXAN(config-ces)# Global configuration ces


mode

Router configuration mode ZXAN(config- Global configuration router


router)# mode

1-2

SJ-20120802162214-011|2012-08-15 (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 acl standard


mode acl)# mode

Extended ACL configuration ZXAN(config-ext- Global configuration acl extended


mode acl)# mode

Hybrid ACL configuration ZXAN(config-hybd- Global configuration acl hybrid


mode acl)# mode

Layer–2 ACL configuration ZXAN(config-link- Global configuration acl link


mode acl)# mode

AAA-TACACS server group ZXAN(config-sg)# Global configuration aaa group-server


mode mode tacacs+

Control panel configuration ZXAN(control- Global configuration control-panel


mode panel)# mode

1-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

1-4

SJ-20120802162214-011|2012-08-15 (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 set .....................................................................................................................2-4
clock summer-time .....................................................................................................2-5
clock timezone ...........................................................................................................2-6
clear mpnat trans-table...............................................................................................2-7
configure terminal.......................................................................................................2-7
disable .......................................................................................................................2-8
enable ........................................................................................................................2-9
enable secret .............................................................................................................2-9
end...........................................................................................................................2-10
exit ...........................................................................................................................2-11
hostname .................................................................................................................2-12
load-balance ............................................................................................................2-13
multi-user configure..................................................................................................2-13
set-cputhreshold.......................................................................................................2-15
set-memthreshold ....................................................................................................2-15
set-pnp.....................................................................................................................2-16
time-range................................................................................................................2-17
username .................................................................................................................2-18
who ..........................................................................................................................2-19
show auto-write ........................................................................................................2-20
show clock ...............................................................................................................2-20
show cputhreshold ...................................................................................................2-21
show load-balance ...................................................................................................2-22
show memthreshold .................................................................................................2-23
show processor ........................................................................................................2-24
show running-config .................................................................................................2-24
show system-group ..................................................................................................2-26
show time-range.......................................................................................................2-27
show username........................................................................................................2-28
show users...............................................................................................................2-28

2-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

Purpose
To save the configuration data automatically

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 1–24, 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-write function:
ZXAN(config)#auto-write enable

Related Information
show auto-write

2.2 banner incoming


Syntax
banner incoming line
TEXT

line

Purpose
To configure incoming terminal line banner

2-2

SJ-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 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

2-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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 clock summer-time


Syntax
clock summer-time recurring dstname week day month hh:mm:ss week day month hh:mm:ss
[offset]

Purpose
To configure DST (Daylight Saving Time) time
Use the no command to delete the configuration.

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

dstname DST name 1 – 8 characters

week Week l 1: the first week


l 2: the second week
l 3: the third week
l 4: the fourth week
l 5: the fifth week
l lastweek: the last week

day Weekday l monday


l tuesday
l wednesday
l thursday
l friday
l saturday
l sunday

month Month jan – dec

2-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

hh:mm:ss Time -

offset Offset time 1 – 300, uint: min


Default: 60

Mode
ZXAN(config)#

Example
The following example displays how to configure the DST from the 1st Saturday of April to
the 4th Sunday of October.
ZXAN(config)#clock summer-time recurring test 1 saturday apr 02:00:00 4 sunday oct
02:00:00 60

Related Commands
show clock

2.6 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 12

minutes Minutes offset from UTC Range: 0 – 59

Mode
ZXAN(config)#

Example
The following example displays how to configure the system time zone:

2-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

ZXAN(config)#clock timezone beijing 12


ZXAN(config)#

Related Commands
show clock

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

Purpose
To enter the global configuration mode

2-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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>

Related Commands
enable
exit

2-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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.11 enable secret


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

Purpose
To configure the password for privilege mode

2-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

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

2-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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 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#

2-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

2.14 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-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

2.15 load-balance
Syntax
load-balance { disable | enable }

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.16 multi-user configure


Syntax
multi-user configure
no multi-user configure

Purpose
To permit multiple users to enter configuration mode

Usage Guidelines
None

2-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to permit multiple users to enter configuration mode:
l 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)#

l 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#

l 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-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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

Purpose
To configure the CPU 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

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.18 set-memthreshold
Syntax
set-memthreshold [rackno rackno] [shelfno shelfno] slotno slotnothreshold

Purpose
To configure memory threshold alarm value

Usage Guidelines
The following table provides parameter description:

2-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 memory threshold alarm value:
ZXAN(config)#set-memthreshold rackno 1 shelfno 1 slotno 8 70
ZXAN(config)#

Related Commands
set-cputhreshold
show memthreshold

2.19 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:

2-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

ZXAN(config)#set-pnp enable

Related Commands
show pnp

2.20 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)#

2-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show time-range

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.21 username
Syntax
username username password {0 password | 7 password | password} [privilege privilege] [max-
sessionsmax-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)#

2-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

Related Commands
show username

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.22 who
Syntax
who

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#

2-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.23 show auto-write


Syntax
show auto-write

Purpose
To show the configuration of the auto-write function

Usage Guidelines
None

Mode
ZXAN(config)#

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

2.24 show clock


Syntax
show clock

Purpose
To display the system clock

2-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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.25 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

2-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

------------------------------
1 1 1 100
1 1 4 100
1 1 10 100
1 1 11 100
1 1 16 100
1 1 17 100
1 1 20 100
1 1 21 100
ZXAN#

Related Commands
set-cputhreshold

2.26 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-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

2.27 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

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 1 4 100
1 1 6 100
1 1 10 100
1 1 11 100
1 1 16 100
1 1 17 100
1 1 20 100
1 1 21 100
ZXAN#

Related Commands
set-memthreshold

2-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

2.28 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

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 1 4 6% 6% 6% 32 46%
1 1 10 24% 24% 24% 254 72%
1 1 21 11% 11% 11% 16 45%
ZXAN#

Related Commands
None

2.29 show running-config


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

2-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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/22/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/21/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:

2-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#show running-config interface gei_1/22/1


Building configuration...
!
interface gei_1/22/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.30 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.

2-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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.31 show time-range


Syntax
show time-range [range-name]

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#

2-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
time-range

2.32 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

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 4
mmm xO/VAgy0m50yV/+g+8zArg== 15 4

Related Commands
username

2.33 show users


Syntax
show users

Purpose
To display the terminal user information

Usage Guidelines
None

2-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 2 Basic System Management

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

Host Host login name

Idle Idle time

Location Location address of the client

Related Commands
None

2-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

2-30

SJ-20120802162214-011|2012-08-15 (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-4
del-rack ......................................................................................................................3-5
del-shelf .....................................................................................................................3-6
del-card ......................................................................................................................3-6
del-subcard ................................................................................................................3-7
reboot.........................................................................................................................3-8
reset-card...................................................................................................................3-9
swap ..........................................................................................................................3-9
show rack.................................................................................................................3-10
show shelf ................................................................................................................3-11
show card.................................................................................................................3-12
show card type .........................................................................................................3-13

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 ETSI21, IEC19

Mode
ZXAN(config)#

3-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to add a rack:
ZXAN(config)#add-rack rackno 1 racktype ETSI21
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 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 ETSI_SHELF


ZXAN(config)#

3-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 3 Hardware Management

Related Commands
del-shelf

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 20 GUSQ


ZXAN(config)#

Related Command
del-card

3-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
Card slots in a 19-inch shelf are as follows:

Slot Card Type

0–1 PRWG

2 – 9, 12 – 17 GDFOU, GTGO, ETGO, ETXD, GTXD, FTGHA, CL1A, CTTB,


CTBB

18 CIGG, CICK

19 – 20 GUSQ, GUFQ, GUTQ, HUGQ, HUTQ, XUTQ

Card slots in a 21-inch shelf are as follows:

Slot Card Type

0–1 PRWG

2 – 9, 12 – 19 GDFOU, GTGO, ETGO, ETXD, GTXD, FTGHA, CL1A, CTTB,


CTBB

20 CIGG, CICK

21 – 22 GUSQ, GUFQ, GUTQ, HUGQ, HUTQ, XUTQ

3.4 add-subcard
Syntax
add-subcard [rackno rackno] [shelfno shelfno] slotno slotno subcardno subcardno subcardtype

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

3-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 3 Hardware Management

Mode
ZXAN(config)#

Example
The following example displays how to add a subcard:
ZXAN(config)#add-subcard rackno 1 shelfno 1 slotno 9
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

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-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.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:

3-6

SJ-20120802162214-011|2012-08-15 (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: 0 – 22

Mode
ZXAN(config)#

Example
The following example displays how to delete a card:
ZXAN(config)#del-card slotno 3
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:

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

3-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to delete a subcard:
ZXAN(config)#del-subcard rackno 1 shelfno 1 slotno 10 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#

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

Related Commands
reset-card

3-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 3 Hardware Management

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.11 swap
Syntax
swap [rackno rackno] [shelfno shelfno] [slotno slotno]

Purpose
To swap between active and standby card

3-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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#

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

Related Commands
None

3.12 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

3-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 3 Hardware Management

Example
The following example displays the configured rack information:
ZXAN#show rack
Rack RackType SupShelfNum CfgShelfNum
---------------------------------------------------------------------------
1 IEC19 1 1

Related Commands
add-rack
del-shelf

3.13 show shelf


Syntax
show shelf [rackno rackno] [shelfno shelfno]

Purpose
To display the configured shelf information

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
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 1 IEC_SHELF 0 BVM5Z00GRA

Related Commands
add-shelf

3-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

del-shelf

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

shelfno shelfno Shelf number Range: 1 – 3


Default: 1

slotno slotno Slot number Range: 0 – 22

Mode
Any mode except user mode

Example
The following examples display the card information:
ZXAN(config)#show card
Rack Shelf Slot CfgType RealType Port HardVer SoftVer Status
-------------------------------------------------------------------------------
1 1 0 PRWG PRWG 0 INSERVICE
1 1 5 GTGO GTGOE 8 091200 V1.2.3T1O INSERVICE
1 1 10 SCXL SCXL 0 090600 V1.2.3 INSERVICE
1 1 11 SCXL 0 OFFLINE
1 1 19 GUSQ GUSQ 2 090200 V1.2.3 INSERVICE

ZXAN#show card
ZXAN(config)#show card slotno 10
Config-Type : SCXL Status : INSERVICE
Real-Type : SCXL Serial-Number :
Port-Number : N/A BootROM-VER : V1.2.1 2011-08-12 10:13:17
PCB-VER : 090600 Software-VER : V1.2.3 2012-07-24 06:04:44
Cpld-VER : V1.6

3-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 3 Hardware Management

Phy-Mem-Size : 510MB Main-CPU : PowerPC Processor


Cpu-Usage : 10% Cpu-Alarm-Threshold : 100%
Mem-Usage : 52% Mem-Alarm-Threshold : 100%
Uptime : 2 Day , 5 Hours , 13 Minutes , 26 Second

Related Commands
add-card
del-card

3.15 show card type


Syntax
show card type card-type

Purpose
To display the information about online cards according to card type

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

card-type Card type l CES


l EPON
l GEUPLINK
l GPON
l MCCARD
l P2P
l PIB
l POWER
l RTD

Mode
Any mode except ZXAN>

Example
The following example displays the online GPON card.
ZXAN#show card type GPON
Position : 1/1/5
Type : GTGO Real Type : GTGOE
Status : INSERVICE Port Number : 8
Memory Size : 256MB CPU Type : PowerPC Processor

3-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

CPU Usage : 20% Memory Usage : 54%


Serial Number : PCB Version : 091200
CPLD Version : V1.5
Boot Version : V1.2.0P1 2011-07-04 17:16:25
Software Version : V1.2.3T1O 2012-07-24 04:14:07
Board Up Time : 0 Days, 6 Hours, 38 Minutes, 45 Seconds

Related Commands
show card

3-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 4
Fan Management
Table of Contents
fan control ..................................................................................................................4-1
fan high-threshold ......................................................................................................4-2
fan speed ...................................................................................................................4-3
fanboard.....................................................................................................................4-4
fan-board....................................................................................................................4-5
fan-epm-console ........................................................................................................4-6
fan high-temp-protection.............................................................................................4-6
show fan ....................................................................................................................4-7
show fanboard............................................................................................................4-8
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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 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:

4-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 4 Fan Management

l Report to main card that high temperature alarm has occurred.


l Main card sends Trap message to SNMP server, to start all fans in full speed.
l 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.3 fan speed


Syntax
fan speed speed level

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-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

4.4 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:

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-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 4 Fan Management

4.5 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 -

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-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

4.6 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 -

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.7 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:

4-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 4 Fan Management

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.8 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 15 30 40 (Celsiur scale)
HighTemperatureThreshold : 70(Celsiur scale)
Environment Temperature : N/A. (Celsiur scale)
All fan actual status:

4-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

---------------------------------------
fan Actual Status Actual Speed
---------------------------------------
1 on 2
2 on 2
3 off 2
4 on 2
---------------------------------------
ZXAN#

Related Commands
None

4.9 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-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 4 Fan Management

4.10 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

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

Related Commands
None

4-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

4-10

SJ-20120802162214-011|2012-08-15 (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|s
disk-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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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|sdis
k-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-20120802162214-011|2012-08-15 (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} [file-name]

Purpose
To synchronize the files between main and backup card

5-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 -

file-name File name Range: 1 – 32 characters

Mode
ZXAN#

Example
The following example displays how to synchronize the files between main and backup
card:
ZXAN#sync-file cfg
ZXAN#

Related Commands
None

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

Purpose
To upload boot version file

Usage Guidelines
The following table provides parameter description:

5-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 5 Version 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

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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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#

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

5-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 5 Version Management

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

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

patchname Patch file name Range: 1 – 32 characters

5-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
------------------------------------------------------------
gtgoe091200. BIN 0 2012-07-24 04:14:29 194757
xBIN
zx276103.bin BIN 0 2012-07-24 04:14:38 4062047
.BIN
gtgoe110300. BIN 0 2012-07-24 04:14:40 195911
xBIN

5-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 5 Version Management

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 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
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/5 GTGOE MVR V1.2.3T1O 2012-07-24 04:14:07 1907018


1/1/5 GTGOE FW V1.2.3T1O 2012-07-24 04:14:29 4453115
1/1/5 PM FW V1.2.1P1 2012-03-23 02:15:28 934
1/1/5 GTGOE BT V1.2.0P1 2011-07-04 17:16:25 312112
1/1/10 SCXL MVR V1.2.3 2012-07-24 06:04:44 8635022
1/1/10 SCXL BT V1.2.1 2011-08-12 10:13:17 448288
1/1/19 GUCD MVR V1.2.3 2012-07-24 00:23:22 1927467
1/1/19 GUCD BT V1.0.0P2 2011-09-05 14:20:45 223924

5-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 Description Value

master Master card version file -


information

slave Slave card version file -


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/10 etghg.mvr MVR V1.2.3 2012-07-02 14:49:32 9660064


1/1/10 etgo.mvr MVR V1.2.3 2012-06-15 02:22:51 4889191
1/1/10 ettqe.fw FW V1.3.0 2012-04-01 08:28:20 388176
1/1/10 ettqe.mvr MVR V2.0.0 2012-04-23 10:20:05 9180796
1/1/10 gtgoe.fw FW V1.2.3T1O 2012-07-24 04:14:29 4453115
1/1/10 gtgoe.mvr MVR V1.2.3T1O 2012-07-24 04:14:07 1907018
1/1/10 gtxqc.fw FW V2.0.0 2012-05-24 08:35:06 20854808
1/1/10 gtxqc.mvr MVR V2.0.0 2012-05-23 14:20:52 4764308
1/1/10 gucd.fw FW V1.2.3T1O 2012-07-24 03:07:16 183191
1/1/10 gucd.mvr MVR V1.2.3 2012-07-24 00:23:22 1927467
1/1/10 pm.fw FW V1.2.1P1 2012-03-23 02:15:28 934
1/1/10 scxl.fw FW V1.2.3 2012-07-24 06:06:31 697599

5-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 5 Version Management

1/1/10 scxl0.mvr MVR V1.2.3 2012-07-24 06:04:44 8635022 1


1/1/10 scxl1.mvr MVR V1.2.3 2012-06-27 06:09:27 8613633 0
1/1/10 smxa.mvr MVR V1.2.1P1 2012-04-10 03:21:39 13308561

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
No file execute synchronization.
ZXAN#

Related Commands
None

5-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

5-12

SJ-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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 MAJOR
l MINOR
l WARNINGS
l INDETERMINATE
l CLEARED
l 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 2 4

Related Commands
auto-backup condition

6.13 show auto-backup period


Syntax
show auto-backup period configure

6-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Username : abc
Password : ********
Path : \c300

FileType : Cfg
ServerIndex : 2
Not configuration

FileType : Log
ServerIndex : 1
ProtocolType: Ftp Server-IpAddr: 1.1.1.1
Username : abc
Password : ********
Path : \c300

FileType : Log
ServerIndex : 2
Not configuration

FileType : Img
ServerIndex : 1
ProtocolType: Ftp Server-IpAddr: 1.1.1.1
Username : abc
Password : ********
Path : \c300

FileType : Img
ServerIndex : 2
Not configuration

Related Commands
file-server

6-14

SJ-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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 1

Mode
Any mode except user mode

7-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

version SNMP version to be used for -


notification messages

1 SNMP Version 1 -

2c SNMP Version 2C -

3 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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-20120802162214-011|2012-08-15 (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-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

8-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 9
RMON Commands
Table of Contents
rmon alarm.................................................................................................................9-1
rmon event .................................................................................................................9-2
show rmon .................................................................................................................9-3

9.1 rmon alarm


Syntax
rmon alarm index variable interval {absolute | delta} rising-threshold value [event-index] fallin
g-threshold value [event-index] [owner string]
no rmon alarm index

Purpose
To configure the alarm control table to monitor MIB object

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

index Alarm index Range: 1 – 65535

variable MIB object to monitor Range: 1 – 64 characters

interval Sample interval Range: 1 – 2147483647


seconds

delta Test delta between samples -

absolute Test each sample directly -

rising-threshold value Rising threshold value Range: – 2147483647 to


2147483647

event-index Event index Range: 1 – 65535

falling-threshold value Falling threshold value Range: – 2147483647 to


2147483647

owner string An owner for the alarm Range: 1 – 30 characters

9-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure the alarm control table to monitor MIB
object:
ZXAN(config)# rmon alarm 1 ip.2.0 10 absolute rising-threshold 200 1 falling-
threshold 100 1 owner ZTE
ZXAN(config)#

Related Commands
show rmon

Related Information
l Sample collection interval can be different or same for one instance.
l To reuse the same index number for another alarm, execute the no command to delete
previous index configuration first.
l If a non-existing index is specified for deletion, the system prompts with “Unknown
alarm number” message.
l If memory is insufficient or resource unavailable, the system prompts with “Resource
unavailable” message.
l The alarm should be used with related parameters for optimal results.

9.2 rmon event


Syntax
rmon event index [description string] [log] [owner string] [trap community]
no rmon alarm index

Purpose
To configure an event

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

index Event index Range: 1 – 65535

description string Description of the event Range: 1 – 30 characters

log Generate RMON log when the -


event occurs

9-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 9 RMON Commands

Parameter Description Value

owner string Owner for the event Range: 1 – 30 characters

trap community Trap community name Range: 1 – 30 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure an event:
ZXAN(config)# rmon event 1 log trap public description
log_trap_event
ZXAN(config)#

Related Commands
show rmon

Related Information
l An index number cannot be used to create multiple events and will result in error
message by the system.
l If the user tries to delete a non existing index number, the system prompts with a
“Unknown event number” message.
l If buffer allocation fails, the system prompts with “Alloc buffer error” message.
l If resource is not available, the system prompts with “Resource unavailable” message.

9.3 show rmon


Syntax
show rmon [alarms] [events] [history] [statistics]

Purpose
To display the RMON configuration

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

alarms RMON alarm table -

events RMON event table -

9-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

history RMON history table -

statistics RMON statistics table -

Mode
Any mode except user mode

Example
The following example displays the RMON configuration:
ZXAN#show rmon
supports Statistics History Alarm Event etc. group(s) of RFC1757.
Config entries:
etherStats 0
historyControl 0
alarm 0
event 0
ZXAN#

Related Commands
rmon alarm
rmon event
show snmplogfile end-time
show snmplogfile summary

Related Information
l This command displays RMON version information when optional parameters are not
used.
l If the specified control list contains none of control enty, the following information is
displayed:

Statistics table is empty.


History table is empty.

Alarm table is empty.

Event table is empty.

9-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 10
FTP Server Commands
Table of Contents
ip ftp username ........................................................................................................10-1
ip ftp password .........................................................................................................10-2

10.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

10-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

10.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

10-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


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

11.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)#

11-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

Related Commands
show alarm

11.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

11.3 alarm trap-confirm


Syntax
alarm trap-confirm retry time timeout timeout

no alarm trap-confirm

11-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 11 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.

11.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

11-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

11.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#

11-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 11 Alarm Management

Related Commands
None

11.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: 0
alarmNullPointer: 0 alarmInvalidMsgType: 0

alarmInvalidReportType: 0 alarmInvalidLevel: 0
alarmInvaideMibOid: 0 alarmInvalidAlarmId: 0
alarmInvalidRecNum: 0 alarmLogFuncNull: 0
alarmIdNotExist: 0 alarmRecordExist: 3
alarmPoolFull: 0 alarmPoolOverflow: 0
alarmInformPoolFull: 0 alarmInformPoolOverflow: 0
alarmPoolInsOk: 29 alarmGetRegIndexFail : 0
alarmSendToRosSuc: 83 alarmSendTrapSuc: 19532
alarmSendToRosFail: 0 alarmSendTrapFail: 0
alarmGetAlarmRegSuc: 19586 alarmGetStrFuncSuc: 0
alarmGetAlarmRegFail: 0 alarmGetStrFuncFail: 0
alarmAddToPoolSuc: 29 alarmInformSendTrapSuc: 51
alarmAddToPoolFail: 0 alarmInformSendTrapFail: 0
alarmGetLogFuncSuc: 218 alarmGetByAlarmIdOk: 38977
alarmGetLogFuncFail: 0 alarmGetByAlarmIdFail: 0
alarmRestoreDelSuc: 3 alarmBadTypeFromRos: 0
alarmRestoreDelFail: 0 alarmRecvFromRos: 28
alarmInformRecvFromRos: 52 alarmRestoreRecvFromRos: 3

11-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

alarmRecordUpdate: 0 alarmGetRegInfoFail: 0
alarmCreateReqFail: 0 alramBindValueFail: 0
alarmEncodeReqFail: 0 alarmAllocMemFail: 0
alarmUnsupportBindType: 0 alarmUnsupportMibVar: 0
alarmRecvDup: 0 alarmInformNotSendTrap: 0
ZXAN#

Related Commands
clear alarm counter

11.7 show alarm pool


Syntax
show alarm pool [pool-number | summary]

Purpose
To display the alarm pool information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

pool-number Alarm pool number Range: 1 – 500

summary Alarm summary -

Mode
Any mode except user mode

Example
The following example displays the alarm pool information:

ZXAN#show alarm pool summary


Current all msan alarm numbers : 2
ZXAN#

Related Commands
clear alarm pool

11-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 11 Alarm Management

11.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

11.9 clear alarm counter


Syntax
clear alarm counter

Purpose
To clear the alarm counter information

Usage Guidelines
None

Mode
ZXAN#

11-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

Related Commands
show alarm counter

11.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]
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]

11-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 11 Alarm Management

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.

11.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
---------------------------------------------------
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

11-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

11.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)#

Related Commands
show alarm profile

11-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 11 Alarm Management

11.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

11.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 }

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 }

11-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 -


pon_olt-shelf/slot/olt }

shelf shelf The shelf Range: 1

slot slot Slot number Range: 1–22

system The whole system -

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/14/1:1

Related Commands
show alarm profile

11.15 show alarm profile


Syntax
show alarm profile [ profilename ]

Purpose
To display alarm profile(s)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

profilename Profile name 1 – 32 characters

11-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 11 Alarm Management

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/14/1:1

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

11-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

11-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


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

12.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

12-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

12.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

12.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:

12-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 12 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

12.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

12-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

12.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 Description Value

15-minute 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

12.6 his-performance upload 1-day


Syntax
his-performance upload 1-day

Purpose
To upload 1-day history performance data

12-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 12 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

12-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

12-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


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

13.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:

13-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

13.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)#

13-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 Performance Alarm Profile Management

Related Commands
show perf-olt

13.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

13.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:

13-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

13.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)#

13-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 Performance Alarm Profile Management

Related Commands
show perf-onu

13.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

13.7 perf-clear-current
Syntax
perf-clear-current { eth | mac } { 1-day | 15-min | data }

Purpose
To clear current performance statistics on PON OLT or ONU interface

Usage Guidelines
The following table provides parameter description:

13-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

eth Ethernet -

mac PON MAC -

Mode
ZXAN(config-if)#

Example
The following example displays how to clear current Ethernet data performance statistics:
ZXAN(config-if)#perf-clear-current eth data

Related Commands
None

13.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

13-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 Performance Alarm Profile Management

Related Commands
show perf-olt
show perf-onu

13.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/20/1
ZXAN(config-if)#performance threshhold-profile abc

Related Commands
show perf-eth-if

13.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

13-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/14/1:1
ZXAN(config-if)#performance threshhold-profile abc vport 1

Related Commands
show perf-vport

13.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 -

13-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 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)#

13-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

13.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 -

13-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 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

13.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 | us-
cor-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

13-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

13-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 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

13.14 item (onu mac)


Syntax
item { crc-error-packets | ds-ploam-msg | ds-valid-eth-packets | erri | fec-cor-bytes | fec-cor-
words | fec-total-words | fec-uncor-words | lofi-alarm-times | reii | us-bip-error-bits | us-bip
-total-bits | us-cor-eth-frames | us-cor-idle-gem-frames | us-cor-not-idle-gem-frames | us-err
-eth-frames | us-gem-payload-bytes | us-not-cor-words| us-ploam-msg| us-total-omci-frames
| us-unreceived-bursts} { 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 REIi -

us-bip-error-bits Upstream bip error bits -

us-bip-total-bits Upstream bip corrected bits -

13-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

us-cor-eth-frames Upstream corrected Ethernet -


frames

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

13.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

13-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 Performance Alarm Profile Management

Usage Guidelines
The following table provides parameter description:

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

13.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:

13-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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-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

13.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:

13-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 13 Performance Alarm Profile Management

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


perf-eth-olt profile abc
--------------------------------------------------------------------------
item: drop-events 1-Day high alarm 10000 restore 8000

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

13.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

13-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

13.19 show perf-vport


Syntax
show perf-vport profile [ profilename ]

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

13-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


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

14-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

debug ip rip ............................................................................................................14-33


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

14-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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.

14.2 debug arp


Syntax
debug arp

no debug arp

14-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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:

14-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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/16/1
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.4 debug group-management


Syntax
debug group-management
no debug group-management

Purpose
To enable cluster management protocol debug function

Usage Guidelines
None

14-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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 -

14-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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_rac-


kno/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.

14-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

14.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.

14.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

14-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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#

14-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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

14-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

Related Information
By default, all debug switches are disabled.

14.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.

14.11 debug ip bgp in


Syntax
debug ip bgp in

no debug ip bgp in

14-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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#

14-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
By default, all debug switches are disabled.

14.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.

14-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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.

14.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

14-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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

14-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

ICMP detail debugging is on


ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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.

14-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

14.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.

14.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:

14-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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

14-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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#

14-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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

14-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

Related Information
By default, all debug switches are disabled.

14.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.

14.26 debug ip ospf database-timer


Syntax
debug ip ospf database-timer
no debug ip ospf database-timer

14-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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#

14-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
Flood events mainly include the information relating to OSPF response packets and renew
packets.

14.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.

14-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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.

14.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

14-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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:

14-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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.

14-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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.

14.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

14-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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.

14.38 debug ip rip


Syntax
debug ip rip
no debug ip rip

14-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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#

14-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
By default, all debug switches are disabled.

14.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.

14.42 debug ip rip trigger


Syntax
debug ip rip trigger

no debug ip rip trigger

14-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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#

14-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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.

14-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

14.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.

14.47 debug ip tcp packet


Syntax
debug ip tcp packet
no debug ip tcp packet

14-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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

14-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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 -

14-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

data IPTV data debugging -

error IPTV error debugging -

event IIPTV event debugging -

rack-number Rack number 0

shelf-number Shelf number Range: 0 – 4

slot-number Slot number Range: 1 – 16

interface name Interface name Epon-onu_rac-


kno/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.

14.51 debug lacp all


Syntax
debug lacp all
no debug lacp all

14-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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:

14-45

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

interface port-number Interface name Epon-olt_rackno/slotno/portno


Epon-onu_rackno/slotno/portno:onuno
Gei_1/22/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/21/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.

14.53 debug lacp packet


Syntax
debug lacp packet [interface port-number]

no debug lacp packet [interface port-number]

14-46

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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/22/portno


xgei_1/21/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.

14.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:

14-47

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

interface interface-name Interface name gei_1/22/portno


xgei_1/21/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.

14.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:

14-48

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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/22/portno


Xgei_1/21/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#

14-49

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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/22/portno


Xgei_1/21/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.

14-50

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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.

14.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

14-51

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface interface-name Interface name Gei_1/22/portno


Xgei_1/21/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.

14.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:

14-52

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

Parameter Description Value

interface interface-name Interface name Gei_1/22/portno


Xgei_1/21/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.

14.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/22/portno


Xgei_1/21/portno
Smartgroup
Interface Range: 1 – 8

14-53

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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/22/portno


Xgei_1/21/portno
Smartgroup
Interface Range: 1 – 8

instance instance-number Instance number Range: 0 – 31

Mode
ZXAN#

14-54

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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#

14-55

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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/22/portno


Xgei_1/21/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.

14-56

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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/22/portno


Xgei_1/21/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.

14-57

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

14.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/22/1
ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14-58

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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#

14-59

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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.

14.69 debug radius authentication


Syntax
debug radius authentication {data | error | event | packet {group-number | all} }

14-60

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.70 debug radius exception


Syntax
debug radius exception

no debug radius exception

14-61

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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

14-62

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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.

14.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

14-63

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

14.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 Description Value

all 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

14-64

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

ZXAN#

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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#

14-65

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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#

14-66

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

Related Commands
terminal monitor

Related Information
By default, all debug switches are disabled.

14.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.

14-67

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

14.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

14-68

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 Debugging Commands

14.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.

14-69

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

14.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

14.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

14-70

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 14 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

14-71

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

14-72

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 15
Monitor Commands
Table of Contents
system-monitor endless-loop duration ......................................................................15-1
system-monitor endless-loop reboot .........................................................................15-2
system-monitor task-suspend-reboot........................................................................15-2
system-monitor watchdog.........................................................................................15-3
system-monitor watchdog-duration...........................................................................15-4
pon-loopback-auto-check-time .................................................................................15-4

15.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 1–3

shelfno Shelf number 1–3

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

15-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

15.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 1–3

shelfno Shelf number 1–3

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

15.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:

15-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 15 Monitor Commands

Parameter Description Value

rackno Rack number 1–3

shelfno Shelf number 1–3

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

15.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 1–3

shelfno Shelf number 1–3

slotno Slot number 0 – 22

Mode
ZXAN(config)#

15-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

15.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 1–3

shelfno Shelf number 1–3

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

15.6 pon-loopback-auto-check-time
Syntax
pon-loopback-auto-check-time time

Purpose
To start recheck automatically and periodically after detecting loopback

15-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 15 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.

15-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

15-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16
VLAN Commands
Table of Contents
Global Commands....................................................................................................16-1
Uplink Port Command at Network Side.....................................................................16-9
Commands at User side .........................................................................................16-12
Service-Port Commands ........................................................................................16-16
Smart QinQ Commands .........................................................................................16-20
Show Commands ...................................................................................................16-22

16.1 Global Commands


16.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:
ZXAN(config)#vlan 2

16-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-vlan)#

Related Commands
show vlan

16.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

16.1.3 name
Syntax
name vlan-name
no name

Purpose
To configure VLAN name

16-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 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

16.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

16-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-vlan)#exit
ZXAN(config)#vlan 3
ZXAN(config-vlan)#description dialing-network
ZXAN(config-vlan)#

Related Commands
show vlan

16.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.

16-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

16.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.

16.1.7 vbas
Syntax
vbas { enable | disable }

Purpose
To enable or disable VBAS in VLAN

16-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

16.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

16-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

Related Commands
None

16.1.9 customer-xconnect
Syntax
customer-xconnect {enable | disable} [cvlan vid]

Purpose
To enable/disable the 1:1 VLAN forwarding on switching and control cards

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable the function -

disable Disable the function -

cvlan vid CVLAN ID 1–4094

Mode
ZXAN(config-vlan)#

Example
The following example displays how to enable the 1:1 VLAN forwarding on switching and
control cards.
ZXAN(config)#vlan 100
ZXAN(config-vlan)#customer-xconnect enable

Related Commands
show customer-xconnect

Related Information
This command is only to configure 1:1 VLAN forwarding on switching and control cards.
Packets forwarding on service cards are still based on VLAN + MAC.
By default, the 1:1 VLAN is disabled.
When CVLAN ID is not configured, 1:1 VLAN transmission is based on the SVLAN ID.
When CVLAN ID is configured, 1:1 VLAN transmission is based on SVLAN + CVLAN.
In an SVLAN, you can configure multiple CVLAN entries.
This command conflicts with the xconnect command.

16-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

16.1.10 xconnect
Syntax
xconnect { enable | disable } [cvlan vid]

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 -

cvlan vid CVLAN ID 1–4094

Mode
ZXAN(config-vlan)#

Example
The following example displays how to enable 1:1 VLAN transparent transmission:
ZXAN(config)#vlan 100
ZXAN(config-vlan)#xconnect enable

Related Commands
show vlan-xconnect

Related Information
By default, the 1:1 VLAN is disabled.

When CVLAN ID is not configured, 1:1 VLAN forwarding is based on the SVLAN ID.
When CVLAN ID is configured, 1:1 VLAN forwarding is based on SVLAN + CVLAN.

In an SVLAN, you can configure multiple CVLAN entries.

16-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

16.2 Uplink Port Command at Network Side


16.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:

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/9/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#

Related Commands
show vlan port

Related Information
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.
l In other switching mode, the tag and untag VLANs of this port should be deleted as
well.
l Access port can only belong to one VLAN (except VLAN 1).

16-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

l Uplink port cannot be configured in access mode.

16.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:

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/9/1
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#

Related Commands
show vlan port

16.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

16-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

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:
ZXAN(config)#interface gei_1/9/1
ZXAN(config-if)#switchport vlan 100,102-110 untag
ZXAN(config-if)#

Related Commands
show vlan port

16.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)#

16-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure the TPID port attributes:
ZXAN(config)#interface gei_1/9/1
ZXAN(config-if)#switchport tpid 0x9100
ZXAN(config-if)#

Related Commands
show vlan port

16.3 Commands at User side


16.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/4/2:3
ZXAN(config-if)#switchport mode hybrid
ZXAN(config-if)#

16-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

Related Commands
show vlan port

Related Information
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.
l In other switching mode, the tag and untag VLANs of this port should be deleted as
well (except VLAN 1).
l Access port can only belong to one VLAN.
l Uplink port cannot be configured in access mode.

16.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/4/2:3
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#

16-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show vlan port

16.3.3 switchport tls


Syntax
switchport tls {enable | disable} [vport vportid]

Purpose
To enable or disable the TLS

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/4/2:3
ZXAN(config-if)#switchport tls enable
ZXAN(config-if)#

Related Commands
show vlan port

16.3.4 switchport tls vlan


Syntax
switchport tls vlan {vlan-id | vlan-name} [vport vportid]

Purpose
To configure the TLS characteristics of the interface

16-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

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)#

Example
The following example displays how to configure the TLS characteristics of the interface:
ZXAN(config)#interface epon-onu_1/4/2:3
ZXAN(config-if)#switchport tls vlan 2
ZXAN(config-if)#

Related Commands
show vlan port

16.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)

16-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/22/1
ZXAN(config-if)#switchport vlan 100-110 untag
ZXAN(config-if)#

Related Commands
show vlan port

16.4 Service-Port Commands


16.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)

16-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

Parameter Description Value

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

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/3/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 C300 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

16-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Before VLAN Translation After VLAN Translation

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

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

16.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)#

16-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

Example
The following example shows how to The following example shows how to configure the
TLS service scenario:
ZXAN(config)#interface epon-onu_1/3/1:1
ZXAN(config-if)#service-port 1 tls-vlan 100
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.

16.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/3/1:1:

16-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#interface epon-onu_1/3/1:1
ZXAN(config-if)#service-port 1 description test
ZXAN(config-if)#

Related Commands
show service-port

16.5 Smart QinQ Commands


16.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

l The following example displays how to enable OLT port Q-in-Q.


ZXAN(config)#interface epon-olt_1/7/1
ZXAN(config-if)#vlan-smart-qinq enable

Related Command
show vlan-smart-qinq

16-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

16.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

cvlan begin-cvlan to end-cvlan VLAN value of a single CVLAN Range: 1 – 4093


Start VLAN
End VLAN

ether-typeether-type Ethernet protocol type l PPPoE (0x8863 | 0x8864)


l ARP (0x0806)
l 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/7/1 cvlan 1000 to 1001 svlan
1024

Related Command
show vlan-smart-qinq

16-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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
l begin-cvlan and end-cvlan meet the following requirements:
Step formula: step = endcvlan-beging
step=endcvlan - begincvlan+1 (the step must be 2n)
l 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 If the CVLAN segment does not meet the above requirements, divide the CVLAN
segment into different CVLAN segments, which meet the above requirements.
l The same port only supports one smart Q-in-Q rule based on CVLAN, CoS or Ethernet
type.
l 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.

16.6 Show Commands


16.6.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

16-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

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

16.6.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:

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: 2
name: v2
description: dialing-network
multicast-packet: flood-unknow
port(untagged):
port(tagged):
ZXAN#

16-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

16.6.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

Example
The following example displays the VLAN port information:
ZXAN#show vlan port gei_1/21/1
Mode Pvid CPvid Tpid ProtEn PrioEn TLSEn TLSVlan UntagVlan TagVlan

-----------------------------------------------------------------------------
---
hybrid 1 0 0x8100 disable disable disable 0 1
ZXAN#show vlan port epon-onu_1/3/1:1
Mode Pvid CPvid Tpid ProtEn PrioEn TLSEn TLSVlan UntagVlan TagVlan

-----------------------------------------------------------------------------
---
hybrid 1 0 0x8100 disable disable disable 0 1

Related Commands
None

16-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

16.6.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/4/2:3 vport 100
ZXAN#

Related Commands
None

16.6.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 -

16-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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

16.6.6 show vlan qinq


Syntax
show vlan qinq interface-name [vport vport]

Purpose
To display the port Q-in-Q VLAN 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 Q-in-Q VLAN information:
ZXAN#show vlan qinq epon-olt_1/7/1
ZXAN#

16-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

Related Commands
None

16.6.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:
ZXAN#show vlan translate epon-olt_1/7/1
ZXAN#

Related Commands
None

16.6.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

16-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 svlanid SVLAN ID 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/7/1 10 10 0x0 1 2500 2
epon-olt_1/7/1 20 20 0x0800 0xff 2500 2
epon-olt_1/7/1 0 0 0x0 5 2500 2
epon-olt_1/7/1 0 0 0x0806 0xff 2500 2
epon-olt_1/7/1 30 30 0x0 0xff 2500 2
epon-olt_1/7/1 45 50 0x0 0xff 2500 2

Related Command
vlan-smart-qinq
vlan-smart-qinq ingress-port

16.6.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:

16-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 16 VLAN Commands

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/20/1 svlan 2 cvlan 2
upbyte : 0 Byte
downbyte : 0 Byte
uppacket : 0 Packet
downpacket : 0 Packet
updroppacket : 0 Packet

16-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

16-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 17
SuperVLAN Commands
Table of Contents
arp-broadcast ...........................................................................................................17-1
interface supervlan ...................................................................................................17-2
interface-subvlan-routing ..........................................................................................17-3
ip supervlan pool ......................................................................................................17-3
ip-pool-filter ..............................................................................................................17-4
subvlan ....................................................................................................................17-5
supervlan .................................................................................................................17-6
supervlan inter-subvlan-routing ................................................................................17-6
show supervlan ........................................................................................................17-7
show supervlan ip-pool.............................................................................................17-8

17.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)#

17-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

17.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)#

17-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 17 SuperVLAN Commands

Related Commands
None

17.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

17.4 ip supervlan pool


Syntax
ip supervlan pool begin-address end-address

17-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

17.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

17-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 17 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.

17.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:

17-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#interface supervlan1
ZXAN(config-if)#subvlan 2-100
ZXAN(config-if)#

Related Commands
show supervlan

17.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

17.8 supervlan inter-subvlan-routing


Syntax
supervlan inter-subvlan-routing {enable | disable}

17-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 17 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

17.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

17-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

17.10 show supervlan ip-pool


Syntax
show supervlan ip-pool

Purpose
To display the super VLAN IP pool configuration

Usage Guidelines
None

17-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 17 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 Address-end SubvlanId SupervlanNum
1 192.168.1.1 192.168.1.128 4 0

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

17-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

17-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 18
P2P Commands
Table of Contents
max-mac-learn .........................................................................................................18-1
unknowncast-rate-limit .............................................................................................18-2
vlan-statistic .............................................................................................................18-2
ip-service ip-source-guard .......................................................................................18-3
ip-service ip-source-guard sport ...............................................................................18-3
ip-service ipv6-fixed-user..........................................................................................18-4
ip-service ip-fixed-user .............................................................................................18-5
show ip-service user.................................................................................................18-6
show ip-service ipv6-user .........................................................................................18-6

18.1 max-mac-learn
Syntax
max-mac-learn [limitNum | vport vportid]

Purpose
To configure the limit for MAC address learning on the PTP 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
PTP port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#max-mac-learn 200

18-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

18.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

18.3 vlan-statistic
Syntax
vlan-statistic svlan svlan svlan cvlan cvlan

Purpose
To collect statistics on VLANs based on the PTP ports

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to collect statistics on VLANs based on the PTP ports:

18-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 18 P2P Commands

ZXAN(config-if)#vlan-statistic svlan 200 cvlan 300

18.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 PTP port and
global IP-source-guard simultaneously. Otherwise, the IP-source-guard function is invalid.

18.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 P2P port

18-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable -

disable Disable -

sportid Service port ID 1–8

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the IP-source-guard function on the PTP
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 PTP port and
global IP-source-guard simultaneously. Otherwise, the IP-source-guard function is invalid.

18.6 ip-service ipv6-fixed-user


Syntax
ip-service ipv6-fixed-user ipv6-address ipv6-mask ipv6-mask [mac-address mac-address] vlan
vlanId sport sportId

Purpose
To configure the static IPv6 address on the P2P port

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv6-address IPv6 address -

ipv6-mask IPv6 mask 0-128

18-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 18 P2P Commands

Parameter Description Value

mac-address MAC address -

vlanId VLAN ID 1 – 4094

sportId Service port ID 1–8

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the static IPv6 address on the PTP port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ip-service ipv6-fixed-user ::1 ipv6-mask 128 mac-address 0000.
0000.0001 vlan 100 sport 1

Related Commands
show ip-service ipv6-user

18.7 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 P2P 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 1–8

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the static IPv4 address on the PTP port:

18-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

18.8 show ip-service user


Syntax
show ip-service user {interface interface | ip-address ip-address}

Purpose
To display the IPv4 user information on an interface

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the IPv4 user on the interface:
ZXAN#show ip-service user interface gei_1/3/1
Port Sport IP-addr MAC-addr Vlan Source
gei_1/3/1 1 1.1.1.2 0000.0000.0000 100 fixed-user

18.9 show ip-service ipv6-user


Syntax
show ip-service ipv6-user {interface interface | ipv6-address ipv6-address}

Purpose
To display the IPv6 user information on an interface

Usage Guidelines
None

Mode
Any mode except ZXAN>

18-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 18 P2P Commands

Example
The following example displays the IPv6 user on the interface:
ZXAN#show ip-service ipv6-user interface gei_1/2/1
Port Sport IPv6-addr Mask MAC-addr Vlan Source
gei_1/2/1 1 ::1 0000.0001.0002 10 fixed-user

18-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

18-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19
PON Comands
Table of Contents
auto-replace-offline-onu............................................................................................19-1
copy .........................................................................................................................19-2
onu-profile ................................................................................................................19-3
rogue-onu-detect......................................................................................................19-4
show pon rogue-onu-inf............................................................................................19-4
show pon onu onu-profile .........................................................................................19-5
show pon onu-profile ................................................................................................19-5
ONU Type Profile Management ................................................................................19-6
OLT Performance Management..............................................................................19-10
Optical Module Management..................................................................................19-24
ONU In-Band NM Configuration .............................................................................19-31
PON Protection Commands ...................................................................................19-35

19.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 -

Mode
ZXAN(config-pon)#

19-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

19.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 l epon: EPON port


l gpon: GPON port

olt|onu OLT or ONU interface l olt: OLT interface


l onu: ONU interface

srcPort Source port l gpon-olt_shelf/slot/olt


l epon-olt_shelf/slot/olt
l gpon-onu_shelf/slot/olt:onu
l epon-onu_shelf/slot/olt:onu

dstPort Destination port l gpon-olt_shelf/slot/olt


l epon-olt_shelf/slot/olt
l gpon-onu_shelf/slot/olt:onu
l epon-onu_shelf/slot/olt:onu

Mode
ZXAN(config-pon)#

Example
The following example displays how to copy data between two GPON-OLT interfaces:

ZXAN(config-pon)#copy gpon olt gpon-olt_1/5/1 gpon-olt_1/5/5


.[Successful]

19-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

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.

19.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

Related Information
At present, the system only supports the line and remote profiles.

19-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

19.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 l Enable


detect function l 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

19.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:

Parameter Description Value

shelf/slot/port OLT interface -

19-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Mode
ZXAN(config)#

Example
The following example displays the rogue ONU detection information:
ZXAN(config)#show pon rogue-onu-info gpon-olt_1/7/1

19.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/15/1:1
profile profile type link result last handle
--------------------------------------------------------------------
int_line line 0 0
int_rmt remote 0 0

19.7 show pon onu-profile


Syntax
show pon onu-profile {epon | gpon} {alarm | line | performance | remote} line

Purpose
To show the profile list

19-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

19.8 ONU Type Profile Management


19.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

description description ONU description Range: 1 – 64 characters

max-switch-perslot num Maximum bridge number per Range: 1 – 255, default: 255
slot

19-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Parameter Description Value

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 l support


used to serve multiple UNI ports l not-support
from a single ANI service. Default: support

1:M { support | not-support} 1:M mapping, where a mapper l support


is used to serve a single UNI l not-support
with multiple ANI connections, Default: support
based on 802.1p priorities.

1:P {support |not-support } 1:P filtering, where a bridge l support


with filters is used to serve a l 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 } PON protection type l none


l typec
l typed

speed { 1g | 10g-symmetric | Speed mode l 10g-asymmetric


10g-asymmetric } l 10g-symmetric
l 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

Related Commands
show onu-type

Related Information
The default ONU types on the ZXA10 C300 cannot be modified or deleted.

19-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

19.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

Related Information
You cannot add or delete interfaces of default ONU types.

19-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

19.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 : 0
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
... ...

Related Commands
onu-type

19-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

19.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

19.9 OLT Performance Management


19.9.1 performance cesmsb2
Syntax
performance cesmsb2 slot slot-id port port-id {create | delete | start | stop | create-start }

19-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Purpose
To configure the action for CES MSB2 performance statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

port port-id Port number Range: 1

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 CES
MSB2:
ZXAN(config)#pon
ZXAN(config-pon)#performance cesmsb2 slot 3 port 1 create-start

Related Commands
show performance cesmsb2

19.9.2 performance cesprotocol


Syntax
performance cesprotocol slot slot-id ge port-id {create | delete | start | stop | create-start }

Purpose
To configure the action for CES protocol performance statistics

19-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value Range

slot slot-id CES card slot number Range: 1 – 19

ge port-id Port number Range: 1 – 2

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 start the performance statistics for CES protocol:

ZXAN(config)#pon
ZXAN(config-pon)#performance cesprotocol slot 3 ge 1 create-start

Related Commands
show performance cesprotocol

19.9.3 performance cesrfc1213


Syntax
performance cesrfc1213 slot slot-id ge port-id {create | delete | start | stop | create-start}

Purpose
To configure the action for CES RFC1213 protocol performance statistics

Usage Guidelines
The following table provides parameter description:

19-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

ge port-id Port number Range: 1 – 2

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 CES
RFC1213 protocol:
ZXAN(config)#pon
ZXAN(config-pon)#performance cesrfc1213 slot 3 ge 1 create-start

Related Commands
show performance cesrfc1213

19.9.4 performance cesrfc1757


Syntax
performance cesrfc1757 slot slot-id ge port-id {create | delete | start | stop | create-start }

Purpose
To configure the action for CES RFC1757 protocol performance statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

19-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

ge port-id Port number Range: 1 – 2

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 CES
RFC1757 protocol:
ZXAN(config)#pon
ZXAN(config-pon)#performance cesrfc1757 slot 3 ge 1 create-start

Related Commands
show performance cesrfc1757

19.9.5 performance ceswanport


Syntax
performance ceswanport slot slot-id pwid pwid {create | delete | start | stop | create-start }

Purpose
To configure the action for CES WAN interface performance statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

pwid pwid PW ID Range: 1 – 63

19-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Parameter Description Value

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 CES
WAN interface:
ZXAN(config)#pon
ZXAN(config-pon)#performance ceswanport slot 3 pw 1 create-start

Related Commands
show performance ceswanport

19.9.6 performance cesrsb1


Syntax
performance cesrsb1 slot slot-id port port-id {create | delete | start | stop | create-start }

Purpose
To configure the action for CES RSB1 performance statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

port port-id Port number Range: 1

19-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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 CES
RSB1:
ZXAN(config)#pon
ZXAN(config-pon)#performance cesrsb1 slot 3 port 1 create-start

Related Commands
show performance cesrsb1

19.9.7 performance cesvc12v5


Syntax
performance cesvc12v5 interface-name {create | delete | start | stop | create-start }

Purpose
To configure the action for CES VC12V5 performance statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

interface-name Interface name Format: tdm_shelf/slot/port

19-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Parameter Description Value

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 CES
VC12V5:
ZXAN(config)#pon
ZXAN(config-pon)#performance cesvc12v5 tdm_1/3/1 create-start

Related Commands
show performance cesvc12v5

19.9.8 performance cesvc12v5rei


Syntax
performance cesvc12v5rei interface-name {create | delete | start | stop | create-start }

Purpose
To configure the action for CES VC12V5REI performance statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

interface-name Interface name Format: tdm_shelf/slot/port

19-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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 CES
VC12V5REI:
ZXAN(config)#pon
ZXAN(config-pon)#performance cesvc12v5rei tdm_1/3/1 create-start

Related Commands
show performance cesvc12v5rei

19.9.9 performance cesvc4b3


Syntax
performance cesvc4b3 slot slot-id port port-id {create | delete | start | stop | create-start }

Purpose
To configure the action for CES SDH VC4B3 performance statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slot-id CES card slot number Range: 1 – 19

port port-id Port number Range: 1

19-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Parameter Description Value

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 CES
SDH VC4B3:
ZXAN(config)#pon
ZXAN(config-pon)#performance cesvc4b3 slot 3 port 1 create-start

Related Commands
show performance cesvc4b3

19.9.10 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

19-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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

19.9.11 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

create To create the performance -


statistics

19-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Parameter Description Value

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

19.9.12 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 -

19-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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/14/1 current
PON-ETH-OLT gpon-olt_1/14/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;
Received 512-1023B :0;
Received 1024-1518B :0;
Sent 64B :0;
Sent 65-127B :0;
Sent 128-255B :0;
Sent 256-511B :0;

19-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Sent 512-1023B :0;


Sent 1024-1518B :0;

Related Commands
performance gponolt

19.9.13 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:

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/14/1:1 current
PON-ETH-ONU gpon-onu_1/14/1:1 current performance data:
------------------------------------------------
DropEvents :0;
Received Octets :0;
Sent Octets :0;
Received Packets :0;
Sent Packets :0;

19-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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;
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

19.10 Optical Module Management


19.10.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

19-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

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/3/1:
ZXAN(config-pon)#show pon transceiver info gpon-olt_1/3/1
Temperature :20.01(C)
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.

19.10.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 -

19-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/1
Tx power: 2.106(dbm)

Related Commands
None

Related Information
When there is no optical module, N/A is displayed.

19.10.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/6/1:1
Rx power: -22.687(dbm)

Related Commands
None

19-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Related Information
When there is no optical module, N/A is displayed.

19.10.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:

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/6/1:1
Tx power: 1.254(dbm)

Related Commands
None

Related Information
When there is no optical module, N/A is displayed.

19.10.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

19-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/6/1:1


Rx power: -22.756(dbm)

Related Commands
None

Related Information
When there is no optical module, N/A is displayed.

19.10.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>

19-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Example
The following example displays the optical power attenuation between the OLT and ONU:
ZXAN(config)#show pon power attenuation gpon-onu_1/6/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

Related Information
When there is no optical module, N/A is displayed.

19.10.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/13/1:1
Rx power threshold(dbm) :
Upper alarm: -3.000 Lower alarm : -34.000
Upper warning:-3.000 Lower warning :-34.000

19-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Detect period: 900

Related Commands
transceiver-threshold

19.10.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

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/3/1:1 high-alarm -3


high-warning -5 low-alarm -25 low-warning -20

Related Commands
show pon transceiver-threshold

19-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

19.10.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:

Parameter Description Value

gpon-onu_shelf/slot/olt:onu|epon- PON ONU interface -


onu_shelf/slot/olt:onu

detect period Detect period 60 – 4294967295, unit s


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

19.11 ONU In-Band NM Configuration


19.11.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

19-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

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.

19.11.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.

19-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

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)#

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/4/1 test
ZXAN(config-pon)#ip-pool-bind gpon-olt_1/4/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

19.11.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

19-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
Nexthop:10.1.1.1

Related Commands
ip-pool

19.11.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/4/1
OLT: gpon-olt_1/4/1
IP pool name: test
ZXAN(config-pon)#show pon ip-pool-bind test
gpon-olt_1/4/1

19-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

gpon-olt_1/4/2

Related Commands
ip-pool-bind

19.12 PON Protection Commands


19.12.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 l typeA: Type A switching


architecture
l typeB: Type B switching
architecture
l typeC: Type C switching
architecture
l 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 -

19-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config-pon)#

Example
The following example displays how to create protection group:
ZXAN(config-pon)#protection group ZTE workpon epon-olt_1/7/1 protectpon epon-olt_
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.

19.12.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 l revertive


l 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)#

19-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Example
The following example displays how to configure protection group attributes:
ZXAN(config-pon)#protection prop group ZTE mode non-revertive wtr 120

Related Command
None

19.12.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 l force


l 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

19-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Command
None

Related Information
Switch modes priorities are as follows from high to low:
lockoutprotect → force → manual → w2p → p2w

19.12.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

19.12.5 show protection group information


Syntax
show protection group information [groupName ]

Purpose
To show protection group information

19-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 19 PON Comands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

groupName Group name Range: 1 – 32 characters

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/7/1
Protect channel interface: epon-olt_1/7/3
Protection type : typeC
Protection mode: non-revertive
Time to restore(s): 0

onu 1:
Active channel: protect-channel
Alarm request:
Work channel: ONUSF
Protect channel: ONUSF
Externel request: no-request

Related Command
None

19-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

19-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20
EPON Commands
Table of Contents
EPON Global Configuration......................................................................................20-1
EPON OLT Interface Configuration.........................................................................20-18
EPON ONU Interface Configuration .......................................................................20-39
EPON ONU Remote Management .........................................................................20-61

20.1 EPON Global Configuration


20.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

20-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.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

20.1.3 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:

20-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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 -

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

20.1.4 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 -

20-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

Related Commands
None

Related Information
The authentication mode is useful for those devices that do not support SN querying.

20.1.5 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

20-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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

Related Commands
show onu-sla-profile

20.1.6 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

20-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

20.1.7 onu-type-profile
Syntax
onu-type-profile name name

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

20-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.1.8 ems-report
Syntax
ems-report shelf/slot { configfailonu | misspeedonu | unauthonu } {disable | enable}

Purpose
To configure EMS report information

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

20.1.9 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

20-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

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

20.1.10 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

20-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Parameter Description Value

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)#

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

20.1.11 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)#

20-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure dynamic bandwidth allocation:
ZXAN(config)#epon
ZXAN(config-epon)#dba 0/4 plato

Related Command
None

20.1.12 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 Key update period Range: 3 – 255


Unit: second Default: 10 sec

churning-timer integer 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

20-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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

20.1.13 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

20-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.1.14 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:

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

20.1.15 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}

20-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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

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

20.1.16 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 -

20-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 0

Related Commands
alarm mask

20.1.17 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

20-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Command
None

20.1.18 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 FixPktSize MaxBurstSize Priority
(Kbps) (Kbps) (Kbps) (Bytes) (Bytes)
-------------------------------------------------------------------------------
10000 512 0 1500 45000 7
Downstream MaxBw(Kbps) MaxBurstSize(Bytes)
----------------------------------------------------------------------------
100000 16777215

Onu reference:

Related Commands
onu-sla-profile

20-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.1.19 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

20.1.20 show epon onu-type-profile


Syntax
show epon onu-type-profile [ profilename ]

Purpose
To display EPON ONU type profile

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

profilename Profile name -

Mode
Any mode except ZXAN>

20-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays EPON ONU type profile:
ZXAN(config-epon)#show epon onu-type-profile

Related Commands
onu-type-profile

20.1.21 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
......................................
1/4 plato

Related Command
None

20-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.2 EPON OLT Interface Configuration


20.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/7/1
ZXAN(config-if)#

Related Command
None

20.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

20-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/7/1
ZXAN(config-if)#alarm err-frame enable

Related Command
None

20.2.3 property
Syntax
property name name

Purpose
To configure EPON OLT interface name

Usage Guidelines
The following table provides parameter description:

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:

20-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#interface epon-olt_1/7/1
ZXAN(config-if)#property name epon-olt_1/7/1

Related Command
None

20.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/3/1
ZXAN(config-if)#fec downstream enable

Related Commands
None

20.2.5 high-priority-frame
Syntax
high-priority-frame [ queue-list value]

Purpose
To configure high – priority frames

20-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/7/1
ZXAN(config-if)# high-priority-frame queue-list 4-7

Related Command
None

20.2.6 linktrap
Syntax
linktrap { inform | disable}

Purpose
To configure EPON interface link trap

Usage Guidelines
The following table provides parameter description:

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)#

20-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure EPON interface link trap:
ZXAN(config)#interface epon-olt_1/7/1
ZXAN(config-if)# linktrap inform

Related Command
None

20.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/7/1
ZXAN(config-if)#loopback phy system

Related Command
None

20.2.8 loopback-detection
Syntax
loopback-detection {disable | enable}

20-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/7/1
ZXAN(config-if)# loopback-detection enable

Related Command
None

20.2.9 maxrtt
Syntax
maxrtt [ value ]

Purpose
To configure the maximum RTT value

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)#

20-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure the maximum RTT value:
ZXAN(config)#interface epon-olt_1/7/1
ZXAN(config-if)#maxrtt 12500

Related Command
None

Related Information
The default RTT value is 13524TQ.

20.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

type type-name ONU type name l ZTE-D400


l ZTE-D402
l ZTE-D420
l ZTE-D421
l ZTE-D422
l ZTE-F401
l ZTE-F425
l ZTE-F429
l ZTE-F430
l ZTE-F435
l ZTE-F500
l ZTE-F621
l ZTE-F622

20-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Parameter Description Parameter

l ZTE-F625
l ZTE-F640
l ZTE-F641
l ZTE-F820
l 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/7/1
ZXAN(config-if)#onu 1 type ZTE-F425 mac 000c.0000.0001

Related Command
None

Related Information
Input ONU MAC address when the authentication mode is MAC. Input ONU SN when the
authentication mode is SN.

20.2.11 optical-module-alarm-profile
Syntax
optical-module-alarm-profile prfName
no optical-module-alarm-profile

20-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.12 performance start


Syntax
performance start

Purpose
To start EPON OLT performance statistic function

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/7/1
ZXAN(config-if)#performance start

20-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Command
None

20.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)#

Example
The following example displays how to configure the mapping relationship between the
frame priority and queue:
ZXAN(config)#interface epon-olt_1/7/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

20-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.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/7/1
ZXAN(config-if)# p2p group 2

Related Command
None

20.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:

20-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/7/1
ZXAN(config-if)# p2p group-name 2 test

Related Command
None

20.2.16 p2p mode


Syntax
p2p mode { full | group}

Purpose
To configure point-to-point mode

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to configure point-to-point mode:

ZXAN(config)#interface epon-olt_1/7/1
ZXAN(config-if)# p2p mode full

Related Command
None

20-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.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/7/1
ZXAN(config-if)#reset

Related Command
None

20.2.18 reset counter


Syntax
reset counter

Purpose
To reset an EPON OLT interface counter

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to reset an EPON OLT interface counter:

20-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

ZXAN(config)#interface epon-olt_1/7/1
ZXAN(config-if)#reset counter

Related Command
None

20.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/7/1
ZXAN(config-if)#range
Portlist of the range: epon-olt_1/7/1

Related Command
None

20.2.20 rx-hec
Syntax
rx-hec [ 802.3ah-draft | 802.3ah-standard | both | no]

Purpose
To configure EPON OLT interface receiving HEC mode

20-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/7/1
ZXAN(config-if)#rx-hec no

Related Command
None

20.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 -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure OLT interface Q-in-Q:
ZXAN(config)#interface epon-olt_1/7/1
ZXAN(config-if)# vlan-smart-qinq enable

20-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Command
None

20.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/7/1
ZXAN(config-if)#shutdown

Related Command
None

20.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:

20-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/7/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

20.2.24 show olt alarm-info


Syntax
show olt alarm-info epon-olt_shelf/slot/olt

Purpose
To show EPON OLT interface alarm 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

20-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to show EPON OLT interface alarm information:
ZXAN(config-if)# show olt alarm-info epon-olt_1/7/1

Related Command
None

20.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:
ZXAN(config)#show olt config epon-olt_1/7/1
Olt Name: The default PON name;
Encry Algorithm: triple-churning ,
EncKeyUpdatePeriod: 20(s);
EncKeyUpdateTimeout: 3(s);
EncStartThreshold: 3(s);
LoopbackLocation: OLT , LoopbackDirection: system;
LoopbackExecEntity: phy , LoopbackStatus: NO-LOOPBACK;
High priority queue: 4 5 6 7 ;
Low priority queue: 0 1 2 3 ;
MaxRtt : 13524(tq);

20-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Rx-Hex mode : no;


IP pool name :
Support single Llid.
Pon speed : speed is 1G.

Related Command
None

20.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/7/1
OltInterface Available bandwidth
---------------------------------------------------------
epon-olt_1/7/1 967744

Related Command
None

20-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.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/7/1
Priority Cycle time(us)
----------------------------------------
1 750
2 750
3 750
4 750
5 750
6 750
7 750
8 750

Related Command
None

20-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.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/7/1

Olt InterFacename:epon-olt_1/7/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/7/1
OltPonAverageBER:0.000000e+00
OltSysAverageBER:0.000000e+00

Related Command
None

20-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.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/13/1
Item Status
...................................................

1GSymmetry enable
10GDownstream-1GUpstream enable
10Symmetry enable

Related Commands
None

20.3 EPON ONU Interface Configuration


20.3.1 interface epon-onu
Syntax
interface epon-onu_shelf/slot/oltId:onuId

Purpose
To enter into EPON ONU interface configuration mode

20-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(config-if)#

Related Command
None

20.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:
ZXAN(config)#interface epon-onu_1/4/2:3
ZXAN(config-if)# activate

20-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Command
None

20.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/4/2:3
ZXAN(config-if)#ems-autocfg-request enable

Related Command
None

20.3.4 sn
Syntax
sn sn

Purpose
To modify ONU serial number

20-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(config-if)#sn 0x91000048

Related Command
None

20.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/4/2:3
ZXAN(config-if)#deactivate

Related Command
None

20-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.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/4/2:3
ZXAN(config-if)#property description onu1 spliter 1 userinfo ctc

Related Command
None

20.3.7 sla
Syntax
sla { upstream | downstream } maximum maxSLA maxburst maxburst[vportportid]

Purpose
To configure EPON ONU bandwidth

20-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(config-if)#sla upstream maximum 100000 maxburst 180000

Related Command
None

20.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 1–32 characters

Mode
ZXAN(config-if)#

20-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to configure EPON ONU sla profile:
ZXAN(config)#interface epon-onu_1/4/2:3
ZXAN(config-if)#sla-profile default

Related Command
None

20.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/4/2:3
ZXAN(config-if)# mac-bind enable mac 0000.0000.0001

Related Command
None

20-45

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.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/4/2:3
ZXAN(config-if)#deregister

Related Command
None

20.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)#

20-46

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to configure EPON ONU upstream FEC function:
ZXAN(config)#interface epon-onu_1/4/2:3
ZXAN(config-if)#fec upstream enable

Related Command
None

20.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/4/2:3
ZXAN(config-if)#encrypt direction downstream enable

Related Command
None

Related Information
Presently, the system only supports encryption on downstream packets.

20-47

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.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/4/2:3
ZXAN(config-if)# ip access-group 300 in

Related Command
None

20.3.14 diagnose
Syntax
diagnose{link-test | loopback}

Purpose
To configure EPON ONU link test and loopback test

Usage Guidelines
None

Mode
ZXAN(config-if)#

20-48

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to configure EPON ONU link test and loopback test:
ZXAN(config)#interface epon-onu_1/4/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.

20.3.15 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/4/2:3
ZXAN(config-if)#mac 0000.0000.0001

Related Command
None

20-49

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.3.16 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

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/4/2:3
ZXAN(config-if)#max-mac-learn 1

Related Command
None

20.3.17 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:

20-50

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/4/2:3
ZXAN(config-if)# priority-trans downstream priority 7 default-vlan 100

Related Command
None

20.3.18 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/4/2:3
ZXAN(config-if)#performance start

Related Command
None

20-51

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.3.19 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

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

20.3.20 range
Syntax
range

Purpose
To show ONU interface port list range

Usage Guidelines
None

20-52

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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

Related Command
None

20.3.21 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/4/2
Onu Interface Regstatus Status
.......................................................
epon-onu_1/4/2:3 authenticated Offline
epon-onu_1/4/2:11 authenticated Offline

20-53

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Command
None

20.3.22 show onu authentication


Syntax
show onu {authentication | unauthentication} {epon-olt_shelf/slot/olt | epon-onu_shelf/slot/olt:o
nu}

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/4/2
Onu interface : epon-onu_1/4/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

20-54

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Command
None

20.3.23 show onu detail-info


Syntax
show onu detail-info epon-onu_shelf/slot/oltId:onuId

Purpose
To show ONU detailed 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 ONU detailed information:
ZXAN(config)#show onu detail-info epon-onu_1/4/2:3
Onu interface: epon-onu_1/4/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: 1
FiberNo: 1
UserInfo:
FecMode: unknow
FecAbility: unknow
LoopbackStatus: noLoopback
OamLoopbacIgnoreRx: ignore

20-55

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

MAC bind mode: disable


Onu Bind Mac: 0000.0000.0000
Automatic config: disable

Related Command
None

20.3.24 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

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 ONU bandwidth information:
ZXAN(config-if)#show onu sla downstream epon-olt_1/7/1
ID MaxBw(Kbps) MaxBurstSize(Bytes) ProfileName
------------------------------------------------------------------
1 10000 205000 N/A

Related Command
None

20-56

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.3.25 show onu mpcpinfo


Syntax
show onu mpcpinfo epon-onu_shelf/slot/olt:onu

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/4/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

20.3.26 show onu oam


Syntax
show onu oam epon-onu_shelf/slot/olt:onu

20-57

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To show EPON ONU interface OAM 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 OAM information:
ZXAN#show onu oam epon-onu_1/4/2:3
Onu interface: epon-onu_1/4/2:3
OamAdminState: enable
OamOperStatus: operational
OamMode: active
MaxOamPduSize: 1518
OamconfigRevision: 0
OamFunctionSupported:
PeerMacAddress: 0015.eb71.2d54;
PeerVendorInfo: 1661009920;
PeerMode: passive;
PeerMaxOamPduSize: 1518;
PeerConfigRevision: 1;
PeerFunctionSupported:

Related Command
None

20.3.27 show onu config-info


Syntax
show onu config-info epon-onu_shelf/slot/olt:onu

20-58

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Purpose
To show EPON ONU configuration 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 configuration information:
ZXAN#show onu config-info epon-onu_1/4/2:3
status: not configured.

Related Command
None

20.3.28 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

20-59

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 ONU packets priority transfer information:
ZXAN(config)# show onu priority-trans downstream epon-olt_1/4/2
Onu interface Priority Default vlan State
-----------------------------------------------------------------
epon-onu_1/4/2:3 0 1 disable
epon-onu_1/4/2:11 0 1 disable

Related Command
None

20.3.29 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

20-60

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to show EPON ONU running configuration
information:
ZXAN#show onu running config epon-onu_1/4/2:3
olleh
!
pon-onu-mng epon-onu_1/4/2:3
no Forbid-auto-dispatch
interface eth eth_0/1 policing downstream enable cir 2000 cbs
2000 ebs 2000
!

Related Command
None

20.4 EPON ONU Remote Management


20.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:

20-61

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#pon-onu-mng epon-onu_1/4/2:3
ZXAN(epon-onu-mng)#

Related Command
None

20.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/12/1:1
ZXAN(epon-onu-mng)#active pon-if main

Related Commands
None

20.4.3 alarm
Syntax
alarm {enable | disable}

Purpose
To configure EPON ONU alarm report function

20-62

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Parameter

disable Disable alarm report function -

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/4/2:3
ZXAN(epon-onu-mng)#alarm enable

Related Command
None

20.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 -

20-63

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

assert-val assert-val Alarm report threshold BatteryVoltLow:0.0 – 6.55


ONUTempHighAlarm:-128 –
127
ONUTempLowAlarm:-128 – 127

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/7/1:1
ZXAN(epon-onu-mng)#alarm-threshold onu BatteryVoltLow assert-val 5 restore-val 1

Related Commands
None

20.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 -

20-64

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure auto-configuration function:
ZXAN(config)#pon-onu-mng epon-onu_1/4/2:3
ZXAN(epon-onu-mng)#auto-config

Related Command
None

20.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 Destination mac Format: XXXX.XXXX.XXXX


address/Source mac address

dscp IP TOS/DSCP Range: 0 – 63

dstIP| srcIP Destination IP address/Source A.B.C.D IPv4 address


IP address

eth-type match-value1 Ethernet type Hexadecimal number, such as


0x8808

ip-protocol-type match-value2 IP protocol type Hexadecimal number, such as


0x02

20-65

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Parameter

l4SrcPort | l4DstPort portno L4 communication port number Range: 1 – 65535

priority priority Priority Range: 0 – 7

vlanId vlanId VLAN ID Range: 1 – 4094

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/4/2:3
ZXAN(epon-onu-mng)#classification condition-profile zte vlanId 100
operation-type always-match

Related Command
None

20.4.7 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

priority value2 Queue priority after mapping Range: 0 – 7

Mode
ZXAN(epon-onu-mng)#

20-66

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to create EPON ONU mapping rule profile:
ZXAN(config)#pon-onu-mng epon-onu_1/4/2:3
ZXAN(epon-onu-mng)# classification rule-profile zte queue 1 priority 5

Related Command
None

20.4.8 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)#

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/4/2:3
ZXAN(epon-onu-mng)#classification port eth_0/1 rule-precedence 8
add zte zte

20-67

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Command
None

Related Information
l Configure classification condition profile and mapping rule profile before using this
command.
l To configure Ethernet port rule, only the configured classification condition profile and
rule profile can be used.
l For each Ethernet port rule, only four classification condition profiles can be used.

20.4.9 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/7/1:1
ZXAN(epon-onu-mng)#compatibility enable mode ZTE

Related Commands
None

20-68

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.4.10 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

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure ONU port PVID:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#config-pvid port 1 pvid 2

Related Commands
None

20.4.11 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

20-69

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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/7/1:1
ZXAN(epon-onu-mng)#config-vlan 10 port 1,2,3,4 tag

Related Commands
None

20.4.12 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/4/2:3
ZXAN(epon-onu-mng)#isolation enable

20-70

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Command
None

20.4.13 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:

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/4/2:3
ZXAN(epon-onu-mng)#dba queue-set 2 queue1 65535 queue2 65535 queue3 65535
queue4 65535 queue5 65535 queue6 65535 queue7 65535 queue8 65535

Related Command
None

20.4.14 dba queue-set active


Syntax
dba queue-set active queueSetList

20-71

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
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.

20.4.15 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)#

20-72

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to the holdover function in ONU optical link protection:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#holdover enable time 100

Related Commands
None

20.4.16 interface eth


Syntax
interface eth eth_slot/portId {phy-state | flow-control} [enable | disable]
interface eth eth_slot/portId auto-neg {enable | disable | restart }
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

cbs value2 Committed burst size value Range: 0 – 16777215


Unit: byte

20-73

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Parameter

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)#

Example
The following example displays how to configure EPON ONU Ethernet port attributes:

ZXAN(config)#pon-onu-mng epon-onu_1/4/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.

20.4.17 interface el
Syntax
interface el e1_slot/portId {enable | disable}

Purpose
To configure EPON ONU E1 port attributes

20-74

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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)#

Example
The following example displays how to configure EPON ONU E1 port attributes:
ZXAN(config)#pon-onu-mng epon-onu_1/4/2:3
ZXAN(epon-onu-mng)#interface e1 e1_0/1 enable

Related Command
None

20.4.18 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 -

20-75

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(epon-onu-mng)#interface voip voip_0/1 enable

Related Command
None

20.4.19 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/7/1:1
ZXAN(epon-onu-mng)#interface-loopdetect eth_0/1 activate

Related Commands
None

20-76

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.4.20 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:

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/7/1:1
ZXAN(epon-onu-mng)#llid-queue queue1 0 3

Related Commands
None

20.4.21 multicast fastleave


Syntax
multicast fastleave {enable | disable}

Purpose
To configure EPON ONU fast – leave function

Usage Guidelines
The following table provides parameter description:

20-77

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(epon-onu-mng)#multicast fastleave enable

Related Command
None

20.4.22 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 -

20-78

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Parameter Description Parameter

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/4/2:3
ZXAN(epon-onu-mng)#mac add eth_0/1 bind 0000.0800.0111 2

Related Command
None

Related Information
l Do not configure other parameters when the operation is to clear Ethernet port MAC
address. All MAC address configurations are to be cleared.
l Configure mac-address when the operation is to add or delete Ethernet port MAC
address.

20.4.23 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

20-79

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(epon-onu-mng)#mac aging-time 300

Related Command
None

20.4.24 mac limit-num


Syntax
mac limit-num eth_slot/port [max-number | no-limit]

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/4/2:3
ZXAN(epon-onu-mng)#mac limit-num eth_0/1 32

20-80

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Command
None

20.4.25 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

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

auto-assign IP address is automatic -


assigned

dhcp IP address is allocated by enable, disable


DHCP

release Release the management IP -


address

Mode
ZXAN(epon-onu-mng)#

20-81

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure the management IP address for the
EPON ONU :
ZXAN(config)#pon-onu-mng epon-onu_1/4/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 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.
l 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.
l VLAN cannot be the VLAN, which ONU uses.

20.4.26 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

20-82

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure multicast control type:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#multicast control-type gda-ip-and-vlan

Related Commands
None

20.4.27 multicast fastleave


Syntax
multicast fastleave { enable | disable }

Purpose
To enable or disable multicast fast-leave function on the ONU

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/7/1:1
ZXAN(epon-onu-mng)#multicast fastleave enable

Related Commands
None

20-83

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.4.28 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)#

Example
The following example displays how to configure EPON ONU Ethernet port multicast
VLAN:
ZXAN(config)#pon-onu-mng epon-onu_1/4/2:3
ZXAN(epon-onu-mng)#multicast vlan port eth_0/1 add vlanlist 1,3,5-8

Related Command
None

Related Information
l Use this command only in IGMP snooping mode.
l Do not configure vlanlist vlanlist when the operation is to clear Ethernet port multicast
VLAN. All multicast VLAN configurations are to be cleared.
l Configure vlanlist vlanlist when the operation is to add or delete Ethernet port multicast
VLAN.

20-84

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.4.29 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

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/4/2:3
ZXAN(epon-onu-mng)#multicast vlan tag-strip port eth_0/1 enable

Related Command
None

20.4.30 multicast switch


Syntax
multicast switch {igmpsnooping | control-multicast }

20-85

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(epon-onu-mng)#multicast switch igmpsnooping

Related Command
None

20.4.31 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)#

20-86

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to configure EPON ONU Ethernet port maximum
multicast group number:
ZXAN(config)#pon-onu-mng epon-onu_1/4/2:3
ZXAN(epon-onu-mng)#multicast group-max-number eth_0/1 32

Related Command
None

20.4.32 reboot
Syntax
reboot

Purpose
To reboot an EPON ONU

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/4/2:3
ZXAN(epon-onu-mng)#reboot

Related Command
None

20.4.33 register
Syntax
register { sip-port | voip-module } slot slot

20-87

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/7/1:1
ZXAN(epon-onu-mng)#register sip-port slot 1

Related Commands
None

20.4.34 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)#

20-88

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Example
The following example displays how to configure the country code of ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#region 0

Related Commands
None

20.4.35 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:

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/7/1:1
ZXAN(epon-onu-mng)#reset uni-statistic eth_0/1-25

Related Commands
None

20.4.36 reset voip-module


Syntax
reset voip-module slot slot

20-89

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/7/1:1
ZXAN(epon-onu-mng)#reset voip-module slot 1

Related Commands
None

20.4.37 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/7/1:1

20-90

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

ZXAN(epon-onu-mng)#reset-card slot 1

Related Commands
None

20.4.38 restore factory-settings


Syntax
restore factory-settings

Purpose
To restore default settings

Usage Guidelines
None

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to restore default settings:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#restore factory-settings

Related Commands
None

20.4.39 restore voip-module


Syntax
restore voip-module slot slot

Purpose
To restore VoIP module

Usage Guidelines
The following table provides parameter description:

20-91

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/7/1:1
ZXAN(epon-onu-mng)#restore voip-module slot 1

Related Commands
None

20.4.40 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 -

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/7/1:1
ZXAN(epon-onu-mng)#security-mng telnet enable

Related Commands
None

20-92

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.4.41 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

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 – 31个characters

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/7/1:1
ZXAN(epon-onu-mng)#ssid-ctrl enable wifi_0/1 ssid 1

Related Commands
None

20-93

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.4.42 svlan-base
Syntax
svlan-base bid

Purpose
To configure base VLAN for SVLAN on MDU。

Usage Guidelines
The following table provides parameter description:

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/7/1:1
ZXAN(epon-onu-mng)#svlan-base 1

Related Commands
None

20.4.43 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 -

20-94

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Parameter Description Parameter

disable Disable test function -

alarm Configure ONU optical module -


performance threshold test
alarm

thresholds Alarm threshold -

alarmtype Alarm type BiasHighAlarm, BiasHigh-


Warning, BiasLowAlarm,
BiasLowWarning, RxPower-
HighAlarm, RxPowerHigh-
Warning, RxPowerLowAlarm,
RxPowerLowWarning, Tem-
pHighAlarm, TempHigh-
Warning, TempLowAlarm,
TempLowwarning, TxPow-
erHighAlarm, TxPowerHigh-
Warning, TxPowerLowAlarm,
TxPowerLowWarning, Volt-
ageHighAlarm, VoltageHigh-
Warning, VoltageLowAlarm,
VoltageLowWarning

word Alarm type 1 – 31 characters

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/4/2:3
ZXAN(epon-onu-mng)# transceiver enable

Related Command
None

20.4.44 vlan
Syntax
vlan port eth_slot/port mode {transparent | tag vlan vlanid priority priority | translation def-
vlan vlanid def-prio priority vlan-list vlan-list}

20-95

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

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/4/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

20.4.45 vlan-translate
Syntax
vlan-translate port cvlan cvlan new-cvlan new-cvlan [ broadcast ]

20-96

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/7/1:1
ZXAN(epon-onu-mng)#vlan-translate eth_0/1 cvlan 1 new-cvlan 100 broadcast

Related Commands
None

20.4.46 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

20-97

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
ZXAN(epon-onu-mng)# voip-mng-ip associate share mode dhcp untag

Related Command
None

20.4.47 voip call-test


Syntax
voip call-test action { start | stop } { callee | caller dialnumber dialnumber } [ timeout time ]
interface interface

Purpose
To configure VoIP call test

20-98

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/7/1:1
ZXAN(epon-onu-mng)# voip call-test action start callee interface pots_0/1

Related Commands
None

20.4.48 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 -

20-99

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how configure VoIP CID mode:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)# voip cid-presenting enable cid-type fsk interface pots_4/1

Related Commands
None

20.4.49 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


password

slot slot Slot ID Range: 1 – 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure media IP address:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#voip media-ip ip-profile zte1 slot 1

20-100

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Commands
None

20.4.50 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/7/1:1
ZXAN(epon-onu-mng)#voip mg-domainname server1 slot 1

Related Commands
None

20.4.51 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:

20-101

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

username username password Username and password Range: 1 – 32 characters


password

slot slot Slot ID Range: 1 – 255

Mode
ZXAN(epon-onu-mng)#

Example
The following example displays how to configure PPPoE username and password:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#voip pppoe username zte passpord 1234567 slot 1

Related Commands
None

20.4.52 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/7/1:1
ZXAN(epon-onu-mng)#voip ip-address 10.30.20.2 mask 255.255.255.0 slot 1

20-102

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Commands
None

20.4.53 voip mg
Syntax
voip mg domain-name slot slot

Purpose
To configure VoIP MG domain name

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/7/1:1
ZXAN(epon-onu-mng)#voip mg tserver slot 1

Related Commands
None

20.4.54 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:

20-103

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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)#

Example
The following example displays how to configure VOIP RTP TID:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#voip rtp-tid prefix 123 begin-digit 111 align enable
digit-length 11 slot 1

Related Commands
None

20.4.55 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 -

20-104

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Parameter Description Value

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/7/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

Related Commands
None

20.4.56 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/7/1:1

20-105

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(epon-onu-mng)#voip sip-user account 64544342 name asd password asd


interface pots_1/1

Related Commands
None

20.4.57 voip timer


Syntax
voip timer {[ dml dml ] [ dms dms ] } slot slot

Purpose
To configure VoIP timer

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

dml dml Digit-map long timer 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/7/1:1
ZXAN(epon-onu-mng)#voip timer dml 10 dms 5 slot 1

Related Commands
None

20.4.58 voip-module fax-profile


Syntax
voip-module fax-profile apply fax-profile-name

20-106

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#voip-module fax-profile apply zte1

Related Commands
None

20.4.59 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:

20-107

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#voip-module global-profile apply ip 111

Related Commands
None

20.4.60 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

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/7/1:1
ZXAN(epon-onu-mng)#voip-module protocol-profile apply sip 111

Related Commands
None

20.4.61 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

20-108

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

wan-id WAN connection ID 1–8

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

20.4.62 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)#

20-109

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure WIFI WEP:
ZXAN(config)#pon-onu-mng epon-onu_1/7/1:1
ZXAN(epon-onu-mng)#wep ssid-auth-mode open-system enable wifi_1/2 ssid 1

Related Commands
None

20.4.63 wifi
Syntax
wifi { enable | disable } [ radio-measurement { enable | disable } ] [ ssid-isolated { enable |
disable } ] [ wireless-working-mode mode ] [ cur-reg-domain cur-reg-domain ] port

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/7/1:1
ZXAN(epon-onu-mng)#wifi enable eth_0/1

20-110

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

Related Commands
None

20.4.64 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:

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

20.4.65 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

20-111

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the ONU information:
ZXAN(config)#show remote onu info epon-onu_1/13/1:1
epon-onu_1/13/1:1
Onu vendorId .
Onu type ZTE-F822.
OnuModel .
OnuId 0000.0000.0000.
Hardware version .
Software version .
Firmware version .
Chip vendorId N/A. ChipModel 0x0000.
Chip revison 0 . ChipDesignDate 00/00/00.
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.
Max queues per US port 0.
Number of DS Queues 0.
Max queues per DS port 0.
BatteryBackup no.

Multicast protocol igmpsnooping.


FecMode disable. FecAbility N/A.
Alarm enable. Port Isolation enable.
Mac aging-time 300.
IPV6 N/A.

20.4.66 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:

20-112

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/4/2:11

Ethport: Eth_0/1, Phystate: enable


Linkstate: N/A, Flowctrl: enable

Policing: Direction Status CIR(kbps) CBS(Bytes) EBS(Bytes)


-----------------------------------------------------------------
upstream disable 0 0 0
downstream disable 0 0 0

Ethport: Eth_0/2, Phystate: enable


Linkstate: down, Flowctrl: enable

Policing: Direction Status CIR(kbps) CBS(Bytes) EBS(Bytes)


-------------------------------------------------------------------
upstream disable 0 0 0
downstream disable 0 0 0

Ethport: Eth_0/3, Phystate: enable


Linkstate: down, Flowctrl: enable

Related Command
None

20.4.67 show remote onu port auto-neg


Syntax
show remote onu port auto-neg epon-onu_shelf/slot/oltId:onuId

20-113

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/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
Eth_0/2 enable 10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100
0BASE_TX, 100BASE_TXFD BASE_TX, 100BASE_TXFD

Eth_0/3 enable 10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100


0BASE_TX, 100BASE_TXFD BASE_TX, 100BASE_TXFD
Eth_0/4 enable 10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100
0BASE_TX, 100BASE_TXFD BASE_TX, 100BASE_TXFD

Related Command
None

20.4.68 show remote onu vlan


Syntax
show remote onu vlan epon-onu_shelf/slot/oltId:onuId

20-114

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/4/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

Eth_0/3 tag 4092 0 N/A


Eth_0/4 tag 4092 0 N/A

Related Command
None

20.4.69 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

20-115

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/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)#

Related Command
None

20.4.70 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:

20-116

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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

Example
The following example displays how to show EPON ONU remotely managed Ethernet port
classification information:
ZXAN#show remote onu classification epon-onu_1/4/2:11 eth_0/1
RulePrecedence RuleName ConditionNameList
1 zte zte

Related Command
None

20.4.71 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

20-117

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:3
---rule profile---
index name queuemap priority
1 aaa 1 0
2 bbb 3 7

---condition profile---
index name filed matchValue operator
1 c1 vid 111 never-match
2 c2 priority 7 always-match

Related Command
None

20.4.72 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

20-118

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/4/2:3
Active queueSet 1.
SetId Threshold
Queue1 Queue2 Queue3 Queue4 Queue5 Queue6 Queue7 Queue8
1 65,535 65,535 65,535 65,535 65,535 65,535 65,535 65,535
2 65,535 65,535 65,535 65,535 65,535 65,535 65,535 65,535
3 65,535 65,535 65,535 65,535 65,535 65,535 65,535 65,535

Related Command
None

20.4.73 show remote onu mac


Syntax
show remote onu mac epon-onu_shelf/slot/oltId:onuId eth_slot/portID

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_slot/portID eth: Ethernet port number 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:

20-119

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN#show remote onu mac epon-onu_1/4/2:3 eth_0/1


epon-onu_1/4/2:3;
MAC_Address info
Port Name:eth_0/1;
Limit num: no-limit;
Filter mac-address info
vlan mac
2 9877.9878.4566
Bind mac-address info
vlan mac
3 9877.9899.0988
Static mac-address info
vlan mac
1 4557.3241.3423

Related Command
None

20.4.74 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:

20-120

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

ZXAN# show remote onu mgmt-ip epon-onu_1/4/2:3


Status enable;
IP Address 172.168.1.122;
Mask 255.255.0.0;
Priority 3; vlan 300;
Mgmt-IP 172.168.1.10;
Mgmt-Mask 255.255.0.0;
Mgmt-Gateway 172.168.1.250.

Related Command
None

20.4.75 show remote onu fastleave


Syntax
show remote onu fastleave epon-onu_shelf/slot/oltId:onuId

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/4/2:3
ONU interface: epon-onu_1/4/2:3
Fast leave state: enable
Fast leave ability: snooping: fast-leave
snooping: not- fast-leave
multicast: fast-leave

20-121

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

multicast: not-fast-leave

Related Command
None

20.4.76 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:

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/4/2:3
Auto-dispatch state
------------------------------------------------
disable

Related Command
None

20-122

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

20.4.77 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:

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/4/2:3

Related Command
None

20.4.78 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

20-123

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

Example
The following example displays how to show EPON ONU VLAN translate configuration:
ZXAN(config)# show remote onu vlan-translate epon-onu_1/4/2:3 port eth_0/1

Related Command
None

20.4.79 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

20-124

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 20 EPON Commands

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/4/2:3 2

Related Command
None

20.4.80 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/4/2:3
MDU svlan base : 4000

Related Command
None

20-125

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

20.4.81 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:

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

20-126

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21
GPON Commands
Table of Contents
GPON Global Configuration .....................................................................................21-1
GPON OLT Interface Configuration ........................................................................21-51
GPON ONU Interface Configuration .......................................................................21-74
GPON ONU Remote Management.......................................................................21-106

21.1 GPON Global Configuration


21.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

21-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.1.2 profile tcont


Syntax
profile tcont profile-name type value1 [fixed value2] [assured value3] [maximum value4]
no profile tcont profile-name

Purpose
To configure bandwidth profile parameters

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

profile-name T-CONT profile name Range: 1 - 63 characters

type value1 T-CONT profile type Range: 1 - 5

fixed value2 Fixed bandwidth: only for type Range: 64 - 1244160 Kbps
1/5

assured value3 Assured bandwidth: only for Range: 64 - 1244160 Kbps


type 2/3/5

maximum value4 Maximum bandwidth: only for Range: 64 - 1244160 Kbps


type 3/4/5

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the bandwidth profile parameters:
ZXAN(config)#gpon
ZXAN(config-gpon)#profile tcont band1 type 1 fix 100000
ZXAN(config-gpon)#profile tcont band2 type 2 assured 100000
ZXAN(config-gpon)#profile tcont band3 type 3 assured 10000 maximum 100000
ZXAN(config-gpon)#profile tcont band4 type 4 maximum 100000
ZXAN(config-gpon)#profile tcont band5 type 5 fix 10000 assured 100000 max 1000000
ZXAN(config-gpon)#

Related Commands
None

Related Information
The ZXA10 C300 supports 512 T-CONT profiles.

21-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

The following table describes bandwidth requirements based on T-CONT type.

T-CONT Type Fix Bandwidth Assured Maximum Remarks


Bandwidth Bandwidth

1 Required - - -

2 - Required - -

3 - Required Required Assured ≤


Maximum

4 - - Required -

5 Required Required Required Fix + Assured ≤


Maximum

21.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

21-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.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

21.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

21-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 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 l h248


l not-defined
l nsc
l 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

21.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:

21-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

21.1.7 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 dst
ipv6| 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

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 -

21-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

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 -

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
l mode4: inner TPID =
8100;
mode5:inner TPID = input
PVID, ignore DE
l mode6: inner TPID = input
PVID, DE = 0
l 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

21-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

outer-tpid {mode0 | mode4 | Outer TPID match mode for or -


mode5 | mode6 | mode7} double-tag frame
l mode0: no filter
l mode4: inner TPID =
8100;
mode5:inner TPID = input
PVID, ignore DE
l mode6:inner TPID = input
PVID, DE bit = 0
l mode7:inner 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

21.1.8 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

21-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 A.B.C.D

query-interval interval Query interval 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 } Default: copy-from-query

version ver IGMP version l v1


l v2
l v3
Default: v2

work-mode mode IGMP work mode l flood


l proxy
l snooping
l spr
Default: snooping

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

21-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.1.9 onu profile ip


Syntax
onu profile ip profile name static gateway ip-address [ primary-dns address [ second-dns addr
ess ] ]
no onu profile ip profile name

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 ip pro1 static gateway 10.32.62.52 primary-
dns 10.32.25.14

Related Commands
show gpon onu profile ip

21.1.10 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 } ]

21-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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:

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 l disable


l service-change
l notify

heart-beat-interval Heart-beat interval 10000 – 600000, unit: ms


heart-beat-interval

max-retry-attempts Maximum retry attempts 0 – 65535


max-retry-attempts

max-retry-time max-retry-time Maximum retry time 0 – 65535, unit: s

min-avalanche-timer Avalanche minimum timer 0 – 500000, unit: ms


min-avalanche-timer

min-rereg-timer min-rereg-timer Re-registration minimum timer 0 – 500000, unit: ms

msg-format msg-format Message format l binary


l text-long
l text-short

21-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

num-match-shortest Number shortest-match flag Enable or disable


num-match-shortest

port port Port number 1 – 65535

passive-heart-beat Passive heart-beat Enable or disable


passive-heart-beat

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


service-change-delay

ss ss SS vendor 1 – 4 characters

version version Megaco protocol version 1 – 255

Mode
ZXAN(config-gpon)#

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

21.1.11 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

21-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 Range: 1 – 4294967295


value4 overrun/underrun packets
threshold

down-malformed value5 Downstream malformed packets Range: 1 – 4294967295


threshold

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

21-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.1.12 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:

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

21.1.13 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

21-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

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 Range: 1 – 4294967295


12 threshold

carrier-sense-err value13 Internal MAC receive errors 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)#

21-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.1.14 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 lost-packets 100
ZXAN(config-gpon)#

21-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
show gpon onu profile performance-threshold

21.1.15 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

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

21-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.1.16 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:

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

21.1.17 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 ]

21-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

discard-delay-exceeded num Threshold value of discarded Range: 1 – 4294967295


frames due to exceeded delay

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 Threshold value of discarded Range: 1 – 4294967295


frames due to ingress filtering

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the VLAN Ethernet
performance-threshold profile:
ZXAN(config-gpon)#onu profile performance-threshold vlan ethuni abc discard-
delay-exceeded 100 discard-lack-of-buffer 100 discard-on-error 100 discard-
on-ingress-filtering 100

Related Commands
show gpon onu profile performance-threshold vlan

21.1.18 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 ] ]

21-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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:

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

21-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.1.19 onu profile tdm


Syntax
onu profile tdm profile-name [jtrbfr-max depth] [jtrbfr-desire depth] [rtp {enable ssrc payload
-ssrc signalling-ssrc ptype payload-type signalling-type clk-ref clk-ref timestamp-mode {absolu
te|differential|unknown} expected-ptype payload-type signalling-type expected-ssrc payload-ss
rcsignalling-ssrc |disable]
no onu profile tdm profile-name

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 Time stamp mode -


{absolute|differential|unknown}

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 –
42949672955

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the TDM profile:

21-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-gpon)#onu profile tdm test rtp disable


ZXAN(config-gpon)#

Related Commands
None

21.1.20 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 l mode0: copy TPID from
| mode6 | mode7} inner tag
l mode1: copy TPID from
outer tag
l mode2: TPID = output
TPID, copy DE bit from
inner tag
l mode3: TPID = output
TPID, copy DE from outer
tag
l mode4: TPID = 8100
l mode5: reserved
l mode6: TPID = output
TPID, DE = 0

21-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

l mode7: TPID = output


TPID, DE = 1

inner-priority {copy-inner | Inner 802.1p priority process Range: 0 – 7


copy-outer | derive-from-dscp| mode
insert priority} l copy-inner: copy the inner
priority from the inner
priority of Rx frame
l copy-outer: copy the inner
priority from the outer
priority of Rx frame
l derive-from-dscp: derive
from DSCP
l insert priority: insert priority

inner-vid {copy-inner | Inner VID process mode Range: 1 – 4094


copy-outer | insert vid} l copy-inner: copy the inner
VID from the inner VID of
Rx frame
l copy-outer: copy the inner
VID from the outer VID of
Rx frame
l insert vid: insert VID

outer-tpid {mode0 | mode1 | Outer TPID process mode -


mode2 | mode3 | mode4 | mode5 l mode0: copy TPID from
| mode6 | mode7} inner tag
l mode1: copy TPID from
outer tag
l mode2: TPID = output
TPID, copy DE bit from
inner tag
l mode3: TPID = output
TPID, copy DE from outer
tag
l mode4: TPID = 8100
l mode5: reserved
l mode6: TPID = output
TPID, DE = 0
l mode7: TPID = output
TPID, DE = 1

21-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

outer-priority {copy-inner | Inner 802.1p priority process Range: 0 – 7


copy-outer | derive-from-dscp | mode
insert priority} l copy-inner: copy the inner
priority from the inner
priority of Rx frame
l copy-outer: copy the inner
priority from the outer
priority of Rx frame
l derive-from-dscp: derive
from DSCP
l insert priority: insert priority

outer-vid {copy-inner | Outer VID process mode Range: 1 – 4094


copy-outer | insert vid} l copy-inner: copy the inner
VID from the inner VID of
Rx frame
l copy-outer: copy the inner
VID from the outer VID of
Rx frame
l 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.

21-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.1.21 onu profile vlan


Syntax
onu profile vlan profile name tag-mode vlan-stacking svlan svlan [ cvlan cvlan [ priority priority
]]
onu profile vlan profile name tag-mode tag cvlan cvlan [ priority priority ]
no onu profile vlan profile name

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 0–7

Mode
ZXAN(config-gpon)#

Example
The following example displays how to configure the VoIP VLAN profile:
ZXAN(config-gpon)#onu profile vlan pro1 tag-mode vlan-stacking svlan 100

Related Commands
show gpon onu profile vlan

21.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 ]

21-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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


cancel-call-waiting

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-activation

no-disturb-deactivation No-disturb disable 1 – 5 characters


no-disturb-deactivation

no-disturb-pin-change No-disturb PIN change 1 – 5 characters


no-disturb-pin-change

emergency-srv-num Emergency service 1 – 5 characters


emergency-srv-num

intercom-service intercom-service Inter-communication service 1 – 5 characters

unattended-blind-call-transfer Unattended blind call transfer 1 – 5 characters


unattended-blind-call-transfer

attended-call-transfer Attended call transfer 1 – 5 characters


attended-call-transfer

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

21-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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

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

21-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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


direct-connect-uri

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


conference-factory-uri

Mode
ZXAN(config-gpon)#

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

21-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.1.24 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 l cn


l dvi4-rate11khz
l dvi4-rate16khz
l dvi4-rate22khz
l dvi4-rate8khz
l g722
l g723
l g728
l g729
l gsm
l l16-1channel
l l16-2channel
l lpc
l mpa
l pcma
l pcmu
l qcelp
Default: pcmu

21-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 l fast-busy


l na
l reorder-tone
l silence
l 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

21-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
show gpon onu profile voip-media

21.1.25 show gpon profile


Syntax
show gpon profile {tcont [profile-name1] | traffic [profile-name2]}

Purpose
To display GPON profile configuration

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 1 10240 0 0
profile 1 1000 0 0
bf 1 100 0 0
hf 1 100 0 0
ZXAN#

The following example displays GPON traffic profile configuration:


ZXAN#show gpon profile traffic
NAME SIR PIR
default 10240 10240
profile 1024 4048
tf 100 100
cf 65 100

21-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN#

Related Commands
None

21.1.26 show gpon onu profile dial-plan


Syntax
show gpon onu profile dial-plan name id

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.##
2 #X.*.X.T|#X.*.X.
#T

Related Commands
onu profile dial-plan

21.1.27 show gpon onu profile dial-plan-table


Syntax
show gpon onu profile dial-plan-table [ name ]

21-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

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

21.1.28 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>

21-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.1.29 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: 2
EtherType: IGMP
InnerPrio: 0
InnerVid: 100
InnerTPID: mode0
OuterPrio: 3
OuterVid: 200
OuterTPID: mode0

21-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
onu profile filter-rule

21.1.30 show gpon onu profile igmpi


Syntax
show gpon onu profile igmp [ name ]

Purpose
To display the IGMP 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 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: 0
Up stream tag: transparent
Down stream tag: strip
Iptv-package-dynamic1:
Iptv-package-dynamic2:
Iptv-package-dynamic3:
Iptv-package-dynamic4:
Iptv-package-dynamic5:

21-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Iptv-package-dynamic6:
Iptv-package-dynamic7:
Iptv-package-dynamic8:
Iptv-package-static: stv

Related Commands
onu profile igmp

21.1.31 show gpon onu profile ip


Syntax
show gpon onu profile 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 ip

Profilename: ip-test
Gateway: 1.2.3.1
Primary DNS: 0.0.0.0 Secondary DNS: 0.0.0.0

Related Commands
onu profile ip

21.1.32 show gpon onu profile mgc


Syntax
show gpon onu profile mgc [ name ]

21-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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>

Example
The following example displays the MGC profile configuration:
ZXAN(config-gpon)#show gpon onu profile mgc name abc

Profile name: abc


Server1: 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: 0
Media UDP port: 2944
Media DSCP/TOS: 0
Message format: text long
Version: 1
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

21-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.1.33 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 0
Down reordered packets 0
Down misordered packets 0
Down buffer underrun overrun packets 0
Down malformed packets 0
Down stray packets 0
Down remote packet loss 0
Down errored seconds 100

21-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Down severely errored seconds 0


Down unavailable seconds 100

Related Commands
onu profile performance-threshold cesuni

21.1.34 show gpon onu profile performance-threshold dot1x


Syntax
show gpon onu profile performance-threshold dot1x [ name ]

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

21.1.35 show gpon onu profile performance-threshold eth


Syntax
show gpon onu profile performance-threshold eth [ name ]

21-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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>

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 0
Late collision count 0
Too long packets 0
Rx buffer overflow count 0
Tx buffer overflow count 0
Single collision packets 0
Multiple collisions packets 0
Sqe count 0
Deferred transmission packets 0
Internal mac tx error packets 0
Internal mac rx error packets 0
Carrier sense error count 0
Alignment error packets 0
Pppoe filtered packets 0
Drop events count 10000
Undersize packets 0
Fragments 0
Jabbers 0

Related Commands
onu profile performance-threshold ethuni

21-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.1.36 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

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

21.1.37 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:

21-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

Related Commands
onu profile performance-threshold radius

21.1.38 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

21-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

MTU exceeded discard: 100


Received and discarded: 1000

Related Commands
onu profile performance-threshold switchport

21.1.39 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

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

21-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.1.40 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>

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: 0
Media UDP port: 5060
Media DSCP/TOS: 0
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

21-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
onu profile sip

21.1.41 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

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: 0
Jitter buffer desire depth: 0
Fill policy: ont-default
Misconnected packers declare: 0
Misconnected packers clear: 255
Loss packers declare: 0
Loss packers clear: 255
Buffer declare: 0
Buffer clear: 255
Malformed packets declare: 0
Malformed packets clear: 10
R bit transmit set: 0
R bit transmit clear: 0
R bit receive policy: p0
L bit receive policy: p0
Ses threshold: 100
RTP information: ignore

21-45

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
onu profile tdm

21.1.42 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

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: 0
InnerprioMapMode: insert
InnerPrio: 0
InnervidMapMode: copy-inner
InnerVid: 1
InnerTPID mode4

Related Commands
onu profile treat

21.1.43 show gpon onu profile vlan


Syntax
show gpon onu profile vlan [ name ]

21-46

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 vlan

Profile name: vlan-test


Tag mode: tag
CVLAN: 300
CVLAN priority:7

Related Commands
onu profile vlan

21.1.44 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>

21-47

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.1.45 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

21-48

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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
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

21-49

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.1.46 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
RTP:
Port: min=50000, max=60000
DSCP mark: 46
Event: piggyback=enable, tone=enable, dtmf=enable, cas=enable

Related Commands
onu profile voip-media

21-50

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.2 GPON OLT Interface Configuration


21.2.1 als
Syntax
als { CloseTime time | LosCloseTime time | OpenTime time }

Purpose
To configure ALS function for optical module

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

CloseTime time Close time 20 – 2000, unit: ms


Default: 100 ms

LosCloseTime time Close time when LOS appears 5 – 50, unit: ms


Default: 50 ms

OpenTime time Open 50 – 20000, unit: ms


Default: 50 ms

Mode
ZXAN(config-if)#

Example
The following example displays how to configure ALS function for optical module:
ZXAN(config)#interface gpon-olt_1/14/1
ZXAN(config-if)#als opentime 100
ZXAN(config-if)#

Related Commands
None

21.2.2 auto-learning
Syntax
auto-learning {aging-time |disable | enable }

21-51

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To configure the default ONU registration mode on the OLT interface

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

21.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

21-52

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to configure BER detection and report interval:
ZXAN(config)#interface gpon-olt_1/14/1
ZXAN(config-if)#ber-interval 100000
ZXAN(config-if)#

Related Commands
None

21.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/14/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.

21-53

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.2.5 dba period-mode


Syntax
dba period-mode { default | low-delay | low-overhead }

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/14/1
ZXAN(config-if)#dba period-mode default
ZXAN(config-if)#

Related Commands
None

21.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:

21-54

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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)#

Example
The following example displays how to configure period of ONU discovery:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)#discover-period new-onu 100 miss-onu 300

Related Commands
None

21.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/5/1
ZXAN(config-if)#fec downstream

21-55

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show gpon fec

21.2.8 linktrap
Syntax
linktrap { inform | disable}

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/5/1
ZXAN(config-if)# linktrap inform

Related Commands
None

21.2.9 lock
Syntax
lock
no lock

Purpose
To shut down optical module and disable ONU alarm trap (OLT alarm trap is enabled.)

21-56

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to lock the PON port:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#lock

Related Commands
None

21.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:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)# loopback-detection enable

Related Commands
None

21-57

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.2.11 mld
Syntax
mld max-groups max-groups

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/5/1
ZXAN(config-if)#mld max-groups 100

Related Commands
None

21.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

21-58

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

rate-limit ratelimit Maximum packet rate Range: 0 – 2488000, unit: kbps


Default: 2488000 kbps

Mode
ZXAN(config-if)#

Example
The following example displays how to configure multicast rate limit:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)#multicast-rate-limit burst-size 1000 rate-limit 1000

Related Commands
None

21.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/5/1
ZXAN(config-if)#name n1

21-59

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.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]}
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

21-60

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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} [vport-
mode {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

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 RID: 1 – 36 characters

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+pw loid password 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

21-61

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to register ONU to an OLT interface:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#onu 1 type ZTE-F622 sn CIGG02938572 vport-mode gemport
ZXAN(config-if)#

Related Commands
None

21.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/3/1
ZXAN(config-if)#onu-action deactive

Related Commands
None

21.2.17 onu-sn
Syntax
onu-sn enable

21-62

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Purpose
To enable all disabled ONUs on the OLT interface

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable all disabled ONUs on the OLT interface:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#onu-sn enable

Related Commands
None

21.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

21-63

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.2.19 range-mode
Syntax
range-mode base-distance maximum-distance

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/3/1
ZXAN(config-if)#range-mode 100 150
ZXAN(config-if)#

Related Commands
None

21.2.20 range
Syntax
range

Purpose
To display the interface range on the interface

21-64

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Usage Guidelines
The following table provides parameter description:
None

Mode
ZXAN(config-if)#

Example
The following example displays how to display the interface range :
ZXAN(config)#interface gpon-olt-1/3/1
ZXAN(config-if)#range
Portlist of the range: gpon-olt-1/3/1

Related Commands
None

21.2.21 resource-id-assign-mode
Syntax
range-mode {mode1 | mode1}

Purpose
To configure the allocation mode of Alloc ID and port ID

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

mode1 To allocate Alloc ID and port ID -


automatically

mode1 To allocate Alloc ID and port ID -


manually, not support profile
configuration

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the allocation mode of Alloc ID and port
ID on gpon-olt_1/3/1.

21-65

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#resource-id-assign-mode mode2
ZXAN(config-if)#

Related Commands
show gpon olt config

21.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/3/1
ZXAN(config-if)#scb-port 200

Related Commands
None

21.2.23 shutdown
Syntax
shutdown
no shutdown

Purpose
To shut down the OLT interface

21-66

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to shut down the OLT interface:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)#shutdown

Related Commands
None

21.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/3/1
ZXAN(config-if)#traffic-profile profile1 direction egress

21-67

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.2.25 vlan-smart-qinq
Syntax
vlan-smart-qinq { enable| disable }

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/5/1
ZXAN(config-if)#vlan-smart-qinq enable

Related Commands
None

21.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:

21-68

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

interface GPON OLT interface name -

Mode
ZXAN(config-if)#

Example
The following example displays the FEC configuration on GPON OLT interfaces:
ZXAN(config)#show gpon fec
Interface mode
--------------------------------
gpon-olt_1/4/1 downstream
gpon-olt_1/4/2 none
gpon-olt_1/4/3 none
gpon-olt_1/4/4 none
gpon-olt_1/4/5 none
gpon-olt_1/4/6 none
gpon-olt_1/4/7 none
gpon-olt_1/4/8 none

Related Commands
fec

21.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)#

21-69

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the configuration on the OLT interface:
ZXAN(config-if)#show gpon olt config gpon-olt_1/5/1
gpon-olt_1/5/1 Name:OLT-1
MaxSupportOnts :128 MaxSupportTconts :0
RealLegalOnts :0 RealIllegalOnts :0
Discovering onu:10 Missing onu :5
Range mode(100m): 0 - 200
Uncfg onu aging time(s): 300
Auto learn:disable
SCB port:4095
FEC:none
Resource ID assign mode:mode2

Related Commands
None

21.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/5/1
gpon-olt_1/5/1:

21-70

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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,
UsErrEthFrames: 0,
DsPloamMsg: 5548,
UsCorPloamMsg: 0,
UsErrPloamMsg: 0.

Related Commands
None

21.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/5/1
OltInterface Base-distance(100m) Maximum-distance(100m)
---------------------------------------------------------------------
gpon-olt_1/5/1 0 200

21-71

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
rang-mode

21.2.30 show loop-detection global


Syntax
show loop-detection {global | interface}

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)

21.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:

21-72

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/7/1

21.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/5/1
Optical module information:gpon-olt_1/5/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

21-73

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 (v) Voltage-Lower : 0 (v)
Temperature-Upper: 90 (c) Temperature-Lower: -45(c)

Related Commands
None

21.3 GPON ONU Interface Configuration


21.3.1 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 -

deactive Deactivate ONU -

Mode
ZXAN(config-if)#

Example
The following example displays how to activate the ONU:

ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#action active

Related Commands
None

21-74

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.3.2 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/5/1:1
ZXAN(config-if)#bind ip-address 10.20.30.2 vport 10

Related Commands
None

21.3.3 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

21-75

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to bind a MAC address to the ONU:
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#bind mac-address 1a23.2235.2b5d vport 10

Related Commands
None

21.3.4 broadcast-rate-limit
Syntax
broadcast-rate-limit peak-rate ratelimit direction { egress | ingress }

Purpose
To configure rate limit for broadcast packets

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

peak-rate ratelimit Limit rate 0, 64 – 2488000, unit: kbps


Default: 2488000 kbps

egress Egress direction -

ingress Ingress direction -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure rate limit for broadcast packets:
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#broadcast-rate-limit peak-rate 10000 direction egress

Related Commands
None

21-76

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.3.5 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)#

Example
The following example displays how to configure DBA mode:
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#dba mode nsr

Related Commands
None

21.3.6 description (onu)


Syntax
description string

Purpose
To configure ONU description

21-77

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/5/1:1
ZXAN(config-if)#description F620

Related Commands
None

21.3.7 dhcp6-option18
Syntax
dhcp6-option18 { enable | disable } { sport sport | vport vport }
dhcp6-option18 trust { true { keep | replace } | false { add | discard } } { sport sport | vport
vport }

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)#

21-78

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Example
The following example displays how to enable DHCPv6 option18:
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#dhcp6-option18 enable vport 1

Related Commands
None

21.3.8 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

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/5/1:1
ZXAN(config-if)#dhcp-option82 enable sport 1

Related Commands
None

21-79

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.3.9 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:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#encrypt 1 enable
ZXAN(config-if)#

Related Commands
None

21.3.10 fec (onu)


Syntax
fec {none |upstream }

Purpose
To configure FEC function on GPON ONU interface

Usage Guidelines
The following table provides parameter description:

21-80

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/5/1:1
ZXAN(config-if)#fec upstream

Related Commands
show gpon onu detail-info

21.3.11 gemport
Syntax
gemport portindex [ name name ] [ portid portid ] unicast tcont tcont [ dir { both | down | up
} ] [ queue queue ]
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


queue-map-id

name name Port name Range: 1 – 63 characters

21-81

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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 -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure GEM port attributes:
ZXAN(config)#interface gpon-onu_1/4/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

Related Information
The corresponding T-CONT should be configured in advance.

21.3.12 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:

21-82

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

21.3.13 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:

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/5/1:1
ZXAN(config-if)#link test 1
Sending 1 GEM frames to gpon-onu_1/5/1:1.
.
Success rate is 0 percent (0/1)

Related Commands
None

21-83

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.3.14 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/5/1:1
ZXAN(config-if)#max-mac-learn 3

Related Commands
None

21.3.15 name (onu)


Syntax
name onuname
no name

Purpose
To configure alias of ONU interface

Usage Guidelines
The following table provides parameter description:

21-84

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/5/1:1
ZXAN(config-if)#name n1

Related Commands
None

21.3.16 omcc-encrypt
Syntax
omcc-encrypt { enable | disable }

Purpose
To enable or disable OMCC encryption

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 enable OMCC encryption:
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#omcc-encrypt enable

Related Commands
None

21-85

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.3.17 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/5/1:1
ZXAN(config-if)#omci-bandwidth zteprofile1

Related Commands
None

Related Information
The corresponding T-CONT profile should be configured in advance.

21.3.18 performance
Syntax
performance {gemport gemportId | vport vportId} {start | stop}

Purpose
To start of stop the performance statistics on GEM port or virtual port (vport)

Usage Guidelines

Parameter Description Value

gemport gemportId GEM port ID 1–256

21-86

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

vport vportId Virtual port ID 1–256

start To start statistics -

stop To stop statistics -

Mode
ZXAN(config-if)#

Example
The following example displays how to start the performance statistics on GEM port 1.
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#performance gemport 1 start

Related Commands
show performance gpon-gemport
show performance pon-vport

21.3.19 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/5/1:1
ZXAN(config-if)#range
Portlist of the range: gpon-onu_1/5/1:1

21-87

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.3.20 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/5/1:1
ZXAN(config-if)#registration-method pw zte123

Related Commands
None

21.3.21 rogue-onu-state
Syntax
rogue-onu-state { off | on | shutdown } [ duration{ time | forever }]

Purpose
To configure the state of rouge ONU

21-88

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Usage Guidelines
The following table provides parameter description:

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 ONU侧的流氓ONU检测功能。
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#rogue-onu-state on duration 60

Related Commands
None

21.3.22 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

21-89

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

user-priority priority User priority Range: 0 – 7

user-vlan vid to vid User VLAN list Range: 1 – 4094

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/4/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

21.3.23 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 -

21-90

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 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/3/1:1
ZXAN(config-if)#state ready
ZXAN(config-if)#

Related Commands
None

21.3.24 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 ONU的SN绑定。
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#sn-bind enable

Related Commands
None

21-91

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.3.25 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 l one port maps to one VLAN -


(default VLAN)
l 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/3/1:1
ZXAN(config-if)#switchport vlan 10 tag

Related Commands
show vlan port

21-92

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.3.26 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/3/1:1
ZXAN(config-if)#traffic-profile pf1 vport 1 direction ingress

Related Commands
None

21.3.27 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:

21-93

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/3/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.

21.3.28 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)#

21-94

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Example
The following example displays how to configure the alias for the ONU:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#type ZTE-F640
ZXAN(config-if)#

Related Commands
None

Related Information
Currently, the following ONU types are supported:
l ZTE-F641: Provides 4 FE intefaces
l ZTE-F622: Provides 4 FE + 2 POTS interfaces
l ZTE-F625: Provides 4 FE + 2 POTS + 1 Video interfaces
l ZTE-F621: 1 GE + 1 FE + 4 CES interfaces
l ZTE-F601: Provides 1 GE + 1 FE interfaces
l ZTE-F640: Provides 1 GE + 2 POTS + 1 Video interfaces
l 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.

21.3.29 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

21-95

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/3/1:1
ZXAN(config-if)#vport 1 name vport map-type cos
ZXAN(config-if)#

Related Commands
None

21.3.30 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)#

21-96

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Example
The following example displays how to create mapping between virtual port and GEM port:
ZXAN(config)#interface gpon-onu_1/3/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.

21.3.31 vport-mode
Syntax
vport-mode {onu | gemport | manual} [def-map-type {cos | vlan | cos+vlan | 1:1}]

Purpose
To configure ONU VPORT mode

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

onu VPORT mode onu -

gemport VPORT mode gemport -

manual VPORT mode manual -

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 VPORT port:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#vport-mode gemport def-map-type cos
ZXAN(config-if)#

21-97

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.3.32 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: gpon-onu_1/2/1:1


Name: 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

21-98

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Service Profile: N/A


Alarm Profile: N/A
Performance Profile: N/A
ONU Distance: N/A

21.3.33 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: 0
OuterprioMapMode: insert
OuterPrio: 0
OutervidMapMode: insert
OuterVid: 200
OuterTPID: mode4
ZXAN#

Related Commands
onu profile treat

21.3.34 show gpon onu gemport


Syntax
show gpon onu gemport gpon-olt_shelf/slot/oltId [:onuId [gemportId]]

21-99

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/3/1
Show Gemport Information As Follows:
OLT gpon-olt_1/3/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.

21.3.35 show gpon onu baseinfo


Syntax
show gpon onu baseInfo gpon-olt_shelf/slot/oltId:onuid

21-100

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 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/3/1
OnuIndex Type Mode SN/PW State
-----------------------------------------------------------------
gpon-onu_1/3/1:1 ZTE-F622 SN CIGG12345678 ready

21.3.36 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 -

21-101

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

syncMib ONU whose MIB data status is -


synchronized

working Working ONU -

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/6/1 working
OnuIndex Admin State Omcc State O7 State Phase State
---------------------------------------------------------------------
gpon-onu_1/6/1:1 enable enable operation working

21.3.37 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 Description Value

gpon-olt_shelf/slot/oltId GPON card shelf number, slot -


number and OLT ID

onuId ONU ID 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/3/1
OnuIndex Sn State
---------------------------------------------------
gpon-onu_1/3 ZTE_--0x00150150 unknow

21-102

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

/1:0
ZXAN#

Related Commands
None

21.3.38 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

21-103

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.3.39 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/3/1 1 1
ZXAN#

Related Commands
None

21.3.40 show performance gpon-gemport


Syntax
show performance gpon-gemport gpon-olt_shelf/slot/oltId:onuId gemportId

Purpose
To display the performance statistics of ONU GEM port

Usage Guidelines
The following table provides parameter description:

21-104

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

gpon-olt_shelf/slot/oltId:onuId GPON ONU interface -

gemportId GEM port ID 1–256

Mode
Any mode except ZXAN>

Example
The following example displays the performance statistics of ONU GEM port.
ZXAN(config-if)#show performance gpon-gemport gpon-onu_1/5/1:1 gemport 1
GPON-ONU-GEMPORT gpon-onu_1/5/1:1 Gemport: 1 current performance data:
-------------------------------------------------
Received Octets :0;
Received Unicast Packets :0;
Received Broadcast Packets :0;
Received Multicast Packets :0;
Received Dropped Packets :0;
Transmitted Octets :0;
Transmitted Unicast Packets :0;
Transmitted Broadcast Packets :0;
Transmitted Multicast Packets :N/A;
Transmitted Dropped Packets :0;
Received Octets Rate(bps) :0;
Received Octets Rate Peak(bps) :0;
Transmitted Octets Rate(bps) :0;
Transmitted Octets Rate Peak(bps) :0;

Related Commands
performance

21.3.41 show performance pon-vport


Syntax
show performance pon-vport pon-onu_shelf/slot/olt:onu { current | current-15min-interval |
current-1day-interval | his-15min-interval interval | his-1day-interval interval }

Purpose
To display the performance statistics of ONU virtual port

Usage Guidelines
The following table provides parameter description:

21-105

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

pon-olt_shelf/slot/olt:onu PON ONU interface -

his-15min-interval interval 15-minute interval 1–96

his-1day-interval interval 1-day interval 1–7

Mode
Any mode except ZXAN>

Example
The following example displays the performance statistics of ONU virtual port.
ZXAN#show performance pon-vport gpon-onu_1/5/1:1 vport 1 current
-----------------------------------------------------------
Input:
Byte :0 UcastPkts :0
McastPkts :0 BcastPkts :0
Output:
Byte :0 UcastPkts :0
McastPkts :0 BcastPkts :0

Related Commands
performance

21.4 GPON ONU Remote Management


21.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

21-106

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/3/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.

21.4.2 auto-shutdown
Syntax
auto-shutdown [hold-time holdtime] [revert-time reverttime]
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:

21-107

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#pon-onu-mng gpon-onu_1/3/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

21.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 -

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/3/1:1
ZXAN(gpon-onu-mng)#broadcast-limit ethuni eth_0/1 200

Related Commands
show gpon remote-onu broadcast-limit

21-108

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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:

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 l 100ms


l 10min
l 10ms
l 10s
l 1min
l 1s
l 3.33ms
Default: 1s

21-109

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

{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/3/1:1
ZXAN(gpon-onu-mng)#cfm mep 1 1 ethuni eth_0/1 1
ZXAN(gpon-onu-mng)#

Related Commands
None

Related Information
Because MEP is associated to a bridge port, the uni bridge port must exist.

21.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 }]

21-110

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 l primary-vid: Use the
integer | vpn-id vpn-id | string } primary VLAN ID as the
name.
l integer: Two – byte integer
l vpn-id: OUI + 4 – byte
integer
l String: 1 – 45 characters
Default: primary-vid

ccm { disable | interval { 3.33ms CCM interval Default: 1 s


| 10ms | 100ms | 1s | 10s | 1min
| 10min

vlan vlanlist VLAN list, the system supports Range: 1 – 4094


12 VLAN lists at maximum.

mhf-creation { none | default | MHF creation policy l none: Do not create MHF
explicit | defer } policy.
default: Create MHF policy.
l explicit: The creation is
explicit.
l defer: The MHF policy is
consistent with MD.
Default: defer

21-111

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

senderid { none | chassis | manage Sender ID TLV filling policy l none: No filling
| chassis+manage | defer l chassis: Fill with the
configured chassis.
l manage: Fill withe the
configured management
address.
l chassis+manage: Fill with
configured chassis and
management address.
l 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/3/1:1
ZXAN(gpon-onu-mng)#cfm ma 2 1 name test-ma-2-1
ZXAN(gpon-onu-mng)#

Related Commands
None

21.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:

21-112

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

md-index MD index 1–16

[name {dns <dns-like name Name format and contents l dns: Use character strings
of 1–45 characters|mac like DNS name.
<aabb.ccdd.eeff:xxyy in l mac: Use 采用MAC
HEX|icc-based <ITU carrier address and two-byte
code+UMC code of 13 integer.
characters|<string of 1–45 l icc-based: Use ICC
characters}] (operator code) as the
prefix and UMS code,
totally 13 characters
l 1–45 characters

level level MD level Range: 0–7


Default: 0

mhf-creation { none | default | MHF creation policy l none: Do not create MHF
explicit } policy.
default: Create MHF policy.
l explicit: The creation is
explicit.
Default: none

senderid { none | chassis | manage Sender ID TLV filling policy l none: No filling
| chassis+manage} l chassis: Fill with the
configured chassis.
l manage: Fill withe the
configured management
address.
l chassis+manage: Fill with
configured chassis and
management address.
l 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/3/1:1
ZXAN(gpon-onu-mng)#cfm md 1 name test-md-1 level 5

21-113

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(gpon-onu-mng)#

Related Commands
None

21.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:

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/3/1:1
ZXAN(gpon-onu-mng)#dot1p-map flow 1 unmark-option defprio
ZXAN(gpon-onu-mng)#

21-114

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
show gpon remote-onu dot1p-map flow

21.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:

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

21-115

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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/3/1:1
ZXAN(gpon-onu-mng)#dot1x fallback allow

Related Commands
None

21.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

21-116

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/3/1:1
ZXAN(gpon-onu-mng)#dot1x ethuni eth_0/1 auth enable

Related Commands
None

21.4.10 dhcp-ip
Syntax
dhcp-ip ethuni eth_slot/port {forbidden | from-internet | from-onu | no-ctrl }

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.

21-117

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.4.11 dhcp-option60
Syntax
dhcp-option60 {enable string | disable}

Purpose
To configure the option60 function on an ONU.

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable option60 function -

string Vender ID 1–128 characters

disable Disable option60 function -

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to enable option60 function on the ONU.
ZXAN(gpon-onu-mng)#dhcp-option60 enable 123456

Related Commands
show gpon remote-onu dhcp-option60

21.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:

21-118

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/3/1:1
ZXAN(gpon-onu-mng)#equip-mgmt battery-backup true
ZXAN(gpon-onu-mng)#

Related Commands
None

21.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:

21-119

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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)#

Example
The following example displays how to configure extended VLAN:

ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#ex-vlan ethuni eth_21/4 input-tpid 0x9100
ZXAN(gpon-onu-mng)#

Related Commands
None

21.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

21-120

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/3/1:1
ZXAN(gpon-onu-mng)#ex-vlan-table ethuni eth_0/1 rule single-tag-vid100
treat add-outer-vid200
ZXAN(gpon-onu-mng)#

Related Commands
None

21.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:

21-121

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/1:1
ZXAN(gpon-onu-mng)#flow 1 vid 100
ZXAN(gpon-onu-mng)#

Related Commands
None

21.4.16 flow mode


Syntax
flow mode flowid tag-filter {transparent | discard | forward | prio-filter | vid-filter | prio-vid-
filter | prio-match | vid-match | prio-vid-match} untag-filter {transparent | discard}

Purpose
To configure flow mode

Usage Guidelines
The following table provides parameter description:

21-122

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

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/3/1:1

21-123

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

21.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}]

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


|all}

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

21-124

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

ingress {lan | iphost hostid | Ingress object Default: no filter


ethuni eth_slot/port}

egress {lan|iphost hostid | ethuni Egress object Default: no filter


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

21.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 -

21-125

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure MAC filter:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/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

21.4.19 firewall mac-filter-table


Syntax
firewall mac-filter-table [state {enable | disable}] [mode {permit | discard}]
no firewall mac-filter-table

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)#

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

21-126

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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:

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/3/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

21-127

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show gpon remote-onu firewall ip-filter

21.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

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/4/1:1
ZXAN(gpon-onu-mng)#gemport 1 traffic-limit downstream test1 upstream test2

Related Commands
None

21-128

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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

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/15/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

21.4.23 igmp monitor


Syntax
igmp monitor eth_slot/port

21-129

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/15/1:1
ZXAN(gpon-onu-mng)#igmp monitor eth_0/1

Related Commands
None

21.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} Port management state l lock


l unlock

21-130

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

ds1-framing{extendsuper | g704 | DS1 frame structure Default: extendedsuper


jtg704 | super | unframe}

ds1-mode{mode1 | mode2 | DS1 mode -


mode3 | mode4}

type expected-type Expected card type -

line-length line-length Line length -

line-coding{ami | b3zs | b8zs | Coding mechanism Default: b8zs


hdb3}

line-type{3plcp | ds3cbitparity Line type -


| ds3clearchannel | ds3m23 |
ds3syntran | e3framed | other}

loop{noloop | lineloop | Loop -


opsloop1 | opsloop2 | opsloop3 |
payloadloop}

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/3/1:1
ZXAN(gpon-onu-mng)#interface ces ces_0/1 state lock

Related Commands
None

21.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 }] [pppoe-
filter{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

21-131

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 l lock


l 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 -

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 -


ull-1000 | half-10 | half-100}

wiring {dce | dte } Cable type -

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/3/1:1
ZXAN(gpon-onu-mng)# interface eth eth_0/1 state lock

Related Commands
None

21-132

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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:

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 Receiving optical power Range: -127 to 0dBm


threshold Accuracy: 0.5

low threshold1 The low receiving optical power -


threshold

high threshold2 The high receiving optical power -


threshold

tx-optical-threshold The transmitting optical power Range: -63 to 63.5 dBm


threshold Granularity: 0.5 dB

21-133

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

low threshold1 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 Unit:min
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

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/3/1:1
ZXAN(gpon-onu-mng)#interface pon pon_0/1 sf-threshold 4 sd-threshold 8

21-134

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
None

21.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:

Parameter Description Value

pots_slot/port POTS port, slot number and -


port number

state{lock | unlock} Port management state l lock


l unlock

tx-gain gain Transmitting signal gain 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)#

21-135

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure the impedance of a specified POTS user
port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#interface pots pots_0/1 impedance 10

Related Commands
None

21.4.28 interface video


Syntax
interface video video_slot/port [state{unlock | lock}] [power-control{disable | enable}] [arc arc
arc-interval arc-interval]

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 l lock


l 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/3/1:1
ZXAN(gpon-onu-mng)#interface video video_0/1 state lock

21-136

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
None

21.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

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

arc arc Alarm restrain control (ARC) l 0: no-control, report alarms


l 1: restrain alarm reporting

arc-interval arc-interval ACR inteval 0 – 255, unit: minute


255 refers no limit

agc-mode Auto gain control (AGC) mode l disable: no AGC


l broadband: broadband
gain
l optical: optical gain

offset agc-setting Set gain according to AGC -12.8 dB~12.7 dB


mode Unit: 0.1 dB
l agc-mode is disable, no
need to set;
l agc-mode is broadband,
set broadband gain
l agc-mode is optical, set
optical gain

optical-thresh lower threshold Low optical threshold -12 dBm to 6 dBm


Unit: 0.1 dBm

21-137

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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
l Signal capability 2 or 3:
read only
l 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/6/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
ZXAN(gpon-onu-mng)#interface video-ani optical-thresh lower -60 upper 30

Related Commands
show gpon remote-onu interface video-ani

21.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:

21-138

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 l lock


l 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/3/1:1
ZXAN(gpon-onu-mng)#interface wifi wifi_0/1 arc 0 arc-interval 255 state unlock

Related Commands
None

21.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 l true


l false

21-139

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

ping-response PING response l true


l false

traceroute-response Trace route response l true


l false

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/3/1:1
ZXAN(gpon-onu-mng)#ip-host 1 dhcp-enable true ping-response true traceroute-response true

Related Commands
None

21.4.32 ip-host id
Syntax
ip-host hostId id string

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:

21-140

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#ip-host 1 id test

Related Commands
None

21.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)#

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/3/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

21.4.34 ip-host primary-dns


Syntax
ip-host hostId primary-dns address [second-dns address]

21-141

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/1:1
ZXAN(gpon-onu-mng)#ip-host 1 primary-dns 192.168.1.1 second-dns 192.168.1.10

Related Commands
None

21.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)#

21-142

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Example
The following example displays how to configure IP Service host ID:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#ip-service-map 1 host 1

Related Commands
None

21.4.36 lct
Syntax
lct { enable | disable }

Purpose
To enable LCT

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to enable LCT:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#lct enable

Related Commands
None

21.4.37 loopback
Syntax
loopback

Purpose
To configure ONU loopback

21-143

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/1:1
ZXAN(gpon-onu-mng)#loopback

Related Commands
None

21.4.38 loop-detect
Syntax
loop-detect ethuni eth_slot/port {enable | disable}

Purpose
To enable/disable the loop detection

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/3/1:1
ZXAN(gpon-onu-mng)#loop-detect ethuni eth_0/1 enable
ZXAN(gpon-onu-mng)#

21-144

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
show gpon remote-onu loop-detect

21.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 -

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/3/1:1
ZXAN(gpon-onu-mng)#mac-filter iphost 1 0000.0000.1111 discard
ZXAN(gpon-onu-mng)#

Related Commands
None

21-145

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.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 :
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#me-access 1 1 1 1

Related Commands
None

21.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}] [max-r
etry-time time-in-seconds] [max-retry-attempts times] [service-change-delay time-in-seconds][s
s-vendor ss-vendor]

21-146

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 l text-long


l text-short
l binary

max-retry-time time-in-seconds Maximum retry time Range: 1 – 65535 sec

max-retry-attempts times Maximum retry attempts Range: 1 – 65535

service-change-delay Service state change delay Range: 1 – 65535 sec


time-in-seconds

ss-vendor ss-vendor SS vendor 1 – 4 characters

validate {disable | md5 | basic} Validation mode l md5


l basic
l 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 an MGC:

21-147

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mgc 1 server1 10.64.196.254 validate basic username zte password zte

Related Commands
None

21.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

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.

21-148

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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)#

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

21.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

21-149

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.4.45 mgmt-ip release


Syntax
mgmt-ip release

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

21-150

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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

Related Commands
None

21.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

21-151

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.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

21-152

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

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

21.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 }

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 -


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

21-153

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

id | pw ces_slot/port | vlan ethuni


eth_slot/port vid}

start Start the performance statistics -

stop Stop the performance statistics -

threshold threshold-profile-name Performance statistics threshold -


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

21.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}

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

21-154

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

21.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

appleTalk | arp | bpdu | Ethernet frame type -


ipv4broadcast | ipv4multicast |
ipv6multicast | ipx | netBEUI |
pppoe | rarp

discard Discard filtered frames -

forward Forward filtered frames -

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

21-155

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(gpon-onu-mng)#pkt-filter ethuni eth_0/1 pppoe discard rarp forward


ZXAN(gpon-onu-mng)#

Related Commands
None

21.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 expected-
signalling-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 -

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

21-156

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

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

21.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

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ces_slot/port CES user port -

near-end-ip tcp-udp-port Near-end TCP/UDP port -


number

host hostid Near-end IP host ID -

far-end-ip URI Far-end IP address -

Mode
ZXAN(gpon-onu-mng)#

21-157

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to create PW over IP:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/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.

21.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:

Parameter Description Value

ces_slot/port CES user port -

service-type {basic-unstructure Service type -


| octec-aligned-unstructure |
structured}

signaling {no-signalling | Signaling type -


cas-same-packet-stream |
cas-seperate-channel}

arc arc Alarm suppression 0: No suppression


1: Alarm suppression

arc-interval interval Alarm suppression time Range: 0 – 254


Unit: minute

21-158

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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.

21.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

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 -

21-159

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

timestamp-mode {unknown | Time stamp mode Multiples of 8kHz


absolute | differential}

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 -


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-ssrc 3 payload-ptype 4
signalling-ptype 0 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).
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.

21.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]

21-160

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 -


| differential-timing |
adaptive-timing | loop-timing}

tdm-profile profile-name TDM profile -

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

21.4.57 pw delete
Syntax
pw delete ces_slot/port

Purpose
To delete PW。

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ces_slot/port CES user port -

21-161

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to delete a PW:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pw delete ces_0/1

Related Commands
None

21.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 :

ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#protocol-filter ethuni eth_0/1 forward enable

Related Commands
None

21-162

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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)#

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

21.4.60 range
Syntax
range

Purpose
To display the port range in current mode

Mode
ZXAN(gpon-onu-mng)#

21-163

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.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(config)#interface gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#reboot
ZXAN(gpon-onu-mng)#

Related Commands
None

21.4.62 restore
Syntax
restore

Purpose
To restore remote ONU

21-164

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to restore remote ONU:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#restore
ZXAN(gpon-onu-mng)#

Related Commands
None

21.4.63 restore factory


Syntax
restore factory

Purpose
To restore ONU to the factory default settings, and let the OLT dispatch data to ONU

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to restore the ONU to factory default settings.
ZXAN(config)#pon-onu-mng gpon-onu_1/4/1:1
ZXAN(gpon-onu-mng)#restore factory
ZXAN(gpon-onu-mng)#

Related Commands
None

21-165

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
When the ONU is restored to factory default settings, the ONU restarts and synchronize
MIB with OLT.

21.4.64 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:

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/3/1:1
ZXAN(gpon-onu-mng)#schedule eth_0/1 profile test

Related Commands
None

21.4.65 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

21-166

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 l Internet


l VOIP
l IPTV
l Internet+IPTV
l Hybrid

ethuni eth_slot/port Ethernet interface -

iphost iphost IP host ID 1 – 255

cos cos CoS list, separated by comma, 0–7


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/6/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.

21-167

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

On one ONU,service 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.

21.4.66 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)

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/6/1:1
ZXAN(gpon-onu-mng)#sntp time-zoon GMT+08:00 master-server 1.2.3.4 slave-server
1.2.3.5

21-168

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.4.67 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 -

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/3/1:1
ZXAN(gpon-onu-mng)#switch switch_0/1 forward-delay 4 hello-time 1
ZXAN(gpon-onu-mng)#

21-169

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.4.68 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:

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/3/1:1
ZXAN(gpon-onu-mng)#switchport-bind switch_0/1 ethuni eth_0/1
ZXAN(gpon-onu-mng)#

Related Commands
None

21.4.69 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}]

21-170

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

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

21.4.70 synctime
Syntax
synctime

Purpose
To synchronize the start time of performance statistics

Usage Guidelines
None

Mode
ZXAN(gpon-onu-mng)#

21-171

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to synchronize the start time of performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/4/1:1
ZXAN(gpon-onu-mng)#synctime
ZXAN(gpon-onu-mng)#

Related Commands
None

21.4.71 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

21.4.72 security-ctrl
Syntax
security-ctrl { enable psk psk | disable }

21-172

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Purpose
To configure security control

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

psk psk Pre-shared key 32 characters

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure security control:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#security-ctrl enable psk 1234567890123456789012

Related Commands
None

21.4.73 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 l iphost


l lan
l wan

mode mode Control mode l discard


l permit

21-173

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

start-src-ip start-src-ip end-src-ip Start IP and end IP of the control A.B.C.D


end-src-ip source

state state Control state l enable


l disable

protocol protocol Control protocol (The multiple l ftp


protocols are supported.) l telnet
l web

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure remote security control properties:

ZXAN(config)#pon-onu-mng gpon-onu_1/3/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

21.4.74 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

21-174

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/3/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 reg-exptime 100 rereg-starttime 100

Related Commands
None

21.4.75 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/3/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 registrar-server 10.1.1.1

Related Commands
None

21-175

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.4.76 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:

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/3/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 rereg-starttime 1223

Related Commands
None

21.4.77 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:

21-176

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

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/3/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

21.4.78 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

21-177

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 ss ZTE

Related Commands
None

21.4.79 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 l md5


l basic
l 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/3/1:1

21-178

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

ZXAN(gpon-onu-mng)#sip-agent 1 validate basic username zte password zte

Related Commands
None

21.4.80 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 l md5


basic} l basic
l disable

vmail-username name Voice mailbox user name 0 – 25 characters

vmail-password password Voice mailbox password 0 – 25 characters

21-179

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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

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/3/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

21.4.81 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 username
password password | md5 username username password password realm realm}][vmail-subsc
ript-time time]

Purpose
To configure POTS SIP service

Usage Guidelines
The following table provides parameter description:

21-180

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

username name password User name and password 1 – 25 characters


password

display-name name Display name 1 – 25 characters

vmail-server {IP | URL} Voice mailbox server IP or URL


1 – 128 characters

vmail-validate{disable | md5 | Voice mailbox validation type l md5


basic} l basic
l 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

21.4.82 test
Syntax
test

Purpose
To test ONU

Usage Guidelines
None

21-181

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to test ONU:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test
ZXAN(gpon-onu-mng)#

Related Commands
None

21.4.83 test ipoe


Syntax
test ipoe eth_slot/port {start {username username password password [mac mac] option60 stri
ng} [vlan vid] [timeout time] | stop}

Purpose
To configure IPoE emulation test parameters

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

eth_slot/port ONU Ethernet interface 1–32 characters

start To start test -

username username Username 1–128 characters

password password Password 1–16 characters

mac mac MAC address XXXX.XXXX.XXXX

option60 string Option60 string 1–128 characters

vlan vid VLAN ID 1–4094

timeout time Test time 5–60, unit: s


Default: 30

stop To stop test -

Mode
ZXAN(gpon-onu-mng)#

21-182

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Example
The following example displays how to configure IPoE emulation test parameters.
ZXAN(config)#pon-onu-mng gpon-onu_1/4/1:1
ZXAN(gpon-onu-mng)#test ipoe eth_0/1 start username zte password zte vlan 100 time 5
ZXAN(gpon-onu-mng)#

Related Commands
show gpon remote-onu test-result

21.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 Default: disable


name password password | l disable:no need to
md5 username name password validate
password l basic:basic validation
l md5:MD5 validation

tag Tag mode -

pri pri Priority 0–7

vlan vlanid VLAN ID 1 – 4094

untag Untag mode Default: untag

21-183

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/6/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

21.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/3/1:1

21-184

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

ZXAN(gpon-onu-mng)#up-queue-map flow 1 1 queue 7


ZXAN(gpon-onu-mng)#

Related Commands
None

Related Information
l Before executing this command, it is required to create the relevant flow or 802.1p
connection at UNI or upstream port.
l 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.
l Queue 0 indicates the highest priority queue of T-CONT.

21.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 l transparent


hybrid} l trunk
l tag
l 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)#

21-185

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure VLAN port mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 mode trunk
ZXAN(gpon-onu-mng)#

Related Commands
None

21.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/3/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 VLAN 1

Related Commands
show gpon remote-onu vlan port

21-186

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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/3/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

21-187

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.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

21-188

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 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/3/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

21.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:

21-189

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/3/1:1
ZXAN(gpon-onu-mng)#vlan-filter ethuni eth_0/1 priority 0 vid 10
ZXAN(gpon-onu-mng)#

Related Commands
None

21.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

21-190

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

state state State l lock


l 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/3/1:1
ZXAN(gpon-onu-mng)#veip 1 port tcp 100 host 1 state lock
ZXAN(gpon-onu-mng)#

Related Commands
None

21.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/3/1:1

21-191

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(gpon-onu-mng)#voip protocol mgcp

Related Commands
None

21.4.93 voip-ctp
Syntax
voip-ctp pots_slot/port [signal {loop-start | groud-start | loop-reverse-battery | coin-fist | dial-
tone-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 l loop-start


l groud-start
l loop-reverse-battery
l coin-fist
l dial-tone-first
l 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/3/1:1
ZXAN(gpon-onu-mng)#voip-ctp pots_0/1 signal multi-party

Related Commands
None

21-192

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.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

id onuid ONU ID 1–255

vlan-profile vlan-profile-name VLAN profile name 1–64 characters

ip-profile ip-profiile-name IP profile name 1–64 characters

ip-address address IP address A.B.C.D

mask mask Subnet mask A.B.C.D

username username PPPoE username 1–25 characters

password password PPPoE password 1–25 characters

host hostId Host ID 1–255

ping-response {enable | disable To enable or disable ping Default: enable


response function

traceroute-response {enable | To enable or disable traceroute Default: disable


disable response function

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

21-193

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.4.95 wan
Syntax
wan wan-index [mtu mtu] [ethuni portlist] [ssid portlist] service {[voip] [tr069] [other mvlan
mvid] [internet [host host-id] [pppoe [ connect {always | manual | on-demand}] [proxy { enable
| disable}] [release-timer {internal | time}]]]}

no wan wan-index]

Purpose
To configure the properties of WAN service

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

wan-index WAN index 1–255

mtu mtu Maximum transmission unit 64–2000, unit: byte

ethuni portlist UNI list, format: a,b,c or a-c 1–16

ssid portlist SSID list, format: a,b,c or a-c 1–16

service WAN service type internet


voip
tr069
other
Select one at least

mvlan mvid MLVAN ID 1–4094

host host-id IP主机 1–255

connect {always | manual | PPPoE connection mode Default: always


on-demand}

proxy { enable | disable} To enable or disable proxy -

internal To use the default time on ONU -

time Release time 1–65535, unit: s


Default: 1200

Mode
ZXAN(gpon-onu-mng)#

21-194

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Example
The following example displays how to configure the properties of WAN service.
ZXAN(gpon-onu-mng)#wan 1 ethuni 1-16 ssid 1-16 mtu 2000 service tr069 voip other
mvlan 4094 internet host 1 pppoe connect on-demand proxy enable release-timer internal

Related Commands
show gpon remote-onu wan

21.4.96 wan-ip
Syntax
wan-ip [wan-id] mode {dchp [ id onuid ] | static ip-profile name ip-address address mask mask
| pppoe [mode {auto | chap | pap}] username username password password} vlan-profile name
[ host hostId ]
wan-ip [wan-id] ping-response {enable | disable} traceroute-response {enable | disable} [ host
hostId ]
no wan-ip [wan-id]

Purpose
To configure WAN IP address

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

wan-id WAN ID 1–255

mode IP address mode l dhcp


l static
l pppoe

id onuid ONU ID 1–255

vlan-profile name VLAN profile name 1–64 characters

ip-profile name IP profile name 1–64 characters, only for static


IP mode
Other IP mode: 0

ip-address address IP address A.B.C.D

mask mask Subnet mask A.B.C.D

mode {auto | chap | pap} PPPoE authentication mode -

username username PPPoE username 1–25 characters

21-195

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

password password PPPoE password 1–25 characters

host hostId Host ID 1–255

ping-response {enable | disable To enable or disable ping Default: enable


response function

traceroute-response {enable | To enable or disable traceroute Default: disable


disable response function

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure WAN IP address.
ZXAN(gpon-onu-mng)#wan-ip 1 mode pppoe mode pap username aa password bb vlan-
profile test host 1

Related Commands
show gpon remote onu wan-ip

21.4.97 weight
Syntax
weight tcont tcontId queue queue-number weight

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)#

21-196

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Example
The following example displays how to configure T-CONT weight:
ZXAN(gpon-onu-mng)#weight tcont 1 queue 1 30

Related Commands
None

21.4.98 wifi
Syntax
wifi { enable | disable} [radio-measure { enable | disable}] [ssid-isolate { enable | disable}]
[work-mode mode} [bandwidth bandwidth]] [sgi { enable | disable}] [domain domain] [channel
channel-id] [tx-rate rate] [tx-power-percent percent] [qos-type type]
no wifi wan-index

Purpose
To configure properties of Wi-Fi service

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable | disable To enable or disable Wi-Fi Default: enable


function

radio-measure { enable | disable} To enable or disable radio Default: enable


measurement function

ssid-isolate { enable | disable To enable or disable SSID Default: disable


isolation function

work-mode mode Wifi work mode l 802.11b


l 802.11g
l 802.11b-11g
l 802.11n
l 802.11b-11g-11n (default)

bandwidth bandwidth Bandwidth l 20 mHz


l 40 mHz

sgi { enable | disable} To enable or disable SGI Default: disable


function, only valid for
802.11b-11g-11n

21-197

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

domain domain Current control domain chn,rus,bra,can,egy,


fra,ger,gre,chn-hk,ita,
kor,esp,uk,usa,por,ltu
bra: only valid for 802.11b
Default: chn

channel channel-id Channel ID 0,1–13


0: auto

tx-rate rate Transmission rate l auto


l 1
l 2
l 5.5
l 11
l 6
l 9
l 12
l 18
l 24
l 36
l 48
l 54
Unit: Mbps

tx-power-percent percent Tx power percent l 100 (default)


l 80
l 60
l 40
l 20

qos-type type QoS type l disable


l wmm (default)
l ssid

Mode
ZXAN(gpon-onu-mng)#

Example
The following example displays how to configure properties of Wi-Fi service.
ZXAN(gpon-onu-mng)#wifi disable radio-measure disable ssid-isolate enable work-
mode 802.11b-11g-11n bandwidth 20mhz sgi enable domain rus channel 3 tx-rate 11
tx-power-percent 20 qos-type ssid

Related Commands
show gpon remote-onu wifi info

21-198

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Information
l For bra domain, the work-mode can only be 802.11b.
l For can or usa domain, the channel ID can only be 1–11.
l For 802.11b work-mode, the tx-rate can only be auto, 1, 2, 5.5, or 11.

21.4.99 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 -

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 0 static
ZXAN# show mpnat cfg-table summary

Used Num : 1
Unused Num : 63
Static entry num : 1
Dynamic entry num: 0

21-199

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.4.100 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

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

21-200

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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

21.4.101 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 -

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/3/1:1
hold-time: 60(s)
revert-time: 15(s)

Related Commands
auto-shutdown

21-201

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.4.102 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/3/1:1 eth_0/1

UNI Port: eth_0/1


Limit Rate: 200

Related Commands
broadcast-limit

21.4.103 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:

21-202

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/5/5:1
TCONT number: 0
GEMPort number: 0
Total priority queue number: 0
Up priority queue number: 0
Down priority queue number: 0
Traffic scheduler number: 0
Traffic management option: N/A
Total UNI number: 0
Ethernet UNI number: 0 (GE:0 FE:0)
CES UNI number: 0
POTS UNI number: 0
Video UNI number: 0
WiFi UNI number: 0
IP host number: 0
VEIP number: 0
Operation Id: N/A
CTC spc version: N/A
ONU type: N/A
Tx power supply control: N/A

21.4.104 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:

21-203

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/1:1
interface: eth_0/1
MEP ID:111
MEP CCM:enable
MEP server:disable
MEP AIS:disable
MEP direction:down
MEP state:unlock
MEP CCM priority:7
Peer MEP ID:222
Peer MEP MAC:00d0.d001.0101
MA primary VLAN:100
MA normal VLAN:200,300
MA CCM interveal:1s
MD name:CTC0123456789
MD level:0

Related Commands
None

21.4.105 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:

21-204

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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/14/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

Related Commands
dhcp-ip ethuni

21.4.106 show gpon remote-onu dhcp-option60


Syntax
show gpon remote-onu dhcp-option60 gpon-onu_shelf/slot/olt:onu

Purpose
To display ONU DHCP option60 information

21-205

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 ONU DHCP option60 information.
ZXAN(gpon-onu-mng)#show gpon remote-onu dhcp-option60 gpon-onu_1/5/1:1
Option60 status: enable
Vendor class identifier: 123456

Related Commands
dhcp-option60

21.4.107 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 -

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:

21-206

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

ZXAN#show gpon remote-onu dot1p-map flow gpon-onu_1/3/1:1 1


ZXAN#

Related Commands
None

21.4.108 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/5/1:1

Vendor ID:
Version:
SN: 00000000
Admin status: unlock
Battery backup: false
Security Mode: aes
Product code: 0
TotalPrioQueueNum: 0
TotalTrafficSchNum: 0
TrafficMgmtOption: priority-controlled
OperState: enable
EquipID:
OMCC Version: 0

21-207

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Security Capability: null


Model:
Survival time: N/A
TotalGemPortNum: N/A
SysUpTime: N/A

21.4.109 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

Example
The following example displays the remote ONU extended VLAN information:
ZXAN#show gpon remote-onu ex-vlan ethuni gpon-onu_1/3/1:1 eth_0/1
ZXAN#

Related Commands
None

21-208

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.4.110 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/3/1:1
eth_0/1
ZXAN#

Related Commands
None

21.4.111 show gpon remote-onu flow


Syntax
show gpon remote-onu flow gpon-onu_shelf/slot/olt:onu [flowid]

21-209

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/1:1 1
ZXAN#

Related Commands
None

21.4.112 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

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 -

21-210

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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: 1
Traffic limit:
ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_1/2/3:1 queue-map 1
Gemport ID: 1
Upstream queue map(prio->queue):0->3 1->3 2->3 3->3 4->3 5->3 6->3 7->3
Downstream queue: 0
UNI name: eth_0/1

Related Commands
None

21.4.113 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

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: 0
Max-bandwidth: 0

21-211

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Bandwidth-enforce: disable
Profile: test

Related Commands
None

21.4.114 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 -

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/3/1:1 eth_0/1
interfece: eth_0/1;

21-212

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

admin status: unlock;


operate status: enable;
speed status: full-100;
arc:0, arc-interval 0;
expect-type: 0;
speed config: auto;
eth-loop: noloop
max-frame: 1518;
pause-time: 0
wiring : dce
bridgeOrIP: either
pppoe-filter: disable
power-control: disable
ZXAN#

Related Commands
None

21.4.115 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:

Parameter Description Value

gpon-onu_shelf/slot/olt:onu OLT shelf number, slot number, -


port number and ONU number

hostId ONU host ID 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/3/1:1 1

21-213

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

21.4.116 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

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:

21-214

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

ZXAN(gpon-onu-mng)#show gpon remote-onu ip-service-map gpon-onu_1/14/1:1

Service id: 1
host id: 1

Related Commands
ip-service-map

21.4.117 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/5/5:1

21.4.118 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:

21-215

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/3/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

21.4.119 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 -

21-216

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

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/3/1:1 eth_0/1


ZXAN#

Related Commands
None

21.4.120 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

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>

21-217

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the performance alarm information:
ZXAN(config)#show gpon remote-onu mgc gpon-onu_1/15/1:64

Related Commands
None

21.4.121 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/5/1:1 slot 3

21.4.122 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:

21-218

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Parameter Description Value

gpon-onu_shelf/slot/oltid:onuid 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/3/1:1

Related Commands
None

21.4.123 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 -

Mode
Any mode except ZXAN>

Example
The following example displays PW configuration information:

ZXAN# show gpon remote-onu pw gpon-onu_1/3/1:1

Related Commands
None

21-219

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.4.124 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/3/1:1 eth_0/1
ZXAN#

Related Commands
None

21.4.125 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

21-220

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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 -

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/3/1:1 eth_0/1


ZXAN#

Related Commands
None

21-221

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.4.126 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/3/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;
regUserName: aaa;
regPassword: aaa;
tcpudpPort: 21;
regExpTime : 3600;
reRegStartTime: 1223;
ssVendor: ZTE;
status: NA;

Related Commands
sip-agent

21-222

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.4.127 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/6/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
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.

21-223

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.4.128 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/3/1:1

Related Commands
sip-user

21.4.129 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 -

21-224

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Mode
ZXAN(config-if)#

Example
The following example displays the ONU service mapping type:
ZXAN(config-if)#show gpon remote-onu service gpon-onu_1/5/5:1
Service name Type IfId GemPort Cos Vlan
----------------------------------------------------------------
1 hybrid -- 1 0 100

21.4.130 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/3/1:1


interface: eth_0/1
schedule profile name:test
interface: eth_0/2
schedule profile name:default
interface: eth_0/3
schedule profile name:

21-225

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.4.131 show gpon remote-onu switch


Syntax
show gpon remote-onu switch gpon-onu_shelf/slot_olt:onu switch_slot/switch]

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: 0
Max age: 6 Hello time: 1
Forword delay:4
UnknownMac discard: false
Address learn depth:0
Aging time:300

Related Commands
switch

21-226

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.4.132 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

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/3/1:1
eth_0/1
ZXAN#

Related Commands
None

21.4.133 show gpon remote-onu test-result


Syntax
show gpon remote-onu test-result {call | iphost | ipoe | mep | potsuni | pppoe} gpon-onu_shelf
/slot/oltId:onuid

21-227

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To show the ONU test result, including the voice information, IPoE 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 -

Mode
Any mode except ZXAN>

Example
The following example displays the ONU test result:
ZXAN#show gpon remote-onu test-result ipoe gpon-onu_1/3/1:1 eth_0/1
Status: test passed
IP Addr: 1.2.3.4
Gateway: 1.2.3.1
Vlan Used: 2
Ping Times: 3
Ping Acked Times: 3
Min Delay: 1 ms
Max Delay: 5 ms
Avg Delay: 3 ms

21.4.134 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

21-228

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

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: 1
Admin status: lock
ACS:
Validation scheme: disable
Tag: priority : 7, vlan : 4095

Related Commands
tr069-mgmt

21.4.135 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:

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

21-229

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

---------------------------------------------------------------
2 0:1 1:1 2:1 3:0 4:1 5:3 6:2 7:3

Related Commands
None

21.4.136 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:
ZXAN(gpon-onu-mng)#show gpon remote-onu voip gpon-onu_1/2/3:1
Protocol used: SIP

Related Commands
None

21.4.137 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

21-230

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 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 voice CTP configuration:
ZXAN(config)#show gpon remote-onu voip-ctp gpon-onu_1/15/1:64

Related Commands
None

21.4.138 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

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/15/1:64

21-231

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

21.4.139 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/3/1:1
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/3/1:1
Interface Vlan Prio CVlan CVlan-Prio SVlan SVlan-Prio
............................................................................
eth_0/1 835 0 -- -- 500 1

Related Commands
vlan port

21-232

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

21.4.140 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/3/1:1 eth_0/1

Related Commands
None

21.4.141 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

21-233

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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/3/1:1 eth_0/1

Related Commands
None

21.4.142 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

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 VLAN filter information:
ZXAN#show gpon remote-onu vlan-filter ethuni gpon-onu_1/3/1:1
eth_0/1
ZXAN#

21-234

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
None

21.4.143 show gpon remote-onu wan


Syntax
show gpon remote-onu wan gpon-onu_shelf/slot/olt:onu

Purpose
To displays the ONU WAN information

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 the ONU WAN information.
ZXAN(gpon-onu-mng)#show gpon remote-onu wan gpon-onu_1/5/1:1

WAN index: 5
Service: Internet TR069 VoIP Other
Host ID: 2
PPPoE connect mode: on-demand
PPPoE release timer: ont internal policy
PPPoE proxy: enable
MVLAN: 4094
MTU: 2000
Ethernet UNI: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
SSID: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Online duration: 0(s)

Related Commands
wan

21-235

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

21.4.144 show gpon remote onu wan-ip


Syntax
show gpon remote-onu wan-ip gpon-onu_shelf/slot/olt:onu

Purpose
To display the ONU WAN IP inforamtion

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 the ONU WAN IP information.
ZXAN(gpon-onu-mng)#show gpon remote-onu wan-ip gpon-onu_1/5/1:1

WAN id: 1
Mode: PPPoE
Authentication: chap
User name: aa
Password: bb
Status: unconfigured
Ping response: enable
Traceroute response: disable
VLAN tag mode: tag
CVLAN: 100
CVLAN priority: 5
SVLAN: 0
Current IP: 0.0.0.0
Current mask: 0.0.0.0
Current gateway:0.0.0.0
Current primary DNS: 0.0.0.0
Current secondary DNS: 0.0.0.0
Domain name:
Host name:
MAC address: 0000.0000.0000
IP host id: 1)

21-236

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 21 GPON Commands

Related Commands
wan-ip

21.4.145 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/14/1:1
Tcont Queue Weight
--------------------------------------
1 1 255
1 2 1
1 3 1
1 4 1

Related Commands
weight

21.4.146 show gpon remote-onu wifi info


Syntax
show gpon remote-onu wifi info gpon-onu_shelf/slot/olt:onu

Purpose
To display the ONU Wi-Fi information

21-237

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 the ONU Wi-Fi information.
ZXAN(gpon-onu-mng)#show gpon remote-onu wifi info gpon-onu_1/4/1:1
Admin status: enable
Operate status: enable
Radio measurement: enable
SSID isolation: isolated
Work mode: 802.11b-11g-11n
Bandwidth: 20(MHz)
SGI status: disable
Current regulatory domain: China
Channel: auto
Tx rate: auto
Transmitting power: 40%
QoS type: WMM

Related Commands
wifi

21-238

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22
CPE Version Management
Table of Contents
cpe abort ..................................................................................................................22-1
cpe activate..............................................................................................................22-2
cpe commit...............................................................................................................22-3
cpe update ...............................................................................................................22-4
cpe update-commit...................................................................................................22-4
cpe update-and-reboot .............................................................................................22-5
cpe update-reonline..................................................................................................22-6
show cpe update-status............................................................................................22-6
show cpe information ...............................................................................................22-7
show cpe task ..........................................................................................................22-8
show cpe summary-of ..............................................................................................22-9
cpe task .................................................................................................................22-10
action .....................................................................................................................22-10
description.............................................................................................................. 22-11
equipment-type ......................................................................................................22-12
match-vertag ..........................................................................................................22-13
mode......................................................................................................................22-13
range......................................................................................................................22-14
service-type............................................................................................................22-15
vendor-name ..........................................................................................................22-16
version-file..............................................................................................................22-16
task add .................................................................................................................22-17
task abort ...............................................................................................................22-17
task restart ............................................................................................................22-18
task delete..............................................................................................................22-18

22.1 cpe abort


Syntax
cpe abort {oltIfName CPEList|type typename}

Purpose
To abort the CPE version operation

22-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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#

Related Commands
None

22.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#

22-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

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

22.3 cpe commit


Syntax
cpe commit {oltIfName cpelist|type typename}

Purpose
To configure the default starting 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 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

22-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

22.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#

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

22.5 cpe update-commit


Syntax
cpe update-commit versionName {oltIfName cpeList | type typeName}

Purpose
To upgrade CPE version and configure it as the default starting version

Usage Guidelines
The following table provides parameter description:

22-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

Parameter Description Value

versionName CPE version file name 1–32 characters

oltIfName PON OLT interface –

cpeList CPE list 1–64 characters

type typeName CPE type name 1–16 characters

Mode
ZXAN#

Example
The following example shows how to upgrade the version on gpon-olt_1/2/1 and configure
the default starting CPE version.
ZXAN#cpe update-commit f460914.bin gpon-olt_1/2/1 1
ZXAN#

Related Commands
None

22.6 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#

22-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

22.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:

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/3/1 aadd

Related Information
The new version is automatically activated and submitted when the CPE gets online next
time.

22.8 show cpe update-status


Syntax
show cpe update-status oltIfName cpelist

22-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

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
Action : Update
Status : In-progress
Progress : 4%
Failreason : None
Committime :

Related Commands
None

22.9 show cpe information


Syntax
show cpe information oltIfName cpelist

Purpose
To display the CPE information

Usage Guidelines
The following table provides parameter description:

22-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 Region 2
Vertag : V1.0.1P1T3 Vertag :
Commited : No Commited : No
Activated : No Activated : No
Valid : Yes Valid : No

Related Commands
None

22.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

22-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

Example
The following example shows how to display the task information:
ZXAN#show cpe task
Taskname : f460test
Status : Working Imagename : f460914
ImageSize : 3652304 CpeType : f460
Action : Update-and-reboot CpeVendorName: ZTE
UpdateMode : Both CpeVerBase : v1.0
ImgLocation: Local Condition : NotEqual
ObjType : Ne ServiceType : Epon

Related Commands
None

22.11 show cpe summary-of


Syntax
show cpe summary-of {manual|task taskname}

Purpose
To display the CPE task summary information

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

22-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Operating:
Fail:
Success:
epon-onu_1/2/1: 1

Related Commands
None

22.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 -

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

22.13 action
Syntax
action { update | update-and-reboot | reboot }

22-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

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

22.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)#

22-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

22.15 equipment-type
Syntax
equipment-type string

Purpose
To configure equipment type for task

Usage Guidelines
The following table provides parameter description:

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.

22-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

22.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)#

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.

22.17 mode
Syntax
mode { online | offline | both }

22-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

22.18 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 -

Mode
ZXAN(cpe-task)#

22-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

Example
The following example displays how to configure task range
ZXAN(cpe-task)#range port gpon-olt_1/5/1

Related Commands
None

Related Information
When the task range is port, you can specify multiple ports range by using multiple range
port commands.

22.19 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

22-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

22.20 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

22.21 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)#

22-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

Example
The following example displays how to configure version file name for the task:
ZXAN(cpe-task)#version-file f420.bin

Related Commands
None

22.22 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

22.23 task abort


Syntax
task abort

Purpose
To abort the CPE task

Usage Guidelines
None

22-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

22.24 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

22.25 task delete


Syntax
task delete

Purpose
To delete the CPE task

22-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 22 CPE Version Management

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

22-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

22-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23
Multicast Commands
Table of Contents
Layer-3 Multicast Commands ...................................................................................23-1
IGMP Snooping Global Commands........................................................................23-38
IGMP Snooping Interface Commands ....................................................................23-56
MVLAN Commands................................................................................................23-66
SCB VLAN Commands ..........................................................................................23-87
MLD Snooping Global Commands .........................................................................23-89
MLD Snooping Interface Commands ....................................................................23-100
MLD MVLAN Commands .....................................................................................23-109

23.1 Layer-3 Multicast Commands


23.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

23-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-router)#accept-register 1
ZXAN(config-router)#

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.

23.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

23-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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.

23.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

23-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

23.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

23.1.5 clear ip msdp peer


Syntax
clear ip msdp peer [peer-address]

23-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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.

23.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:

23-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

23.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)#

23-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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)#

23-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

23.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 Description Value

seconds 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

23-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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

23-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

23.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

23-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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.

23.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

23.1.13 ip igmp version


Syntax
ip igmp version version
no ip igmp version

23-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

23.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

23-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

ZXAN(config)#

Related Commands
None

23.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.

23.1.16 ip pim dm
Syntax
ip pim dm

23-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

23.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

23-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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.
l 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.

23.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:

23-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

23.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)#

23-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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

23-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

23.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

23.1.22 router pimsm


Syntax
router pimsm

no router pimsm

Purpose
To enable the PIM-SM multicast protocol

23-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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 -

group-list access-list-number Access-list reference for group Range: 1 - 99


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:

23-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

23.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 0 0 0
vlan2 0 0 0
Summary 0 0 0
ZXAN#

ZXAN#show ip igmp groups vlan 2


Total: 1 groups joined in vlan2

23-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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:

23-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

23.1.26 show ip igmp packet-count


Syntax
show ip igmp packet-count [interface-name]

23-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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 Query ReportV2 Leave
ReportV1 Others Total
vlan100 0 0 0
0 0 0
vlan2 0 0 0
0 0 0
Summary 0 0 0
0 0 0

Send IGMP Packets Count


Interface Query Spec-Query Total
vlan100 0 0 0
vlan2 0 0 0
Summary 0 0 0
ZXAN#

Related Commands
None

23.1.27 show ip igmp snooping


Syntax
show ip igmp snooping [vlan vlanid [group group-address ]| | statistic [clear] ]

23-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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>

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;

23.1.28 show ip mforwarding


Syntax
show ip mforwarding {summary | group-address group-address [source-address source-addr
ess]}

Purpose
To display the multicast forwarding route entries

23-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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

23.1.29 show ip mroute


Syntax
show ip mroute [brief | group group-address [source source-address] | source source-address |
summary]

Purpose
To display the contents of the multicast routing (mroute) table

23-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

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.

23-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Parameter Description

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

23.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
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

23-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

23.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

Usage Guidelines
The following table provides parameter description:

23-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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

23.1.32 show ip pim rp mapping


Syntax
show ip pim rp mapping

23-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
static-rp

23-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.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 Query DR DR
Count Intvl Priority
10.1.1.1 vlan2 Down 0 50 0.0.0.0 1000
0.0.0.0 vlan100 Down 0 30 0.0.0.0 1
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

DR IP address of the DR on a network

DR Priority DR Priority

23-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
ip pim sm
show ip pimsm neighbor

23.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
ZXAN#

The following table describes the parameters displayed in the example:

23-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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

23.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#

The following table describes the parameters displayed in the example:

23-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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:sec-


onds) the entry has been in the PIM neighbor
table

Expires Expires shows how long (in hours:minutes:sec-


onds 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

23.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:
ZXAN#show ip pimsm packet-count vlan 2
MR and PIMSM receive and Send packet summary
DataUpsend: 0

23-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Packet-type Rx_ok Tx_ok Rx_err Tx_err


Hello 0 0 0 0
Register 0 *0 0 *0
Register-Stop 0 *0 0 *0
Join/Prune 0 0 0 0
BSR 0 0 0 0
Assert 0 0 0 0
CRP-ADV 0 *0 0 *0
PROBE 0 *0 0 *0
ERR_TYPE 0 0 0 0
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

23.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:

Parameter Description Value

source-address IP address or name of a A.B.C.D


multicast source for which to
display RPF information

23-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

23.1.38 spt-threshold
Syntax
spt-threshold infinity [group-list access-list-number]
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

23-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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

23.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:

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

23-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

23.2 IGMP Snooping Global Commands


23.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

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the IGMP on an interface:
ZXAN(config)#interface gpon-onu_1/4/2:3
ZXAN(config-if)#igmp enable vport 1

23-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

ZXAN(config-if)#

Related Commands
show igmp interface

Related Information
By default, IGMP is enabled.

23.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:

ZXAN(config)#igmp version-mode v3 accept


ZXAN(config)#

Related Commands
show igmp

23-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
By default, all IGMP packets are accepted.

23.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

23.2.4 igmp span-vlan


Syntax
igmp span-vlan {enable | disable}

Purpose
To enable or disable IGMP span VLAN

Usage Guidelines
The following table provides parameter description:

23-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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.

23.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 -

Mode
ZXAN(config)#

Example
The following example displays how to enable IGMP bandwidth control:

23-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#igmp bandwidth-control enable


ZXAN(config)#

Related Commands
None

Related Information
By default, bandwidth control is disabled.

23.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)#

Related Commands
show igmp log

Related Information
By default, IGMP logging is disabled.

23-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.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.

23.2.8 igmp query-interval


Syntax
igmp query-interval interval

23-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

23.2.9 igmp query-max-resp


Syntax
igmp query-max-resp query-max-resp

Purpose
To configure the maximum response time advertised in IGMP queries

Usage Guidelines
The following table provides parameter description:

23-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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.

23.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:

Parameter Description Value

interval IGMP last member query Range: 1 - 255


interval Default: 10

Mode
ZXAN(config)#

23-45

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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)#igmp last-query-interval 20
ZXAN(config)#

Related Commands
show igmp

Related Information
By default, the IGMP last member query interval is 1 second.

23.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)#

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)#

23-46

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Related Commands
show igmp

23.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

23.2.13 igmp host-tracking


Syntax
igmp host-tracking {enable | disable}

Purpose
To enable or disable IGMP host tracking

Usage Guidelines
The following table provides parameter description:

23-47

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

23.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) -

Mode
ZXAN(config)#

Example
The following example displays how to enable IGMP multi-copy multicast:
ZXAN(config)#igmp mcm enable

23-48

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Related Commands
show igmp

23.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

23.2.16 igmp statistics clear


Syntax
igmp statistics clear {[mvlan vlan-id] [interface if-name [vport vport]]}

Purpose
To clear IGMP statistics information

Usage Guidelines
The following table provides parameter description:

23-49

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

mvlan vlan-id 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)#

Example
The following example displays how to clear IGMP statistics:
ZXAN(config)#igmp statistics clear current mvlan 100
ZXAN(config)#

Related Commands
None

23.2.17 show igmp


Syntax
show igmp

Purpose
To display the IGMP configuration information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the IGMP configuration information:
ZXAN#show igmp
IGMP global parameters:
----------------------------------------------------
IGMP is globally enable.

23-50

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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

23.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

Mode
Any mode except user mode

Example
The following example displays IGMP packet statistics:

23-51

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/9/1:1 vport 1


Mld Statistics of Mvlan: 100 Port: gpon-onu_1/9/1:1:1
---------------------------------------------------
successful joins : 0
leave messages : 0
gen-query to users : 0
spe-query to users : 0
--------------------------------------------------

Related Commands
igmp mvlan

23.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:

Parameter Description Value

mvlan vlan-id MVLAN ID 1 – 4095

23-52

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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
DropRxUnknown : 0

23-53

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show igmp statistics

23.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
RxV3Report : 0
RxLeave : 0

23-54

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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

23.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 -

Mode
Any mode except ZXAN>

23-55

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/13/1
Active Group Num : 0
Active User Num : 0

Related Commands
None

23.3 IGMP Snooping Interface Commands


23.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/4/2:3
ZXAN(config-if)#igmp drop vport 1
ZXAN(config-if)#

Related Commands
None

23-56

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.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.

23.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) -

23-57

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/4/1:1
ZXAN(config-if)#igmp version v1 vport 1

Related Commands
None

23.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

1 IGMP version 1 -

2 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)#

23-58

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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.

23.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/4/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.

23-59

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

23.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/4/2:3
ZXAN(config-if)#igmp max-groups 1024
ZXAN(config-if)#

Related Commands
None

23.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:

23-60

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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/4/2:3
ZXAN(config-if)#igmp proxy-ip 10.1.1.1 vport 1
ZXAN(config-if)#

Related Commands
None

23.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

vport vport Virtual port ID Range: 1 - 255

Mode
ZXAN(config-if)#

23-61

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/4/2:3
ZXAN(config-if)#igmp last-query-interval 10 vport 1
ZXAN(config-if)#

Related Commands
None

23.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/4/2:3
ZXAN(config-if)#igmp last-query-count 3 vport 1
ZXAN(config-if)#

23-62

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Related Commands
None

23.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 Value

robustness IGMP querier robustness Range: 2 - 5


variable 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 times that the system
sends each IGMP message from this interface:
ZXAN(config)#interface gpon-onu_1/4/2:3
ZXAN(config-if)#igmp robustness 3 vport 1
ZXAN(config-if)#

Related Commands
None

23.3.11 igmp query-max-resp


Syntax
igmp query-max-resp query-max-resp [vport vport]

23-63

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
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/4/2:3
ZXAN(config-if)#igmp query-max-resp 10 vport 1
ZXAN(config-if)#

Related Commands
None

23.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

23-64

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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/4/2:3
IGMP interface gpon-onu_1/4/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

23.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

23-65

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the IGMP interface active group list information:
ZXAN#show igmp interface gpon-onu_1/4/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

23.4 MVLAN Commands


23.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

23-66

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Related Information
l Before configure the MVLAN translation rule, you need configure the MVLAN first.
l The ZXA10 C300 supports only downstream MVLAN translation for protocol packets
and data packets.
l The ZXA10 C300 supports only 1:1 translation.
l The ZXA10 C300 supports maximum 16 translation entries.

23.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

23.4.3 igmp mvlan cvlan


Syntax
igmp mvlan vid cvlan vid

Purpose
To configure the correspondence between the MVLAN and CVLAN

23-67

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

23.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)#

23-68

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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

23-69

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
Proxy mode is the default IGMP working mode.

23.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.

23.4.7 igmp mvlan host-version


Syntax
igmp mvlan vid host-version host-version

23-70

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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)#

23-71

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure source port on NNI side:
ZXAN(config)#igmp mvlan 100 source-port gei_1/22/1
ZXAN(config)#

Related Commands
None

23.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/4/2:3


ZXAN(config)#

Related Commands
None

23-72

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.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

23.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

enable Enable the group access control -

23-73

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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.

23.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

23-74

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 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

23.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)#

23-75

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

23.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/4/2:3
ZXAN(config)#

Related Commands
None

23-76

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.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.

23-77

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

23.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

23.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:

23-78

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Parameter Description Value

vid VLAN ID 1 – 4094

priority value Priority 0 – 7, default: 0

Mode
ZXAN(config)#

Example
The following example displays how to configure the priority of IGMP protocol packets:
ZXAN(config)#igmp mvlan 100 priority 7

Related Commands
None

23.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)#

Example
The following example displays how to clear the IGMP statistics information:
ZXAN(config)#igmp statistics clear history mvlan 100
ZXAN(config)#

23-79

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

23.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

23.4.20 show igmp interface


Syntax
show igmp interface interface-name [vport vport]

23-80

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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/4/2:3
IGMP interface gpon-onu_1/4/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

23.4.21 show igmp mvlan


Syntax
show igmp mvlan [vid]

Purpose
To display MVLAN information

23-81

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 0
10 enable proxy 0.0.0.0 enable 1024 0
100 enable snooping 10.1.1.1 enable 1024 0
ZXAN#

Related Commands
None

23.4.22 show igmp mvlan group


Syntax
show igmp mvlan vid [group [group-address]]

Purpose
To display the MVLAN group details

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

23-82

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Example
The following example displays the MVLAN group details:
ZXAN#show igmp mvlan 100
Source Port : gei_1/22/1
Receive Port : group: 224.1.1.1 - 224.1.1.10,
224.224.1.1 - 224.224.1.127
ZXAN#

Related Commands
None

23.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

Mode
Any mode except user mode

Example
The following example displays the dynamic member information:
ZXAN#show igmp dynamic-member
ZXAN#

Related Commands
None

23-83

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

23.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

23.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:

23-84

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

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

23.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

23-85

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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/4/2:3 vport 1
ZXAN#

Related Commands
None

23.4.27 show mvlan-translate


Syntax
show mvlan-translate

Purpose
To show downstream multicast traffic VLAN translate items

Usage Guidelines
None

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

23-86

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

1007 107
1008 108
1009 109
1010 110
1011 111
1012 112

Related Command
mvlan-translate

23.5 SCB VLAN Commands


23.5.1 vlan-scb-action vlan-remove
Syntax
vlan-scb-action interface interface vlan-remove vlan vlanid
vlan-scb-action interface interface vlan-remove svlan vlanid vlan {any | vlanid}
no vlan-scb-action interface interface vlan-remove vlan vlanid
no vlan-scb-action interface interface vlan-remove svlan vlanid vlan {any | vlanid}

Purpose
To configure the EPON OLT to remove the tag of downstream SCB traffic
Use the no command to delete the configuration

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface interface EPON OLT interface -

vlan vlanid VLAN ID 1 – 4094

svlan vlanid SVLAN ID 1 – 4094

Mode
ZXAN(config)#

Example
The following example displays how to configure the EPON OLT to remove the tag of
downstream SCB traffic:

23-87

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#vlan-scb-action interface epon-olt_1/12/1 vlan-remove vlan 10

Related Commands
show vlan-scb-action

23.5.2 vlan-scb-action vlan-translate


Syntax
vlan-scb-action interface interface vlan-translate vlan vlanid user-vlan vlanid
vlan-scb-action interface interface vlan-translate svlan svlanid vlan {any | vlanid} user-vlan
vlanid
no vlan-scb-action interface interface vlan-translate vlan vlanid user-vlan vlanid
no vlan-scb-action interface interface vlan-translate svlan svlanid vlan {any | vlanid} user-vlan
vlanid

Purpose
To configure the EPON OLT to translate VLAN of downstream SCB traffic
Use the no command to delete the configuration

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface interface EPON OLT interface -

vlan vlan CVLAN ID 1 – 4094

user-vlan vlanid User VLAN ID 1 – 4094

svlan vlanid SVLAN 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 interface gpon-olt_1/5/1 vlan-translate svlan 10
vlan any user-vlan 100

Related Commands
show vlan-scb-action

23-88

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Relate Information
When the CVLAN value is any, the VLAN translation is based on SVLAN only.

23.6 MLD Snooping Global Commands


23.6.1 mld enable
Syntax
mld enable

Purpose
To enable or disable MLD

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enable MLD:
ZXAN(config)#mld enable

Related Commands
None

23.6.2 mld bandwidth-control


Syntax
mld bandwidth-control { enable | disable }

Purpose
To enable or disable MLD bandwidth control

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable To enable the bandwidth control -

23-89

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

disable To disable the bandwidth control -

Mode
ZXAN(config)#

Example
The following example displays how to enable MLD bandwidth control:
ZXAN(config)#mld bandwidth-control enable

Related Commands
None

Related Information
When the bandwidth of current multicast groups exceeds the configured multicast
bandwidth on a PON port, the PON port cannot join new multicast groups.

23.6.3 mld host-tracking


Syntax
mld host-tracking {enable | disable}

Purpose
To enable or disable MLD host-tracking

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable host-tracking -

disable Disable host-tracking -

Mode
ZXAN(config)#

Example
The following example displays how to enable MLD host-tracking:

ZXAN(config)#mld host-tracking enable

23-90

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Related Commands
show mld

23.6.4 mld last-query-interval


Syntax
mld last-query-interval interval

Purpose
To configure last member query interval

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interval MLD last member query interval Range: 1 – 255


Unit: 100 ms
Default: 1 s

Mode
ZXAN(config)#

Example
The following example displays how to configure last member query interval:
ZXAN(config)#mld last-query-interval 20

Related Commands
show mld

23.6.5 mld last-query-count


Syntax
mld last-query-count count

Purpose
To configure MLD last-query counts

Usage Guidelines
The following table provides parameter description:

23-91

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

count Last query counts 2–5


Default: 2

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD last-query counts:
ZXAN(config)#mld last-query-count 3
ZXAN(config)#

Related Commands
show mld

23.6.6 mld log


Syntax
mld log { enable | disable }

Purpose
To enable or disable MLD log

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable MLD log -

disable Disable MLD log -

Mode
ZXAN(config)#

Example
The following example displays how to enable MLD log:
ZXAN(config)#mld log enable

Related Commands
None

23-92

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.6.7 mld snooping-aging-time


Syntax
mld snooping-aging-time aging-time

Purpose
To configure MLD snooping aging time

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

aging-time Aging time 30 – 3600


Unit: s
Default: 300 s

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD snooping aging time:
ZXAN(config)#mld snooping-aging-time 500
ZXAN(config)#

Related Commands
None

23.6.8 mld span-vlan


Syntax
mld span-vlan { enable | disable }

Purpose
To enable or disable MLD span VLAN function

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable Default: enable

23-93

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

disable Disable -

Mode
ZXAN(config)#

Example
The following example displays how to enable MLD span-VLAN function:
ZXAN(config)#mld span-vlan enable

Related Commands
None

23.6.9 mld robustness


Syntax
mld robustness robustness

Purpose
To configure MLD robustness

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

robustness MLD robustness 2–5


Default: 2

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD robustness:

ZXAN(config)#mld robustness 3

Related Commands
None

23-94

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.6.10 mld query-interval


Syntax
mld query-interval interval

Purpose
To configure MLD general query interval

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interval Query interval 60 – 300


Unit: second
Default: 125 s

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD general query interval:

ZXAN(config)#mld query-interval 60

Related Commands
show mld

23.6.11 mld query-max-resp


Syntax
mld query-max-resp query-max-resp

Purpose
To configure the maximum response time advertised in MLD queries

Usage Guidelines
The following table provides parameter description:

23-95

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

query-max-resp Maximum response time 10 – 250


Unit: 100 ms
Default: 10 s

Mode
ZXAN(config)#

Example
The following example display how to configure the maximum response time advertised in
MLD queries:
ZXAN(config)#mld query-max-resp 50

Related Commands
show mld

23.6.12 mld unsolicited-report-interval


Syntax
mld unsolicited-report-interval interval

Purpose
To configure MLD unsolicited report interval

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interval Unsolicited report interval 1 – 60


Unit: s

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD unsolicited report interval:
ZXAN(config)#mld unsolicited-report-interval 2

Related Commands
show mld

23-96

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.6.13 mld prejoin-interval


Syntax
mld prejoin-interval interval

Purpose
To configure MLD pre-join interval

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interval Pre-join interval 60 – 300


Unit: s

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD pre-join interval:
ZXAN(config)#mld prejoin-interval 125

Related Commands
show mld

23.6.14 mld statistics clear


Syntax
mld statistics clear { current | history }{[mvlan vlan-id] [interface if-name [vport vport]]}

Purpose
To clear MLD statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

mvlan vlan-id MVLAN ID Range: 1 – 4094

interface if-name Interface Range: 0 – 32 characters

23-97

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

vport vport Virtual port ID Range: 1 – 32

current Current statistics -

history History statistics -

Mode
ZXAN(config)#

Example
The following example displays how to clear MLD statistics:
ZXAN(config)#mld statistics clear current mvlan 100
ZXAN(config)#

Related Commands
None

23.6.15 show mld


Syntax
show mld

Purpose
To display MLD configuration

Usage Guidelines
The following table provides parameter description:
None

Mode
Any mode except ZXAN>

Example
The following example displays MLD configuration:
ZXAN#show mld
MLD global parameters:
---------------------------------------------------
MLD is globally enable.
MLD log is disable.
Snooping aging time is 300 seconds.

23-98

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Bandwidth control is disable.


Host tracking is disable.
Span vlan is enable.
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.
Unsolicited report interval is 10 seconds.
Source filter mode is asmssm.
Prejoin interval is 120(second).
MLD v1 mode is accept.
MLD v2 mode is accept.

Related Commands
None

23.6.16 show mld statistics


Syntax
show mld statistic [mvlan mvlan-id] [interface if-name [vport vport]]

Purpose
To display MLD statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

mvlan-id mvlan-id MVLAN ID Range: 1 – 4095

interface if-name PON-ONU interface name -

vport vport Virtual port ID Range: 1 – 255

Mode
Any mode except ZXAN>

Example
The following example displays MLD statitics:
ZXAN(config)#show mld statistics mvlan 100
Mld Statistics of Mvlan : 100
--------------------------------------------------

23-99

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/9/1:1 vport 1


Igmp Statistics of Mvlan: 100 Port: gpon-onu_1/9/1:1:1
---------------------------------------------------
successful joins : 0
leave messages : 0
gen-query to users : 0
spe-query to users : 0
--------------------------------------------------

Related Commands
mld mvlan

23.7 MLD Snooping Interface Commands


23.7.1 mld drop
Syntax
mld drop [vport vport]

Purpose
To configure the port to drop MLD data

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

23-100

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Example
The following example displays how to configure the port to drop MLD data:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld drop vport 1
ZXAN(config-if)#

Related Commands
None

23.7.2 mld enable(interface)


Syntax
mld enable [Vport vport]

Purpose
To enable MLD on the port

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

Example
The following example displays how to enable MLD on the port:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld enable vport 1
ZXAN(config-if)#

Related Commands
None

23.7.3 mld version


Syntax
mld version {v1 | v2}
no mld version

23-101

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To configure MLD version on the port

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

v1 MLD version 1 -

v2 MLD version 2 -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure MLD version on the port:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld version v1

Related Commands
show ip mld interface

23.7.4 mld fast-leave


Syntax
mld fast-leave { enable | disable } [ vport vport ]

Purpose
To enable or disable MLD fast-leave on the port

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable fast-leave -

disable Disable fast-leave -

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

23-102

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Example
The following example displays how to enable MLD fast-leave on the port:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld fast-leave enable vport 1
ZXAN(config-if)#

Related Commands
None

23.7.5 mld max-groups


Syntax
mld max-groups group-num [ vport vport ]

Purpose
To configure maximum MLD group number on the port

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

group-num Maximum MLD group number Range: 0 – 8000

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

Example
The following example displays how to configure maximum MLD group number on the
port:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld max-groups 1024
ZXAN(config-if)#

Related Commands
None

23-103

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

23.7.6 mld proxy-ip


Syntax
mld proxy-ip ip-address [vport vport]

Purpose
To configure MLD proxy IP address

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address Proxy IP address IPv6 address

vport vport Virtual port ID Range: 1 – 255

Mode
ZXAN(config-if)#

Example
The following example displays how to configure MLD proxy IP address:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld proxy-ip ff8e::1 vport 1
ZXAN(config-if)#

Related Commands
None

23.7.7 mld last-query-interval (interface)


Syntax
mld last-query-interval last-query-interval [vport vport]

Purpose
To configure the last member query interval, namely the interval that the device waits
between sending MLD group-specific queries

Usage Guidelines
The following table provides parameter description:

23-104

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Parameter Description Value

interval MLD last member query interval Range: 1 – 255


Unit: 100 ms

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the last member query interval, namely
the interval that the device waits between sending MLD group-specific queries:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld last-query-interval 10 vport 1
ZXAN(config-if)#

Related Commands
None

23.7.8 mld last-query-count (interface)


Syntax
mld 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 2–5


Default: 2

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

23-105

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/4/2:1
ZXAN(config-if)#mld last-query-count 3 vport 1
ZXAN(config-if)#

Related Commands
None

23.7.9 mld robustness (interface)


Syntax
mld robustness robustness [vport vport]

Purpose
To configure MLD robustness on the port

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

robustness MLD robustness Range: 2 – 5


Default: 2

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

Example
The following example displays how to configure MLD robustness on the port:

ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld robustness 3 vport 1
ZXAN(config-if)#

Related Commands
None

23-106

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.7.10 mld query-max-resp (interface)


Syntax
mld query-max-resp query-max-resp [vport vport]

Purpose
To configure the maximum response time advertised in MLD queries

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

query-max-resp Maximum response time 10 – 250


advertised in MLD queries Unit: 100 ms
Default: 10 s

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum response time advertised
in MLD queries:
ZXAN(config)#interface gpon-onu_1/4/2:1
ZXAN(config-if)#mld query-max-resp 10 vport 1
ZXAN(config-if)#

Related Commands
None

23.7.11 show mld interface


Syntax
show mld interface if-name [vport vport]

Purpose
To display port MLD configuration

Usage Guidelines
The following table provides parameter description:

23-107

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

if-name Interface name Range: 0 – 32 characters

vport vport Virtual port ID Range: 1 – 32

Mode
Any mode except ZXAN>

Example
The following example displays port MLD configuration:
ZXAN#show mld interface gpon-onu_1/4/2:3

Related Commands
None

23.7.12 show mld interface dynamic-group-list


Syntax
show mld interface if-name [vport vport] dynamic-group-list

Purpose
To display dynamic MLD group list on the port

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 – 32

Mode
Any mode except ZXAN>

Example
The following example displays dynamic MLD group list on the port:
ZXAN#show mld interface gpon-onu_1/4/2:1 dynamic-group-list
VID Group IP Join Time Host ID
------------------------------------------------
100 244.1.1.1 15:30:00 Oct 20 2007
ZXAN#

23-108

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Related Commands
None

23.8 MLD MVLAN Commands


23.8.1 mld mvlan
Syntax
mld mvlan vid
no mld mvlan vid

Purpose
To create MLD MVLAN

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID 1 – 4094

Mode
ZXAN(config)#

Example
The following example displays how to create MLD MVLAN:
ZXAN(config)#mld mvlan 100

Related Commands
None

23.8.2 mld mvlan work-mode


Syntax
mld mvlan vid work-mode { snooping | router | proxy }

Purpose
To configure MLD work mode

23-109

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

snooping MLD snooping mode -

router MLD router mode -

proxy MLD proxy mode -

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD work mode:
ZXAN(config)#mld mvlan 100 work-mode snooping
ZXAN(config)#

Related Commands
None

23.8.3 mld mvlan host-ip


Syntax
mld mvlan vid host-ip ip-address

Purpose
To configure MLD 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 IPv6 address

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD MVLAN host IP address:

23-110

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

ZXAN(config)#mld mvlan 100 host-ip ff8e::1


ZXAN(config)#

Related Commands
None

23.8.4 mld mvlan host-version


Syntax
mld mvlan vid host-version {auto | v1 | v2 }

Purpose
To configure MLD MVLAN host version

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

auto To select the host version -

v2 To select v2 by force -

v3 To select v3 by force -

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD MVLAN host version:
ZXAN(config)#mld mvlan 100 host-version v2
ZXAN(config)#

Related Commands
None

23.8.5 mld mvlan priority


Syntax
mld mvlan vid priority priority

23-111

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To configure MVLAN MLD priority

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

priority Priority Range: 0 – 7

Mode
ZXAN(config)#

Example
The following example displays how to configure MVLAN MLD priority:
ZXAN(config)#mld mvlan 100 priority 3

Related Commands
None

23.8.6 mld mvlan source-port


Syntax
mld mvlan vid source-port if-name
no mld mvlan vid source-port if-name

Purpose
To configure MLD MVLAN NNI source port

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)#

23-112

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Example
The following example displays how to configure MLD MVLAN NNI source port:
ZXAN(config)#mld mvlan 100 source-port gei_1/22/1
ZXAN(config)#

Related Commands
None

23.8.7 mld mvlan receiver-port


Syntax
mld mvlan vid receive-port if-name [vport vport]
no mld mvlan vid receive-port if-name [vport vport]

Purpose
To configure MLD MVLAN UNI receive port

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

if-name Interface name -

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD MVLAN UNI receive port:

ZXAN(config)#mld mvlan 100 receive-port gpon-onu_1/4/2:1


ZXAN(config)#

Related Commands
None

23-113

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

23.8.8 mld mvlan max-groups


Syntax
mld mvlan vid max-groups group-num

Purpose
To configure maximum group number in an MLD MVLAN

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

group-num Group number Range: 0 – 8000

Mode
ZXAN(config)#

Example
The following example displays how to configure maximum group number in an MLD
MVLAN:
ZXAN(config)#mld mvlan 100 max-groups 1024
ZXAN(config)#

Related Commands
None

23.8.9 mld mvlan group-filter


Syntax
mld mvlan vid group-filter { enable | disable }

Purpose
To enable or disableMLD MVLAN group filter

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

23-114

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Parameter Description Value

enable Enable -

disable Disable -

Mode
ZXAN(config)#

Example
The following example displays how to enable MLD MVLAN group filter:
ZXAN(config)#mld mvlan 100 group-filter enable
ZXAN(config)#

Related Commands
None

23.8.10 mld mvlan group


Syntax
mld mvlan vid group group-address [to group-end]
no mld mvlan vid group group-address [to group-end]

Purpose
To configure MLD MVLAN groups

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

group group-address Starting IP address IPv6 address

group-end Ending IP address IPv6 address

Mode
ZXAN(config)#

Example
The following example displays how to configure MLD MVLAN groups:
ZXAN(config)#mld mvlan 100 group ff1e::1 to ff1e::8
ZXAN(config)#

23-115

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

23.8.11 mld mvlan group bandwidth


Syntax
mld mvlan vid group group-address [ to group-end ] bandwidth value

Purpose
To configure group bandwidth in an MLD MVLAN

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

group-address Group IP address IPv6 address

bandwidth value Group bandwidth 100 – 65535


Unit: kbps
Default: 2048 kbps

Mode
ZXAN(config)#

Example
The following example displays how to configure group bandwidth in anMLD MVLAN :
ZXAN(config)#mld mvlan 100 group ff1e::1 bandwidth 4096
ZXAN(config)#

Related Commands
None

23.8.12 mld mvlan group static-port


Syntax
mld mvlan vid group group-address [ to group-end ] static-port if-name [ vport vport ]

no mld mvlan vid group group-address [ to group-end ] static-port if-name [ vport vport ]

23-116

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Purpose
To configure the static port for MLD MVLAN group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

group group-address Group address IPv6 address

static-port if-name Interface name Range: 0 – 32 characters

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config)#

Example
The following example displays how to configure the static port for MLD MVLAN group:
ZXAN(config)#mld mvlan 100 group ff1e::1 static-port gpon-onu_1/4/2:3
ZXAN(config)#

Related Commands
None

23.8.13 mld mvlan group prejoin


Syntax
mld mvlan vid group group-address [ to group-end ] prejoin { enable | disable }

Purpose
To configure MLD MVLAN pre-join function

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

group group-address Group address IPv6 address

enable Enable -

disable Disable -

23-117

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to enable MLD MVLAN pre-join function:
ZXAN(config)#mld mvlan 100 group ff1e::1 prejoin enable
ZXAN(config)#

Related Commands
None

23.8.14 mld mvlan group source-address


Syntax
mld mvlan vid group group-address [ to group-end ] source-address source-address

Purpose
To configure source address for MLD MVLAN group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 – 4094

group-address Group IPv6 address IPv6 address

source-address source-address Source IP address IPv6 address

Mode
ZXAN(config)#

Example
The following example displays how to configure source address for MLD VLAN group:

ZXAN(config)#mld mvlan 100 group ff1e::1 source-address ff8e::1


ZXAN(config)#

Related Commands
None

23-118

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

23.8.15 show mld mvlan


Syntax
show mld mvlan [ vid ]

Purpose
To display MLD MVLAN configuration

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

Mode
Any mode except ZXAN>

Example
The following example displays MLD MVLAN configuraition:
ZXAN#show mld mvlan
Total Num is 3.
Vid Status Mode Host IP GroupFilt MaxGroups ActGroups HostVersion
----------------------------------------------------------------
100 enable snooping ff8e:1 enable 1024 0 v2
200 enable proxy ff8e:1 enable 1024 0 v2
300 enable snooping ff8e:1 enable 1024 0 v2

Related Commands
None

23.8.16 show mld mvlan group


Syntax
show mld mvlan vid [group [group-address]]

Purpose
To display MLD MVLAN group configuration

Usage Guidelines
The following table provides parameter description:

23-119

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

vid MVLAN ID Range: 1 – 4094

group-address Group address IPv6 address

Mode
Any mode except ZXAN>

Example
The following example displays MLD MVLAN group configuration:
ZXAN#show mld mvlan 100
Source Port : gei_1/22/1
Receive Port : group: ff1e::1 - ff1e::8,
ff1e::3 - ff1e::6
ZXAN#

Related Commands
None

23.8.17 show mld dynamic-member


Syntax
show mld dynamic-member [[ shelf shelf ] slot slot ] [mvlan vid [ group group-address ]]

Purpose
To display MLD dynamic group members

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

shelf shelf Shelf number Range: 1 – 5

slot slot Slot number l 0 – 22 (ETSI_SHELF)


l 0 – 20 (IEC_SHELF)

mvlan vid MVLAN ID Range: 1 – 4094

group group-address Group address IPv6 address

Mode
Any mode except ZXAN>

23-120

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 23 Multicast Commands

Example
The following example displays MLD dynamic group members:
ZXAN#show mld dynamic-member

Related Commands
None

23.8.18 show mld static-member


Syntax
show mld static-member [ mvlan vid [ group group-address ]]

Purpose
To display the MLD static group member

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

mvlan vid MVLAN ID Range: 1 – 4094

group group-address Group address IPv6 address

Mode
Any mode except ZXAN>

Example
The following example displays MLD static group member :
ZXAN#show mld static-member

Related Commands
None

23.8.19 show mld log


Syntax
show mld log [statistic] [interface if-name [vport vport]] [group group-address] [time hh:mm:ss
month day year [to hh:mm:ss month day year]]

23-121

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To display MLD log information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

statistic Statistics -

interface if-name Interface name Range: 0 – 32 characters

vport vport Virtual port ID Range: 1 – 32

group-address Group address IPv6 address

hh:mm:ss Time hh: hours


mm: minutes
ss: seconds

month Month Range: apr, aug, dec, feb, jan,


jul, jun, mar, may, nov, oct, sep

day Day of month Range: 1 – 31

year Year 2001 – 2098

Mode
Any mode except ZXAN>

Example
The following example displays MLD log information:

ZXAN#show mld log group ff1e::1


ZXAN#

Related Commands
None

23-122

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24
IPTV Commands
Table of Contents
IPTV Global Commands...........................................................................................24-1
IPTV Channel Commands........................................................................................24-4
Package Commands ..............................................................................................24-15
PWR Preview Commands ......................................................................................24-21
View-profile Profile Commands...............................................................................24-24
CDR Commands ....................................................................................................24-28
Interface Mode Commands ....................................................................................24-38

24.1 IPTV Global Commands


24.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)#

24-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show iptv control

Related Information
By default, CAC is disabled.

24.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

24.1.3 iptv ipv6 sms-server


Syntax
iptv ipv6 sms-server ipaddress

Purpose
To configure the IPv6 address of SMS server

24-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipaddress IPv6 address of SMS server -

Mode
ZXAN(config)#

Example
The following example displays how to configure the IPv6 address of SMS server:
ZXAN(config)#iptv ipv6 sms-server 2e4b::5ab4

Related Commands
show iptv control

24.1.4 iptv highest-priority


Syntax
iptv highest-priority { deny | watch }

Purpose
To configure the highest priority

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

24-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.1.5 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#

Related Commands
iptv sms-server

24.2 IPTV Channel Commands


24.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:

24-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

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)#

l Display the configured channel information.


ZXAN#show iptv channel
ID mvlan group name
--------------------------------------------------
0 2 224.1.1.1 CHNAME0
1 2 224.1.1.3 CHNAME1
2 2 224.1.1.4 CQTV1
3 2 224.1.1.2 CQTV
ZXAN#

l Delete some channels.


ZXAN(config)#no iptv channel name cqtv
ZXAN(config)#no iptv channel id 0
ZXAN(config)#

l Display the channel information after some channels are deleted.


ZXAN#show iptv channel
ID mvlan group name
--------------------------------------------------
1 2 224.1.1.3 CHNAME1
2 2 224.1.1.4 CQTV1
ZXAN#

24-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

24.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:

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)#

l Display the created channels.

24-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

ZXAN#show iptv channel


ID mvlan group name
--------------------------------------------------
0 3 224.3.3.1 CHNAME0
1 2 224.1.1.3 CHNAME1
2 2 224.1.1.4 CQTV1
3 3 224.3.3.2 CHNAME3
4 3 224.3.3.3 CHNAME4
5 3 224.3.3.4 CHNAME5
… …
508 4 224.3.4.252 CCTV252
509 4 224.3.4.253 CCTV253
510 4 224.3.4.254 CCTV254
511 4 224.3.4.255 CCTV255
ZXAN#

l Delete the channels in a batch.


ZXAN(config)#no iptv channel id 0-99
ZXAN(config)#

l Display the channels which exist after some channels are deleted in a batch.
ZXAN#show iptv channel
ID mvlan group name
--------------------------------------------------
100 3 224.3.3.99 CHNAME100
101 3 224.3.3.100 CHNAME101
102 3 224.3.3.101 CHNAME102
103 3 224.3.3.102 CHNAME103
104 3 224.3.3.103 CHNAME104
… …
510 4 224.3.4.254 CCTV254
511 4 224.3.4.255 CCTV255
ZXAN#

Related Commands
show iptv channel

Related Information
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.
l If prename-str parameter is configured, the channel name takes prename-str as prefix
and adds sequence number after that which starts from 1.
l Use no form of this command to delete a channel with a specific ID list.

24-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.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

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 3 224.3.3.99 HBTV
101 3 224.3.3.100 CHNAME101
102 3 224.3.3.101 CHNAME102
ZXAN(config)#

Related Commands
show iptv channel

24.2.4 iptv channel view-profile


Syntax
iptv channel channel-name view-profile viewfile-name

Purpose
To create an IPTV channel profile

24-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

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
ZXAN(config)#

Related Commands
show iptv channel

24.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)#

24-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

24.2.6 iptv ipv6 channel mvlan group name


Syntax
iptv ipv6 channel mvlan vlan-id group group-ip [name channel-name [id channel-id]]
no ipv6 iptv channel name channel-name
no ipv6 iptv channel id channel-id

Purpose
To create an IPv6 channel

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vlan-id Multicast VLAN Range: 1 – 4094

group-ip IP address of multicast group -

channel-name Channel name (unique) 1 – 32 characters

channel-id Channel ID (unique) Range: 0 – 1023

Mode
ZXAN(config)#

Example
The following example displays how to create an IPv6 channel:
ZXAN(config)#iptv ipv6 channel mvlan 2 group ff1e::2a5e
ZXAN(config)#iptv ipv6 channel mvlan 2 group ff1e::265e
ZXAN(config)#iptv ipv6 channel mvlan 2 group ff1e::2a4e name cqtv1

24-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

ZXAN(config)#iptv ipv6 channel mvlan 2 group ff1e::2a6e name cqtv id 3

Related Commands
show iptv channel

Related Information
If channel-name is not selected, both the channel name and channel ID use the default
values.

24.2.7 iptv ipv6 channel mvlan group to


Syntax
iptv ipv6 channel mvlan vlan-id group group-ip [to group-ip-end [prename prename-str]]

Purpose
To create IPv6 channels in batches

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vlan-id Multicast VLAN Range: 1 – 4094

group group-ip IP address of multicast group -

to group-ip-end The end IP address of the -


multicast group

prename prename-str Prefix of the channel 1 – 27 characters

channel-id Channel list Range: 0 – 1023

Mode
ZXAN(config)#

Example
The following example displays how to create IPv6 channels in batches:
ZXAN(config)#iptv channel mvlan 3 group ff1e::852a to ff1e::852f
ZXAN(config)#iptv channel mvlan 4 group ff1e::852a to ff1e::852f prename cctv

Related Commands
show iptv channel

24-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.2.8 iptv ipv6 channel rename


Syntax
iptv ipv6 channel old-name rename new-name

Purpose
To modify IPv6 channel name

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

old-name Old channel name 1 – 32 characters

new-name New channel name 1 – 32 characters

Mode
ZXAN(config)#

Example
The following example displays how to modify IPv6 channel name:
ZXAN(config)#iptv ipv6 channel chname100 rename hbtv

Related Commands
show iptv channel

24.2.9 iptv ipv6 channel cdr


Syntax
iptv ipv6 channel channel-name cdr {enable | disable}

Purpose
To configure IPv6 channel CDR function

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

channel-name Channel name 1 – 32 characters

enable | disable Enable/disable CDR Default: enable

24-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

Mode
ZXAN(config)#

Example
The following example displays how to enable IPv6 channel CDR function:
ZXAN(config)#iptv ipv6 channel hbtv cdr enable

Related Commands
show iptv channel

24.2.10 iptv ipv6 channel view-profile


Syntax
iptv ipv6 channel channel-name view-profile viewfile-name

Purpose
To specify the view profile of IPv6 channel

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

channel-name Channel name 1 – 32 characters

viewfile-name View profile name Default: DEFVAL.PRF


1 – 64 characters

Mode
ZXAN(config)#

Example
The following example displays how to specify the view profile of IPv6 channel:

ZXAN(config)#iptv IPv6 channel hbtv view-profile test

Related Commands
show iptv channel

24-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.2.11 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

24-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

24.3 Package Commands


24.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.

24.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}

24-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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)#

Related Commands
show iptv package

24-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

24.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

24.3.4 iptv ipv6 package


Syntax
iptv ipv6 package name package-name [pkgid package-id]
no iptv ipv6 package package-name

Purpose
To create an IPv6 package

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

package-name Package name 1 – 32 characters

package-id Package ID Range: 0 – 1023

24-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to create an IPv6 package:
ZXAN(config)#iptv ipv6 package name pkg1

Related Commands
show iptv package

Related Information
Both package-id and package name are unique. If package-id is not selected, the system
will assign a package ID.

24.3.5 iptv ipv6 package channel


Syntax
iptv ipv6 package package-name channel {channel-name | idlist | mvlan vlan-id group group-ip
[to group-ip-end ]}{ deny | watch | preview }
no iptv ipv6 package package-name channel {channel-name | idlist | mvlan vlan-id group grou
p-ip

Purpose
To add channels to an IPv6 package and set the right

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

package-name Package name 1 – 32 characters

channel-name Channel name 1 – 32 characters

idlist Channel list Range: 0 – 1023

vlan-id Multicast VLAN Range: 1 – 4094

group group-ip IPv6 multicast group address -

to group-ip-end The end IP address of IPv6 -


multicast group

deny | watch | preview Channel right -

24-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

Mode
ZXAN(config)#

Example
The following example displays how to configure the right of channels:
ZXAN(config)#iptv ipv6 package pkg1 channel 0,3-10 preview
ZXAN(config)#iptv ipv6 package pkg1 channel hbtv50 watch
ZXAN(config)#iptv ipv6 package pkg1 channel hbtv51 watch

The following example displays how to delete a channel:


ZXAN(config)#no iptv ipv6 package pkg1 channel 50
ZXAN(config)#no iptv ipv6 package pkg1 channel hbtv50

Related Commands
show iptv package

24.3.6 iptv ipv6 package rename


Syntax
iptv ipv6 package rename package-name rename new-name

Purpose
To modify IPv6 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 IPv6 package name:
ZXAN(config)#iptv ipv6 package pkg1 rename pkg2

Related Commands
show iptv package

24-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.3.7 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:

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 1 0
4 PKG2 0 0
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 2 Watch
ZXAN#

Related Commands
None

24-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

24.4 PWR Preview Commands


24.4.1 iptv prw
Syntax
iptv prw {enable | disable}

Purpose
To enable or disable the IPTV preview function

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

24.4.2 iptv prw reset


Syntax
iptv prw reset

Purpose
To reset the IPTV user preview parameters

Usage Guidelines
None

24-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to reset the IPTV user preview parameters:
ZXAN(config)#iptv prw reset
ZXAN(config)#

Related Commands
show iptv prw

24.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

24-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

24.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:

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

24.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

24-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the IPTV user preview information:
ZXAN#show iptv prw
Prwenable : enable
PrwRecognitionTime : 12
PrwAutoResetTime : 23:58:59
ZXAN#

Related Commands
None

24.5 View-profile Profile Commands


24.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)#

24-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

Related Commands
iptv view-profile count
iptv view-profile duration

24.5.2 iptv view-profile count


Syntax
iptv view-profile viewfile-name count view-count [duration duration-time] [blackout blackout-i
nterval]

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 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 count time:

ZXAN(config)#iptv view-profile test count 20


ZXAN(config)#

Related Commands
iptv view-profile duration

24-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.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

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

24.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:

24-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

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)#

Related Commands
iptv view-profile duration
iptv view-profile count

24.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#

24-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN#show iptv view-profile test


max-view-count :4
view-duration :200(s)
blackout-interval :30(s)
ZXAN#

Related Commands
iptv view-profile count
iptv view-profile duration

24.6 CDR Commands


24.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

24-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

24.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:

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

24.6.3 iptv cdr report


Syntax
iptv cdr report

Purpose
To report the CDR records

24-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to report the CDR records:
ZXAN(config)#iptv cdr report
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

24.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)#

24-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

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
iptv cdr deny-right
iptv cdr prw-right
show iptv cdr

24.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)#

24-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
iptv cdr report-interval
iptv cdr report

24.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

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

24.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

24-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

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)#

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

24.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

24-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
show iptv cdr

24.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)#

24-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

Related Commands
iptv cdr prw-right
show iptv cdr

24.6.10 iptv cdr clear


Syntax
iptv cdr clear

Purpose
To clear IPTV CDR records

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

24.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:

24-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
CDR Prw-right ENABLE
CDR Create-Period(min.) 60
MAX-RECORDS 1000
REPORT-INTERVAL(sec.) 300
Records in cache 0

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

24.6.12 show iptv cdr content


Syntax
show iptv cdr content

24-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

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.
--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.
-- '1' is valid and '2' is invalid.
--Type : 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

24-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.7 Interface Mode Commands


24.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:

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/13/1:1
ZXAN(config-if)#iptv service start vport 3
ZXAN(config-if)#

Related Commands
show iptv interface

Related Information
l start: User enters IN_SERVICE state
l pause: User enters PAUSE_SERVICE state
l resume: User enters IN_SERVICE state
l remove: User enters NO_SERVICE state

24-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

24.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 -

no-auth No authorization mode -

vport vport Virtual port ID Range: 1 – 32

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the IPTV user authorization mode:
ZXAN(config)#interface gpon-onu_1/13/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.

24.7.3 iptv right-mode


Syntax
iptv right-mode {package | channel} [vport vport]

Purpose
To configure the IPTV user multicast control mode

24-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
ZXAN(config-if)#

Example
The following example displays how to configure the IPTV user multicast control mode:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)#iptv right-mode package vport 1
ZXAN(config-if)#

Related Commands
show iptv interface

24.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

24-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the IPTV user channel information:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)#iptv channel chname0 watch vport 1
ZXAN(config-if)#

Related Commands
show iptv interface

24.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
ZXAN(config-if)#

Example
The following example displays how to enable the CDR function for an IPTV user:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)#iptv cdr enable vport 1
ZXAN(config-if)#

Related Commands
show iptv interface

24-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

24.7.6 show iptv interface


Syntax
show iptv interface interface-name [vport vport ][channel | package | watching | previewing]

Purpose
To display IPTV user information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface-name PON-ONU interface -


name

vport vport Virtual port ID Range: 1 – 256

channel Channel information -

package Package information -

watching Channel watching -


information

previewing Channel preview -


information

Mode
Any mode except user mode

Example
The following example displays the IPTV user information:
ZXAN#show iptv interface gpon-onu_1/13/1:1 vport 1
auth-mode : auth
right-mode: package
cdrstatus : enable
service : IN_SERVICE
ZXAN#

ZXAN#show iptv interface gpon-onu_1/14/1:1 vport 1 channel


Total channel num : 2
channel-id right channel-name
------------------------------------------
1 preview CHNAME1
2 watch CHNAME2
ZXAN#

24-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 24 IPTV Commands

ZXAN#show iptv interface gpon-onu_1/16/1:1 vport 1 package


Total package num: 1
pkg-id pkg-name
------------------------------------------
0 PKG1
ZXAN#

Related Commands
None

24-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

24-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25
CES Commands
Table of Contents
CES Global Configuration ........................................................................................25-1
TDM Interface Configuration.....................................................................................25-6
PW Configuration ................................................................................................... 25-11
SDH Protection Configuration.................................................................................25-17
CES Perfromance Statistics ...................................................................................25-23

25.1 CES Global Configuration


25.1.1 ces
Syntax
ces

Purpose
To enter CES configuration mode

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to enter CES configuration mode.

ZXAN(config)#ces
ZXAN(config-ces)#

Related Commands
None

25-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

25.1.2 tdm-profile
Syntax
tdm-profile profilename payloadsize reorder {enable | disable }[rtpHdr {enable | disable } ssrc
val ] [jtrBfr jtrBfr][payloadSuppression {enable | disable }][inSyncPkts inSyncPkts] [outSyncP
kts outSyncPkts] [pktReplacePolicy {AIS | customed }] [almThreshold almThreshold] [clrAlm
Threshold clrAlmThreshold] timestamp-mode {notApplicable | absolute | differential} queuesi
zePower
no tdm-profile profilename

Purpose
To configure TDM profile. Use the no command to delete the profile.

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

profilename Profile name 1–63 characters

payloadsize Payload size 8– 1023

reorder {enable | disable } Enable or disable reorder- -

rtpHdr {enable | disable } Enable or disable RTP header-

ssrcval RTP packet size Range: 1– 42949672955

jtrBfr jtrBfr Jitter buffer size Range: 1– 42949672955, unit:


ms

payloadSuppression {enable | Payload suppression -


disable }

inSyncPkts inSyncPkts Number of consecutive pkts to Range: 1– 42949672955


exit LOPS state

outSyncPkts outSyncPkts Number of lost pkts to enter Range: 1– 42949672955


LOPS state

pktReplacePolicy {AIS | Packet replacing policy -


customed }

almThreshold almThreshold Alarm report threshold Range: 1– 42949672955, unit:


ms

clrAlmThreshold Alarm clearing threshold Range: 1– 42949672955, unit:


clrAlmThreshold ms

timestamp-mode {notApplicable Time-stamp mode


| absolute | differential}

25-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Parameter Description Value

queuesizePower Queue size Reorder enable: 1–7


Other: 1–10

Mode
ZXAN(config-ces)#

Example
The following example displays how to configure a TDM profile.
ZXAN(config-ces)#tdm-profile zte 1024 reorder enable rtpHdr enable 1024 jtrBfr 3000
payloadSuppression disable inSyncPkts 2 outSyncPkts 10 pktReplacePolicy ais almThreshold
2500 clrAlmThreshold 10000 timestamp-mode differential 3

Related Commands
show ces tdm-profile

Related Information
You need to configure a TDM profile before applying it to a PW.
If a TDM profile is applied to a PW, the TDM profile cannot be modified or deleted.
The RTP attribute of all TDM profiles that are applied to the same TDM slot must be same.

25.1.3 mac-address
Syntax
mac-address mac-address slot/port

Purpose
To configure source MAC address

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

mac-address MAC address 0015.eb72.0000–0015.eb72.7


0df

slot/port TDM port 1–31 characters

Mode
ZXAN(config-ces)#

25-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure source MAC address.
ZXAN(config-ces)#mac-address 0015.eb72.0001 5/1

Related Commands
show ces global-prop

Related Information
When a PW is configured on the card, you cannot modify the MAC address.

25.1.4 ip-address
Syntax
ip-address ipv4 ip-address slot/port

Purpose
To configure the source IP address.

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address A.B.C.D

slot/port TDM port 1–31 characters

Mode
ZXAN(config-ces)#

Example
The following example displays how to configure the source IP address.

ZXAN(config-ces)#ip-address ipv4 100.1.1.1 5/1

Related Commands
show ces global-prop

Related Information
When a PW is configured on the card, you cannot modify the IP address.

25-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

25.1.5 show ces global-prop


Syntax
show ces global-prop [ slot/port ]

Purpose
To displays CES global properties

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot/port TDM port 1–31 characters

Mode
Any mode except ZXAN>

Example
The following example displays CES global properties.
ZXAN(config)# show ces global-prop
slot/port sourceMac source IP
---------------------------------------------------
4/1 0015.eb72.0008 120.1.1.1
11/1 0015.eb72.0016 N/A
11/2 0015.eb72.0017 N/A

Related Commands
mac-address
ip-address

25.1.6 show ces tdm-profile


Syntax
show ces tdm-profile [profilename]

Purpose
To display CES TDM profile

Usage Guidelines
The following table provides parameter description:

25-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

profilename Profile name 1–64 characters

Mode
Any mode except ZXAN>

Example
The following example displays CES TDM profile.
ZXAN(config)# show ces tdm-profile default

Profile name : default


Payload size(bytes) : 32 Reorder: enable
RtpHdr : used Ssrcval: 0
JtrBfr : 2000 Payload suppression: disable
ConsecPktsInSynch : 2 PktsOutSync : 10
PacketReplacePolicy : AIS AlarmThreshold(ms): 2500
ClearAlarmThreshold(ms):10000 TimeStampMode: absolute
QueueSize(bytes): 5

Related Commands
tdm-profile

25.2 TDM Interface Configuration


25.2.1 interface
Syntax
interface tdm_shelf/slot/tdmIfId

Purpose
To enter TDM interface mode

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

tdm_shelf/slot/tdmIfId TDM inteface -

Mode
ZXAN(config)#

25-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Example
The following example displays how to enter TDM interface mode.
ZXAN(config)#interface tdm_1/12/1
ZXAN(config-if)#

Related Commands
None

25.2.2 admin-status
Syntax
admin-status{enable | disable}

Purpose
To configure administration status of TDM interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable administration status Default

disable Disable administration status -

Mode
ZXAN(config-if)#

Example
The following example displays how to enable administration status of TDM interface.
ZXAN(config)#interface tdm_1/12/1
ZXAN(config-if)#admin-status enable

Related Commands
None

25.2.3 clock-source
Syntax
clock-source { adaptive | differential}

25-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To configure clock source on TDM interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

adaptive Adaptive -

differential Differential -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the clock source on a TDM interface.
ZXAN(config)#interface tdm_1/12/1
ZXAN(config-if)#clock-source enhanced-adaptive

Related Commands
None

Related Information
The default clock source is adaptive. When a PW is configured on the card, the clock
souce cannot be modified.

25.2.4 line-type
Syntax
line-type{d4 | ds2m12 | e1 | e1crc | e1crcmf| e1mf| e1q50 |e1q50crc | e1unframed | e2 | esf |
other| unframed}

Purpose
To configure line type (frame type) on TDM interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

d4 d4 frame -

ds2m12 ds2ml2 frame -

25-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Parameter Description Value

e1 el frame -

e1crc elcrc frame -

e1crcmf elcrcmf frame -

e1mf elmf frame -

e1q50 e1q50 frame -

e1q50crc e1q50crc frame -

e1unframed e1unframed frame -

e2 e2 frame -

esf esf frame -

other other frame -

unframed Unframed -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the line type on the TDM interface.

ZXAN(config)#interface tdm_1/12/1
ZXAN(config-if)#line-type e1

Related Commands
None

Related Information
The default line type is e1. When a PW is configured on the card, the line type cannot be
modified.

25.2.5 loopback
Syntax
loopback{inwardLoop | lineLoop | noLoop }

Purpose
To configure loop back on TDM interface

25-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

inwardLoop System loopback -

lineLoop Line loopback -

noLoop No loopback Default

Mode
ZXAN(config-if)#

Example
The following example displays how to configure loopback on the TDM interface.
ZXAN(config)#interface tdm_1/12/1
ZXAN(config-if)#loopback lineLoop

Related Commands
None

25.2.6 show ces interface


Syntax
show ces interface [port-list]

Purpose
To display the TDM interface information-

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

port-list TDM interface list, format: 1–31 characters


tdm_X/X/X-X,X.

Mode
Any mode except ZXAN>

Example
The following example displays the TDM interface information.-
ZXAN(config-if)# show ces interface tdm_1/12/1-2

25-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Interface :tdm_1/12/1
Line type : t1 Line coding :B8ZS
Admin status : enable Opr status :N/A
Clock source : adaptive Clock status :FREERUN
Loop status : noLoop Impedance :120 Ohm
Interface :tdm_1/12/2
Line type : t1 Line coding :B8ZS
Admin status : enable Opr status :N/A
Clock source : adaptive Clock status :FREERUN
Loop status : noLoop Impedance :120 Ohm

Related Commands
None

25.3 PW Configuration
25.3.1 pw
Syntax
pw pwIndex
no pw pwIndex

Purpose
To create PW and enter ces-pw configuration mode
Use the no command to delete the PW.

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

pwIndex PW ID, format 1–32 characters


pw_shelf/slot/pwId

Mode
ZXAN(config-ces)#

Example
The following example displays how to create an PW and enter ces-pw configuration mode.
ZXAN(config-ces)#pw pw_1/12/1

25-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-ces-pw)#

Related Commands
None

25.3.2 admin-status
Syntax
admin-status {enable |disable}

Purpose
To configure the administration status of PW link

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable administration status Default

disable Disable administration status -

Mode
ZXAN(config-ces-pw)#

Example
The following example displays how to enable the administration status of the PW link.
ZXAN(config-ces)#pw pw_0/12/1
ZXAN(config-ces-pw)#admin-status enable

Related Commands
None

25.3.3 name
Syntax
name name

Purpose
To configure the PW name, which should be unique

25-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

name PW name 1–254 characters

Mode
ZXAN(config-ces-pw)#

Example
The following example displays how to configure the PW name.
ZXAN(config-ces)#pw pw_1/12/1
ZXAN(config-ces-pw)#name test

Related Commands
None

25.3.4 psn
Syntax
psn ethernet in-ecid out-ecid dst-mac dst-mac vlan vlanid [cvlan cvlanid] [priority priority]
psn ip srcUdpPort dstUdpPort dst-ip-type ipv4 dst-ipAddress dst-mac dst-mac vlan vlanid [cvlan
cvlanid] [priority priority]
psn mpls-double outer-rx outer-tx inner-rx inner-tx dst-mac dst-mac vlan vlan [cvlan cvlan] [pr
iority priority]
psn mef8in-ecid out-ecid dst-mac dst-mac vlan vlanid [cvlan cvlanid] [priority priority]

Purpose
To configure the PSN (Packet Switch Network) properties of PW

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

out-ecid Outbound ECID 0xXXXXX102


Unique on a slot 1–10 characters

in-ecid Inbound ECID 0xXXXXX102


Unique on a slot 1–10 characters

ethernet Ethernet (0x8847) -

25-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

mef8 MEF8 (0x88D8) -

ip IP packet -

mpls-double MPLS double tag -

dst-mac dst-mac Destination MAC address -

vlan vlan VLAN ID 1–4094

cvlan cvlan CVLAN ID 1–4094

priority priority Priority 1–7, default: 7

Mode
ZXAN(config-ces-pw)#

Example
The following example displays how to configure the PSN properties of the PW.
ZXAN(config-ces)#pw pw_1/15/2
ZXAN(config-ces-pw)#psn ethernet 0x1102 0x1102 dst-mac 0015.eb72.0001 vlan 1000
cvlan 888 priority 7

Related Commands
None

25.3.5 tdm-service
Syntax
tdm-service type {e1Satop | t1Satop | e3Satop | t3Satop }rate rate{tdm_shelf/slot/e1 | tdm_s
helf/slot/port.augno/au3/tug2/t1 | tdm_shelf/slot/port.augno/1/tug-3/tug-2/e1 }[tdm-profile-name
tdm-profile-name [timeslot timeslot]]

Purpose
To configure the TDM properties of PW

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

rate rate Service rate 0–42949672955

tdm_shelf/slot/e1 TDM E1 interface 1–31 characters


e1: 1–31

25-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Parameter Description Value

tdm_shelf/slot/port.augno/1/tug-3/t STM-1/4 E1 interface 1–31 characters


ug-2/e1

tdm_shelf/slot/port.augno/au3/tug STM-1/4 T1 interface 1–31 characters


2/t1

tdm-profile-name TDM profile 1–63 characters

timeslot Time slot, only for CTUB card板 1–31

Mode
ZXAN(config-ces-pw)#

Example
The following example displays how to configure the TDM properties of the PW.-
ZXAN(config-ces)#pw pw_1/5/1
ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32 tdm_1/5/1

Related Commands
show ces pw prop

Related Information
The relations between rates and PW service types are as below:
l Satop E1 – 32
l Satop T1 – 24 for basic emulation, 25 for Octet-aligned T1 emulation
l Satop E3 – 525
l Satop T3 – 699
For optical TDM interface card (CTLA), the format of E1/T1 interface is determined by the
mapping type and interface rate.
l AU4 mapping corresponds to E1, the interface format is
tdm_shelf/slot/port.augno/1/tug3/tug2/e1. Parameter ranges are as follows:
à augno: for 155M interface, augno is 1; for 622M interface, augno range is [1, 2].
à tug3: [1, 3]
à tug2: [1, 7]
à e1: [1, 3]
l AU3 mapping corresponds to T1, the interface format is
tdm_shelf/slot/port.augno/au3/tug2/t1. Parameter ranges are as follows:
l augno: for 155M interface, augno is 1; for 622M interface, augno range is [1, 2].
l tug3: [1, 3]
l tug2: [1, 7]

25-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

l t1: [1, 3]

25.3.6 show ces pw count


Syntax
show ces pw count

Purpose
To display all PWs

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays all PWs.
ZXAN(config-ces-pw)#show ces pw count
PW status
-----------------------------------------------
pw_1/14/1 Inactive
pw_1/15/1 Inactive
pw_1/16/1 Inactive
pw_1/17/1 Inactive
pw_1/17/2 Active

Related Commands
None

25.3.7 show ces pw prop detail


Syntax
show ces pw prop detail pw_shelf/slot/pwId(s)

Purpose
To display the detailed information about PW

Usage Guidelines
The following table provides parameter description:

25-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Parameter Description Value

pw_shelf/slot/pwId(s) PW ID list 1–31 characters

Mode
Any mode except ZXAN>

Example
The following example displays the detailed information about a PW.
ZXAN(config-ces-pw)#show ces pw prop detail pw_1/17/2

pw pw_1/17/2
PwType: e1Satop PsnType: ethernet Admin-status: enable
OuterInboundLabel:N/A OuterOutboundLabel:N/A
InboundLable :0x1102 OutboundLable :0x1102

Service prop:
Using tdm interface: tdm_1/17/2
Using TimeSlot : N/A
TDM-prop profile : default

Psn prop:
Destination Mac Address: 0015.EB72.0001
SVlan ID: 1000
CVlan ID: 100
priority: 7

Card prop:
Card interface : 17/1
Source Mac Address: 0015.EB72.0022
Source IP Address : 192.192.192.34

Related Commands
None

25.4 SDH Protection Configuration


25.4.1 sdhprot group
Syntax
sdhprot group groupName worksdhport sdhportName protectsdhport sdhportName 1plus1

25-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

no sdhprot group groupName

Purpose
To configure SDH protection group.
Use the no command to delete the configuration.

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

groupName Protection group name 1~31字符

worksdhport sdhportName Working SDH port, format: 1–31 characters


tdm_shelf/slot/port

protectsdhport sdhportName Protection SDH port, format: 1–31 characters


tdm_shelf/slot/port

1plus1 Protection type -

Mode
ZXAN(config-ces)#

Example
The following exmaple displays how to configure the SDH protection group.-
ZXAN(config-ces)#sdhprot group zte worksdhport tdm_1/12/1 protectsdhport tdm_1/11/1
1plus1

Related Commands
None

Related Information
At present, the ZXA10 C300 supports only 1+1 protection. The two SDH ports in the
protection group should be of the same type.

25.4.2 sdhprot switch-command


Syntax
sdhprot switch-command group groupName {lockoutprotect | {force | manual} {p2w | w2p}}
no sdhprot switch-command group groupName

25-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Purpose
To configure the switch command for a SDH protection group
Use the no command to delete the configuration. 。

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

groupName Protection group name 1–31 characters

lockoutprotect Lock the protection -

force Forced switch -

manual Manual switch -

p2w From protection port to working -


port

w2p From working port to protection -


port

Mode
ZXAN(config-ces)#

Example
The following example displays how to configure the forced switch from working port to
protection port.
ZXAN(config-ces)#sdhprot switch-command group zte force w2p

Related Commands
None

Related Information
By default, there is no switch command configured.
The priorities of switch commands are as follows (from high priority to low priority):

Lockout protection→Forced switch to protection port→Forced switch to working


port→Manual switch to protection port→Manual switch to working port

25.4.3 show ces card-frametype


Syntax
show ces card-frametype [slot slotno]

25-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To display the frame type of TDM card

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

slot slotno TDM slot number Range: 1–22

Mode
Any mode except ZXAN>

Example
The following example displays the frame type of TDM card.
ZXAN#show ces card-frametype slot 15
slot frametype clockmode cardtype
----------------------------------------------
15 unframed n/a CTBB

Related Commands
None

25.4.4 show ces sdhprot group count


Syntax
show ces sdhprot group count

Purpose
To display SDH protection group number-

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays SDH protection group number
ZXAN(config)# show ces sdhprot group count

25-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Group ID Group name


---------------------------------------------------------------------------
1 zte

Related Commands
None

25.4.5 show ces sdhprot group prop


Syntax
show ces sdhprot group prop [groupName]

Purpose
To display SDH protection group properties-

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

groupName Protection group name 1–31 characters

Mode
Any mode except ZXAN>

Example
The following example displays SDH protection group properties.-
ZXAN(config)#show ces sdhprot group prop

Name : zte
Protect interface: tdm_1/16/1
Work interface : tdm_1/14/1
Active interface: protect-channel
Type : 1+1
Mode: non-revertive
Holdoff: 0
Wtr: 0

Related Commands
None

25-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

25.4.6 show ces sdhprot switch-command


Syntax
show ces sdhprot switch-command [group groupName]

Purpose
To display SDH switch command

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

groupName Protection group name 1–31 characters

Mode
Any mode except ZXAN>

Example
The following example displays SDH switch command.-
ZXAN(config)# show ces sdhprot switch-command
group name switch-mode
................................................................
zte force_p2w

Related Commands
None

25.4.7 show ces sdhprot request


Syntax
show ces sdhprot request[group groupName]

Purpose
To display all request of SDH protection group, including alarm request and external switch
request-

Usage Guidelines
The following table provides parameter description:

25-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Parameter Description Value

groupName Protection group name 1–31 characters

Mode
Any mode except ZXAN>

Example
The following example displays all request of SDH protection group.
ZXAN#show ces sdhprot request group test

Name: zte
Protect interface: tdm_1/16/1
Work interface: tdm_1/14/1
Alarm request:
WorkChannel: LOS
ProtectChannel: LOS
External request: no-request
Highest local request: work-fail-request

Related Commands
None

25.5 CES Perfromance Statistics


25.5.1 show performance ces
Syntax
show performance ces {{ms | msrei | rs} tdm_shelf/slot/port | {b3 | b3rei} tdm_shelf/slot/port/au
gno/auno | {v5 | v5rei} tdm_shelf/slot/port/augno/auno/tug3no/tu2/tu12 | wanport pw_shelf/slot/
port} {current | current-15min-interval | current-1day-interval | his-15min-interval interval |
his-1day-interval interval }

Purpose
To display CES performance statistics, supporting MS, MSREI, RS, B3, B3REI, V5, V5REI,
and WAN (PW)

Usage Guidelines
The following table provides parameter description:

25-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

tdm_shelf/slot/port TDM inteface -

tdm_shelf/slot/port/augno/auno TDM E1/T1 interface 1–14 characters

tdm_shelf/slot/port/augno/auno/tug TDM SDH interface 1–20 characters


3no/tu2/tu12

pw_shelf/slot/port PW interface 1–10 characters

his-15min-interval interval 15-minute interval 1–96

his-1day-interval interval 1-day interval 1–7

Mode
Any mode except ZXAN>

Example
The following example displays CES WAN performance statistics.
ZXAN#show performance ces wanport pw_1/16/1 current
CES-PW pw_1/16/1 current performance data:
------------------------------------------------
CesPwEarlyPkts :0;
CesPwLatePkts :0;
CesPwUnderrunPkts :0;
CesPwLostPkts :0;
CesPwRxPkts :0;
CesPwTxPkts :42072283;
CesPwCurQueueLen :0;
CesPwAvgQueueLen :0;
CesPwMaxQueueLen :0;
CesPwMinQueueLen :0;

Related Commands
perf-clear-current

25.5.2 perf-clear-current
Syntax
perf-clear-current {{ms | msrei | rs} | {b3 | b3rei} augno/auno | {v5 | v5rei} augno/auno/tug3no
/tu2/tu12} {1-day | 15-min | data}

Purpose
To clear CES performance statistics

25-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 25 CES Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

augno/auno E1/T1 interface 1–5 characters

augno/auno/tug3no/tu2/tu12 SDH interface 1–15 characters

15-min 15-minute interval -

1-day 1-day interval -

Mode
ZXAN(config-if)#

Example
The following example displays how to clear CES performance statistics.
ZXAN(config)#interface tdm_1/15/1
ZXAN(config-if)#perf-clear-current rs data

Related Commands
show performance ces

25-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

25-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26
Ethernet OAM Commands
(802.3ag & 802.3ah)
Table of Contents
efm enable ...............................................................................................................26-2
efm disable...............................................................................................................26-2
efm remote-loopback................................................................................................26-3
efm send-packet.......................................................................................................26-4
cfm create md ..........................................................................................................26-4
cfm delete ................................................................................................................26-5
cfm enable ...............................................................................................................26-6
cfm md session ........................................................................................................26-6
ma create .................................................................................................................26-7
ma delete .................................................................................................................26-7
ma session...............................................................................................................26-8
assign ......................................................................................................................26-9
ccm timer-interval .....................................................................................................26-9
create mep .............................................................................................................26-10
create mip .............................................................................................................. 26-11
create rmep............................................................................................................26-12
mep........................................................................................................................26-12
primary vlan ...........................................................................................................26-13
protect....................................................................................................................26-13
ccm-send ...............................................................................................................26-14
state enable ...........................................................................................................26-15
cfm lbm ..................................................................................................................26-15
cfm ltm ...................................................................................................................26-16
cfm ltr-read.............................................................................................................26-17
show efm interface .................................................................................................26-18
show cfm ma ..........................................................................................................26-19
show cfm md ..........................................................................................................26-20
show cfm mp ..........................................................................................................26-20
show cfm status .....................................................................................................26-22

26-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

26.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/22/1
ZXAN(config-if)#efm enable active
ZXAN(config-if)#

Related Commands
None

26.2 efm disable


Syntax
efm disable

Purpose
To disable port OAM function

Usage Guidelines
None

26-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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/22/1
ZXAN(config-if)#efm disable
ZXAN(config-if)#

Related Commands
None

26.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/22/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.

26-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

26.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/21/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.

26.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:

26-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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

26.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

26-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

26.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

26.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)#

26-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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

26.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

26.10 ma delete
Syntax
ma delete { id | name }

26-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

26.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

26-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 Ethernet OAM Commands (802.3ag & 802.3ah)

ZXAN(config-md-ma)#

Related Commands
show cfm ma

26.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/20/1

Related Commands
show cfm ma

26.13 ccm timer-interval


Syntax
ccm timer-interval interval

26-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

26.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

26-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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

26.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

26-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

26.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

26.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

26-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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

26.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

26.19 protect
Syntax
protect { link | tunnel | vlan }

26-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

26.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)#

26-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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

26.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

26.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

26-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

26.23 cfm ltm


Syntax
cfm ltm md mdid ma maid smep-id smep-id { dmep-id dmep-id | dmep-mac dmep-mac | dmip-
mac dmip-mac} [ timeout time ] [ ttl ttl ]

Purpose
To send CFM link trace messages

Usage Guidelines
The following table provides parameter description:

26-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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

26.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#

26-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

26.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/22/1
ZXAN(config-if)#show efm interface gei_1/22/1
Function Switch: ON
Mode: ACTIVE Status: SEND_ANY
RmoteLoopback: Remote Loopback
Send 5 packets, receive 5 packets
ZXAN(config-if)#

Related Commands
None

26-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 Ethernet OAM Commands (802.3ag & 802.3ah)

26.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: 1
primary vlan: 100
protect type: vlan
tunnel: 0
time interval: 1(s)
speed: slow
contain MP numbers: 3
contain Normal vlan:

Related Commands
create cfm ma

26-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

26.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: md1
level: 3
contain MA numbers: 0

Related Commands
create cfm md

26.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:

26-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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/20/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 0
TimeDelayAverage: 0 0
TimeDelayIntervalAverage: 0 0
Two-DM state: disable
TimeDelay: 0 0
TimeDelayAverage: 0 0

26-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

TimeDelayIntervalAverage: 0 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

26.29 show cfm status


Syntax
show cfm status

Purpose
To display the CFM status

Usage Guidelines
None

Mode
Any mode except ZXAN>

26-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 26 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

26-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

26-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 27
ZESR Commands
Table of Contents
zesr ctrlvlan..............................................................................................................27-1
zesr-set-health failtime .............................................................................................27-2
zesr-set-hello failtime ...............................................................................................27-2
zesr-set-hello hello-time ...........................................................................................27-3
zesr-set-preforwardtime............................................................................................27-4
show zesr ctrlvlan.....................................................................................................27-5

27.1 zesr ctrlvlan


Syntax
zesr ctrlvlan vid master nodetype primaryport { gei_shelf/slot/port | smartgroup } secondport {
gei_shelf/slot/port | smartgroup } protectInstance instanceID ctrlInstance instanceID [ detectio
n-mode mode ]
no zesr ctrlvlan vid

Purpose
To configure a ZESR domain

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 – 4094

master nodetype ZESR node type l 1: transit node


l 0: master node

primaryport Primary port Ethernet interface or smartgroup

secondport Second port Ethernet interface or smartgroup

protectInstance instanceID Protect instance Range: 1 – 16

ctrlInstance instanceID Controal instance Range: 1 – 16

Mode
ZXAN(config)#

27-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure a ZESR domain:
ZXAN(config)#zesr ctrlvlan 10 master 0 primaryport gei_1/20/1 secondport gei_
1/20/2 protectInstance 1 ctrlInstance 2 detection-mode 0

Related Commands
show zesr ctrlvlan

27.2 zesr-set-health failtime


Syntax
zesr-set-health failtime ctrlvlan vid failtime time

Purpose
To configure the fail time for a ZESR domain in health mode

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 – 4094

failtime time Fail time Range: 100 – 3000, unit: ms


Default: 3000

Mode
ZXAN(config)#

Example
The following example displays how to configure the fail time for a ZESR domain in health
mode:
ZXAN(config)#zesr-set-health fail-time ctrlvlan 10 failtime 1000

Related Commands
show zesr ctrlvlan

27.3 zesr-set-hello failtime


Syntax
zesr-set-hello failtime ctrlvlan vid port type failtime time

27-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 27 ZESR Commands

Purpose
To configure the port fail time for a ZESR domain in health mode

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 – 4094

port type Port type l 0: primary port


l 1: secondary port

failtime time Fail time Range: 100 – 3000, unit: ms

Mode
ZXAN(config)#

Example
The following example displays how to configure the port fail time for a ZESR domain in
hello mode:
ZXAN(config)#zesr-set-hello fail-time ctrlvlan 10 failtime 100

Related Commands
show zesr ctrlvlan

27.4 zesr-set-hello hello-time


Syntax
zesr-set-hello hellotime ctrlvlan vid port type hellotime time

Purpose
To configure the port hello time for a ZESR domain in health mode

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 – 4094

port type Port type l 0: primary port


l 1: secondary port

hellotime time Hello time Range: 100 – 3000, unit: ms

27-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure the port hello time for a ZESR domain in
hello mode:
ZXAN(config)#zesr-set-hello hello-time ctrlvlan 10 hellotime 100

Related Commands
show zesr ctrlvlan

27.5 zesr-set-preforwardtime
Syntax
zesr-set-preforwardtime ctrlvlan vid preforwardtime time

Purpose
To configure the pre-forward time for a ZESR domain

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 – 4094

preforwardtime time Pre-forward time Range: 100 – 3000, unit: ms


Default: 3000

Mode
ZXAN(config)#

Example
The following example displays how to configure the pre-forward time for a ZESR domain
in health mode:
ZXAN(config)#zesr-set-preforwardtime ctrlvlan 10 preforwardtime 100

Related Commands
show zesr ctrlvlan

27-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 27 ZESR Commands

27.6 show zesr ctrlvlan


Syntax
show zesr ctrlvlan vid

Purpose
To display the ZESR domain configuration

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 – 4094

Mode
Any mode except ZXAN>

Example
The following example displays the ZESR domain configuration:

ZXAN(config)#show zesr ctrlvlan 10


zesr domain:
ctrlvlan : 10
detect mode : health mode
state : failed
node type : Master
healthtime : 1000ms
failtime : 3000ms
hellotime(prim/sec port) : Invalid
failtime(prim/sec port) : Invalid
preforwardtime : 3000ms
protectInstance : 1
ctrlvlanInstance : 2
primaryport status : preforward
gei_1/20/1 : up

secondport status : forward


gei_1/20/2 : down

Related Commands
zesr ctrlvlan

27-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

27-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 28
ZESS Commands
Table of Contents
zess-group ...............................................................................................................28-1
revertive ...................................................................................................................28-2
protectInstance.........................................................................................................28-3
port ..........................................................................................................................28-3
protect-time ..............................................................................................................28-4
swap ........................................................................................................................28-5
show zess ................................................................................................................28-6
show zess groupid....................................................................................................28-6

28.1 zess-group
Syntax
zess-group group-id
no zess-group group-id

Purpose
To create an Ethernet intelligent switching group ZESS

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 an Ethernet intelligent switching group
ZESS:

ZXAN(config)#zess-group 1
ZXAN(cfg-zess-1)#

28-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show zess-group

28.2 revertive
Syntax
revertive { enable | disable }

Purpose
To enable the revertible mechanism of ZESS group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

enable Enable the revertible -


mechanism

disable Disable the revertible -


mechanism

Mode
ZXAN(cfg-zess-1)#

Example
The following example displays how to enable the revertible mechanism of ZESS group:
ZXAN(cfg)#zess-group 1
ZXAN(cfg-zess-1)# revertive enable

Related Commands
None

Related Information
Normally, both the active and standby ports are in UP status. If the active port is down, the
service of the active port is switched over to the standby port automatically. If the active
port is in UP status again, the service is resumed to the active port.

28-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 28 ZESS Commands

28.3 protectInstance
Syntax
protectInstance inst-index
no protectInstance

Purpose
To configure the ZESS intelligent switching instance index in a ZESS group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

inst-index Instance index Range: 1 – 16

Mode
ZXAN(cfg-zess-1)#

Example
The following example displays how to configure the ZESS intelligent switching instance
index in a ZESS group:
ZXAN(config)#zess-group 1
ZXAN(cfg-zess-1)#protectInstance 2

Related Commands
show zess-group

Related Information
In a ZESS group, a port must be created before an instance index is created. Before
deleting protectInstance, you must make sure that the port is already deleted.

28.4 port
Syntax
port master-port interface slave-port interface
no port master-port interface

Purpose
To configure ZESS intelligent active/standby port switchover in a ZESS group

28-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface Interface Uplink port or smartgroup group

Mode
ZXAN(cfg-zess-1)#

Example
The following example displays how to configure ZESS intelligent active/standby port
switchover in a ZESS group:
ZXAN(config)#zess-group 1
ZXAN(cfg-zess-1)#protectInstance 1
ZXAN(cfg-zess-1)#port master-port gei_1/21/1 slave-port gei_1/21/2

Related Commands
show zess-group

Related Information
In a ZESS group, protectInstance must be configured before the active/standby port is
configured. Before deleting a port, you must make sure that the protectInstance is already
deleted.

28.5 protect-time
Syntax
protect-time time

Purpose
To configure the protection time of a ZESS group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

time Protection time Range: 0 – 60


Unit: sec
Default: 10

28-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 28 ZESS Commands

Mode
ZXAN(cfg-zess-1)#

Example
The following example displays how to configure the protection time of a ZESS group:
ZXAN(cfg)#zess-group 1
ZXAN(cfg-zess-1)# protect-time 20

Related Commands
show zess-group

Related Information
Only when it is time for the protection, the active/standy switchover can be performed.

28.6 swap
Syntax
swap

Purpose
To perform active/standby switchover forcedly

Usage Guidelines
None

Mode
ZXAN(cfg-zess-1)#

Example
The following example displays how to perform active/standby switchover forcedly:

ZXAN(cfg)#zess-group 1
ZXAN(cfg-zess-1)# swap

Related Commands
show zess-group

Related Information
Before executing this command, make sure that the standby port is in UP status.

28-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

28.7 show zess


Syntax
show zess

Purpose
To display a current ZESS group

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays a current ZESS group:

ZXAN(config)#show zess
Group List :
---------------------------------------
1

Related Commands
show zess-group

28.8 show zess groupid


Syntax
show zess groupid groupid

Purpose
To display the information of one ZESS group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

groupid ZESS group ID Range: 1 – 16

28-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 28 ZESS Commands

Mode
Any mode except ZXAN>

Example
The following example displays the information of one ZESS group:
ZXAN(config)#show zess groupid 1
Revertive control : disable
ProtectInstance : 1
Protect Time : 10
Master ports status : forwarding
gei_1/21/1 : up

Slave ports status : block


gei_1/21/2 : up

Related Commands
show zess

28-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

28-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 29
LST Commands
Table of Contents
lst-group ...................................................................................................................29-1
add-port ...................................................................................................................29-2
next-hop ...................................................................................................................29-2
interval-link-detect ....................................................................................................29-3
retry-link-detect ........................................................................................................29-4
show lst ....................................................................................................................29-5
show lst groupid .......................................................................................................29-5

29.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

29-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

29.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-3)#

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/21/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.

29.3 next-hop
Syntax
next-hop ipaddress
no next-hop

29-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 29 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-3)#

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.

29.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

29-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(cfg-lst-3)#

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.

29.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-1)#

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

29-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 29 LST Commands

Related Information
You need to create a lst group before executing this command.

29.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

29.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:

29-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 : common port


Uplink ports status :
gei_1/21/1 : up
Pon ports status :

Next-hop : 0.0.0.0
Link-detect-retry : 5
Link-detect-interval : 3
Link status : N/A

Related Commands
show lst

29-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 30
Port Configuration
Commands
Table of Contents
max-mac-learn .........................................................................................................30-1
linktrap .....................................................................................................................30-2
lock ..........................................................................................................................30-3
flowcontrol................................................................................................................30-4
port-protect...............................................................................................................30-5
description................................................................................................................30-5
eth-switch multicast-limit...........................................................................................30-6
eth-switch mac-protect .............................................................................................30-7
eth-switch vlan-limit ..................................................................................................30-8
optical-module-alarm-profile .....................................................................................30-9
ip access-group........................................................................................................30-9
show interface port-status ......................................................................................30-10

30.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

vport vportno Virtual port number 1 – 256


Default: 1

30-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the maximum MAC address learn
number:
ZXAN(config)#interface gpon-onu_1/7/4:1
ZXAN(config-if)#max-mac-learn 128 vport 1

Related Commands
None

30.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)#

Example
The following example displays how to enable link trap informs in EPON OLT interface
configuration mode:
ZXAN(config)#interface gpon-olt_1/13/1

30-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 30 Port Configuration Commands

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/22/1
ZXAN(config-if)#linktrap alarm

Related Commands
show running interface

Related Information
l Link traps are disabled by default in EPON OLT configuration mode.
l 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.

30.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:

ZXAN(config)#interface gpon-olt_1/13/1
ZXAN(config-if)#lock

30-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

Related Information
l When a EPON OLT interface is locked (shutdown), all alarms of the OLT are cleared
and no more alarms occur.
l When a EPON OLT interface is unlocked (no shutdown), the OLT state is changed to
'up' and interface is enabled.
l By default, EPON OLT interface is unlocked.

30.4 flowcontrol
Syntax
flowcontrol {enable | disable}

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/22/1
ZXAN(config-if)#flowcontrol enable

Related Commands
None

30-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 30 Port Configuration Commands

Related Information
By default, the Ethernet uplink port flow control is disabled.

30.5 port-protect
Syntax
port-protect {enable | disable}

Purpose
To configure port protection

Usage Guidelines
The following table provides parameter description:

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/22/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.

30.6 description
Syntax
description description

30-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To provide description for an interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

description Interface description l Range: 1 – 64 characters


(Ethernet/PON-OLT
interface)
l Range: 1 – 127 characters
(GPON-ONU interface)

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

30.7 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)

30-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 30 Port Configuration Commands

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.
l This command is effective only for unknown multicast packets.

30.8 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

30-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show eth-switch

Related Information
l After executing this command, the system provides MAC+VLAN configuration to all
GPON cards.
l After a MAC address is protected, if one ONU has MAC+VLAN upstream data flow,
the relevant GPON card discards the upstream data.

30.9 eth-switch vlan-limit


Syntax
eth-switch vlan-limit vlan vlan rate rate {upstream | downstream}

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

30-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 30 Port Configuration Commands

Related Information
l The main control card can be configured with 64 VLAN rate limit rules at the maximum.
l The configured rate granularity is 64 Kbps. Valid value is multiple of 64.
l Downstream rate limit is configured on all uplink ports. Upstream rate limit is config-
ured on all ports except uplink ports.

30.10 optical-module-alarm-profile
Syntax
performance threshhold-profile profilename

Purpose
To apply the optical-module alarm-profile on the optical 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 optical-module alarm-profile on the optical
interface:
ZXAN(config-if)#optical-module-alarm-profile abc

Related Commands
optical-module alarm-profile

30.11 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 ]

30-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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:

Parameter Description Value

aclnum IPv4 ACL number l Range: 1 – 699 (Ethernet


interface)
l Range: 100 – 699 (EPON-OLT
interface)
l Range: 300 – 399
(EPON-ONU interface)
l Range: 600 – 699 (GPON-OLT
interface)
l 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

30.12 show interface port-status


Syntax
show interface port-status {interface-id}

30-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 30 Port Configuration Commands

Purpose
To display Ethernet interface information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface-id Ethernet interface Gei_1/22/portno


Xgei_1/21/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/22/4
------------------------------------------------------------------
Port hybrid Status Native VLAN Negotiation Status
------------------------------------------------------------------
gei_1/22/4 electric 1 enable
------------------------------------------------------------------
Speed (Mbps) Duplex Flow-Ctrl Admin Status Link
------------------------------------------------------------------
10000 full disable activate down

Related Commands
None

30-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

30-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31
Ethernet Interface
Configuration Commands
Table of Contents
byname ....................................................................................................................31-1
clear counter ............................................................................................................31-2
description................................................................................................................31-3
duplex ......................................................................................................................31-4
flowcontrol................................................................................................................31-5
hybrid-attribute .........................................................................................................31-6
interface ...................................................................................................................31-6
monitor session ........................................................................................................31-8
monitor session (Port) ..............................................................................................31-9
multicast.................................................................................................................31-10
negotiation auto...................................................................................................... 31-11
shutdown................................................................................................................ 31-11
speed .....................................................................................................................31-12
port-protect.............................................................................................................31-13
eth-switch broadcast-limit .......................................................................................31-14
eth-switch unknowncast-limit ..................................................................................31-14
eth-switch multicast-limit.........................................................................................31-15
eth-switch vlan-limit ................................................................................................31-16
range......................................................................................................................31-17
uplink-isolate ..........................................................................................................31-17
show eth-switch......................................................................................................31-18
show eth-switch vlan-limit.......................................................................................31-19
show interface ........................................................................................................31-20
show ip interface ....................................................................................................31-23
show monitor session .............................................................................................31-24
show performance eth-if .........................................................................................31-25

31.1 byname
Syntax
byname by-name

no byname

31-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/22/1
ZXAN(config-if)#byname ether1
ZXAN(config-if)#exit
ZXAN(config)#interface byname ether1
ZXAN(config-if)#

Related Commands
show interface

31.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/22/portno


xgei_1/21/portno

Epon-olt interface OLT interface epon-olt_rackno/slotno/portno

31-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 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/22/1
ZXAN#

Related Commands
show interface

Related Information
Execute this command to clear all interface statistics unless an interface name is specified.

31.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:

31-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#interface gei_1/22/1
ZXAN(config-if)#description "this is GigabitEthernet Interface"
ZXAN(config-if)#

Related Commands
None

31.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/22/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#duplex full
ZXAN(config-if)#

Related Commands
None

31-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 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.

31.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/22/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.

31-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

31.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/22/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.

31.7 interface
Syntax
interface {interface-name | byname byname}
no interface {interface-name | byname byname}

31-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 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/22/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/21/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/22/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.

31-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

31.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 1

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 0

tpid tpid TPID 0xHHHH

ttl ttl
Range: 1 – 255

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

31-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 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.

31.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 1

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/22/1
ZXAN(config-if)#monitor session 1 source direction tx
ZXAN(config-if)#monitor session 1 destination
ZXAN(config-if)#

31-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

31.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/22/1
ZXAN(config-if)#multicast ttl-threshold 10
ZXAN(config-if)#

31-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 Ethernet Interface Configuration Commands

Related Commands
None

31.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/22/1
ZXAN(config-if)#negotiation auto
ZXAN(config-if)#

Related Commands
show interface

31.12 shutdown
Syntax
shutdown
no shutdown

Purpose
To shut down an interface

31-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/22/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.

31.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 -

31-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 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/22/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.

31.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:

31-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#interface gei_1/22/1
ZXAN(config-if)#port-protect enable
ZXAN(config-if)#

Related Commands
None

31.15 eth-switch broadcast-limit


Syntax
eth-switch broadcast-limit num
no eth-switch broadcast-limit

Purpose
To configure the broadcast limit

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

num Broadcast limit number Range: 0 – 65534 pps


Default: 100 pps

Mode
ZXAN(config)#

Example
The following example displays how to configure the broadcast limit:
ZXAN(config)#eth-switch broadcast-limit 200
ZXAN(config)#

Related Commands
show eth-switch

31.16 eth-switch unknowncast-limit


Syntax
eth-switch unknowncast-limit num

31-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 Ethernet Interface Configuration Commands

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

31.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:

Parameter Description Value

num Multicast limit number Range: 0 – 65534 pps


Default: no limit

31-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

31.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)#

Example
The following example displays how to configure rate limit for the VLAN:
ZXAN(config)#eth-switch vlan-limit vlan 100 rate 640 downstream

31-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 Ethernet Interface Configuration Commands

Related Commands
show eth-switch vlan-limit

Related Information
The ZXA10 C300 supports maximum 64 VLAN rate-limit entries.

31.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/13/1
ZXAN(config-if)#range
Portlist of the range: gpon-olt_1/13/1
ZXAN(config-if)#

Related Commands
None

31.20 uplink-isolate
Syntax
uplink-isolate {enable | disable}

Purpose
To enable/disable the uplink port isolation

31-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/20/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.

31.21 show eth-switch


Syntax
show eth-switch

Purpose
To display the Ethernet switch information

Usage Guidelines
None

Mode
Any mode except user mode

Example
The following example displays the Ethernet switch information:

31-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 Ethernet Interface Configuration Commands

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

31.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>

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

Related Commands
eth-switch vlan-limit

31-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

31.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/22/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/21/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
Description is none
Keepalive set:10 sec
Internet address is unassigned
MTU 1500 bytes

31-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 Ethernet Interface Configuration Commands

MRU 1500 bytes BW 8000000 Kbits


ZXAN#

l Null interface
ZXAN#show interface null1
null1 is up, line protocol is up
Description is none
Keepalive set:10 sec BW 10000000 Kbits
ZXAN#

l 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#

l 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#

l gei_1/22/1 interface
ZXAN#show interface gei_1/22/1
gei_1/22/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
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 :

31-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
Output:
Packets : 0 Bytes : 0
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/22/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

Input,Output,Total Interface statistics

Related Commands
None

31-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 Ethernet Interface Configuration Commands

31.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/22/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/21/portno

| Output modifier -

begin Begin with the line that -


matches

exclude Exclude the line that -


matches

include Include the line that matches -

line Line -

Mode
Any mode except user mode

31-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the interface status and configuration information:
ZXAN#show ip interface brief
interface IP-Address Mask AdminStatus PhyStatus Protocol
vlan1 unassigned unassigned up up up
vlan100 10.63.184.213 255.255.255.0 up up up
vlan200 unassigned unassigned up up down
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.

31.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 1

Mode
Any mode except user mode

Example
The following example displays the detailed information about the user defined sessions:

31-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 31 Ethernet Interface Configuration Commands

ZXAN#show monitor session 1


Session 1
------------
Source Ports:
Port: gei_1/22/1 Monitor Direction: both
Destination Port:
Port:
ZXAN#

Related Commands
monitor session

31.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>

Example
The following example displays the current performance of an Ethernet interface:
ZXAN(config)#show performance eth-if gei_1/16/1 current
----------------------------------------------------------------
Input:

31-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Byte :0 Packets :0
UcastPkts :0 McastPkts :0
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

31-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32
MSTP Commands
Table of Contents
instance ...................................................................................................................32-1
name........................................................................................................................32-2
revision ....................................................................................................................32-3
spanning-tree ...........................................................................................................32-4
spanning-tree bpduguard .........................................................................................32-5
spanning-tree edged-port .........................................................................................32-6
spanning-tree forward-delay .....................................................................................32-7
spanning-tree guard .................................................................................................32-8
spanning-tree hello-time ...........................................................................................32-9
spanning-tree linktype ..............................................................................................32-9
spanning-tree max-age...........................................................................................32-10
spanning-tree mcheck ............................................................................................ 32-11
spanning-tree mode ...............................................................................................32-12
spanning-tree mst configuration .............................................................................32-12
spanning-tree mst hmd5-digest ..............................................................................32-13
spanning-tree mst hmd5-key ..................................................................................32-14
spanning-tree mst instance priority .........................................................................32-15
spanning-tree mst instance (Interface)....................................................................32-16
spanning-tree mst instance path-cost .....................................................................32-17
spanning-tree mst max-hops ..................................................................................32-17
spanning-tree transparent ......................................................................................32-18
spanning-tree packet-type ......................................................................................32-19
show spanning tree inconsistentports .....................................................................32-20
show spanning-tree instance ..................................................................................32-21
show spanning-tree interface..................................................................................32-22
show spanning-tree mst configuration ....................................................................32-23
show spanning-tree statistics..................................................................................32-24
show spanning-tree transparent .............................................................................32-25

32.1 instance
Syntax
instance instance vlans vlan-id

no instance instance

32-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

32.2 name
Syntax
name name

32-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 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

32.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

32-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

32.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)#

32-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 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/22/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.

32.5 spanning-tree bpduguard


Syntax
spanning-tree bpduguard action {discard | shutdown}
no spanning-tree bpduguard action

Purpose
To change an interface’s 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 interface’s spanning tree BPD guard:

32-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#interface gei_1/22/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.

32.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/22/1
ZXAN(config-if)#spanning-tree edged-port enable
ZXAN(config-if)#

32-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 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.

32.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

32-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

32.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/22/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.

32-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 MSTP Commands

32.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

32.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:

32-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/22/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.

32.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:

32-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 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

32.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/22/1
ZXAN(config-if)#spanning-tree mcheck
ZXAN(config-if)#

32-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

32.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.

32.14 spanning-tree mst configuration


Syntax
spanning-tree mst configuration

32-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 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.

32.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)

32-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

32.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)#

32-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 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.

32.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)#

32-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
spanning-tree mst instance priority(interface)

32.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/22/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.

32-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 MSTP Commands

32.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/21/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.

32.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

32-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

32.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 -

32-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 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.

32.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)#

32-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure the MST BPDU packet-type:
ZXAN(config)#interface gei_1/22/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.

32.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/22/1 Root Inconsistent
ZXAN#

32-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 MSTP Commands

Related Commands
show spanning-tree instance
show spanning-tree interface

32.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 00d0.d0c7.ffe0
Hello-Time 5 sec; Max-Age 20 sec
Forward-Delay 10 sec;

RegRootID: Priority 4096; Address 00d0.d0c7.ffe0

BridgeID: Priority 4096; Address 00d0.d0c7.ffe0


Hello-Time 5 sec; Max-Age 20 sec
Forward-Delay 10 sec; Max-Hops 5
Message-Age 0 sec; RemainHops 5

Interface Prio.Nbr

32-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

32.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/22/portno


Smartgroup
Interface Range: 1 – 8
Xgei_1/21/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/22/1
Mst Instance Prio.Nbr
Name Port ID Cost Sts Role
---------------------------------------------------------------
MST00 128.31 200000 forward root
MST01 112.31 200000 forward root
----------------------------------------------------------------

ZXAN#

32-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 MSTP Commands

Related Commands
show spanning-tree instance

32.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
-------- ---------------------------------------------------
0 1-4094

ZXAN#

Related Commands
show spanning-tree instance

show spanning-tree interface

32-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

32.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/22/portno


Smartgroup
Interface Range: 1 – 8
Xgei_1/21/portno

Mode
Any mode except user mode

Example
The following example displays the STP port statistics:
ZXAN#show spanning-tree statistics gei_1/22/1
statistic of port gei_1/22/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 0
designated_int_cost 200000
designated_bridge 00-0d-0d-f0-01-01
designated_port 41
--------------------------------------------------------------
PORT based information & statistics
--------------------------------------------------------------
All bpdu's xmitted 2
All bpdu's received 123

32-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 32 MSTP Commands

Mst bpdu's xmitted 2


Mst bpdu's received 123
Rst bpdu's xmitted 0
Rst bpdu's received 0
config bpdu's xmitted 0
config bpdu's received 0
tcn bpdu's xmitted 0
tcn bpdu's received 0
--------------------------------------------------------------
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 2 sec
bridge forward delay 15 sec
bridge Max age 20 sec
bridge Max hop 20
--------------------------------------------------------------

ZXAN#

Related Commands
show spanning-tree interface

32.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

32-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

32-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 33
LACP Commands
Table of Contents
clear lacp..................................................................................................................33-1
interface ...................................................................................................................33-2
lacp port-priority .......................................................................................................33-3
lacp system-priority ..................................................................................................33-3
lacp timeout..............................................................................................................33-4
linkgroup load-balance .............................................................................................33-5
linkgroup ..................................................................................................................33-6
show lacp .................................................................................................................33-6
smartgroup...............................................................................................................33-8
smartgroup load-balance..........................................................................................33-9
user-smartgroup load-balance................................................................................33-10
show user-smartgroup............................................................................................33-10
show linkgroup ....................................................................................................... 33-11

33.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#

Example
The following example displays how to clear the count of received and transmitted LACP
packets:

33-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN#clear lacp 1 counters


ZXAN#

Related Commands
None

Related Information
When smartgroup-id parameter is not added, this command clears all the counters.

33.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

Related Information
Delete the ports in the smartgroup before using no interface.

33-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 33 LACP Commands

33.3 lacp port-priority


Syntax
lacp port-priority priority

Purpose
To configure the LACP port priority

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/22/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.

33.4 lacp system-priority


Syntax
lacp system-priority priority

Purpose
To configure the LACP system priority

33-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

priority LACP system priority Range: 1 – 65535


Default: 32768

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.

33.5 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

33-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 33 LACP Commands

ZXAN(config-if)#

Example
The following example displays how to configure the interface LACP to short timeout:
ZXAN(config)#interface gei_1/22/1
ZXAN(config-if)#lacp timeout short
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.

33.6 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)#

33-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

33.7 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/16/1-4
ZXAN(config-if-range)#linkgroup 1

Related Commands
show linkgroup

33.8 show lacp


Syntax
show lacp {[smartgroup-id] {counters | internal | neighbors} | sys-id}

33-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 33 LACP Commands

Purpose
To display the current LACP configuration and state

Usage Guidelines
The following table provides parameter description:

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#

33-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
smartgroup

33.9 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 -

passive Enable LACP only if a LACP -


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/22/1
ZXAN(config-if)#smartgroup 1 mode active
ZXAN(config-if)#

Related Commands
show lacp

33-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 33 LACP Commands

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.

33.10 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 Value

mode Smart group mode 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

33-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

33.11 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

33.12 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:

33-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 33 LACP Commands

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

group-id To show the information on a specified user -


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

33.13 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/16/1 gei_1/16/2 gei_1/16/3 gei_1/16/4

33-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Active ports:

Related Commands
linkgroup load-balance

33-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34
DHCP Commands
Table of Contents
DHCP Snooping Commands ....................................................................................34-1
DHCP Layer – 3 Commands ..................................................................................34-10
DHCP Relay/Proxy Commands ..............................................................................34-13
DHCP Server Commands ......................................................................................34-24

34.1 DHCP Snooping Commands


The commands related to DHCP snooping are as follows:

34.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

34-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Command
None

34.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

34.1.3 ip dhcp snooping enable


Syntax
ip dhcp snooping enable

no ip dhcp snooping enable

Purpose
To enable globalDHCP snooping

Usage Guidelines
None

34-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 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

34.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/13/1:1
ZXAN(config-if)#ip dhcp snooping enable vport 1
ZXAN(config-if)#

Related Commands
None

34-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

34.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/13/1:1
ZXAN(config-if)#ip dhcp snooping quota 100
ZXAN(config-if)#

Related Commands
None

34.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

34-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface Interface name gei_1/22/portno


Smartgroup
Interface Range: 1 – 8
Xgei_1/21/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/22/1
ZXAN(config)#

Related Commands
None

Related Information
This command can only be executed on the uplink ports.

34.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)#

34-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

34.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

34-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

34.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

34.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 -

34-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/13/1:1
Status : enable
Current online users are 0.
Index MAC addr IP addr Vlan State Expiration
ZXAN#

Related Commands
ip dhcp snooping quota

34.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
----------------------------------------

34-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

gei_1/22/1 Trusted
ZXAN#

Related Commands
None

34.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

34-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

34.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_rac-


kno/slotno/portno:onuno

vport vport Vport id 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/13/1:1
Port Vport Quota
gpon-onu_1/13/1:1 1 No Limit
ZXAN#

Related Commands
None

34.2 DHCP Layer – 3 Commands


The commands related to DHCP layer – 3 are as follows:

34.2.1 ip dhcp enable


Syntax
ip dhcp enable

no ip dhcp enable

34-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 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.

34.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)#

34-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

34.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

34-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

34.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: slave:
lease time of ip address: 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

34.3 DHCP Relay/Proxy Commands


The commands related to DHCP relay/proxy are as follows:

34-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

34.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 When the DHCP user information is read, it is deleted. Therefore, the user information
can be read only once.
l 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.

34.3.2 ip dhcp relay server retry


Syntax
ip dhcp relay server retry num
no ip dhcp relay server retry

34-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

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.

34.3.3 ip dhcp relay update arp


Syntax
ip dhcp relay update arp

no ip dhcp relay update arp

Purpose
To secure dynamic ARP entries in the ARP table to their corresponding DHCP bindings

Usage Guidelines
None

34-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

34.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:

Parameter Description Value

seconds Proxy client lease time Range: 60 – 18000 seconds


Default: 60 seconds

Mode
ZXAN(config)#

34-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

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

34.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 Standard DHCP forward mode -


for relay

security Security DHCP forward mode -


for relay

Mode
ZXAN(config)#

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)#

34-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

34.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)#

Related Commands
None

Related Information
If the field option60 does not find matching server IP address, discard the request packet.

34-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

34.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

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.

34-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This IP address is contained in the giaddr field in the DHCP packet.

34.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)#

Related Commands
ip dhcp relay agent

Related Information
By default, the forwarding mode is the field learning mode.

34-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

34.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

34.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

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

34-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

34.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
ZXAN#

Related Commands
None

34-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

34.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

34.3.13 show bridge-dhcp-relay


Syntax
show bridge-dhcp-relay

Purpose
To display the configuration of bridge DHCP relay map

Usage Guidelines
None

Mode
Any mode except ZXAN>

34-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

34.4 DHCP Server Commands


The commands related to DHCP server are as follows:

34.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:
ZXAN(config)#ip local pool test 10.1.1.1 10.1.1.255 255.255.0.0
ZXAN(config)#

34-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

Related Commands
None

34.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

34.4.3 ip dhcp server dns


Syntax
ip dhcp server dns master-ip [slave-ip]
no ip dhcp server dns

Purpose
To configure the DNS address returned by theDHCP server

34-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

34.4.4 ip dhcp server leasetime


Syntax
ip dhcp server leasetime time
no ip dhcp server leasetime

Purpose
To configure DHCP server lease time

Usage Guidelines
The following table provides parameter description:

34-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

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.

34.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)#

Example
The following example displays how to update the ARP entry of DHCP client:
ZXAN(config)#ip dhcp server update arp

34-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

34.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)#

Related Commands
show ip dhcp server user
ip dhcp server leasetime

34-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 34 DHCP Commands

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.

34.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
ZXAN(config-if)#

34-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

34.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

34-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35
Port Location Commands
Table of Contents
Port Location Commands .........................................................................................35-1
DHCP Option82 Commands...................................................................................35-10
PPPoE+ Commands ..............................................................................................35-14

35.1 Port Location Commands


The commands related to port location are as follows:

35.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)#

35-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show port-location global

35.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

35.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:

35-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 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

35.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

35-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

variable variable Variable l access_node_id


l chassis
l cvlan
l ethernet-priority
l frame
l gem-port
l loid
l loidpw
l onu-id
l port
l q-vid
l rack
l slot
l sn
l sub-slot
l svlan
l vci
l 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.

35-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 Port Location Commands

35.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

35.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 -

35-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 1

Mode
ZXAN(config-if)#

Example
The following example displays how to configure port location format:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)#port-location format china-telecom sport 1
ZXAN(config-if)#

Related Commands
show port-location port

35.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)#

35-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 Port Location Commands

Example
The following example displays how to enable the port location sub-option remote ID:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)# port-location sub-option remote-id enable
ZXAN(config-if)#

Related Commands
show port-location port

35.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/13/1:1
ZXAN(config-if)#port-location sub-option remote-id name name1 sport 1
ZXAN(config-if)#

Related Commands
show port-location port

35-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

35.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

35.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:

35-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 Port Location Commands

Parameter Description Value

port interface Interface name Epon-onu_rac-


kno/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/13/1:1
Port CircuitId Format RemoteId status RemoteId name
gpon-onu_1/13/1:1 china-telecom disable
ZXAN#

Related Commands
port-location format
port-location sub-option remote-id
port-location sub-option remote-id name

35.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:

35-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#show port-location flexible-syntax


ItemIndex VariableType Variable Name Width
1 Delimiter space 1
2 String ZXAN 4
3 Standard-Var Slot 0
Flexible-Syntax Format:
ZXANSlot

Related Commands
port-location flexible-syntax add
port-location flexible-syntax delete

35.2 DHCP Option82 Commands


The commands related to DHCP Option82 are as follows:

35.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)#

35-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 Port Location Commands

Related Commands
show dhcp-option82 global

35.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 1

Mode
ZXAN(config-if)#

Example
The following example displays how to enable DHCP Option82:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)#dhcp-option82 enable sport 1
ZXAN(config-if)#

Related Commands
show dhcp-option82 port

35.2.3 dhcp-option82 trust


Syntax
dhcp-option82 trust {true {keep | replace} | false {discard | add}} { sport sport | vport vport }

35-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Purpose
To configure DHCP Option82 trust policy

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 1

Mode
ZXAN(config-if)#

Example
The following example displays how to configure DHCP Option82 trust policy:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)#dhcp-option82 trust true keep sport 1
ZXAN(config-if)#

Related Commands
show dhcp-option82 port

35.2.4 show dhcp-option82 global


Syntax
show dhcp-option82 global

Purpose
To display the DHCP Option82 global information

Usage Guidelines
None

35-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 Port Location Commands

Mode
Any mode except user mode

Example
The following example displays the DHCP Option82 global information:
ZXAN#show dhcp-option82 global
option82 status : enable
ZXAN#

Related Commands
dhcp-option82

35.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 xpon-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/13/1:1
Onu Option82 status Trust Policy
gpon-onu_1/13/1:1 enable true keep
ZXAN

35-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show dhcp-option82 global
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.

35.3 PPPoE+ Commands


The commands related to PPPoE+ are as follows:

35.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

35-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 Port Location Commands

35.3.2 pppoe-plus pvc


Syntax
pppoe-plus {enable | disable} { sport sport | vport vport }

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 1

Mode
ZXAN(config-if)#

Example
The following example displays how to enable the PPPoE+ PVC function:
ZXAN(config)#interface gpon-onu_1/13/1:1
ZXAN(config-if)# pppoe-plus enable sport 1
ZXAN(config-if)#

Related Commands
show pppoe-plus port

35.3.3 show pppoe-plus global


Syntax
show pppoe-plus global

Purpose
To display the PPPoE+ global information

35-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
None

Mode
Any mode except user mode

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

35.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 xpon-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/13/1:1

35-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 35 Port Location Commands

Port Pppoe-plus status


gpon-onu_1/13/1:1 disable
ZXAN

Related Commands
pppoe-plus

35-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

35-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 36
MFF and ARP Anti Snoofing
Commands
Table of Contents
ip-service mac-forced-forwarding..............................................................................36-1
ip-service mac-forced-forwarding vlan ......................................................................36-2
ip-servcie arp-anti-spoofing ......................................................................................36-3
ip-servcie arp-anti-spoofing vlan ...............................................................................36-4
ip-service ip-source-guard ........................................................................................36-5
show ip-service arp ..................................................................................................36-5
show ip-service mac-forced-forwarding ....................................................................36-6
show ip-service gateway ..........................................................................................36-7
show ip-service arp-anti-spoofing .............................................................................36-8
show ip-service ip-source-guard ...............................................................................36-8

36.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)#

36-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

36.2 ip-service mac-forced-forwarding vlan


Syntax
ip-service mac-forced-forwarding vlan vlanId gateway ip-address[mac-address]

Syntax
no ip-service mac-forced-forwarding vlan vlanId gateway ip-address[mac-address]

Purpose
To configure VLAN MAC address forced forwarding function
Use no command to delete the configuration.

Usage Guidelines
The following table provides parameter description:

Parameter Description Parameter

vlanId Gateway VLAN ID Range: 1 – 4094

ip-address Gateway IP address A.B.C.D


(compulsory)

mac-address Gateway MAC address A.B.C.D


(optional)

Mode
ZXAN(config)#

Example
The following example displays how to configure VLAN MAC address forced forwarding
function.

ZXAN(config)#ip-service mac-forced-forwarding vlan 217 gateway 217.1.1.254

36-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 36 MFF and ARP Anti Snoofing Commands

Related Command
show ip-service mac-forced-forwarding gateway

Related Information
Presently, the system supports eight VLANs MFF gateway data at maximum.

36.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.

36-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

36.4 ip-servcie arp-anti-spoofing vlan


Syntax
ip-servcie arp-anti-spoofing vlan vlanid direction {all | uplink-port | user-port }

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 l All: At both the network side and user
direction side
l Uplink-port: At the network side
l 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 Presently, ARP anti-spoofing function relies on DHCP ARP item and fixed user's ARP
iterm specified by IP access user management module.
l ARP anti-spoofing function supports eight VLANs at maximum.
l At the network side, ARP anti-spoofing function is mainly for configuring VLAn
gateway MAC address.

36-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 36 MFF and ARP Anti Snoofing Commands

36.5 ip-service ip-source-guard


Syntax
ip-service ip-source-guard {enable | disable}

Purpose
To configure ip-source-guard information

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 configure ip-source-guard information:
ZXAN(config)#ip-servcie ip-source-guard enable

Related Commands
show ip-service ip-source-guard

36.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

36-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

Ipoa-dynamic ARP information from IPoA -


dynamic learning

Ipoa-static ARP information form IPoA -


static configuration

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.
XAN(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

36.7 show ip-service mac-forced-forwarding


Syntax
show ip-service mac-forced-forwarding

Purpose
To show MAC forced forwarding enabled status

36-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 36 MFF and ARP Anti Snoofing Commands

Usage Guidelines
None

Mode
ZXAN(config)#

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

36.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

36-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Command
ip-service mac-forced-forwarding vlan
ip-service mac-forced-forwarding

36.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

36.10 show ip-service ip-source-guard


Syntax
show ip-service ip-source-guard [ interface ]

36-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 36 MFF and ARP Anti Snoofing Commands

Purpose
To display ip-source-guard information

Usage Guidelines
The following table provides parameter description:

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

36-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

36-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 37
Control Panel Safety
Commands
Table of Contents
anti-dos ....................................................................................................................37-1
anti-dos drop ............................................................................................................37-2
anti-dos drv-limit.......................................................................................................37-3
anti-dos blocking-time ..............................................................................................37-3
anti-dos limit-num .....................................................................................................37-4
anti-dos shutdown-time ............................................................................................37-5
packet-limit...............................................................................................................37-5
show control-panel anti-dos black-table....................................................................37-6
show control-panel packet-limit statistics ..................................................................37-7
clear packet-statistics ...............................................................................................37-8

37.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.

37-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos enable

Related Command
None

Related Information
The function of anti-DoS is to protect normal responses between NEs when DoS attacks
occur.

37.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

37-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 37 Control Panel Safety Commands

37.3 anti-dos drv-limit


Syntax
anti-dos drv-limit {enable | disable}

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

37.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:

37-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Parameter

blocking-time block time Blocking time Range: 1 – 600 seconds

Mode
ZXAN(control-panel)#

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

37.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

37-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 37 Control Panel Safety Commands

37.6 anti-dos shutdown-time


Syntax
antidos shutdown-time time

Purpose
To configure shutdown time 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 for anti-DoS:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos shutdown-time 2

Related Commands
None

37.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.

37-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Parameter

packet type Packet type l All: All packet


l Arp: ARP packet
l Bpdu: BPDU packet
l Dhcp: DHCP packet
l Icmp: ICMP packet
l Igmp: IGMP packet
l Ipv6_dhcp: IPV6 dhcp Packet
l Ipv6_icmp: IPV6 icmp Packet
l Ipv6_na: IPV6 neighbor advertisement Packet
l Ipv6_ns: IPV6 neighbor solicitation Packet
l Ipv6_ra: IPV6 router advertisement Packet
l Ipv6_rs: IPV6 router solicitation Packet
l Pppoe: PPPoE packet
l Snmp: SNMP packet
l Vbas: VBAS packet

limit-num Limit number Limit number Range: 1 – 50 (Unit: pps)

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

37.8 show control-panel anti-dos black-table


Syntax
show control-panel anti-dos black-table

Purpose
To display anti-DoS black table

37-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 37 Control Panel Safety Commands

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 BLACK-TABLE------------------------------------
mac-address vlan port onu-sn state PktIn Drop

----------------------------NP BLACK-TABLE------------------------------------
mac-address port onu-sn state PktIn Drop
-------------------------------------------------------------------------------

Related Command
None

37.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>

Example
The following example displays the packet-limit statistics:
ZXAN#show control-panel packet-limit statistics
--------------------------------------------------------------
inband pktNumTotal pktNumProcessed pktNumDropped
all 0 - -

37-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

arp 0 0 0
icmp 0 0 0
igmp 0 0 0
bpdu 0 0 0
dhcp 0 0 0
vbas 0 0 0
pppoe 0 0 0
snmp 0 0 0
-------------------------------------------------------------
outband pktNumTotal pktNumProcessed pktNumDropped
all 1632199 1631944 255
arp 0 0 0
icmp 0 0 0
-------------------------------------------------------------

Related Command
None

37.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

Related Command
None

37-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38
IPv4 Protocol Commands
Table of Contents
arp to-static ..............................................................................................................38-2
arp timeout ...............................................................................................................38-2
clear arp ...................................................................................................................38-3
clear arp-cache ........................................................................................................38-4
clear ip traffic............................................................................................................38-5
clear tcp connect ......................................................................................................38-5
clear tcp line .............................................................................................................38-6
clear tcp statistics .....................................................................................................38-7
clear tcp tcb..............................................................................................................38-7
clear tcp tty...............................................................................................................38-8
clear tcp vty..............................................................................................................38-9
ip route.....................................................................................................................38-9
ip address .............................................................................................................. 38-11
ip mtu ..................................................................................................................... 38-11
ip proxy-arp ............................................................................................................38-12
ip redirect ...............................................................................................................38-13
ip source-route .......................................................................................................38-14
ip tcp finwait-time ...................................................................................................38-14
ip tcp queuemax.....................................................................................................38-15
ip tcp synwait-time..................................................................................................38-16
ip tcp window-size ..................................................................................................38-16
ip unreachable........................................................................................................38-17
ping ........................................................................................................................38-18
ping mng ................................................................................................................38-19
set arp....................................................................................................................38-20
show arp ................................................................................................................38-21
show ip forwarding .................................................................................................38-22
show ip protocol routing..........................................................................................38-24
show ip protocol routing summary ..........................................................................38-25
show ip route..........................................................................................................38-25
show ip traffic .........................................................................................................38-27
show tcp.................................................................................................................38-29
show tcp brief .........................................................................................................38-31
show tcp configure .................................................................................................38-32
show tcp line ..........................................................................................................38-33
show tcp statistics ..................................................................................................38-34
show tcp tcb ...........................................................................................................38-35

38-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

show tcp tty ............................................................................................................38-36


show tcp vty ...........................................................................................................38-38
show vrrp ...............................................................................................................38-39
trace.......................................................................................................................38-41
vrrp advertise .........................................................................................................38-42
vrrp authentication..................................................................................................38-43
vrrp ip.....................................................................................................................38-43
vrrp learn................................................................................................................38-44
vrrp preempt...........................................................................................................38-45
vrrp priority .............................................................................................................38-46

38.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

38.2 arp timeout


Syntax
arp timeout timeout

38-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 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

38.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 -

38-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

38.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#

38-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

Related Commands
show arp

38.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

38.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 -

38-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

38.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

38-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

ZXAN#

Related Commands
None

38.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

38.9 clear tcp tcb


Syntax
clear tcp tcb tcb-address

Purpose
To clear the TCB address

Usage Guidelines
The following table provides parameter description:

38-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

38.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#

38-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

Related Commands
None

38.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

38.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

38-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

38-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

38.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.

38.14 ip mtu
Syntax
ip mtu bytes

38-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

38.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)#

38-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 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.

38.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

38-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

38.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

38.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:

38-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 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

38.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)#

38-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

38.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

38.21 ip tcp window-size


Syntax
ip tcp window-size bytes

no ip tcp window-size

38-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 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

38.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:

38-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

38.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

38-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 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.

38.24 ping mng


Syntax
ping mng ip-address [option repeat-count datagram-size timeout]

Purpose
To check the connectivity of the management interface

38-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 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.

38.25 set arp


Syntax
set arp {static | permanent} ip-address hardware-address

Purpose
To configure the ARP MAC address binding

38-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 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

38.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

38-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 1 0019.21d4.e22a vlan100
10.63.184.254 0 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.

38.27 show ip forwarding


Syntax
show ip forwarding {hostrt start-ip-address [end-ip-address] | subnetrt ip-address mask | summ
ary}

38-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 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.

38-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

38.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 8 special
*> 10.0.0.0/8 10.63.184.254 1 0 static
*> 10.63.184.0/22 10.63.184.213 0 0 connected
*> 10.63.184.213/32 10.63.184.213 0 0 connected
*> 255.255.255.255/32 0.0.0.0 254 0 special
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.

38-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

38.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 count
connected : 0
static: 0
ospf: 0
rip: 0
bgp: 0
isis: 0
Total: 0
ZXAN#

Related Commands
None

38.30 show ip route


Syntax
show ip route [ip-address] [net-mask | protocol]

show ip route other

Purpose
To display the IP routing table

38-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

other Show VRRP NAT tables -

Mode
Any mode except user mode

Example
The following example displays the IP routing table:
ZXAN#show ip route
IPv4 Routing Table:
Dest Mask Gw Interface Owner pri metric
100.1.1.0 255.255.255.0 100.1.1.1 mng1 direct 0 0
100.1.1.1 255.255.255.255 100.1.1.1 mng1 address 0 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

pri Administrative distance assigned to this route

metric Metric assigned to this route

38-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

Related Commands
None

38.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
0 0 0
unknown protocol
0
Frags:reassembled timeouts couldn't reassemble
0 0 0
fragmented couldn't fragment
0 0
Bcast:received sent
53 44
Sent: generated forwarded encapsulation failed no route
990 0 0 0
ICMP statistics:
Rcvd: 0 total
format errors redirects unreachable echo
0 0 0 0
echo reply mask requests mask replies quench
0 0 0 0
timestamp request timestamp reply time exceeded

38-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

0 0 0
parameter problem
0
Sent: 0 total
format errors redirects unreachable echo
0 0 0 0
echo reply mask requests mask replies quench
0 0 0 0
timestamp request timestamp reply time exceeded
0 0 0
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 replies
13 41
Sent: requests replies
41 10
Droped: in requests in replies out requests
0 0 0
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 IP statistics: number of received packets, number of sent packets, fragment statistics


and broadcast packet statistics.
l ICMP statistics: number of packets received and sent.
l ARP statistics: number of packets received and sent.
l TCP statistics: number of packets received, packets with checksum errors and
packets sent.
l UDP statistics: number of packets received, packets with checksum errors and
number of erroneous packets on the receiving port.

38-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

38.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 Starts Wakeups
Retrans 47 0
TimeWait 0 0
AckHold 22 4
KeepAlive 37 37
Persist 0 0
SynWait 1 0
FinWait 0 0

iss: 1210240000 snduna: 1210240372 sndnxt: 1210240372


sndwnd: 65164
irs: 3144580243 rcvnxt: 3144580317 rcvwnd: 4026
SRTT: 871 ms, RTTO: 412 ms, KRTT: 412 ms
minRTT: 16 ms, maxRTT: 1161 ms, ACK hold: 200 ms
Flags: Passive open, higher precedence, retransmission
timeout

38-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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
Retrans 637 3
TimeWait 0 0
AckHold 295 8
KeepAlive 468 468
Persist 0 0
SynWait 1 0
FinWait 0 0

iss: 630845000 snduna: 630848834 sndnxt: 630848834


sndwnd: 16106
irs: 3723997840 rcvnxt: 3723998392 rcvwnd: 4084
SRTT: 652 ms, RTTO: 287 ms, KRTT: 287 ms
minRTT: 16 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

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

38-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

mis-ordered: 0 (0 bytes)

Event Timers (Current time is 5770340(ms)):


Timer Starts Wakeups
Retrans 4299 25
TimeWait 0 0
AckHold 1702 30
KeepAlive 2689 2689
Persist 0 0
SynWait 1 0
FinWait 0 0

iss: 65000000 snduna: 65048570 sndnxt: 65048572


sndwnd: 65203
irs: 1368434624 rcvnxt: 1368437948 rcvwnd: 3992
SRTT: 888 ms, RTTO: 369 ms, KRTT: 369 ms
minRTT: 16 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

38.33 show tcp brief


Syntax
show tcp brief

Purpose
To display the brief descriptions of all the TCP connections

Usage Guidelines
None

38-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

38.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:
ZXAN#show tcp config
TCP SYNWAIT: 30
TCP FINWAIT: 600
TCP QUEUEMAX: 5
TCP WINDOWSIZE: 2144
ZXAN#

38-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

Related Commands
None

38.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):


Timer Starts Wakeups
Retrans 113 0
TimeWait 0 0
AckHold 48 5
KeepAlive 67 67
Persist 0 0
SynWait 1 0
FinWait 0 0

38-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

iss: 2479350456 snduna: 2479351795 sndnxt: 2479351797 sndwnd: 65393


irs: 1068303723 rcvnxt: 1068303833 rcvwnd: 3990
SRTT: 953 ms, RTTO: 299 ms, KRTT: 299 ms
minRTT: 20 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

38.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
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

38-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

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

38.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

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,

38-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 2 0
TimeWait 0 0
AckHold 0 0
KeepAlive 0 0
Persist 0 0
SynWait 0 0
FinWait 0 0

iss: 911535000 snduna: 911535060 sndnxt: 911535060


sndwnd: 16557
irs: 3109854539 rcvnxt: 3109854540 rcvwnd: 2144
SRTT: 258 ms, RTTO: 1973 ms, KRTT: 1973 ms
minRTT: 0 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

38.38 show tcp tty


Syntax
show tcp tty tty-number

Purpose
To display the relevant parameters of the connections with TTY terminal type

38-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

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
Retrans 663 5
TimeWait 0 0
AckHold 312 12
KeepAlive 428 428
Persist 0 0
SynWait 1 0
FinWait 0 0

iss: 1561420456 snduna: 1561426537 sndnxt: 1561426539 sndwnd: 65355


irs: 3376372298 rcvnxt: 3376372798 rcvwnd: 3600
SRTT: 1112 ms, RTTO: 305 ms, KRTT: 305 ms
minRTT: 16 ms, maxRTT: 1394 ms, ACK hold: 200 ms
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#

38-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

38.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 Starts Wakeups
Retrans 679 6
TimeWait 0 0
AckHold 302 15
KeepAlive 415 415
Persist 0 0
SynWait 1 0
FinWait 0 0

iss: 279010816 snduna: 279029365 sndnxt: 279029367 sndwnd: 17284

38-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

irs: 3216228978 rcvnxt: 3216229646 rcvwnd: 1477


SRTT: 733 ms, RTTO: 420 ms, KRTT: 420 ms
minRTT: 31 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

38.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

interface interface-name Interface name Super VLAN Interface Range:


1 - 255
VLAN Interface Range: 1 - 4094

Mode
Any mode except user mode

38-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

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

38-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

38.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 20 ms 20 ms <20ms
2 10.63.0.117 <20ms <20ms <20ms
3 10.63.0.14 <20ms <20ms <20ms
4 <20ms <20ms <20ms
5 * * *
[finished]
ZXAN#

The following table describes the parameters displayed in the example:

Parameter Description

1 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

38-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 “*”.

38.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)#

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

38-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

38.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

38.44 vrrp ip
Syntax
vrrp group ip ip-address [secondary]
no vrrp group [ip ip-address]

Purpose
To enable the VRRP

38-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

38.45 vrrp learn


Syntax
vrrp group learn
no vrrp group learn

Purpose
To learn the VRRP timer values from current master

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

group Group number Range: 0 – 255

Mode
ZXAN(config-if)#

38-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 38 IPv4 Protocol Commands

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

38.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

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

38-45

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-if)#

Related Commands
show vrrp

38.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)#

Related Commands
show vrrp

38-46

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39
IPv6 Protocol Commands
Table of Contents
ipv6 address.............................................................................................................39-2
ipv6 dad-attemps......................................................................................................39-2
ipv6 enable...............................................................................................................39-3
ipv6 mld ...................................................................................................................39-4
ipv6 mtu ...................................................................................................................39-5
ipv6 multicast-routing ...............................................................................................39-5
ipv6 nd .....................................................................................................................39-6
ipv6 nd prefix............................................................................................................39-7
ipv6 ospf ..................................................................................................................39-8
ipv6 pim ...................................................................................................................39-9
ipv6 pim-rp-embedded ...........................................................................................39-10
ipv6 rip ................................................................................................................... 39-11
ipv6 route ...............................................................................................................39-12
ipv6 router ospf ......................................................................................................39-12
ipv6 router pimsm...................................................................................................39-13
ipv6 router pimsm accept-rp ...................................................................................39-14
ipv6 router pimsm bsr-candidate.............................................................................39-14
ipv6 router pimsm rp-candidate ..............................................................................39-15
ipv6 router pimsm static-rp .....................................................................................39-16
ipv6 router rip .........................................................................................................39-16
show ipv6 interface.................................................................................................39-17
show ipv6 mld ........................................................................................................39-18
show ipv6 mr6 ........................................................................................................39-19
show ipv6 mroute ...................................................................................................39-20
show ipv6 mtu ........................................................................................................39-20
show ipv6 ospf .......................................................................................................39-21
show ipv6 pim bsr ..................................................................................................39-22
show ipv6 pim interface ..........................................................................................39-23
show ipv6 pim mroute ............................................................................................39-24
show ipv6 pim neighbor..........................................................................................39-24
show ipv6 pim rp ....................................................................................................39-25
show ipv6 pim traffic ...............................................................................................39-26
show ipv6 rip ..........................................................................................................39-27
show ipv6 route ......................................................................................................39-28

39-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

39.1 ipv6 address


Syntax
ipv6 address { ip-address/num | link-local ip-address }
no ipv6 address [ip-address/num | link-local ]

Purpose
To configure VLAN interface IPv6 address

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address/length IPv6 prefix X:X::X:X/0–128

ip-address IPv6 address X:X::X:X

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 address on the VLAN interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 address 2fee::abcd/64
ZXAN(config-if)#

Related Commands
show ipv6 interface

Related Information
When you use the no ipv6 addrsess without any parameter attached, all interface IPv6
address configurations are deleted.
By default, the interface IPv6 address is not configured.

39.2 ipv6 dad-attemps


Syntax
ipv6 dad-attemps num
no ipv6 dad-attemps

39-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Purpose
To configure duplicate address detection (DAD) attempts on VLAN interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

num DAD attempt number Range: 1 – 60

Mode
ZXAN(config-if)#

Example
The following example displays how to configure DAD attempt on the VLAN interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 dad-attemps 2
ZXAN(config-if)#

Related Commands
show ipv6 interface

39.3 ipv6 enable


Syntax
ipv6 enabele

Purpose
To enable IPv6 on VLAN interface

Usage Guidelines
None

Mode
ZXAN(config-if)#

Example
The following example displays how to enable IPv6 on VLAN interface:
ZXAN(config)#interface vlan2
ZXAN(config-if)#ipv6 enable
ZXAN(config-if)#

39-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
show ipv6 interface

39.4 ipv6 mld


Syntax
ipv6 mld { last-member-query-interval interval | query-interval interval | query-max-respons
e-time time | query-timeout timeout | static-group ipaddr}
no ipv6 mld { last-member-query-interval | query-interval | query-max-response-time | quer
y-timeout | static-group { ipaddr | all } }

Purpose
To configure IPv6 MLD parameters on VLAN interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

last-member-query-interval Last member query interval Range: 1 – 36000, unit: s


interval

query-interval interval Query interval Range: 1 – 36000, unit: s

query-max-response-time time Maximum query response time Range: 1 – 32, unit: s

query-timeout timeout Query time-out Range: 60 – 300, unit: s

static-group ipaddr Static group IPv6 address X:X:X:X::X

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 MLD parameters on the interface:
ZXAN(config-if)#interface vlan 2
ZXAN(config-if)#ipv6 mld last-member-query-interval 10
ZXAN(config-if)#ipv6 mld query-max-response-time 10
ZXAN(config-if)#ipv6 mld static-group ff1e::0101
ZXAN(config-if)#

Related Commands
show ipv6 mld interface

39-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

39.5 ipv6 mtu


Syntax
ipv6 address mtu mtu
no ipv6 address mtu

Purpose
To configure VLAN interface IPv6 MTU

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

mtu mtu Maximum transmission unit Range: 1280 – 1500, unit: byte

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 MTU on the VLAN interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 mtu 1500
ZXAN(config-if)#

Related Commands
show ipv6 interface

39.6 ipv6 multicast-routing


Syntax
ipv6 multicast-routing

Purpose
To configure IPv6 multicast routing

Usage Guidelines
None

39-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 multicast routing:
ZXAN(config)#ipv6 multicast-routing

Related Commands
None

39.7 ipv6 nd
Syntax
ipv6 nd { managed-config-flag | other-config-flag }

ipv6 nd { ra-interval interval | ra-lifetime time | reachable-time time | retransmit-time time |


suppress-ra }
no ipv6 nd { managed-config-flag | other-config-flag }

no ipv6 nd { ra-interval | ra-lifetime | reachable-time | retransmit-time | suppress-ra }

Purpose
To configure on IPv6 neighbor discovery protocol (NDP) parameters on VLAN interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

managed-config-flag Hosts use DHCP for address -


configuration.

other-config-flag Hosts use DHCP for -


non-address configuration.

ra-interval interval IPv6 router advertisement Range: 3 – 1800, unit: s


interval

ra-lifetime time IPv6 router advertisement Range: 0 – 9000, unit: s


lifetime

reachable-time time Advertised reachability time Range: 3 – 3600000, unit: ms

retransmit-time time Advertised retransmit time Range: 1000 – 360000, unit:


ms

39-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Parameter Description Value

suppress-ra Suppress IPv6 router -


advertisements

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 ND parameters on the VLAN
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 nd managed-config-flag
ZXAN(config-if)#ipv6 nd ra-interval 3
ZXAN(config-if)#ipv6 nd ra-lifetime 30
ZXAN(config-if)#ipv6 nd suppress-ra
ZXAN(config-if)#

Related Commands
None

39.8 ipv6 nd prefix


Syntax
ipv6 nd prefix ip-address/num [ valid-lifetime preferred-lifetime ] | [ no-autoconfig ] | [ off-link ]
no ipv6 address ip-address/num

Purpose
To configure IPv6 routing prefix advertisement on VLAN interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address/length IPv6 prefix X:X::X/0–128

valid-lifetime Valid lifetime Range: 0 – 4294967295, unit: s

preferred-lifetime Preferred lifetime Range: 0 – 4294967295, unit: s

no-autoconfig Do not use prefix for -


auto-configuration

39-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

off-link Do not use prefix for on-link -


determination

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 routing prefix advertisement on the
VLAN interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 address 2fee::abcd/64
ZXAN(config-if)#

Related Commands
show ipv6 interface

39.9 ipv6 ospf


Syntax
ipv6 ospf { processid area { areaid | ipaddr } | cost cost | dead-interval interval | hello-interval
interval | priority prio | retransmit-interval interval | transmit-delay delay } [ instance-id id ]
no ipv6 ospf { processid area { areaid | ipaddr } | cost | dead-interval | hello-interval | priority
| retransmit-interval | transmit-delay } [ instance-id id ]

Purpose
To configure on IPv6 OSPF parameters on VLAN interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

processid OSPFv3 process ID Range: 1 – 65535

areaid OSPF area ID in a decimal Range: 1 – 4294967295


value

ipaddr OSPF area ID in IP address A.B.C.D


format

cost cost Interface cost Range: 1 – 65535

39-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Parameter Description Value

dead-interval interval Interval after which a neighbor Range: 3 – 1800, unit: s


is declared dead

hello-interval interval Time between HELLO packets Range: 0 – 9000, unit: s

retransmit-interval interval Time between retransmitting Range: 3 – 3600000, unit: ms


lost link state advertisements

priority prio Router priority Range: 0 – 255

transmit-delay delay Link state transmit delay Range: 1000 – 360000, unit:
ms

instance-id id Interface instance ID Range: 0 – 255

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 OSPF parameters on the VLAN
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 ospf 1 area 1.1.1.1 instance-id 1
ZXAN(config-if)#ipv6 ospf priority 100
ZXAN(config-if)#

Related Commands
show ipv6 ospf

39.10 ipv6 pim


Syntax
ipv6 pim [ bsr-border | dr-priority prio | hello-interval interval | join-prune-interval interval ]
no ipv6 pim [ bsr-border | dr-priority | hello-interval | join-prune-interval ]

Purpose
To configure on IPv6 PIM parameters on VLAN interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

bsr-border Border of PIM domain -

39-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

dr-priority prio PIM Hello DR priority Range: 0 – 4294967295

hello-interval interval PIM neighbor Hello Range: 1 – 3600, unit: s


announcement interval

join-prune-interval interval PIM periodic Join-Prune Range: 10 – 600, unit: s


announcement interval

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 PIM parameters on the VLAN
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 pim bsr-border
ZXAN(config-if)#ipv6 pim join-prune-interval 600
ZXAN(config-if)#

Related Commands
show ipv6 pim

39.11 ipv6 pim-rp-embedded


Syntax
ipv6 pim-rp-embedded

Purpose
To configure IPv6 PIM RP embedded

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 PIM RP embeded:
ZXAN(config)#ipv6 pim-rp-embedded

39-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Related Commands
None

39.12 ipv6 rip


Syntax
ipv6 rip { active-interface | enable | neighbor ipaddr | originate-default-route [ only ] | passiv
e-interface | poison-reverse | split-horizon }
no ipv6 rip { active-interface | enable | neighbor | originate-default-route | passive-interface
| poison-reverse | split-horizon }

Purpose
To configure on IPv6 RIP parameters on VLAN interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

active-interface Deny receiving routing updates -


on the interface

enable Enable RIP routing -

neighbor ipaddr The neighbor router IPv6 X:X::X:X


address

originate-default-route Create a default route at -


specified interface

passive-interface Suppress routing updates on -


the interface

poison-reverse Enable poison-reverse -

split-horizon Perform split horizon -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure IPv6 RIP parameters on the VLAN
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ipv6 rip active-interface
ZXAN(config-if)#ipv6 rip originate-default-route

39-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-if)#

Related Commands
show ipv6 rip

39.13 ipv6 route


Syntax
ipv6 route ip-address/num { [ gateway [ value ] ] [ interface ] }

no ipv6 route ip-address/num { [ gateway [ value ] ] [ interface ] }

Purpose
To configure IPv6 route

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address/num IPv6 prefix X:X:X:X::X/0 – 128

gateway IPv6 address X:X:X:X::X

value Distance value for this prefix Range: 1 – 254

interface Interface name -

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 route:
ZXAN(config)#ipv6 route eff1:1101::/32 3ffe::0101

Related Commands
show ipv6 route

39.14 ipv6 router ospf


Syntax
ipv6 router ospf process-id

39-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Purpose
To configure IPv6 OSPF

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process-id OSPFv3 process ID Range: 1 – 65535

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 OSPF:
ZXAN(config)#ipv6 router ospf 1
ZXAN(config-router)#

Related Commands
show ipv6 ospf

39.15 ipv6 router pimsm


Syntax
ipv6 router pimsm

Purpose
To configure IPv6 router PIMSM

Usage Guidelines
None

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 router PIMSM:

ZXAN(config)#ipv6 router pimsm

39-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

39.16 ipv6 router pimsm accept-rp


Syntax
ipv6 router pimsm accept-rp access-name

Purpose
To configure IPv6 router PIMSM accept RP

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

access-name Access name 1 – 15 characters

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 router PIMSM accept RP:
ZXAN(config)#ipv6 router pimsm accept-rp viss

Related Commands
None

39.17 ipv6 router pimsm bsr-candidate


Syntax
ipv6 router pimsm bsr-candidate ip-address [ lenth ] [ priority ]

Purpose
To configure IPv6 router PIMSM BSR candidate

Usage Guidelines
The following table provides parameter description:

39-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Parameter Description Value

ip-address IPv6 address IPv6 address

lenth Hash mask length for RP Range: 0 – 128


selection

priority Priority Range: 0 – 255

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 router PIMSM BSR candidate:
ZXAN(config)#ipv6 router pimsm bsr-candidate 2a54:4ba2::2546

Related Commands
None

39.18 ipv6 router pimsm rp-candidate


Syntax
ipv6 router pimsm rp-candidate ip-address [ group-list group-list ] [ proority priority ]

Purpose
To configure IPv6 router PIMSM RP candidate

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address - IPv6 address

group-list group-list Access Name -

priority priority Priority Range: 0 – 255

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 router PIMSM RP candidate:
ZXAN(config)#ipv6 router pimsm rp-candidate 2a54:4ba2::2546

39-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

39.19 ipv6 router pimsm static-rp


Syntax
ipv6 router pimsm static-rp ip-address [ group-list group-list ]

Purpose
To configure IPv6 router PIMSM static RP

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address - IPv6 address

group-list group-list Group list -

Mode
ZXAN(config)#

Example
The following example displays how to configure IPv6 router PIMSM static RP:
ZXAN(config)#ipv6 router pimsm static-rp 2a54:4ba2::2546

Related Commands
None

39.20 ipv6 router rip


Syntax
ipv6 router rip
no ipv6 router rip

Purpose
To enter IPv6 RIP configuration mode

Usage Guidelines
The following table provides parameter description:

39-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

None

Mode
ZXAN(config)#

Example
The following example displays how to enter IPv6 RIP configuration mode:
ZXAN(config)#ipv6 router rip

Related Commands
None

39.21 show ipv6 interface


Syntax
show ipv6 interface [ interface ] [ brief ]

Purpose
To display IPv6 interface information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface IPv6 interface -

brief Brief information -

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 interface information:
ZXAN(config)#show ipv6 interface
vlan1 [disable/down]
IPv6 is disabled, Hardware is Ethernet
index 2 metric 1 mtu 1500
<BROADCAST,NOTRAILERS,ALLMULTI,MULTICAS>
ICMPv6 redirects replies are always sent
Bandwidth 1000000 kbits
DAD attemps number:1

39-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

unassigned
vlan10 [disable/down]
IPv6 is disabled, Hardware is Ethernet
index 3 metric 1 mtu 1500
<BROADCAST,NOTRAILERS,ALLMULTI,MULTICAS>
ICMPv6 redirects replies are always sent
Bandwidth 1000000 kbits
DAD attemps number:1
unassigned

Related Commands
ipv6 enable

39.22 show ipv6 mld


Syntax
show ipv6 mld groups ipaddr
show ipv6 mld { groups | interface } [ pon-olt_shelf/slot/olt ] [ pon-olu_shelf/slot/olt:onu ] [ gei_
shelf/slot/port ] [ linkgroup ] [ smartgroup ] [ vlan ] [ supervlan ] [ tunnel ]

Purpose
To display the IPv6 MLD information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

group ipaddr Group IPv6 address X:X:X:X::X

pon-olt_shelf/slot/olt PON OLT interface -

pon-olu_shelf/slot/olt:onu PON ONU interface -

gei_shelf/slot/port Ethernet interface -

linkgroup Link group interface Range: 1 – 192

smartgroup Smartgroup interface Range: 1 – 8

vlan VLAN interface Range: 1 – 4094

supervlan Super VLANinterface Range: 1 – 32

tunnel Tunnel interface Range: 1 – 64

Mode
Any mode except ZXAN>

39-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Example
The following example displays the IPv6 multicast routing table:
ZXAN(config)#show ipv6 mld groups ff1e::0101
Group addr Interface Present Expire

Related Commands
ipv6 mld

39.23 show ipv6 mr6


Syntax
show ipv6 mr6 stat

Purpose
To display the IPv6 multicast statistics

Usage Guidelines
None

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 multicast statistics:
ZXAN(config)#show ipv6 mr6 stat

mr6 packets statistics:


data packets statistics:
mr6 data rcv cnt=0
mr6 data upsend suc cnt=0
mr6 data upsend fail cnt=0
pim6 protocol packets statistics:
mr6 pim6 upsend suc cnt=0
mr6 pim6 upsend fail cnt=0
mr6 pim6 send cnt=0
mld protocol packets statistics:
mr6 mld upsend suc cnt=0
mr6 mld upsend fail cnt=0
mr6 mld send cnt=0
all multicast6 protocol packets statistics:
mr6 pro send cnt=0

39-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
ipv6 multicast

39.24 show ipv6 mroute


Syntax
show ipv6 mroute [ group ipaddr | summary ]

Purpose
To display the IPv6 multicast routing table

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

group ipaddr Group IPv6 address X:X:X:X::X

summary All groups -

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 multicast routing table:
ZXAN(config)#show ipv6 mroute summary
No Multicast routing table entries found.

Related Commands
ipv6 multicast-routing

39.25 show ipv6 mtu


Syntax
show ipv6 mtu

Purpose
To display the IPv6 MTU

Usage Guidelines
None

39-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 MTU:
ZXAN(config)#show ipv6 mtu
MTU Since Timeout Dest

Related Commands
None

39.26 show ipv6 ospf


Syntax
show ipv6 ospf { processid | interface interface | neighbor { neighborId | interface} [ detail ] |
virtual-links [ processid ] }
show ipv6 ospf database [ processid ] { external | inter-prefix | inter-router | intra-prefix | link
| network | router } [ adv-router ipaddr ]

Purpose
To display the IPv6 OSPF information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

processid OSPFv3 process ID Range: 1 – 65535

interface Interface name -

neighborId Neighbor ID A.B.C.D

external AS-external-LSA -

inter-prefix Inter-Prefix-LSA -

inter-router Inter-Router-LSA -

intra-prefix Intra-Prefix-LSA -

link Link-LSA -

network Network-LSA -

router Router-LSA -

adv-router Advertising router LSA -

39-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

ipaddr Advertising router A.B.C.D

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 OSPF information:
ZXAN(config)#show ipv6 ospf 1

Routing Process "ospfv3 1" with ID 0.0.0.0


SPF schedule delay 5 secs. Hold time between two SPFs 10 secs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
Number of external LSA 0. Checksum Sum 0x000000
The number of ospfv3 routes is 0
Default metric is 20
Number of areas in this router is 2. 2 normal 0 stub
Redistribution:
Area BACKBONE(0)
Number of interfaces in this area is 1
SPF algorithm executed 0 times
Number of LSA 0. Checksum Sum 0x000000
Number of Unknown LSA 0
Area 0.0.0.1
Number of interfaces in this area is 0
SPF algorithm executed 0 times
Number of LSA 0. Checksum Sum 0x000000
Number of Unknown LSA 0

Related Commands
ipv6 router ospf

39.27 show ipv6 pim bsr


Syntax
show ipv6 pim bsr { candidate-rp | election | rp-cache }

Purpose
To display the IPv6 PIM-SM bootstrap information

39-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

candidate-rp PIM-SM candidate RP -

election PIM-SM bootstrap -

rp-cache PIM-SM RP cache -

Mode
Any mode except ZXAN>

Example
The following example displays the PIM-SM bootstrap information:
ZXAN(config)#show ipv6 pim bsr election
PIMv2 BSR information

No PIMSM Bootstrap information


This system is configured with non-local address as candidate BSR

Related Commands
ipv6 router pimsm

39.28 show ipv6 pim interface


Syntax
show ipv6 pim interface interface

Purpose
To display the IPv6 PIM-SM interface information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface Interface name -

Mode
Any mode except ZXAN>

39-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the IPv6 PIM-SM interface information:
ZXAN(config-if)#show ipv6 pim interface gei_1/20/1
No interfaces found.

Related Commands
ipv6 router pimsm

39.29 show ipv6 pim mroute


Syntax
show ipv6 pim mroute mroute [ group groupip [ source srcip ] ]

Purpose
To display the IPv6 PIM-SM multicast routing information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

group groupip Group IPv6 address X:X:X:X::X

source srcip Source IPv6 address Range: 1 – 65535

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 PIM-SM multicast routing information:
ZXAN(config)#show ipv6 pim mroute
No Multicast routing table entries found.

Related Commands
ipv6 router pimsm

39.30 show ipv6 pim neighbor


Syntax
show ipv6 pim neighbor [ count | detail ] interface

39-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Purpose
To display the IPv6 PIM-SM neighbor information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

count PIM-SM neighbor count -

detail PIM-SM neighbor detailed -


information

interface Interface name -

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 PIM-SM neighbor information:
ZXAN(config)#show ipv6 pim neighbor vlan 10
No neighbors found.

Related Commands
ipv6 router pimsm

39.31 show ipv6 pim rp


Syntax
show ipv6 pim rp { hash groupip | mapping }

Purpose
To display the IPv6 PIM-SM bootstrap information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

gorupip Group IPv6 prefix X:X::X:X/0–128

mapping PIM-SM RP mapping -

Mode
Any mode except ZXAN>

39-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the PIM-SM RP mapping information:
ZXAN(config)#show ipv6 pim rp mapping
ff00::/8
RP : ::
Protocol : SM
RPF : ,
Info source: Reserved
expires :
ff00::/15
RP : ::
Protocol : NO USED
RPF : ,
Info source: Reserved
expires :
ff02::/16
RP : ::
Protocol : L-Local
RPF : ,
Info source: Reserved
expires :
... ...

Related Commands
ipv6 router pimsm

39.32 show ipv6 pim traffic


Syntax
show ipv6 pim traffic

Purpose
To display the IPv6 PIM-SM traffic information

Usage Guidelines
None

Mode
Any mode except ZXAN>

39-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 39 IPv6 Protocol Commands

Example
The following example displays the PIM-SM traffic information:
ZXAN(config)#show ipv6 pim traffic
PIM Traffic Counters
Elapsed time since counters cleared:00:28:47

Received Sent
Valid PIM Datas 0 0

Valid PIM Packets 0 0


Hello 0 0
Join-Prune 0 0
Register 0 0
Register Stop 0 0
Assert 0 0

Errors:
Malformed Packets 0
Bad Checksums 0
Send Errors 0
Packets Received on PIM-disabled Interface 0
Packets Received with Unknown PIM Version 0

Related Commands
ipv6 router pimsm

39.33 show ipv6 rip


Syntax
show ipv6 rip { database [ ipaddress | ipPrefix ] | interface interface

Purpose
To display the IPv6 RIP information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipaddress IPv6 address X:X::X:X

ipPrefix IPv6 prefix X:X::X:X/0–128

interface Interface name -

39-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 RIP information:
ZXAN(config)#show ipv6 rip interface vlan 10

Related Commands
ipv6 router rip

39.34 show ipv6 route


Syntax
show ipv6 route [ ip-address/num | ip-address | bgp | connected | database | isis | ospf | rip |
static | summary ]

Purpose
To display IPv6 route information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address/num IPv6 address and network digit -

ip-address IPv6 address X:X::X:X

Mode
Any mode except ZXAN>

Example
The following example displays the IPv6 route:
ZXAN(config)#show ipv6 route eff1:1101::/32
Routing entry for eff1:1101::/32
Known via "static", distance 1, metric 0
Last update 00:00:26 ago
via 3ffe::101 inactive

Related Commands
ipv6 route

39-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40
ACL Commands
Table of Contents
acl standard .............................................................................................................40-1
acl extend.................................................................................................................40-2
acl hybrid..................................................................................................................40-3
acl6 hybrid................................................................................................................40-3
acl link......................................................................................................................40-4
name........................................................................................................................40-5
rule (Basic ACL) .......................................................................................................40-5
rule (Extended ACL).................................................................................................40-7
rule (Layer – 2 ACL) .................................................................................................40-8
rule (Hybrid ACL) ...................................................................................................40-10
vlan-mark ...............................................................................................................40-12
clear traffic-statistics ...............................................................................................40-13
show access-list bound ..........................................................................................40-13
show acl .................................................................................................................40-14

40.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)#

40-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

40.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

40-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40 ACL Commands

40.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

40.4 acl6 hybrid


Syntax
acl6 hybrid number acl-number
no acl6 hybrid number acl-number

Purpose
To access the hybrid ACL6 configuration mode

Usage Guidelines
The following table provides parameter description:

40-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

number acl-number Hybrid ACL number Range: 600 - 699

Mode
ZXAN(config)#

Example
The following example displays how to access the hybrid ACL6 configuration mode:
ZXAN(config)#acl6 hybrid number 600
ZXAN(config-hybd-acl6)#

Related Commands
show acl

40.5 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:

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)#

40-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40 ACL Commands

Related Commands
show acl

40.6 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:
ZXAN(config-std-acl)#name zte
ZXAN(config-std-acl)#

Related Commands
None

40.7 rule (Basic ACL)


Syntax
rule rule-no {permit | deny} {source [source-wildcard] | any} [time-range timerange-name]
no rule {rule-no | all}

40-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 Permit the packet that matches -


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)#

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.

40-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40 ACL Commands

40.8 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] [time-
range 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

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 -

40-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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)#

Related Commands
show acl
time-range

40.9 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]

40-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40 ACL Commands

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

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

40-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

40.10 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

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

40-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40 ACL Commands

Parameter Description Value

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 -

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

40-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-hybd-acl)#

Related Commands
show acl
time-range

40.11 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

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

40-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40 ACL Commands

40.12 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#

Related Commands
None

40.13 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:

40-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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/9/1 in V4STD 10
ZXAN#

Related Commands
None

40.14 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

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

40-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 40 ACL Commands

acl standard number 2


name aaa
rule 1 deny any

Related Commands
acl extend
acl link
acl standard
acl hybrid

40-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

40-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41
QoS Commands
Table of Contents
qos dscp-to-dscp-profile ...........................................................................................41-1
qos dscp-to-drop-profile............................................................................................41-2
qos dscp-to-cos-profile .............................................................................................41-3
qos cos-to-cos-profile ...............................................................................................41-4
qos queue-block-profile ............................................................................................41-5
qos queue-map-profile .............................................................................................41-7
qos eth-cos-local-map ..............................................................................................41-8
traffic-profile .............................................................................................................41-9
qos trust .................................................................................................................41-10
qos cos cos-remark ................................................................................................ 41-11
qos cos dscp-remark ..............................................................................................41-12
qos egress-cos cos-remark ....................................................................................41-13
qos egress-cos dscp-remark ..................................................................................41-14
qos traffic-shape.....................................................................................................41-15
qos queue-block-profile(interface) ..........................................................................41-16
qos queue-map-profile(interface)............................................................................41-17
qos drop-procedence .............................................................................................41-18
qos dscp dscp-remark ............................................................................................41-18
traffic-mirror............................................................................................................41-19
traffic-profile ...........................................................................................................41-20
show qos dscp-to-dscp-profile ................................................................................41-21
show qos dscp-to-drop-profile ................................................................................41-22
show qos cos-to-cos-profile ....................................................................................41-23
show qos queue-block-profile .................................................................................41-23
show qos queue-map-profile ..................................................................................41-24
show qos eth-cos-local-map ...................................................................................41-25
show qos interface .................................................................................................41-25
show traffic-profile ..................................................................................................41-26
show traffic-mirror...................................................................................................41-27

41.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

41-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 packet’s 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 Profile name: TEST
l 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.

41.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 packet’s dscp

41-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 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 Profile name: TEST
l 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.

41.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 packet’s dscp

Usage Guidelines
The following table provides parameter description:

41-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 Profile name: TEST
l 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 dscp0 – 7: cos0
l dscp8 – 15: cos1
l dscp16 – 23: cos2
l dscp24 – 31: cos3
l dscp32 – 39: cos4
l dscp40 – 47: cos5
l dscp48 – 55: cos6
l dscp56 – 63: cos7
You can use the no qos dscp-to-cos-profile command to delete the related profile.

41.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

41-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 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 packet’s 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 Profile name: TEST
l 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.

41.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

41-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

weight Queue weight Range: 0 – 63


0: sp dispatch

depth Queue depth Range: 0-63

Mode
ZXAN(config)#

Example
The following example displays how to create a queue-block profile:
l Profile name: test
l Weight of queue0: 20
l 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.

41-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

41.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 ]} | gemport-type | service-type}

no qos queue-map-profile prf_name

Purpose
To configure the service enqueue mapping relationship, which can be cos-queue mapping
relationship, GEM-port-type mapping, 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 to queue mapping -


relationship

queue-number queue-num Queue number Range: 2, 4, 8


Default: 8

queue-value Revised priority Range: 0 – 7

gemport-type GEM port to queue mapping -

service-type Service-port to queue mapping -

Mode
ZXAN(config)#

Example
The following example displays how to create a queue-map profile:

l Profile name: TEST


l 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

41-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
By default, the service enqueues according to CoS. Cos0-cos7 map to queue0-queue7
respectively.
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.
OLT intefaces support only CoS to queue mapping.
EPON ONU interfaces support CoS to queue and service-port to queue mapping。
GPON ONU interfaces support CoS to queue and service-port to queue, and GEM port to
queue mapping.
Service-port to queue and GEM port to queue mapping are specified in service-port and
GEM port configuration.
You can use the no qos queue-map-profile command to delete the related profile.

41.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 Cos0 mapping to queue7

41-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

l 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.
You can use the no qos eth-cos-local-map command to recover the default mapping
relationship from cos to the local priority.

41.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

41-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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

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.

41.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)#

41-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

Example
The following example displays how to configure the reference object to dscp for the
interface gei_1/19/1:
ZXAN(config)#interface gei_1/19/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.
This command is valid under the eth ports and gpon-onu ports.

41.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/16/1:1:
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos cos-remark TEST vport 1

41-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

41.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/16/1:1:

ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos dscp-remark TEST vport 1
ZXAN(config-if)#

41-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

Note:
The dscp-to-cos profile TEST is already created.

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 Ethernet 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.

You can use the no qos cos dscp-remark command to delete the configuration.

41.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)#

41-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to configure the egress-cos cos-remark profile to
TEST for vport 1 of the gpon-onu_1/16/1:1 interface:
ZXAN(config)#interface gpon-onu_1/16/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 parameter egress-cos override is not
configured, this profile takes effect.
You can use the no qos egress-cos cos-remark command to delete the related configuration.

41.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)#

41-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

Example
The following example displays how to configure the egress-cos dscp-remark profile of the
gpon-onu_1/16/1:1 interface to TEST:
ZXAN(config)#interface gpon-onu_1/16/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.

41.14 qos traffic-shape


Syntax
qos traffic-shape rate-limit rate-value bucket-size bucket-value
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/19/1 to 10 Mbps:
ZXAN(config)#interface gei_1/19/1

41-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

41.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

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/19/1
interface to TEST:

ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos queue-block-profile TEST
ZXAN(config-if)#

Related Commands
show qos interface
qos queue-block-profile

41-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

Related Information
This command is valid under the eth and gpon-olt interfaces.
You can use the no qos queue-block-profile command to delete the related configuration.

41.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:

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/14/1 interface to TEST:
ZXAN(config)#interface gpon-olt_1/14/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.

41-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

41.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)#

Example
The following example displays how to configure the dscp-to-drop profile of the gei_1/19/1
interface to TEST:
ZXAN(config)#interface gei_1/19/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.

41.18 qos dscp dscp-remark


Syntax
qos dscp dscp-remark prf-name

no qos dscp dscp-remark

41-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

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/19/1
ZXAN(config-if)#qos dscp dscp-remark TEST
ZXAN(config-if)#

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.

41.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:

41-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 0

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:
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

41.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

41-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

Parameter Description Value

ingress To configure ingress traffic -


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/14/1 to TEST:
ZXAN(config)#interface gpon-olt_1/14/1
ZXAN(config-if)#qos traffic-profile test direction egress
ZXAN(config-if)#

Related Commands
show traffic-profile
traffic-profile

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.

41.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

41-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

41.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
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

41-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

41.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

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

41.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:

41-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

41.25 show qos queue-map-profile


Syntax
show qos queue-map-profile [prf-name ]

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

41-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

Related Commands
qos queue-map-profile

41.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

Related Commands
qos eth-cos-local-map

41.27 show qos interface


Syntax
show qos interface interface-name

Purpose
To display the port QoS configuration

Usage Guidelines
The following table provides parameter description:

41-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

interface-name Interface name l epon-olt_shelf/slot/port


l epon-
onu_shelf/slot/port:onuid
l gei_shelf/slot/port
l xgei_shelf/slot/port

Mode
Any mode except ZXAN>

Example
The following example displays the port QoS configuration:
ZXAN#show qos interface gei_1/19/1
qos cos dscp-remark TEST

Related Commands
None

41.28 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 -

Mode
Any mode

Example
The following example displays the information of the traffic profile with the name of test:

41-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 41 QoS Commands

ZXAN(config)#show traffic-profile test

Related Commands
traffic-profile

41.29 show traffic-mirror


Syntax
show traffic-mirror

Purpose
To display the traffic-mirror of ACL

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/21/1
destination mac : 00d0.0022.1143
source mac : 00d0.d011.3254
vlanid : 200
current next hop
out interface : gei_1/21/1
destination mac : 00d0.0033.1122
source mac : 00d0.d011.3254
vlanid : 200

Related Commands
traffic-mirror

41-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

41-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42
MAC Configuration
Commands
Table of Contents
mac add ...................................................................................................................42-1
mac aging-time.........................................................................................................42-2
mac monitor-period ..................................................................................................42-3
mac pool ..................................................................................................................42-4
mac usage-threshold................................................................................................42-4
mac delete ...............................................................................................................42-5
security mac-anti-spoofing........................................................................................42-6
security uplink-protected-mac...................................................................................42-7
show security configuration ......................................................................................42-8
show security mac-spoofing-list ................................................................................42-9
show security mac-spoofing-log ...............................................................................42-9
show mac...............................................................................................................42-10
show mac aging-time .............................................................................................42-12
show mac monitor-info ...........................................................................................42-12
show mac pool .......................................................................................................42-13
show mac running ..................................................................................................42-14

42.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

42-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

ethernet port-name GEI Ethernet interface Keywords: gei_1/21


GEI Interface Range: 1 - 2

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/21/1
ZXAN(config)#

Related Commands
mac delete

show mac

42.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)#

42-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42 MAC Configuration Commands

Example
The following example displays how to configure the MAC address aging time in the
system:
ZXAN(config)#mac aging-time 180
ZXAN(config)#

Related Commands
show mac aging-time
show mac-running

42.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

42-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

42.4 mac pool


Syntax
mac pool pool-index start-mac [mac-num]
no mac pool pool-index

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

42.5 mac usage-threshold


Syntax
mac usage-threshold percent

Purpose
To configure the MAC usage threshold value

42-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42 MAC Configuration Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

percent MAC usage percent Range: 1 - 100%


Default: 70%

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

42.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 GEI Ethernet interface Keywords: gei_1/21


GEI Interface Range: 1 - 2

smartgroup smartgroup-id Smart group ID Range: 1 - 8

vlan-id VLAN ID Range: 1 - 4094

dynamic Dynamic MAC address -

42-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

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
ZXAN(config)#mac delete ethernet gei_1/21/1
ZXAN(config)#

Related Commands
mac add
show mac

42.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:

42-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42 MAC Configuration Commands

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.

42.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

all Clear all uplink-protected MAC -


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 The following example displays how to clear all uplink-protected MAC addresses:
l
ZXAN(config)#no security uplink-protected-mac all
ZXAN(config)#

42-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

42.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
1 0000.0000.0001
ZXAN(config)#

Related Commands
security mac-anti-spoofing
security uplink-protected-mac

42-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42 MAC Configuration Commands

42.10 show security mac-spoofing-list


Syntax
show security mac-spoofing-list

Purpose
To show security MAC address spoofing list

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 hit gport port agetime
0000.0000.0001 100 0 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.

42.11 show security mac-spoofing-log


Syntax
show security mac-spoofing-log

Purpose
To show security MAC address spoofing log

42-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
None

Mode
ZXAN#
ZXAN(config)#

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 gport time(yy-mm-dd hh:mm:ss) operate(ADD)
0000.0000.0001 100 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.

42.12 show mac


Syntax
show mac [dynamic | static | ethernet port-name | dsl port-name pvc pvc | [shelfno shelfno] slot
slot | smartgroup smartgroup-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:

42-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42 MAC Configuration Commands

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 GEI Ethernet interface Keywords: gei_1/21


GEI Interface Range: 1 - 2

smartgroup smartgroup-id Smart group ID Range: 1 - 8

dsl port-name DSL interface Keywords: adsl_1/16,


adsl_1/17, vdsl_1/4
ADSL Interface Range: 1 - 64
VDSL Interface Range: 1 - 32

pvc pvc PVC number Range: 1 - 8

vlan-id VLAN ID Range: 1 - 4094

shelfno shelfno Specify shelf number Range: 1 - 5

slot slot Specify 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 1 Permanent gei_1/21/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

42-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
mac add
mac delete

Related Information
show mac command displays line card FPGA MAC address and control card ROS MAC
address.

42.13 show mac aging-time


Syntax
show mac aging-time

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

42.14 show mac monitor-info


Syntax
show mac monitor-info

Purpose
To display the MAC monitoring information

42-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42 MAC Configuration Commands

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).
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

42.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:

42-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN#show mac pool


Total mac: 1792 Free mac: 1792 Used mac: 0
Index startMac num/free/used
--------------------------------------
1 1a22.2222.2222 512/512/0
4 1a44.4444.4444 1024/1024/0
6 1a55.5555.5555 256/256/0

ZXAN#

Related Commands
mac pool

42.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

42-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 42 MAC Configuration Commands

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.

42-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

42-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 43
IP Address Pool Commands
Table of Contents
ip local pool ..............................................................................................................43-1
ip local pool conflict-ip ..............................................................................................43-2
clear ip pool conflict-ip ..............................................................................................43-2
peer default ip pool...................................................................................................43-3
show ip local pool .....................................................................................................43-4
show ip local pool conflict-ip .....................................................................................43-5

43.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)#

43-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

43.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

43.3 clear ip pool conflict-ip


Syntax
clear ip pool conflict-ip {address conflict-addr | pool pool-name | all}

43-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 43 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

43.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

43-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

43.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

43-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 43 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

43.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

43-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

43-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44
System Log/Statistical
Management Commands
Table of Contents
clear logging alarm ...................................................................................................44-1
clear logging command ............................................................................................44-2
clear logging snmp ...................................................................................................44-2
clear processor.........................................................................................................44-3
logging buffer ...........................................................................................................44-4
logging console ........................................................................................................44-4
logging level .............................................................................................................44-5
logging mode ...........................................................................................................44-6
logging on ................................................................................................................44-7
logging snmplog-save ..............................................................................................44-7
show snmplogfile......................................................................................................44-8
show cmdlogfile........................................................................................................44-9
show logging alarm ................................................................................................44-10
show logging configure........................................................................................... 44-11
show processor ......................................................................................................44-12
unm server .............................................................................................................44-13
write alarmlog.........................................................................................................44-14
write cmdlog ...........................................................................................................44-15
write snmplog .........................................................................................................44-16

44.1 clear logging alarm


Syntax
clear logging alarm

Purpose
To clear alarm log buffer

Usage Guidelines
None

44-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Mode
ZXAN#

Example
The following example displays how to clear alarm log buffer:
ZXAN#clear logging alarm
ZXAN#

Related Commands
None

44.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

44.3 clear logging snmp


Syntax
clear logging snmp

44-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44 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

44.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#

44-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

44.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

44.6 logging console


Syntax
logging console level
no logging console

Purpose
To send the alarm messages to the console interface or Telnet terminal

44-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44 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

44.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)#

44-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

44.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)#

44-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44 System Log/Statistical Management Commands

Related Commands
None

44.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

44.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:

44-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

44.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

44-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44 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

44.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

44-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

44.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

44-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44 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.

44.14 show logging configure


Syntax
show logging configure

Purpose
To display the log about the configuration information

44-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

44.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

44-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44 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 1 4 6% 6% 6% 32 46%
1 1 10 24% 24% 24% 254 72%
1 1 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

44.16 unm server


Syntax
unm server {unmserver | mng unmserver} string
no unm server

44-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

44.17 write alarmlog


Syntax
write alarmlog

Purpose
To save the alarm log from buffer to flash

Usage Guidelines
None

Mode
ZXAN#

44-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 44 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.

44.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

44-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Information
flash:data/log.dat is the flash file path.

44.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.

44-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 45
NTP Configuration
Commands
Table of Contents
ntp alarm-threshold ..................................................................................................45-1
ntp poll-interva1........................................................................................................45-2
ntp enable ................................................................................................................45-3
ntp server .................................................................................................................45-3
ntp source ................................................................................................................45-4
show ntp status ........................................................................................................45-5

45.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)#

45-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

45.2 ntp poll-interva1


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.

45-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 45 NTP Configuration Commands

45.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.

45.4 ntp server


Syntax
ntp server ip-address [version number]
no ntp server ip-address

Purpose
To configure the NTP server address and protocol version

45-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address NTP server address A.B.C.D

version number NTP protocol version Range: 1 – 3

Mode
ZXAN(config)#

Example
The following example displays how to configure the NTP server address and protocol
version:
ZXAN(config)#ntp server 10.1.1.1 priority 1
ZXAN(config)#

Related Commands
ntp enable
show ntp status

Related Information
System supports synchronizing timing from only one NTP server, so the latest configuration
replaces the previous configuration.

System starts to synchronize timing when ntp enable command is configured.

45.5 ntp source


Syntax
ntp source ip-address
no ntp source ip-address

Purpose
To configure the NTP packet source address

Usage Guidelines
The following table provides parameter description:

45-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 45 NTP Configuration Commands

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

45.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,
precision is 2**16
reference time is 0.0 ()
clock offset is 0.00 msec, root delay is 0.00 msec

45-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

root dispersion is 0.00 msec, peer dispersion is 0.00 msec


ZXAN#

Related Commands
ntp enable
ntp server

45-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 46
Clock Management
Commands
Table of Contents
clock.........................................................................................................................46-1
card-clock.................................................................................................................46-2
source ......................................................................................................................46-3
external-input ...........................................................................................................46-4
external-output .........................................................................................................46-5
ptp............................................................................................................................46-6
ptp-source ................................................................................................................46-7
show clock config .....................................................................................................46-8
show clock interface .................................................................................................46-9
show clock source active..........................................................................................46-9
show clock source alarm ........................................................................................46-10
show source active................................................................................................. 46-11
show source alarm ................................................................................................. 46-11

46.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

46-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

46.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.

46-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 46 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

46.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)#

46-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays how to add a reference clock source:
ZXAN(config)#clock
ZZXAN(config-clock)#source 1/5/1 type e1 priority 44
ZXAN(config-clock)#

Related Commands
None

46.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:

46-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 46 Clock Management Commands

ZXAN(config)#clock
ZXAN(config-clock)#external-input 1/11/1 quality sec mode hz
ZXAN(config-clock)#

Related Commands
None

46.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)#

46-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

46.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.
l -1 indicates 1/2 second.
l -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)#

46-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 46 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.

46.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)#

46-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

46.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/19/1 syncE 1 qlsec – primary source
clock source count: 1;
wtr 5 minutes ; holdofftime 300 ms; QL-enable

Related Commands
source

46-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 46 Clock Management Commands

46.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 1–3

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/19/1 synce qlsec

ZXAN(config-clock)#show clo interface esmc


interface port_type esmc
.............................................
1/19/1 synce enable

46.10 show clock source active


Syntax
show clock source active

46-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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/19/3
type :synce
ssm-ql :qlsec
status :locked
warning :none

Related Commands
None

46.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/18/1 external 2 undef loss of signal
1/19/3 synce 2 qlsec none

46-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 46 Clock Management Commands

Related Information
This command is used to show the alarms of all source clocks, one line for one clock
source.

46.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

46.13 show source alarm


Syntax
show source alarm

Purpose
To display the source clock alarm

Usage Guidelines
None

46-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 ssm-received alarm
......................................................................
1/19/1 syncE 1 qlsec none

Related Commands
None

46-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 47
TACACS+ Commands
Table of Contents
tacacs enable ...........................................................................................................47-1
tacacs-client .............................................................................................................47-2
tacacs-server ...........................................................................................................47-2

47.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

47-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

47.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

47.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:

47-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 47 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

47-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

47-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 48
RADIUS Commands
Table of Contents
algorithm ..................................................................................................................48-1
deadtime ..................................................................................................................48-2
max-retries ...............................................................................................................48-3
radius vendor-identify ...............................................................................................48-4
server.......................................................................................................................48-4
timeout .....................................................................................................................48-5
show radius vendor-identify ......................................................................................48-6

48.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:

48-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#algorithm round-robin
ZXAN(config-authgrp-1)#

Related Commands
None

48.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.

48-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 48 RADIUS Commands

48.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.

48-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

48.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

48.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

48-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 48 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.

48.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)#

48-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

48.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

48-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 49
SSH Commands
Table of Contents
ssh server authentication ispgroup ...........................................................................49-1
ssh server authentication mode ................................................................................49-2
ssh server authentication type ..................................................................................49-2
ssh server enable .....................................................................................................49-3
ssh server generate-key ...........................................................................................49-4
ssh server only .........................................................................................................49-4
ssh server version ....................................................................................................49-5
show ssh ..................................................................................................................49-6

49.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)#

49-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

49.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

49.3 ssh server authentication type


Syntax
ssh server authentication type {pap | chap}

Purpose
To configure the authentication access mode for SSH server

49-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 49 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

49.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

49-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config)#

Related Commands
None

49.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

49.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

49-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 49 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

49.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)#

49-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

49.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

49-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 50
PIM Snooping Commands
Table of Contents
ip pim snooping ........................................................................................................50-1
pim snooping............................................................................................................50-2
show ip pim snooping all-statistic..............................................................................50-2
show ip pim snooping entry ......................................................................................50-3
show ip pim snooping neighbor-info .........................................................................50-4
show ip pim snooping port-info .................................................................................50-5
show ip pim snooping port-statistic clear interface ....................................................50-5
show ip pim snooping port-statistic interface.............................................................50-6

50.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

50-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

50.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.

50.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:

50-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 50 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

50.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

50-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

50.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

50-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 50 PIM Snooping Commands

50.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

50.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

50-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

50.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

50-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 50 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

50-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

50-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51
RIP Protocol Commands
Table of Contents
router rip ..................................................................................................................51-2
auto-summary ..........................................................................................................51-2
default-metric ...........................................................................................................51-3
disable interface .......................................................................................................51-4
distance ...................................................................................................................51-5
enable interface........................................................................................................51-5
flash-update-threshold..............................................................................................51-6
ip poison-reverse......................................................................................................51-7
ip rip authentication key............................................................................................51-8
ip rip authentication key-chain ..................................................................................51-9
ip rip authentication mode ......................................................................................51-10
ip rip interface.........................................................................................................51-10
ip rip neighbor-restrict............................................................................................. 51-11
ip rip notify default route .........................................................................................51-12
ip rip only-send-subnet ...........................................................................................51-13
ip rip originate default route ....................................................................................51-14
ip rip receive version ..............................................................................................51-15
ip split-horizon ........................................................................................................51-16
maximum-paths......................................................................................................51-17
neighbor .................................................................................................................51-17
network ..................................................................................................................51-18
offset-list.................................................................................................................51-19
output-delay ...........................................................................................................51-20
redistribute .............................................................................................................51-21
show ip rip..............................................................................................................51-22
show ip rip database ..............................................................................................51-23
show ip rip interface ...............................................................................................51-24
show ip rip networks...............................................................................................51-25
timers basic............................................................................................................51-25
validate-update-source ...........................................................................................51-27
version ...................................................................................................................51-27

51-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

51.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

51.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)#

51-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 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.

51.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)#

51-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

51.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

51-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 RIP Protocol Commands

51.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.

51.6 enable interface


Syntax
enable interface ip-address

Purpose
To enable the RIP on an interface

51-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

51.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 Description Value

threshold Time interval for which the Range: 1 - 30 sec


suppression of flash updates Default: 5 sec
can be configured

Mode
ZXAN(config-router)#

51-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 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.

51.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)#

51-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

51.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

51-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 RIP Protocol Commands

Related Information
If the key is not configured using the key command, the authentication is not performed on
the interface.

51.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.

51-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

51.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.

51.12 ip rip interface


Syntax
ip rip interface {passive | active}
no ip rip interface

51-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 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 Description Value

passive 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.

51.13 ip rip neighbor-restrict


Syntax
ip rip neighbor-restrict

51-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

51.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:

51-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 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

51.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)#

51-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

51.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)#

51-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 RIP Protocol Commands

Related Commands
ip rip notify default route

51.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

1 RIP version number 1 -

2 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.

51-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

51.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.

51-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 RIP Protocol Commands

51.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.

51.20 neighbor
Syntax
neighbor ip-address
no neighbor ip-address

51-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

51.21 network
Syntax
network ip-address net-mask
no network ip-address net-mask

Purpose
To specify the network table for RIP routing

51-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 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.

51.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:

51-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

51.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

51-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 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.

51.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

51-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

51.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

51-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 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.

51.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:

51-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

51.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:

51-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 RIP Protocol Commands

10.10.30.4
receive version 1 2
send version 2
split horizon is effective

ZXAN#

Related Commands
None

51.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

51.29 timers basic


Syntax
timers basic update invalid holddown flush

51-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 Period for suppressing better Range: 1 - 65535 sec


route Default: 1 sec

flush 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.

51-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 51 RIP Protocol Commands

51.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.

51.31 version
Syntax
version {1 | 2}

Purpose
To configure the RIP version used by a specified router

51-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

1 Version number 1 -

2 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

51-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52
OSPF Protocol Commands
Table of Contents
enable ip ospf...........................................................................................................52-2
router ospf................................................................................................................52-3
area authentication...................................................................................................52-4
area filter-list ............................................................................................................52-4
area nssa .................................................................................................................52-6
area range................................................................................................................52-7
area stub ..................................................................................................................52-8
area stub-host ..........................................................................................................52-9
area virtual-link.......................................................................................................52-10
auto-cost ................................................................................................................ 52-11
capacity opaque .....................................................................................................52-12
clear ip ospf process ..............................................................................................52-13
clear ip ospf redistribution.......................................................................................52-14
compatible rfc 1583 ................................................................................................52-15
debug.....................................................................................................................52-15
default-metric .........................................................................................................52-16
disable area ...........................................................................................................52-17
disable interface .....................................................................................................52-18
disable ip ospf ........................................................................................................52-18
distance ospf ..........................................................................................................52-19
enable area ............................................................................................................52-20
enable interface......................................................................................................52-21
enable ip ospf.........................................................................................................52-21
filter ........................................................................................................................52-22
grace-period ...........................................................................................................52-23
ip ospf authentication .............................................................................................52-24
ip ospf authentication-key.......................................................................................52-24
ip ospf cost.............................................................................................................52-25
ip ospf dead-interval ...............................................................................................52-26
ip ospf hello-interval ...............................................................................................52-27
ip ospf message-digest-key ....................................................................................52-28
ip ospf mtu-ignore ..................................................................................................52-29
ip ospf network .......................................................................................................52-29
ip ospf priority.........................................................................................................52-30
ip ospf retransmit-interval .......................................................................................52-31
ip ospf transmit-delay .............................................................................................52-32
maximum-paths......................................................................................................52-33

52-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

neighbor .................................................................................................................52-34
network ..................................................................................................................52-35
no area...................................................................................................................52-36
notify default route..................................................................................................52-37
nsf..........................................................................................................................52-37
passive-interface ....................................................................................................52-38
redistribute .............................................................................................................52-39
router-id .................................................................................................................52-40
show ip ospf ...........................................................................................................52-41
show ip ospf border-routers ....................................................................................52-44
show ip ospf database............................................................................................52-45
show ip ospf interface.............................................................................................52-54
show ip ospf neighbor ............................................................................................52-56
show ip ospf nsf .....................................................................................................52-57
show ip ospf request-list .........................................................................................52-60
show ip ospf retransmission-list ..............................................................................52-60
show ip ospf virtual-links.........................................................................................52-61
summary-address ..................................................................................................52-63
timers lsa-group-pacing ..........................................................................................52-64
timers spf ...............................................................................................................52-65

52.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)#

52-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

Related Commands
enable ip bgp

52.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.

52-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

52.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 Message-digest (type 2) -


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.

52.4 area filter-list


Syntax
area area-id filter-list prefix prefix-list {out | in}

52-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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.

52-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

52.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

52-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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.

52.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)#

52-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

52.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

52-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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.

52.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)#

52-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

52.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 seconds Retransmit interval on the virtual Range: 1 - 8192 sec


link Default: 5

transmit-delay seconds Delay for transmitting a link Range: 1 - 8192 sec


state update packet on the Default: 1
virtual link

dead-interval seconds Dead interval for neighbors on Range: 1 - 8192 sec


the virtual link Default: 40

authentication-key key Authentication key on the virtual Range: 1 - 8 characters


link

52-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

Parameter Description Value

message-digest-key keyid MD5 authentication key ID on Range: 1 - 255


the virtual link Default: 10

md5 cryptkey 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 -


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.

52.10 auto-cost
Syntax
auto-cost reference-bandwidth ref-bw

no auto-cost reference-bandwidth

52-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

52.11 capacity opaque


Syntax
capability opaque
no capability opaque

Purpose
To enable or disable a route to support Opaque LSA

52-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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.

52.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

52-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

52.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

52-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

52.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.

52.15 debug
Syntax
debug
no debug

52-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

52.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 Description Value

metric-value Default cost value of the system Range: 1 - 4294967295


external routes

52-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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.

52.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

52-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-router)#

Related Commands
enable area

52.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

52.19 disable ip ospf


Syntax
disable ip ospf process-id

52-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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

52.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

52-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

52.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

52-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

ZXAN(config-router)#

Related Commands
enable area

52.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

52.23 enable ip ospf


Syntax
enable ip ospf process-id

52-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

52.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

52-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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

52.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)#

52-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
capacity opaque
nsf

52.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

52.27 ip ospf authentication-key


Syntax
ip ospf authentication-key password
no ip ospf authentication-key

52-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 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

Related Commands
None

Related Information
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ
`*- =~!@#$%^&()_+[]{}|;':,./<> \ are the characters allowed in a password.

52.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:

Parameter Description Value

cost Interface cost Range: 1 - 65535

52-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

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.

52.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)#

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

52-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

ZXAN(config-if)#

Related Commands
ip ospf hello-interval

Related Information
The dead-interval is generally configured to four times the hello-interval.

52.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)#

Related Commands
ip ospf dead-interval

Related Information
The Hello-interval is generally configured to be 1/4th of the dead-interval.

52-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

52.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

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.

52-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

52.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.

52.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]]

52-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

52.34 ip ospf priority


Syntax
ip ospf priority priority
no ip ospf priority

Purpose
To configure the interface priority

52-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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.

52.35 ip ospf retransmit-interval


Syntax
ip ospf retransmit-interval seconds
no ip ospf retransmit-interval

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

52-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

52.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

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)#

52-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

Related Commands
None

52.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)#

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.

52-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

52.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:

ZXAN(config)#router ospf 1
ZXAN(config-router)#neighbor 10.1.1.0
ZXAN(config-router)#

Related Commands
None

52-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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.

52.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)#

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)#

52-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

52.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
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.

52-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

52.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)#

Related Commands
None

52.42 nsf
Syntax
nsf
no nsf

52-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

52.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

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

default All interfaces as passive -


interface

interface Interface name -

Mode
ZXAN(config-router)#

52-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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

52.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] [route-
map]

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

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)#

52-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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..

52.45 router-id
Syntax
router-id ip-address
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)#

52-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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.

52.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:

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#

52-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

l 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
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

52-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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

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

52-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Information Description

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

Related Commands
None

52.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

52-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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 Next Hop Cost Type RteType Area
160.89.97.53 144.144.1.53 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

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

52.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]

52-45

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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 area-
id] [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 -

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

52-46

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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 Seq# Checksum Link count


5.5.5.5 5.5.5.5 13237 0x80000002 0x632 0

Router Link States (Area 0.0.0.1)

Link ID ADV Router Age Seq# Checksum Link count


5.5.5.5 5.5.5.5 13237 0x80000002 0xdfd 1

Type-7 AS External Link States (Area 0.0.0.1)

Link ID ADV Router Age Seq# Checksum Tag


0.0.0.0 5.5.5.5 636 0x80000009 0xdefc 3489660928

Router Link States (Area 0.0.0.10)


Link ID ADV Router ge Seq# Checksum Link count
5.5.5.5 5.5.5.5 13237 0x80000002 0x632 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

l show ip ospf database summary


ZXAN#show ip ospf database summary

52-47

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

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

l 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

52-48

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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

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.

52-49

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

l 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

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

l show ip ospf database router


ZXAN#show ip ospf database router

52-50

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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

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

52-51

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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)

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

l 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 1
Network 0

52-52

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

Summary Net 0
Summary ASBR 0
Type-7 Ext 0
Opaque Link 0
Opaque Area 0
Subtotal 1

Area 0.0.0.1 database summary


LSA Type Count
Router 1
Network 0
Summary Net 0
Summary ASBR 0
Type-7 Ext 1
Opaque Link 0
Opaque Area 0
Subtotal 2

Area 0.0.0.10 database summary


LSA Type Count
Router 1
Network 0
Summary Net 0
Summary ASBR 0
Type-7 Ext 0
Opaque Link 0
Opaque Area 0
Subtotal 1

Process 1 database summary


LSA Type Count
Router 3
Network 0
Summary Net 0
Summary ASBR 0
Type-7 Ext 1
Opaque Link 0
Opaque Area 0
Type-5 Ext 0
Opaque AS 0
Total 4

ZXAN#

The following table describes the parameters displayed in the example:

52-53

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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

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

52.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

52-54

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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
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

52-55

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Information Description

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

Related Commands
None

52.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:

52-56

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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/9 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:

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

52.51 show ip ospf nsf


Syntax
show ip ospf nsf

52-57

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.
ZXAN#show ip ospf nsf
OSPF Router with ID (134.1.1.200) (Process ID 200)OSPF instance is
in normal state

ZXAN#

l 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 00:00:00
Time to leave 223 s
Helper 134.1.1.201
In the area 0.0.0.0
via interface gei_1/9 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

52-58

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

Parameter Description

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

l 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
via interface gei_1/9 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/9 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

52-59

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

52.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 -

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 ADV RTR Seq NO Age Checksum
1 200.1.1.12 200.1.1.12 0x8000020D 8 0x6572

ZXAN#

Related Commands
None

52.53 show ip ospf retransmission-list


Syntax
show ip ospf retransmission-list [neighbor | interface-name interface-neighbor] [process proces
s-id]

52-60

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

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 -

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

52.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

52-61

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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#

l 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/9/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/9/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

52-62

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

52.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:

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

52-63

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

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.

52.56 timers lsa-group-pacing


Syntax
timers lsa-group-pacing seconds
no timers lsa-group-pacing

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.

52-64

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 52 OSPF Protocol Commands

52.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:

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

52-65

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

52-66

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53
BGP Protocol Commands
Table of Contents
enable ip bgp ...........................................................................................................53-2
router bgp.................................................................................................................53-3
address-family ipv4 multicast....................................................................................53-4
aggregate-adress .....................................................................................................53-5
bgp always-compare-med ........................................................................................53-6
bgp as ......................................................................................................................53-7
bgp client-to-client reflection .....................................................................................53-8
bgp cluster-id ...........................................................................................................53-9
bgp confederation identifier ....................................................................................53-10
bgp confederation peers.........................................................................................53-10
bgp dampening ...................................................................................................... 53-11
bgp default ipv4-unicast..........................................................................................53-12
bgp default local-preference ...................................................................................53-13
bgp default route-targer filter ..................................................................................53-14
bgp fast-external-fallover ........................................................................................53-15
bgp graceful-restart ................................................................................................53-16
bgp router-id...........................................................................................................53-17
bgp update-delay ...................................................................................................53-17
clear ip bgp dampening ..........................................................................................53-18
clear ip bgp flap-statistics .......................................................................................53-19
default-information originate ...................................................................................53-20
default-metric .........................................................................................................53-21
disable ip bgp .........................................................................................................53-22
distance bgp...........................................................................................................53-22
enable ip bgp .........................................................................................................53-23
exit-address-family .................................................................................................53-24
ip as-path access-list..............................................................................................53-25
ip community-list ....................................................................................................53-26
ip prefix-list.............................................................................................................53-27
maximum-paths......................................................................................................53-28
neighbor activate....................................................................................................53-29
neighbor advertisement-interval .............................................................................53-30
neighbor allowas-in ................................................................................................53-31
neighbor default-originate.......................................................................................53-32
neighbor description ...............................................................................................53-33
neighbor ebgp-multihop..........................................................................................53-34
neighbor maximum-prefix .......................................................................................53-35

53-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

neighbor next-hop-self............................................................................................53-36
neighbor passive ....................................................................................................53-37
neighbor password .................................................................................................53-38
neighbor prefix-list ..................................................................................................53-39
neighbor remote-as ................................................................................................53-40
neighbor remove-private-as....................................................................................53-41
neighbor route-map ................................................................................................53-42
neighbor route-reflector-client.................................................................................53-43
neighbor send-community ......................................................................................53-45
neighbor send-med ................................................................................................53-46
neighbor shut-down................................................................................................53-46
neighbor soft-reconfiguration ..................................................................................53-47
neighbor timers ......................................................................................................53-48
neighbor update-source..........................................................................................53-49
network ..................................................................................................................53-51
redistribute .............................................................................................................53-51
reset ip bgp ............................................................................................................53-52
synchronization ......................................................................................................53-53
show bgp all neighbor ............................................................................................53-54
show bgp all protocol..............................................................................................53-56
show bgp all summary............................................................................................53-56
show bgp ipv4 multicast .........................................................................................53-58
show bgp ipv4 multicast neighbor...........................................................................53-60
show bgp ipv4 unicast ............................................................................................53-62
show bgp ipv4 unicast dampening dampened-paths...............................................53-65
show bgp ipv4 unicast dampening flap-statistics.....................................................53-65
show bgp ipv4 unicast neighbor .............................................................................53-66
show bgp ipv4 unicast summary.............................................................................53-69
show ip as-path-access-list ....................................................................................53-70
show ip bgp dampened-paths.................................................................................53-71
show ip bgp flap-statistics.......................................................................................53-72
show ip bgp neighbor .............................................................................................53-72
show ip bgp protocol ..............................................................................................53-76
show ip bgp route ...................................................................................................53-76
show ip bgp summary ............................................................................................53-78
show ip community-list ...........................................................................................53-79
show ip prefix-list....................................................................................................53-80
timers bgp ..............................................................................................................53-81

53.1 enable ip bgp


Syntax
enable ip bgp

53-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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)#

53-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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.

53-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

53.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

53-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-router)#

l 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)#

l 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

53.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

53-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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

53-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

Related Information
By default, BGP reflects routes received from any route reflector client to all other route
reflector clients.

53.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.

53-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

53.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

53.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:

53-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Parameter Description Value

reuse Reuse values based on Range: 1 - 20000


accumulated penalties Default: 750

suppress A route is suppressed when its Range: 1 - 20000


penalty exceeds this limit Default: 2000

max-suppress-time Maximum time a route can be Range: 1 - 255 min


suppressed Default: 60 min

route-map map-tag Route map name that controls Range: 1 - 16 characters


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.

53.12 bgp default ipv4-unicast


Syntax
bgp default ipv4-unicast
no bgp default ipv4-unicast

53-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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)#

53-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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)#

53-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

Related Commands
None

Related Information
All stale paths are deleted after the expiration of stalepath-time seconds timer.

53.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

53.18 bgp update-delay


Syntax
bgp update-delay seconds
no bgp update-delay

53-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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#

53-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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

53.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

53-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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

53-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

reason, the network command is preferred for redistributing default routes and protocols
into BGP.

53.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.

53-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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

53.24 distance bgp


Syntax
distance bgp {external external-distance | internal internal-distance}
no distance bgp [external | internal]

53-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.25 enable ip bgp


Syntax
enable ip bgp

53-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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)#

53-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

Related Commands
address-family

53.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

53-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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.

53-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.29 ip prefix-list
Syntax
ip prefix-list prefix-list-name [seq seq] {permit | deny | description} {prefix length | description-
text} [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 -

53-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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:

53-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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)#

53-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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

53-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-31

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 One VRF receives prefixes with ASNs from all PE routers and then advertises them
to neighboring PE routers.
l The other VRF receives prefixes with ASNs from the CE router and readvertises them
to all PE routers in the hub and spoke configuration.

53.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)#

53-32

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-33

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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)#

53-34

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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).

53.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)#

53-35

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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)#

53-36

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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)#

53-37

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

53.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.

53-38

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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:

53-39

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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 -

number AS to which the neighbor Range: 1 - 65535


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)#

53-40

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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)#

53-41

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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

53-42

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.45 neighbor route-reflector-client


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} route-reflector-client

53-43

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53-44

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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.

53-45

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

53.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.

53.48 neighbor shut-down


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} shut-down

53-46

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-47

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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

53-48

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.51 neighbor update-source


Syntax
neighbor {ipv4-address | ipv6-address | peer-group-name} update-source interface-name

53-49

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53-50

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

53.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

53.53 redistribute
Syntax
redistribute protocol [metric metric-value] [route-map map-tag]
no redistribute protocol [metric] [route-map]

53-51

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.54 reset ip bgp


Syntax
reset ip bgp [ipv4-address | peer-group-name]

Purpose
To reset BGP session

53-52

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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.

53.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

53-53

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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

53-54

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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

53-55

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

53.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

53.58 show bgp all summary


Syntax
show bgp all summary

53-56

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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 4 8 0 0 00:00:00 Connect
10.1.1.1 4 200 0 0 00:00:00 Connect
128.140.6.6 4 123 0 0 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

53-57

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

53.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 0 12345678 200 ?
*>i 111.1.1.3/32 2.2.2.1 0 12345678 200 ?
ZXAN#

The following table describes the parameters displayed in the example:

53-58

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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
l d: The table entry is dampened
l h: The table entry is historical
l *: The table entry is valid
l >: The table entry is the best entry to use
for that network
l 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.
l e: Entry originated from an Exterior Gateway
Protocol (EGP).
l ?: 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

53-59

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

53.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

53-60

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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#

l 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:

53-61

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Dest NextHop Metric LocPrf RoutePrf Path


111.1.1.2/32 2.2.2.1 0 12345678 200 100?
111.1.1.3/32 2.2.2.1 0 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

53.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

53-62

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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 0 12345678 150 200 ?
*>i 111.1.1.3/32 2.2.2.1 0 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

l 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)

53-63

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53-64

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

53.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

53.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

53-65

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

53.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

53-66

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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

53-67

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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#

l 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 0 12345678 200 100?
*>i 111.1.1.3/32 2.2.2.1 0 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

l show bgp ipv4 unicast neighbor out 2.2.2.1

53-68

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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 0 12345678 200 100?
111.1.1.3/32 2.2.2.1 0 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

53.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

53-69

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Example
The following example displays the BGP IPv4 unicast neighbor status:
ZXAN#show bgp ipv4 unicast summary
Neighbor Ver As MsgRcvd MsgSend Up/Down(s) State/PfxRcd
1.1.1.1 4 8 0 0 00:00:00 Connect
10.1.1.1 4 200 0 0 00:00:00 Connect
128.140.6.6 4 123 0 0 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

53.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)

53-70

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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

53.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#

53-71

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

53.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.

53.69 show ip bgp neighbor


Syntax
show ip bgp neighbor [ip-address]

53-72

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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

53-73

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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#

l 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

Dest NextHop Metric LocPrf RoutePrf Path


*>i 111.1.1.2/32 2.2.2.1 0 12345678 200 100?
*>i 111.1.1.3/32 2.2.2.1 0 12345678 200 100?

ZXAN#

The following table describes the parameters displayed in the example:

53-74

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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

l 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 0 12345678 200 100?
111.1.1.3/32 2.2.2.1 0 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

53-75

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

53.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

53.71 show ip bgp route


Syntax
show ip bgp route [network ip-address [mask net-mask]]

53-76

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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 0 12345678 150 200 ?
*>i 111.1.1.3/32 2.2.2.1 0 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

53-77

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

Related Commands
None

53.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 4 8 0 0 00:00:00 Connect
10.1.1.1 4 200 0 0 00:00:00 Connect
128.140.6.6 4 123 0 0 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

53-78

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 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

53.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#

53-79

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

53.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 2 entries
seq 5 deny 20.0.0.0/8
seq 10 deny 20.20.20.0/24
ip prefix-list test 1 entries
seq 5 permit 100.1.1.0/24

ZXAN#

53-80

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 53 BGP Protocol Commands

Related Commands
ip prefix-list

53.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

53-81

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

This page intentionally left blank.

53-82

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54
IS-IS Protocol Commands
Table of Contents
router isis .................................................................................................................54-1
address-family..........................................................................................................54-2
area .........................................................................................................................54-3
authentication...........................................................................................................54-4
authentication-type ...................................................................................................54-4
default-information originate .....................................................................................54-6
disable .....................................................................................................................54-7
disable-snp-authentication........................................................................................54-7
distance ...................................................................................................................54-8
enable ......................................................................................................................54-9
enable-snp-authentication ........................................................................................54-9
hello padding..........................................................................................................54-10
ignore-lsp-errors..................................................................................................... 54-11
is-type ....................................................................................................................54-12
lsp-mtu ...................................................................................................................54-13
lsp-refresh-time ......................................................................................................54-13
max-lsp-lifetime ......................................................................................................54-14
maximum-paths......................................................................................................54-15
metric-style.............................................................................................................54-16
redistribute .............................................................................................................54-17
restart.....................................................................................................................54-18
set-overload-bit ......................................................................................................54-19
show isis adjacency................................................................................................54-20
show isis circuits ....................................................................................................54-21
show isis database .................................................................................................54-22
show isis nsf...........................................................................................................54-25
show isis topology ..................................................................................................54-26
spf-interval .............................................................................................................54-27
summary-address ..................................................................................................54-28
system-id................................................................................................................54-30

54.1 router isis


Syntax
router isis

54-1

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

54.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)#

54-2

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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

54.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

54-3

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

54.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

54.5 authentication-type
Syntax
authentication-type {MD5 | TEXT} [level-1 | level-2]

no authentication [level-1 | level-2]

54-4

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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.

54-5

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

54.6 default-information originate


Syntax
default-information originate [always] [metric metric-value] [metric-type type] [level-1 | level-
1-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

metric-type type IS-IS exterior metric type for Keywords: external, internal
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

54-6

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 IS-IS Protocol Commands

54.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.

54.8 disable-snp-authentication
Syntax
disable-snp-authentication

Purpose
To disable the SNP authentication

Usage Guidelines
None

54-7

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

54.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)#

54-8

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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.

54.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

54.11 enable-snp-authentication
Syntax
enable-snp-authentication

54-9

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

54.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)#

54-10

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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.

54.13 ignore-lsp-errors
Syntax
ignore-lsp-errors
no ignore-lsp-errors

Purpose
To override the networking device’s 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 device’s 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

54-11

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

54.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

54-12

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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.

54.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

54.16 lsp-refresh-time
Syntax
lsp-refresh-time time

no lsp-refresh-time

54-13

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

54.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

54-14

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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.

54.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

54-15

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

ZXAN(config-router)#maximum-paths 2
ZXAN(config-router)#

Related Commands
None

54.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

54-16

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 IS-IS Protocol Commands

54.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

level-1 Redistributes routes for 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

54-17

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

54.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

54-18

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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

54.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 Description Value

on-start-up 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

54-19

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

54.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 -

54-20

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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) Pri
gei_1/9/1 0000.0a0a.0a0a UP L1 9 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

54.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 -

54-21

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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 State Lev CirId Level1-DR Level2-DR Pri(L1/L2)
gei_1/9/1 Up L1L2 1 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

54.25 show isis database


Syntax
show isis database [level-1 | level-2] [detail]

Purpose
To display the IS-IS link-state databases

54-22

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 IS-IS Protocol Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

detail Detailed link state database -


information

level-1 IS-IS level-1 routing link state -


database

level-2 IS-IS level-2 routing link state -


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

54-23

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

l 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
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.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.1111-01
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

54-24

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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

54.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/9/1
NSF L1 restart state: restart

54-25

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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

54.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

level-2 Displays the IS-IS link-state -


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 Interface SNPA
0000.0000.0002 10 0000.0000.0002 gei_1/9/1 0000.0c03.6bc5
0000.0000.0005 --
0000.0000.0053 10 0000.0000.0053 gei_1/9/1 0060.3e58.ccde

54-26

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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.

54.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

level-1 Enables the SPF interval -


configuration for Level 1

54-27

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

54.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

54-28

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Chapter 54 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

54-29

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 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.

54.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

54-30

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Glossary
ABR
- Area Border Router
ACL
- Access Control List
AES
- Advanced Encryption Standard
AG
- Access Gateway
ALS
- Automatic Laser Shutdown
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
I

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

CDR
- Call Detail Record
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
DAD
- Duplicate Address Detection
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
II

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Glossary

DSL
- Digital Subscriber Line
DTMF
- Dual-Tone Multi-Frequency
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
III

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

IGMP
- Internet Group Management Protocol
IGP
- Interior Gateway Protocol
IP
- Internet Protocol
IPTV
- Internet Protocol Television
IPoA
- IP over ATM
IPv4
- Internet Protocol version 4
IPv6
- Internet Protocol Version 6
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
IV

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Glossary

MD5
- Message Digest 5 Algorithm
MED
- MULTI_EXIT_DISC
MEP
- Maintenance association End Point
MEP
- Maintenance End Point
MGC
- Media Gateway Controller
MGCP
- Media Gateway Control Protocol
MIB
- Management Information Base
MIP
- Maintenance domain Intermediate Point

MLD
- Multicast Listener Discovery
MPCP
- Multi-Point Control Protocol
MSDP
- Multicast Source Discovery Protocol
MST
- Multiple Spanning Tree
MSTP
- Multiple Spanning Tree Protocol
MTU
- Maximum Transfer Unit

MTU
- Maximum Transmission Unit
MVLAN
- Multicast Virtual Local Area Network
NAT
- Network Address Translation
NMS
- Network Management System

NNI
- Network Node Interface
V

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

NSR
- Nonstop Routing
NSSA
- Not-So-Stubby Area
NTP
- Network Time Protocol
OAM
- Operation, Administration and Maintenance
OLT
- Optical Line Terminal
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
- Protocol Independent Multicast
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
VI

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Glossary

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
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
VII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


ZXA10 C300 Command Reference

SIP
- Session Initiation Protocol
SIR
- Signal-to-Interference Ratio
SMS
- Short Message Service
SMS
- Service Management System
SNMP
- Simple Network Management Protocol
SNP
- Signaling Network Protocol
SNTP
- Simple Network Time Protocol
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
VIII

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential


Glossary

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
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

ZESR
- ZTE Ethernet Switch Ring
IX

SJ-20120802162214-011|2012-08-15 (R1.0) ZTE Proprietary and Confidential

You might also like