April 17, 2017 | Author: инж. Михаил Михайлов | Category: N/A
Download SJ-20130118100307-010-ZXA10 C300&C320 (V1.2.5) Optical Access Convergence Equipment Command Reference.pdf...
ZXA10 C300/C320 Optical Access Convergence Equipment
Command Reference Version: V1.2.5
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:
[email protected]
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
2013-02-28
First edition
Serial Number: SJ-20130118100307-010 Publishing Date: 2013-02-28 (R1.0)
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Contents About This Manual ......................................................................................... I Chapter 1 Basic System Management...................................................... 1-1 1.1 banner incoming ................................................................................................ 1-2 1.2 boot-password ................................................................................................... 1-3 1.3 boot-server ........................................................................................................ 1-3 1.4 boot-username................................................................................................... 1-4 1.5 clock set ............................................................................................................ 1-5 1.6 clock timezone ................................................................................................... 1-6 1.7 config-filename................................................................................................... 1-6 1.8 configure terminal............................................................................................... 1-7 1.9 default-gateway.................................................................................................. 1-8 1.10 disable............................................................................................................. 1-9 1.11 enable.............................................................................................................. 1-9 1.12 enable secret ................................................................................................. 1-10 1.13 end.................................................................................................................1-11 1.14 exit ................................................................................................................ 1-12 1.15 hostname....................................................................................................... 1-12 1.16 imgfile-location ............................................................................................... 1-13 1.17 ip address ...................................................................................................... 1-14 1.18 multi-user configure ........................................................................................ 1-15 1.19 sdisk.............................................................................................................. 1-16 1.20 service password-encryption ........................................................................... 1-17 1.21 set-cputhreshold............................................................................................. 1-18 1.22 set-memthreshold........................................................................................... 1-19 1.23 show clock ..................................................................................................... 1-20 1.24 show cputhreshold ......................................................................................... 1-20 1.25 show memthreshold ....................................................................................... 1-22 1.26 show privilege ................................................................................................ 1-23 1.27 show running-config ....................................................................................... 1-23 1.28 show sdisk-status ........................................................................................... 1-25 1.29 show startup-config ........................................................................................ 1-26 1.30 show system-group ........................................................................................ 1-28 1.31 show user-suspend ........................................................................................ 1-29 I SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
1.32 show username.............................................................................................. 1-29 1.33 show users .................................................................................................... 1-30 1.34 user password................................................................................................ 1-31 1.35 user-suspend ................................................................................................. 1-32 1.36 username ...................................................................................................... 1-34
Chapter 2 Hardware Management............................................................. 2-1 2.1 add-card ............................................................................................................ 2-1 2.2 add-rack ............................................................................................................ 2-2 2.3 add-shelf ........................................................................................................... 2-3 2.4 del-card ............................................................................................................. 2-3 2.5 del-rack ............................................................................................................. 2-4 2.6 del-shelf............................................................................................................. 2-5 2.7 qry .................................................................................................................... 2-6 2.8 reboot................................................................................................................ 2-6 2.9 reset-card .......................................................................................................... 2-7 2.10 set-pnp ............................................................................................................ 2-8 2.11 show card ........................................................................................................ 2-8 2.12 show shelf........................................................................................................ 2-9 2.13 show system-monitor...................................................................................... 2-10 2.14 swap ..............................................................................................................2-11 2.15 system-monitor endless-loop duration.............................................................. 2-12 2.16 system-monitor endless-loop reboot ................................................................ 2-13 2.17 system-monitor task-suspend-reboot ............................................................... 2-13 2.18 system-monitor watchdog ............................................................................... 2-14 2.19 system-monitor watchdog-duration .................................................................. 2-15
Chapter 3 Fan Management....................................................................... 3-1 3.1 fan control fixed-speed ....................................................................................... 3-1 3.2 fan control temp_level......................................................................................... 3-2 3.3 fan high-threshold .............................................................................................. 3-2 3.4 fan speed .......................................................................................................... 3-3 3.5 show fan............................................................................................................ 3-4 3.6 show temperature .............................................................................................. 3-5
Chapter 4 Version Management ................................................................ 4-1 4.1 auto-backup period............................................................................................. 4-1 4.2 download ........................................................................................................... 4-2 4.3 file-server .......................................................................................................... 4-3 4.4 manual-backup .................................................................................................. 4-4 II SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
4.5 patch active ....................................................................................................... 4-5 4.6 patch deactive.................................................................................................... 4-6 4.7 show auto-backup period configure ..................................................................... 4-7 4.8 show auto-backup progress ................................................................................ 4-7 4.9 show compound-version ..................................................................................... 4-8 4.10 show file-server ................................................................................................ 4-9 4.11 show patch-running .........................................................................................4-11 4.12 show patch-saved ...........................................................................................4-11 4.13 show sync-status............................................................................................ 4-12 4.14 show updatecpld ............................................................................................ 4-13 4.15 show version-running...................................................................................... 4-14 4.16 show version-saved........................................................................................ 4-15 4.17 swapver ......................................................................................................... 4-16 4.18 sync-file ......................................................................................................... 4-16 4.19 update-boot ................................................................................................... 4-17 4.20 update-cpld .................................................................................................... 4-18 4.21 upload ........................................................................................................... 4-19
Chapter 5 CPE Version Management........................................................ 5-1 5.1 action ................................................................................................................ 5-1 5.2 cpe abort ........................................................................................................... 5-2 5.3 cpe activate ....................................................................................................... 5-3 5.4 cpe commit ........................................................................................................ 5-4 5.5 cpe task............................................................................................................. 5-5 5.6 cpe update......................................................................................................... 5-5 5.7 cpe update-and-reboot ....................................................................................... 5-6 5.8 cpe update-commit............................................................................................. 5-7 5.9 cpe update-reonline............................................................................................ 5-8 5.10 description ....................................................................................................... 5-8 5.11 equipment-type................................................................................................. 5-9 5.12 match-vertag.................................................................................................. 5-10 5.13 mode ..............................................................................................................5-11 5.14 parallel-limitation .............................................................................................5-11 5.15 range............................................................................................................. 5-12 5.16 service-type ................................................................................................... 5-13 5.17 show cpe information...................................................................................... 5-14 5.18 show cpe summary-of..................................................................................... 5-15 5.19 show cpe update-status .................................................................................. 5-16 III SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
5.20 task abort....................................................................................................... 5-17 5.21 task add......................................................................................................... 5-18 5.22 task delete ..................................................................................................... 5-18 5.23 task restart..................................................................................................... 5-19 5.24 vendor-name.................................................................................................. 5-19 5.25 version-file ..................................................................................................... 5-20
Chapter 6 User Management ..................................................................... 6-1 6.1 exit .................................................................................................................... 6-1 6.2 line console absolute-timeout .............................................................................. 6-2 6.3 line console idle-timeout ..................................................................................... 6-3 6.4 line telnet absolute-timeout ................................................................................. 6-4 6.5 line telnet access-class ....................................................................................... 6-4 6.6 line telnet idle-timeout......................................................................................... 6-5 6.7 line telnet users.................................................................................................. 6-6 6.8 login .................................................................................................................. 6-7 6.9 login-authentication-type..................................................................................... 6-8 6.10 login-authorization-type..................................................................................... 6-8 6.11 logout .............................................................................................................. 6-9 6.12 show history................................................................................................... 6-10 6.13 show telnet .....................................................................................................6-11 6.14 show terminal................................................................................................. 6-12 6.15 telnet ............................................................................................................. 6-12 6.16 telnet mng...................................................................................................... 6-13 6.17 telnet onu....................................................................................................... 6-14
Chapter 7 File System Management ......................................................... 7-1 7.1 auto-write .......................................................................................................... 7-1 7.2 copy .................................................................................................................. 7-2 7.3 delete ................................................................................................................ 7-3 7.4 dir ..................................................................................................................... 7-4 7.5 show auto-write.................................................................................................. 7-5 7.6 write .................................................................................................................. 7-6 7.7 write flash .......................................................................................................... 7-7
Chapter 8 SuperVLAN Commands ........................................................... 8-1 8.1 arp-broadcast..................................................................................................... 8-1 8.2 inter-subvlan-routing........................................................................................... 8-2 8.3 interface ............................................................................................................ 8-3 8.4 ip supervlan pool ................................................................................................ 8-4 IV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
8.5 ip-pool-filter........................................................................................................ 8-5 8.6 show supervlan .................................................................................................. 8-6 8.7 show supervlan ip-pool ....................................................................................... 8-6 8.8 subvlan.............................................................................................................. 8-7 8.9 supervlan........................................................................................................... 8-8 8.10 supervlan inter-subvlan-routing.......................................................................... 8-9
Chapter 9 FTP/TFTP Server Commands .................................................. 9-1 9.1 ip ftp password................................................................................................... 9-1 9.2 ip ftp username .................................................................................................. 9-2
Chapter 10 Alarm Management............................................................... 10-1 10.1 alarm ............................................................................................................. 10-1 10.2 alarm alarm-profile ......................................................................................... 10-2 10.3 alarm confirm ................................................................................................. 10-3 10.4 alarm level-change ......................................................................................... 10-4 10.5 alarm trap-confirm .......................................................................................... 10-4 10.6 alarm-index .................................................................................................... 10-5 10.7 alarm-profile-apply.......................................................................................... 10-6 10.8 clear alarm counter......................................................................................... 10-8 10.9 clear alarm pool.............................................................................................. 10-8 10.10 nms-hello-trap .............................................................................................. 10-9 10.11 nms-hello-trap interval..................................................................................10-10 10.12 show alarm configure................................................................................... 10-11 10.13 show alarm counter .....................................................................................10-12 10.14 show alarm pool ..........................................................................................10-13 10.15 show alarm profile .......................................................................................10-14 10.16 show alarm-level .........................................................................................10-16
Chapter 11 Debugging Commands......................................................... 11-1 11.1 debug all .........................................................................................................11-3 11.2 debug arp........................................................................................................11-3 11.3 debug dhcp-option82 all ...................................................................................11-4 11.4 debug dhcp-option82 data................................................................................11-5 11.5 debug dhcp-option82 error ...............................................................................11-6 11.6 debug dhcp-option82 event ..............................................................................11-6 11.7 debug ip..........................................................................................................11-7 11.8 debug ip destination.........................................................................................11-8 11.9 debug ip dhcp..................................................................................................11-9 11.10 debug ip icmp ................................................................................................11-9 V SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
11.11 debug ip icmp detail ..................................................................................... 11-10 11.12 debug ip interface ........................................................................................ 11-11 11.13 debug ip ospf adj ......................................................................................... 11-12 11.14 debug ip ospf all .......................................................................................... 11-13 11.15 debug ip ospf database-timer ....................................................................... 11-13 11.16 debug ip ospf events .................................................................................... 11-14 11.17 debug ip ospf flood ...................................................................................... 11-15 11.18 debug ip ospf lsa-generation......................................................................... 11-16 11.19 debug ip ospf nsf ......................................................................................... 11-17 11.20 debug ip ospf packet .................................................................................... 11-17 11.21 debug ip ospf retransmission ........................................................................ 11-18 11.22 debug ip ospf spf ......................................................................................... 11-19 11.23 debug ip ospf spf external ............................................................................ 11-20 11.24 debug ip ospf spf inter .................................................................................. 11-21 11.25 debug ip ospf spf intra .................................................................................. 11-21 11.26 debug ip ospf tree ........................................................................................ 11-22 11.27 debug ip protocol ......................................................................................... 11-23 11.28 debug ip rip ................................................................................................. 11-24 11.29 debug ip rip all ............................................................................................. 11-24 11.30 debug ip rip database................................................................................... 11-25 11.31 debug ip rip events ...................................................................................... 11-26 11.32 debug ip rip trigger ....................................................................................... 11-26 11.33 debug ip source ........................................................................................... 11-27 11.34 debug ip tcp all ............................................................................................ 11-28 11.35 debug ip tcp driver ....................................................................................... 11-29 11.36 debug ip tcp driver-pak................................................................................. 11-30 11.37 debug ip tcp packet...................................................................................... 11-31 11.38 debug ip tcp transactions.............................................................................. 11-31 11.39 debug ip udp ............................................................................................... 11-32 11.40 debug isis adj-packets.................................................................................. 11-33 11.41 debug isis all ............................................................................................... 11-34 11.42 debug isis nsf-event ..................................................................................... 11-35 11.43 debug isis snp-packets................................................................................. 11-35 11.44 debug isis spf-events ................................................................................... 11-36 11.45 debug isis update-packets ............................................................................ 11-37 11.46 debug lacp all .............................................................................................. 11-37 11.47 debug lacp fsm ............................................................................................ 11-38 VI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
11.48 debug lacp packet........................................................................................ 11-39 11.49 debug mstp agreement ................................................................................ 11-40 11.50 debug mstp all ............................................................................................. 11-41 11.51 debug mstp bpdu-rx ..................................................................................... 11-41 11.52 debug mstp bpdu-tx ..................................................................................... 11-42 11.53 debug mstp errors........................................................................................ 11-43 11.54 debug mstp flush ......................................................................................... 11-44 11.55 debug mstp info ........................................................................................... 11-44 11.56 debug mstp migration................................................................................... 11-45 11.57 debug mstp proposals .................................................................................. 11-46 11.58 debug mstp roles ......................................................................................... 11-47 11.59 debug mstp state ......................................................................................... 11-47 11.60 debug mstp tc.............................................................................................. 11-48 11.61 debug ndp-lio all .......................................................................................... 11-49 11.62 debug ndp-lio data ....................................................................................... 11-50 11.63 debug ndp-lio error....................................................................................... 11-51 11.64 debug ndp-lio event ..................................................................................... 11-51 11.65 debug port-location all .................................................................................. 11-52 11.66 debug port-location data............................................................................... 11-53 11.67 debug port-location error .............................................................................. 11-54 11.68 debug port-location event ............................................................................. 11-54 11.69 debug pppoe-plus all.................................................................................... 11-55 11.70 debug pppoe-plus data................................................................................. 11-56 11.71 debug pppoe-plus error ................................................................................ 11-57 11.72 debug pppoe-plus event ............................................................................... 11-57 11.73 debug radius all ........................................................................................... 11-58 11.74 debug radius authentication data .................................................................. 11-59 11.75 debug radius authentication error.................................................................. 11-60 11.76 debug radius authentication event................................................................. 11-60 11.77 debug radius authentication packet ............................................................... 11-61 11.78 debug radius exception ................................................................................ 11-62 11.79 debug radius user ........................................................................................ 11-63 11.80 terminal monitor........................................................................................... 11-64
Chapter 12 VLAN Commands.................................................................. 12-1 12.1 Global Commands.......................................................................................... 12-1 12.1.1 description ........................................................................................... 12-1 12.1.2 multicast-packet ................................................................................... 12-2 VII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
12.1.3 mvlan-translate .................................................................................... 12-3 12.1.4 name ................................................................................................... 12-4 12.1.5 vlan ..................................................................................................... 12-4 12.1.6 vlan database....................................................................................... 12-5 12.1.7 vlan-scb-action ..................................................................................... 12-6 12.1.8 vlan-translate ....................................................................................... 12-7 12.1.9 xconnect .............................................................................................. 12-9 12.2 Commands at Network Side...........................................................................12-10 12.2.1 switchport default vlan .........................................................................12-10 12.2.2 switchport mode .................................................................................. 12-11 12.2.3 switchport tpid ..................................................................................... 12-11 12.2.4 switchport vlan ....................................................................................12-12 12.3 Commands at User Side ................................................................................12-13 12.3.1 switchport default vlan .........................................................................12-13 12.3.2 switchport mode ..................................................................................12-14 12.3.3 switchport tls .......................................................................................12-15 12.3.4 switchport tls vlan ................................................................................12-16 12.3.5 switchport tpid .....................................................................................12-17 12.3.6 switchport vlan ....................................................................................12-17 12.4 Smart QinQ Commands.................................................................................12-18 12.4.1 vlan-smart-qinq ...................................................................................12-18 12.4.2 vlan-smart-qinq(L2 gei interface mode) .................................................12-19 12.4.3 vlan-smart-qinq ingress-port.................................................................12-20 12.5 Show Commands ..........................................................................................12-22 12.5.1 show service-port ................................................................................12-22 12.5.2 show service-port interface ..................................................................12-23 12.5.3 show vlan ...........................................................................................12-24 12.5.4 show vlan port.....................................................................................12-25 12.5.5 show vlan summary.............................................................................12-26 12.5.6 show vlan-smart-qinq...........................................................................12-26 12.5.7 show vlan-smart-qinq global-status.......................................................12-27 12.5.8 show vlan-smart-qinq port-status ..........................................................12-28 12.5.9 show vlan-translate..............................................................................12-29 12.5.10 show vlan-xconnect detail ..................................................................12-29
Chapter 13 PON Comands....................................................................... 13-1 13.1 PON Basic Command..................................................................................... 13-1 13.1.1 pon...................................................................................................... 13-1 VIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
13.2 ONU Type Profile Management ....................................................................... 13-2 13.2.1 onu-type .............................................................................................. 13-2 13.2.2 onu-type-if............................................................................................ 13-4 13.2.3 show onu-type...................................................................................... 13-6 13.2.4 show onu-type-if................................................................................... 13-7 13.3 OLT Performance Management....................................................................... 13-8 13.3.1 item ..................................................................................................... 13-8 13.3.2 item (PROFILE_MAC_ONU configuration mode).................................... 13-9 13.3.3 item (PROFILE_ETH_OLT configuration mode)...................................... 13-9 13.3.4 item (PROFILE_ETH_ONU configuration mode)....................................13-10 13.3.5 perf-eth-olt profile ................................................................................ 13-11 13.3.6 perf-eth-onu profile ..............................................................................13-12 13.3.7 perf-mac-olt profile ..............................................................................13-13 13.3.8 perf-mac-onu profile ............................................................................13-14 13.3.9 show perf-olt .......................................................................................13-14 13.3.10 show perf-onu ...................................................................................13-15 13.3.11 show performance pon-onu ................................................................13-16 13.4 PON Version Management.............................................................................13-17 13.4.1 cpe update-commit ..............................................................................13-17 13.4.2 cpe update-reonline.............................................................................13-18 13.4.3 show cpe information...........................................................................13-19 13.4.4 show cpe summary-of..........................................................................13-20 13.4.5 show cpe update-status .......................................................................13-21 13.5 PON Protection Management.........................................................................13-22 13.5.1 protection............................................................................................13-22 13.5.2 protection member ..............................................................................13-23 13.5.3 protection prop ....................................................................................13-25 13.5.4 protection switch-command..................................................................13-25 13.5.5 show protection group information ........................................................13-27 13.5.6 show protection group list ....................................................................13-28 13.6 Optical Profile Parameter Configuration ..........................................................13-28 13.6.1 show pon power attenuation.................................................................13-28 13.6.2 show pon power olt-rx..........................................................................13-29 13.6.3 show pon power olt-tx ..........................................................................13-30 13.6.4 show pon power onu-rx........................................................................13-31 13.6.5 show pon power onu-tx........................................................................13-32 13.6.6 show pon transceiver-threshold ............................................................13-32 IX SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
13.6.7 transceiver detect-period......................................................................13-33 13.6.8 transceiver-threshold rx-power .............................................................13-34 13.7 Rogue ONU Detection ...................................................................................13-36 13.7.1 rogue-onu-detect .................................................................................13-36 13.7.2 show pon rogue-onu-detect..................................................................13-37 13.7.3 show pon rogue-onu-info .....................................................................13-37 13.8 ONU In-Band Management ............................................................................13-38 13.8.1 ip-pool ................................................................................................13-38 13.8.2 ip-pool-bind .........................................................................................13-39 13.8.3 show pon ip-pool .................................................................................13-40 13.8.4 show pon ip-pool-bind..........................................................................13-41 13.9 Profile Configuration Management..................................................................13-42 13.9.1 commit................................................................................................13-42 13.9.2 onu-profile...........................................................................................13-43 13.9.3 revert..................................................................................................13-44 13.9.4 show pon onu onu-profile .....................................................................13-44 13.9.5 show pon onu-profile ...........................................................................13-45 13.10 Other Commands ........................................................................................13-46 13.10.1 auto-replace-offline-onu .....................................................................13-46 13.10.2 clear .................................................................................................13-47 13.10.3 copy epon olt.....................................................................................13-48 13.10.4 copy epon onu...................................................................................13-49 13.10.5 onu power-save.................................................................................13-50 13.10.6 onu profile proto-ctrl...........................................................................13-51 13.10.7 onu profile proto-limit .........................................................................13-52 13.10.8 show pon onu profile proto-ctrl............................................................13-53 13.10.9 show pon onu profile proto-limit ..........................................................13-54 13.10.10 show pon onu uncfg.........................................................................13-55 13.10.11 show pon uncfg-onu-display-info.......................................................13-56 13.10.12 uncfg-onu-display-info......................................................................13-57
Chapter 14 EPON Commands ................................................................. 14-1 14.1 EPON Global Configuration............................................................................. 14-1 14.1.1 alarm mask .......................................................................................... 14-1 14.1.2 auto-dispatch-set.................................................................................. 14-2 14.1.3 bandwidth-profile profile-name .............................................................. 14-2 14.1.4 custom-oam ......................................................................................... 14-3 14.1.5 dba...................................................................................................... 14-4 X SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.1.6 delete onu-remote-data......................................................................... 14-5 14.1.7 ems-report ........................................................................................... 14-6 14.1.8 encrypt algorithm.................................................................................. 14-6 14.1.9 fax profile............................................................................................. 14-8 14.1.10 h248-profile........................................................................................ 14-8 14.1.11 hardwareLog .....................................................................................14-10 14.1.12 maccode ...........................................................................................14-10 14.1.13 mgcp-profile ...................................................................................... 14-11 14.1.14 oam-mac...........................................................................................14-12 14.1.15 onu-authentication-mode auth-loid-as-sn.............................................14-13 14.1.16 onu-authentication-mode register........................................................14-14 14.1.17 onu-authentication-mode service ........................................................14-15 14.1.18 onu-queue-profile ..............................................................................14-16 14.1.19 onu-sla-profile profile-name ................................................................14-18 14.1.20 onu-sla-profile profile-set....................................................................14-19 14.1.21 onu-uni-profile profile-name................................................................14-20 14.1.22 onu-uni-profile profile-set....................................................................14-21 14.1.23 save-system-state .............................................................................14-22 14.1.24 serial-port attribute-profile ..................................................................14-23 14.1.25 serial-port buffer-profile ......................................................................14-24 14.1.26 serial-port global-profile......................................................................14-25 14.1.27 show epon alarm-mask ......................................................................14-26 14.1.28 show epon authentication-mode .........................................................14-26 14.1.29 show epon auto-dispatch-set..............................................................14-27 14.1.30 show epon custom-oam .....................................................................14-28 14.1.31 show epon dba..................................................................................14-29 14.1.32 show epon ems-report .......................................................................14-29 14.1.33 show epon onu-sla-profile ..................................................................14-30 14.1.34 show epon onu-type-profile ................................................................14-31 14.1.35 show epon onu-uni-profile ..................................................................14-32 14.1.36 show epon tm-mode ..........................................................................14-33 14.1.37 sip-profile ..........................................................................................14-34 14.1.38 tm-mode ...........................................................................................14-35 14.1.39 voip-ip profile.....................................................................................14-36 14.1.40 voip-vlan profile .................................................................................14-37 14.1.41 wan-general-profile ............................................................................14-38 14.2 EPON OLT Interface Configuration .................................................................14-40 XI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.2.1 alarm ..................................................................................................14-40 14.2.2 als ......................................................................................................14-41 14.2.3 auto-learning.......................................................................................14-41 14.2.4 ctc-ver21.............................................................................................14-42 14.2.5 dba-priority..........................................................................................14-43 14.2.6 fastdown .............................................................................................14-44 14.2.7 fec downstream...................................................................................14-44 14.2.8 high-priority-frame ...............................................................................14-45 14.2.9 loopback .............................................................................................14-46 14.2.10 maxrtt ...............................................................................................14-46 14.2.11 mpcp-discovery-window .....................................................................14-47 14.2.12 multi-llid ............................................................................................14-48 14.2.13 onu ...................................................................................................14-49 14.2.14 p2p group .........................................................................................14-50 14.2.15 p2p group-name ................................................................................14-51 14.2.16 p2p mode..........................................................................................14-52 14.2.17 priority-queue-map ............................................................................14-52 14.2.18 property name ...................................................................................14-54 14.2.19 rx-hec ...............................................................................................14-54 14.2.20 show epon priority-queue-map ...........................................................14-55 14.2.21 show olt available-upstream-bandwidth...............................................14-56 14.2.22 show olt config ..................................................................................14-57 14.2.23 show olt dba-cycle .............................................................................14-58 14.2.24 show olt encrypt ................................................................................14-59 14.2.25 show olt mpcp-discovery-window........................................................14-59 14.2.26 show olt statistics ..............................................................................14-60 14.2.27 speed ...............................................................................................14-61 14.3 EPON ONU Interface Configuration ................................................................14-62 14.3.1 activate...............................................................................................14-62 14.3.2 admin .................................................................................................14-63 14.3.3 deactivate ...........................................................................................14-63 14.3.4 deregister ...........................................................................................14-64 14.3.5 diagnose link-test ................................................................................14-65 14.3.6 diagnose loopback ..............................................................................14-65 14.3.7 disable................................................................................................14-66 14.3.8 ems-autocfg-request............................................................................14-67 14.3.9 enable ................................................................................................14-68 XII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.3.10 encrypt .............................................................................................14-68 14.3.11 fec upstream .....................................................................................14-69 14.3.12 join-p2p-group ...................................................................................14-70 14.3.13 loid ...................................................................................................14-70 14.3.14 loid-bind............................................................................................14-71 14.3.15 mac ..................................................................................................14-72 14.3.16 mac-bind...........................................................................................14-73 14.3.17 priority-trans ......................................................................................14-73 14.3.18 property description ...........................................................................14-74 14.3.19 property name ...................................................................................14-75 14.3.20 property splitter .................................................................................14-76 14.3.21 property user-info ..............................................................................14-77 14.3.22 show onu ..........................................................................................14-77 14.3.23 show onu config ................................................................................14-78 14.3.24 show onu detail-info...........................................................................14-79 14.3.25 show onu mpcpinfo............................................................................14-80 14.3.26 show onu oam...................................................................................14-81 14.3.27 show onu priority-trans.......................................................................14-82 14.3.28 show onu running config ....................................................................14-83 14.3.29 show onu sla .....................................................................................14-84 14.3.30 show onu statistics ............................................................................14-85 14.3.31 show onu vport-info ...........................................................................14-86 14.3.32 sla ....................................................................................................14-87 14.3.33 sla-profile ..........................................................................................14-88 14.3.34 sn .....................................................................................................14-89 14.3.35 trap-mask..........................................................................................14-90 14.3.36 vport .................................................................................................14-90 14.4 EPON ONU Remote Management..................................................................14-91 14.4.1 active..................................................................................................14-91 14.4.2 alarm ..................................................................................................14-92 14.4.3 alarm interface ....................................................................................14-93 14.4.4 alarm onu ...........................................................................................14-94 14.4.5 alarm pon-if.........................................................................................14-94 14.4.6 alarm-threshold ...................................................................................14-95 14.4.7 auto-config..........................................................................................14-98 14.4.8 auto-config voip...................................................................................14-99 14.4.9 auto-config wan...................................................................................14-99 XIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.4.10 auto-config wifi ................................................................................14-100 14.4.11 classification condition-ipv6-profile ....................................................14-101 14.4.12 classification condition-profile ...........................................................14-102 14.4.13 classification port .............................................................................14-104 14.4.14 classification rule-profile ...................................................................14-105 14.4.15 clear-oam-config..............................................................................14-105 14.4.16 compatibility ....................................................................................14-106 14.4.17 config-pvid ......................................................................................14-107 14.4.18 config-vlan ......................................................................................14-108 14.4.19 dba queue-set .................................................................................14-108 14.4.20 dba queue-set active ....................................................................... 14-110 14.4.21 fec upstream ................................................................................... 14-110 14.4.22 holdover.......................................................................................... 14-111 14.4.23 interface e1 ..................................................................................... 14-112 14.4.24 interface eth .................................................................................... 14-113 14.4.25 interface voip................................................................................... 14-114 14.4.26 interface-loopdetect ......................................................................... 14-115 14.4.27 isolation .......................................................................................... 14-116 14.4.28 llid-queue ........................................................................................ 14-116 14.4.29 mac add.......................................................................................... 14-118 14.4.30 mac aging-time................................................................................ 14-119 14.4.31 mac clear ........................................................................................ 14-119 14.4.32 mac delete ......................................................................................14-120 14.4.33 mac limit-num..................................................................................14-121 14.4.34 mgmt-ip ..........................................................................................14-122 14.4.35 mgmt-ip auto-assign ........................................................................14-123 14.4.36 mgmt-ip dhcp ..................................................................................14-124 14.4.37 mgmt-ip release...............................................................................14-125 14.4.38 mng-snmp.......................................................................................14-125 14.4.39 mng-snmp ipv6................................................................................14-126 14.4.40 multicast control-type .......................................................................14-127 14.4.41 multicast fastleave ...........................................................................14-128 14.4.42 multicast group-max-number ............................................................14-129 14.4.43 multicast switch ...............................................................................14-129 14.4.44 multicast vlan ..................................................................................14-130 14.4.45 multicast vlan tag-strip .....................................................................14-131 14.4.46 onu-queue ......................................................................................14-132 XIV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.4.47 performance restart-current-period ...................................................14-133 14.4.48 performance status ..........................................................................14-134 14.4.49 pon-buffer .......................................................................................14-134 14.4.50 pon-downstream-shaping.................................................................14-135 14.4.51 pppoe-test.......................................................................................14-136 14.4.52 protection........................................................................................14-137 14.4.53 reboot .............................................................................................14-138 14.4.54 region .............................................................................................14-139 14.4.55 register sip-port ...............................................................................14-139 14.4.56 register voip-module ........................................................................14-140 14.4.57 reset uni-statistic .............................................................................14-141 14.4.58 reset voip-module ............................................................................14-141 14.4.59 reset-card .......................................................................................14-142 14.4.60 restore factory-settings.....................................................................14-143 14.4.61 restore voip-module .........................................................................14-143 14.4.62 rms .................................................................................................14-144 14.4.63 save ...............................................................................................14-145 14.4.64 security-mng ...................................................................................14-146 14.4.65 serial-port attribute-profile ................................................................14-146 14.4.66 serial-port buffer-profile ....................................................................14-148 14.4.67 serial-port global-profile....................................................................14-149 14.4.68 serial-port ip ....................................................................................14-149 14.4.69 serial-port statistic............................................................................14-150 14.4.70 show remote epon fax profile............................................................14-151 14.4.71 show remote epon h248-profile ........................................................14-152 14.4.72 show remote epon mgcp-profile........................................................14-153 14.4.73 show remote epon onu-queue-profile ................................................14-154 14.4.74 show remote epon ping-test .............................................................14-154 14.4.75 show remote epon pots status ..........................................................14-155 14.4.76 show remote epon rms.....................................................................14-156 14.4.77 show remote epon serial-port attribute-profile ....................................14-157 14.4.78 show remote epon serial-port buffer-profile........................................14-158 14.4.79 show remote epon serial-port global-profile .......................................14-159 14.4.80 show remote epon sip-profile............................................................14-159 14.4.81 show remote epon voip attribute .......................................................14-160 14.4.82 show remote epon voip base information ..........................................14-161 14.4.83 show remote epon voip call-test........................................................14-162 XV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.4.84 show remote epon voip ip-address ...................................................14-163 14.4.85 show remote epon voip mg-domainname ..........................................14-163 14.4.86 show remote epon voip pppoe information ........................................14-164 14.4.87 show remote epon voip rtp-tid information local .................................14-165 14.4.88 show remote epon voip rtp-tid information remote..............................14-166 14.4.89 show remote epon voip sip-sdp-codecs.............................................14-167 14.4.90 show remote epon voip sip-user-information......................................14-167 14.4.91 show remote epon voip user-tid information local...............................14-168 14.4.92 show remote epon voip user-tid information remote ...........................14-169 14.4.93 show remote epon voip-ip profile ......................................................14-170 14.4.94 show remote epon voip-media-ip ......................................................14-170 14.4.95 show remote epon voip-module operate-status..................................14-171 14.4.96 show remote epon voip-module profile-application .............................14-172 14.4.97 show remote epon voip-vlan profile...................................................14-173 14.4.98 show remote epon wan-general-profile..............................................14-174 14.4.99 show remote onu alarm onu .............................................................14-175 14.4.100 show remote onu alarm pon-if ........................................................14-176 14.4.101 show remote onu alarm uni ............................................................14-177 14.4.102 show remote onu alarm-threshold onu ............................................14-178 14.4.103 show remote onu alarm-threshold pon-if..........................................14-179 14.4.104 show remote onu auto-config..........................................................14-180 14.4.105 show remote onu classification .......................................................14-181 14.4.106 show remote onu classification profile .............................................14-182 14.4.107 show remote onu compatibility........................................................14-183 14.4.108 show remote onu config-counter .....................................................14-183 14.4.109 show remote onu dba.....................................................................14-184 14.4.110 show remote onu fastleave .............................................................14-185 14.4.111 show remote onu holdover..............................................................14-186 14.4.112 show remote onu info .....................................................................14-187 14.4.113 show remote onu llid-queue ............................................................14-188 14.4.114 show remote onu loopdetect ...........................................................14-189 14.4.115 show remote onu mac ....................................................................14-190 14.4.116 show remote onu mgmt-ip ..............................................................14-191 14.4.117 show remote onu mgmt-ip dhcp ......................................................14-192 14.4.118 show remote onu mng-snmp...........................................................14-192 14.4.119 show remote onu mng-snmp ipv6....................................................14-193 14.4.120 show remote onu multicast-info ......................................................14-194 XVI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.4.121 show remote onu performance monitoring current-data ....................14-195 14.4.122 show remote onu performance monitoring history-data.....................14-196 14.4.123 show remote onu performance monitoring status .............................14-197 14.4.124 show remote onu pon statistics.......................................................14-198 14.4.125 show remote onu pon-if..................................................................14-199 14.4.126 show remote onu port auto-neg ......................................................14-200 14.4.127 show remote onu port info ..............................................................14-201 14.4.128 show remote onu port mode ...........................................................14-202 14.4.129 show remote onu power-saving capabilities.....................................14-203 14.4.130 show remote onu power-saving config ............................................14-204 14.4.131 show remote onu pppoe-test ..........................................................14-204 14.4.132 show remote onu protection parameters..........................................14-205 14.4.133 show remote onu queue.................................................................14-206 14.4.134 show remote onu security-mng .......................................................14-207 14.4.135 show remote onu serial-port attribute ..............................................14-208 14.4.136 show remote onu serial-port buffer ..................................................14-209 14.4.137 show remote onu serial-port global information ................................14-210 14.4.138 show remote onu serial-port ip........................................................ 14-211 14.4.139 show remote onu serial-port statistic ............................................... 14-211 14.4.140 show remote onu serial-port tcp-info ...............................................14-212 14.4.141 show remote onu svlan-base ..........................................................14-213 14.4.142 show remote onu transceiver alarm.................................................14-214 14.4.143 show remote onu transceiver alarm thresholds ................................14-214 14.4.144 show remote onu transceiver info ...................................................14-215 14.4.145 show remote onu uni-mac ..............................................................14-216 14.4.146 show remote onu uni-statistic .........................................................14-217 14.4.147 show remote onu vlan ....................................................................14-218 14.4.148 show remote onu vlan-translate ......................................................14-219 14.4.149 show remote onu vlan-trunk ...........................................................14-220 14.4.150 show remote onu voip-mng-ip.........................................................14-221 14.4.151 show remote onu wan general ........................................................14-221 14.4.152 show remote onu wan ipv4 .............................................................14-222 14.4.153 show remote onu wifi-port info ........................................................14-223 14.4.154 show remote onu wifi-port ssid-info .................................................14-224 14.4.155 sleep-control .................................................................................14-224 14.4.156 ssid-ctrl .........................................................................................14-225 14.4.157 transceiver ....................................................................................14-226 XVII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
14.4.158 transceiver alarm ...........................................................................14-227 14.4.159 transceiver alarm thresholds...........................................................14-228 14.4.160 vlan ..............................................................................................14-229 14.4.161 vlan-trunk ......................................................................................14-232 14.4.162 voip 112-test..................................................................................14-232 14.4.163 voip call-test ..................................................................................14-233 14.4.164 voip cid-presenting.........................................................................14-234 14.4.165 voip ip-address ..............................................................................14-235 14.4.166 voip media-ip.................................................................................14-236 14.4.167 voip mg-domainname.....................................................................14-237 14.4.168 voip ping-test.................................................................................14-238 14.4.169 voip pppoe ....................................................................................14-238 14.4.170 voip rtp-tid .....................................................................................14-239 14.4.171 voip sip-sdp-codecs .......................................................................14-240 14.4.172 voip sip-user..................................................................................14-241 14.4.173 voip timer ......................................................................................14-242 14.4.174 voip user-tid ..................................................................................14-243 14.4.175 voip-mng-ip ...................................................................................14-244 14.4.176 voip-module fax-profile apply ..........................................................14-245 14.4.177 voip-module global-profile apply......................................................14-246 14.4.178 voip-module protocol-profile apply...................................................14-246 14.4.179 wan ..............................................................................................14-247 14.4.180 wep ..............................................................................................14-248 14.4.181 wpa ..............................................................................................14-249
Chapter 15 GPON Commands................................................................. 15-1 15.1 GPON Global Configuration ............................................................................ 15-1 15.1.1 dhcp anti-spoofing autoshutdown-port ................................................... 15-1 15.1.2 max-bandwidth..................................................................................... 15-2 15.1.3 mop mode............................................................................................ 15-3 15.1.4 onu profile dial-plan .............................................................................. 15-3 15.1.5 onu profile dial-plan-table ...................................................................... 15-4 15.1.6 onu profile dscp.................................................................................... 15-5 15.1.7 onu profile filter-rule double-tag ............................................................. 15-6 15.1.8 onu profile filter-rule single-tag .............................................................. 15-8 15.1.9 onu profile filter-rule zero-tag................................................................. 15-9 15.1.10 onu profile igmp.................................................................................15-10 15.1.11 onu profile ip......................................................................................15-13 XVIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.1.12 onu profile mgc..................................................................................15-14 15.1.13 onu profile performance-threshold cesuni............................................15-16 15.1.14 onu profile performance-threshold dot1x .............................................15-18 15.1.15 onu profile performance-threshold ethuni ............................................15-19 15.1.16 onu profile performance-threshold gem ...............................................15-20 15.1.17 onu profile performance-threshold radius ............................................15-21 15.1.18 onu profile performance-threshold switchport ......................................15-22 15.1.19 onu profile performance-threshold vlan ...............................................15-23 15.1.20 onu profile schedule...........................................................................15-24 15.1.21 onu profile sip....................................................................................15-26 15.1.22 onu profile tdm ..................................................................................15-28 15.1.23 onu profile traffic................................................................................15-31 15.1.24 onu profile treat .................................................................................15-33 15.1.25 onu profile vlan..................................................................................15-35 15.1.26 onu profile voip-accesscode ...............................................................15-36 15.1.27 onu profile voip-appsrv.......................................................................15-37 15.1.28 onu profile voip-media........................................................................15-40 15.1.29 profile tcont .......................................................................................15-42 15.1.30 profile traffic ......................................................................................15-43 15.1.31 show gpon mop mode........................................................................15-44 15.1.32 show gpon onu profile dial-plan ..........................................................15-45 15.1.33 show gpon onu profile dial-plan-table ..................................................15-46 15.1.34 show gpon onu profile dscp ................................................................15-46 15.1.35 show gpon onu profile filter-rule ..........................................................15-47 15.1.36 show gpon onu profile igmp................................................................15-48 15.1.37 show gpon onu profile ip ....................................................................15-49 15.1.38 show gpon onu profile mgc.................................................................15-50 15.1.39 show gpon onu profile performance-threshold ces ...............................15-51 15.1.40 show gpon onu profile performance-threshold dot1x ............................15-52 15.1.41 show gpon onu profile performance-threshold eth................................15-53 15.1.42 show gpon onu profile performance-threshold gem ..............................15-55 15.1.43 show gpon onu profile performance-threshold radius ...........................15-55 15.1.44 show gpon onu profile performance-threshold switchport .....................15-56 15.1.45 show gpon onu profile performance-threshold vlan-eth.........................15-57 15.1.46 show gpon onu profile schedule..........................................................15-58 15.1.47 show gpon onu profile sip...................................................................15-59 15.1.48 show gpon onu profile tdm .................................................................15-60 XIX SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.1.49 show gpon onu profile traffic...............................................................15-61 15.1.50 show gpon onu profile treat ................................................................15-62 15.1.51 show gpon onu profile vlan.................................................................15-63 15.1.52 show gpon onu profile voip-accesscode ..............................................15-64 15.1.53 show gpon onu profile voip-appsrv......................................................15-65 15.1.54 show gpon onu profile voip-media.......................................................15-66 15.1.55 show gpon profile ..............................................................................15-67 15.1.56 show gpon slot config ........................................................................15-68 15.2 GPON OLT Interface Configuration.................................................................15-69 15.2.1 auto-learning.......................................................................................15-69 15.2.2 auto-learning aging-time ......................................................................15-70 15.2.3 ber-interval..........................................................................................15-70 15.2.4 clear ...................................................................................................15-71 15.2.5 dba period-mode .................................................................................15-72 15.2.6 discover-period ...................................................................................15-72 15.2.7 fec......................................................................................................15-73 15.2.8 name ..................................................................................................15-74 15.2.9 onu.....................................................................................................15-75 15.2.10 onu-action .........................................................................................15-77 15.2.11 onu-sn ..............................................................................................15-78 15.2.12 range-mode ......................................................................................15-79 15.2.13 resource-id-assign-mode....................................................................15-79 15.2.14 scb-port ............................................................................................15-80 15.2.15 show gpon fec ...................................................................................15-81 15.2.16 show gpon olt config ..........................................................................15-82 15.2.17 show gpon olt range-mode .................................................................15-82 15.2.18 uncfg-onu-aging-time .........................................................................15-83 15.3 GPON ONU Interface Configuration ...............................................................15-84 15.3.1 action .................................................................................................15-84 15.3.2 authpass-control..................................................................................15-85 15.3.3 dba.....................................................................................................15-85 15.3.4 description ..........................................................................................15-86 15.3.5 disable................................................................................................15-87 15.3.6 enable ................................................................................................15-88 15.3.7 encrypt ...............................................................................................15-88 15.3.8 fec......................................................................................................15-89 15.3.9 gemport ..............................................................................................15-90 XX SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.3.10 link-test .............................................................................................15-91 15.3.11 name ................................................................................................15-92 15.3.12 omcc-encrypt ....................................................................................15-93 15.3.13 omci-bandwidth .................................................................................15-93 15.3.14 performance vport .............................................................................15-94 15.3.15 registration-method............................................................................15-95 15.3.16 rogue-onu-state .................................................................................15-96 15.3.17 show gpon onu allocid .......................................................................15-97 15.3.18 show gpon onu baseinfo ....................................................................15-97 15.3.19 show gpon onu by .............................................................................15-98 15.3.20 show gpon onu detail-info ..................................................................15-99 15.3.21 show gpon onu distance ..................................................................15-101 15.3.22 show gpon onu gemport...................................................................15-102 15.3.23 show gpon onu next-available ..........................................................15-103 15.3.24 show gpon onu portid.......................................................................15-103 15.3.25 show gpon onu state........................................................................15-104 15.3.26 show gpon onu tcont........................................................................15-105 15.3.27 show gpon onu uncfg.......................................................................15-106 15.3.28 show gpon onu vport .......................................................................15-107 15.3.29 shutdown ........................................................................................15-108 15.3.30 sn-bind ...........................................................................................15-108 15.3.31 state ...............................................................................................15-109 15.3.32 tcont ............................................................................................... 15-110 15.3.33 type ................................................................................................ 15-111 15.3.34 vport ............................................................................................... 15-112 15.3.35 vport-map ....................................................................................... 15-113 15.3.36 vport-mode...................................................................................... 15-114 15.4 GPON ONU Remote Management ............................................................... 15-115 15.4.1 auto-shutdown .................................................................................. 15-115 15.4.2 broadcast-limit................................................................................... 15-115 15.4.3 cfm ma ............................................................................................. 15-116 15.4.4 cfm md ............................................................................................. 15-117 15.4.5 cfm mep ........................................................................................... 15-118 15.4.6 dhcp-ip .............................................................................................15-120 15.4.7 dhcp-option60 ...................................................................................15-121 15.4.8 dot1p-map ........................................................................................15-122 15.4.9 dot1x ................................................................................................15-123 XXI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.4.10 dot1x ethuni ....................................................................................15-125 15.4.11 equip-mgmt .....................................................................................15-126 15.4.12 ex-vlan............................................................................................15-126 15.4.13 ex-vlan-table ...................................................................................15-127 15.4.14 firewall ............................................................................................15-129 15.4.15 firewall ip-filter .................................................................................15-129 15.4.16 firewall mac-filter .............................................................................15-131 15.4.17 firewall mac-filter-table .....................................................................15-132 15.4.18 firewall port-forward .........................................................................15-133 15.4.19 flow ................................................................................................15-134 15.4.20 flow mode .......................................................................................15-135 15.4.21 gemport ..........................................................................................15-136 15.4.22 igmp ...............................................................................................15-138 15.4.23 igmp monitor ...................................................................................15-139 15.4.24 interface ces....................................................................................15-140 15.4.25 interface eth ....................................................................................15-141 15.4.26 interface pon ...................................................................................15-142 15.4.27 interface pots ..................................................................................15-144 15.4.28 interface video.................................................................................15-145 15.4.29 interface video-ani ...........................................................................15-146 15.4.30 interface wifi ....................................................................................15-147 15.4.31 ip route ...........................................................................................15-148 15.4.32 ip-host ............................................................................................15-149 15.4.33 ip-service-map.................................................................................15-150 15.4.34 lct ...................................................................................................15-151 15.4.35 loop-detect ......................................................................................15-152 15.4.36 loopback .........................................................................................15-152 15.4.37 mac-filter.........................................................................................15-153 15.4.38 me-access ......................................................................................15-154 15.4.39 mgc ................................................................................................15-155 15.4.40 mgc-service ....................................................................................15-157 15.4.41 mgmt-ip ..........................................................................................15-158 15.4.42 mgmt-ip auto-assign ........................................................................15-159 15.4.43 mgmt-ip release...............................................................................15-160 15.4.44 mirror..............................................................................................15-160 15.4.45 multicast vlan ..................................................................................15-161 15.4.46 multicast vlan tag-strip .....................................................................15-162 XXII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.4.47 onu-vlan..........................................................................................15-163 15.4.48 password ........................................................................................15-164 15.4.49 performance call-ctrl ........................................................................15-165 15.4.50 performance dot1x ethuni.................................................................15-166 15.4.51 performance ethuni..........................................................................15-167 15.4.52 performance fec ..............................................................................15-168 15.4.53 performance flow .............................................................................15-168 15.4.54 performance gal-eth.........................................................................15-169 15.4.55 performance gem ............................................................................15-170 15.4.56 performance iphost ..........................................................................15-171 15.4.57 performance mgc ............................................................................15-171 15.4.58 performance multicast......................................................................15-172 15.4.59 performance pw...............................................................................15-173 15.4.60 performance radius..........................................................................15-174 15.4.61 performance rtp ...............................................................................15-174 15.4.62 performance sip-agent .....................................................................15-175 15.4.63 performance sip-call-init ...................................................................15-176 15.4.64 performance switch..........................................................................15-177 15.4.65 performance switchport ethuni..........................................................15-177 15.4.66 performance switchport iphost ..........................................................15-178 15.4.67 performance vlan.............................................................................15-179 15.4.68 performance voice ...........................................................................15-180 15.4.69 performance voice pots....................................................................15-180 15.4.70 pkt-filter...........................................................................................15-181 15.4.71 pon-onu-mng...................................................................................15-182 15.4.72 power-shedding...............................................................................15-183 15.4.73 pppoe .............................................................................................15-185 15.4.74 proto-proc .......................................................................................15-186 15.4.75 protocol-filter ethuni .........................................................................15-187 15.4.76 pw delete ........................................................................................15-187 15.4.77 pw optional......................................................................................15-188 15.4.78 pw psn ethernet...............................................................................15-189 15.4.79 pw psn ip ........................................................................................15-190 15.4.80 pw rtp .............................................................................................15-191 15.4.81 pw tdm............................................................................................15-193 15.4.82 reboot .............................................................................................15-193 15.4.83 restore ............................................................................................15-194 XXIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.4.84 restore factory .................................................................................15-195 15.4.85 schedule .........................................................................................15-195 15.4.86 security-ctrl .....................................................................................15-196 15.4.87 security-mng ...................................................................................15-197 15.4.88 service ............................................................................................15-198 15.4.89 show gpon remote-onu auto-shutdown..............................................15-199 15.4.90 show gpon remote-onu broadcast-limit..............................................15-200 15.4.91 show gpon remote-onu call-record ....................................................15-201 15.4.92 show gpon remote-onu capability......................................................15-202 15.4.93 show gpon remote-onu cfm ma ........................................................15-203 15.4.94 show gpon remote-onu cfm md ........................................................15-204 15.4.95 show gpon remote-onu cfm mep.......................................................15-205 15.4.96 show gpon remote-onu dhcp-ip ........................................................15-206 15.4.97 show gpon remote-onu dhcp-option60 ..............................................15-207 15.4.98 show gpon remote-onu dot1p-map ...................................................15-208 15.4.99 show gpon remote-onu dot1x ...........................................................15-208 15.4.100 show gpon remote-onu dot1x ethuni ...............................................15-209 15.4.101 show gpon remote-onu equip .........................................................15-210 15.4.102 show gpon remote-onu ex-vlan.......................................................15-212 15.4.103 show gpon remote-onu ex-vlan flow ................................................15-213 15.4.104 show gpon remote-onu ex-vlan-table ..............................................15-214 15.4.105 show gpon remote-onu ex-vlan-table flow........................................15-215 15.4.106 show gpon remote-onu firewall .......................................................15-216 15.4.107 show gpon remote-onu firewall ip-filter ............................................15-216 15.4.108 show gpon remote-onu firewall mac-filter.........................................15-217 15.4.109 show gpon remote-onu firewall mac-filter-table ................................15-218 15.4.110 show gpon remote-onu firewall port-forward.....................................15-219 15.4.111 show gpon remote-onu flow ............................................................15-220 15.4.112 show gpon remote-onu gemport......................................................15-220 15.4.113 show gpon remote-onu igmp...........................................................15-221 15.4.114 show gpon remote-onu igmp monitor...............................................15-222 15.4.115 show gpon remote-onu interface ces ...............................................15-223 15.4.116 show gpon remote-onu interface eth ...............................................15-224 15.4.117 show gpon remote-onu interface pon...............................................15-225 15.4.118 show gpon remote-onu interface pots..............................................15-226 15.4.119 show gpon remote-onu interface video ............................................15-227 15.4.120 show gpon remote-onu interface video-ani ......................................15-228 XXIV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.4.121 show gpon remote-onu interface wifi ...............................................15-229 15.4.122 show gpon remote-onu ip route ......................................................15-229 15.4.123 show gpon remote-onu ip-host........................................................15-230 15.4.124 show gpon remote-onu ip-service-map............................................15-231 15.4.125 show gpon remote-onu lct ..............................................................15-232 15.4.126 show gpon remote-onu loid ............................................................15-233 15.4.127 show gpon remote-onu loop-detect .................................................15-233 15.4.128 show gpon remote-onu loopback ....................................................15-234 15.4.129 show gpon remote-onu mac uni ......................................................15-235 15.4.130 show gpon remote-onu mac-filter ....................................................15-236 15.4.131 show gpon remote-onu mgc ...........................................................15-237 15.4.132 show gpon remote-onu mirror .........................................................15-237 15.4.133 show gpon remote-onu multicast vlan .............................................15-238 15.4.134 show gpon remote-onu multicast vlan port.......................................15-239 15.4.135 show gpon remote-onu onu-vlan ethuni...........................................15-240 15.4.136 show gpon remote-onu onu-vlan iphost ...........................................15-241 15.4.137 show gpon remote-onu onu-vlan wifi ...............................................15-241 15.4.138 show gpon remote-onu performance call-ctrl ...................................15-242 15.4.139 show gpon remote-onu performance cesuni ....................................15-243 15.4.140 show gpon remote-onu performance dot1x ethuni............................15-244 15.4.141 show gpon remote-onu performance ethuni.....................................15-244 15.4.142 show gpon remote-onu performance fec .........................................15-245 15.4.143 show gpon remote-onu performance flow ........................................15-246 15.4.144 show gpon remote-onu performance gal-eth....................................15-247 15.4.145 show gpon remote-onu performance gem .......................................15-247 15.4.146 show gpon remote-onu performance iphost .....................................15-248 15.4.147 show gpon remote-onu performance mgc........................................15-249 15.4.148 show gpon remote-onu performance multicast.................................15-250 15.4.149 show gpon remote-onu performance radius.....................................15-250 15.4.150 show gpon remote-onu performance rtp ..........................................15-251 15.4.151 show gpon remote-onu performance sip-agent ................................15-252 15.4.152 show gpon remote-onu performance sip-call-init ..............................15-253 15.4.153 show gpon remote-onu performance switch.....................................15-253 15.4.154 show gpon remote-onu performance switchport ethuni .....................15-254 15.4.155 show gpon remote-onu performance switchport iphost .....................15-255 15.4.156 show gpon remote-onu performance vlan........................................15-256 15.4.157 show gpon remote-onu performance voice ......................................15-256 XXV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.4.158 show gpon remote-onu pkt-filter......................................................15-257 15.4.159 show gpon remote-onu port-map ....................................................15-258 15.4.160 show gpon remote-onu power-shedding..........................................15-259 15.4.161 show gpon remote-onu pppoe ........................................................15-260 15.4.162 show gpon remote-onu pw .............................................................15-261 15.4.163 show gpon remote-onu schedule ....................................................15-262 15.4.164 show gpon remote-onu security-ctrl.................................................15-263 15.4.165 show gpon remote-onu security-mng ..............................................15-263 15.4.166 show gpon remote-onu service .......................................................15-264 15.4.167 show gpon remote-onu sip-agent....................................................15-265 15.4.168 show gpon remote-onu sip-service..................................................15-266 15.4.169 show gpon remote-onu sip-user......................................................15-267 15.4.170 show gpon remote-onu sntp ...........................................................15-268 15.4.171 show gpon remote-onu ssid info .....................................................15-269 15.4.172 show gpon remote-onu switch ........................................................15-270 15.4.173 show gpon remote-onu switchport...................................................15-271 15.4.174 show gpon remote-onu test-result call .............................................15-272 15.4.175 show gpon remote-onu test-result iphost .........................................15-273 15.4.176 show gpon remote-onu test-result ipoe............................................15-274 15.4.177 show gpon remote-onu test-result iptv.............................................15-274 15.4.178 show gpon remote-onu test-result mep ...........................................15-275 15.4.179 show gpon remote-onu test-result mep lm-dm .................................15-276 15.4.180 show gpon remote-onu test-result potsuni .......................................15-277 15.4.181 show gpon remote-onu test-result pppoe.........................................15-277 15.4.182 show gpon remote-onu tr069-mgmt.................................................15-278 15.4.183 show gpon remote-onu traffic-limit ..................................................15-279 15.4.184 show gpon remote-onu up-queue-map ............................................15-280 15.4.185 show gpon remote-onu veip ...........................................................15-280 15.4.186 show gpon remote-onu vlan ...........................................................15-281 15.4.187 show gpon remote-onu vlan translate..............................................15-283 15.4.188 show gpon remote-onu vlan-filter ....................................................15-284 15.4.189 show gpon remote-onu vlan-filter-mode...........................................15-285 15.4.190 show gpon remote-onu voip ...........................................................15-286 15.4.191 show gpon remote-onu voip-ctp ......................................................15-287 15.4.192 show gpon remote-onu voip-ip........................................................15-288 15.4.193 show gpon remote-onu voip-linestatus ............................................15-289 15.4.194 show gpon remote-onu wan ...........................................................15-289 XXVI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.4.195 show gpon remote-onu wan-ip........................................................15-290 15.4.196 show gpon remote-onu weight ........................................................15-291 15.4.197 show gpon remote-onu wifi info ......................................................15-292 15.4.198 sip-agent .......................................................................................15-293 15.4.199 sip-service.....................................................................................15-295 15.4.200 sip-user.........................................................................................15-296 15.4.201 sntp ..............................................................................................15-297 15.4.202 ssid auth wep ................................................................................15-298 15.4.203 ssid auth wpa ................................................................................15-301 15.4.204 ssid ctrl .........................................................................................15-303 15.4.205 switch ...........................................................................................15-304 15.4.206 switchport ethuni............................................................................15-305 15.4.207 switchport flow...............................................................................15-306 15.4.208 switchport iphost............................................................................15-307 15.4.209 switchport veip...............................................................................15-308 15.4.210 switchport-bind ..............................................................................15-309 15.4.211 synctime........................................................................................15-310 15.4.212 sys-attr..........................................................................................15-310 15.4.213 test ............................................................................................... 15-311 15.4.214 test callee......................................................................................15-312 15.4.215 test caller ......................................................................................15-313 15.4.216 test iphost .....................................................................................15-313 15.4.217 test ipoe ........................................................................................15-314 15.4.218 test iptv .........................................................................................15-315 15.4.219 test mep linktrace ..........................................................................15-316 15.4.220 test mep lm-dm..............................................................................15-317 15.4.221 test mep loopback..........................................................................15-318 15.4.222 test potsuni....................................................................................15-319 15.4.223 test pppoe .....................................................................................15-320 15.4.224 tr069-mgmt....................................................................................15-321 15.4.225 traffic-limit .....................................................................................15-322 15.4.226 type ..............................................................................................15-323 15.4.227 up-queue-map ...............................................................................15-324 15.4.228 veip ..............................................................................................15-325 15.4.229 vlan gemport .................................................................................15-326 15.4.230 vlan gemport-mcast .......................................................................15-328 15.4.231 vlan port........................................................................................15-329 XXVII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
15.4.232 vlan wan .......................................................................................15-331 15.4.233 vlan-filter .......................................................................................15-333 15.4.234 vlan-filter-mode..............................................................................15-334 15.4.235 voip config.....................................................................................15-335 15.4.236 voip protocol..................................................................................15-336 15.4.237 voip-ctp .........................................................................................15-337 15.4.238 voip-ip...........................................................................................15-338 15.4.239 wan ..............................................................................................15-340 15.4.240 wan-ip...........................................................................................15-342 15.4.241 weight ...........................................................................................15-344 15.4.242 wifi................................................................................................15-344
Chapter 16 Port Configuration ................................................................ 16-1 16.1 interface ........................................................................................................ 16-1 16.2 lock ............................................................................................................... 16-2 16.3 max-mac-learn ............................................................................................... 16-3 16.4 monitor session .............................................................................................. 16-4 16.5 optical-module-alarm-profile ............................................................................ 16-5 16.6 show interface................................................................................................ 16-6 16.7 show interface optical-module-info................................................................... 16-9 16.8 show interface port-status ..............................................................................16-10 16.9 show monitor ................................................................................................16-10
Chapter 17 CES Commands .................................................................... 17-1 17.1 CES Global Property Management .................................................................. 17-1 17.1.1 card-frametype ..................................................................................... 17-1 17.1.2 ces ...................................................................................................... 17-2 17.1.3 interface-speed .................................................................................... 17-2 17.1.4 ip-address............................................................................................ 17-3 17.1.5 line-coding ........................................................................................... 17-4 17.1.6 mac-address ........................................................................................ 17-5 17.1.7 perf-clear-current.................................................................................. 17-6 17.1.8 pw ....................................................................................................... 17-7 17.1.9 sdhprot ................................................................................................ 17-8 17.1.10 sdhprot switch-command .................................................................... 17-9 17.1.11 show ces card-frametype ...................................................................17-10 17.1.12 show ces global-prop ......................................................................... 17-11 17.1.13 show ces sdhprot group count ............................................................17-12 17.1.14 show ces sdhprot group prop .............................................................17-12 XXVIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
17.1.15 show ces sdhprot request ..................................................................17-13 17.1.16 show ces sdhprot switch-command.....................................................17-14 17.1.17 show ces tdm-profile ..........................................................................17-15 17.1.18 show performance ces .......................................................................17-16 17.1.19 tdm-profile.........................................................................................17-18 17.2 CES-PW Service Property Management .........................................................17-19 17.2.1 name ..................................................................................................17-19 17.2.2 psn ethernet........................................................................................17-20 17.2.3 psn ip .................................................................................................17-21 17.2.4 psn mef8.............................................................................................17-23 17.2.5 psn mpls-double..................................................................................17-24 17.2.6 show ces pw count ..............................................................................17-25 17.2.7 show ces pw prop detail.......................................................................17-26 17.2.8 tdm-service .........................................................................................17-27 17.3 CES-TDM Interface Property Management .....................................................17-29 17.3.1 admin-status .......................................................................................17-29 17.3.2 au-3....................................................................................................17-30 17.3.3 au-4 tug-3 ...........................................................................................17-30 17.3.4 clock-source........................................................................................17-31 17.3.5 loopback .............................................................................................17-32 17.3.6 perf-clear-current.................................................................................17-33 17.3.7 range..................................................................................................17-34 17.3.8 show ces interface...............................................................................17-35
Chapter 18 Clock Commands.................................................................. 18-1 18.1 Clock Module Management............................................................................. 18-1 18.1.1 card-clock ............................................................................................ 18-1 18.1.2 clock-mode .......................................................................................... 18-2 18.1.3 dpll-adjust ............................................................................................ 18-3 18.1.4 external-input ....................................................................................... 18-3 18.1.5 external-output ..................................................................................... 18-4 18.1.6 internal-output ...................................................................................... 18-5 18.1.7 set....................................................................................................... 18-6 18.1.8 show card-clock ................................................................................... 18-7 18.1.9 show clock config ................................................................................. 18-8 18.1.10 show clock interface esmc................................................................... 18-9 18.1.11 show clock interface ssm-send ............................................................ 18-9 18.1.12 show clock source active....................................................................18-10 XXIX SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
18.1.13 show clock source alarm .................................................................... 18-11 18.1.14 source ..............................................................................................18-12 18.1.15 ssm-send ..........................................................................................18-13 18.1.16 ssm-set.............................................................................................18-13 18.1.17 switch ...............................................................................................18-14 18.2 1588 Module Management.............................................................................18-15 18.2.1 1pps ...................................................................................................18-15 18.2.2 1pps-output.........................................................................................18-16 18.2.3 ptp......................................................................................................18-17 18.2.4 ptp-adjust............................................................................................18-19 18.2.5 ptp-source...........................................................................................18-19 18.2.6 show time 1pps ...................................................................................18-20 18.2.7 show time 1pps-output.........................................................................18-21 18.2.8 show time ptp......................................................................................18-22 18.2.9 show time ptp-source...........................................................................18-23 18.2.10 show time tod ....................................................................................18-23 18.2.11 show time utc-offset ...........................................................................18-24 18.2.12 tod....................................................................................................18-25 18.2.13 utc-offset...........................................................................................18-26
Chapter 19 Ethernet Interface Configuration Commands .................... 19-1 19.1 byname ......................................................................................................... 19-1 19.2 description ..................................................................................................... 19-2 19.3 duplex ........................................................................................................... 19-3 19.4 flowcontrol ..................................................................................................... 19-4 19.5 hybrid-attribute ............................................................................................... 19-5 19.6 linktrap........................................................................................................... 19-5 19.7 multicast ttl-threshold...................................................................................... 19-7 19.8 negotiation auto.............................................................................................. 19-7 19.9 range............................................................................................................. 19-8 19.10 shutdown ..................................................................................................... 19-9 19.11 speed..........................................................................................................19-10
Chapter 20 Port Security Commands ..................................................... 20-1 20.1 eth-switch broadcast-limit................................................................................ 20-1 20.2 eth-switch mac-protect.................................................................................... 20-2 20.3 eth-switch max-frame-length ........................................................................... 20-3 20.4 eth-switch multicast-limit ................................................................................. 20-4 20.5 eth-switch unknowncast-limit ........................................................................... 20-5 XXX SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
20.6 eth-switch vlan-limit ........................................................................................ 20-6 20.7 port-protect .................................................................................................... 20-7 20.8 security packet-limit ........................................................................................ 20-8 20.9 security packet-limit (gpon onu interface mode) ................................................ 20-9 20.10 security packet-limit igmp .............................................................................20-10 20.11 security packet-limit mld ............................................................................... 20-11 20.12 security port-protect .....................................................................................20-12 20.13 security storm-control...................................................................................20-13 20.14 security storm-control broadcast ...................................................................20-14 20.15 security storm-control multicast ....................................................................20-15 20.16 security usercommunication control ..............................................................20-16 20.17 security usercommunication svlan ................................................................20-17 20.18 show eth-switch...........................................................................................20-18 20.19 show eth-switch vlan-limit.............................................................................20-18 20.20 show security interface packet-limit...............................................................20-19 20.21 show security interface storm-control ............................................................20-20 20.22 show security port-protect ............................................................................20-21 20.23 show security usercommunication-control .....................................................20-21 20.24 show security vlan-communication................................................................20-22 20.25 unknowncast-rate-limit .................................................................................20-23 20.26 uplink-isolate ...............................................................................................20-24
Chapter 21 Port Performance Statistics Commands ............................ 21-1 21.1 clear counter ethernet ..................................................................................... 21-1 21.2 clear counter pon-sport ................................................................................... 21-2 21.3 clear counter pon-vport ................................................................................... 21-3 21.4 show performance eth-if.................................................................................. 21-3 21.5 show performance pon-olt............................................................................... 21-4 21.6 show performance pon-onu............................................................................. 21-6 21.7 show performance pon-vport ........................................................................... 21-7 21.8 statistics service-port ...................................................................................... 21-8
Chapter 22 Basic IPv4 Protocol Commands.......................................... 22-1 22.1 arp learn ........................................................................................................ 22-2 22.2 arp protect ..................................................................................................... 22-3 22.3 arp source-filtered .......................................................................................... 22-3 22.4 arp timeout..................................................................................................... 22-4 22.5 arp to-static(VLAN interface configuration mode) .............................................. 22-5 22.6 arp to-static .................................................................................................... 22-6 XXXI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
22.7 clear arp ........................................................................................................ 22-6 22.8 clear arp-cache .............................................................................................. 22-7 22.9 clear ip traffic.................................................................................................. 22-8 22.10 clear tcp connect .......................................................................................... 22-9 22.11 clear tcp line ................................................................................................. 22-9 22.12 clear tcp statistics ........................................................................................22-10 22.13 clear tcp tcb ................................................................................................ 22-11 22.14 clear tcp tty ................................................................................................. 22-11 22.15 clear tcp vty.................................................................................................22-12 22.16 ip address ...................................................................................................22-13 22.17 ip mtu .........................................................................................................22-14 22.18 ip proxy-arp.................................................................................................22-15 22.19 ip redirect....................................................................................................22-16 22.20 ip route .......................................................................................................22-17 22.21 ip source-route ............................................................................................22-18 22.22 ip tcp finwait-time.........................................................................................22-19 22.23 ip tcp queuemax ..........................................................................................22-20 22.24 ip tcp synwait-time .......................................................................................22-21 22.25 ip tcp window-size .......................................................................................22-21 22.26 ip unreachable.............................................................................................22-22 22.27 ping ............................................................................................................22-23 22.28 ping mng.....................................................................................................22-24 22.29 set arp ........................................................................................................22-25 22.30 show arp .....................................................................................................22-26 22.31 show ip forwarding summary ........................................................................22-27 22.32 show ip interface .........................................................................................22-28 22.33 show ip protocol routing ...............................................................................22-29 22.34 show ip protocol routing summary.................................................................22-30 22.35 show ip route...............................................................................................22-31 22.36 show ip traffic ..............................................................................................22-32 22.37 show tcp .....................................................................................................22-34 22.38 show tcp brief ..............................................................................................22-35 22.39 show tcp configure.......................................................................................22-36 22.40 show tcp line ...............................................................................................22-36 22.41 show tcp statistics........................................................................................22-38 22.42 show tcp tcb ................................................................................................22-39 22.43 show tcp tty.................................................................................................22-40 XXXII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
22.44 show tcp vty ................................................................................................22-42 22.45 trace ...........................................................................................................22-43
Chapter 23 OSPF Protocol Commands .................................................. 23-1 23.1 area............................................................................................................... 23-2 23.2 area authentication ......................................................................................... 23-3 23.3 area filter-list .................................................................................................. 23-4 23.4 area nssa....................................................................................................... 23-5 23.5 area range ..................................................................................................... 23-7 23.6 area stub ....................................................................................................... 23-8 23.7 area stub-host ................................................................................................ 23-9 23.8 auto-cost.......................................................................................................23-10 23.9 capability opaque .......................................................................................... 23-11 23.10 clear ip ospf process ....................................................................................23-12 23.11 clear ip ospf redistribution.............................................................................23-13 23.12 compatible rfc1583 ......................................................................................23-13 23.13 debug .........................................................................................................23-14 23.14 default-metric ..............................................................................................23-15 23.15 disable area ................................................................................................23-16 23.16 disable interface ..........................................................................................23-17 23.17 disable ip ospf .............................................................................................23-17 23.18 distance ospf...............................................................................................23-18 23.19 enable area.................................................................................................23-19 23.20 enable interface...........................................................................................23-20 23.21 enable ip ospf..............................................................................................23-21 23.22 filter ............................................................................................................23-21 23.23 grace-period................................................................................................23-22 23.24 ip ospf authentication ...................................................................................23-23 23.25 ip ospf authentication-key.............................................................................23-24 23.26 ip ospf cost..................................................................................................23-25 23.27 ip ospf dead-interval ....................................................................................23-26 23.28 ip ospf hello-interval.....................................................................................23-27 23.29 ip ospf message-digest-key ..........................................................................23-28 23.30 ip ospf mtu-ignore........................................................................................23-29 23.31 ip ospf network ............................................................................................23-30 23.32 ip ospf priority..............................................................................................23-31 23.33 ip ospf retransmit-interval .............................................................................23-32 23.34 ip ospf transmit-delay...................................................................................23-32 XXXIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
23.35 maximum-paths...........................................................................................23-33 23.36 neighbor .....................................................................................................23-34 23.37 network.......................................................................................................23-36 23.38 notify default route .......................................................................................23-37 23.39 nsf ..............................................................................................................23-38 23.40 passive-interface .........................................................................................23-39 23.41 redistribute ..................................................................................................23-40 23.42 router ospf ..................................................................................................23-42 23.43 router-id ......................................................................................................23-43 23.44 show ip ospf ................................................................................................23-44 23.45 show ip ospf border-routers ..........................................................................23-45 23.46 show ip ospf database .................................................................................23-46 23.47 show ip ospf database asbr-summary ...........................................................23-48 23.48 show ip ospf database database-summary....................................................23-49 23.49 show ip ospf database external ....................................................................23-51 23.50 show ip ospf database network.....................................................................23-52 23.51 show ip ospf database nssa .........................................................................23-53 23.52 show ip ospf database opaque-area .............................................................23-55 23.53 show ip ospf database opaque-link ...............................................................23-57 23.54 show ip ospf database router........................................................................23-59 23.55 show ip ospf database summary...................................................................23-60 23.56 show ip ospf interface ..................................................................................23-62 23.57 show ip ospf neighbor ..................................................................................23-63 23.58 show ip ospf nsf...........................................................................................23-64 23.59 show ip ospf request-list...............................................................................23-65 23.60 show ip ospf retransmission-list ....................................................................23-66 23.61 summary-address........................................................................................23-67 23.62 timers lsa-group-pacing................................................................................23-68 23.63 timers spf ....................................................................................................23-69
Chapter 24 BGP Protocol Commands .................................................... 24-1 24.1 address-family ipv4 multicast .......................................................................... 24-3 24.2 address-family ipv6......................................................................................... 24-3 24.3 aggregate-address ......................................................................................... 24-4 24.4 bgp always-compare-med ............................................................................... 24-6 24.5 bgp as ........................................................................................................... 24-7 24.6 bgp client-to-client reflection............................................................................ 24-8 24.7 bgp cluster-id ................................................................................................. 24-8 XXXIV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
24.8 bgp confederation identifier ............................................................................. 24-9 24.9 bgp confederation peers ................................................................................24-10 24.10 bgp dampening ........................................................................................... 24-11 24.11 bgp default ipv4-unicast ...............................................................................24-12 24.12 bgp default local-preference .........................................................................24-13 24.13 bgp default route-target filter.........................................................................24-14 24.14 bgp fast-external-fallover..............................................................................24-15 24.15 bgp graceful-restart......................................................................................24-16 24.16 bgp graceful-restart restart-time....................................................................24-17 24.17 bgp graceful-restart stalepath-time................................................................24-18 24.18 bgp router-id................................................................................................24-19 24.19 bgp update-delay.........................................................................................24-19 24.20 clear ip bgp .................................................................................................24-20 24.21 clear ip bgp dampening................................................................................24-21 24.22 clear ip bgp flap-statistics .............................................................................24-22 24.23 debug ip bgp ...............................................................................................24-23 24.24 debug ip bgp all ...........................................................................................24-24 24.25 debug ip bgp dampening..............................................................................24-24 24.26 debug ip bgp events ....................................................................................24-25 24.27 debug ip bgp in............................................................................................24-26 24.28 debug ip bgp keepalives ..............................................................................24-27 24.29 debug ip bgp out..........................................................................................24-27 24.30 debug ip bgp updates ..................................................................................24-28 24.31 default-information originate .........................................................................24-29 24.32 default-metric ..............................................................................................24-30 24.33 disable ip bgp ..............................................................................................24-31 24.34 distance bgp................................................................................................24-31 24.35 enable ip bgp ..............................................................................................24-32 24.36 ip as-path access-list ...................................................................................24-33 24.37 ip community-list..........................................................................................24-34 24.38 ip prefix-list..................................................................................................24-36 24.39 maximum-paths...........................................................................................24-37 24.40 neighbor activate .........................................................................................24-38 24.41 neighbor advertisement-interval....................................................................24-39 24.42 neighbor allowas-in......................................................................................24-40 24.43 neighbor default-originate.............................................................................24-41 24.44 neighbor description ....................................................................................24-42 XXXV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
24.45 neighbor ebgp-multihop ...............................................................................24-43 24.46 neighbor maximum-prefix.............................................................................24-44 24.47 neighbor next-hop-self .................................................................................24-45 24.48 neighbor originate-interval ............................................................................24-46 24.49 neighbor passive .........................................................................................24-47 24.50 neighbor password ......................................................................................24-48 24.51 neighbor peer-group ....................................................................................24-49 24.52 neighbor prefix-list .......................................................................................24-50 24.53 neighbor remote-as......................................................................................24-51 24.54 neighbor remove-private-as..........................................................................24-52 24.55 neighbor route-map .....................................................................................24-53 24.56 neighbor route-reflector-client .......................................................................24-54 24.57 neighbor send-community ............................................................................24-55 24.58 neighbor send-med......................................................................................24-56 24.59 neighbor shut-down .....................................................................................24-57 24.60 neighbor soft-reconfiguration ........................................................................24-58 24.61 neighbor timers ...........................................................................................24-59 24.62 neighbor update-source ...............................................................................24-60 24.63 network.......................................................................................................24-61 24.64 redistribute ..................................................................................................24-62 24.65 reset ip bgp .................................................................................................24-63 24.66 router bgp ...................................................................................................24-64 24.67 show bgp all neighbor ..................................................................................24-64 24.68 show bgp all summary .................................................................................24-66 24.69 show bgp ipv4 multicast ...............................................................................24-67 24.70 show bgp ipv4 multicast neighbor .................................................................24-68 24.71 show bgp ipv4 multicast neighbor in..............................................................24-70 24.72 show bgp ipv4 multicast neighbor out............................................................24-71 24.73 show ip as-path-access-list ..........................................................................24-73 24.74 show ip bgp dampened-paths.......................................................................24-73 24.75 show ip bgp flap-statistics ............................................................................24-74 24.76 show ip bgp neighbor...................................................................................24-75 24.77 show ip bgp peer-group ...............................................................................24-77 24.78 show ip bgp protocol ....................................................................................24-77 24.79 show ip bgp route ........................................................................................24-79 24.80 show ip bgp summary ..................................................................................24-80 24.81 show ip community-list .................................................................................24-81 XXXVI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
24.82 show ip prefix-list .........................................................................................24-82 24.83 synchronization ...........................................................................................24-83 24.84 timers bgp ...................................................................................................24-84
Chapter 25 System Log/Statistical Management Commands .............. 25-1 25.1 clear logging alarm ......................................................................................... 25-1 25.2 clear logging command................................................................................... 25-2 25.3 clear logging snmp ......................................................................................... 25-3 25.4 logging buffer ................................................................................................. 25-3 25.5 logging console .............................................................................................. 25-4 25.6 logging level................................................................................................... 25-5 25.7 logging mode ................................................................................................. 25-6 25.8 logging on ...................................................................................................... 25-7 25.9 logging snmplog-save ..................................................................................... 25-7 25.10 show cmdlogfile............................................................................................ 25-8 25.11 show logging alarm ....................................................................................... 25-9 25.12 show logging configure ................................................................................25-10 25.13 show processor ........................................................................................... 25-11 25.14 show snmplogfile .........................................................................................25-14 25.15 syslog facility...............................................................................................25-15 25.16 syslog severity.............................................................................................25-16 25.17 syslog-server host .......................................................................................25-16 25.18 write alarmlog..............................................................................................25-17 25.19 write cmdlog................................................................................................25-18 25.20 write snmplog ..............................................................................................25-19
Chapter 26 TACACS+ Commands .......................................................... 26-1 26.1 aaa accounting............................................................................................... 26-1 26.2 aaa authentication login .................................................................................. 26-3 26.3 aaa authorization............................................................................................ 26-4 26.4 aaa group-server tacacs+ ............................................................................... 26-5 26.5 server ............................................................................................................ 26-6 26.6 show aaa configure ........................................................................................ 26-8 26.7 show tacacs+ configure .................................................................................. 26-9 26.8 tacacs disable ...............................................................................................26-10 26.9 tacacs enable................................................................................................26-10 26.10 tacacs-client ................................................................................................ 26-11 26.11 tacacs-server host .......................................................................................26-12 26.12 tacacs-server key ........................................................................................26-14 XXXVII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
26.13 tacacs-server packet....................................................................................26-15 26.14 tacacs-server timeout...................................................................................26-15
Chapter 27 RADIUS Commands.............................................................. 27-1 27.1 algorithm........................................................................................................ 27-1 27.2 authentication local......................................................................................... 27-2 27.3 deadtime........................................................................................................ 27-3 27.4 max-retries..................................................................................................... 27-4 27.5 radius authentication-group ............................................................................. 27-5 27.6 server ............................................................................................................ 27-6 27.7 timeout .......................................................................................................... 27-7
Chapter 28 SNMP Commands ................................................................. 28-1 28.1 show snmp .................................................................................................... 28-1 28.2 show snmp config........................................................................................... 28-2 28.3 show snmp engine-id...................................................................................... 28-3 28.4 show snmp group ........................................................................................... 28-4 28.5 show snmp user ............................................................................................. 28-5 28.6 show snmplogfile............................................................................................ 28-6 28.7 show system-group ........................................................................................ 28-7 28.8 snmp-server access-list .................................................................................. 28-8 28.9 snmp-server community.................................................................................. 28-9 28.10 snmp-server contact ....................................................................................28-10 28.11 snmp-server context ....................................................................................28-10 28.12 snmp-server enable ..................................................................................... 28-11 28.13 snmp-server engine-id .................................................................................28-12 28.14 snmp-server group ......................................................................................28-13 28.15 snmp-server host.........................................................................................28-14 28.16 snmp-server location ...................................................................................28-16 28.17 snmp-server packetsize ...............................................................................28-17 28.18 snmp-server trap-source ..............................................................................28-17 28.19 snmp-server user ........................................................................................28-18 28.20 snmp-server view ........................................................................................28-19
Chapter 29 DHCP Commands ................................................................. 29-1 29.1 DHCP Snooping Commands ........................................................................... 29-1 29.1.1 ip dhcp snooping quota......................................................................... 29-1 29.1.2 show ip dhcp snooping port................................................................... 29-2 29.1.3 show ip dhcp snooping port quota ......................................................... 29-3 29.2 DHCP Layer–3 Commands ............................................................................. 29-3 XXXVIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
29.2.1 ip dhcp enable...................................................................................... 29-3 29.2.2 ip dhcp logging on ................................................................................ 29-4 29.2.3 ip dhcp mode ....................................................................................... 29-5 29.2.4 show ip dhcp configuration.................................................................... 29-6 29.3 DHCP Relay/Proxy Commands ....................................................................... 29-7 29.3.1 ip dhcp helper-address policy vclass-id .................................................. 29-7 29.3.2 ip dhcp proxy client leasetime................................................................ 29-7 29.3.3 ip dhcp relay agent ............................................................................... 29-8 29.3.4 ip dhcp relay server .............................................................................. 29-9 29.3.5 ip dhcp relay server retry......................................................................29-10 29.3.6 ip dhcp relay server vclass-id ............................................................... 29-11 29.3.7 ip dhcp relay update arp.......................................................................29-12 29.3.8 show ip dhcp proxy client .....................................................................29-13 29.3.9 show ip dhcp relay server vclass-id.......................................................29-13 29.4 DHCP Server Commands ..............................................................................29-14 29.4.1 ip dhcp server dns ...............................................................................29-14 29.4.2 ip dhcp server gateway ........................................................................29-15 29.4.3 ip dhcp server leasetime ......................................................................29-16 29.4.4 ip dhcp server update arp ....................................................................29-17 29.4.5 peer default ip pool ..............................................................................29-17 29.4.6 show ip dhcp server user .....................................................................29-18
Chapter 30 IP Address Pool Commands................................................ 30-1 30.1 clear ip pool conflict-ip .................................................................................... 30-1 30.2 ip local pool.................................................................................................... 30-2 30.3 ip local pool conflict-ip..................................................................................... 30-3 30.4 show ip local pool ........................................................................................... 30-3 30.5 show ip local pool conflict-ip ............................................................................ 30-4
Chapter 31 SSH Commands .................................................................... 31-1 31.1 show ssh ....................................................................................................... 31-1 31.2 ssh server authentication ispgroup................................................................... 31-2 31.3 ssh server authentication mode ....................................................................... 31-3 31.4 ssh server authentication type ......................................................................... 31-3 31.5 ssh server enable ........................................................................................... 31-4 31.6 ssh server generate-key.................................................................................. 31-5 31.7 ssh server only ............................................................................................... 31-5 31.8 ssh server version .......................................................................................... 31-6
Chapter 32 History Performance Statistics Commands ....................... 32-1 XXXIX SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
32.1 his-performance alarm .................................................................................... 32-1 32.2 his-performance auto-upload........................................................................... 32-2 32.3 his-performance download .............................................................................. 32-2 32.4 his-performance sample.................................................................................. 32-3 32.5 his-performance upload 1-day ......................................................................... 32-4 32.6 his-performance upload 15-minute................................................................... 32-5
Chapter 33 MFF and ARP Anti-Spoofing Commands ........................... 33-1 33.1 ip-service ip-fixed-user.................................................................................... 33-1 33.2 ip-service ip-source-guard............................................................................... 33-2 33.3 ip-service ip-source-guard (GPON/EPON ONU interface) ................................. 33-3 33.4 ip-service ip-source-guard bind-type ip+mac .................................................... 33-3 33.5 ip-service ipv6-fixed-user ................................................................................ 33-4 33.6 show ip-service ip-source-guard ...................................................................... 33-5 33.7 show ip-service ip-source-guard bind-type ....................................................... 33-6 33.8 show ip-service ipv6-user................................................................................ 33-6 33.9 show ip-service ipv6-user status ...................................................................... 33-7 33.10 show ip-service user ..................................................................................... 33-8 33.11 show ip-service user status ........................................................................... 33-9
Chapter 34 Control Panel Safety Commands ........................................ 34-1 34.1 anti-dos ......................................................................................................... 34-1 34.2 anti-dos blocking-time ..................................................................................... 34-2 34.3 anti-dos drop.................................................................................................. 34-3 34.4 anti-dos drv-limit............................................................................................. 34-3 34.5 anti-dos limit-num ........................................................................................... 34-4 34.6 clear packet-statistics ..................................................................................... 34-5 34.7 cpu ................................................................................................................ 34-6 34.8 packet-limit .................................................................................................... 34-7 34.9 show control-panel anti-dos black-table ..........................................................34-10 34.10 show control-panel anti-dos black-table slot................................................... 34-11 34.11 show control-panel configure ........................................................................ 34-11 34.12 show control-panel packet-limit statistics slot .................................................34-12 34.13 show cpu queue ..........................................................................................34-13 34.14 show cpu queue statistics ............................................................................34-14
Chapter 35 NTP Configuration Commands............................................ 35-1 35.1 debug ntp all .................................................................................................. 35-1 35.2 debug ntp error .............................................................................................. 35-2 35.3 debug ntp event ............................................................................................. 35-3 XL SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
35.4 ntp alarm-threshold......................................................................................... 35-3 35.5 ntp authenticate.............................................................................................. 35-4 35.6 ntp authentication-key..................................................................................... 35-5 35.7 ntp enable...................................................................................................... 35-6 35.8 ntp master...................................................................................................... 35-7 35.9 ntp poll-interval............................................................................................... 35-7 35.10 ntp server..................................................................................................... 35-8 35.11 ntp source .................................................................................................... 35-9 35.12 ntp trusted-key ............................................................................................35-10 35.13 show ntp config ........................................................................................... 35-11 35.14 show ntp status ...........................................................................................35-12
Chapter 36 QoS Commands .................................................................... 36-1 36.1 Global Commands.......................................................................................... 36-1 36.1.1 qos cos-to-cos-profile ........................................................................... 36-1 36.1.2 qos dscp-to-cos-profile.......................................................................... 36-2 36.1.3 qos dscp-to-drop-profile ........................................................................ 36-3 36.1.4 qos dscp-to-dscp-profile........................................................................ 36-4 36.1.5 qos eth-cos-local-map .......................................................................... 36-5 36.1.6 qos queue-block-profile......................................................................... 36-6 36.1.7 qos queue-map-profile .......................................................................... 36-8 36.2 Ethernet Port Commands...............................................................................36-10 36.2.1 qos cos default-cos..............................................................................36-10 36.2.2 qos cos dscp-remark ...........................................................................36-10 36.2.3 qos drop-procedence........................................................................... 36-11 36.2.4 qos dscp dscp-remark .........................................................................36-12 36.2.5 qos queue-block-profile........................................................................36-13 36.2.6 qos traffic-shape..................................................................................36-14 36.2.7 qos trust .............................................................................................36-15 36.3 User Port Commands ....................................................................................36-16 36.3.1 qos cos cos-remark .............................................................................36-16 36.3.2 qos cos default-cos..............................................................................36-17 36.3.3 qos cos dscp-remark ...........................................................................36-18 36.3.4 qos cos-filter .......................................................................................36-19 36.3.5 qos egress-cos cos-remark ..................................................................36-19 36.3.6 qos egress-cos default-cos ..................................................................36-20 36.3.7 qos egress-cos dscp-remark ................................................................36-21 36.3.8 qos queue-block-profile........................................................................36-22 XLI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
36.3.9 qos queue-map-profile .........................................................................36-23 36.3.10 qos traffic-shape (epon olt interface mode) ..........................................36-24 36.3.11 qos trust ............................................................................................36-25 36.4 Show Commands ..........................................................................................36-26 36.4.1 show qos cos-to-cos-profile..................................................................36-26 36.4.2 show qos dscp-to-cos-profile ................................................................36-27 36.4.3 show qos dscp-to-drop-profile ..............................................................36-28 36.4.4 show qos dscp-to-dscp-profile ..............................................................36-29 36.4.5 show qos eth-cos-local-map.................................................................36-30 36.4.6 show qos interface ..............................................................................36-30 36.4.7 show qos queue-block-profile ...............................................................36-31 36.4.8 show qos queue-map-profile ................................................................36-32
Chapter 37 Traffic Profile Commands .................................................... 37-1 37.1 Global Commands.......................................................................................... 37-1 37.1.1 traffic-profile ......................................................................................... 37-1 37.2 User Port Commands ..................................................................................... 37-2 37.2.1 traffic-profile (wdm-pon-onu interface mode) .......................................... 37-2 37.2.2 traffic-profile(gpon onu interface mode) .................................................. 37-3 37.3 Show Commands ........................................................................................... 37-4 37.3.1 show traffic-profile ................................................................................ 37-4
Chapter 38 MSTP Commands ................................................................. 38-1 38.1 instance ......................................................................................................... 38-2 38.2 name ............................................................................................................. 38-3 38.3 revision.......................................................................................................... 38-3 38.4 show spanning-tree inconsistentports .............................................................. 38-4 38.5 show spanning-tree instance ........................................................................... 38-5 38.6 show spanning-tree interface .......................................................................... 38-6 38.7 show spanning-tree mst configuration .............................................................. 38-7 38.8 show spanning-tree statistics .......................................................................... 38-8 38.9 show spanning-tree transparent ...................................................................... 38-9 38.10 spanning-tree bpduguard action ...................................................................38-10 38.11 spanning-tree disable (Ethernet interface mode) ............................................ 38-11 38.12 spanning-tree disable...................................................................................38-12 38.13 spanning-tree edged-port .............................................................................38-12 38.14 spanning-tree enable (Ethernet interface mode) ............................................38-13 38.15 spanning-tree enable ...................................................................................38-14 38.16 spanning-tree forward-delay .........................................................................38-15 XLII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
38.17 spanning-tree guard loop instance ................................................................38-15 38.18 spanning-tree guard root instance.................................................................38-16 38.19 spanning-tree hello-time...............................................................................38-17 38.20 spanning-tree linktype..................................................................................38-18 38.21 spanning-tree max-age ................................................................................38-18 38.22 spanning-tree mcheck..................................................................................38-19 38.23 spanning-tree mode.....................................................................................38-20 38.24 spanning-tree mst configuration....................................................................38-21 38.25 spanning-tree mst hmd5-digest ....................................................................38-21 38.26 spanning-tree mst hmd5-key ........................................................................38-22 38.27 spanning-tree mst instance (Ethernet interface mode)....................................38-23 38.28 spanning-tree mst instance ..........................................................................38-24 38.29 spanning-tree mst max-hops ........................................................................38-25 38.30 spanning-tree packet-type ............................................................................38-26 38.31 spanning-tree transparent ............................................................................38-27
Chapter 39 LACP Commands.................................................................. 39-1 39.1 LACP Protocol Commands ............................................................................. 39-1 39.1.1 clear lacp ............................................................................................. 39-1 39.1.2 lacp admin-key ..................................................................................... 39-2 39.1.3 lacp port-priority ................................................................................... 39-2 39.1.4 lacp swap-short-ctrl .............................................................................. 39-3 39.1.5 lacp timeout ......................................................................................... 39-4 39.1.6 show lacp ............................................................................................ 39-5 39.1.7 smartgroup .......................................................................................... 39-7 39.1.8 smartgroup load-balance ...................................................................... 39-8 39.1.9 smartgroup sys-priority ......................................................................... 39-9 39.1.10 test lacp plug-fast ..............................................................................39-10 39.2 Linkgroup Commands.................................................................................... 39-11 39.2.1 linkgroup............................................................................................. 39-11 39.2.2 linkgroup load-balance.........................................................................39-12 39.2.3 show linkgroup ....................................................................................39-12
Chapter 40 UAPS Commands ................................................................. 40-1 40.1 interval-link-detect .......................................................................................... 40-1 40.2 next-hop ........................................................................................................ 40-2 40.3 port................................................................................................................ 40-4 40.4 port-optical-tx-control ...................................................................................... 40-6 40.5 protect-time.................................................................................................... 40-7 XLIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
40.6 retry-link-detect .............................................................................................. 40-9 40.7 revertive .......................................................................................................40-10 40.8 show uaps .................................................................................................... 40-11 40.9 swap ............................................................................................................40-13 40.10 switch-type..................................................................................................40-15 40.11 uaps-group..................................................................................................40-17
Chapter 41 LST Commands..................................................................... 41-1 41.1 add-port olt-port.............................................................................................. 41-1 41.2 add-port uplink-port ........................................................................................ 41-2 41.3 interval-link-detect .......................................................................................... 41-3 41.4 lst-group ........................................................................................................ 41-4 41.5 next-hop ........................................................................................................ 41-5 41.6 retry-link-detect .............................................................................................. 41-6 41.7 show lst ......................................................................................................... 41-7
Chapter 42 ACL Commands .................................................................... 42-1 42.1 acl extended .................................................................................................. 42-1 42.2 acl hybrid ....................................................................................................... 42-2 42.3 acl link ........................................................................................................... 42-3 42.4 acl standard ................................................................................................... 42-4 42.5 acl6 hybrid ..................................................................................................... 42-5 42.6 ip access-group (Layer 2 fei Interface Mode) .................................................... 42-5 42.7 ip access-group.............................................................................................. 42-6 42.8 name ............................................................................................................. 42-7 42.9 priority-mark................................................................................................... 42-8 42.10 redirect ........................................................................................................ 42-9 42.11 rule .............................................................................................................42-10 42.12 rule (acl-ext configuration mode)................................................................... 42-11 42.13 rule (acl-link configuration mode) ..................................................................42-14 42.14 rule (acl-hyb configuration mode)..................................................................42-16 42.15 rule (ipv6-acl-hyb configuration mode) ..........................................................42-19 42.16 show acl .....................................................................................................42-22 42.17 show qos ....................................................................................................42-23 42.18 show time-range..........................................................................................42-24 42.19 show traffic-statistics....................................................................................42-25 42.20 time-range ..................................................................................................42-25 42.21 traffic-limit ...................................................................................................42-27 42.22 traffic-mirror.................................................................................................42-28 XLIV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
42.23 traffic-statistics ............................................................................................42-30 42.24 vlan-mark....................................................................................................42-31
Chapter 43 Port Location Commands .................................................... 43-1 43.1 Port Location Commands................................................................................ 43-1 43.1.1 port-location ......................................................................................... 43-1 43.1.2 port-location access-node-identifier ....................................................... 43-2 43.1.3 port-location flexible-syntax add delimiter ............................................... 43-2 43.1.4 port-location flexible-syntax add string ................................................... 43-3 43.1.5 port-location flexible-syntax add variable................................................ 43-4 43.1.6 port-location flexible-syntax delete ......................................................... 43-6 43.1.7 port-location format............................................................................... 43-7 43.1.8 port-location ft-cid................................................................................. 43-8 43.1.9 port-location hostname ......................................................................... 43-8 43.1.10 port-location sub-option remote-id........................................................ 43-9 43.1.11 port-location sub-option remote-id name..............................................43-10 43.1.12 show port-location flexible-syntax ....................................................... 43-11 43.1.13 show port-location global....................................................................43-12 43.1.14 show port-location port.......................................................................43-13 43.2 DHCP Option82 Commands ..........................................................................43-14 43.2.1 dhcp-option82 .....................................................................................43-14 43.2.2 dhcp-option82(ptp interface mode) .......................................................43-15 43.2.3 dhcp-option82 trust false......................................................................43-16 43.2.4 dhcp-option82 trust true .......................................................................43-17 43.2.5 show dhcp-option82 global...................................................................43-18 43.2.6 show dhcp-option82 port......................................................................43-19 43.3 PPPoE+ Commands......................................................................................43-20 43.3.1 pppoe-plus..........................................................................................43-20 43.3.2 pppoe-plus(ptp interface mode) ............................................................43-21 43.3.3 pppoe-plus trust false ..........................................................................43-22 43.3.4 pppoe-plus trust true............................................................................43-23 43.3.5 show pppoe-plus global .......................................................................43-24 43.3.6 show pppoe-plus port ..........................................................................43-24
Chapter 44 MAC Management Commands ............................................ 44-1 44.1 mac add ........................................................................................................ 44-1 44.2 mac aging-time .............................................................................................. 44-2 44.3 mac delete ..................................................................................................... 44-3 44.4 mac delete all................................................................................................. 44-4 XLV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
44.5 mac delete dynamic........................................................................................ 44-5 44.6 mac delete permanent .................................................................................... 44-6 44.7 mac delete vlan .............................................................................................. 44-6 44.8 mac monitor-period......................................................................................... 44-7 44.9 mac usage-threshold ...................................................................................... 44-8 44.10 show mac .................................................................................................... 44-8 44.11 show mac aging-time ...................................................................................44-10 44.12 show mac monitor-info ................................................................................. 44-11 44.13 show mac running .......................................................................................44-12 44.14 show mac system ........................................................................................44-13 44.15 show mac-real-time .....................................................................................44-13
Chapter 45 MAC Anti-Spoofing Commands .......................................... 45-1 45.1 clear security mac-spoofing-list........................................................................ 45-1 45.2 clear security mac-spoofing-log ....................................................................... 45-2 45.3 security mac-anti-spoofing .............................................................................. 45-3 45.4 security mac-anti-spoofing uplink-protect ......................................................... 45-4 45.5 security mac-spoofing-trap .............................................................................. 45-5 45.6 show security configuration ............................................................................. 45-6 45.7 show security mac-spoofing-list ....................................................................... 45-6 45.8 show security mac-spoofing-log....................................................................... 45-7
Chapter 46 Multicast Commands............................................................ 46-1 46.1 Global IGMP Configuration Commands ........................................................... 46-1 46.1.1 igmp bandwidth-control......................................................................... 46-1 46.1.2 igmp disable......................................................................................... 46-2 46.1.3 igmp enable ......................................................................................... 46-2 46.1.4 igmp host-tracking ................................................................................ 46-3 46.1.5 igmp last-query-count ........................................................................... 46-4 46.1.6 igmp last-query-interval......................................................................... 46-4 46.1.7 igmp log............................................................................................... 46-5 46.1.8 igmp prejoin-interval ............................................................................. 46-6 46.1.9 igmp query-interval ............................................................................... 46-6 46.1.10 igmp query-max-resp .......................................................................... 46-7 46.1.11 igmp querygemport-mode ................................................................... 46-8 46.1.12 igmp robustness ................................................................................. 46-9 46.1.13 igmp snooping-aging-time ................................................................... 46-9 46.1.14 igmp span-vlan..................................................................................46-10 46.1.15 igmp statistics ................................................................................... 46-11 XLVI SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
46.1.16 igmp unsolicited-report-interval ...........................................................46-12 46.1.17 igmp version-mode ............................................................................46-12 46.2 IGMP MVLAN Configuration Commands.........................................................46-13 46.2.1 igmp mvlan .........................................................................................46-13 46.2.2 igmp mvlan cvlan.................................................................................46-14 46.2.3 igmp mvlan drop..................................................................................46-15 46.2.4 igmp mvlan enable ..............................................................................46-15 46.2.5 igmp mvlan group-filter ........................................................................46-16 46.2.6 igmp mvlan host-ip ..............................................................................46-17 46.2.7 igmp mvlan host-version ......................................................................46-17 46.2.8 igmp mvlan max-group ........................................................................46-18 46.2.9 igmp mvlan priority ..............................................................................46-19 46.2.10 igmp mvlan receive-port .....................................................................46-20 46.2.11 igmp mvlan source-port......................................................................46-20 46.2.12 igmp mvlan work-mode ......................................................................46-21 46.3 IGMP Show Commands.................................................................................46-22 46.3.1 show igmp ..........................................................................................46-22 46.3.2 show igmp dynamic-member................................................................46-23 46.3.3 show igmp interface.............................................................................46-24 46.3.4 show igmp log .....................................................................................46-25 46.3.5 show igmp mp-snooping ......................................................................46-26 46.3.6 show igmp mp-statistics .......................................................................46-27 46.3.7 show igmp mvlan.................................................................................46-28 46.3.8 show igmp np-statistics........................................................................46-29 46.3.9 show igmp pon-statistics ......................................................................46-31 46.3.10 show igmp static-member ..................................................................46-32 46.3.11 show igmp statistics ...........................................................................46-33 46.4 Global MLD Configuration Commands ............................................................46-34 46.4.1 mld bandwidth-control..........................................................................46-34 46.4.2 mld disable .........................................................................................46-34 46.4.3 mld enable ..........................................................................................46-35 46.4.4 mld host-tracking .................................................................................46-36 46.4.5 mld last-query-count ............................................................................46-36 46.4.6 mld last-query-interval .........................................................................46-37 46.4.7 mld log................................................................................................46-38 46.4.8 mld prejoin-interval ..............................................................................46-39 46.4.9 mld query-interval................................................................................46-39 XLVII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
46.4.10 mld query-max-resp...........................................................................46-40 46.4.11 mld robustness ..................................................................................46-41 46.4.12 mld snooping-aging-time ....................................................................46-41 46.4.13 mld span-vlan....................................................................................46-42 46.4.14 mld statistics .....................................................................................46-43 46.4.15 mld unsolicited-report-interval.............................................................46-44 46.5 MLD MVLAN Configuration Commands ..........................................................46-44 46.5.1 mld mvlan ...........................................................................................46-44 46.5.2 mld mvlan cvlan ..................................................................................46-45 46.5.3 mld mvlan drop ...................................................................................46-46 46.5.4 mld mvlan enable ................................................................................46-46 46.5.5 mld mvlan group-filter ..........................................................................46-47 46.5.6 mld mvlan host-ip ................................................................................46-48 46.5.7 mld mvlan host-version ........................................................................46-49 46.5.8 mld mvlan max-group ..........................................................................46-49 46.5.9 mld mvlan priority ................................................................................46-50 46.5.10 mld mvlan receive-port.......................................................................46-51 46.5.11 mld mvlan source-port........................................................................46-52 46.5.12 mld mvlan work-mode........................................................................46-52 46.6 MLD Show Commands ..................................................................................46-53 46.6.1 show mld ............................................................................................46-53 46.6.2 show mld dynamic-member..................................................................46-54 46.6.3 show mld interface ..............................................................................46-55 46.6.4 show mld log.......................................................................................46-56 46.6.5 show mld mp-snooping ........................................................................46-57 46.6.6 show mld mp-statistics.........................................................................46-58 46.6.7 show mld mvlan ..................................................................................46-59 46.6.8 show mld np-statistics..........................................................................46-60 46.6.9 show mld pon-statistics........................................................................46-62 46.6.10 show mld static-member ....................................................................46-63 46.6.11 show mld statistics .............................................................................46-63 46.7 IPTV Configuration Commands ......................................................................46-65 46.7.1 iptv cac ...............................................................................................46-65 46.7.2 iptv cdr................................................................................................46-65 46.7.3 iptv cdr clear .......................................................................................46-66 46.7.4 iptv cdr create-period ...........................................................................46-67 46.7.5 iptv cdr deny-right................................................................................46-67 XLVIII SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
46.7.6 iptv cdr max-records ............................................................................46-68 46.7.7 iptv cdr prw-overcount .........................................................................46-69 46.7.8 iptv cdr prw-right..................................................................................46-70 46.7.9 iptv cdr report ......................................................................................46-70 46.7.10 iptv cdr report-interval ........................................................................46-71 46.7.11 iptv cdr report-threshold .....................................................................46-72 46.7.12 iptv channel.......................................................................................46-73 46.7.13 iptv highest-priority ............................................................................46-74 46.7.14 iptv ipv6 channel................................................................................46-75 46.7.15 iptv ipv6 package...............................................................................46-76 46.7.16 iptv ipv6 sms-server...........................................................................46-77 46.7.17 iptv package......................................................................................46-78 46.7.18 iptv prw .............................................................................................46-79 46.7.19 iptv sms-server..................................................................................46-80 46.7.20 iptv view-profile .................................................................................46-81 46.8 IPTV Show Commands..................................................................................46-82 46.8.1 show iptv cdr.......................................................................................46-82 46.8.2 show iptv cdr content ...........................................................................46-83 46.8.3 show iptv cdr records...........................................................................46-84 46.8.4 show iptv channel................................................................................46-85 46.8.5 show iptv control .................................................................................46-86 46.8.6 show iptv interface...............................................................................46-86 46.8.7 show iptv package ...............................................................................46-88 46.8.8 show iptv prw ......................................................................................46-89 46.8.9 show iptv view-profile...........................................................................46-89
XLIX SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
L SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
About This Manual Purpose This manual provides the command information on the ZXA10 C300/C320 Optical Access Convergence Equipment (the C320 does not support IPv6, CES, 1pps, and 1588). The card slots of C300 and C320 are different, as listed below. NE
Switching and
Service Card Slot
Uplink Card Slot
Control Card Slot C300
C320
10 – 11
3–4
Common Interface Card Slot
2 – 9, 12 – 17
19 – 20 (19-inch
18 (19-inch shelf)
(19-inch shelf)
shelf)
20 (21-inch shelf)
2 – 9, 12 – 19
21 – 22 (21-inch
(21-inch shelf)
shelf)
1–2
3–4
N/A
Intended Audience This document is intended for: l l l l
Installation and debugging engineer Network monitoring engineer System maintenance engineer Data configuration engineer
What Is in This Manual This manual contains the following chapters: Chapter
Summary
1, Basic System Management
Describes the commands related to basic system management.
2, Hardware Management
Describes the commands related to hardware management.
3, Fan Management
Describes the commands related to fan management.
4, Version Management
Describes the commands related to version management.
5, CPE Version Management
Describes the commands related to CPE version management.
6, User Management
Describes the commands related to user management. I
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter
Summary
7, File System Management
Describes the commands related to file system management.
8, SuperVLAN Commands
Describes the commands related to super VLAN.
9, FTP/TFTP Server Commands
Describes the commands related to FTP/TFTP server.
10, Alarm Management
Describes the commands related to alarm management.
11, Debugging Commands
Describes the commands related to debugging.
12, VLAN Commands
Describes the commands related to VLAN.
13, PON Commands
Describes the commands related to GPON and EPON common configuration.
14, EPON Commands
Describes the commands related to EPON.
15, GPON Commands
Describes the commands related to GPON.
16, Port Configuration
Describes the commands related to port configuration.
17, CES Commands
Describes the commands related to CES.
18, Clock Commands
Describes the commands related to clock.
19, Ethernet Interface Configuration
Describes the commands related to Ethernet
Commands
interface configuration.
20, Port Security Commands
Describes the commands related to port security.
21, Port Performance Statistics Commands
Describes the commands related to port performance statistics.
22, Basic IPv4 Protocol Commands
Describes the commands related to basic IPv4 protocol.
23, OSPF Protocol Commands
Describes the commands related to OSPF Protocol.
24, BGP Protocol Commands
Describes the commands related to BGP Protocol.
25, System Log/Statistical Management
Describes the commands related to system
Commands
log/statistical management.
26, TACACS+ Commands
Describes the commands related to TACACS+.
27, RADIUS Commands
Describes the commands related to RADIUS.
28, SNMP Commands
Describes the commands related to SNMP.
29, DHCP Commands
Describes the commands related to DHCP.
30, IP Address Pool Commands
Describes the commands related to IP address pool.
31, SSH Commands
Describes the commands related to SSH. II
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter
Summary
32, Historical Performance Statistics
Describes the commands related to historical
Commands
performance statistics.
33, MFF and ARP Anti-Spoofing Commands
Describes the commands related to MFF and ARP anti-spoofing.
34, Control Panel Safety Commands
Describes the commands related to control panel safety.
35, NTP Configuration Commands
Describes the commands related to NTP configuration.
36, QoS Commands
Describes the commands related to QoS.
37, Traffic Profile Commands
Describes the commands related to traffic profile.
38, MSTP Commands
Describes the commands related to MSTP.
39, LACP Commands
Describes the commands related to LACP.
40, UAPS Commands
Describes the commands related to IPV6 protocol.
41, LST Commands
Describes the commands related to LST.
42, ACL Commands
Describes the commands related to ACL.
43, Port Location Commands
Describes the commands related to port location.
44, MAC Management Commands
Describes the commands related to MAC management.
45, MAC Anti-Spoofing Commands
Describes the commands related to MAC management.
46, Multicast Commands
Describes the commands related to multicast.
Conventions This manual uses the following typographical conventions: Typeface
Meaning
Italics
Variables in commands. It may also refer to other related manuals and documents.
Bold
Menus, menu options, function names, input fields, option button names, check boxes, drop-down lists, dialog box names, window names, parameters, and commands.
Constant
Text that you type, program codes, filenames, directory names, and function names.
width []
Optional parameters.
{}
Mandatory parameters.
|
Separates individual parameters in a series of parameters.
III SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
IV SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1
Basic System Management Table of Contents banner incoming.........................................................................................................1-2 boot-password............................................................................................................1-3 boot-server.................................................................................................................1-3 boot-username ...........................................................................................................1-4 clock set .....................................................................................................................1-5 clock timezone ...........................................................................................................1-6 config-filename...........................................................................................................1-6 configure terminal.......................................................................................................1-7 default-gateway..........................................................................................................1-8 disable .......................................................................................................................1-9 enable ........................................................................................................................1-9 enable secret ...........................................................................................................1-10 end...........................................................................................................................1-11 exit ...........................................................................................................................1-12 hostname .................................................................................................................1-12 imgfile-location .........................................................................................................1-13 ip address ................................................................................................................1-14 multi-user configure..................................................................................................1-15 sdisk.........................................................................................................................1-16 service password-encryption ....................................................................................1-17 set-cputhreshold.......................................................................................................1-18 set-memthreshold ....................................................................................................1-19 show clock ...............................................................................................................1-20 show cputhreshold ...................................................................................................1-20 show memthreshold .................................................................................................1-22 show privilege ..........................................................................................................1-23 show running-config .................................................................................................1-23 show sdisk-status .....................................................................................................1-25 show startup-config ..................................................................................................1-26 show system-group ..................................................................................................1-28 show user-suspend ..................................................................................................1-29 show username........................................................................................................1-29 show users...............................................................................................................1-30 user password..........................................................................................................1-31 user-suspend ...........................................................................................................1-32 username .................................................................................................................1-34
1-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
1.1 banner incoming Syntax banner incoming number1 no banner incoming
Function This command sets the startup greeting for the system.
Parameters Parameter
Description
Value
number1
Character used as the
-
terminator of the startup greeting
Mode Configuration mode: ZXAN(config)#
Usage Guidelines 1. Use this command to set the greeting terminator, such as the number symbol (#). 2. Enter the greeting text and end the text with the terminator (#). The terminator contains only one character. Special characters, such as space and enter symbol, can be used in the greeting text except the question mark (?). The question mark (?) cannot be used for any parameter of TEXT type or password because the question mark is considered as a request for help in the system.
Examples The following example sets the startup greeting to welcome: ZXAN(config)#banner incoming # Enter TEXT message.
End with the character '#'.
welcome #
Related Commands None
1-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
1.2 boot-password Syntax boot-password name1
Function This command specifies the password used for logging to the FTP server from which the boot image file is downloaded.
Parameters Parameter
Description
Value
name1
Password of the FTP server
3–16 characters
Mode mng interface mode
Usage Guidelines None
Examples The following example shows how to specify the password used for logging in to the FTP server: ZXAN(config-if)#boot-password 1234
Related Commands None
1.3 boot-server Syntax boot-server ip_addr1
Function This command specifies the IP address of the FTP server from which the boot image file is downloaded.
1-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
IP address of the FTP server
-
Mode mng interface mode
Usage Guidelines None
Examples The following example shows how to specify the IP address of the FTP server: ZXAN(config-if)#boot-server 168.1.1.1
Related Commands None
1.4 boot-username Syntax boot-username name1
Function This command specifies the user name used for logging in to the FTP server from which the boot image file is downloaded.
Parameters Parameter
Description
Value
name1
User name of the FTP server
1–16 characters
Mode mng interface mode
Usage Guidelines None
Examples 1. Enter the mmg interface made. 1-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management ZXAN(config)#interface mng1 ZXAN(config-if)#
2. Set the user name of the FTP server to admin. ZXAN(config-if)#boot-username admin
Related Commands None
1.5 clock set Syntax clock set time1 name1 number1 number2
Function This command sets the system clock in standard date and time format.
Parameters Parameter
Description
Value
time1
Time
-
name1
Month
-
number1
Day
1-31
number2
Year
2001-2098
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to set the system clock: ZXAN#clock set 23:12:01 feb 23 2012
Related Commands None
1-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
1.6 clock timezone Syntax clock timezone name1 number1 [number2 ] no clock timezone
Function This command sets the system time zone.
Parameters Parameter
Description
Value
name1
Time zone name
1–10 characters
number1
Offset in hours
-12 to 13
number2
Offset in minutes
0–59
Mode Configuration mode: ZXAN(config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the system time zone: ZXAN(config)#clock timezone beijing 12 30 ZXAN(config)#
Related Commands 1.23 show clock
1.7 config-filename Syntax config-filename name1 no config-filename
Function This command specifies the name of the configuration file that is used to start the NE. 1-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Parameters Parameter
Description
Value
name1
Name of the configuration file
1–40 characters
used for starting the NE.
Mode mng interface mode
Usage Guidelines None
Examples The following example shows how to specify the name of the configuration file used to start the NE: ZXAN(config-if)# config-filename startrun.dat
Related Commands None
1.8 configure terminal Syntax configure terminal
Function This command changes the command mode from privileged mode to global configuration mode.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
1-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to change the command mode from privileged mode to global configuration mode: ZXAN#configure terminal Enter configuration commands, one per line.
End with CTRL/Z.
ZXAN(config)#
Related Commands 1.13 end 1.14 exit
1.9 default-gateway Syntax default-gateway ip_addr1
Function This command configures the default gateway address.
Parameters Parameter
Description
Value
ip_addr1
IP address of the default
-
gateway
Mode mng interface mode
Usage Guidelines None
Examples The following example shows how to configure the default gateway address: ZXAN(config-if)#default-gateway 10.63.78.15 ZXAN(config-if)#
Related Commands None 1-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
1.10 disable Syntax disable
Function This command changes the command mode from privileged mode to user mode.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to exit privileged mode and return to user mode for a user logging in to the system through a serial port: ZXAN#disable ZXAN>
Related Commands 1.11 enable 1.14 exit
1.11 enable Syntax enable
Function This command changes the command mode from user mode to privileged mode.
Parameters None
1-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode User mode
Usage Guidelines The privileged user password (default: zxr10) is required to start privileged mode. The entered password is case sensitive and not displayed on the screen.
Examples The following example shows how to change the command mode from user mode to privileged mode for a user logging in to the system through a serial port: ZXAN>enable Password: ZXAN#
Related Commands 1.10 disable
1.12 enable secret Syntax enable secret {0 name1 |5 name2 |name3 }
Function This command sets a login password for the privileged user.
Parameters Parameter
Description
Value
name1
Clear text password
3–16 characters
name2
Encrypted password
24 characters
name3
Default clear text password
3–16 characters
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l
The password displayed by the show running-config command is the encrypted password of the privileged user. The password required by the enable command is the clear text password of the privileged user. 1-10
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
l l
Either enable secret 0 password or enable secret password can be used to set an unencrypted password. enable secret 5 password can successfully set an encrypted password only when the entered password contains 24 characters.
Examples The following example shows how to set the privileged user password to ZXAN: ZXAN(config)#enable secret ZXAN
Related Commands 1.11 enable
1.13 end Syntax end
Function This command changes the command mode to privileged mode.
Parameters None
Mode All modes except user mode and privileged mode
Usage Guidelines This command is applicable to all command modes except user mode and privileged mode.
Examples The following example shows how to exit configuration mode and return to privileged mode: ZXAN(config)#end ZXAN#
Related Commands 1.8 configure terminal
1-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
1.14 exit Syntax exit
Function This command is used to log out of the system or return to the previous command mode.
Parameters None
Mode All modes
Usage Guidelines When this command is used in user mode or privileged mode, the current user logs out of the system. When this command is used in the other modes, the command mode returns to the previous mode.
Examples The following example shows how to exit global configuration mode and return to privileged mode: ZXAN(config)#exit ZXAN#
Related Commands 6.11 logout 6.8 login
1.15 hostname Syntax hostname name1 no hostname
Function This command sets a host name for the system. 1-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Parameters Parameter
Description
Value
name1
Host name
1–32 characters
Mode Configuration mode: ZXAN(config)#
Usage Guidelines The default host name of the system is ZXAN. The host name becomes effective immediately after this command is executed.
Examples The following example shows how to set the host name of the system to TEST: ZXAN(config)#hostname TEST TEST(config)#
Related Commands None
1.16 imgfile-location Syntax imgfile-location {local |network name1 }
Function This command specifies the location of the boot image file.
Parameters Parameter
Description
Value
local
Use the local boot image file
-
network
Use the boot image file in a
-
network path name1
Name of the boot image file in
-
the network path
Mode mng interface mode 1-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples l
The following example shows how to use the local boot image file for startup. ZXAN(config-if)#imgfile-location local
l
The following example shows how to use the network boot image file for startup. ZXAN(config-if)#imgfile-location network sys.img
Related Commands None
1.17 ip address Syntax ip address ip_addr1 ip_addr2
Function This command configures the IP address of the management interface.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
Subnet mask
-
Mode mng interface mode
Usage Guidelines By default, no IP address is configured for the management interface.
Examples The following example shows how to set the IP address of the management interface to 168.1.10.100 and the subnet mask to 255.255.0.0: ZXAN(config)#interface mng1 ZXAN(config-if)#ip address 168.1.10.100 255.255.0.0
1-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Related Commands None
1.18 multi-user configure Syntax multi-user configure no multi-user configure
Function This command enables multiple users to enter the configuration mode.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
l
By default, only one user can enter global configuration mode. After this command is executed, other users can also enter global configuration mode. Use the no multi-user configure command to only allow one user to enter the configuration mode. Before using this command, ensure that other users are out of the configuration mode. Multiple users in configuration mode must avoid configuration conflicts when performing operations on the system.
Examples l
The following example shows how to enter the configuration mode and then enable multi-user configuration mode when no user is in configuration mode: ZXAN#configure terminal ZXAN(config)#multi-user configure %Warning: allow others configure, must avoid conflict. ZXAN(config)#
l
In single-user configuration mode, when there is already a user in configuration mode, no more users are allowed to enter the configuration mode. ZXAN#configure terminal %Simultaneous configs not allowed. Locked from 168.1.168.168 ZXAN#
1-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
l
The following example shows that multi-user configuration mode fails to be disabled because some users do not exit configuration mode: ZXAN(config)#no multi-user conf %Someone has entered the configure mode, cannot set single-user configure! ZXAN(config)#
Related Commands 1.8 configure terminal
1.19 sdisk Syntax sdisk name1
Function This command enables or disables the SD card.
Parameters Parameter
Description
Value
name1
Enables or disables the SD
-
card.
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
Examples The following example shows how to enable the SD card: ZXAN(config)#sdisk enable
Related Commands 1.28 show sdisk-status
1-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
1.20 service password-encryption Syntax service password-encryption no service password-encryption
Function This command enables password encryption.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l
l
If the password encryption is enabled before a user is added, the clear text password of this user is encrypted. The password displayed by the show username command is the encrypted clear text password. If multiple users are added before enabling the service password-encryption function, the previously configured clear text password is encrypted, and the encrypted password remains the same. And then if the service password-encryption function is disabled, those encrypted clear text passwords will not be converted to clear text passwords again.
Examples l
The following example shows how to enable the password encryption: ZXAN(config)#service password-encryption ZXAN(config)#
The following shows the user information, which contains the encrypted password: ZXAN(config)#show username Username
Password
Privilege
Max-sessions
zte
dnXspUMqxfJOgln2Hm7Olw==
supervisor
16
ZXAN(config)#
l
The following example shows how to disable the password encryption: ZXAN(config)#no service password-encryption ZXAN(config)#
1-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The following example adds a new user (zte1/zte1). The password of this user is not encrypted and the encrypted password of the previous user (zte) cannot be converted to clear text. ZXAN(config)#username zte1 password zte1 privilege 15
The following shows the user information after the password encryption is disabled: ZXAN(config)#show username Username
Password
Privilege
Max-sessions
zte
dnXspUMqxfJOgln2Hm7Olw==
supervisor
16
zte1
zte1
supervisor
16
ZXAN(config)#
Related Commands 1.32 show username 1.36 username
1.21 set-cputhreshold Syntax set-cputhreshold [rackno number1 ] [shelfno number2 ] slotno number3 number4
Function This command sets the CPU usage threshold.
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
number4
CPU usage threshold in
1–100
percentage
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None 1-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Examples The following example shows how to set the CPU usage threshold to 70% for the card in slot 8 of shelf 0: ZXAN(config)#set-cputhreshold rackno 0 shelfno 0 slotno 8 70
Related Commands 1.22 set-memthreshold 1.24 show cputhreshold
1.22 set-memthreshold Syntax set-memthreshold [rackno number1 ] [shelfno number2 ] slotno number3 number4
Function This command sets the memory usage threshold.
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
number4
Memory usage threshold in
1–100
percentage
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
Examples The following command shows how to set the memory usage threshold to 70% for the card in slot 8 of shelf 0: ZXAN(config)#set-memthreshold rackno 0 shelfno 0 slotno 8 70
Related Commands 1.21 set-cputhreshold 1-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
1.25 show memthreshold
1.23 show clock Syntax show clock
Function This command displays the system clock.
Parameters None
Mode All modes
Usage Guidelines If a time zone is configured, this command displays the current local time in the time zone.
Examples The following command shows how to display the system clock: ZXAN(config)#show clock 18:49:45
Thu
Jan 18
2001
beijing
ZXAN(config)#
Related Commands clock
1.24 show cputhreshold Syntax show cputhreshold [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command displays the CPU usage threshold(s).
1-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display all the CPU threshold for all the cards. ZXAN#show cputhreshold
Rack Shelf Slot CpuThreshold
--------------------------------------
1
1
2
100
1
1
3
100
1
1
5
100
1
1
7
100
1
1
8
100
1
1
10
100
1
1
11
100
1
1
13
100
Related Commands 1.21 set-cputhreshold
1-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
1.25 show memthreshold Syntax show memthreshold [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command displays the memory usage threshold(s).
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the memory usage thresholds of all available cards: ZXAN#show memthreshold Rack Shelf Slot MemThreshold
------------------------------
0
0
2
100
0
0
3
100
0
0
5
100
0
0
7
100
0
0
8
100
0
0
10
100
0
0
11
100
1-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
0
0
13
100
Related Commands 1.22 set-memthreshold
1.26 show privilege Syntax show privilege
Function This command displays the privilege level of the current telnet user.
Parameters None
Mode All modes
Usage Guidelines The privilege level of a telnet user ranges from 1 to 15.
Examples The following example shows how to display the privilege level of the current user: ZXAN#show privilege Current privilege level is 15
Related Commands None
1.27 show running-config Syntax show running-config [{interface interface1 || name1 LINE1 |msan name2 } ]
Function This command displays running configuration of an interface. 1-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
Interface name.
Range: names of all interfaces that can be configured, such as epon-olt_rackno/slotno/portno, epon-onu_rackno/slotno/portno:onuno, gei_, loopback, mng, null, smartgroup, supervlan, tunnel, and vlan
name1
Mode for obtaining specific
begin, exclude, or include
configuration information. Three options are available: l
begin: This mode displays all configuration information from the line that starts with the specified character or string.
l
exclude: This mode displays configuration lines excluding the specified character or string.
l
include: This mode displays all configuration lines containing the specified character or string.
LINE1
Specifies the character or string
-
excluded or included.. name2
Module name.
vlan, mac, pppoe-plus, dhcp-option82, iptv, igmp, gpon, epon, ces, port-location, interface, epon-loopback-detection, or mpnat
Mode All modes except user mode
Usage Guidelines None
1-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Examples The following example shows how to display all configuration information of an interface: ZXAN(config)#show running-config interface epon-olt_1/3/1 Building configuration... ! interface epon-olt_1/3/1 p2p mode group onu 1 type ZTE-D420 mac 00d0.d09a.4732 ip-cfg static onu 2 type ZTE-D420 mac 00d0.d09a.463e ip-cfg static security packet-limit broadcast 100 no security packet-limit multicast security packet-limit unknowncast 100 ! end
Related Commands None
1.28 show sdisk-status Syntax show sdisk-status
Function This command displays the current status of the SD card.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the current status of the SD card: ZXAN#show sdisk-status Board
OnLine
Status
-----------------------------------------
1-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference MASTER
INSERVECE
IDLE
Related Commands sdisk enable
1.29 show startup-config Syntax show startup-config [| name1 LINE1 ]
Function This command displays specific contents of the configuration file in the flash memory.
Parameters Parameter name1
Description
Value
Mode for obtaining specific
begin, exclude, or include
contents from the configuration file. Three options are available: l
begin: This mode displays all configuration information from the line that starts with the specified character or string.
l
exclude: This mode displays configuration lines excluding the specified character or string.
l
include: This mode displays all configuration lines containing the specified character or string.
LINE1
Specifies the character or string
-
excluded or included.
Mode All modes except user mode
Usage Guidelines None
1-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Examples l
The following example shows how to display all configuration lines containing the string “hostname”: ZXAN#show start
running-config | include hostname
hostname ZXAN ZXAN#
l
The following example shows how to display all configuration information from the line containing the string “tacacs” to the end of the configuration file: ZXAN#show start
running-config | begin tacacs
tacacs disable tacacs-server timeout 5 tacacs-server packet 1024 ! ! alarm enable alarm confirm nms-hello-trap disable alarm trap-confirm retry 1 timeout 30 ! end ZXAN#
l
The following example shows how to display the configuration information without the string “alarm”. ZXAN#show startup-config | exclude alarm ssh server authentication ispgroup 1 ssh server authentication mode local ssh server authentication type chap no ssh server only ssh server version 2 ! authentication local enable ! tacacs disable tacacs-server timeout 5 tacacs-server packet 1024 ! ! nms-hello-trap disable end ZXAN#
1-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
1.30 show system-group Syntax show system-group
Function This command displays the system information, such as system name, running duration, and version.
Parameters None
Mode All modes
Usage Guidelines None
Examples The following example shows how to display the system information: ZXAN(config)#show system-group System Description: ZXR10 ROS Version V4.6.02A ZXPON C300 Software, Version V1.2.5 Copyright (c) 2000-2006 by ZTE Corporation Compiled 2013-02-05 01:36:08 System ObjectId: .1.3.6.1.4.1.3902.1015.300.3.1 System StartTime: 2013-2-16 14:28:56 Started before: 1 days, 2 hours, 8 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
Related Commands None
1-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
1.31 show user-suspend Syntax show user-suspend
Function This command displays the account lockout configuration.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the account lockout configuration: ZXAN(config)#show user-suspend User suspend config: ---------------------------------------------user-suspend mode ip user-suspend time: 30 minutes user-suspend retry times: 3 times ZXAN(config)#
Related Commands 1.35 user-suspend
1.32 show username Syntax show username
Function This command displays a list of users that are allowed to log on to the system.
1-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode All modes except user mode
Usage Guidelines This command only displays the information of users that have lower privilege levels than the current user.
Examples The following example shows how to display a list of users that are allowed to log in to the system: ZXAN(config)#show username Username
Password
Privilege
Max-sessions
zte
zte
15
16
zte1
zte1
14
4
ZXAN(config)#
Related Commands 1.36 username
1.33 show users Syntax show users
Function This command displays a list of terminal users.
Parameters None
Mode All modes
Usage Guidelines l
The asterisk symbol (*) in the command result indicates the terminal in use.
1-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
l
The Location of a terminal user is null when the user logs in to the equipment through a serial port. The Location of a terminal user is a valid IP address when the user logs in to the equipment in other modes. The user name is displayed in the User column when the user successfully logs in to the equipment. Or else, the user name is null.
l
Examples The following example shows how to display the information of terminal users: ZXAN(config)#show users User
Host(s) Idle
* 66 vty 0
Line
zte
idle
00:00:00
Location
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
136.1.1.9
ZXAN(config)#
The following describes the output parameters in the command result: Parameter
Description
Line
Virtual terminal ID that indicates a login user
User
User name
Host
IP address of the Telnet server to which the user logs in through the equipment (client)
Idle
Idle duration of the terminal
Location
IP address of the client
Related Commands None
1.34 user password Syntax user password name1
Function This command modifies the password for the current user.
Parameters Parameter
Description
Value
name1
Clear text password
3–16 characters
1-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Privileged mode: ZXAN#
Usage Guidelines l l l l
A user must log on to the NE first before using this command to modify the user password, otherwise an error message (“%Code 48446: user not exist.”) is reported. The new password must be different from the old one. The length of the clear text password ranges from 3 characters to 16 characters. The characters allowed in the password are: 0–9, a–z, A–Z, and `*-=~!@#$%^&()_+[]{}|;':,./\\.
Examples l
The following example shows that an error message is reported because the new password entered in this command is the same as the old one: ZXAN#user password zte %Code 48445: new password same as old password. ZXAN#
l
The following example shows that the user password is successfully modified: ZXAN#user password zteZTE ZXAN#
Related Commands None
1.35 user-suspend Syntax user-suspend {mode name1 |time number1 |retry-times number2 }
Function This command configures the account lockout policy, including the lockout mode, lockout duration, and the threshold of login attempts.
1-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
Parameters Parameter
Description
Value
name1
Lockout mode. The options
-
are: IP address, user name, IP address and user name, or none. Default: none number1
Lockout duration. A locked
30–1440
user account is automatically unlocked when the lockout duration expires. Unit: minutes. Default: 30 number2
Threshold of login attempts. If
1–10
the number of times that a user attempts to log on to the system exceeds this threshold, the user account is locked. Default: 3
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
Examples l
The following example sets the lockout mode to ip: ZXAN(config)#user-suspend mode ip
l
The following example sets the lockout duration to 30 minutes: ZXAN(config)#user-suspend time 30
l
The following example sets the lockout attempts threshold to 3: ZXAN(config)#user-suspend retry-times 3
Related Commands None
1-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
1.36 username Syntax username name1 password {0 name2 |7 name3 |name4 } [max-sessions number1 ] [privilege nu mber2 ] no username name1
Function This command configures the user name and password of a user.
Parameters Parameter
Description
Value
name1
User name.
1–16 characters
name2
Clear text password.
3–16 characters
name3
Cipher text password, which
24 characters, and space is not
is encrypted with the MD5
allowed
encryption algorithm. The cipher text password is visible and only used for loading configuration files. name4
Clear text password.
3–16 characters, and space is not allowed
number1
Number of allowed sessions.
1–16
Default: 16. number2
Privilege level.
0–15
Default: 1
Mode ZXAN(config)#
Usage Guidelines l l l l l l
No space is allowed in user name, clear text password, or cipher text password. The characters allowed in user name are: 0–9, a–z, and _ (underscore). The characters allowed in password are: 0–9, a–z, A–Z, and `*-=~!@#$%^&()_+[]{}|;':,./\\. A user has the default privilege level (1) if no privilege level is set for the user. Only a user having the highest privilege level (15) can create or delete user accounts. Either username username password 0 password or username username password pass word can be used to set an unencrypted password. 1-34
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 1 Basic System Management
l
username username password 7 password can only be used to set a cipher text password for loading configuration files. This command cannot set a cipher text password when the system is operating properly.
Examples l
The following example shows how to set the password of the abc user to pass: ZXAN(config)#username abc password pass
l
The following example shows cipher text password is not allowed to set when the NE is during run-time: ZXAN(config)#username Admin password 7 12345678asdfghjk12345678 privilege 15 %Code 73: Error Run-time configuration, can't enter the password in the cipher text.
Related Commands 1.32 show username
1-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
1-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2
Hardware Management Table of Contents add-card.....................................................................................................................2-1 add-rack .....................................................................................................................2-2 add-shelf ....................................................................................................................2-3 del-card ......................................................................................................................2-3 del-rack ......................................................................................................................2-4 del-shelf .....................................................................................................................2-5 qry..............................................................................................................................2-6 reboot.........................................................................................................................2-6 reset-card...................................................................................................................2-7 set-pnp.......................................................................................................................2-8 show card...................................................................................................................2-8 show shelf ..................................................................................................................2-9 show system-monitor ...............................................................................................2-10 swap ........................................................................................................................2-11 system-monitor endless-loop duration ......................................................................2-12 system-monitor endless-loop reboot .........................................................................2-13 system-monitor task-suspend-reboot........................................................................2-13 system-monitor watchdog.........................................................................................2-14 system-monitor watchdog-duration...........................................................................2-15
2.1 add-card Syntax add-card [rackno number1 ] [shelfno number2 ] slotno number3 name1
Function This command adds a card.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
2-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number3
Slot number
Range: 0–22
name1
Card type
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to add an EPFC card: ZXAN(config)#add-card rackno 1 shelfno 1 slotno 4 ETGO
Related Commands 2.4 del-card
2.2 add-rack Syntax add-rack rackno number1 racktype name1
Function This command adds a rack.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
name1
Rack type
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to add rack 1: 2-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2 Hardware Management ZXAN(config)#add-rack rackno 1 racktype ETSI21
Related Commands 2.5 del-rack
2.3 add-shelf Syntax add-shelf [rackno number1 ] shelfno number2 shelftype name1
Function This command adds a shelf.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
name1
Shelf type
-
number3
-
Range: 1–2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to add shelf 1: ZXAN(config)#add-shelf shelfno 1 shelftype ETSI_SHELF
Related Commands 2.6 del-shelf
2.4 del-card Syntax del-card [rackno number1 ] [shelfno number2 ] slotno number3 2-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command deletes a card.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to delete the card in slot 3: ZXAN(config)#del-card slotno 3
If the card is deleted, the service data related to the card will also be deleted. Do you want to del [yes/no]:y ZXAN(config)#
Related Commands 2.1 add-card
2.5 del-rack Syntax del-rack rackno number1
Function This command deletes a rack.
Parameters Parameter
Description
Value
number1
Shelf number
Range: 1–3
2-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2 Hardware Management
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to delete rack 1: ZXAN(config)#del-rack rackno 1 Confirm to delete rack? [yes/no]:y
Related Commands 2.2 add-rack
2.6 del-shelf Syntax del-shelf [rackno number1 ] shelfno number2
Function This command deletes a shelf.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to delete shelf 1: ZXAN(config)#del-shelf shelfno 1 Confirm to delete shelf? [yes/no]:y
2-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 2.3 add-shelf
2.7 qry Syntax qry [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command determines changeover conditions of the active main control card.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples ZXAN#qry MP is ready to changeover!
Related Commands None
2.8 reboot Syntax reboot [rackno number1 ] [shelfno number2 ]
Function This command reboots an OLT. 2-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2 Hardware Management
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to reboot an OLT: ZXAN#reboot
Related Commands None
2.9 reset-card Syntax reset-card [rackno number1 ] [shelfno number2 ] slotno number3 [subcard number4 ]
Function This command resets a card.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
number4
Sub-card number
Range: 0–2
Mode Privileged mode: ZXAN#
Usage Guidelines None 2-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to reset the card in slot 1: ZXAN#reset-card rackno 1 shelfno 1 slotno 1
Confirm to reset card? [yes/no]:yes
Related Commands 2.8 reboot
2.10 set-pnp Syntax set-pnp name1
Function This command enables or disables Plug and Play (PnP) for a card.
Parameters Parameter
Description
Value
name1
PnP configuration switch
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples ZXAN(config)#set-pnp enable
Related Commands None
2.11 show card Syntax show card [rackno number1 ] [shelfno number2 ] [slotno number3 ] 2-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2 Hardware Management
Function This command displays information about a configured card.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about a configured card: ZXAN#show card
Rack Shelf Slot CfgType RealType Port
HardVer SoftVer
Status
------------------------------------------------------------------------------1
1
0
PRWG
1
1
10
SCXL
1
1
11
SCXL
SCXL
0
HWONLINE
0
OFFLINE
0
101100
V1.2.5
INSERVICE
Related Commands 2.1 add-card 2.4 del-card
2.12 show shelf Syntax show shelf [rackno number1 ] [shelfno number2 ]
Function This command displays information about a configured shelf.
2-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about a configured shelf: ZXAN#show shelf rackno 1 shelfno 1 Rack
Shelf
ShelfType
ConnectId
CleiCode
Serial-Number
--------------------------------------------------------------------------------
1
1
ETSI_SHELF
0
BVM5Z00GRA
13132132
Related Commands 2.3 add-shelf 2.6 del-shelf
2.13 show system-monitor Syntax show system-monitor [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command displays system monitoring information.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
2-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2 Hardware Management
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display system monitoring information about a specified card: ZXAN(config)#show system-monitor slotno 7 Loc
Cfg
Real
Watchdog Duration suspendReboot endlessDuration
Reboot
------------------------------------------------------------------------------1/1/7
GTGO
disable
5
none
75
disable
Related Commands None
2.14 swap Syntax swap [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command switches to the active main control card forcedly.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
Mode Privileged mode: ZXAN#
Usage Guidelines None
2-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to switch to the active main control card forcedly when both active and standby main control cards are online: ZXAN#swap rackno 1 shelfno 1 slotno 10 Confirm to master swap? [yes/no]:y
Related Commands None
2.15 system-monitor endless-loop duration Syntax system-monitor endless-loop duration [rackno number1 ] [shelfno number2 ] slotno number3 value number4
Function This command sets the detection threshold of an endless-loop.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
number4
Treshold of an endless-loop
Range: 1–100 (%)
Mode Configuration mode: ZXAN (config)#
Usage Guidelines A task will be regarded as an endless-loop if the CPU usage of the endless-loop exceeds the threshold value.
Examples The following example shows how to set the CPU usage threshold of slot 2: ZXAN(config)#system-monitor endless-loop duration slot 2 value 70
Related Commands 2.13 show system-monitor 2-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2 Hardware Management
2.16 system-monitor endless-loop reboot Syntax system-monitor endless-loop reboot [rackno number1 ] [shelfno number2 ] slotno number3 nam e1
Function This command sets the endless-loop reboot strategy of a task.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
name1
Configuration strategy
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the endless-loop reboot strategy of slot 2: ZXAN(config)#system-monitor endless-loop reboot slot 2 enable
Related Commands 2.13 show system-monitor
2.17 system-monitor task-suspend-reboot Syntax system-monitor task-suspend-reboot [rackno number1 ] [shelfno number2 ] slotno number3 na me1
Function This command configures the Network Element (NE) strategy when a task is suspended. 2-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
name1
Configuration strategy
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the NE strategy when a task is suspended. In this example, the cards in slot 2 are not rebooted when all the tasks are suspended. ZXAN(config)#system-monitor task-suspend-reboot slot 2 none
Related Commands 2.13 show system-monitor
2.18 system-monitor watchdog Syntax system-monitor watchdog [rackno number1 ] [shelfno number2 ] slotno number3 name1
Function This command enables or disables a watchdog.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
name1
Configuration switch
-
2-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 2 Hardware Management
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to disable the watchdog in slot 2: ZXAN(config)#system-monitor watchdog slot 2
disable
Related Commands 2.13 show system-monitor
2.19 system-monitor watchdog-duration Syntax system-monitor watchdog-duration [rackno number1 ] [shelfno number2 ] slotno number3 value number4
Function This command configures the dongle detection duration.
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
number4
Duration
Range: 1–60
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the dongle detection duration of slot 2 as 3 minutes: 2-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#system-monitor watchdog-duration slotno 2 value 3
Related Commands 2.13 show system-monitor
2-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 3
Fan Management Table of Contents fan control fixed-speed ...............................................................................................3-1 fan control temp_level ................................................................................................3-2 fan high-threshold ......................................................................................................3-2 fan speed ...................................................................................................................3-3 show fan ....................................................................................................................3-4 show temperature ......................................................................................................3-5
3.1 fan control fixed-speed Syntax fan control fixed-speed
Function This command switches the fan control mode to fixed-speed mode.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines Two modes are available for controlling the fans: temperature-based control mode.
fixed-speed mode and
Examples The following example shows how to switch the fan control mode to fixed-speed mode: ZXAN(config)#fan control fixed-speed
Related Commands 3.5 show fan
3-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
3.2 fan control temp_level Syntax fan control temp_level number1 number2 number3 number4
Function This command switches the fan control mode to temperature-based control mode.
Parameters Parameter
Description
Value
number1
Temperature level one
0°C–60°C
number2
Temperature level two
5°C–65°C
number 1 < number 2 < 60°C number3
Temperature level three
10°C–70°C
number 2 < number 3 < 65°C number4
Temperature level four
15°C–75°C
number 3 < number 4 < 70°C
Mode Configuration mode: ZXAN(config)#
Usage Guidelines Two modes are available for controlling the fans: temperature-based control mode.
fixed-speed mode and
Examples The following example shows how to switch the fan control mode to temperature-based control mode and set four temperature levels: ZXAN(config)#fan control temp_level 10 20 30 40
Related Commands 3.5 show fan
3.3 fan high-threshold Syntax fan high-threshold number1
3-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 3 Fan Management
Function This command sets a high-temperature threshold for the fan control card.
Parameters Parameter
Description
Value
number1
High-temperature threshold
60°C – 80°C
Mode Configuration mode: ZXAN(config)#
Usage Guidelines A high-temperature alarm occurs when the temperature of the fan control card exceeds this threshold.
Examples The following example shows how to set a high-temperature threshold to 60°C: ZXAN(config)#fan high-threshold 60
Related Commands 3.5 show fan
3.4 fan speed Syntax fan speed number1
Function This command sets the speed level of a fan.
Parameters Parameter
Description
Value
number1
Fan speed level
0–4
Mode Configuration mode: ZXAN(config)#
Usage Guidelines For the fan speed configuration, the speed of all the fans is configured by default. 3-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example sets the speed of all the fans to level 1. ZXAN(config)#fan speed 1
Related Commands 3.5 show fan
3.5 show fan Syntax show fan
Function This command displays the information of all fans.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the information of all fans: ZXAN#show fan FanControlType
: fixed-speed
FanSpeedLevelPercent
: 25%
HighTemperatureThreshold
: 60(Celsius scale)
35%
50%
75%
Environment Temperature
: 60 (Celsius scale)
HighTemperatureProtection
: Threshold
Upper Fanboard Status
: online
Filter Status
: normally
Fan SN
: Invalid.
Environment Card Device
: N/A.
: N/A.(Celsius scale)
RestartTime: N/A.(Minute)
All fan status:
3-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 3 Fan Management Upper Fan Tray ------------------------------------------fan
Speed
------------------------------------------1
2
2
2
3
2
Related Commands None
3.6 show temperature Syntax show temperature
Function This command displays the temperature information of the cards.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples None
Related Commands None
3-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
3-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4
Version Management Table of Contents auto-backup period.....................................................................................................4-1 download....................................................................................................................4-2 file-server ...................................................................................................................4-3 manual-backup...........................................................................................................4-4 patch active................................................................................................................4-5 patch deactive ............................................................................................................4-6 show auto-backup period configure ............................................................................4-7 show auto-backup progress........................................................................................4-7 show compound-version.............................................................................................4-8 show file-server ..........................................................................................................4-9 show patch-running ..................................................................................................4-11 show patch-saved ....................................................................................................4-11 show sync-status......................................................................................................4-12 show updatecpld ......................................................................................................4-13 show version-running ...............................................................................................4-14 show version-saved..................................................................................................4-15 swapver ...................................................................................................................4-16 sync-file....................................................................................................................4-16 update-boot..............................................................................................................4-17 update-cpld ..............................................................................................................4-18 upload ......................................................................................................................4-19
4.1 auto-backup period Syntax auto-backup period name1 time1 name2 number1 number2 interval number3 no auto-backup period name1
Function This command enables automatic backup and sets the start time and interval.
4-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Type of the automatic backup
-
function; If it is set to all, it indicates all types. time1
Start time
-
name2
Month
-
number1
Day
1–31
number2
Year
2001–2098
number3
Interval, in hours
1–8760
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to set an automatic backups of all types from 2011-1-5 15:00:00 every one hour: ZXAN(config)#auto-backup period all 15:00:00 jan 5 2011 interval 1
Related Commands 4.1 auto-backup period
4.2 download Syntax download name1 name2 [name3 ]
Function This command downloads files. The download mode can be *.* or *.suff.
4-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
Parameters Parameter
Description
Value
name1
Directory where the file is saved
-
name2
Name of the file to be
1–32 characters
downloaded name3
Download protocol
-
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to download the version files of the main control card:
ZXAN#download img scxl.mvr ftp Downloading from host(10.63.198.47)
Transfering file scxl.mvr ........................ file download successfully.
Related Commands None
4.3 file-server Syntax file-server name1 name2 server-index number1 ipaddress ip_addr1 name3 [path name4 ] user name5 password name6 no file-server name1 name2 server-index number1
Function This command configures the file servers for automatic backup and manual backup.
4-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Backup mode
-
name2
Backup file type
-
number1
Server index
1–2
ip_addr1
Server IP address
-
name3
Protocol
-
name4
Path
1–255 characters
name5
User name
1–32 characters
name6
Password
1–32 characters
Mode Configuration mode: ZXAN (config)#
Usage Guidelines A file server must be configured before an automatic or manual backup.
Examples The following example shows how to set the file server for automatically backing up all file types. In this example, the server IP address is 136.1.10.200, server index is 1, FTP is used, relative path is backup, user name is zte, and password is zte.
ZXAN(config)#file-server auto-backup all server-index 1 ipaddress 136.1.10.200 ftp path backup user z
Related Commands 4.1 auto-backup period manual-backup 4.10 show file-server
4.4 manual-backup Syntax manual-backup name1
Function This command implements manual backup.
4-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
Parameters Parameter
Description
Value
name1
Backup file type
-
Mode Privileged mode: ZXAN#
Usage Guidelines Before manual backup, set the backup server first.
Examples The following example shows how to manually backup configuration file: ZXAN#manual-backup cfg
Related Commands file-server manual-backup
4.5 patch active Syntax patch active name1
Function This command runs the specified patch. The patch is activated immediately and the status changes to activated.
Parameters Parameter
Description
Value
name1
Patch name
1–32 characters
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to activate a patch: 4-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#patch active SCXLV10T7_r2.pat Start active patch (SCXLV10T7_r2.pat) Active patch (SCXLV10T7_r2.pat)
in master board success
Active patch (SCXLV10T7_r2.pat)
in slave board success
Related Commands 4.11 show patch-running 4.12 show patch-saved
4.6 patch deactive Syntax patch deactive name1
Function This command stops the specified patch. The patch is deactivated immediately and the status changes to deactivated.
Parameters Parameter
Description
Value
name1
Patch name
1–32 characters
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to deactivate a patch: ZXAN#patch deactive SCXLV10T7_r2.pat Start deactive patch (SCXLV10T7_r2.pat) Deactive patch (SCXLV10T7_r2.pat)
in master board success
Deactive patch (SCXLV10T7_r2.pat)
in slave board success
Related Commands 4.11 show patch-running 4.12 show patch-saved 4-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
4.7 show auto-backup period configure Syntax show auto-backup period configure
Function This command displays the automatic backup configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the automatic backup configuration: ZXAN#show auto-backup period configure Type
Enable
Start-time
Interval(hours)
--------------------------------------------------cfg
enable
2011-02-12 14:46:00
1
log
enable
2011-02-12 14:46:00
1
img
enable
2011-02-12 14:46:00
1
Related Commands 4.1 auto-backup period
4.8 show auto-backup progress Syntax show auto-backup progress name1
Function This command displays the backup progress.
4-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Backup type
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the progress of automatic backup progress: ZXAN#show auto-backup progress manual FileType
: img
BackupStatus
: backup file doing
StartTime
: 2012-04-22 11:36:52
TotalFiles
: 15
SuccessFiles
: 6
CurrFileName
: SCXL.MVR
CurrFileProgress : 12
Related Commands None
4.9 show compound-version Syntax show compound-version name1
Function This command displays the compound version file information.
Parameters Parameter
Description
Value
name1
Version file name
1–32 characters
Mode Any mode except user mode 4-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
Usage Guidelines None
Examples The following example shows how to display the compound version file: ZXAN#show compound-version SCGL.FW
FileName
Format CompoundFlag BuildTime
FileLe
------------------------------------------------------------
scgl.bit.z
BIN
0
2008-11-27 16:29:50
259426
scgl.jbc.z
BIN
0
2008-11-27 16:29:50
26929
ZXAN#
Related Commands 4.2 download
4.10 show file-server Syntax show file-server name1
Function This command displays the information about a file server.
Parameters Parameter
Description
Value
name1
Server type
-
Mode Any mode except user mode
Usage Guidelines None
4-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to display the configuration of the automatic backup file server: ZXAN#show file-server auto-backup FileType
: Cfg
ServerIndex : 1 ProtocolType: Ftp Username
: target
Password
: ********
Path
: backup
FileType
: Cfg
Server-IpAddr: 10.63.196.70
ServerIndex : 2 Not configuration
FileType
: Log
ServerIndex : 1 ProtocolType: Ftp Username
: target
Password
: ********
Path
: backup
FileType
: Log
Server-IpAddr: 10.63.196.70
ServerIndex : 2 Not configuration
FileType
: Img
ServerIndex : 1 ProtocolType: Ftp Username
: target
Password
: ********
Path
: backup
FileType
: Img
Server-IpAddr: 10.63.196.70
ServerIndex : 2 Not configuration
Related Commands file-server auto-backup file-server manual-backup
4-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
4.11 show patch-running Syntax show patch-running [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command displays the operating status of the patches in the system.
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the operating status of the patches in the system: ZXAN#show patch-running
Related Commands 4.12 show patch-saved
4.12 show patch-saved Syntax show patch-saved
Function This command displays the saved patches that are available to be activated.
Parameters None 4-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the saved patches: ZXAN#show patch-saved
Related Commands 4.12 show patch-saved
4.13 show sync-status Syntax show sync-status
Function This command displays the file synchronization status.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the file synchronization status: ZXAN#show sync-status
Synchronization status of directory /flash/img/ :
Filename
Status
------------------------------------------------
4-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management scxn.bt
100
scxn.fw
100
scxn0.mvr
100
3 files sync OK, Total 3 files
Related Commands 4.18 sync-file
4.14 show updatecpld Syntax show updatecpld [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command displays the CPLD update information. In the update information, NextRebootUpdate is the update flag, YES indicates CPLD update is implemented during next reboot, NO indicates that CPLD is not implemented during next reboot, LastUpdateResult is the update status flag, SUCCESS indicates the previous reboot succeeds, FAIL indicates that the previous reboot fails.
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to sisplay the CPLD update information: 4-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference show updatecpld
Related Commands None
4.15 show version-running Syntax show version-running [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command displays the information about the versions that are running on all cards in a shelf.
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
1–22
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the information about the versions that are running on all cards in shelf 1:
ZXAN#show version-running PhyLoc
FileType
VerType
VerTag
BuildTime
VerLength
-------------------------------------------------------------------------------1/1/11
SCXL
MVR
V1.2.5
2013-01-07 11:18:49 8144910
1/1/11
SCXL
BT
V1.0.0
2012-08-01 16:04:46 448032
Related Commands 4.2 download 4-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
4.16 show version-saved Syntax show version-saved {master |slave }
Function This command displays the information about the software version files saved in a card.
Parameters Parameter
Description
Value
master
Active main control card
-
slave
Standby man control card
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the information about the version files saved in the main control card:
ZXAN#show version-saved master PhyLoc FileName
VerType VerTag
BuildTime
Length
Active
-------------------------------------------------------------------------------1/1/11 cick.fw
FW
V1.2.3T1O
2012-06-29 06:01:00 65022
1/1/11 cick.mvr
MVR
V1.2.3
2012-06-29 01:32:28 2040584
1/1/11 ctla.fw
FW
V1.2.3
2012-06-20 03:09:18 32227
1/1/11 ctla.mvr
MVR
V1.2.3
2012-06-19 19:44:25 763933
1/1/11 ctub.mvr
MVR
V1.2.3
2012-06-19 19:53:30 2276980
1/1/11 scxl0.mvr
MVR
V1.2.5
2012-12-05 23:48:18 8130900
1
1/1/11 scxl1.mvr
MVR
V1.2.5
2012-12-05 23:48:18 8130900
0
Related Commands None
4-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
4.17 swapver Syntax swapver
Function This command specifies the version file to be started. It can be used to swap between the active and standby versions.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to swap the version file: ZXAN#swapver Swap active version successfully.
Related Commands None
4.18 sync-file Syntax sync-file name1 [name2 ]
Function This command synchronizes the files between main and backup card. If the directory is not specified, all files are synchronized. This command is an asynchronous command and the synchronization status can be checked through the show sync-status command.
4-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
Parameters Parameter
Description
Value
name1
Directory name
-
name2
File name
1–32 characters
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to synchronize the cfg directory:
ZXAN#sync-file cfg
Related Commands None
4.19 update-boot Syntax update-boot [rackno number1 ] [shelfno number2 ] slotno number3
Function This command updates the boot version file and write it into bootrom.
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
Mode Privileged mode: ZXAN#
Usage Guidelines None 4-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to update the boot version file of a card:
ZXAN#update-boot slotno 7 Confirm to update boot? [yes/no]:yes
Related Commands None
4.20 update-cpld Syntax update-cpld [rackno number1 ] [shelfno number2 ] slotno number3 swtval number4
Function This command sets the update flag of cpld version file.
Parameters Parameter
Description
Value
number1
Rack number
1–3
number2
Shelf number
1–3
number3
Slot number
0–22
number4
Configuration switch
0–1
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to set the update flag of cpld version file: ZXAN#update-cpld slotno 7 swtval 1 Cpld update flag is set successfully
Related Commands None 4-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 4 Version Management
4.21 upload Syntax upload name1 name2 [{ftp |sftp |name3 [{ftp |sftp } ] } ]
Function This command uploads files through FTP or SFTP.
Parameters Parameter
Description
Value
name1
Directory where the file is saved
-
name2
Name of the file to be uploaded
1–32 characters
ftp
FTP upload protocol
-
sftp
SFTP upload protocol
-
name3
Destination file name
1–32 characters
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to upload the version files of the main control card:
ZXAN#upload img gcsa.mvr gcsa.mvr ftp Uploading file to host(10.63.198.47)
Uploading file gcsa.mvr ... [Successfully]
Related Commands None
4-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
4-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5
CPE Version Management Table of Contents action .........................................................................................................................5-1 cpe abort ....................................................................................................................5-2 cpe activate................................................................................................................5-3 cpe commit.................................................................................................................5-4 cpe task .....................................................................................................................5-5 cpe update .................................................................................................................5-5 cpe update-and-reboot ...............................................................................................5-6 cpe update-commit.....................................................................................................5-7 cpe update-reonline....................................................................................................5-8 description..................................................................................................................5-8 equipment-type ..........................................................................................................5-9 match-vertag ............................................................................................................5-10 mode........................................................................................................................5-11 parallel-limitation ......................................................................................................5-11 range........................................................................................................................5-12 service-type..............................................................................................................5-13 show cpe information ...............................................................................................5-14 show cpe summary-of ..............................................................................................5-15 show cpe update-status............................................................................................5-16 task abort .................................................................................................................5-17 task add ...................................................................................................................5-18 task delete................................................................................................................5-18 task restart ...............................................................................................................5-19 vendor-name ............................................................................................................5-19 version-file................................................................................................................5-20
5.1 action Syntax action name1
Function This command specifies a CPE version management action.
5-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
CPE version management
-
action
Mode CPE-TASK mode
Usage Guidelines One of the following actions can be specified: l l l l l
update: downloads the required version. reboot: reboots the CPE. update-and-reboot: downloads the required version, activates the version, and sets the version as default. This action completes the entire version update procedure. update-commit: activates the version and sets this version as default. update-reonline: activates the version and sets this version as default upon the next login.
Examples The following example shows how to specify a CPE version management action: ZXAN(cpe-task)#action update-and-reboot
Related Commands None
5.2 cpe abort Syntax cpe abort {type name1 |interface1 name2 }
Function This command aborts the current version management action on a CPE.
Parameters Parameter
Description
Value
name1
CPE type
-
interface1
Interface number
-
name2
CPE list
-
5-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to abort the version management action on CPE 1 that is connected to gpon-olt_1/2/1: ZXAN#cpe abort gpon-olt_1/2/1 cpe 1 ZXAN#
Related Commands None
5.3 cpe activate Syntax cpe activate {type name1 |interface1 name2 }
Function This command activates the version of a CPE.
Parameters Parameter
Description
Value
name1
CPE type
Length: 1–16 characters
interface1
Interface number
-
name2
CPE list
-
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to activate the version of CPE 1 that is connected to the interface gpon-olt_1/2/1: 5-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#cpe active gpon-olt_1/2/1 1 ZXAN#
Related Commands None
5.4 cpe commit Syntax cpe commit {type name1 |interface1 name2 }
Function This command sets the version of a CPE as the default boot version.
Parameters Parameter
Description
Value
name1
CPE type
Length: 1–16 characters
interface1
Interface number
-
name2
CPE list
-
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to set the version of CPE 1 that is connected to the interface gpon-olt_1/2/1 as the default boot version: ZXAN#cpe commit gpon-olt_1/2/1 1 ZXAN#
Related Commands None
5-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
5.5 cpe task Syntax cpe task name1
Function This command starts CPE task configuration mode.
Parameters Parameter
Description
Value
name1
Task name
Length: 1–64 characters
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
Examples The following example shows how to start CPE task configuration mode: ZXAN(config)#cpe task test1 ZXAN(cpe-task)#
Related Commands None
5.6 cpe update Syntax cpe update name1 {type name2 |interface1 name3 }
Function This command downloads a version file to a CPE.
Parameters Parameter
Description
Value
name1
CPE version file name
-
name2
CPE type
-
5-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
interface1
Interface number
-
name3
CPE list
-
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to download a version file to CPE 1 that is connected to the interface epon-olt_1/10/3: ZXAN#cpe update f460914.bin epon-olt_1/10/3 1 ZXAN#
Related Commands None
5.7 cpe update-and-reboot Syntax cpe update-and-reboot name1 {type name2 |interface1 name3 }
Function This command updates the version of a CPE and reboots the CPE.
Parameters Parameter
Description
Value
name1
CPE version file name
-
name2
CPE type
-
interface1
Interface number
-
name3
CPE list
-
Mode Privileged mode: ZXAN#
5-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
Usage Guidelines None
Examples The following example shows how to update the version of CPE 1 that is connected to the interface epon-olt_1/2/1 and reboots CPE 1: ZXAN#cpe update-and-reboot f460914.bin epon-olt_1/2/1 1 ZXAN#
Related Commands None
5.8 cpe update-commit Syntax cpe update-commit name1 {type name2 |interface1 name3 }
Function This command downloads a version to a CPE and sets the version as the default version.
Parameters Parameter
Description
Value
name1
CPE version file name
-
name2
CPE type
-
interface1
Interface number
-
name3
CPE list
-
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to download a version file to CPE 1 that is connected to the interface epon-olt_1/10/3 and set this version as the default: ZXAN#cpe update-commit f460914.bin epon-olt_1/10/3 1 ZXAN#
5-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
5.9 cpe update-reonline Syntax cpe update-reonline name1 {type name2 |interface1 name3 }
Function This command updates the version of a CPE.
Parameters Parameter
Description
Value
name1
CPE version file name
-
name2
CPE type
-
interface1
Interface number
-
name3
CPE list
-
Mode Privileged mode: ZXAN#
Usage Guidelines This command downloads a version to the specified CPE. The downloaded version is activated and set as the default version upon the next logon of the CPE.
Examples The following example shows how to update the version of CPE 1 that is connected to the interface epon-olt_1/10/3: ZXAN#cpe update-reonline f460914.bin epon-olt_1/10/3 1 ZXAN#
Related Commands None
5.10 description Syntax description name1 5-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
Function This command adds a description for a CPE task.
Parameters Parameter
Description
Value
name1
Task description
Length: 1–128 characters
Mode CPE-TASK mode
Usage Guidelines None
Examples The following example shows how to add a description for a CPE task: ZXAN(cpe-task)# description test
Related Commands None
5.11 equipment-type Syntax equipment-type name1
Function This command specifies the actual equipment type of CPE in a task.
Parameters Parameter
Description
Value
name1
Actual equipment type
-
Mode CPE-TASK mode
Usage Guidelines Enter the actual equipment type in this command, such as F460 or F420. Do not enter the configured equipment type in this command. 5-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to specify the actual equipment type: ZXAN(cpe-task)# equipment-type f460g
Related Commands None
5.12 match-vertag Syntax match-vertag name1 name2
Function This command compares the version numbers of CPEs with the benchmark version number.
Parameters Parameter
Description
Value
name1
Matching rule
-
name2
Benchmark version number
Length: 1–16 characters
Mode CPE-TASK mode
Usage Guidelines This command only compares the current vertag string of a CPE with the vertag string specified in the command. The matching rule “equal” or “unequal” is recommended depending on the CPE version used in the network. Do not use “above” or “below”.
Examples The following example shows how to compare version numbers ZXAN(cpe-task)# match-vertag unequal v1.0
Related Commands None
5-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
5.13 mode Syntax mode name1
Function This command configures the task execution mode.
Parameters Parameter
Description
Value
name1
Task mode
-
Mode CPE-TASK mode
Usage Guidelines None
Examples The following example shows how to configure the task mode: ZXAN(cpe-task)# mode both
Related Commands None
5.14 parallel-limitation Syntax parallel-limitation number1
Function This command limits the maximum number of CPEs that can be concurrently updated by a task for a card.
Parameters Parameter
Description
Value
number1
Maximum number of CPEs that
0–1024
can be concurrently updated 5-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode CPE-TASK mode
Usage Guidelines By default, a maximum of 64 CPEs can be concurrently updated for a card.
Examples The following example shows how to set the maximum number of concurrently-updated CPEs: ZXAN(cpe-task)# parallel-limitation 16
Related Commands None
5.15 range Syntax range {ne |port interface1 }
Function This command configures an effective range for a task.
Parameters Parameter
Description
Value
ne
Updates versions of all CPEs
-
connected to the NE. port
Updates versions for CPEs
-
connected to a specific port. interface1
Port number.
-
Mode CPE-TASK mode
Usage Guidelines To add multiple ports to an effective range, execute the range port command multiple times and specify one required port each time.
5-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
Examples l
To allow version updates of all CPEs connected to the NE, enter the following command: ZXAN(cpe-task)# range ne
l
To allow version updates of CPEs connected to two ports, gpon-olt_1/5/1 and gpon-olt_1/5/2, enter the following commands: ZXAN(cpe-task)# range port
gpon-olt_1/5/1
ZXAN(cpe-task)# range port
gpon-olt_1/5/2
Related Commands None
5.16 service-type Syntax service-type name1
Function This command configures a service type for a task.
Parameters Parameter
Description
Value
name1
Service type: GPON or EPON
-
Mode CPE-TASK mode
Usage Guidelines None
Examples The following example shows how to set the service type to EPON: ZXAN(cpe-task)# service-type epon
Related Commands None
5-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
5.17 show cpe information Syntax show cpe information interface1 name1
Function This command displays the information of a CPE.
Parameters Parameter
Description
Value
interface1
Interface number
-
name1
Specified CPE
-
Mode All modes except user mode
Usage Guidelines The CPE information contains the vender name, device name, and the status of the current version. To query the information of multiple CPEs at a time, set a CPE list before using this command.
Examples The following example shows how to display the current information of a CPE: ZXAN#show cpe information epon-olt_1/10/3 1 epon-onu_1/10/3: 1 CpeVendorName : ZTE CpeType
: F460
Region 1 Vertag
: V1.0.1P1T3
Commited
: Yes
Activated
: Yes
Valid
: Yes
Region 2 Vertag
:
Commited
: No
Activated
: No
Valid
: No
Related Commands None 5-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
5.18 show cpe summary-of Syntax show cpe summary-of {task name1 |manual } [{operating |fail |success |waiting } ]
Function This command displays the summary of manual updates or updates initiated by tasks.
Parameters Parameter
Description
Value
task
Shows the summary of updates
-
initiated by a specific task. name1
Task name.
-
manual
Shows the summary of manual
-
updates. operating
Locations of CPEs that are
-
being updated. Locations of CPEs that failed to
fail
-
be updated. success
Locations of CPEs that are
-
successfully updated. waiting
Locations of CPEs that wait for
-
update.
Mode All modes except user mode
Usage Guidelines This command shows the brief information of manual updates or updates initiated by a task, including the locations of CPEs that are being updated, are waiting for update, are successfully updated, and failed to be updated. To show the summary of updates initiated by command lines, which are also manual updates, use the manual option in this command.
Examples l
The following example shows how to display the summary of current manual updates: ZXAN#show cpe summary-of manual Operating: Waiting:
5-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Fail: Success: epon-onu_0/10/3: 1
l
The following example shows how to display the summary of updates initiated by task abc: ZXAN#show cpe summary-of task abc Operating: Waiting: Fail: Success: epon-onu_0/10/3: 1
Related Commands None
5.19 show cpe update-status Syntax show cpe update-status interface1 name1
Function This command displays the update information of a CPE.
Parameters Parameter
Description
Value
interface1
Interface number
-
name1
Specified CPE
-
Mode All modes except user mode
Usage Guidelines The update information contains the action being performed, update process, and failure reason. An RU list can be set for querying the update information of multiple CPEs.
Examples The following example shows how to display the update information of a CPE: ZXAN#show cpe update-status epon-olt_1/10/3 1 epon-onu_1/10/3: 1
5-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
Taskname
:
Manual Action
:
Update Status
:
In-progress Progress
: 4%
Failreason
:
None Committime
:
Related Commands None
5.20 task abort Syntax task abort
Function This command aborts a CPE task.
Parameters None
Mode CPE-TASK mode
Usage Guidelines None
Examples The following command shows how to abort a CPE task: ZXAN(cpe-task)# task abort
Related Commands None
5-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
5.21 task add Syntax task add
Function This command adds a CPE task.
Parameters None
Mode CPE-TASK mode
Usage Guidelines This command can be used to add a CPE task only after all required parameters are configured.
Examples The following example shows how to add a CPE task: ZXAN(cpe-task)# task add
Related Commands None
5.22 task delete Syntax task delete
Function This command deletes a CPE task.
Parameters None
Mode CPE-TASK mode 5-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
Usage Guidelines None
Examples The following example shows how to delete a CPE task: ZXAN(cpe-task)# task delete
Related Commands None
5.23 task restart Syntax task restart
Function This command restarts a CPE task.
Parameters None
Mode CPE-TASK mode
Usage Guidelines None
Examples The following example shows how to restarts a CPE task: ZXAN(cpe-task)# task restart
Related Commands None
5.24 vendor-name Syntax vendor-name name1 5-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command specifies the vendor name for a CPE task.
Parameters Parameter
Description
Value
name1
Vendor name
-
Mode CPE-TASK mode
Usage Guidelines To obtain the vendor name of a CPE, use the show remote-unit information command.
Examples The following example shows how to specify a vendor name for a CPE task: ZXAN(cpe-task)# vendor-name zte
Related Commands None
5.25 version-file Syntax version-file name1
Function This command specifies the name of the version file for an update task.
Parameters Parameter name1
Description
Value
Name of the required version
Length: 1–32 characters
file
Mode CPE-TASK mode
Usage Guidelines None 5-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 5 CPE Version Management
Examples The following example shows how to specify the name of the version file required for a CPE update task: ZXAN(cpe-task)# version-file f460.bin
Related Commands None
5-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
5-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6
User Management Table of Contents exit .............................................................................................................................6-1 line console absolute-timeout .....................................................................................6-2 line console idle-timeout .............................................................................................6-3 line telnet absolute-timeout.........................................................................................6-4 line telnet access-class...............................................................................................6-4 line telnet idle-timeout ................................................................................................6-5 line telnet users ..........................................................................................................6-6 login ...........................................................................................................................6-7 login-authentication-type ............................................................................................6-8 login-authorization-type ..............................................................................................6-8 logout .........................................................................................................................6-9 show history .............................................................................................................6-10 show telnet...............................................................................................................6-11 show terminal ...........................................................................................................6-12 telnet ........................................................................................................................6-12 telnet mng ................................................................................................................6-13 telnet onu .................................................................................................................6-14
6.1 exit Syntax exit
Function This command exits the device or returns to the previous mode.
Parameters None
Mode Privileged mode, user mode
6-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines In user and privileged modes, execute this command to exit the device. In other modes, execute this command to return to the previous mode.
Examples The following example shows how to exit global configuration mode and return to the privileged mode: ZXAN(config)#exit ZXAN#
Related Commands 6.11 logout 6.8 login
6.2 line console absolute-timeout Syntax line console absolute-timeout number1 no line console absolute-timeout
Function This command sets the total use time of the serial-port terminal. After the time expires, the serial-port terminal session is closed.
Parameters Parameter
Description
Value
number1
Total use time of the serial-port terminal, in
1–10000
minutes; default: 24 hours
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command can be used in combination with the line console idle-timeout command to close a serial-port terminal session after a period. To cancel the setting, use the no form of this command.
6-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6 User Management
Examples The following example shows how to set the total use time of the serial-port terminal to 30 minutes: ZXAN(config)#line console absolute-timeout 30
Related Commands 6.3 line console idle-timeout
6.3 line console idle-timeout Syntax line console idle-timeout number1 no line console idle-timeout
Function This command sets the idle time of the serial port terminal. After this command is executed, if there is no keyboard input in the specified period, the serial-port terminal session is closed.
Parameters Parameter
Description
Value
number1
Idle time of the serial port terminal, in
1–1000
minutes; default: 3 minutes
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command can be used in combination with the line console absolute-timeout command to close a serial-port terminal session after a period. To cancel the setting, use the no form of this command.
Examples The following example shows how to set the idle time of the serial port terminal to 30 minutes:. ZXAN(config)#line console idle-timeout 30
Related Commands 6.2 line console absolute-timeout 6-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
6.4 line telnet absolute-timeout Syntax line telnet absolute-timeout number1 no line telnet absolute-timeout
Function This command sets the total use time of the Telnet terminal. After the time expires, the Telnet session is closed and the terminal is disconnected. To cancel the setting, use the no form of this command.
Parameters Parameter
Description
Value
number1
Total use time of the Telnet terminal, in
1–10000
minutes; default: 24 hours
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command can be used in combination with the line telnet idle-timeout command to close a Telnet terminal session after a period.
Examples The following example shows how to total use time of the Telnet terminal to 30 minutes: ZXAN(config)#line telnet absolute-timeout 30
Related Commands 6.6 line telnet idle-timeout
6.5 line telnet access-class Syntax line telnet access-class number1 no line telnet access-class
6-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6 User Management
Function This command specifies the IP addresses that can log in to the Telnet terminal. By default, all login addresses are allowed.
Parameters Parameter
Description
Value
number1
Access address list number
1–99
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to specify the login IP addresses to access the Telnet terminal: ZXAN(config)#line telnet access-class 2
Related Commands 42.4 acl standard
6.6 line telnet idle-timeout Syntax line telnet idle-timeout number1 no line telnet idle-timeout
Function This command sets the idle time of the Telnet terminal. After this command is executed, if there is no keyboard input in the specified period, the Telnet terminal session is closed and the terminal is disconnected.
Parameters Parameter
Description
Value
number1
Idle time of the Telnet terminal, in
1–1000
minutes; default: 3 minutes
6-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command can be used in combination with the line telnet absolute-timeout command to close a Telnet terminal session after a period. To cancel the setting, use the no form of this command.
Examples The following example shows how to set the idle time of the Telnet terminal to 30 minutes: ZXAN(config)#line telnet idle-timeout 30 ZXAN(config)#
Related Commands 6.4 line telnet absolute-timeout
6.7 line telnet users Syntax line telnet users number1
Function This command sets the total number of logged-in users through Telnet.
Parameters Parameter
Description
Value
number1
Total number of logged-in users
1–16
through Telnet
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the onlie users reach the maximum number, the system prompts “Logged-on user is full” when a new user logs in. If the number needs modification, the new number must be larger than the number of current online users. Otherwise, the system prompts ”%Code 5017: Configure error, the number of online user is larger than configuration.” 6-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6 User Management
Examples The following example shows how to the total number of logged-in users through Telnet to 4: ZXAN(config)#line telnet users 4
The following example shows that the system prompts error when the total number of allowed logged-in users is set to 2 whereas the number of current online users is 4: ZXAN(config)#line telnet users 2 %Code 5017: Configure error, the number of online user is larger than configuration. ZXAN(config)#
Related Commands None
6.8 login Syntax login
Function This command changes a login user name.
Parameters None
Mode User mode
Usage Guidelines The user name and password need to be entered to log in to the NE. There is no echo on the screen when you type the password.
Examples The following example shows how to log in to the device as the user zxan: ZXAN>login Username:admin Password: ZXAN#
6-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 6.11 logout
6.9 login-authentication-type Syntax login-authentication-type {local |radius number1 |tacacs+ }
Function This command specifies the user authentication mode for Telnet login. The default is local authentication.
Parameters Parameter
Description
Value
local
Local authentication
-
radius
RADIUS authentication
-
number1
RADIUS authentication group
1–10
number tacacs+
TACACS+ authentication
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to set local authentication for Telnet login: ZXAN(config)#user-authentication-type local
Related Commands 6.15 telnet
6.10 login-authorization-type Syntax login-authorization-type {local |tacacs+ } 6-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6 User Management
Function This command specifies the user authorization type for Telnet login. The default is local authorization.
Parameters Parameter
Description
Value
local
Local authorization
-
tacacs+
TACACS+ authorization
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines For the RADIUS authentication mode, you only need to set the login-authorization-type command to radius and the authorization type needs no configuration.
Examples The following example shows how to set the authorization type to local authorization: ZXAN(config)#login-authorization-type local
Related Commands 6.15 telnet
6.11 logout Syntax logout
Function This command logs out of the NE.
Parameters None
Mode User mode
Usage Guidelines After this command is executed, the device is disconnected. 6-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to log out of the NE from the serial port: ZXAN>logout
ZXAN router's con0 is now available
Press RETURN to get started.
Related Commands 6.8 login
6.12 show history Syntax show history
Function This command displays a record of the commands that have been entered.
Parameters None
Mode Any mode
Usage Guidelines A maximum of the last ten commands can be displayed.
Examples The following example shows how to show the command history: ZXAN#show history who show ip route en
Related Commands None
6-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6 User Management
6.13 show telnet Syntax show telnet
Function This command displays the configuration information of the Telnet terminal.
Parameters None
Mode Any mode except user mode
Usage Guidelines The displayed Telnet terminal information includes: 1. 2. 3. 4.
Total user time and idle time of the login serial port terminal Total use time and idle time of the Telnet terminal Maximum number of users allowed to log in to the NE through Telnet Allowed login IP addresses, if configured
Examples The following example shows how to display the configuration information of the Telnet terminal: ZXAN(config)#show telnet line console idle-timeout 3 line console absolute-timeout 1440 line telnet idle-timeout 3 line telnet absolute-timeout 1440 line telnet access-class 1 line telnet users 16
ZXAN(config)#
Related Commands None
6-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
6.14 show terminal Syntax show terminal
Function This command displays the login terminal information.
Parameters None
Mode Any mode
Usage Guidelines The displayed terminal information includes the terminal ID, type, window size, and login restriction window.
Examples The following example shows how to display the login terminal information: ZXAN#show terminal Line 66, Location: "", Type: "ANSI" Length: 25 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:57 Editing is enabled. History is enabled, history size is 10. Telnet access-class is: EMPTY! ZXAN#
Related Commands None
6.15 telnet Syntax telnet ip_addr1 [number1 ] 6-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6 User Management
Function This command opens a Telnet connection.
Parameters Parameter
Description
Value
ip_addr1
Destination IP address
-
number1
Telnet service port number
0–65535
Mode User mode
Usage Guidelines This command can be used to log in to other devices or the Telnet server.
Examples The following example shows how to telnet to the server with the IP address 168.1.200.77: ZXAN#telnet 168.1.200.77
The following example shows how to telnet to the server whose IP address is 100.100.100.155 and the port number is 23: ZXAN#telnet 100.100.100.155 23 Trying 100.100.100.155 ...Open
Attention: Telnet Escape character is ctrl+']'
Related Commands None
6.16 telnet mng Syntax telnet mng ip_addr1
Function This command enables a telnet connection from a management interface.
6-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
Destination IP address, in
-
dotted decimal notation
Mode User mode
Usage Guidelines This command is used to log in to other devices or the Telnet server from a management port.
Examples The following example shows how to telnet to the server 168.1.200.77 from the management interface: ZXAN#telnet mng 168.1.200.77 ZXAN#
Related Commands None
6.17 telnet onu Syntax telnet onu interface1
Function This command manages the ONU remotely on the OLT.
Parameters Parameter interface1
Description
Value
ONU interface name, in the format
-
of epon-onu_shelf/slot/olt:onu or gpon-onu_shelf/slot/olt:onu, where shelf is the shelf No., slot is the slot No., olt is the interface number, and onu is the ONU interface number
6-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 6 User Management
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to telnet to an ONU: ZXAN#telnet onu gpon-onu_1/3/4:1
Related Commands None
6-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
6-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 7
File System Management Table of Contents auto-write ...................................................................................................................7-1 copy ...........................................................................................................................7-2 delete .........................................................................................................................7-3 dir...............................................................................................................................7-4 show auto-write ..........................................................................................................7-5 write ...........................................................................................................................7-6 write flash...................................................................................................................7-7
7.1 auto-write Syntax auto-write {name1 |time1 {everyday |name2 number1 number2 } }
Function This command configures automatic saving of configuration files.
Parameters Parameter
Description
Value
name1
Enables or disables
enable or disable
the automatic saving of configuration files. time1
Time when configuration files are automatically saved. Format: hour:minute:second.
everyday
Saves configuration files
-
automatically every day. name2
Month.
-
number1
Day.
1–31
number2
Year.
2001–2098
Mode Configuration mode: ZXAN(config)# 7-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines Either of the following automatic saving modes can be configured: l l
Saving configuration files automatically at a particular time everyday. Saving configuration files automatically at a particular time on a specific day.
If both modes are configured, the latter configured mode is effective. To show the effective automatic saving mode, use the show auto-write command.
Examples l
The following example shows how to enable the automatic saving of configuration files: ZXAN(config)#auto-write enable
l
The following example shows how to set a schedule for automatic saving of configuration files that starts the saving at 12:00:00 everyday: ZXAN(config)#auto-write 12:00:00 everyday ZXAN(config)#
l
The following example shows how to set a schedule for automatic saving of configuration files that starts the saving at 12:00:00 on May. 1, 2012: ZXAN(config)#auto-write 12:00:00 may 1 2012 ZXAN(config)#
l
The following example shows how to set a schedule for automatic saving of configuration files that starts the saving 10 hours later after the system configuration changes: ZXAN(config)#auto-write delay 10
Related Commands 7.5 show auto-write
7.2 copy Syntax copy {master |slave } name1 name2 {master |slave } name3 name4
Function This command copies a file in a directory on an active or standby card and pastes the file in the same or another directory on this card.
7-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 7 File System Management
Parameters Parameter
Description
Value
master
Active main control card
-
slave
Standby main control card
-
name1
Source directory
-
name2
Name of the file to be copied
-
name3
Destination directory
-
name4
Name of the pasted file
-
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example copies starup.dat in the cfg directory on the slave main control card and pastes the file in the cfg directory with a new name (startrun.bak): ZXAN#copy slave cfg startrun.dat slave cfg startrun.bak
Start copying file
………… file copied successfully.
Related Commands None
7.3 delete Syntax delete name1 name2
Function This command deletes one or multiple files.
7-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Directory name
-
name2
File name
-
Mode Privilege mode: ZXAN#
Usage Guidelines This command deletes the same files on the standby card at the same time. The wildcard (*) can be used in this command to delete all suff files (*.suff) or all files (*.*) in a directory.
Examples The following example shows how to delete the files in the cfg directory: ZXAN#delete cfg *.*
Start deleting file
deleting startrun.dat.. [Successfully]
deleting startrun.sav [Successfully]
deleting file startrun.dat on backup board... [Successfully]
Related Commands None
7.4 dir Syntax dir name1
Function This command displays a list of files in a directory.
7-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 7 File System Management
Parameters Parameter
Description
Value
name1
Directory name
-
Mode Privileged mode: ZXAN#
Usage Guidelines If a standby card is configured, this command also displays the file information on the standby card.
Examples The following example shows how to display a list of files in the cfg directory: ZXAN#dir cfg
Directory of /flash/cfg/
attribute
size
date
time
name
-rwx
9281
MAR-11-2010
14:25:32
startrun.sav
-rwx
9281
MAR-11-2010
14:25:32
startrun.dat
-rwx
9732
JAN-24-2001
23:09:42
172.17.104.200
-rwx
4096
MAR-08-2010
13:29:24
nvram.dat
Current directory 4 files total
Total disk size: 258621440 bytes (203030528 bytes free)
Related Commands None
7.5 show auto-write Syntax show auto-write
Function This command displays the configuration of the automatic saving function.
Parameters None 7-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines This command displays the configuration of the automatic saving function, such as whether the automatic saving of configuration files is enabled, and the automatic saving schedule.
Examples The following example shows how to display the configuration of the automatic saving function: ZXAN(config)#show auto-write auto-write enable auto-write 12:00:00
everyday
ZXAN(config)#
Related Commands 7.1 auto-write
7.6 write Syntax write
Function This command saves the configuration of the equipment.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines No “set” operation is allowed before the “write” operation is completed.
Examples l
The following example shows how to save the configuration of the equipment: ZXAN#write Building configuration... ..[OK]
7-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 7 File System Management ZXAN#
l
The following example shows that an error message is displayed when a user attempts to modify the host name of the equipment before the “write” operation is completed: ZXAN(config)#hostname aaa %Code 41006: This command is forbidden, because command "write" is executing. ZXAN(config)#
Related Commands 7.7 write flash
7.7 write flash Syntax write flash
Function This command writes the equipment configuration to the flash memory.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines The configuration in the flash memory takes effect upon the next startup of the equipment.
Examples The following example shows how to write the equipment configuration to the flash memory: ZXAN#write flash Building configuration... ..[OK] ZXAN#
Related Commands 7.6 write
7-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
7-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 8
SuperVLAN Commands Table of Contents arp-broadcast .............................................................................................................8-1 inter-subvlan-routing...................................................................................................8-2 interface .....................................................................................................................8-3 ip supervlan pool ........................................................................................................8-4 ip-pool-filter ................................................................................................................8-5 show supervlan ..........................................................................................................8-6 show supervlan ip-pool...............................................................................................8-6 subvlan ......................................................................................................................8-7 supervlan ...................................................................................................................8-8 supervlan inter-subvlan-routing ..................................................................................8-9
8.1 arp-broadcast Syntax arp-broadcast {enable |disable }
Function This command enables or disables ARP broadcast from the super VLAN to all its sub-VLANs.
Parameters Parameter enable
Description
Value
Enables the ARP broadcast function
-
on sub-VLANs. disable
Disables the ARP broadcast function
-
on sub-VLANs.
Mode Super VLAN interface mode
8-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines This command is to prevent the broadcast storm from decreasing the system processing efficiency, and provide a configurable ARP broadcast function for users. The configuration can be checked through the show running-config command on the super VLAN interface. By default, ARP broadcast is disabled on all sub-VLANs/physical interfaces.
Examples The following example shows how to enable ARP broadcast from super VLAN 1 to all its sub-VLAN:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#arp-broadcast enable
Related Commands None
8.2 inter-subvlan-routing Syntax inter-subvlan-routing {enable |disable }
Function This command enables or disables routing between sub-VLANs.
Parameters Parameter
Description
Value
enable
Enables routing between
-
sub-VLANs disable
Disables routing between
-
sub-VLANs
Mode Super VLAN interface mode
Usage Guidelines The configuration can be checked through the show running-config command on the super VLAN interface. By default, routing between sub-VLANs are disabled. 8-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 8 SuperVLAN Commands
Examples The following example shows how to enable the routing between sub-VLANs on super VLAN 1:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#inter-subvlan-routing enable
Related Commands None
8.3 interface Syntax interface {byname name1 |interface1 } no interface {byname name1 |interface1 }
Function This command enters an interface mode, for example, uplink interface, PON interface, or VLAN. It can also create a smart group, which is a link aggregation group, and enter the smartgroup interface configuration mode.
Parameters Parameter
Description
Value
name1
Interface name
-
interface1
Interface bias
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines In the smartgroup mode, use the no form of this command to delete the configured link aggregation group.
Examples The following example shows how to enter the uplink interface mode: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#
The following example shows how to create a smart group: 8-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#interface smartgroup1 ZXAN(config-if)#
Related Commands None
8.4 ip supervlan pool Syntax ip supervlan pool ip_addr1 ip_addr2 no ip supervlan pool ip_addr1 ip_addr2
Function This command binds a serial of IP addresses to a VLAN interface.
Parameters Parameter ip_addr1
Description
Value
Start IP address, in dotted
-
decimal notation ip_addr2
End IP address, in dotted
-
decimal notation
Mode VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to bind the IP addresses from 192.168.1.1 to 192.168.1.128 to VLAN 4:
ZXAN(config)#vlan 4
ZXAN(config-vlan)#ip supervlan pool 192.168.1.1 192.168.1.128
Related Commands 8.7 show supervlan ip-pool 8-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 8 SuperVLAN Commands
8.5 ip-pool-filter Syntax ip-pool-filter {enable |disable }
Function This command enables or disables the super VLAN IP pool filtering function.
Parameters Parameter
Description
Value
enable
Enables the super VLAN IP pool
-
filtering function disable
Disables the super VLAN IP
-
pool filtering function
Mode supervlan interface mode
Usage Guidelines After the super VLAN IP pool address segment is configured, if the received packet does not comply with the legal address segment, the packet will be discarded. The configuration can be check through the show running-config command on the super VLAN interface. By default, the super VLAN IP pool filtering function is enabled.
Examples The following example shows how to enable the super VLAN IP pool filtering function on super VLAN 1:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#ip-pool-filter enable
Related Commands 8.4 ip supervlan pool 8.6 show supervlan
8-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
8.6 show supervlan Syntax show supervlan [number1 ]
Function This command displays the super VLAN configurations.
Parameters Parameter
Description
Value
number1
Super VLAN ID
1–255
Mode Any mode except user mode
Usage Guidelines If the super VLAN ID is not specified, the configurations of all super VLAN interfaces are displayed.
Examples The following example shows how to display the configurations of all super VLAN interfaces: ZXAN#show supervlan SuperVLAN Inter-subvlan-routing Arp-broadcast Ip-pool-filter SubVLAN -------------------------------------------------------------------1 enable disable disable 4,10
Related Commands 8.9 supervlan 8.10 supervlan inter-subvlan-routing
8.7 show supervlan ip-pool Syntax show supervlan ip-pool
Function This command displays all IP pools bound to the VLAN. 8-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 8 SuperVLAN Commands
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to displays all IP pools bound to the VLAN: ZXAN#show supervlan ip-pool Session-no Address-begin Address-end SubvlanId SupervlanNum 1 192.168.1.1 192.168.1.128 4 0
The parameters are described as follows: Session-no: session number Address-begin IP POOL: start IP address Address-end IP POOL: end IP address SubvlanId: sub-VLAN ID SupervlanNum: Super VLAN ID
Related Commands 8.4 ip supervlan pool
8.8 subvlan Syntax subvlan WORD1 no subvlan WORD1
Function This command binds the VLANs to a specified super VLAN in batches.
Parameters Parameter
Description
Value
WORD1
VLAN ID or VLAN ID range
-
8-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Super VLAN interface mode
Usage Guidelines To cancel the binding, use the no form of this command. One VLAN belongs to one super VLAN. One super VLAN can bind a maximum of 4094 sub-VLANs. The VLAN to be bound cannot have a layer-3 interface.
Examples The following example shows how to bind VLANs 2-100 to super VLAN 1:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#subvlan 2-100
Related Commands 8.6 show supervlan
8.9 supervlan Syntax supervlan number1 no supervlan
Function This command binds a VLAN interface to a specified super VLAN.
Parameters Parameter
Description
Value
number1
Super VLAN ID
1–255
Mode VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines To delete the binding, use the no form of this command. 8-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 8 SuperVLAN Commands
One VLAN belongs to one super VLAN. One super VLAN can bind a maximum of 4094 sub-VLANs. The super VLAN cannot have a layer-3 interface.
Examples The following example shows how to bind VLAN 3 to super VLAN 1:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#supervlan 1
Related Commands None
8.10 supervlan inter-subvlan-routing Syntax supervlan inter-subvlan-routing {enable |disable }
Function This command enables or disables routing between sub-VLANs.
Parameters Parameter
Description
Value
enable
Enables routing between
-
sub-VLANs disable
Disables routing between
-
sub-VLANs
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The configuration can be checked through the show running-config command on the super VLAN interface. By default, routing between sub-VLANs is enabled.
Examples The following example shows how to enable routing between sub-VLANs: ZXAN(config)#supervlan inter-subvlan-routing enable
8-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 8.6 show supervlan
8-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 9
FTP/TFTP Server Commands Table of Contents ip ftp password ...........................................................................................................9-1 ip ftp username ..........................................................................................................9-2
9.1 ip ftp password Syntax ip ftp password name1 no ip ftp password
Function This command sets the default password used by an FTP client to access the FTP server.
Parameters Parameter
Description
Value
name1
Default FTP password
3–16 characters
Mode Configuration mode: ZXAN(config)#
Usage Guidelines The password is case sensitive.
Examples The following example shows how to set the default FTP password to zte: ZXAN(config)#ip ftp password zte ZXAN(config)#
Related Commands 9.2 ip ftp username
9-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
9.2 ip ftp username Syntax ip ftp username name1 no ip ftp username
Function This command sets the default user name used by an FTP client to access the FTP server.
Parameters Parameter
Description
Value
name1
Default user name
1–16 characters
Mode Configuration mode: ZXAN(config)#
Usage Guidelines The characters allowed in user name are non-case sensitive letters, digits, and underscore.
Examples The following example shows how to set the default FTP user name to zte: ZXAN(config)#ip ftp username zte ZXAN(config)#
Related Commands 9.1 ip ftp password
9-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10
Alarm Management Table of Contents alarm........................................................................................................................10-1 alarm alarm-profile ...................................................................................................10-2 alarm confirm ...........................................................................................................10-3 alarm level-change ...................................................................................................10-4 alarm trap-confirm ....................................................................................................10-4 alarm-index ..............................................................................................................10-5 alarm-profile-apply....................................................................................................10-6 clear alarm counter...................................................................................................10-8 clear alarm pool........................................................................................................10-8 nms-hello-trap ..........................................................................................................10-9 nms-hello-trap interval ............................................................................................10-10 show alarm configure ............................................................................................. 10-11 show alarm counter ................................................................................................10-12 show alarm pool .....................................................................................................10-13 show alarm profile ..................................................................................................10-14 show alarm-level ....................................................................................................10-16
10.1 alarm Syntax alarm {enable |disable }
Function This command enables or disables alarm management.
Parameters Parameter
Description
Value
enable
Enable the alarm function.
-
disable
Disable the alarm function.
-
Mode Configuration mode: ZXAN(config)#
10-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines By default, alarm management is disabled.
Examples l
The following example shows how to enable the alarm function: ZXAN(config)#alarm enable
l
The following example shows how to disable the alarm function: ZXAN(config)#alarm disable
Related Commands 10.12 show alarm configure
10.2 alarm alarm-profile Syntax alarm alarm-profile name1 no alarm alarm-profile name1
Function This command creates an alarm profile used for alarm suppression and starts the alarm profile configuration mode.
Parameters Parameter
Description
Value
name1
Name of the alarm profile to be
-
created.
Mode Configuration mode: ZXAN(config)#
Usage Guidelines Use this command to exit global configuration mode and enter alarm profile configuration mode, and then configure the created alarm profile in alarm profile configuration mode.
Examples The following example shows how to create an alarm profile with the name “test”: ZXAN(config)#alarm alarm-profile test
10-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10 Alarm Management
Related Commands 10.6 alarm-index 10.7 alarm-profile-apply 10.15 show alarm profile
10.3 alarm confirm Syntax alarm confirm no alarm confirm
Function This command enables alarm confirmation.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
By default, alarm confirmation is enabled. When alarm confirmation is enabled, a confirmation is required for each reported alarm (SNMP trap). After reporting an SNMP trap, the NE waits for a confirmation response from the NMS. If no confirmation is received, the NE retransmits the trap. To set the number of retransmission times, use the alarm trap-confirm retry command.
Examples The following example shows how to enable alarm confirmation: ZXAN(config)#alarm confirm
Related Commands 10.5 alarm trap-confirm 10.12 show alarm configure
10-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
10.4 alarm level-change Syntax alarm level-change number1 name1
Function This command modifies the alarm level corresponding to an alarm code.
Parameters Parameter
Description
Value
number1
Alarm code
0–65534
name1
New severity level
-
Mode Configuration mode: ZXAN(config)#
Usage Guidelines This command does not influence previously generated alarms and logs. After the alarm level modification, alarms are generated with the new levels.
Examples The following example shows how to modify the alarm level of the alarm code 33065 to major: ZXAN(config)#alarm level-change 33065 MAJOR ZXAN(config)#show alarm-level 33065 AlarmCode
default-level
current-level
33065
critical
major
Related Commands 10.16 show alarm-level
10.5 alarm trap-confirm Syntax alarm trap-confirm retry number1 timeout number2 no alarm trap-confirm
10-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10 Alarm Management
Function This command sets the maximum number of trap retransmissions and the retransmission interval for alarm confirmation.
Parameters Parameter
Description
Value
number1
Maximum number of
1–3
retransmissions number2
Retransmission interval
1–60 seconds
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
By default, trap retransmission is not enabled. Alarm confirmation must be enabled before using this command. To enable alarm confirmation, use the alarm confirm command.
Examples The following example shows how to set the maximum number of trap retransmissions to 3 and the retransmission interval to 20 seconds: ZXAN(config)# trap-confirm retry 3 timeout 20
Related Commands 10.3 alarm confirm 10.12 show alarm configure
10.6 alarm-index Syntax alarm-index number1 code number2 status name1 no alarm-index number1
Function This command adds an alarm suppression rule in an alarm profile.
10-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Rule index
1–32
number2
Codes of alarms to be
1–65535
suppressed name1
Suppression mode: permanent
-
suppression or inverse suppression
Mode ALARM_PROFILE configuration mode
Usage Guidelines l
l l l
A permanent suppression rule suppress the transmission of particular alarms permanently; while an inverse suppression rule suppresses particular alarms but disables the suppression when these alarms are cleared. A rule can be added to suppress alarms with a specific code or all alarms with any code. Multiple rules can be added in an alarm profile. An alarm code cannot be involved in different rules. If a rule involves all alarm codes, other rules involving specific alarm codes are invalid.
Examples l
The following example shows how to add a permanent suppression rule for all alarms: ZXAN(config-almprofile)#alarm-index 1 code 65535 status NALARM
l
The following example shows how to add an inverse suppression rule for alarms with the alarm code 33037: ZXAN(config-almprofile)#alarm-index 2 code 33065 status NALARM-QI
Related Commands 10.2 alarm alarm-profile 10.7 alarm-profile-apply 10.15 show alarm profile
10.7 alarm-profile-apply Syntax alarm-profile-apply {system |shelf number1 [slot number2 ] |port interface1 |onu interface2 } 10-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10 Alarm Management
no alarm-profile-apply {system |shelf number1 [slot number2 ] |port interface1 |onu interface2 }
Function This command configures the location where an alarm profile is applied, or the place where the alarm profile works.
Parameters Parameter
Description
Value
system
Applies an alarm profile to the
-
entire system. number1
Applies an alarm profile to alarm
1–1
sources in shelf 0. number2
Applies an alarm profile to alarm
0–101
sources in a specific slot. interface1
Applies an alarm profile to alarm
-
sources at a specific OLT port. interface2
Applies an alarm profile to alarm
-
sources in a specific ONU.
Mode ALARM_PROFILE configuration mode
Usage Guidelines An alarm profile can be applied to alarm sources at a specific location for suppressing all alarms or particular alarms occurring at this location. The location can be the entire system, a shelf, a slot, a port, or an ONU. This command is used after an alarm suppression rule is configured.
Examples l
The following example shows how to apply the alarm profile to the entire system: ZXAN(config-almprofile)#alarm-index 1 code 65535 status NALARM ZXAN(config-almprofile)#alarm-profile-apply system
l
The following example shows how to apply the alarm profile to slot 3: ZXAN(config-almprofile)#alarm-index 1 code 65535 status NALARM ZXAN(config-almprofile)#alarm-profile-apply shelf 0 slot 3
l
The following example shows how to apply the alarm profile to all alarms with alarm code 33065 in the entire system: 10-7
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-almprofile)#alarm-index 1 code 33065 status NALARM ZXAN(config-almprofile)#alarm-profile-apply system
Related Commands 10.2 alarm alarm-profile 10.6 alarm-index 10.15 show alarm profile
10.8 clear alarm counter Syntax clear alarm counter
Function This command clears alarm statistics.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear alarm statistics: ZXAN#clear alarm counter
Related Commands 10.13 show alarm counter
10.9 clear alarm pool Syntax clear alarm pool [{alarmCode number1 |alarmID number2 } ] 10-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10 Alarm Management
Function This command clears alarms in the alarm pool.
Parameters Parameter
Description
Value
number1
Alarm code.
1–65535
Alarms with this alarm code are to be cleared. number2
Alarm event ID.
1–4294967295
Alarms with this alarm event ID are to be cleared.
Mode Privileged mode: ZXAN#
Usage Guidelines This command can be used to remove all alarms, alarms with a specific alarm code, or alarms with a specific alarm event ID from the alarm pool.
Examples l
The following example shows how to clear all alarms in the alarm pool: ZXAN#clear alarm pool
l
The following example shows how to clear alarms with the alarm code 33065: ZXAN#clear alarm pool alarmCode 33065
l
The following example shows how to clear alarms with the alarm event ID 5: ZXAN#clear alarm pool alarmID 5
Related Commands 10.14 show alarm pool
10.10 nms-hello-trap Syntax nms-hello-trap {enable |disable }
Function This command enables or disables the function to send heartbeat traps to the NMS. 10-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
enable
Enables the function to send
-
heartbeat traps to the NMS. disable
Disables the function to send
-
heartbeat traps to the NMS.
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
Examples The following example shows how to enable the function to send heartbeat traps to the NMS: ZXAN(config)#nms-hello-trap enable
Related Commands 10.11 nms-hello-trap interval
10.11 nms-hello-trap interval Syntax nms-hello-trap interval number1 no nms-hello-trap interval
Function This command sets an interval to send heartbeat traps to the NMS.
Parameters Parameter
Description
Value
number1
Interval to send heartbeat traps
1–600 seconds
to the NMS
Mode Configuration mode: ZXAN(config)# 10-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10 Alarm Management
Usage Guidelines Set the trap interval after enabling the function to send of heartbeat traps.
Examples The following example shows how to enable the function to send heartbeat traps to the NMS and set the trap interval to 600 seconds: ZXAN(config)#nms-hello-trap enable ZXAN(config)#nms-hello-trap interval 600
Related Commands 10.10 nms-hello-trap
10.12 show alarm configure Syntax show alarm configure
Function This command displays the alarm management configuration.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the configuration of alarm management functions: ZXAN(config)#show alarm configure alarm enable alarm confirm nms-hello-trap disable nms-hello-trap interval 120 alarm trap-confirm retry 3 timeout 30
ZXAN(config)#
10-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
10.13 show alarm counter Syntax show alarm counter
Function This command displays alarm statistics.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display alarm statistics: ZXAN#show alarm counter
alarmReport:
alarmConfirm:
0
alarmInvalidMsgType:
0
alarmInvalidReportType: 0
alarmInvalidLevel:
0
alarmInvaideMibOid:
0
alarmInvalidAlarmId:
0
alarmInvalidRecNum:
0
alarmLogFuncNull:
0
alarmIdNotExist:
0
alarmRecordExist:
3
alarmPoolFull:
0
alarmPoolOverflow:
0
alarmPoolInsOk:
5
alarmGetRegIndexFail :
0
alarmSendToRosSuc:
64
alarmSendTrapSuc:
5
alarmNullPointer:
64
0
10-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10 Alarm Management
alarmSendToRosFail:
0
alarmSendTrapFail:
0
alarmGetAlarmRegSuc:
64
alarmGetStrFuncSuc:
0
alarmGetAlarmRegFail:
0
alarmGetStrFuncFail:
900
alarmAddToPoolSuc:
5
alarmInformSendTrapSuc:
56
alarmAddToPoolFail:
0
alarmInformSendTrapFail: 0
alarmGetLogFuncSuc:
120
alarmGetByAlarmIdOk:
0
alarmGetLogFuncFail:
0
alarmGetByAlarmIdFail:
0
alarmRestoreDelSuc:
3
alarmBadTypeFromRos:
48
alarmRestoreDelFail:
3
alarmRecvFromRos:
5
alarmInformRecvFromRos: 56
alarmRestoreRecvFromRos: 3
alarmRecordUpdate:
56
alarmGetRegInfoFail:
3
alarmCreateReqFail:
0
alramBindValueFail:
0
alarmEncodeReqFail:
0
alarmAllocMemFail:
0
alarmUnsupportBindType: 0
alarmUnsupportMibVar:
0
alarmRecvDup:
alarmInformNotSendTrap:
0
0
Related Commands 10.8 clear alarm counter
10.14 show alarm pool Syntax show alarm pool [{alarmId number1 |summary |alarmCode number2 } ]
Function This command displays the information of alarms in the alarm pool.
10-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Shows the information of an
1–4294967295
alarm with a specific alarm ID. Shows the current count of
summary
-
alarms in the alarm pool. Shows the information of an
number2
1–65535
alarm with a specific alarm code.
Mode All modes except user mode
Usage Guidelines This command is used to query the information of current alarms in the system such as an alarm with a specific alarm code, an alarm with a specific alarm ID, and all alarms in the system.
Examples The following example shows how to display the information of alarms in the alarm pool: ZXAN#show alarm pool alarmCode 33037 ZXAN#show alarm pool alarmId 79 ZXAN#show alarm pool Alarm records: Alarm ID
: 79
Alarm Code
: 33037
Alarm Level : 0 Alarm Time
: 10:18:25 03/15/2010 UTC
AlarmDesInfo: Sysctl alarm : board offline in shelf 0 slot 3
Related Commands 10.9 clear alarm pool
10.15 show alarm profile Syntax show alarm profile [name1 ]
10-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 10 Alarm Management
Function This command displays a list of all available alarm profiles or the configuration of a specific alarm profile.
Parameters Parameter
Description
Value
name1
Name of the alarm profile to be
-
displayed.
Mode All modes except user mode
Usage Guidelines None
Examples l
The following example shows how to display a list of all available alarm profiles in the system: ZXAN(config-almprofile)#show alarm profile alarm alarm-profile 11 alarm alarm-profile test
l
The following example shows how to display the configuration of a specific alarm profile: ZXAN(config-almprofile)#show alarm profile test All the alarm profile item(s): alarm-index 1 code 65535 status NALARM
All the alarm profile apply item(s): alarm-profile-apply system
Related Commands 10.2 alarm alarm-profile 10.6 alarm-index 10.7 alarm-profile-apply
10-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
10.16 show alarm-level Syntax show alarm-level number1
Function This command displays the settings of alarm severity level corresponding to a specific alarm code.
Parameters Parameter
Description
Value
number1
Alarm code for which the
0–65534
severity level settings are to be displayed.
Mode All modes except user mode
Usage Guidelines This command is used to query the severity level settings corresponding to a specific alarm code, including the default severity level and the current severity level.
Examples The following example shows how to display the severity level settings corresponding to the alarm code 33065: ZXAN(config-almprofile)#show alarm-level 33065 AlarmCode
default-level
current-level
33065
critical
critical
Related Commands 10.4 alarm level-change
10-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11
Debugging Commands Table of Contents debug all ..................................................................................................................11-3 debug arp.................................................................................................................11-3 debug dhcp-option82 all ...........................................................................................11-4 debug dhcp-option82 data........................................................................................11-5 debug dhcp-option82 error .......................................................................................11-6 debug dhcp-option82 event ......................................................................................11-6 debug ip ...................................................................................................................11-7 debug ip destination .................................................................................................11-8 debug ip dhcp...........................................................................................................11-9 debug ip icmp...........................................................................................................11-9 debug ip icmp detail ............................................................................................... 11-10 debug ip interface................................................................................................... 11-11 debug ip ospf adj.................................................................................................... 11-12 debug ip ospf all ..................................................................................................... 11-13 debug ip ospf database-timer ................................................................................. 11-13 debug ip ospf events .............................................................................................. 11-14 debug ip ospf flood ................................................................................................. 11-15 debug ip ospf lsa-generation .................................................................................. 11-16 debug ip ospf nsf.................................................................................................... 11-17 debug ip ospf packet .............................................................................................. 11-17 debug ip ospf retransmission.................................................................................. 11-18 debug ip ospf spf.................................................................................................... 11-19 debug ip ospf spf external ...................................................................................... 11-20 debug ip ospf spf inter ............................................................................................ 11-21 debug ip ospf spf intra ............................................................................................ 11-21 debug ip ospf tree .................................................................................................. 11-22 debug ip protocol.................................................................................................... 11-23 debug ip rip ............................................................................................................ 11-24 debug ip rip all........................................................................................................ 11-24 debug ip rip database............................................................................................. 11-25 debug ip rip events ................................................................................................. 11-26 debug ip rip trigger ................................................................................................. 11-26 debug ip source...................................................................................................... 11-27 debug ip tcp all ....................................................................................................... 11-28 debug ip tcp driver.................................................................................................. 11-29 debug ip tcp driver-pak ........................................................................................... 11-30 debug ip tcp packet ................................................................................................ 11-31 11-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
debug ip tcp transactions........................................................................................ 11-31 debug ip udp .......................................................................................................... 11-32 debug isis adj-packets ............................................................................................ 11-33 debug isis all .......................................................................................................... 11-34 debug isis nsf-event ............................................................................................... 11-35 debug isis snp-packets ........................................................................................... 11-35 debug isis spf-events.............................................................................................. 11-36 debug isis update-packets...................................................................................... 11-37 debug lacp all ......................................................................................................... 11-37 debug lacp fsm....................................................................................................... 11-38 debug lacp packet .................................................................................................. 11-39 debug mstp agreement........................................................................................... 11-40 debug mstp all........................................................................................................ 11-41 debug mstp bpdu-rx ............................................................................................... 11-41 debug mstp bpdu-tx................................................................................................ 11-42 debug mstp errors .................................................................................................. 11-43 debug mstp flush.................................................................................................... 11-44 debug mstp info...................................................................................................... 11-44 debug mstp migration............................................................................................. 11-45 debug mstp proposals ............................................................................................ 11-46 debug mstp roles.................................................................................................... 11-47 debug mstp state.................................................................................................... 11-47 debug mstp tc......................................................................................................... 11-48 debug ndp-lio all..................................................................................................... 11-49 debug ndp-lio data.................................................................................................. 11-50 debug ndp-lio error ................................................................................................. 11-51 debug ndp-lio event................................................................................................ 11-51 debug port-location all ............................................................................................ 11-52 debug port-location data......................................................................................... 11-53 debug port-location error ........................................................................................ 11-54 debug port-location event ....................................................................................... 11-54 debug pppoe-plus all .............................................................................................. 11-55 debug pppoe-plus data........................................................................................... 11-56 debug pppoe-plus error .......................................................................................... 11-57 debug pppoe-plus event ......................................................................................... 11-57 debug radius all...................................................................................................... 11-58 debug radius authentication data............................................................................ 11-59 debug radius authentication error ........................................................................... 11-60 debug radius authentication event .......................................................................... 11-60 debug radius authentication packet ........................................................................ 11-61 debug radius exception .......................................................................................... 11-62 debug radius user .................................................................................................. 11-63 terminal monitor ..................................................................................................... 11-64
11-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.1 debug all Syntax debug all no debug all
Function This command enables all the debug functions.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines By default, all debug commands are invalid. If the debug all function is enabled, the system is busy with outputting of debug information. This may affect the network performance. Therefore, in normal cases, do not enable the debug all function. To disable all the debug functions, use the no debug all command.
Examples The following example enables all the debug function: ZXAN#debug all All possible debugging has been turned on
Related Commands All debug commands 11.80 terminal monitor
11.2 debug arp Syntax debug arp no debug arp 11-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables the debug function of the Address Resolution Protocol (ARP).
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function of ARP, use the no debug arp command.
Examples The following example shows how to enable the debug function of the ARP: ZXAN#debug arp ARP debugging is on
Related Commands 11.80 terminal monitor
11.3 debug dhcp-option82 all Syntax debug dhcp-option82 all no debug dhcp-option82 all
Function This command displays all debug information of dhcp-option82.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug dhcp-option82 all command. 11-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Examples ZXAN#debug dhcp-option82 all
Related Commands 11.4 debug dhcp-option82 data 11.5 debug dhcp-option82 error 11.6 debug dhcp-option82 event
11.4 debug dhcp-option82 data Syntax debug dhcp-option82 data name1 [{gport number1 |pvc number2 } ] no debug dhcp-option82 data name1 [{gport number1 |pvc number2 } ]
Function This command displays the debug information related to dhcp-option82.
Parameters Parameter
Description
Value
name1
Interface name
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug dhcp-option82 datacommand.
Examples ZXAN#debug dhcp-option82 data epon-olt_0/6/1
Related Commands 11.3 debug dhcp-option82 all 11.5 debug dhcp-option82 error 11.6 debug dhcp-option82 event 11-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
11.5 debug dhcp-option82 error Syntax debug dhcp-option82 error name1 [{gport number1 |pvc number2 } ] no debug dhcp-option82 error name1 [{gport number1 |pvc number2 } ]
Function This command displays the information about the dhcp-option82 receiving error packets.
Parameters Parameter
Description
Value
name1
Interface name
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug dhcp-option82 error command.
Examples ZXAN#debug dhcp-option82 error epon-olt_1/6/1
Related Commands 11.3 debug dhcp-option82 all 11.4 debug dhcp-option82 data 11.6 debug dhcp-option82 event
11.6 debug dhcp-option82 event Syntax debug dhcp-option82 event name1 [{gport number1 |pvc number2 } ] no debug dhcp-option82 event name1 [{gport number1 |pvc number2 } ]
Function This command displays the debug information that triggers dhcp-option82 status to change. 11-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Parameters Parameter
Description
Value
name1
Interface name
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug dhcp-option82 event command.
Examples ZXAN#debug dhcp-option82 event epon-olt_1/6/1
Related Commands 11.3 debug dhcp-option82 all 11.4 debug dhcp-option82 data 11.5 debug dhcp-option82 error
11.7 debug ip Syntax debug ip no debug ip
Function This command enables the debug function of the IP protocol, displays the debug information about IP protocol processing, and shows whether the device is sending or receiving IP packets.
Parameters None
Mode Privileged mode: ZXAN#
11-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To disable the debug function of the IP protocol, use the no debug ip command.
Examples The following example shows how to enable the debug function of the IP protocol: ZXAN#debug ip IP debugging is on
Related Commands 11.80 terminal monitor
11.8 debug ip destination Syntax debug ip destination ip_addr1 no debug ip destination ip_addr1
Function This command enables the IP protocol debug function for the specified destination address, displays the debug information about IP protocol processing and shows whether the device is sending or receiving IP packets with the specified destination address.
Parameters Parameter
Description
Value
ip_addr1
Destination IP address
-
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ip destination command.
Examples The following example shows how to enable the IP protocol debug function for destination address 192.168.36.3: ZXAN#debug ip destination 192.168.36.3 IP destination debugging is on
11-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Related Commands 11.80 terminal monitor
11.9 debug ip dhcp Syntax debug ip dhcp no debug ip dhcp
Function This command enables the DHCP relay and DHCP server debug functions
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ip dhcp command.
Examples The following example shows how to enable the DHCP relay and DHCP server debug functions ZXAN#debug ip dhcp DHCP debugging is on
Related Commands 11.80 terminal monitor
11.10 debug ip icmp Syntax debug ip icmp no debug ip icmp
11-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables the debug function of the ICMP protocol, and displays the debug information about ICMP protocol processing, and shows whether the device is sending or receiving ICMP packets.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function of the ICMP protocol, use the no debug ip icmp command.
Examples The following example shows how to enable the debug function of the ICMP protocol: ZXAN#debug ip icmp ICMP debugging is on
Related Commands 11.80 terminal monitor
11.11 debug ip icmp detail Syntax debug ip icmp detail no debug ip icmp detail
Function This command enables the debug function of the Internet Control Message Protocol (ICMP), and displays the detailed debug information about ICMP protocol processing, and shows the details of the ICMP packets that are sent to and received by the device.
Parameters None
Mode Privileged mode: ZXAN# 11-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Usage Guidelines To disable the detailed debug function of the ICMP protocol, use the no debug ip icmp detail command.
Examples The following example shows how to enable the debug function of the ICMP protocol. and display the detailed debug information about ICMP protocol processing. ZXAN#debug ip icmp detail ICMP detail debugging is on
Related Commands 11.80 terminal monitor
11.12 debug ip interface Syntax debug ip interface interface1 no debug ip interface interface1
Function This command enables the debug function for the IP protocol that the specified interface sends and receives, and displays the debug information about IP protocol processing.
Parameters Parameter
Description
Value
interface1
Interface number
-
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function for the IP protocol that the specified interface sends and receives, use the no debug ip interface command.
Examples The following example shows how to enable the debug function for the IP protocol that the loopback1 interface sends or and receives. 11-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#debug ip interface loopback1 IP interface debugging is on
Related Commands 11.80 terminal monitor
11.13 debug ip ospf adj Syntax debug ip ospf adj no debug ip ospf adj
Function This command enables the function to send back the debug information about OSPF adjacent events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines Adjacent events mainly include neighbor events, state transition, Hello packet receiving, processing, and sending, and link status request packet receiving, processing, and sending. To disable the debug function, use the no debug ip ospf adj command.
Examples The following example shows how to enable the function to send back the debug information about OSPF adjacent events. ZXAN#debug ip ospf adj OSPF adjacency events debugging is on
Related Commands 11.80 terminal monitor
11-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.14 debug ip ospf all Syntax debug ip ospf all no debug ip ospf all
Function This command enables all the debug functions for Open Shortest Path First (OSPF) information.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines If the debug function for all OSPF information is enabled, the system performance is affected. After the debug is completed, run the no debugging all command in time to disable the debug function. To disable the debug function, use the no debug ip ospf all command.
Examples The following example shows how to enable all the debug functions for OSPF: ZXAN#debug ip ospf all All OSPF debugging has been turned on
Related Commands 11.80 terminal monitor
11.15 debug ip ospf database-timer Syntax debug ip ospf database-timer no debug ip ospf database-timer
Function This command enables the function to send back the debug information about timer events of the OSPF link status database. 11-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command mainly displays the timer operation status such as aging status of the link status database and external route calculation. To disable the debug function, use the no debug ip ospf database-timer command.
Examples The following example shows how to enable the function to send back the debug information about timer events of the OSPF link status database: ZXAN#debug ip ospf database-timer OSPF timer events debugging is on
Related Commands 11.80 terminal monitor
11.16 debug ip ospf events Syntax debug ip ospf events no debug ip ospf events
Function This command enables the function to send back the debug information about OSPF major events.
Parameters None
Mode Privileged mode: ZXAN#
11-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Usage Guidelines Major events mainly include: selection of the Designated Routers (DR) and Backup Designate Router (BDR), receiving, processing, and sending of description packets of the link status database, and OSPF interface status transition. To disable the debug function, use the no debug ip ospf events command.
Examples The following example shows how to enable the function to send back the debug information about OSPF major events. ZXAN#debug ip ospf events OSPF events debugging is on
Related Commands 11.80 terminal monitor
11.17 debug ip ospf flood Syntax debug ip ospf flood no debug ip ospf flood
Function This command enables the function to send back the debug information about OSPF flooding events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines Flooding events mainly include: flooding event processing, OSPF response packet processing, and OSPF update packet receiving, processing, and sending. To disable the debug function, use the no debug ip ospf flood command.
Examples zx 11-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The following example shows how to enable the function to send back the debug information about OSPF flooding events: ZXAN#debug ip ospf flood OSPF flood debugging is on
Related Commands 11.80 terminal monitor
11.18 debug ip ospf lsa-generation Syntax debug ip ospf lsa-generation no debug ip ospf lsa-generation
Function This command enables the function to send back the debug information about OSPF Link Status Announcement (LSA) generation events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines The LSA generation events include: router LSA, network LSA, network summary LSA, AS border router LSA generation, LSA addition, deletion, and update. To disable the debug function, use the no debug ip ospf lsa-generation command.
Examples The following example shows how to enable the function to send back the debug information about OSPF Link Status Announcement (LSA) generation events: ZXAN#debug ip ospf lsa-generation OSPF summary lsa generation debugging is on
Related Commands 11.80 terminal monitor 11-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.19 debug ip ospf nsf Syntax debug ip ospf nsf no debug ip ospf nsf
Function This command enables the switch for sending back the debug information about OSPF Graceful Restart (GR) events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays the information about the router, which acts as the party which starts GR or assists in starting GR. To disable the debug function, use the no debug ip ospf nsf command.
Examples The following example shows how to enable the function to send back the debug information about OSPF Graceful Restart (GR) events: ZXAN#debug ip ospf nsf OSPF non-stop forwarding event debugging is on
Related Commands 11.80 terminal monitor
11.20 debug ip ospf packet Syntax debug ip ospf packet no debug ip ospf packet
Function This command enables the function to send back the debug information about OSPF packet receiving and sending events and monitoring all received and sent OSPF packets. 11-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays summary information about the OSPF packets that are sent and received by the router. To disable the debug function, use the no debug ip ospf packet command.
Examples The following example shows how to enable the function to send back the debug information about OSPF packet receiving and sending events: ZXAN#debug ip ospf packet OSPF packet debugging is on
Related Commands 11.80 terminal monitor
11.21 debug ip ospf retransmission Syntax debug ip ospf retransmission no debug ip ospf retransmission
Function This command enables the function to send back the debug information about OSPF retransmission queue events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays the basic information about retransmitted OSPF packets. To disable the debug function, use the no debug ip ospf retransmission command. 11-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Examples The following example shows how to enable the function to send back the debug information about OSPF retransmission queue events: ZXAN#debug ip ospf retransmission OSPF retransmission events debugging is on
Related Commands 11.80 terminal monitor
11.22 debug ip ospf spf Syntax debug ip ospf spf no debug ip ospf spf
Function This command enables the function to send back the debug information about OSPF route calculation events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines Route calculation events include: Calculation of routes in an area by use of the Dijkstra algorithm, calculation and addition of routes between areas, and addition of external routes of an AS. To disable the debug function, use the no debug ip ospf spf command.
Examples The following example shows how to enable the function to send back the debug information about OSPF route calculation events: 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
11-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 11.23 debug ip ospf spf external 11.24 debug ip ospf spf inter 11.25 debug ip ospf spf intra 11.80 terminal monitor
11.23 debug ip ospf spf external Syntax debug ip ospf spf external no debug ip ospf spf external
Function This command enables the function to send back the debug information about external routes of an AS in the OSPF route calculation events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays major events that occur during OSPF external route calculation. To disable the debug function, use the no debug ip ospf spf external command.
Examples ZXAN#debug ip ospf spf external OSPF spf external events debugging is on
Related Commands 11.22 debug ip ospf spf 11.80 terminal monitor
11-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.24 debug ip ospf spf inter Syntax debug ip ospf spf inter no debug ip ospf spf inter
Function This command enables the function to send back the debug information about internal routes of an area in the OSPF route calculation events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays major events that occur during OSPF internal route calculation. To disable the debug function, use the no debug ip ospf spf inter command.
Examples ZXAN#debug ip ospf spf inter OSPF spf inter events debugging is on
Related Commands 11.22 debug ip ospf spf 11.80 terminal monitor
11.25 debug ip ospf spf intra Syntax debug ip ospf spf intra no debug ip ospf spf intra
Function This command enables the function to send back the debug information about intra-area routes in the OSPF route calculation events. 11-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays major events that occur during OSPF intra-area route calculation. To disable the debug function, use the no debug ip ospf spf intra command.
Examples ZXAN#debug ip ospf spf intra OSPF spf intra events debugging is on
Related Commands 11.22 debug ip ospf spf 11.80 terminal monitor
11.26 debug ip ospf tree Syntax debug ip ospf tree no debug ip ospf tree
Function This command enables the function to send back the debug information about the OSPF route generation algorithm.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays key information in the OSPF route generation process. To disable the debug function, use the no debug ip ospf tree command. 11-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Examples The following example shows how to enable the function to send back the debug information about the OSPF route generation algorithm: ZXAN#debug ip ospf tree OSPF database events debugging is on
Related Commands 11.80 terminal monitor
11.27 debug ip protocol Syntax debug ip protocol number1 no debug ip protocol number1
Function This command enables the debug function of the IP protocol with the specified upper-layer protocol number and displays the debug information about IP protocol processing.
Parameters Parameter
Description
Value
number1
Protocol number
0-255
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ip protocol command.
Examples The following example shows how to enable the debug function for IP protocol 0: ZXAN#debug ip protocol 0 IP protocol number debugging is on
Related Commands 11.80 terminal monitor
11-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
11.28 debug ip rip Syntax debug ip rip no debug ip rip
Function This command traces the basic process of receiving and sending RIP packets.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop tracing, use the no debug ip rip command.
Examples The following example shows how to enable the debug function to trace the basic process of receiving and sending RIP packets: ZXAN#debug ip rip RIP protocol debugging is on
Related Commands 11.80 terminal monitor
11.29 debug ip rip all Syntax debug ip rip all no debug ip rip all
Function This command is used to enable all the debug functions for RIP.
11-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines none
Examples The following example shows how to enable all the debug functions for RIP. ZXAN#debug ip rip all All RIP debugging has been turned on
Related Commands 11.80 terminal monitor
11.30 debug ip rip database Syntax debug ip rip database no debug ip rip database
Function This command traces changes of the Routing Information Protocol (RIP) routing table.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop tracing, use the no form of this command.
Examples The following example shows how to enable the debug function to trace changes of the RIP routing table: 11-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#debug ip rip database RIP database events debugging is on
Related Commands 11.80 terminal monitor
11.31 debug ip rip events Syntax debug ip rip events no debug ip rip events
Function This command traces events that are related to RIP such as interface status.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop event tracing, use the no debug ip rip events command.
Examples The following example shows how to trace events that are related to RIPsuch as interface status. ZXAN#debug ip rip events RIP event debugging is on
Related Commands 11.80 terminal monitor
11.32 debug ip rip trigger Syntax debug ip rip trigger 11-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
no debug ip rip trigger
Function This command traces RIP trigger events such as timer timeout.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop event tracing, use the no debug ip rip trigger command.
Examples The following example shows how to enable the debug function for tracing RIP trigger events such as timer timeout: ZXAN#debug ip rip trigger RIP trigger debugging is on
Related Commands 11.80 terminal monitor
11.33 debug ip source Syntax debug ip source ip_addr1 no debug ip source ip_addr1
Function This command enables the IP protocol debug function for the specified source address, displays the debug information about IP protocol processing and shows whether the device is sending and receiving IP packets with the specified source address.
Parameters Parameter
Description
Value
ip_addr1
Source IP address
-
11-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the IP protocol debug function for the specified source address, use the no debug ip source command.
Examples The following example shows how to enable the IP protocol debug function for source address 192.168.6.6: ZXAN#debug ip source 192.168.6.6 IP source debugging is on
Related Commands 11.80 terminal monitor
11.34 debug ip tcp all Syntax debug ip tcp all no debug ip tcp all
Function This command enables all the debug functions for TCP.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ip tcp all command.
Examples The following example shows how to enable all the functions for TCP. ZXAN#debug ip tcp all All TCP debugging has been turned on
11-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Related Commands 11.80 terminal monitor
11.35 debug ip tcp driver Syntax debug ip tcp driver no debug ip tcp driver
Function This command enables the debug function to display the information related to TCP connections. After the function is enabled, the following information is output: TCP connection actively open TCP connection passively open TCP connection setup timer TCP connection normally close TCP connection abnormally close After the function is disabled with the no debug ip tcp driver command, no information is output. After a user logs in to the device, information about TCP events of BGP and FTP (excluding telnet) is displayed.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to enable the debug function to display the information related to TCP connections. ZXAN#debug ip tcp driver TCP driver event debugging is on
11-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 11.80 terminal monitor
11.36 debug ip tcp driver-pak Syntax debug ip tcp driver-pak no debug ip tcp driver-pak
Function This command enables the debug function for the management information in the TCP buffer.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines After the function is enabled, the following information is output: An output packet put in the output queue, size of a sent packet, size of a received packet, a packet deleted from the queue because the number of received out-of-sequence packets exceeds the maximum limit (Default: 25). After a user logs in to ZXAN, additional information about TCP events of BGP and FTP (excluding telnet) is displayed. To disable the debug function, use the no debug ip tcp driver-pak command. After that, the information is not output.
Examples The following example shows how to enable the debug function for the management information in the TCP buffer: ZXAN#debug ip tcp driver-pak TCP driver verbose debugging is on
Related Commands 11.80 terminal monitor
11-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.37 debug ip tcp packet Syntax debug ip tcp packet no debug ip tcp packet
Function This command enables the debug function for information such as the source and destination of the sent and received TCP packets.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines If the function is enabled, after TCP packets are sent and received, the following information of the packets is output: source address, destination address, port, sequence number, confirmation number, receive window, and control bit. After a user logs in to ZXAN, information about sending and receiving TCP packets of BGP and FTP (excluding telnet) is displayed. To disable the debug function, use the no debug ip tcp packet command. After that, the information is not output.
Examples The following example shows how to enable the debug function for information such as the source and destination of the sending and receiving TCP packets. ZXAN#debug ip tcp packet TCP Packet debugging is on
Related Commands 11.80 terminal monitor
11.38 debug ip tcp transactions Syntax debug ip tcp transactions 11-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no debug ip tcp transactions
Function This command enables the debug function for TCP status transition.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines After the function is enabled, information about TCP special events are output, including destination IP address, port, and MSS announcement of the TCP connection, retransmission timer time, retransmission after timeout, finite state machine transition, and TCP control block release. After a user logs in to ZXAN, information about TCP special events of BGP and FTP (excluding telnet) is displayed. To disable the debug function, use the no debug ip tcp transactions command. After that, the information is not output.
Examples The following example shows how to enable the debug function for TCP status transition: ZXAN#debug ip tcp transactions TCP special debugging is on
Related Commands 11.80 terminal monitor
11.39 debug ip udp Syntax debug ip udp no debug ip udp
Function This command enables the debug function for information such as the source and destination of the sending and receving UDP packets. 11-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines If the function is enabled, after a UDP packet is sent or received, the source, destination address, and port of the UDP packet, and the size of the UDP packet are displayed. After a user logs in to the device, the information is displayed. To disable the debug function, use the no debug ip udp command. After that, the information is not output.
Examples The following example shows how to enable debug function for UDP packet information. ZXAN#debug ip udp UDP packet debugging is on
Related Commands 11.80 terminal monitor
11.40 debug isis adj-packets Syntax debug isis adj-packets no debug isis adj-packets
Function This command enables the function to send back the debug information about Intermediate System-to-Intermediate System (IS-IS) adjacent events.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug isis adj-packets command. 11-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the function to send back the debug information about IS-IS adjacent events: ZXAN#debug isis adj-packets IS-IS Adjacency related packets debugging is on
Related Commands 11.80 terminal monitor
11.41 debug isis all Syntax debug isis all no debug isis all
Function This command enables all the debug functions for IS-IS.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug isis all command.
Examples The following example shows how to enable all the debug functions for IS-IS. ZXAN#debug isis all All IS-IS debugging has been turned on
Related Commands 11.80 terminal monitor
11-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.42 debug isis nsf-event Syntax debug isis nsf-event no debug isis nsf-event
Function This command enables the debug function for the IS-IS GR process.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug isis nsf-event command.
Examples The following example shows how to enable the debug function for the IS-IS GR process. ZXAN#debug isis nsf-event IS-IS NSF events debugging is on
Related Commands 11.80 terminal monitor
11.43 debug isis snp-packets Syntax debug isis snp-packets no debug isis snp-packets
Function This command enables the debug function for IS-IS Complete Sequence Number PDU (CSNP)/Partial Sequence Number PDU (PSNP) information.
Parameters None 11-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug isis snp-packets command.
Examples The following example shows how to enable the function for the IS-IS CSNP/PSNP information. ZXAN#debug isis snp-packets IS-IS CSNP/PSNP packets debugging is on
Related Commands 11.80 terminal monitor
11.44 debug isis spf-events Syntax debug isis spf-events no debug isis spf-events
Function This command enables the debug function for the IS-IS Shortest Path First (SPF) process.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug isis spf-events command.
Examples The following example shows how to enable the debug fucntion for the IS-IS SPF process: ZXAN#debug isis spf-events IS-IS SPF events debugging is on
11-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Related Commands 11.80 terminal monitor
11.45 debug isis update-packets Syntax debug isis update-packets no debug isis update-packets
Function This command enables the debug function for the IS-IS update information.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug isis update-packets command.
Examples The following example shows how to enable the debug function for the IS-IS update information. ZXAN#debug isis update-packets IS-IS Update related packet debugging is on
Related Commands 11.80 terminal monitor
11.46 debug lacp all Syntax debug lacp all no debug lacp all
11-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables all the debug functions for Link Aggregation Control Protocol (LACP) information.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable all LACP debug functions, use the no debug lacp all command.
Examples The following example shows how to enable all the debug functions for Link Aggregation Control Protocol. ZXAN#debug lacp all Link Aggregation Control Protocol All debugging is on
Related Commands 11.80 terminal monitor
11.47 debug lacp fsm Syntax debug lacp fsm [interface interface1 ] no debug lacp fsm [interface interface1 ]
Function This command enables the debug function for the LACP state machine.
Parameters Parameter
Description
Value
interface1
Name of a member interface in
-
a link aggregation group.
Mode Privileged mode: ZXAN# 11-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Usage Guidelines If no parameter is specification in the command, this command is applied to all the members interfaces of the link aggregation group. To disable the debug function for the LACP state machine, use the no debug lacp fsm command.
Examples The following example shows how to enable the debug function for the LACP state machine: ZXAN#debug lacp fsm Link Aggregation Control Protocol SM debugging is on
Related Commands 11.80 terminal monitor
11.48 debug lacp packet Syntax debug lacp packet [interface interface1 ] no debug lacp packet [interface interface1 ]
Function This command enables the debug function for LACP packet receiving and sending.
Parameters Parameter
Description
Value
interface1
Name of a member interface in
-
a link aggregation group.
Mode Privileged mode: ZXAN#
Usage Guidelines If no parameter is specification in the command, this command is applied to of all the member interfaces of the link aggregation group. To disable the debug function for LACP packet receiving and sending, use the no debug lacp packet.
11-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the debug function for LACP packet receiving and sending: ZXAN#debug lacp packet Link Aggregation Control Protocol packets debugging is on
Related Commands 11.80 terminal monitor
11.49 debug mstp agreement Syntax debug mstp agreement [interface interface1 instance number1 ] no debug mstp agreement
Function This command enables the debug function for fast switchover negotiation of the Multiple Spanning Tree Protocol (MSTP).
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Number of instances
0-31
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp agreement command.
Examples The following example shows how to enable the debug function for MSTP fast switchover negotiation: ZXAN#debug mstp agreement Multiple Spanning Tree agreement debugging is on
Related Commands 11.80 terminal monitor 11-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.50 debug mstp all Syntax debug mstp all no debug mstp all
Function This command enables all the debug functions for Multiple Spanning Tree Protocol (MSTP).
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp all command.
Examples The following example shows how to enable all the debug functions for MSTP. ZXAN#debug mstp all Mstp Protocol All debugging is on
Related Commands 11.80 terminal monitor
11.51 debug mstp bpdu-rx Syntax debug mstp bpdu-rx [interface interface1 ] no debug mstp bpdu-rx
Function This command enables the debug function for the received MSTP packets.
11-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp bpdu-rx command.
Examples The following example shows how to enable the debug function for the received MSTP packets: ZXAN#debug mstp bpdu-rx Multiple Spanning Tree Received BPDUs debugging is on
Related Commands 11.80 terminal monitor
11.52 debug mstp bpdu-tx Syntax debug mstp bpdu-tx [interface interface1 ] no debug mstp bpdu-tx
Function This command enables the debug function for the sent MSTP packets.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp bpdu-tx command. 11-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Examples The following example shows how to enable the debug function for the sent MSTP packets: ZXAN#debug mstp bpdu-tx Multiple Spanning Tree Transmitted BPDUs debugging is on
Related Commands 11.80 terminal monitor
11.53 debug mstp errors Syntax debug mstp errors no debug mstp errors
Function This command enables the debug function for MSTP errors.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp errors command.
Examples The following example shows how to enable the debug function for MSTP errors: ZXAN#debug mstp errors MST Protocol errors debugging is on
Related Commands 11.80 terminal monitor
11-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
11.54 debug mstp flush Syntax debug mstp flush [interface interface1 instance number1 ] no debug mstp flush
Function This command enables the debug function for MAC address deletion in MSTP.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Number of instances
0-31
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp flush command.
Examples The following example shows how to enable the debug function for MAC address deletion in MSTP: ZXAN#debug mstp flush Multiple Spanning Tree port flush mechanism debugging is on
Related Commands 11.80 terminal monitor
11.55 debug mstp info Syntax debug mstp info [interface interface1 instance number1 ] no debug mstp info
Function This command enables the debug function for MSTP state machine information. 11-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Number of instances
0-31
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp info command.
Examples The following example shows how to enable the debug function for MSTP state machine information: ZXAN#debug mstp info Multiple Spanning Tree port info state machine debugging on
Related Commands 11.80 terminal monitor
11.56 debug mstp migration Syntax debug mstp migration [interface interface1 ] no debug mstp migration
Function This command enables the debug function for the state machine information for MSTP migration.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Privileged mode: ZXAN# 11-45 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To disable the debug function, use the no debug mstp migration command.
Examples The following example shows how to enable the debug function for the state machine information for MSTP migration: ZXAN#debug mstp migration Multiple Spanning Tree migration protocol state machine debugging is on
Related Commands 11.80 terminal monitor
11.57 debug mstp proposals Syntax debug mstp proposals [interface interface1 instance number1 ] no debug mstp proposals
Function This command enables the debug function for negotiation request information of MSTP fast switchover.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Number of instances
0-31
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp proposals command.
Examples The following example shows how to enable the debug function for negotiation request information of MSTP fast switchover: ZZXAN#debug mstp proposals Multiple Spanning Tree Proposal/Agree handshakes debugging
11-46 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands is on
Related Commands 11.80 terminal monitor
11.58 debug mstp roles Syntax debug mstp roles [instance number1 ] no debug mstp roles
Function This command enables the debug function for state machine information of MSTP instance calculation.
Parameters Parameter
Description
Value
number1
Number of instances
0-31
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp roles command.
Examples The following example shows how to enable the debug function for state machine information of MSTP instance calculation: ZXAN#debug mstp roles MST Protocol roles debugging is on
Related Commands 11.80 terminal monitor
11.59 debug mstp state Syntax debug mstp state [interface interface1 ] 11-47 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no debug mstp state
Function This command enables the debug function for the port status synchronization information about MSTP.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp state command.
Examples The following example shows how to enable the debug function for the port status synchronization information about MSTP port. ZXAN#debug mstp state Multiple Spanning Tree state sync debugging is on
Related Commands 11.80 terminal monitor
11.60 debug mstp tc Syntax debug mstp tc [interface interface1 instance number1 ] no debug mstp tc
Function This command enables the debug function for state machine information of MSTP topology changes.
11-48 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Number of instances
0-31
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug mstp tc command.
Examples The following example shows how to enable the debug function for state machine information of MSTP topology changes: ZXAN#debug mstp tc Multiple Spanning Tree topology change notifications debugging is on
Related Commands 11.80 terminal monitor
11.61 debug ndp-lio all Syntax debug ndp-lio all no debug ndp-lio all
Function This command is used to enable all the debug functions for ND.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ndp-lio all command. 11-49 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples ZXAN#debug ndp-lio all
Related Commands
11.62 debug ndp-lio data Syntax debug ndp-lio data name1 [{gport number1 |pvc number2 } ] no debug ndp-lio data name1 [{gport number1 |pvc number2 } ]
Function This command is used to enable the debug function for ND data.
Parameters Parameter
Description
Value
name1
interface name
-
number1
gemport number
1-255
number2
pvc number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ndp-lio data command.
Examples ZXAN#debug ndp-lio data epon-olt_1/6/1
Related Commands 11.61 debug ndp-lio all
11-50 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.63 debug ndp-lio error Syntax debug ndp-lio error name1 [{gport number1 |pvc number2 } ] no debug ndp-lio error name1 [{gport number1 |pvc number2 } ]
Function This command is used to enable the debug function for ND received error packets.
Parameters Parameter
Description
Value
name1
interface name
-
number1
gemport number
1-255
number2
pvc number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ndp-lio error command.
Examples ZXAN#debug ndp-lio error epon-olt_1/6/1
Related Commands 11.61 debug ndp-lio all
11.64 debug ndp-lio event Syntax debug ndp-lio event name1 [{gport number1 |pvc number2 } ] no debug ndp-lio event name1 [{gport number1 |pvc number2 } ]
Function This command is used to enable the debug function for the events that trigger the ND status change. 11-51 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
interface name
-
number1
gemport number
1-255
number2
pvc number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug ndp-lio event command.
Examples ZXAN#debug ndp-lio event epon-olt_1/6/1
Related Commands 11.61 debug ndp-lio all
11.65 debug port-location all Syntax debug port-location all no debug port-location all
Function This command enables all the debug functions for port location configuration.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug switch, use the no debug port-location all command. 11-52 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Examples ZXAN#debug port-location all
Related Commands 11.66 debug port-location data 11.67 debug port-location error 11.68 debug port-location event
11.66 debug port-location data Syntax debug port-location data name1 [{gport number1 |pvc number2 } ] no debug port-location data name1 [{gport number1 |pvc number2 } ]
Function This command enables the debug function for port location data.
Parameters Parameter
Description
Value
name1
Interface number
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug port-location data command.
Examples ZXAN#debug port-location data epon-olt_1/6/1
Related Commands 11.65 debug port-location all 11.67 debug port-location error 11.68 debug port-location event 11-53 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
11.67 debug port-location error Syntax debug port-location error name1 [{gport number1 |pvc number2 } ] no debug port-location error name1 [{gport number1 |pvc number2 } ]
Function This command enables the debug function for port location error packets that are received.
Parameters Parameter
Description
Value
name1
Interface number
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug port-location error command.
Examples ZXAN#debug port-location error epon-olt_1/6/1
Related Commands 11.65 debug port-location all 11.66 debug port-location data 11.68 debug port-location event
11.68 debug port-location event Syntax debug port-location event name1 [{gport number1 |pvc number2 } ] no debug port-location event name1 [{gport number1 |pvc number2 } ]
Function This command enables the debug function for the event that triggers the port location status change. 11-54 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Parameters Parameter
Description
Value
name1
Interface number
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use no debug port-location event command.
Examples ZXAN#debug port-location event epon-olt_1/6/1
Related Commands None
11.69 debug pppoe-plus all Syntax debug pppoe-plus all no debug pppoe-plus all
Function This command enables all the debug functions Point to Point Protocol over Ethernet Plus (PPPoE+).
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug functions, use the no debug pppoe-plus all command.
11-55 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to display all the debug information of PPPoE+: ZXAN#debug pppoe-plus all
Related Commands 11.70 debug pppoe-plus data 11.71 debug pppoe-plus error 11.72 debug pppoe-plus event
11.70 debug pppoe-plus data Syntax debug pppoe-plus data name1 [{gport number1 |pvc number2 } ] no debug pppoe-plus data name1 [{gport number1 |pvc number2 } ]
Function This command enables the debug function for PPPoE+ data.
Parameters Parameter
Description
Value
name1
Interface number
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug pppoe-plus data command.
Examples ZXAN#debug pppoe-plus data epon-olt_1/6/1
Related Commands 11.69 debug pppoe-plus all 11.71 debug pppoe-plus error 11.72 debug pppoe-plus event 11-56 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
11.71 debug pppoe-plus error Syntax debug pppoe-plus error name1 [{gport number1 |pvc number2 } ] no debug pppoe-plus error name1 [{gport number1 |pvc number2 } ]
Function This command enables the debug function for PPPoE+ error packets that are received.
Parameters Parameter
Description
Value
name1
Interface number
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug pppoe-plus error command.
Examples ZXAN#debug pppoe-plus error epon-olt_1/6/1
Related Commands 11.69 debug pppoe-plus all 11.70 debug pppoe-plus data 11.72 debug pppoe-plus event
11.72 debug pppoe-plus event Syntax debug pppoe-plus event name1 [{gport number1 |pvc number2 } ] no debug pppoe-plus event name1 [{gport number1 |pvc number2 } ] 11-57 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables the debug function for the event that triggers PPPoE+ status changes.
Parameters Parameter
Description
Value
name1
Interface number
-
number1
Gport number
1-255
number2
PVC number
1-8
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug pppoe-plus event command.
Examples ZXAN#debug pppoe-plus event epon-olt_1/6/1
Related Commands 11.69 debug pppoe-plus all 11.70 debug pppoe-plus data 11.71 debug pppoe-plus error
11.73 debug radius all Syntax debug radius all no debug radius all
Function This command enables all Radius debug functions.
Parameters None 11-58 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug functions, use the no debug radius all command.
Examples The following example shows how to enable all Radius debug sfunctions: ZXAN#debug radius all All radius debugging has been turned on
Related Commands 11.80 terminal monitor
11.74 debug radius authentication data Syntax debug radius authentication data no debug radius authentication data
Function This command enables the Radius authentication funaction and displays the debug information related to Radius authentication.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays the debug information related to Radius authentication. To disable the debug function, use the no debug radius authentication data command.
Examples None 11-59 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 11.80 terminal monitor
11.75 debug radius authentication error Syntax debug radius authentication error no debug radius authentication error
Function This command enables the Radius authentication function. The information about error packets that are received by Radius authentication is displayed.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays the information about error packets that are received by Radius authentication. To disable the debug function, use the no debug radius authentication error command.
Examples None
Related Commands 11.80 terminal monitor
11.76 debug radius authentication event Syntax debug radius authentication event no debug radius authentication event
11-60 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Function This command enables the debug function for Radius authentication and displays the information that triggers Radius authentication status changes.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays the information that triggers Radius authentication status changes. To disable the debug function, use the no debug radius authentication event command.
Examples None
Related Commands 11.80 terminal monitor
11.77 debug radius authentication packet Syntax debug radius authentication packet {number1 |all } no debug radius authentication packet
Function This command enables the Radius authentication function. The information about error packets that are received by Radius authentication is displayed. The parameter packet group-number means to display the Radius authentication packets that are received by and sent to the specified Radius authentication group. The parameter packet all means to display the Radius authentication packets that are received by and sent to all Radius authentication groups.
11-61 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Displays the Radius
1-10
authentication packets that the specified Radius authentication group receives and sends. all
Displays the Radius
-
authentication packets that the specified Radius authentication group receives and sends.
Mode Privileged mode: ZXAN#
Usage Guidelines This command displays the information about error packets that are received by Radius authentication. The parameter packet group-number means to display the Radius authentication packets that the specified Radius authentication group receives and sends. The parameter packet all means to display the Radius authentication packets that all Radius authentication groups receives and send. To disable the debug function, use the no debug radius authentication packet command.
Examples The following example shows how to display the Radius authentication packets that the specified Radius authentication group receives and sends. ZXAN#debug radius authentication packet 1 debug radius authenticaion packet turned on group 65536
Related Commands 11.80 terminal monitor
11.78 debug radius exception Syntax debug radius exception no debug radius exception
Function This command enables the debug function for radius information. 11-62 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 11 Debugging Commands
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug radius exception command.
Examples The following example shows how to enable the debug function for Radius information: ZXAN#debug radius exception debug radius exception turned on
Related Commands 11.80 terminal monitor
11.79 debug radius user Syntax debug radius user name1 name2 no debug radius user
Function This command enables the debug function for Radius users.
Parameters Parameter
Description
Value
name1
-
name2
-
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function, use the no debug radius user command.
11-63 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the debug function for Radius users: ZXAN#debug radius user user domain debug radius user turned on user@doma
Related Commands 11.80 terminal monitor
11.80 terminal monitor Syntax terminal monitor no terminal monitor
Function This command outputs debug information to the current terminal.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop debug information output to the current terminal, use the no terminal monitor command.
Examples The following example shows how to output debug information to the current terminal: ZXAN#terminal monitor
Related Commands All debug commands
11-64 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12
VLAN Commands Table of Contents Global Commands....................................................................................................12-1 Commands at Network Side ...................................................................................12-10 Commands at User Side ........................................................................................12-13 Smart QinQ Commands .........................................................................................12-18 Show Commands ...................................................................................................12-22
12.1 Global Commands 12.1.1 description Syntax description name1 no description
Function This command provides a description for the VLAN.
Parameters Parameter name1
Description
Value
VLAN description
A string of 1–63 characters, composed of letters, numbers, and underlines.
Mode VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines To delete the description, use the no form of this command. By default, the VLAN description is null. Different VLANs can have the same description.
12-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to set the description of VLAN 2 and VLAN 3 to dialing-network: ZXAN(config)#vlan 2 ZXAN(config-vlan)#description dialing-network ZXAN(config-vlan)#exit ZXAN(config)#vlan 3 ZXAN(config-vlan)#description dialing-network
Related Commands 12.5.3 show vlan
12.1.2 multicast-packet Syntax multicast-packet name1
Function This command configures the VLAN-based multicast packet flood type.
Parameters Parameter
Description
Value
name1
Flood-all: floods all multicast
-
packets Flood-unknown : floods unknown packets Drop-unknown: drops unknown packets
Mode VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines By default, the VLAN-based multicast packet flood type is flood-unknown.
Examples The following example shows how to set the multicast packet flood type for VLAN 2 to drop-unknown:
ZXAN(config)#vlan 2
12-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
ZXAN(config-vlan)#multicast-packet drop-unknown
Related Commands 12.5.3 show vlan
12.1.3 mvlan-translate Syntax mvlan-translate number1 to number2 no mvlan-translate number1 to number2
Function This command configures the MVLAN translation rule.
Parameters Parameter
Description
Value
number1
MVLAN ID
1–4094
number2
CVLAN ID
1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command. This command is used to translate MVLAN to CVLAN (meaning that the drive needs to be set) for user downlink data packets during cross-VLAN multicast. For downlink protocol packets, VLAN translation is implemented based on the saved memory data.
Examples The following example shows how to configure the translation rule from MVLAN 100 to CVLAN 150: ZXAN(config)#mvlan-translate 100 to 150
Related Commands show mvlan-translate
12-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
12.1.4 name Syntax name WORD1 no name
Function This command sets the VLAN name.
Parameters Parameter
Description
Value
WORD1
VLAN name
At most 32 characters, led by a letter and composed of letters, numbers, and underlines
Mode VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines To restore the default name, use the no form of this command. By default, the name of VLAN 1 is VLAN0001, name of VLAN 100 is VLAN0100, and so on.
Examples The following example shows how to change the name of VLAN 2 to v2: ZXAN(config)#vlan 2 ZXAN(config-vlan)#name v2
Related Commands 12.5.3 show vlan
12.1.5 vlan Syntax vlan {number1 |name WORD1 } no vlan {number1 |name WORD1 }
Function This command creates a VLAN and enters the VLAN configuration mode. 12-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Parameters Parameter
Description
Value
number1
VLAN
1–4094
name
To specify a VLAN
-
name WORD1
VLAN name
At most 32 characters, led by a letter and composed of letters, numbers, and underlines
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete the VLAN, use the no form of this command. During the deletion of an VLAN, an error is prompted if a VLAN is VLAN 1, an L3 VLAN interface has been created, or IGMP Snooping has been configured.
Examples The following example shows how to create VLAN 2: ZXAN(config)#vlan 2 ZXAN(config-vlan)#
Related Commands 12.5.3 show vlan
12.1.6 vlan database Syntax vlan database
Function This command creates VLANs in batches.
Parameters None
Mode Configuration mode: ZXAN (config)# 12-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To deleted the VLANs, use the no form of this command. Different VLANs must have different names. During VLAN deletion in batches, an error is prompted if a VLAN is VLAN 1, an L3 VLAN interface has been created, or IGMP Snooping has been configured.
Examples The following example shows how to create VLANs 2–100 in batches: ZXAN(config)#vlan database ZXAN(vlan)#vlan 2-100
Related Commands
12.1.7 vlan-scb-action Syntax vlan-scb-action interface interface1 {vlan-remove {number1 |vlan number2 |svlan number3 vlan {number4 |any } } |vlan-translate {vlan number5 user-vlan number6 |svlan number7 vlan {numb er8 |any } user-vlan number9 } } no vlan-scb-action interface interface1 {vlan-remove {number1 |vlan number2 |svlan number3 vlan {number4 |any } } |vlan-translate {vlan number5 user-vlan number6 |svlan number7 vlan {number8 |any } user-vlan number9 } }
Function This command configures the VLAN processing of downlink broadcast flood packets for EPON cards.
Parameters Parameter
Description
Value
interface
Interface
-
interface1
Interface name
-
number1
VLAN ID
1–4094
number2
VLAN ID
1–4094
number3
SVLAN ID
1–4094
number4
VLAN ID
1–4094
any
Mode
12-6
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Parameter
Description
Value
number5
VLAN ID
1–4094
number6
User VLAN ID
1–4094
number7
SVLAN ID
1–4094
number8
VLAN ID
1–4094
number9
User VLAN ID
1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This function is designed to solve the problem of failure to translate TK-chip downlink broadcast packets into user VLAN. The following functions are supported: 1. Striping of only outer VLAN 2. Single layer VLAN translation 3. Double layer VLAN translation with outer VLAN stripped
Examples The following example shows how to set double layer VLAN translation with outer VLAN stripped:
ZXAN(config)#vlan-scb-action interface epon-olt_1/4/1 vlan-translate vlan 100 user-vlan 200
Related Commands None
12.1.8 vlan-translate Syntax vlan-translate ingress-port interface1 user-vlan number1 vlan number2 [svlan number3 ] [name1 ] no vlan-translate {all |ingress-port interface1 user-vlan number1 }
Function This command configures the VLAN translation rule based on PON interface. The outer VLAN is optional. 12-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ingress-port
To specify the Interface name
-
interface1
Interface name
-
user-vlan
To specify user VLAN
-
number1
VLAN carried on user packets
1–4094
vlan
To specify inner VLAN carried on the
-
translated packet number2
Inner VLAN carried on the translated
1–4094
packet number3
Outer VLAN carried on the translated
1–4094
packet name1
1:1 or N:1
-
all
To delete all VLAN translation rules
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command configures the VLAN translation rule based on PON interface. The configuration rule must be different from the service-port rule or Q-in-Q rule, and the user VLAN must be different from the basic VLAN of the ONU interface under the PON interface. The VLAN translation rule based on ONU is configured by the service-port command. To cancel the setting, use the no form of this command. You can delete one or multiple VLAN translation rules in batches.
Examples The following example shows how to set VLAN translation based on PON interface: ZXAN(config)#vlan-translate ingress-port epon-olt_1/3/1 user-vlan 10 vlan 20 svlan 30
The following example shows how to delete a specified VLAN translation rule: ZXAN(config)#no vlan-translate ingress-port epon-olt_1/3/1 user-vlan 10
The following example shows how to delete all VLAN translation rules: ZXAN(config)#no vlan-translate all
12-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Related Commands 12.5.9 show vlan-translate
12.1.9 xconnect Syntax xconnect name1 [cvlan number1 ]
Function This command configures the vlan-xconnect rule, which specifies whether to perform switching based on SVLAN or SVLAN+CVLAN for the dedicated channel of a specific user interface and uplink interface.
Parameters Parameter
Description
Value
name1
Enable or disables the
-
vlan-xconnect rule number1
Inner VLAN of the vlan-xconnect
1-4094
rule
Mode VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines This command is used to configure a 1:1 VLAN rule. The uplink interface can be of smartgroup type. Once the user interface, uplink interface, and whether to use svlan or svlan+cvlan are specifed, the user data packets are directly sent to the uplink interface without learning MAC+VLAN if the VLAN data accords with SVLAN or SVLAN+CVLAN. To delete the rule, use the no form of this command.
Examples The following example shows how to set the xconnect rule for VLAN 100:
ZXAN(config)#vlan 100
ZXAN(config-vlan)#xconnect enable
12-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 12.5.10 show vlan-xconnect detail
12.2 Commands at Network Side 12.2.1 switchport default vlan Syntax switchport default vlan WORD1 [name1 ] no switchport default vlan
Function This command adds a hybrid port to the default VLAN and modifies the port PVID. If the VLAN does not exist, it will be created.
Parameters Parameter
Description
Value
WORD1
VLAN name or VLAN ID
-
name1
VLAN
-
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines By default, a layer-2 port is located in VLAN 1. Use this command to set the default VLAN of the port and modify the PVID. To delete the port from the VLAN and restore the default PVID 1, use the no form of this command.
Examples The following example shows how to set the default VLAN of interface gei_1/19/1 to 100: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport default vlan 100
Related Commands 12.5.4 show vlan port
12-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
12.2.2 switchport mode Syntax switchport mode name1
Function This command configures the VLAN port link mode for a port. For an uplink port, the default is hybrid.
Parameters Parameter
Description
Value
name1
l
-
Trunk: A trunk port receives only tagged packets.
l
Hybrid: A hybrid port can receive both untagged and tagged packets.
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines A trunk port can be directly switched to the hybrid mode. For other mode switching, the tag and untag VLANs of this port should be deleted (except VLAN 1).
Examples The following example shows how to set the VLAN mode to trunk for interface gei_1/19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport mode trunk
Related Commands 12.5.4 show vlan port
12.2.3 switchport tpid Syntax switchport tpid {{hexadecimal1 |vlan |port } ||}
Function This command configures the port TPID property.
12-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
hexadecimal1
TPID type
-
vlan
Based on VLAN
-
port
Based on port
-
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines The TPID value cannot be the values of some protocols, such as 0x0806 and 0x0800.
Examples The following example shows how to configure the TPID property of the port gei_1/19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport tpid 0x9100
Related Commands 12.5.4 show vlan port
12.2.4 switchport vlan Syntax switchport vlan WORD1 {tag |untag } no switchport vlan WORD1
Function This command adds a port to a VLAN. If the VLAN does not exist, it will be created.
Parameters Parameter
Description
Value
WORD1
VLAN ID or VLAN name
-
tag
Indicates that the port is added to the VLAN in tag
-
mode untag
Indicates that the port is added to the VLAN in
-
untag mode
12-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines A trunk port can be added to a VLAN only in tag mode. The mode for adding a port to a VLAN depending on the VLAN mode of the port. To delete the port from the VLAN, use the no form of this command.
Examples The following example shows how to configure interface gei_1/19/1 with VLAN 100, 102–110: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport vlan 100,102-110 tag
Related Commands 12.5.4 show vlan port 12.2.2 switchport mode
12.3 Commands at User Side 12.3.1 switchport default vlan Syntax switchport default vlan WORD1 [name1 ] no switchport default vlan
Function This command adds a hybrid port to the default VLAN and modifies the port PVID. If the VLAN does not exist, it will be created.
Parameters Parameter
Description
Value
WORD1
VLAN name or VLAN ID
-
name1
VLAN
-
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others 12-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines By default, a layer-2 port is located in VLAN 1. Use this command to set the default VLAN of the port and modify the PVID. To delete the port from the VLAN and restore the default PVID 1, use the no form of this command.
Examples The following example shows how to set the default VLAN to 100: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport default vlan 100
Related Commands 12.5.4 show vlan port
12.3.2 switchport mode Syntax switchport mode name1
Function This command configures the VLAN port link mode for a port. For an uplink port, the default is hybrid.
Parameters Parameter
Description
Value
name1
l
-
Trunk: A trunk port receives only tagged packets.
l
Hybrid: A hybrid port can receive both untagged and tagged packets.
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines A trunk port can be directly switched to the hybrid mode. For other mode switching, the tag and untag VLANs of this port should be deleted (except VLAN 1).
Examples The following example shows how to set the VLAN mode to trunk: 12-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport mode trunk
Related Commands 12.5.4 show vlan port
12.3.3 switchport tls Syntax switchport tls name1 [vport number1 ]
Function This command configures the port TLS property.
Parameters Parameter
Description
Value
name1
Enable: enables the TLS
-
property Disable: disables the TLS property number1
Vport
1–128
Mode 10G_Ether interface mode: ZXAN(config-if)#, ptp interface mode, wdm-pon-onu interface mode, and others
Usage Guidelines When the TLS VLAN is enabled, the TLS VLAn is 1 by default.
Examples The following example shows how to configures the TLS property of the interface epon-onu_1/4/1:1:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#switchport tls enable
Related Commands 12.5.4 show vlan port 12-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
12.3.4 switchport tls vlan Syntax switchport tls vlan {number1 |WORD1 } [vport number2 ]
Function This command configure the TLS VLAN mapping relation of a port. If TLS is enabled, the default TLS VLAN of the user port is 1.
Parameters Parameter
Description
Value
number1
TLS-VLAN ID
1-4094
WORD1
VLAN name
-
number2
Vport
1-128
Mode PortCh interface mode, 10G_Ethernet interface mode: ZXAN(config-if)#, ptp interface mode, and others
Usage Guidelines TLS VLAN can be configured only when TLS is enabled. All TLS flows are tagged with the corresponding TLS VLAN after TLS VLAN configuration. The interfaces with disabled TSL uploads untagged or prirority tagged packets after marking the corresponding PVID. For tagged packets, if the VLAN tag is in VLAN membership, they are tagged with the mapping VLAN ID and then be uploaded. If the VLAN tag is not in VLAN membership, the packets are discarded. The interfaces with enabled TSL uploads untagged packets, priority tagged packets, or packets whose VLAN tag is not in VLAN membership after marking the corresponding TLS VLAN. If the VLAN tag is in VLAN membership, the packets are tagged with VLAN ID and then be uploaded.
Examples The following example shows how to set the TLS VLAN property: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#switchport tls vlan 20
Related Commands 12.5.4 show vlan port
12-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
12.3.5 switchport tpid Syntax switchport tpid {{hexadecimal1 |vlan |port } ||}
Function This command configures the port TPID property.
Parameters Parameter
Description
Value
hexadecimal1
TPID type
-
vlan
Based on VLAN
-
port
Based on port
-
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines The TPID value cannot be the values of some protocols, such as 0x0806 and 0x0800.
Examples The following example shows how to configure the TPID property for interface gei_1/19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport tpid 0x9100
Related Commands 12.5.4 show vlan port
12.3.6 switchport vlan Syntax switchport vlan WORD1 {tag |untag } no switchport vlan WORD1
Function This command adds a port to a VLAN. If the VLAN does not exist, it will be created.
12-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
WORD1
VLAN ID or VLAN name
-
tag
Indicates that the port is added
-
to the VLAN in tag mode untag
Indicates that the port is added
-
to the VLAN in untag mode
Mode L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines A trunk port can be added to a VLAN only in tag mode. The mode for adding a port to a VLAN depending on the VLAN mode of the port. To delete the port from the VLAN, use the no form of this command.
Examples The following example shows how to configure interface gei_1/19/1 with VLAN 100, 102–110: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#switchport vlan 100,102-110 tag
Related Commands 12.5.4 show vlan port 12.3.2 switchport mode
12.4 Smart QinQ Commands 12.4.1 vlan-smart-qinq Syntax vlan-smart-qinq name1
Function This command enables or disables the global smart Q-in-Q function.
12-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Parameters Parameter
Description
Value
name1
Status
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines After the global smart Qi-inQ function changes to disabled, the configured vlan-smart-qinq rule is still available in the software and can be viewed through the show vlan-smart-qinq command. However, the entry is deleted from the hardware configuration, meaning that the smart Q-in-Q service will be interrupted. After the global smart Qi-inQ function changes to enabled, the system sends the hardware entry again and validate the service. In this case, the interrupted service is restored.
Examples The following example shows how to enable the global smart Q-in-Q function: ZXAN(config)#vlan-smart-qinq enable
Related Commands 12.5.7 show vlan-smart-qinq global-status
12.4.2 vlan-smart-qinq(L2 gei interface mode) Syntax vlan-smart-qinq name1
Function This command enables or disables the Q-in-Q function of an OLT.
Parameters Parameter
Description
Value -
name1 Enable: enables the smart Q-in-Q function Disable: disables the smart Q-in-Q function
12-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)#, wdm-pon-olt interface mode, and others
Usage Guidelines Before enabling the vlan-smart-qinq function of an interface, enable the global vlan-smart-qinq function first. Pay attention that when the smart Q-in-Q function of the interface changes to disabled, all vlan-smart-qinq rules under the PON interface are deleted.
Examples The following example shows how to enable the smart Q-in-Q function on the interface epon-olt_1/4/1: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#vlan-smart-qinq enable
Related Commands 12.5.8 show vlan-smart-qinq port-status
12.4.3 vlan-smart-qinq ingress-port Syntax vlan-smart-qinq ingress-port interface1 {cvlan number1 [to number2 ] [{ether-type hexadecima l1 |cos number3 } ] |{ether-type hexadecimal2 |cos number4 } } svlan number5 [newcos number6 ] no vlan-smart-qinq ingress-port interface1 {cvlan number1 [to number2 ] [{ether-type hexadeci mal1 |cos number3 } ] |{ether-type hexadecimal2 |cos number4 } } svlan number5 [newcos numbe r6 ]
Function This command configures the smart Q-in-Q VLAN rule.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Begin CVLAN
1–4094
number2
End CVLAN
1–4094
hexadecimal1
Ethernet type
-
number3
Priority level
0–7
12-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Parameter
Description
Value
hexadecimal2
Ethernet type
-
number4
Priority level
0–7
number5
SVLAN
1–4094
number6
Priority level
0–7
Mode Configuration mode: ZXAN (config)#
Usage Guidelines A smart Q-in-Q rule supports seven modes: l l l l l l l
Based on a single CVLAN Based on a CVLAN range Based on COS Based on Ethernet type Based on Single CVLAN+COS Based on Single CVLAN+Ehternent Transparent VLAN
One interface can be configured with multiple modes. The pre-defined sequence applies in case of conflict.
Examples The following example shows how to configure smart Q-in-Q rule based on a CVLAN range: ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan 100 to 110 svlan 200
The following example shows how to configure smart Q-in-Q rule based on priority: ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cos 7 svlan 201
The following example shows how to configure smart Q-in-Q rule based on Ethernet type: ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 ether-type 0x0806 svlan 202
The following example shows how to configure smart Q-in-Q rule based on CVLAN+ priority: ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan 20 to 20 cos 6 svlan 203
12-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The following example shows how to configure smart Q-in-Q rule based on CVLAN+Ethernet type: ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan 21 to 21 ether-type 0x0809 svlan 204
The following example shows how to delete a configured smart Q-in-Q rule: ZXAN(config)#no vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan 100 to 110 svlan 200
Related Commands 12.5.6 show vlan-smart-qinq
12.5 Show Commands 12.5.1 show service-port Syntax show service-port shelf number1 slot number2
Function This command displays the configured service ports by slot number.
Parameters Parameter
Description
Value
number1
Shelf number
1–3
number2
Slot number of the card
0–22
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the service ports by slot number: ZXAN(config)#show service-port shelf 1 slot 4 Interface epon-onu_1/4/1:1
12-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands Sport Vport BeginVid EndVid OuterVid InnerVid UserPrio Dscp Etype os SVlan SCos Tls
Mode Ingress Egress
Filter Vlan C
Queue Status Enable
-----------------------------------------------------------------------------------------------------------------------------------------1 -
1 22
22 --
22
--
1:1
---
---
---
--
--
--
--
22
-
YES
Sport total number: 1
Related Commands None
12.5.2 show service-port interface Syntax show service-port interface interface1 [number1 ]
Function This command displays the configured service ports of an interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Service port ID
1–128
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the service ports of the interface epon-onu_1/4/1:1: ZXAN(config)#show service-port interface epon-onu_1/4/1:1 Interface epon-onu_1/4/1:1 Sport Vport BeginVid EndVid OuterVid InnerVid UserPrio Dscp Etype os SVlan SCos Tls
Mode Ingress Egress
Filter Vlan C
Queue Status Enable
------------------------------------------------------------------------------------------------------------------------------------------
12-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 1 -
1 22
22 --
22
--
1:1
---
---
---
--
--
--
--
22
-
YES
Sport total number: 1 ZXAN(config)#
Related Commands None
12.5.3 show vlan Syntax show vlan {number1 |name WORD1 }
Function This command displays the configuration of a specified VLAN.
Parameters Parameter
Description
Value
number1
VLAN ID
1–4094
name
VLAN name
-
WORD1
Specified VLAN name
-
Mode Any mode except user mode
Usage Guidelines This command displays the information about the ports added to the VLAN.
Examples The following example shows how to display the configuration of VLAN 22: ZXAN(config)#show vlan 22 vlanid
:22
name
:VLAN0022
description
:N/A
multicast-packet:flood-unknown tpid:0x8100 port(untagged): port(tagged): epon-onu_1/4/1:1:1
12-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands ZXAN(config)#
Related Commands None
12.5.4 show vlan port Syntax show vlan port interface1 [{vport number1 |pvc number2 } ]
Function This command displays the layer-2 VLAN configuration information, including basic VLAN information, TLS configuration, TLS VLAN configuration.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
PON virtual port ID
1–128
number2
Specified PVC number
1–2000
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the VLAN configuration of the interface epon-onu_1/4/1:1: ZXAN(config)#show vlan port epon-onu_1/4/1:1 PortMode
Pvid
CPvid Tpid/mode
TLSStatus TLSVlan
------------------------------------------------hybrid
1
0
0x8100/PORT disable
0
UntaggedVlan:
TaggedVlan: 22 ZXAN(config)#
12-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
12.5.5 show vlan summary Syntax show vlan summary
Function This command displays all the created VLANs.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Example The following example shows how to displays all the created VLANs: ZXAN#show vlan summary All created vlan num: 13 Details are following: 1-2,10-20
Related Commands None
12.5.6 show vlan-smart-qinq Syntax show vlan-smart-qinq [ingress-port interface1 [svlan number1 ] ]
Function This command displays the smart Q-in-Q VLAN rules.
12-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Svlan ID
1–4094
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display all Q-in-Q VLAN rules:
ZXAN(config)#show vlan-smart-qinq smart-qinq item num(used): 1 Ingress-Port
Begin- EndVid
EType
Cos Svlan NewCos GroupId Status
Vid
--------------------------------------------------------------------------------
epon-olt_1/4/3
22
22
----
3
22
--
--
OK
ZXAN(config)#
Related Commands 12.4.1 vlan-smart-qinq 12.4.3 vlan-smart-qinq ingress-port 12.5.7 show vlan-smart-qinq global-status 12.5.8 show vlan-smart-qinq port-status
12.5.7 show vlan-smart-qinq global-status Syntax show vlan-smart-qinq global-status
Function This command displays the global smart Q-in-Q status.
Parameters None 12-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the global smart Q-in-Q status: ZXAN#show vlan-smart-qinq global-status global-status: enable
Related Commands 12.4.1 vlan-smart-qinq 12.4.3 vlan-smart-qinq ingress-port 12.5.8 show vlan-smart-qinq port-status
12.5.8 show vlan-smart-qinq port-status Syntax show vlan-smart-qinq port-status ingress-port interface1
Function This command displays the VLAN smart Q-in-Q status of a specified interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the VLAN smart Q-in-Q status of the interface gpon-olt_1/2/1: ZXAN#show vlan-smart-qinq port-status ingress-port gpon-olt_1/2/1 port-status: gpon-olt_1/2/1
disable
12-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 12 VLAN Commands
Related Commands 12.4.1 vlan-smart-qinq 12.4.3 vlan-smart-qinq ingress-port 12.5.7 show vlan-smart-qinq global-status
12.5.9 show vlan-translate Syntax show vlan-translate [ingress-port interface1 ]
Function This command displays the VLAN translation rules of all or a specified PON interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display all the VLAN translation rules: ZXAN(config)#show vlan-translate vlan-translate item num(used): 1 Ingress-Port
User-Vlan Vlan
Svlan TransMode Status
---------------------------------------------------------------------------epon-olt_1/4/4
22
22
22
1:1
--
ZXAN(config)#
Related Commands None
12.5.10 show vlan-xconnect detail Syntax show vlan-xconnect detail [svlan number1 [cvlan number2 ] ] 12-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command displays the xconnect configuration rule.
Parameters Parameter
Description
Value
number1
SCLAN value of the xconnect
1–4094
rule number2
CVLAN value of the xconnect
1–4094
rule
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the xconnect configuration details: ZXAN(config)#show vlan-xconnect detail User-Port
Uplink-Port
Svlan
Cvlan
------------------------------------------------------epon-onu_1/4/1:1 vport 1
gei_1/19/1
33
--
epon-onu_1/4/1:1 vport 1
gei_1/19/1
44
44
ZXAN(config)#
Related Commands None
12-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13
PON Comands Table of Contents PON Basic Command ..............................................................................................13-1 ONU Type Profile Management ................................................................................13-2 OLT Performance Management................................................................................13-8 PON Version Management .....................................................................................13-17 PON Protection Management.................................................................................13-22 Optical Profile Parameter Configuration..................................................................13-28 Rogue ONU Detection............................................................................................13-36 ONU In-Band Management ....................................................................................13-38 Profile Configuration Management .........................................................................13-42 Other Commands ...................................................................................................13-46
13.1 PON Basic Command 13.1.1 pon Syntax pon
Function This command enters PON mode.
Parameters None
Mode ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enter PON mode: ZXAN(config)#pon
13-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-pon)#
Related Commands None
13.2 ONU Type Profile Management 13.2.1 onu-type Syntax onu-type name1 {gpon [description name2][max-tcont number1][max-gemport number2][max -switch-perslot number3][max-flow-perswitch number4][max-iphost number5][service-ability N:1 name3 1:M name4 1:P name5][service-mgmt-via-non-omci WiFi name6][omci-send-mode {async|sync}][default-mulitcast-range {none|all-inclusive }]|epon[{description WORD1|{[prote ct-type name7][speed name8]}}]} no onu-type name9
Function This command creates an ONU type and sets the properties related to the ONU type.
Parameters Parameter
Description
Value
name1
ONU type name, 1–64
-
characters. gpon
GPON ONU type.
-
name2
ONU type description, range:
-
1–64 characters. number1
Maximum number of T-CONTs,
1–255
and the default value is 255. number2
Maximum number of
1–255
GEM Ports, and the default value is 255. number3
Maximum number of Bridges of
1–255
each slot, and the default value is 255. number4
Maximum number of uplink
1–255
interfaces of each Bridge, and the default value is 255. 13-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameter
Description
Value
number5
Maximum number of IP hosts,
0–255
and the default value is 255. name3
Whether the N:1 service is
-
supported. N:1 indicates bridge connections between multiple UNIs and one ANI. By default, the N:1 service is supported. name4
Whether the 1:M service is
-
supported. 1:M indicates the 801.1p priority mapping between a single UNI and multiple ANIs. By default, the 1:M service is supported. name5
Whether the 1:P service is
-
supported. 1:P indicates the VLAN filtering between a single UNI and multiple ANIs. By default, the 1:P service is supported. name6
Whether the WiFi service is
-
not managed by the OMCI and whether OLTs compare and deliver default WiFi-related ME values created by the ONU. enable: non-OMCI manageable, not comparing and issuing data; disable: OMCI manageable, comparing and issuing data; The default value is disable. async
Sets that the OMCI delivers
-
default ME values in xxx mode. sync
OMCI is issued in
-
synchronization mode. none
Uses the ONU default value.
-
all-includsive
224.0.0.0–239.255.255.255.
-
epon
EPON ONU type.
-
WORD1
ONU type description, range:
-
1–64 characters.
13-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name7
Protection type. The value
-
range is {none|typec|typed}, and the default value is none. name8
ONU PON interface rate.
-
The value range is, 1g, 10g-symmetric, and 10g-asymmetric. 10g-symmetric:10 GB symmetric. 10g-asymmetric:10 GB, asymmetric. The default value is 1g. name9
ONU type name, 1–64
-
characters
Mode pon global configuration mode
Usage Guidelines There are seven default GPON ONU types: ZTE-F601, ZTE-F621, ZTE-F622, ZTE-F625, ZTE-F640, ZTE-F641, and ZTE-F628. Users cannot delete or modify the seven types, and cannot add or delete user interfaces to them. To distinguish them from EPON ONU type profiles, it is recommended to add a GPON mark to such type profiles. For example, ZTEG-F820/ZTEG-F822/ZTEG-9806H. To cancel the setting, use the no form of this command.
Examples The following example shows how to create a new GPON ONU type whose name is "ZTEG-F888": ZXAN(config)#pon
ZXAN(config-pon)# onu-type ZTE-F888 gpon description new-onu
Related Commands None
13.2.2 onu-type-if Syntax onu-type-if name1 name2 13-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
no onu-type-if name1 name2
Function This command adds a user interface for an ONU type.
Parameters Parameter
Description
Value
name1
ONU type name, range: 1–64
-
characters. name2
ONU user interface description:
-
type_slot/portlist, range: 1–31 characters. l
type: prefix, which can be eth_, e1_ , t1_, ds1_, pots_, rf_, or wifi_.
l
slot: the value range is 0–255.
l
portlist: port list, the value range is 1–255. Users can enter ports in batches.
Mode pon global configuration mode
Usage Guidelines There are seven default GPON ONU types: ZTE-F601, ZTE-F621, ZTE-F622, ZTE-F625, ZTE-F640, ZTE-F641, and ZTE-F628. The seven types cannot be deleted or modified, and no user interface can be added to or deleted from them. To cancel the setting, use the no form of this command.
Examples The following example shows how to add user interfaces for the ONU type whose name is "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 13.2.4 show onu-type-if
13-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
13.2.3 show onu-type Syntax show onu-type [name1 [name2 ] ]
Function This command queries ONU type information.
Parameters Parameter
Description
Value
name1
GPON/EPON ONU type
-
information ONU type name, range: 1–64
name2
-
characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query all ONU type information: ZXAN(config-gpon)#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
Related Commands None
13-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.2.4 show onu-type-if Syntax show onu-type-if name1
Function This command queries the user interface information of an ONU type.
Parameters Parameter
Description
Value
name1
ONU type name, range: 1–64
-
characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the user interface information of the ONU type whose name is "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 None
13-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
13.3 OLT Performance Management 13.3.1 item Syntax item name1 name2 name3 alarm number1 restore number2 no item name1 name2 name3
Function This command sets the parameters related to OLT MAC performance alarms at the PON interface.
Parameters Parameter
Description
Value
name1
Alarm type
-
name2
Statistical duration: 15 minutes
-
name3
The uppermost/upper/low/low-
-
est threshold number1
Alarm threshold
0–9223372036854775807
number2
Alarm recovery threshold
0–9223372036854775807
Mode PROFILE_MAC_OLT configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the parameters related to OLT MAC performance alarms at the PON interface: ZXAN(config)#perf-mac-olt profile zte ZXAN(config-mac-perf-olt)#item err 15min low alarm 1000 restore 2000
Related Commands 13.3.7 perf-mac-olt profile
13-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.3.2 item (PROFILE_MAC_ONU configuration mode) Syntax item name1 name2 name3 alarm number1 restore number2 no item name1 name2 name3
Function This command sets the parameters related to ONU MAC performance alarms at the PON interface.
Parameters Parameter
Description
Value
name1
Alarm type
-
name2
Statistic duration: 15 minutes
-
name3
The uppermost/upper/low/low-
-
est threshold number1
Alarm threshold
0–9223372036854775807
number2
Alarm clearing threshold
0–9223372036854775807
Mode PROFILE_MAC_ONU configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the parameters related to ONU MAC performance alarms at the PON interface: ZXAN(config)#perf-mac-onu profile zte ZXAN(config-mac-perf-onu)#item erri 15min low alarm 1000 restore 2000
Related Commands 13.3.8 perf-mac-onu profile
13.3.3 item (PROFILE_ETH_OLT configuration mode) Syntax item name1 name2 name3 alarm number1 restore number2 13-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no item name1 name2 name3
Function This command sets the parameters related to OLT Ethernet performance alarms at the PON interface.
Parameters Parameter
Description
Value
name1
Alarm type
-
name2
Statistic duration: 15 minutes
-
name3
The uppermost/upper/low/low-
-
est threshold number1
Alarm threshold
0–9223372036854775807
number2
Alarm recovery threshold
0–9223372036854775807
Mode PROFILE_ETH_OLT configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to sets the parameters related to OLT Ethernet performance alarms at the PON interface: ZXAN(config)#perf-eth-olt profile zte ZXAN(config-eth-perf-olt)#item tx-jabs 15min low alarm 1000 restore 2000
Related Commands 13.3.5 perf-eth-olt profile
13.3.4 item (PROFILE_ETH_ONU configuration mode) Syntax item name1 name2 name3 alarm number1 restore number2 no item name1 name2 name3
Function This command sets the parameters related to ONU Ethernet performance alarms at the PON interface. 13-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameters Parameter
Description
Value
name1
Alarm type
-
name2
Statistic duration: 15 minutes
-
name3
The uppermost/upper/low/low-
-
est threshold number1
Alarm threshold
0–9223372036854775807
number2
Alarm recovery threshold
0–9223372036854775807
Mode PROFILE_ETH_ONU configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the parameters related to ONU Ethernet performance alarms at the PON interface: ZXAN(config)#perf-eth-onu profile zte ZXAN(config-eth-perf-onu)#item rx-jabs 15min low alarm 1000 restore 2000
Related Commands 13.3.6 perf-eth-onu profile
13.3.5 perf-eth-olt profile Syntax perf-eth-olt profile name1 no perf-eth-olt profile name1
Function This command creates an alarm profile for Ethernet performance statistics at the OLT interface, and the corresponding configuration mode is entered.
Parameters Parameter
Description
Value
name1
Profile name, range: 1–32
-
characters. 13-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an alarm profile for Ethernet performance statistics at the OLT interface: ZXAN(config)# ZXAN(config)#perf-eth-olt profile zte ZXAN(config-eth-perf-olt)#
Related Commands None
13.3.6 perf-eth-onu profile Syntax perf-eth-onu profile name1 no perf-eth-onu profile name1
Function This command creates an alarm profile for Ethernet performance statistics at the ONU interface, and the corresponding configuration mode is entered.
Parameters Parameter
Description
Value
name1
Profile name, 1–32 characters.
-
Mode ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an alarm profile for Ethernet performance statistics at the ONU interface: 13-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands ZXAN(config)# ZXAN(config)#perf-eth-onu profile zte ZXAN(config-eth-perf-onu)#
Related Commands None
13.3.7 perf-mac-olt profile Syntax perf-mac-olt profile name1 no perf-mac-olt profile name1
Function This command creates an alarm profile for MAC performance statistics at the OLT interface, and the corresponding configuration mode is entered.
Parameters Parameter
Description
Value
name1
Profile name, range: 1–32
-
characters.
Mode ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an alarm profile for MAC performance statistics at the OLT interface: ZXAN(config)# ZXAN(config)#perf-mac-olt profile zte ZXAN(config-mac-perf-olt)#
Related Commands None
13-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
13.3.8 perf-mac-onu profile Syntax perf-mac-onu profile name1 no perf-mac-onu profile name1
Function This command creates an alarm profile for MAC performance statistics at the ONU interface, and the corresponding configuration mode is entered.
Parameters Parameter
Description
Value
name1
Profile name, range: 1–32
-
characters.
Mode ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an alarm profile for MAC performance statistics at the ONU interface: ZXAN(config)# ZXAN(config)#perf-mac-onu profile zte ZXAN(config-mac-perf-onu)#
Related Commands None
13.3.9 show perf-olt Syntax show perf-olt name1 profile name2
Function This command queries the alarm profile information related to the OLT interface performance statistics. 13-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameters Parameter
Description
Value
name1
Ethernet/MAC-related profile.
-
name2
Profile name, range: 1–32
-
characters.
Mode All modes except user mode
Usage Guidelines Before querying the profile information, users must first execute the ZXAN(config)#perf-e th-olt command or the ZXAN(config)#perf-mac-olt command to create relevant profiles.
Examples The following example shows how to query the alarm profile, whose name is zte, related to the OLT Ethernet performance statistics: ZXAN#show perf-olt eth profile zte perf-eth-olt profile zte -------------------------------------------------------------------------item: tx-bytes 15-min high alarm 1000000 restore 80000
Related Commands 13.3.5 perf-eth-olt profile 13.3.7 perf-mac-olt profile
13.3.10 show perf-onu Syntax show perf-onu name1 profile name2
Function This command queries the alarm profile information related to the ONU interface performance statistics.
Parameters Parameter
Description
Value
name1
Ethernet/MAC-related profile.
-
name2
Profile name, range: 1–32
-
characters. 13-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines Before querying the profile information, users must first execute the ZXAN(config)#perf-et h-onu command or the ZXAN(config)#perf-mac-onu command to create relevant profiles.
Examples The following example shows how to query the alarm profile, whose name is zte, related to the ONU Ethernet performance statistics: ZXAN#show perf-onu eth profile zte perf-eth-onu profile zte -------------------------------------------------------------------------item: tx-pkts 15-min high alarm 100000 restore 10000
Related Commands 13.3.6 perf-eth-onu profile 13.3.8 perf-mac-onu profile
13.3.11 show performance pon-onu Syntax show performance pon-onu {eth interface1 |mac interface2 } {current |current-15min-interval |his-15min-interval number1 ||}
Function This command queries the ONU statistics at the PON interface.
Parameters Parameter
Description
Value
eth
Ethernet statistics.
-
interface1
PON ONU interface, format:
-
epon-onu_shelf/slot/port:onu or gpon-onu_shelf/slot/port:onu. mac
MAC statistics.
-
interface2
PON ONU interface, format:
-
epon-onu_shelf/slot/port:onu or gpon-onu_shelf/slot/port:onu. current
Current statistics.
-
13-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameter
Description
Value
current-15min-interval
Current 15-minute statistics.
-
number1
Historical 15-minute statistics.
1–1
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the gpon-onu_1/3/1:1 current Ethernet statistics at the ONU interface: ZXAN#show performance pon-onu eth gpon-onu_0/3/1:1 current
Related Commands None
13.4 PON Version Management 13.4.1 cpe update-commit Syntax cpe update-commit name1 {type name2|interface1 name3}
Function This command performs the update+commit operation.
Parameters Parameter
Description
Value
name1
CPE version name.
-
name2
CPE type name.
-
interface1
Port number.
-
name3
CPE list.
-
Mode ZXAN# 13-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines The update+commit operation on a CPE involves the update operation and commit operation.
Examples The following example shows how to update a CPE at the gpon-olt_1/2/1 interface: ZXAN#cpe update-commit f460914.bin epon-olt_0/10/3 1 ZXAN#
Related Commands None
13.4.2 cpe update-reonline Syntax cpe update-reonline name1 {type name2 |interface1 name3}
Function This command performs the update operation.
Parameters Parameter
Description
Value
name1
CPE version name.
-
name2
CPE type name.
-
interface1
Port number.
-
name3
CPE list.
-
Mode ZXAN#
Usage Guidelines The activate+commit operation is implemented when a CPE goes online the next time.
Examples The following example shows how to update a CPE at the gpon-olt_1/2/1 interface: ZXAN#cpe update-reonline f460914.bin epon-olt_0/10/3 1 ZXAN#
13-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Related Commands None
13.4.3 show cpe information Syntax show cpe information interface1 name1
Function This command displays the current information of a CPE.
Parameters Parameter
Description
Value
interface1
Port number.
-
name1
Name of a specified CPE.
-
Mode All modes except user mode
Usage Guidelines The current information of a CPE includes the vendor name, equipment name, and current version. Users can set the rulist parameter to query the information of multiple CPEs.
Examples The following example shows how to display the current information of a CPE: ZXAN#show cpe information epon-olt_0/10/3 1 epon-onu_0/10/3: 1 CpeVendorName : ZTE CpeType
: F460
Region 1 Vertag Commited
Region 2 : V1.0.1P1T3 : No
Vertag Commited
: : No
Activated
: No
Activated
: No
Valid
: Yes
Valid
: No
Related Commands None
13-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
13.4.4 show cpe summary-of Syntax show cpe summary-of {task name1|manual} [{operating|fail|success|waiting} ]
Function This command displays the summary information of the current manual update or task update.
Parameters Parameter
Description
Value
task
Task update status.
-
name1
Task name.
-
manual
Manually updating.
-
operating
Position where the task is being
-
implemented. fail
Position where the task
-
execution fails. success
Position where the task
-
execution succeeds. waiting
Position where the task is
-
waiting to be executed.
Mode All modes except user mode
Usage Guidelines The summary information includes the current manual update information and task update information. The information only involves the position information of the CPEs that are being updated, waiting to be executed, updated successfully, and fail to be updated. A CPE update operation through command lines is manual update.
Examples The following example shows how to display the summary information the current manual update or task update: a. Execute the following command to display the current manual update information: ZXAN#show cpe summary-of manual Operating: Waiting:
13-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands Fail: Success: epon-onu_0/10/3: 1
b. Execute the following command to display the update information of a task whose name is "abc": ZXAN#show cpe summary-of task abc Operating: Waiting: Fail: Success: epon-onu_0/10/3: 1
Related Commands None
13.4.5 show cpe update-status Syntax show cpe update-status interface1 name1
Function This command displays the updated status of a CPE.
Parameters Parameter
Description
Value
interface1
Port number.
-
name1
Name of a specified CPE.
-
Mode All modes except user mode
Usage Guidelines The updated status of a CPE includes the current action, current updating progress, and failure cause. Users can set the rulist parameter to query the information of multiple CPEs.
Examples The following example shows how to display the updated status of a CPE: ZXAN#show cpe update-status epon-olt_0/10/3 1 epon-onu_0/10/3: 1
13-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Taskname
:
Manual Action
:
Update Status
:
In-progress Progress
: 4%
Failreason
:
None Committime
:
Related Commands None
13.5 PON Protection Management 13.5.1 protection Syntax protection group name1 {workpon interface1 protectpon interface2 name2 |dual-parenting-wo rk workpon interface3 protectpon name3 peer-ip ip_addr1 name4 |dual-parenting-protect wo rkpon name5 protectpon interface4 peer-ip ip_addr2 name6 } no protection group name1
Function This command creates a protection group.
Parameters Parameter
Description
Value
name1
Protection group name, range:
-
1–32 characters. interface1
Working PON interface.
-
interface2
Protective PON interface.
-
name2
Protection type.
-
dual-parenting-work
Inter-NE protecting the local
-
interface as protective interface. interface3
Working PON interface.
-
13-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameter
Description
Value
name3
Protective PON interface.
-
ip_addr1
IP address of the opposite host.
-
name4
Protection type.
-
dual-parenting-protect
Inter-NE protecting the local
-
interface as working interface. name5
Working PON interface.
-
interface4
Protective PON interface.
-
ip_addr2
IP address of the opposite host.
-
name6
Protection type.
-
Mode pon global configuration mode
Usage Guidelines The two mutually protective PON interfaces must be of the same PON interface type, and one PON interface cannot belong to different protection groups at the same time. To cancel the setting, use the no form of this command.
Examples The following example shows how to create a protection group whose name is "ZTE“. In this example, the 1/3/1 PON interface and 1/4/1 PON interface are set to be mutually protective. ZXAN(config)#pon ZXAN(config-pon)#protection group ZTE workpon epon-olt_1/3/1 protectpon epon-olt_1/4/1 typeB
Related Commands None
13.5.2 protection member Syntax protection member group name1 onu-list name2 [peer-onu-list name3 ] no protection member group name1 onu-list name2
Function This command creates a member of a typeC/D protection group. 13-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Protection group name, range:
-
1–32 characters. name2
ONU ID list of the working
-
interface, range: 1–64 characters. name3
ONU ID of the protective
-
interface, range: 1–64 characters.
Mode pon global configuration mode
Usage Guidelines This command is only valid for typeC/D protection groups. In intra-NE protection mode, the ONU of a specified onuList must exist under the working interface, and may not exist under the protective interface. In auto-mode, all ONUs under the PON interfaces will be automatically added to the protection group, and users need not specify an ONU list. The ONU information of a protection group will be automatically updated with the adding/deleting operations on ONUs. The ONU IDs under the working interface and the protective interface must be the same. In automatic mode, group members cannot be deleted. In inter-NE protection mode, the onuList parameter represents the ONU ID of the PON interface of the local NE. To cancel the setting, use the no form of this command.
Examples The following example shows how to create a protection group whose name is "d" and how to cancel the protection of the member whose ONU ID is 10 under the working interface. In this example, the ONU ID under the working interface is 10, and the ONU ID under the protective interface is 20. ZXAN(config-pon)#protection member group d onu-list 10 peer-onu-list 20 ZXAN(config-pon)#no protection member group d onu-list 10 ZXAN(config-pon)#
Related Commands None 13-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.5.3 protection prop Syntax protection prop group name1 {[mode name2 ] [wtr number1] }
Function This command sets the property information of a protection group.
Parameters Parameter
Description
Value
name1
Protection group name, range:
-
1–32 characters. name2
Protection mode (revertive or
-
non-revertive). number1
Interval of waiting for recovery,
0–86400
unit: second.
Mode pon global configuration mode
Usage Guidelines None
Examples The following example shows how to set properties of a protection group whose name is ”ZTE": ZXAN(config)#pon
ZXAN(config-pon)#protection prop group ZTE mode non-revertive wtr 120
Related Commands None
13.5.4 protection switch-command Syntax protection switch-command group name1 [onu-list name2] {name3 name4|lockoutprotect} no protection switch-command group name1 [onu-list name2] 13-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command sets switching modes of the working interface and protective interface of a protection group. There is no switching by default.
Parameters Parameter
Description
Value
name1
Protection group name, range:
-
1–32 characters. name2
ONU ID list of the working
-
interface, range: 1–64 characters. name3
Forcedly switching to protection
-
| Manual switchover. name4
Synchronizing data from
-
the protective interface to the working interface | Synchronizing data from the working interface to the protective interface. lockoutprotect
Locking the protection channel.
-
Mode pon global configuration mode
Usage Guidelines The priority of switchover requests are described as follows (from the highest to the lowest): Locking the protection channel -> Forcedly switching to protection -> Forcedly switching to work -> Manually switching to protection -> Manually switching to work To cancel the setting, use the no form of this command.
Examples The following example shows how to forcedly switch to protection: ZXAN(config)#pon
ZXAN(config-pon)#protection switch-command group ZTE force w2p
Related Commands None
13-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.5.5 show protection group information Syntax show protection group information [name1]
Function This command displays the information of a specified protection group.
Parameters Parameter
Description
Value
name1
PON protection group name,
-
range: 1–32 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the information of a protection group: ZXAN(config-pon)#show protection group information zte
Name :
zte
Work channel interface :
epon-olt_0/3/1
Protect channel interface: epon-olt_0/4/1 Protection type :
typeC
Protection mode:
non-revertive
Time to restore(s):
0
onu 1: Active channel:
protect-channel
Alarm request: Work channel: Protect channel: Externel request:
ONUSF ONUSF no-request
Related Commands None
13-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
13.5.6 show protection group list Syntax show protection group list
Function This command lists the created protection groups.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to list the created protection groups: ZXAN(config)#show protection group list
Related Commands None
13.6 Optical Profile Parameter Configuration 13.6.1 show pon power attenuation Syntax show pon power attenuation interface1
Function This command queries the optical power loss between the OLT and the ONU.
13-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameters Parameter
Description
Value
interface1
PON ONU interface, format:
-
epon-onu_shelf/slot/olt:onu or gpon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines This command requires that there is at least one optical module; otherwise, the command result will be N/A
Examples The following example shows how to query the optical power loss between the OLT and the ONU: ZXAN(config)#show pon power attenuation gpon-onu_0/3/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
13.6.2 show pon power olt-rx Syntax show pon power olt-rx interface1
Function This command queries the receiving optical power at the OLT.
Parameters Parameter
Description
Value
interface1
PON ONU interface, format:
-
epon-onu_shelf/slot/olt:onu or gpon-onu_shelf/slot/olt:onu.
13-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines This command requires that there is at least one optical module; otherwise, the command result will be N/A
Examples The following example shows how to query the receiving optical power at the OLT: ZXAN(config-gpon)#show pon power olt-rx gpon-onu_0/3/1:1 Rx power: -22.687(dbm)
Related Commands None
13.6.3 show pon power olt-tx Syntax show pon power olt-tx interface1
Function This command queries the transmitting optical power at the OLT.
Parameters Parameter
Description
Value
interface1
PON OLT interface, format:
-
epon-olt_shelf/slot/olt or gpon-olt_shelf/slot/olt.
Mode All modes except user mode
Usage Guidelines This command requires that there is at least one optical module; otherwise, the command result will be N/A
Examples The following example shows how to query the transmitting optical power at the OLT: ZXAN(config-pon)#show pon power olt-tx gpon-olt_0/3/1
13-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands Tx power: 2.106(dbm)
Related Commands None
13.6.4 show pon power onu-rx Syntax show pon power onu-rx interface1
Function This command queries the receiving optical power at the ONU.
Parameters Parameter
Description
Value
interface1
PON interface, format:
-
epon-onu_shelf/slot/olt:onu, gpon-onu_shelf/slot/olt:onu, epon-olt_shelf/slot/olt, or gpon-olt_shelf/slot/olt.
Mode All modes except user mode
Usage Guidelines This command requires that there is at least one optical module; otherwise, the command result will be N/A
Examples The following example shows how to query the receiving optical power at the ONU: ZXAN(config-gpon)#show pon power onu-rx gpon-onu_0/3/1:1 Rx power: -22.756(dbm)
Related Commands None
13-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
13.6.5 show pon power onu-tx Syntax show pon power onu-tx interface1
Function This command queries the transmitting optical power at the ONU.
Parameters Parameter
Description
Value
interface1
PON interface, format:
-
epon-onu_shelf/slot/olt:onu, gpon-onu_shelf/slot/olt:onu, epon-olt_shelf/slot/olt, or gpon-olt_shelf/slot/olt.
Mode All modes except user mode
Usage Guidelines This command requires that there is at least one optical module; otherwise, the command result will be N/A
Examples The following example shows how to query the transmitting optical power at the ONU: ZXAN(config-pon)#show pon power onu-tx epon-onu_0/3/1:1 Tx power: N/A
Related Commands None
13.6.6 show pon transceiver-threshold Syntax show pon transceiver-threshold interface1
Function This command queries the optical parameter threshold information of a specified PON interface. 13-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameters Parameter
Description
Value
interface1
PON ONU interface, format:
-
epon-onu_shelf/slot/olt:onu or gpon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines When the gpon-onu_shelf/slot/olt:onu|epon-onu_shelf/slot/olt:onu interface is used, it indicates querying the receiving optical power threshold.
Examples The following example shows how to query the receiving optical power threshold of a specified PON interface: ZXAN#show pon transceiver-threshold gpon-onu_0/3/1:1 Rx power threshold(dbm) : Upper alarm:
-3.000
Lower alarm : -34.000
Upper warning:-3.000
Lower warning :-34.000
Detect period: 900(s) ZXAN#
Related Commands None
13.6.7 transceiver detect-period Syntax transceiver detect-period interface1 number1
Function This command configures the ONU RSSI detection period.
13-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
PON ONU inter-
-
face, format: epononu_shelf/slot/oltId:onuId or gpon-onu_shelf/slot/oltId:onuId. number1
Detection period.
60–4294967295
Unit: second. Default value: 900 seconds.
Mode pon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure the ONU RSSI detection period for the No. 1 ONU at slot 3 to 120 seconds: ZXAN(config-pon)#transceiver detect-period gpon-onu_1/3/1:1 120
Related Commands None
13.6.8 transceiver-threshold rx-power Syntax transceiver-threshold rx-power interface1 [{[high-alarm name1] [high-warning name2] [low-w arning name3] [low-alarm name4] } ]
Function This command sets the optical module alarm thresholds for a specified PON.
13-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameters Parameter
Description
Value
interface1
PON ONU inter-
-
face, format: epononu_shelf/slot/oltId:onuId or gpon-onu_shelf/slot/oltId:onuId. name1
Alarm threshold upper limit.
-
Range: 1–16 characters. Type: float, -34.0 to -3.0dBm. Default value: -3.0 dBm. name2
Notification threshold upper
-
limit. Range: 1–16 characters. Type: float, -34.0 to -3.0dBm. Default value: -3.0 dBm. name3
Notification threshold lower limit.
-
Range: 1–16 characters. Type: float, -34.0 to -3.0dBm. Default value: -34.0 dBm. name4
Alarm threshold lower limit.
-
Range: 1–16 characters. Type: float, -34.0 to -3.0dBm. Default value: -34.0 dBm.
Mode pon global configuration mode
Usage Guidelines The receiving optical power alarm thresholds must be configured for a specified ONU.
Examples The following example shows how to set the receiving optical power alarm thresholds for a specified PON. In this example, the specified ONU is ONU_1/3/1:1. ZXAN(config-pon)#transceiver-threshold rx-power epon-onu_1/3/1:1 high-alarm -5 high-warning -10 low-warning -15 low-alarm -20
Related Commands None
13-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
13.7 Rogue ONU Detection 13.7.1 rogue-onu-detect Syntax rogue-onu-detect number1 {disable|enable locate {disable|enable auto-shutdown name1}}
Function This command sets the rogue ONU detection function.
Parameters Parameter
Description
Value
number1
Slot number of a card, range:
1–19
1–9, 12–19 disable
Disabling the rogue ONU
-
detection function. enable
Enabling the rogue ONU
-
detection function. name1
Whether to enable the automatic
-
disabling rogue ONU function.
Mode pon global configuration mode
Usage Guidelines None
Examples The following example shows how to enable the rogue ONU detection function for the service card at slot 5: ZXAN(config-pon)#rogue-onu-detect 5 enable locate disable
Related Commands None
13-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.7.2 show pon rogue-onu-detect Syntax show pon rogue-onu-detect [number1]
Function This command queries the rogue ONU detection configuration.
Parameters Parameter
Description
Value
number1
Slot number, range: 2–6, 9–14
1–14
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the rogue ONU detection configuration at slot 3: ZXAN#show pon rogue-onu-detect 3 Card
Detect state
Locate state
Auto Shutdown
................................................... 0/3
disable
N/A
N/A
ZXAN#
Related Commands None
13.7.3 show pon rogue-onu-info Syntax show pon rogue-onu-info interface1
Function This command queries information related to the rogue ONU.
13-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
PON OLT interface, format:
-
epon-olt_shelf/slot/olt or gpon-olt_shelf/slot/olt
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query information related to the rogue ONU: ZXAN(config-if)#show pon rogue-onu-info gpon-olt_1/3/1
Related Commands None
13.8 ONU In-Band Management 13.8.1 ip-pool Syntax ip-pool name1 begin ip_addr1 end ip_addr2 ip_addr3 vlan number1 priority number2 route ip_ addr4 ip_addr5 ip_addr6 no ip-pool name1
Function This command creates an IP address pool.
Parameters Parameter name1
Description
Value
IP address pool name, range:
-
1–64 characters. ip_addr1
Starting address of the IP
-
address pool. 13-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameter
Description
Value
ip_addr2
Ending address of the IP
-
address pool. ip_addr3
Mask of the IP address pool.
-
number1
A marked VLAN ID.
1–4094
number2
A marked 802.1p priority.
0–7
ip_addr4
IP address.
-
ip_addr5
IP mask.
-
ip_addr6
Gateway.
-
Mode pon global configuration mode
Usage Guidelines A referred IP address pool cannot be deleted or modified. To cancel the setting, use the no form of this command.
Examples The following example shows how to create an IP address pool: ZXAN(config)#pon
ZXAN(config-pon)#ip-pool test begin 10.1.1.2 end 10.1.1.254 255.255.255.0 vlan 100 priority 5 route 10.10.10.0 255.255.255.0 10.1.1.1
Related Commands 13.8.3 show pon ip-pool
13.8.2 ip-pool-bind Syntax ip-pool-bind interface1 name1 no ip-pool-bind interface1
Function This command binds an IP address pool at the OLT PON interface.
13-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
PON OLT interface, format:
-
epon-olt_shelf/slot/port or gpon-olt_shelf/slot/port name1
IP address pool name, range:
-
1–64 characters
Mode pon global configuration mode
Usage Guidelines One PON interface can only be bound with an IP address pool. It can be bound with a new IP address pool only after the old bound IP address pool is unbound. To cancel the setting, use the no form of this command.
Examples The following example shows how to bind the gpon-olt_1/3/1 interface to the IP address pool whose name is "test": ZXAN(config-pon)#ip-pool-bind gpon-olt_1/3/1 test
Related Commands 13.8.4 show pon ip-pool-bind
13.8.3 show pon ip-pool Syntax show pon ip-pool [name1 ]
Function The command views an IP address pool.
Parameters Parameter name1
Description
Value
IP address pool name, range:
-
1–64 characters.
Mode All modes except user mode 13-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Usage Guidelines None
Examples The following example shows how to view the IP address pool whose name is "test": ZXAN#show pon ip-pool IP pool name
:test
Begin IP
:10.1.1.1
End IP
:10.1.1.2
Mask
:255.255.255.0
Vlan
:100
Priority
:5
Subnet
:10.10.10.0
Netmask
:255.255.255.0
Nexthop
:10.1.1.1
ZXAN#
Related Commands None
13.8.4 show pon ip-pool-bind Syntax show pon ip-pool-bind {interface1 |name1 }
Function This command views the information of the IP address pool bound at an interface.
Parameters Parameter interface1
Description
Value
PON OLT interface, format:
-
epon-olt_shelf/slot/oltId or gpon-olt_shelf/slot/oltId. name1
IP address pool name, range:
-
1–64 characters.
Mode All modes except user mode
13-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to view the information of the IP address pool bound at the gpon-olt_0/3/1 interface: ZXAN(config-pon)#show pon ip-pool-bind gpon-olt_0/3/1
OLT: gpon-olt_0/3/1
IP pool name: test
Related Commands None
13.9 Profile Configuration Management 13.9.1 commit Syntax commit
Function This command updates the modified configuration of a profile to an ONU that uses the profile.
Parameters None
Mode gpon-line configuration mode, gpon-remote-onu configuration mode
Usage Guidelines The commit commands under other profile configuration modes are the same as this command.
Examples None
13-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Related Commands None
13.9.2 onu-profile Syntax onu-profile name1 name2 name3 no onu-profile name1 name2 name3
Function This command creates an EPON/GPON alarm, line, performance, or remote management profile, and the corresponding configuration profile mode is entered.
Parameters Parameter
Description
Value
name1
Whether to create a GPON or
-
EPON profile. name2
Whether to create an alarm,
-
line, performance, or remote management profile. name3
Profile name, range: 1–32
-
characters.
Mode pon global configuration mode
Usage Guidelines l l
l
After a profile is created successfully, users can execute ZXAN(config-if)#onu profile to apply the configuration to a specific ONU. After a profile is modified, users can execute the commit command to update the configuration of the ONU that uses the profile, or execute the revert command to cancel the update. To cancel the setting, use the no form of this command.
Examples The following example shows how to create a GPON remote management profile whose name is "zte“. After the profile is created, the corresponding configuration mode is entered. ZXAN(config-pon)#onu-profile gpon remote zte ZXAN(config-gpon-remote)#
13-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 13.9.1 commit
13.9.3 revert Syntax revert
Function This command cancels the modified configuration applied on an ONU profile.
Parameters None
Mode gpon-line configuration mode, gpon-remote-onu configuration mode
Usage Guidelines The revert commands under other profile configuration modes are the same as this command.
Examples None
Related Commands None
13.9.4 show pon onu onu-profile Syntax show pon onu onu-profile interface1
Function This command queries the association information of an ONU and the line profile, remote management profile, alarm profile, and performance management profile.
13-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameters Parameter
Description
Value
interface1
PON ONU interface, format:
-
epon-onu_shelf/slot/olt:onu or gpon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the association information of the gpon-onu_0/3/1:1 and each profile: ZXAN(config-if)#sho pon onu onu-profile gpon-onu_0/3/1:1 profile
profile type
configure result
last handle
-------------------------------------------------------------------N/A
line
N/A
N/A
N/A
remote
N/A
N/A
N/A
alarm
N/A
N/A
N/A
performance
N/A
N/A
Related Commands None
13.9.5 show pon onu-profile Syntax show pon onu-profile name1 name2 [name3 [cfg [committed] ] ]
Function This command queries the basic information or detailed information of a service profile.
13-45 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
GPON/EPON profile
-
information. name2
GPON/EPON profile type: line,
-
alarm, performance, remote. name3
Profile name, range: 1–64
-
groups of translations. cfg
Whether to display the profile
-
configuration. committed
Whether to display associated
-
information of the profile.
Mode All modes except user mode
Usage Guidelines ZXAN(config-pon)#show pon onu-profile gpon remote ProfileName —————zte
Examples None
Related Commands None
13.10 Other Commands 13.10.1 auto-replace-offline-onu Syntax auto-replace-offline-onu number1 name1
Function This command enables/disables the automatic-replace-offline-onu function. 13-46 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Parameters Parameter
Description
Value
number1
Slot number, range: 1–9, 12–19.
1–19
name1
Whether to enable the
-
automatic-replace-offline-onu function.
Mode pon global configuration mode
Usage Guidelines None
Examples The following example shows how to enable the automatic-replace-offline-onu function at slot 3: ZXAN(config)#pon ZXAN(config-pon)#auto-replace-offline-onu 3 enable
Related Commands None
13.10.2 clear Syntax clear interface1
Function This command clears all data at a PON interface.
Parameters Parameter interface1
Description
Value
PON OLT interface, format:
-
epon-olt_shelf/slot/olt or gpon-olt_shelf/slot/olt.
Mode pon global configuration mode 13-47 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to clear all data at the gpon-olt_1/3/1 interface: ZXAN(config)#pon ZXAN(config-pon)#clear gpon-olt_1/3/1 [Successful] ZXAN(config-pon)#
Related Commands None
13.10.3 copy epon olt Syntax copy epon olt interface1 interface2
Function This command copies data between EPON PON interfaces.
Parameters Parameter
Description
Value
interface1
Source EPON OLT interface,
-
format: epon-olt_shelf/slot/olt interface2
Destination EPON OLT
-
interface, format: epon-olt_shelf/slot/olt
Mode pon global configuration mode
Usage Guidelines The following command is applied for GPON to implement the same function as this command: ZXAN(config-pon)#copy gpon olt gpon-olt_shelf/slot/portA gpon-olt_shelf/slot/portB
13-48 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Examples The following example shows how to copy data from the epon-olt_1/3/1 interface to the epon-olt_1/6/1 interface: ZXAN(config-pon)#copy epon olt epon-olt_1/3/1 epon-olt_1/6/1
Related Commands None
13.10.4 copy epon onu Syntax copy epon onu interface1 interface2
Function This command copies data between EPON ONUs.
Parameters Parameter
Description
Value
interface1
Source EPON ONU
-
interface, format: epon-onu_shelf/slot/olt:onu interface2
Destination EPON ONU
-
interface, format: epon-onu_shelf/slot/olt:onu
Mode pon global configuration mode
Usage Guidelines The following command is applied for GPON to implement the same function as this command: ZXAN(config-pon)#copy gpon onu gpon-onu_shelf/slot/olt:onuA gpon-onu_shelf/slot/olt:onuB
Examples The following example shows how to copy data from epon-onu_1/3/1:1 to epon-onu_1/6/1:1: ZXAN(config-pon)#copy epon onu epon-onu_1/3/1:1 epon-onu_1/6/1:1
13-49 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
13.10.5 onu power-save Syntax onu power-save {interface1 } mode {[dozeing-sleep ] [fast-sleep ] [deep-sleep ] [power-shedding ]} no onu power-save {interface1 } mode {[dozeing-sleep ] [fast-sleep ] [deep-sleep ] [power-shed ding ] }
Function This command configures the ONU power-saving mode.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu mode
Power-saving mode, which can
-
be: l
dozeing-sleep
l
fast-sleep
l
deep-sleep
l
power-shedding
l
standby power supply
Mode pon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the power-saving mode of gpon-onu_1/3/1:1 to be fast-sleep: ZXAN(config)#pon ZXAN#(config-pon)#onu power-save gpon-onu_1/3/1:1 mode fast-sleep
Related Commands None 13-50 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.10.6 onu profile proto-ctrl Syntax onu profile proto-ctrl name1 [{[dhcp-relay name2 ] [dhcp-option82 name3 ] [pppoe-intermedi ate name4 ] [arp-inspection name5 ] [iptv-age-by-dhcp-lease name6 ] } ] no onu profile proto-ctrl name1
Function This command configures an ONU protocol control profile.
Parameters Parameter
Description
Value
name1
Profile name, range: 1–64
-
characters. name2
Whether to enable the DHCP
-
relay function. name3
Whether to enable the
-
DHCP option82 function. name4
Whether to enable the PPPoE
-
mediation function. name5
Whether to enable the
-
ARP detecting function. name6
Whether to enable the function
-
of making the IPTV aging time equal to the DHCP leasing time.
Mode pon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU protocol control profile whose name is "zte": ZXAN(config)#pon ZXAN(config-pon)#onu profile proto-ctrl zte dhcp-relay enable
13-51 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 15.4.74 proto-proc
13.10.7 onu profile proto-limit Syntax onu profile proto-limit name1 [{[arp number1 ] [dhcp number2 ] [pppoe number3 ] [igmp numb er4 ] [cfm number5 ] } ] no onu profile proto-limit name1 [{[arp ] [dhcp ] [pppoe ] [igmp ] [cfm ] } ]
Function This command configures an ONU protocol rate-limit profile.
Parameters Parameter name1
Description
Value
Profile name, range: 1–64
-
characters. number1
ARP frame rate limit, and there
0–65534
is no limit by default. number2
DHCP frame rate limit, and
0–65534
there is no limit by default. number3
PPPoE frame rate limit, and
0–65534
there is no limit by default. number4
IGMP frame rate limit, and there
0–65534
is no limit by default. number5
CFM frame rate limit, and there
0–65534
is no limit by default. arp
Cancel the ARP frame rate limit.
-
dhcp
Cancel the DHCP frame rate
-
limit. pppoe
Cancel the PPPoE frame rate
-
limit. igmp
Cancel the IGMP frame rate
-
limit. cfm
Cancel the CFM frame rate limit.
-
Mode pon global configuration mode 13-52 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU protocol rate-limit profile whose name is "zte": ZXAN(config)#pon ZXAN(config-pon)#onu profile proto-limit zte arp 1000 pppoe 1000
Related Commands 15.4.74 proto-proc
13.10.8 show pon onu profile proto-ctrl Syntax show pon onu profile proto-ctrl [name1 ]
Function This command displays the information of an ONU protocol control policy profile.
Parameters Parameter
Description
Value
name1
Profile name, range: 1–64
-
characters.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the information of an ONU protocol control policy profile: ZXAN(config-pon)#show pon onu profile proto-ctrl Profile-name:
zte
DHCP relay:
disable
DHCP option82:
disable
PPPoE intermediate:
disable
ARP inspection:
disable
13-53 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference IPTV age by DHCP lease: enable
Related Commands 13.10.6 onu profile proto-ctrl
13.10.9 show pon onu profile proto-limit Syntax show pon onu profile proto-limit [name1]
Function This command displays the information of the ONU protocol threshold policy profile.
Parameters Parameter name1
Description
Value
Profile name, range: 1–64
-
characters.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the information of the ONU protocol threshold policy profile: ZXAN(config-pon)#show pon onu profile proto-limit Profile-name:zte ARP:
no limit
DHCP:
no limit
PPPoE:
no limit
IGMP:
no limit
CFM:
no limit
ZXAN(config-pon)#
Related Commands 13.10.7 onu profile proto-limit
13-54 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.10.10 show pon onu uncfg Syntax show pon onu uncfg [{number1 |interface1[number2] } ] [[mac] [sn] [pw] [hexpw] [loid] [loidpw] [model] [version] ]
Function This command displays the information of unconfigured ONUs.
Parameters Parameter
Description
Value
number1
Slot number, range: 2–9, 12–19.
2–19
PON OLT interface, format:
-
interface1
epon-olt_shelf/slot/olt or gpon-olt_shelf/slot/olt. number2
ONU ID.
1–128
mac
ONU MAC address.
-
sn
ONU serial number.
-
pw
ONU password.
-
hexpw
ONU hexadecimal password.
-
loid
ONU LOID.
-
loidpw
ONU LOID and password.
-
model
ONU mode1.
-
version
ONU version.
-
Mode All modes except user mode
Usage Guidelines Users can execute the uncfg-onu-display-info to set the number of items to be displayed.
Examples The following example shows how to display the information of unconfigured ONUs: ZXAN#show pon onu uncfg OltIndex
LOID
------------------------------------------------------------------------gpon-olt_0/3/1
123456789
13-55 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 13.10.12 uncfg-onu-display-info 13.10.11 show pon uncfg-onu-display-info
13.10.11 show pon uncfg-onu-display-info Syntax show pon uncfg-onu-display-info
Function This command queries the number of items of the unconfigured ONUs to be displayed.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the number of items of the unconfigured ONUs to be displayed: ZXAN(config-pon)#show pon uncfg-onu-display-info Column of unconfigured ONU( * means visible) MAC
:
SN
:
PW
:
HEXPX
:
LOID
:*
LOIDPW
:
MODEL
:
VERSION
:
ZXAN(config-pon)#
Related Commands 13.10.12 uncfg-onu-display-info 13.10.10 show pon onu uncfg 13-56 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 13 PON Comands
13.10.12 uncfg-onu-display-info Syntax uncfg-onu-display-info [{[mac] [sn] [pw] [hexpw] [loid] [loidpw] [model] [version] } ]
Function This command sets the number of items of the unconfigured ONUs to be displayed.
Parameters Parameter
Description
Value
mac
Unconfigured ONU MAC
-
address. sn
Unconfigured ONU serial
-
number. pw
Unconfigured ONU password.
-
hexpw
Unconfigured ONU hexadecimal
-
password. loid
Unconfigured ONU logical ID.
-
loidpw
Unconfigured ONU logical ID
-
and password. model
Unconfigured ONU mode.
-
version
Unconfigured ONU version.
-
Mode pon global configuration mode
Usage Guidelines None
Examples The following example shows how to set the number of items of the unconfigured ONUs to be displayed: ZXAN(config)#pon ZXAN(config-pon)#uncfg-onu-display-info loid
Related Commands 13.10.11 show pon uncfg-onu-display-info 13.10.10 show pon onu uncfg 13-57 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
13-58 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14
EPON Commands Table of Contents EPON Global Configuration......................................................................................14-1 EPON OLT Interface Configuration.........................................................................14-40 EPON ONU Interface Configuration .......................................................................14-62 EPON ONU Remote Management .........................................................................14-91
14.1 EPON Global Configuration 14.1.1 alarm mask Syntax alarm mask name1 alarm-id number1 name2
Function This command configures OLT alarm information.
Parameters Parameter
Description
Value
name1
Shelf/Slot number.
-
number1
Alarm ID, range:
0–42949672955
0–42949672955. name2
Whether to enable the alarm ID.
-
Mode epon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure the OLD alarm ID of shelf 1 slot 1 to 1 and enable it. ZXAN(config)#epon
14-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-epon)#alarm mask 1/1 alarm-id 1 enable
Related Commands 14.1.27 show epon alarm-mask
14.1.2 auto-dispatch-set Syntax auto-dispatch-set name1 name2
Function This command enables or disables the automatic template dispatch function of an EPON ONU.
Parameters Parameter
Description
Value
name1
ONU type name.
-
name2
Whether to enable the automatic
-
dispatch function.
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to enable the automatic dispatch function of the ONU whose type is "ZTE-D400": ZXAN(config)#epon ZXAN(config-epon)#auto-dispatch-set ZTE-D400 enable
Related Commands 14.1.29 show epon auto-dispatch-set
14.1.3 bandwidth-profile profile-name Syntax bandwidth-profile profile-name {create name1|rename oldname name2 newname name3} 14-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
no bandwidth-profile profile-name name1
Function This command creates or modifies an SLA name profile.
Parameters Parameter
Description
Value
create
Creating a new profile
-
name1
Profile name
-
rename
rename
-
oldname
oldname
-
name2
Old name
-
newname
newname
-
name3
New name
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an SLA name profile whose name is "zte": ZXAN(config)#epon ZXAN(config-epon)#onu-sla-profile profile-name create zte
Related Commands None
14.1.4 custom-oam Syntax custom-oam name1 name2
Function This command configures the discovery type of an expanded OAM.
14-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number name2
functional, traditional, or
-
additional
Mode epon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure the discovery type of the expanded OAM at slot 0/1 to "traditional“: ZXAN(config)#epon ZXAN(config-epon)#custom-oam 1/1 traditional
Related Commands 14.1.30 show epon custom-oam
14.1.5 dba Syntax dba name1 name2
Function This command configures the computing method for dynamic bandwidth allocation.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number name2
Three algorithms
-
Mode wdm-pon global configuration mode, epon global configuration mode 14-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to configure the computing method for dynamic bandwidth allocation for all EPON interfaces at shelf 1 slot 4 to "plato". ZXAN(config)#epon ZXAN(config-epon)#dba 1/4 plato
Related Commands None
14.1.6 delete onu-remote-data Syntax delete onu-remote-data
Function This command deletes the remote ONU data.
Parameters None
Mode epon global configuration mode
Usage Guidelines None
Examples The following example shows how to delete the remote ONU data: ZXAN(config)#epon ZXAN(config-epon)#delete onu-remote-data
Related Commands None
14-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.1.7 ems-report Syntax ems-report name1 name2 name3
Function This command enables or disables the EMS information reporting function.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. name2
unauthonu, configfailonu, or
-
misspeedonu type. name3
Whether to enable the EMS
-
information reporting function.
Mode epon global configuration mode
Usage Guidelines None
Examples The following example shows how to enable the EMS information reporting function for all unauthenticated ONUs at slot 1/1: ZXAN(config)#epon ZXAN(config-epon)#ems-report 1/1 unauthonu enable
Related Commands 14.1.32 show epon ems-report
14.1.8 encrypt algorithm Syntax encrypt algorithm name1 {aes |triple-churning [key-update-period number1] [churning-timer number2] }
14-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command configures the properties of the OLT encryption function.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. aes
An encryption algorithm
-
triple-churning
Triple churning encryption
-
algorithm number1
Key update time. This value
3–255
must be larger than the churning period. number2
Expire time for no response for
1–255
key update. This value must be less than the key update period.
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines The following two parameters must be configured only when the algorithm is set to triple churning encryption algorithm: l l
key update time expire time for no response for key update
The following condition must be satisfied in parameter setting: expire time for no response for key update ≤ 10 × key update time
Examples The following example shows how to set the encryption algorithm for all EPON OLT interfaces at shelf 1 slot 4 to triple churning encryption algorithm: ZXAN(config)#epon ZXAN(config-epon)#encrypt algorithm 1/4 triple-churning key-update-period 30 churning-timer 200
Related Commands None
14-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.1.9 fax profile Syntax fax profile name1 [t38 name2] [control-mode name3] no fax profile name1
Function This command creates or modifies a fax template.
Parameters Parameter
Description
Value
name1
Profile name
-
name2
Whether to enable the profile
-
name3
Control mode
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a fax profile. In this example, the profile name is "zte" and the control mode is "rtcp". ZXAN(config)#epon ZXAN(config-epon)#fax profile zte control-mode rtcp
Related Commands None
14.1.10 h248-profile Syntax h248-profile name1 {register-server ip ip_addr1 [port number1] |backup-register-server ip ip_ addr2 [port number2] |mg register-mode name2 [port number3 ] |heartbeat-mode name3 [rtp-l ink-test name4] [cycle number4] [count number5] } no h248-profile name1
14-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command creates or modifies an h248 profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
ip_addr1
Registered IP address of the
-
soft switching server number1
Port ID. The default value is
1001–65535
2944. ip_addr2
Registered IP address of the
-
standby soft switching server. number2
Port ID. The default value is
1001–65535
2944. name2
domainname, ip, or
-
devicename. number3
Port ID. The default value is
1001–65535
2944. name3
none, h248-service-change, or
-
h248ctc. name4
Whether to enable the rtp link
-
test. number4
Heartbeat period. The default
10–120
value is 30. number5
Number of heartbeats. The
1–3
default value is 3.
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an h248 profile. In this example, the profile name is "zte" and the heartbeat mode is "h248ct". ZXAN(config)#epon ZXAN(config-epon)#h248 zte heartbeat-mode h248ctc
14-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.1.11 hardwareLog Syntax hardwareLog name1 name2
Function This command enables or disables the hardwareLog function.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. name2
Whether to enable the
-
hardwareLog function.
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to enable the hardwareLog function at slot 1/1: ZXAN(config)#epon ZXAN(config-epon)#hardwareLog 1/1 enable
Related Commands None
14.1.12 maccode Syntax maccode {add name1 |delete name2 |clear}
Function This command configures the ONU mac code function. 14-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter name1
Description
Value
Adding a mac code.
-
MAC: 002134XXXXXX name2
Deleting a mac code.
-
MAC: 002134XXXXXX clear
Clearing mac codes
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to add a mac code: ZXAN(config)#epon ZXAN(config-epon)#maccode add 123456789000
Related Commands None
14.1.13 mgcp-profile Syntax mgcp-profile name1 {register-server ip ip_addr1 [port number1] |backup-register-server ip ip _addr2 [port number2 ] |heartbeat mode name2 [cycle number3] [count number4 ] |mg registermode name3 [port number5] } no mgcp-profile name1
Function This command creates or modifies an MGCP profile.
Parameters Parameter
Description
Value
name1
Profile name
-
ip_addr1
Registered IP address of the
-
soft switching server 14-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number1
Port ID. The default value is
1001–65535
2727. ip_addr2
Registered IP address of the
-
standby soft switching server. number2
1001–65535
Port ID. The default value is 2727.
name2
none or mgcp
-
number3
Heartbeat period. The default
30–3600
value is 30 s. number4
Number of heartbeats. The
1–3
default value is 3. name3
domainname, ip, or
-
devicename. number5
Port ID. The default value is
1001–65535
2427.
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an MGCP profile. In this example, the profile name is "zte" and the heartbeat mode is "mgcp". ZXAN(config)#epon ZXAN(config-epon)#mgcp-profile zte heartbeat mode mgcp
Related Commands None
14.1.14 oam-mac Syntax oam-mac name1 hexadecimal1
Function This command configures the source MAC address of an OAM frame. 14-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. hexadecimal1
Source MAC address of the
-
OAM frame.
Mode epon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure the source MAC address of the OLT OAM frame at slot 1/1: ZXAN(config)#epon ZXAN(config-epon)#oam-mac 1/1 1111.2222.3333
Related Commands None
14.1.15 onu-authentication-mode auth-loid-as-sn Syntax onu-authentication-mode auth-loid-as-sn name1 name2
Function This command enables or disables the function of authenticating loid as sn.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. name2
Whether to enable the function
-
of authenticating loid as sn.
Mode epon global configuration mode 14-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to enable the OLT function of authenticating loid as sn at slot 1/1: ZXAN(config)#epon ZXAN(config-epon)#onu-authentication-mode auth-loid-as-sn 1/1 enable
Related Commands None
14.1.16 onu-authentication-mode register Syntax onu-authentication-mode register name1 name2
Function This command configures the OLT hardware authentication mode.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. name2
Whether to enable the OLT
-
hardware authentication mode.
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to enable the OLT hardware authentication mode at slot 1/1: ZXAN(config)#epon ZXAN(config-epon)#onu-authentication-mode register 1/1 enable
14-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Related Commands None
14.1.17 onu-authentication-mode service Syntax onu-authentication-mode service name1 {sn |mac |loid [unknown-onu-reject name2] |hybrid [unknown-onu-reject name3] }
Function This command configures the software authentication mode.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. sn
sn authentication mode
-
mac
mac authentication mode
-
loid
loid authentication mode
-
name2
Whether to enable.
-
hybrid
hybrid authentication mode
-
name3
Whether to enable.
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure the OLT software authentication mode at slot 1/1 to ”sn": ZXAN(config)#epon ZXAN(config-epon)#onu-authentication-mode service 1/1 sn
Related Commands None 14-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.1.18 onu-queue-profile Syntax onu-queue-profile name1 {dba {deactivate |activate cycle number1 scheme {sp |wrr |sp_wrr high-priority number2} } |queue1 number3 number4 number5 number6 number7 |[queue2 numb er8 number9 number10 number11 number12] |[queue3 number13 number14 number15 number16 number17] |[queue4 number18 number19 number20 number21 number22 ] |[queue5 number23 number24 number25 number26 number27 ] |[queue6 number28 number29 number30 number31 number32] |[queue7 number33 number34 number35 number36 number37 ] |[queue8 number38 number39 number40 number41 number42] } no onu-queue-profile name1
Function This command creates or modifies an SLA queue profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
deactivate
Deactivating the profile.
-
activate
Activating the profile.
-
number1
Cycling, unit: TQ.
1–65535
sp
Strict priority queue scheduling.
-
wrr
Weighted cyclic queue
-
scheduling or other weighted scheduling algorithm. sp_wrr
Weighted scheduling algorithm.
-
number2
High priority value.
0–7
number3
Fixed packet size.
64–1518
number4
Fixed bandwidth.
0–3906
number5
Guaranteed bandwidth.
0–3906
number6
Best bandwidth.
0–3906
number7
Weight.
0–100
number8
Fixed packet size.
64–1518
number9
Fixed bandwidth.
0–3906
number10
Guaranteed bandwidth.
0–3906
number11
Best bandwidth.
0–3906
number12
Weight.
0–100
14-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
number13
Fixed packet size.
64–1518
number14
Fixed bandwidth.
0–3906
number15
Guaranteed bandwidth.
0–3906
number16
Best bandwidth.
0–3906
number17
Weight.
0–100
number18
Fixed packet size.
64–1518
number19
Fixed bandwidth.
0–3906
number20
Guaranteed bandwidth.
0–3906
number21
Best bandwidth.
0–3906
number22
Weight.
0–100
number23
Fixed packet size.
64–1518
number24
Fixed bandwidth.
0–3906
number25
Guaranteed bandwidth.
0–3906
number26
Best bandwidth.
0–3906
number27
Weight.
0–100
number28
Fixed packet size.
64–1518
number29
Fixed bandwidth.
0–3906
number30
Guaranteed bandwidth.
0–3906
number31
Best bandwidth.
0–3906
number32
Weight.
0–100
number33
Fixed packet size.
64–1518
number34
Fixed bandwidth.
0–3906
number35
Guaranteed bandwidth.
0–3906
number36
Best bandwidth.
0–3906
number37
Weight.
0–100
number38
Fixed packet size.
64–1518
number39
Fixed bandwidth.
0–3906
number40
Guaranteed bandwidth.
0–3906
number41
Best bandwidth.
1–3906
number42
Weight.
0–100
Mode wdm-pon global configuration mode, epon global configuration mode
14-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU SLA queue profile whose name is "zte": ZXAN(config)#epon ZXAN(config-epon)#onu-queue-profile zte dba activate cycle 1 scheme sp
Related Commands None
14.1.19 onu-sla-profile profile-name Syntax onu-sla-profile profile-name {create name1 |rename oldname name2 newname name3} no onu-sla-profile profile-name name1
Function This command creates or modifies an SLA name profile.
Parameters Parameter
Description
Value
create
Creating a new profile.
-
name1
Profile name.
-
rename
Renaming the profile.
-
oldname
oldname.
-
name2
Old name.
-
newname
newname.
-
name3
New name.
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
14-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to create an SLA name profile whose name is "zte": ZXAN(config)#epon ZXAN(config-epon)#onu-sla-profile profile-name create zte
Related Commands None
14.1.20 onu-sla-profile profile-set Syntax onu-sla-profile profile-set name1 {downstream {[maximum number1][maxburst number2]}|up stream {[fixed number3][fixedpkt number4][assured number5] [maximum number6] [maxburst number7][priority number8]}}
Function This command configures an upstream/downstream bandwidth profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
downstream
Configuring a downstream
-
bandwidth profile. number1
The maximum downstream
0–10000000
bandwidth, unit: kbps. number2
The maximum downstream
1–16777215
burst flow, unit: byte. upstream
Configuring an upstream
-
bandwidth profile. number3
Upstream fixed bandwidth, unit:
0–10000000
kbps. number4
Upstream fixed packet size.
0–1582
number5
Upstream guaranteed
0–10000000
bandwidth, unit: kbps. number6
The maximum upstream
0–10000000
bandwidth, unit: kbps.
14-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number7
The maximum upstream burst
1–16777215
flow, unit: byte. number8
Frame priority.
0–7
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure an upstream/downstream bandwidth profile. In this example, the profile name is "zte", the maximum downstream burst flow is 20000 kbps, and the maximum bandwidth is 1000000 kbps. ZXAN(config)#epon ZXAN(config-epon)#onu-sla-profile profile-set zte downstream maxburst 20000 maximum 1000000
Related Commands 14.1.33 show epon onu-sla-profile
14.1.21 onu-uni-profile profile-name Syntax onu-uni-profile profile-name {create name1 |rename oldname name2 newname name3} no onu-uni-profile profile-name name1
Function This command creates or modifies an ONU UNI name profile.
Parameters Parameter
Description
Value
create
Creating a new profile.
-
name1
Profile name.
-
rename
rename Renaming the profile.
-
oldname
oldname.
-
name2
Old name.
-
14-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
newname
newname.
-
name3
New name.
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU UNI name profile whose name is "zte": ZXAN(config)#epon ZXAN(config-epon)#onu-uni-profile profile-name create zte
Related Commands None
14.1.22 onu-uni-profile profile-set Syntax onu-uni-profile profile-set name1{downstream|upstream}{[cir number1] [cbs number2][ebs nu mber3]}
Function This command configures an ONU UNI port rate-limit profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
downstream
Downstream.
-
upstream
Upstream.
-
number1
Guaranteed rate.
0–10000000
number2
Guaranteed burst size.
1522–16777215
number3
Exceeded burst size.
0–1522
14-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure an ONU UNI port rate-limit profile whose name is "zte": ZXAN(config)#epon ZXAN(config-epon)#onu-uni-profile profile-set zte downstream cbs 200000
Related Commands 14.1.35 show epon onu-uni-profile
14.1.23 save-system-state Syntax save-system-state name1 name2
Function This command saves system status to a file.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number name2
Type
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines None
Examples The following example shows how to save all OLT system status at slot 1/1 to a file: ZXAN(config)#epon ZXAN(config-epon)#save-system-state 1/1 all
14-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Related Commands None
14.1.24 serial-port attribute-profile Syntax serial-port attribute-profile name1 state {name2|name3{[baud-rate name4] [data-bits name5][p arity name6][stop-bits name7][flow-control name8][type name9]}} no serial-port attribute-profile name1
Function This command creates or modifies a serial port attribute profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
Flag of whether to enable of
-
state
disable the serial port server. name2
Disabling the serial port server.
-
name3
Enabling the serial port server.
-
name4
Baud rate of the serial port
-
server. name5
Number of data bits
-
name6
Parity.
-
name7
Stop bits.
-
name8
Flow control.
-
name9
Type.
-
Mode epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure a serial port attribute profile. In this example, the profile name is "zte", the profile is enabled, and the profile type is "rs232". ZXAN(config)#epon
14-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-epon)#serial-port attribute-profile zte state enable type rs232
Related Commands 14.4.77 show remote epon serial-port attribute-profile
14.1.25 serial-port buffer-profile Syntax serial-port buffer-profile name1 mode{name2{[wait-time number1][buffer-size number2][encry pt name3]}|name4} no serial-port buffer-profile name1
Function This command creates or modifies a serial port buffer profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
mode
Serial port buffer mode.
-
name2
Serial port buffer mode: buffered
-
or immediate. number1
Buffer time, unit: millisecond.
20–1000
number2
Buffer size, unit: byte.
1–1400
name3
Whether to encrypt the buffer.
-
name4
Serial port buffer mode: buffered
-
or immediate.
Mode epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure a serial port profile. In this example, the profile name is "zte", the serial port buffer mode is ”buffered", the buffer size is 1000 bytes, the buffer is encrypted, and the waitingr time is 100 ms. ZXAN(config)#epon
14-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands ZXAN(config-epon)#serial-port buffer-profile zte mode buffered buffer-size 1000 encrypt true wait-time 100
Related Commands 14.4.78 show remote epon serial-port buffer-profile
14.1.26 serial-port global-profile Syntax serial-port global-profile name1{[discover-port number1][signal-port number2][idle-time numb er3][interval-time number4][max-lost-packet number5 ]} no serial-port global-profile name1
Function This command creates or modifies a serial port global configuration profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
number1
Discovery port number.
1–65535
number2
Signaling port number.
1–65535
number3
Link idle time.
1–7200
number4
Packet interval.
1–7200
number5
The maximum number of lost
1–100
packets.
Mode epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a serial port global configuration profile whose name is "zte": ZXAN(config)#epon ZXAN(config-epon)#serial-port global-profile zte discover-port 4000 signal-port 5000 idle-time 100 interval-time 150 max-lost-packet 65
14-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 14.4.79 show remote epon serial-port global-profile
14.1.27 show epon alarm-mask Syntax show epon alarm-mask name1
Function This command displays the EPON alarm information.
Parameters Parameter
Description
Value
name1
Shelf/slot
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the EPON alarm information: ZXAN(config)#show epon alarm-mask 1/15 AlarmId
MaskCount
................................................................................
Related Commands None
14.1.28 show epon authentication-mode Syntax show epon authentication-mode name1
Function This command queries the authentication mode information of an EPON OLT interface.
14-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
Shelf/slot
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the detailed information of the epon-olt_1/4 interface: ZXAN(config-epon)#show epon authentication-mode 1/4 Register-authentication-mode:
disable
Service-authentication-mode:
MAC
Related Commands None
14.1.29 show epon auto-dispatch-set Syntax show epon auto-dispatch-set
Function This command queries the information of the ONU automatic dispatch function.
Parameters None
Mode All modes except user mode
Usage Guidelines None
14-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to query the information of the ONU automatic dispatch function: ZXAN(config)#show epon auto-dispatch-set
Related Commands None
14.1.30 show epon custom-oam Syntax show epon custom-oam name1
Function This command queries the discovery type of the extended OAM of an ONU.
Parameters Parameter
Description
Value
name1
Shelf/slot
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the discovery type of the extended OAM of an ONU: ZXAN(config)#show epon custom-oam 1/15
custom-oam:
traditional
Related Commands None
14-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.1.31 show epon dba Syntax show epon dba [name1]
Function This command queries the DBA algorithm information of an EPON OLT interface.
Parameters Parameter
Description
Value
name1
Shelf/slot
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the DBA algorithm information of the epon-olt_1/4 interface: ZXAN#show epon dba 1/4 Shelf/Slot
DBA Algorithm
...................................... 1/4
plato
Related Commands None
14.1.32 show epon ems-report Syntax show epon ems-report name1
Function This command queries the EMS reporting information of an EPON.
14-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Shelf/slot
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the EMS reporting information of an EPON: ZXAN(config)#show epon ems-report 1/15 EmsItem
Status
................................................................................
Ems-unauthonu-report
disable
Ems-configfailonu-report
disable
Ems-misspeedonu-report
enable
Related Commands None
14.1.33 show epon onu-sla-profile Syntax show epon onu-sla-profile [name1]
Function This command queries the EPON bandwidth profile information.
Parameters Parameter
Description
Value
name1
Bandwidth profile name.
-
Mode All modes except user mode 14-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the EPON bandwidth profile information: ZXAN(config)#show epon onu-sla-profile
ProfileName -------------default slapf slaprofile slatest test ZTE-F411
Related Commands None
14.1.34 show epon onu-type-profile Syntax show epon onu-type-profile
Function This command queries the EPON ONU type profile information.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the EPON ONU type profile information: ZXAN(config)#show epon onu-type-profile
14-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Onu type name :
ZTE-9806
Pon type :
epon
Description :
0
Onu type name :
ZTE-D400
Pon type :
epon
Description :
4FE
Onu type name :
ZTE-D402
Pon type :
epon
Description :
8FE
Related Commands None
14.1.35 show epon onu-uni-profile Syntax show epon onu-uni-profile [name1]
Function This command queries the information of the EPON ONU UNI bandwidth profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of the EPON ONU UNI bandwidth profile: ZXAN(config)#show epon onu-uni-profile
ProfileName -------------default
14-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands unipf uniprofile test
Related Commands None
14.1.36 show epon tm-mode Syntax show epon tm-mode [name1]
Function This command queries the EPON tm mode information.
Parameters Parameter
Description
Value
name1
Shelf/slot.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the EPON tm mode information: ZXAN(config)#show epon tm-mode 1/15
Olt: TmMode:
1/15 normal.
Related Commands None
14-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.1.37 sip-profile Syntax sip-profile name1{register-server ip ip_addr1[port number1]|backup-register-server ip ip_add r2 [port number2]|proxy-server ip ip_addr3[port number3]|backup-proxy-server ip ip_addr4 [p ort number4]|outbound-server ip ip_addr5 [port number5]|register-interval number6|heartbeat name2 [cycle number7][count number8]|mg[port number9]} no sip-profile name1
Function This command creates or modifies an SIP profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
Registered IP address of the
-
ip_addr1
soft switching server number1
Registered port number of
1001–65535
the soft switching server. The default value is 5060. ip_addr2
Registered IP address of the
-
standby soft switching server. number2
Registered port number of the
1001–65535
standby soft switching server. The default value is 5060. ip_addr3
IP address of the proxy server.
-
number3
Port number of the proxy server.
1001–65535
The default value is 5060. ip_addr4
IP address of the standby proxy
-
server. number4
1001–65535
Port number of the standby proxy server. The default value is 5060.
ip_addr5
IP address of the out-of-band
-
server. number5
Port number of the out-of-band
1001–65535
server. The default value is 5060. number6
Registration interval.
0–65535
14-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
name2
Whether to enable the heartbeat
-
mode. number7
Heartbeat period. The default
0–65535
value is 20. number8
1–3
Number of heartbeats. The default value is 3.
number9
mg port number. The default
1001–65535
value is 5060.
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an SIP profile. In this example, the profile name is "zte" and the heartbeat mode is enabled. ZXAN(config)#epon ZXAN(config-epon)#sip-profile zte heartbeat enable
Related Commands None
14.1.38 tm-mode Syntax tm-mode name1{normal|mode1|mode2}
Function This command configures the tm mode.
Parameters Parameter
Description
Value
name1
shelf: shelf number; slot: slot
-
number. normal
Normal mode.
-
14-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
mode1
Mode 1.
-
mode2
Mode 2.
-
Mode epon global configuration mode
Usage Guidelines None
Examples The following example shows how to configure the OLT tm mode at slot 1/1 to mode 1: ZXAN(config)#epon ZXAN(config-epon)#tm-mode 1/1 mode1
Related Commands 14.1.36 show epon tm-mode
14.1.39 voip-ip profile Syntax voip-ip profile name1[relation name2] mode {pppoe[pppoe-mode name3]|static[gateway ip_ad dr1][dns ip_addr2]|dhcp} no voip-ip profile name1
Function This command creates or modifies a voip-ip profile.
Parameters Parameter
Description
Value
name1
Profile name
-
name2
independent or shared
-
mode
Mode
-
pppoe
pppoe
-
name3
auto, chap, or pap
-
static
static
-
ip_addr1
Gateway IP address
-
14-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
ip_addr2
DNS IP address
-
dhcp
dhcp
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a voip-ip profile. In this example, the profile name is "zte" and the mode is dhcp. ZXAN(config)#epon ZXAN(config-epon)#voip-ip profile zte mode dhcp
Related Commands None
14.1.40 voip-vlan profile Syntax voip-vlan profile name1 tag-mode {vlan-stacking svlan number1[cvlan number2 priority numb er3]|tag [cvlan number4 priority number5]|transparent} no voip-vlan profile name1
Function This command creates or modifies a voip-vlan profile.
Parameters Parameter
Description
Value
name1
Profile name
-
tag-mode
tag-mode
-
vlan-stacking
vlan-stacking
-
number1
SVLAN ID
1–4094
number2
CVLAN id
1–4094
number3
Priority
0–7
14-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
tag
tag
-
number4
CVLAN ID
1–4094
number5
Priority
0–7
transparent
transparent
-
Mode wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a voip-vlan profile. In this example, the profile name is "zte", the mode is tag, the CVLAN is 1, and the priority is 2. ZXAN(config)#epon ZXAN(config-epon)#voip-vlan profile zte tag-mode tag cvlan 1 priority 2
Related Commands None
14.1.41 wan-general-profile Syntax wan-general-profile name1 mode name2 service {other|{[internet] [tr069] [voice]}} tag-mode {tr ansparent |tag {[tpid hexadecimal1] [vid number1 ] [priority number2]}|untag} [{[ip-mode name3 ] [nat {{enable number3|no-limit} |disable } ] [mtu number4 ] [mvlan {enable number5 |disable } ] [bind-lanport name4 ] [bind-ssid name5]}] no wan-general-profile name1
Function This command creates or modifies a WAN general profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
mode
Working mode.
-
name2
Bridge or routing mode.
-
14-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
service
service.
-
other
other mode.
-
internet
internet mode.
-
tr069
tr069.
-
voice
voice mode.
-
tag-mode
tag-mode.
-
transparent
transparent mode.
-
tag
tag mode.
-
hexadecimal1
Tpid, 1-0xffff.
1–65535
number1
VLAN ID.
1–4094
number2
Priority.
0–7
untag
untag mode.
-
name3
IP mode.
-
The maximum number of WAN
1–65534
number3
converted addresses, range: 1–65534. no-limit
No limit.
-
disable
Disable.
-
number4
mtu, range: 1–2000.
1–2000
number5
mvlan, range: 1–4094.
1–4094
name4
Bound port number.
-
name5
Bound ssid.
-
Mode epon global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a WAN general profile whose name is "zte": ZXAN(config)#epon ZXAN(config-epon)#wan-general-profile zte mode bridge service voice tag-mode transparent
14-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.2 EPON OLT Interface Configuration 14.2.1 alarm Syntax alarm name1 name2 [threshold number1 window number2]
Function This command configures the OLT alarm function.
Parameters Parameter
Description
Value
name1
err-symbol-period, err-frame,
-
err-frame-period, or err-frame-second-sum. name2
Whether to enable the alarm
-
function. number1
Threshold, range:
0–4294967295
0–42949672955. number2
Window, range:
0–4294967295
0–42949672955.
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines Mode
Examples The following example shows how to enable the err-symbol-period alarm function: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#alarm err-symbol-period enable
Related Commands None 14-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.2.2 als Syntax als [{[opentime number1 ] [closetime number2] [losclosetime number3] } ] no als
Function This command sets the ALS time.
Parameters Parameter
Description
Value
number1
Start time, range: 50–20000,
50–20000
default value: 50, unit: 100 ms. number2
Shutdown time, range:
20–2000
20–2000, default value: 100, unit: 100 ms. number3
LOS shutdown time, range:
5–50
5–50, default value: 50, unit: 100 ms.
Mode Layer-2 fei interface mode, layer-2 gei interface mode, 10G_Ether interface mode: ZXAN(config-if)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the ALS time: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#als closetime 100 losclosetime 50 opentime 50
Related Commands None
14.2.3 auto-learning Syntax auto-learning name1 14-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables or disables the OLT automatic learning function.
Parameters Parameter
Description
Value
name1
Whether to enable the automatic
-
learning function.
Mode epon olt interface mode
Usage Guidelines None
Examples The following example shows how to enable the OLT automatic learning function: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#auto-learning enable
Related Commands None
14.2.4 ctc-ver21 Syntax ctc-ver21 {enable|disable}
Function This command sets whether to support the ctc standard 2.1.
Parameters Parameter
Description
Value
enable
Supporting the ctc standard 2.1.
-
disable
Not supporting the ctc standard
-
2.1.
Mode epon olt interface mode 14-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to set supporting the ctc standard 2.1: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#ctc-ver21 enable
Related Commands None
14.2.5 dba-priority Syntax dba-priority number1 cycle-time number2
Function This command sets the DBA priority and cycle time.
Parameters Parameter
Description
Value
number1
Priority.
1–8
number2
Cycle time, range: 200–2000,
200–2000
default value: 750 us.
Mode epon olt interface mode
Usage Guidelines None
Examples The following example shows how to set the DBA priority to 1 and the cycle time to 750 us. ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#dba 1 cycle-time 750
Related Commands None 14-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.2.6 fastdown Syntax fastdown name1
Function This command sets whether to enable the ONU fast down configuration function.
Parameters Parameter
Description
Value
name1
Whether to enable the ONU fast
-
down configuration function.
Mode epon olt interface mode
Usage Guidelines Mode
Examples The following example shows how to enable the ONU fast down configuration function: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#fastdown enable
Related Commands None
14.2.7 fec downstream Syntax fec downstream name1
Function This command sets whether to enable the OLT FEC downstream function.
Parameters Parameter
Description
Value
name1
Whether to enable the OLT FEC
-
downstream function. 14-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Mode epon olt interface mode
Usage Guidelines None
Examples The following example shows how to enable the OLT FEC downstream function: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#fec downstream enable
Related Commands None
14.2.8 high-priority-frame Syntax high-priority-frame [queue-list name1]
Function This command configures a downstream frame with specified priority to be a high-priority frame. For example, priority 0–3 can be set as low priority and priority 4–7 can be set as high priority.
Parameters Parameter
Description
Value
name1
Queue table
-
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines None
Examples The following example shows how to set priority 4–7 of the epon-olt_1/4/1 interface to be high priority: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)# high-priority-frame queue-list 4-7
14-45 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.2.9 loopback Syntax loopback name1 name2 no loopback name1 name2
Function This command configures the loopback attributes of an EPON OLT interface.
Parameters Parameter
Description
Value
name1
mac or phy
-
name2
system or line
-
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the loopback mode of the epon-olt_1/4/1 interface to be phy system: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#loopback phy system
Related Commands None
14.2.10 maxrtt Syntax maxrtt number1
14-46 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command sets the RTT value for an OLT interface. The RTT value is the maximum ONU distance that the interface supports.
Parameters Parameter
Description
Value
number1
The default value is 13524TQ.
0–65535
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines The default value is 13524TQ.
Examples The following example shows how to set the maximum ONU distance supported by the epon-olt_1/4/1 interface to be 20 km (the corresponding RTT value is 12500TQ). ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#maxrtt 12500
Related Commands None
14.2.11 mpcp-discovery-window Syntax mpcp-discovery-window name1 name2
Function This command configures the MPCP discovery window.
Parameters Parameter
Description
Value
name1
1GSymmetry, 10GDown1GUp,
-
or 10GSymmetry. name2
Whether to enable the discovery
-
window.
14-47 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode epon olt interface mode
Usage Guidelines None
Examples The following example shows how to enable the 10GDown1GUp configuration of the MPCP discovery window: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#mpcp-discovery-window 10GDown1GUp enable
Related Commands 14.2.25 show olt mpcp-discovery-window
14.2.12 multi-llid Syntax multi-llid {enable max-support-number number1|disable}
Function This command sets whether to enable the multi-llid function for a PON interface.
Parameters Parameter
Description
Value
enable
Enabling the multi-llid function.
-
number1
The maximum number
1–8
supported. disable
Disabling the multi-llid function.
-
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines None
Examples The following example shows how to enable the multi-llid function for a PON interface. In this example, the maximum number supported is 2. 14-48 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#multi-llid enable max-support-number 2
Related Commands None
14.2.13 onu Syntax onu number1 type name1 {mac hexadecimal1 |sn name2|loid name3[password name4]}[ip-cfg{s tatic|auto-cfg}] no onu number1
Function This command registers a specified ONU under the current OLT interface.
Parameters Parameter
Description
Value
number1
ONU ID.
1–254
Range: 1 GB service board: 1–64; 10 GB service board: 1–254. name1
ONU type.
-
Range: 0–63 characters, for example, ZTE-D400, ZTE-D402, ZTE-D420, ZTE-D421, ZTE-F425, ZTE-D422, ZTE-F601, and ZTE-F621. Users can execute the show onu-type command to get the ONU type. hexadecimal1
ONU MAC address, format:
-
XXXX.XXXX.XXXX. name2
ONU serial number, range:
-
1–127 characters. name3
ONU logical ID, range: 1–24
-
characters.
14-49 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name4
Logical ID authentication
-
mode password, range: 1–12 characters. static
Static IP address.
-
auto-cfg
Dynamic IP address.
-
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines If the authentication mode is MAC authentication, users must enter the ONU MAC address. If the authentication mode is SN authentication, users must enter the ONU SN. To cancel the setting, use the no form of this command.
Examples The following example shows how to add an ONU whose type is ZTE-F425 and authenticates through the MAC address: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#onu 1 type ZTE-F425 mac 000c.0000.0001
Related Commands None
14.2.14 p2p group Syntax p2p group number1 no p2p group number1
Function This command creates a Point to Point (P2P) group.
Parameters Parameter
Description
Value
number1
Group number, range: 1–64.
1–64
Mode wdm-pon-olt interface mode, epon olt interface mode 14-50 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a P2P group: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)# p2p group 2
Related Commands None
14.2.15 p2p group-name Syntax p2p group-name number1 name1
Function This command sets the name of a P2P group.
Parameters Parameter
Description
Value
number1
P2P group number.
1–64
name1
Group name.
-
Mode wdm-pon-olt interface mode, epon olt interface name.
Usage Guidelines None
Examples The following example shows how to set the name of group 2 to "test": ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)# p2p group-name 2 test
Related Commands None
14-51 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.2.16 p2p mode Syntax p2p mode {group|full}
Function This command sets the P2P mode.
Parameters Parameter
Description
Value
group
P2P group mode
-
full
P2P full mode
-
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines None
Examples The following example shows how to set the P2P mode: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)# p2p mode full
Related Commands None
14.2.17 priority-queue-map Syntax priority-queue-map {downstream|upstream} prio0-que number1 prio1-que number2 prio2-qu e number3 prio3-que number4 prio4-que number5 prio5-que number6 prio6-que number7 prio 7-que number8
Function This command configures the mapping relationship between frame priories and queues. For example, users can execute this command to map frames with priority 2 to queue 3.
14-52 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
downstream
Downstream priority queue
-
mapping. upstream
Upstream priority queue
-
mapping. number1
Priority mapped to queue 0,
0–7
range: 0–7 characters. number2
Priority mapped to queue 1,
0–7
range: 0–7 characters. number3
Priority mapped to queue 2,
0–7
range: 0–7 characters. number4
Priority mapped to queue 3,
0–7
range: 0–7 characters. number5
Priority mapped to queue 4,
0–7
range: 0–7 characters. number6
Priority mapped to queue 5,
0–7
range: 0–7 characters. number7
Priority mapped to queue 6,
0–7
range: 0–7 characters. number8
Priority mapped to queue 7,
0–7
range: 0–7 characters.
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines None
Examples The following example shows how to map frame priorities of the epon-olt_1/4/1 interface to queues: ZXAN(config)#interface epon-olt_1/4/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 Commands 14.2.20 show epon priority-queue-map
14-53 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.2.18 property name Syntax property name name1
Function This command sets the name of an EPON OLT interface.
Parameters Parameter
Description
Value
name1
OLT name.
-
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines None
Examples The following example shows how to set the epon-olt_1/4/1 interface name to "epon_olt41": ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#property name epon_olt41
Related Commands None
14.2.19 rx-hec Syntax rx-hec [{no|802.3ah-draft|802.3ah-standard|both}]
Function This command configures the receiving HEC mode at the OLT side. The configuration is related to the registration of interconnected ONUs and non-interconnected ONUs on an OLT.
14-54 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
no
no.
-
802.3ah-draft
802.2ah-draft.
-
802.3ah-standard
802.2ah-standard.
-
both
802.2ah-draft and
-
802.2ah-standard.
Mode wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines No
Examples The following example shows how to set the receiving HEC mode at the epon-olt_1/4/1 interface to no: ZXAN(config)#interface epon-olt_1/4/1 ZXAN(config-if)#rx-hec no
Related Commands None
14.2.20 show epon priority-queue-map Syntax show epon priority-queue-map interface1
Function This command queries the priority queue mapping information at an EPON OLT interface.
Parameters Parameter
Description
Value
interface1
OLT interface, format:
-
Epon-olt_shelf/slot/olt
Mode All modes except user mode 14-55 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to query the priority queue mapping information at the epon-olt_1/4/1 interface: ZXAN#show epon priority-queue-map epon-olt_1/4/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 Commands None
14.2.21 show olt available-upstream-bandwidth Syntax show olt available-upstream-bandwidth interface1
Function This command queries the available upstream bandwidth information at an EPON OLT interface.
Parameters Parameter
Description
Value
interface1
shelf, slot, oltId OLT.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the available upstream bandwidth information at the epon-olt_1/4/1 interface: ZXAN(config)#show olt available-upstream-bandwidth epon-olt_1/4/1 OltInterface
Available bandwidth
---------------------------------------------------------
14-56 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands epon-olt_1/4/1
858280
Related Commands None
14.2.22 show olt config Syntax show olt config interface1
Function This command queries the configuration of an EPON OLT interface.
Parameters Parameter
Description
Value
interface1
EPON OLT interface, format:
-
epon-olt_shelf/slot/oltId.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the configuration of the epon-olt_1/4/1 interface: ZXAN(config)#show olt config epon-olt_1/4/1 Olt Name:
The default PON name;
Encry Algorithm:
triple-churning
EncKeyUpdatePeriod:
10(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);
Rx-Hex mode
:
no;
IP pool name
:
Support single Llid.
14-57 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.2.23 show olt dba-cycle Syntax show olt dba-cycle interface1
Function This command queries the DBA polling configuration information of an EPON OLT interface.
Parameters Parameter
Description
Value
interface1
shelf, slot, oltId OLT.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the DBA polling configuration information of the epon-olt_1/4/1 interface: ZXAN(config)#show olt dba-cycle epon-olt_1/4/1 Priority
Cycle time(us)
---------------------------------------1
500
2
500
3
500
4
500
5
500
6
500
7
500
8
500
Related Commands None 14-58 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.2.24 show olt encrypt Syntax show olt encrypt []
Function This command queries the encryption configuration information of an EPON OLT interface.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the encryption configuration information of the epon-olt_1/4/1 interface: ZXAN(config-if)#show olt encrypt
Olt:
1/4;
Encry Algorithm:
triple-churning;
EncKeyUpdatePeriod:
20(s);
EncKeyUpdateTimeout: 3(s); EncStartThreshold:
3(s);
Related Commands None
14.2.25 show olt mpcp-discovery-window Syntax show olt mpcp-discovery-window interface1
Function This command queries the MPCP discovery window information.
14-59 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
OLT interface, format:
-
epon-olt_shelf/slot/olt.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the MPCP discovery window information: ZXAN(config-if)#show olt mpcp-discovery-window epon-olt_1/15/1 Item
Status
................................................................................
1GSymmetry
enable
10GDownstream-1GUpstream
enable
10Symmetry
enable
Related Commands None
14.2.26 show olt statistics Syntax show olt statistics interface1
Function This command queries the statistic information of an EPON OLT interface.
Parameters Parameter
Description
Value
interface1
shelf, slot, oltId OLT interface,
-
range: 0–31 characters.
Mode All modes except user mode 14-60 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the statistic information of an EPON OLT interface: ZXAN(config-if)#show olt statistics epon-olt_1/4/1
Olt InterFacename:epon-olt_1/4/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/4/1 OltPonAverageBER:0.000000e+00 OltSysAverageBER:0.000000e+00
Related Commands None
14.2.27 speed Syntax speed name1
Function This command configures the interface forced speed to be 1G, 10G-symmetric, or 10G-asymmetric.
Parameters Parameter
Description
Value
name1
1G, 10G-symmetric, or
-
10G-asymmetric.
14-61 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode epon olt interface mode
Usage Guidelines None
Examples The following example shows how to configure the speed of the epon-olt_1/5/1 interface to be 1G. ZXAN(config)#interface epon-olt_1/5/1 ZXAN(config-if)#speed 1G
Related Commands None
14.3 EPON ONU Interface Configuration 14.3.1 activate Syntax activate
Function This command activates an ONU.
Parameters None
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to activate the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)# activate
14-62 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Related Commands None
14.3.2 admin Syntax admin name1
Function This command enables or disables the ONU management status.
Parameters Parameter
Description
Value
name1
Whether to enable or disable
-
the ONU management status.
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to enable the No. 1 ONU management status at the No. 1 OLT interface of shelf 1 slot 3: ZXAN(config)#interface epon-onu_1/3/1:1 ZXAN(config-if)#admin enable
Related Commands None
14.3.3 deactivate Syntax deactivate
Function This command deactivate an ONU. 14-63 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to deactivate the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#deactivate
Related Commands None
14.3.4 deregister Syntax deregister
Function This command deletes an ONU registered under the OLT interface.
Parameters None
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to delete the 1/4/1:1 ONU under the EPON OLT interface: ZXAN(config)#interface epon-onu_1/4/1:1
14-64 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands ZXAN(config-if)#deregister
Related Commands None
14.3.5 diagnose link-test Syntax diagnose link-test
Function This command sets the EPON ONU link test.
Parameters None
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines After the command is executed, the system automatically performs the test and displays the test result.
Examples The following example shows how to enable the link test function for the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#diagnose link-test TestSts success.
Related Commands None
14.3.6 diagnose loopback Syntax diagnose loopback no diagnose loopback 14-65 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command sets the EPON ONU loopback test function.
Parameters None
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines After the command is executed, the system automatically performs the test and displays the test result. To cancel the setting, use the no form of this command.
Examples The following example shows how to enable the loopback test function for the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#diagnose loopback TestSts success.
Related Commands None
14.3.7 disable Syntax disable
Function This command disables the ONU management status.
Parameters None
Mode wdm-pon-onu interface mode, epon onu interface mode
14-66 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to disable the ONU management status: ZXAN(config)#interface epon-onu_1/5/1:1 ZXAN(config-if)#disable
Related Commands 14.3.9 enable
14.3.8 ems-autocfg-request Syntax ems-autocfg-request name1
Function This command enables or disables the automatic authentication function for an ONU.
Parameters Parameter
Description
Value
name1
Whether to enable or disable
-
the automatic authentication function.
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to enable the automatic authentication function for the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#ems-autocfg-request enable
Related Commands None 14-67 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.3.9 enable Syntax enable
Function This command enables the ONU management status.
Parameters None
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to enable the ONU management status: ZXAN(config)#interface epon-onu_1/5/1:1 ZXAN(config-if)#enable
Related Commands 14.3.7 disable
14.3.10 encrypt Syntax encrypt direction name1 name2 [vport number1]
Function This command sets attributes of the ONU encryption function.
Parameters Parameter
Description
Value
name1
Downstream/Bidirectional
-
name2
Enable/Disable
-
number1
VPORT number
1–8
14-68 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines At present, only downstream packets can be encrypted.
Examples The following example shows how to enable the downstream packet encryption function for the No. 1 ONU at the epon-onu_1/4/1 interface: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#encrypt direction downstream enable
Related Commands None
14.3.11 fec upstream Syntax fec upstream name1
Function This command enables or disables the upstream FEC function for an EPON ONU.
Parameters Parameter
Description
Value
name1
Whether to enable or disable
-
the upstream FEC function.
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to enable the upstream FEC function for the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#fec upstream enable
14-69 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.3.12 join-p2p-group Syntax join-p2p-group number1 no join-p2p-group number1
Function This command adds an ONU to a specified P2P group.
Parameters Parameter
Description
Value
number1
Group number, range: 1–64.
1–64
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to add the epon-onu_1/4/1:1 EPON ONU to a specified P2P group. ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)# join-p2p-group 2
Related Commands None
14.3.13 loid Syntax loid name1 [password name2]
Function This command sets the loid of an ONU. 14-70 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
ONU loid
-
name2
ONU password
-
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to set the loid and password of the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4. In this example, the loid is onu52_F401_002512e07c7 and the password is "zte". ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#loid onu52_F401_002512e07c71 password zte
Related Commands None
14.3.14 loid-bind Syntax loid-bind {disable|enable}
Function This command enables or disables the loid binding function.
Parameters Parameter
Description
Value
disable
Disabling the loid binding
-
function. enable
Enabling the loid binding
-
function.
Mode epon onu interface mode 14-71 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to enable the loid binding function: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#loid-bind enable
Related Commands None
14.3.15 mac Syntax mac hexadecimal1
Function This command sets the MAC address the Ethernet interface of an EPON ONU.
Parameters Parameter
Description
Value
hexadecimal1
ONU MAC address, format:
-
XXXX.XXXX.XXXX.
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to set epon-onu_1/4/1:1 EPON ONU to 0000.0000.0001.
the
MAC
address
of
the
ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#mac 0000.0000.0001
Related Commands None 14-72 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.3.16 mac-bind Syntax mac-bind {disable|enable [mac hexadecimal1]}
Function This command configures the MAC address binding function for an ONU.
Parameters Parameter
Description
Value
disable
Disabling the MAC address
-
binding function. enable
Enabling the MAC address
-
binding function. hexadecimal1
ONU MAC address.
-
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to bind the MAC address 0000.0000.0001 to the No. 1 ONU of the epon-onu_1/4/1: ZXAN(config-if)#interface epon-onu_1/4/1:1 ZXAN(config-if)# mac-bind enable mac 0000.0000.0001
Related Commands None
14.3.17 priority-trans Syntax priority-trans {downstream priority number1[default-vlan number2]|upstream priority numb er3 [default-vlan number4]} no priority-trans {downstream|upstream}
14-73 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the packet priority converting function for an EPON ONU. It adds or modifies specified priorities and VLAN IDs for upstream/downstream packets.
Parameters Parameter
Description
Value
downstream
Configuring the downstream
-
packet priority converting function. number1
Priority range, range: 0–7.
0–7
number2
Default VLAN, range: 1–4094.
1–4094
upstream
Configuring the upstream
-
packet priority converting function. number3
Priority range, range: 0–7.
0–7
number4
Default VLAN, range: 1–4094.
1–4094
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configures the packet priority converting function for the epon-onu_1/4/1:1. In this example, the downstream packet priority is converted to 7 and the default VLAN is 100. ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)# priority-trans downstream priority 7 default-vlan 100
Related Commands None
14.3.18 property description Syntax property description WORD1
14-74 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command configures the description information of an ONU.
Parameters Parameter
Description
Value
WORD1
ONU description, range: 1–127
-
characters.
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to configure the description information of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#property description onu1
Related Commands None
14.3.19 property name Syntax property name WORD1
Function This command configures the name of an ONU.
Parameters Parameter
Description
Value
WORD1
ONU name, range: 1–64
-
characters.
Mode epon onu interface mode 14-75 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to configure the name of the No.1 ONU at the No. 1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#property name onu1
Related Commands None
14.3.20 property splitter Syntax property splitter number1 lineno number2
Function This command configures the splitter information.
Parameters Parameter
Description
Value
number1
Splitter number.
1–255
number2
Line number, range: 1–65535
1–65535
Mode epon onu interface mode
Usage Guidelines None
Examples The following example shows how to configure the splitter information of the No.1 ONU at the No. 1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#property splitter 1 lineno 1
Related Commands None 14-76 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.3.21 property user-info Syntax property user-info WORD1
Function This command configures the user information of an ONU.
Parameters Parameter
Description
Value
WORD1
User information, range: 1–127
-
characters.
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to configure the user information of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#property user-info onu1
Related Commands None
14.3.22 show onu Syntax show onu {authentication interface1|unauthentication [interface2]|all-status interface3}
Function This command queries the registration and authentication information and status information of ONUs at an EPON OLT interface.
14-77 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
authentication
authentication
-
interface1
EPON OLT interface, format:
-
epon-olt_shelf/slot/olt. unauthentication
unauthentication
-
interface2
EPON OLT interface, format:
-
epon-olt_shelf/slot/olt. EPON OLT interface, format:
interface3
-
epon-olt_shelf/slot/olt.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the ONU authentication information at the epon-olt_1/4/1 interface: ZXAN#show onu authentication epon-olt_1/4/1 Onu interface :
epon-onu_1/4/1:1;
Onu type :
ZTE-F425;
MAC address :
000c.0000.0001;
SN :
;
State :
Power-Off;
LastAuthTime :
0000/00/00 00:00:00
The following example shows how to query the ONU status information at the epon-olt_1/4/1:1 interface: ZXAN#show onu all-status epon-olt_1/4/1:1
Related Commands None
14.3.23 show onu config Syntax show onu config interface1 14-78 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command queries the configuration information of an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, epon-
-
onu_shelf/slot/olt: onu, shelf, slot, oltId OLT interface, onuId ONU interface.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the configuration information of the No. 1 ONU at the epon-olt_1/4/1 interface: ZXAN#show onu config epon-onu_1/4/1:1 status: not configured.
Related Commands None
14.3.24 show onu detail-info Syntax show onu detail-info interface1
Function This command queries detailed information of an ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, epon-
-
onu_shelf/slot/olt: onu, shelf, slot, oltId OLT interface, onuId ONU interface. 14-79 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query detailed information of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 4: ZXAN(config)#show onu detail-info epon-onu_1/4/1:1 Onu interface:
epon-onu_1/4/1:1
AdminState:
enable
RegState:
registered
AuthState:
pass
OnuType:
ZTE-F425;
SN: MAC:
0015.eb71.2d54
GeneralDescription:
no description
SpliterNo:
0
FiberNo:
0
UserInfo:
no user's information
FecMode:
disable
FecAbility:
support
LoopbackStatus:
noLoopback
OamLoopbacIgnoreRx:
ignore
EncryptDestination:
downstream
EncryptStatue:
enable
MAC bind mode:
disable
Onu Bind Mac:
0000.0000.564f
Automatic config:
enable
Related Commands None
14.3.25 show onu mpcpinfo Syntax show onu mpcpinfo interface1
Function This command queries the MPCP information of an EPON ONU interface. 14-80 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
interface1
ONU interface, epon-
-
onu_shelf/slot/olt: onu, shelf, slot, oltId OLT interface, onuId ONU.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the MPCP information of the No. 1 ONU at the epon-olt_1/4/1 interface: ZXAN#show onu mpcpinfo epon-onu_1/4/1:1 oprStatus:
false;
AdminStatus:
false;
SyncTime:
0;
MpcpMode:
olt;
MpcpLinkID:
0;
RemoteMacAddr:
0000.0000.0000;
RegistrationState:
unregister;
RoundTripTime:
0(tq);
MaximumPendingGrants:
0;
Related Commands None
14.3.26 show onu oam Syntax show onu oam interface1
Function This command queries the OAM information of an EPON ONU interface.
14-81 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface, epon-
-
onu_shelf/slot/olt: onu, shelf, slot, oltId OLT interface, onuId ONU interface.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the OAM information of the No. 2 ONU at the epon-olt_1/4/3 interface: ZXAN#show onu oam epon-onu_1/4/3:2 Onu interface:
epon-onu_1/4/3:2
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 Commands None
14.3.27 show onu priority-trans Syntax show onu priority-trans {downstream|upstream} interface1
14-82 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command queries the ONU-based packet priority transition information at an EPON OLT interface.
Parameters Parameter
Description
Value
downstream
ONU downstream packet
-
priority transition information. ONU upstream packet priority
upstream
-
transition information. epon onu interface, format:
interface1
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the downstream ONU packet priority transition information at the epon-olt_1/4/3 interface: ZXAN(config)# show onu priority-trans downstream epon-olt_1/4/3 Onu interface
Priority
Default vlan
State
------------------------------------------------------------------epon-onu_0/4/3:1
0
1
disable
epon-onu_0/4/3:2
0
1
disable
epon-onu_0/4/3:3
0
1
disable
Related Commands None
14.3.28 show onu running config Syntax show onu running config interface1
Function This command queries the running configuration information of an EPON ONU interface. 14-83 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt: onu or gpon-onu_shelf/slot/olt: onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the running configuration information of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 4: ZXAN#show onu running config epon-onu_1/4/1:1 olleh ! pon-onu-mng epon-onu_1/4/1:1 no Forbid-auto-dispatch interface eth eth_0/1 policing downstream enable cir 2000 cbs 2000 ebs 2000 !
Related Commands None
14.3.29 show onu sla Syntax show onu sla name1 interface1
Function This command queries the bandwidth information of an ONU.
14-84 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
Downstreawm/Upstream
-
interface1
ONU interface, epon-
-
onu_shelf/slot/olt: onu, shelf, slot, oltId OLT interface, onuId ONU interface.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the bandwidth information of an ONU: ZXAN(epon-onu-mng)#show onu sla downstream epon-onu_1/3/1:1 ID
MaxBw(Kbps)
MaxBurstSize(Bytes)
ProfileName
--------------------------------------------------------------1
100000
16777215
N/A
Related Commands None
14.3.30 show onu statistics Syntax show onu statistics interface1
Function This command queries the performance statistic data of an ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode 14-85 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to query the performance statistic data of an ONU: ZXAN(config)#show onu statistics epon-onu_1/11/1:1 -------------------------------------------------------Dot3MpcpMACCtrlFramesTransmitted-high32bit:0 Dot3MpcpMACCtrlFramesTransmitted-low32bit:0 Dot3MpcpMACCtrlFramesReceived-high32bit:0 Dot3MpcpMACCtrlFramesReceived-low32bit:0 Dot3MpcpDiscoveryWindowsSent:0 Dot3MpcpDiscoveryTimeout:0 Dot3MpcpTxRegRequest-high32bit:0 Dot3MpcpTxRegRequest-low32bit:0 Dot3MpcpRxRegRequest-high32bit:0 ............
Related Commands None
14.3.31 show onu vport-info Syntax show onu vport-info interface1 [number1]
Function This command queries the vport information of an ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
Port ID.
1–8
Mode All modes except user mode
Usage Guidelines None 14-86 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to query the vport information of an ONU: ZXAN(config)#show onu vport-info epon-onu_1/11/1:1
Vport
MAC
AuthState
EncryptDestination
EncryptStatus
--------------------------------------------------------------------------------
1
1212.1212.1212
not register
downstream
enable
Related Commands None
14.3.32 sla Syntax sla {downstream{[maximum number1][maxburst number2]}|upstream{[fixed number3][fixedpk t number4][assured number5][maximum number6][maxburst number7][priority number8]}}[vpo rt number9]
Function This command configures the bandwidth of an EPON ONU.
Parameters Parameter
Description
Value
downstream
Configuring the downstream
-
bandwidth. number1
Maximum downstream
512–10000000
bandwidth, unit: kbps. number2
Maximum downstream burst
1–16777215
flow, unit: byte. upstream
Configuring the maximum
-
upstream bandwidth, unit: kbps. number3
Upstream fixed bandwidth, unit:
0–10000000
kbps. number4
Fixed data packet size, unit:
64–1522
byte.
14-87 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number5
Upstream guaranteed
0–10000000
bandwidth, unit: kbps. number6
The maximum bandwidth, unit:
512–10000000
kbps. number7
The maximum burst flow, unit:
1–16777215
byte. number8
Frame priority.
0–7
number9
Port number.
1–8
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to configure the bandwidth of the No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#sla upstream maximum 100000 maxburst 180000
Related Commands None
14.3.33 sla-profile Syntax sla-profile name1 [vport number1] no sla-profile [vport number1]
Function This command applies an sla profile to a vport.
Parameters Parameter
Description
Value
name1
Profile name
-
number1
Port ID
1–8
14-88 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to apply an sla profile whose name is "zte" to vport 1: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#sla-profile zte vport 1
Related Commands None
14.3.34 sn Syntax sn name1
Function This command modifies the registration serial number of a specified ONU.
Parameters Parameter
Description
Value
name1
ONU registration serial number,
-
range: 1–127 characters.
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to modify the registration serial number of a specified ONU: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#sn 0x91000048
14-89 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.3.35 trap-mask Syntax trap-mask number1
Function This command sets the ONU trap report mask.
Parameters Parameter
Description
Value
number1
Control value
0–4294967295
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to set the ONU trap report mask to 11111111111: ZXAN(config)#interface epon-onu_1/4/1:1 ZXAN(config-if)#trap-mask 11111111111
Related Commands None
14.3.36 vport Syntax vport number1 mac hexadecimal1 no vport number1
Function This command creates an ONU vport. 14-90 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
number1
Port number
1–8
hexadecimal1
ONU MAC address
-
Mode wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU vport. In this example, the port number is 1 and the MAC address is 0000.0000.0001. ZXAN(config)#interface epon-onu_1/3/1:1
ZXAN(config-if)#vport 1 mac 0000.0000.0001
Related Commands None
14.4 EPON ONU Remote Management 14.4.1 active Syntax active pon-if name1
Function This command activates a PON interface.
Parameters Parameter
Description
Value
name1
PON interface type,
-
active/standby.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode 14-91 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to activate a standby PON interface: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#active pon-if back
Related Commands None
14.4.2 alarm Syntax alarm name1
Function This command enables or disables the alarm reporting function for an EPON ONU.
Parameters Parameter
Description
Value
name1
Whether to enable the alarm
-
reporting function.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the alarm reporting function for the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#alarm enable
Related Commands None 14-92 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.3 alarm interface Syntax alarm interface {eth name1 name2|e1 name3 name4|voip name5 name6} name7
Function This command configures the UNI interface alarms for an ONU.
Parameters Parameter
Description
Value
name1
Ethernet port name, format:
-
eth_slot/portId. name2
ONU Ethernet port alarm type.
-
name3
E1 port name, format:
-
e1_slot/portId. name4
ONU E1 port alarm type.
-
name5
VOIP port name, format:
-
voip_slot/portId. name6
ONU VOIP port alarm type.
-
name7
Whether to enable the alarm.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the automatic negotiation failure alarm for the No. 1 Ethernet port of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#alarm interface eth eth_0/1 AutoNegFailure enable
Related Commands The following command queries the alarm information of remotely managed ONUs and UNI interfaces: 14.4.101 show remote onu alarm uni
14-93 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.4 alarm onu Syntax alarm onu name1 name2
Function This command configures the ONU alarm type.
Parameters Parameter
Description
Value
name1
Alarm type.
-
name2
Whether to enable the alarm
-
type.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the BatteryFailure alarm type for an ONU. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#alarm onu BatteryFailure enable
Related Commands 14.4.99 show remote onu alarm onu
14.4.5 alarm pon-if Syntax alarm pon-if number1 name1 name2
Function This command configures the alarm information for a PON interface.
14-94 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
number1
PON interface.
1–2
name1
Alarm type.
-
name2
Whether to enable the alarm
-
type.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the DownstreamCRCErrorFramesWarning alarm type for a PON interface: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#alarm pon-if 1 DownstreamCRCErrorFramesWarning enable
Related Commands 14.4.100 show remote onu alarm pon-if
14.4.6 alarm-threshold Syntax alarm-threshold {onu {name1 assert-val name2 restore-val name3|name4 assert-val name5 rest ore-val name6}|pon-if number1 {name7 assert-value name8 restore-value name9 |name10 asser t-value name11 restore-value name12|name13 assert-value name14 restore-value name15|nam e16 assert-value name17 restore-value name18|name19 assert-value name20 restore-value nam e21|name22 assert-value name23 restore-value name24|name25 assert-value name26 restore-v alue name27|name28 assert-value name29 restore-value name30|name31 assert-value number2 restore-value number3}|interface name32 name33 assert-value number4 restore-value number5}
Function This command sets the ONU alarm thresholds.
14-95 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
onu
onu
-
name1
Alarm type.
-
name2
Alarm threshold, range:
-
0.0–6.55 V. name3
Alarm recovery threshold,
-
range: 0.0–6.55 V. name4
ONU alarm type.
-
name5
Alarm threshold, range: -128 to
-
127 C. name6
Alarm recovery threshold,
-
range: -128 to 127 C. pon-if
pon-if
-
number1
PON interface value.
1–2
name7
PON interface alarm type.
-
name8
Alarm threshold, range: -40 to
-
8.16 dBm. name9
Alarm recovery threshold,
-
range: -40 to 8.16 dBm. name10
PON interface alarm type.
-
name11
Alarm threshold, range:
-
0–131 mA. name12
Alarm recovery threshold,
-
range: 0–131 mA. name13
PON interface alarm type.
-
name14
Alarm threshold, range:
-
0.0–6.55 V. name15
Alarm recovery threshold,
-
range: 0.0–6.55 V. name16
PON interface alarm type.
-
name17
Alarm threshold, range: -128 to
-
127. name18
Alarm recovery threshold,
-
range: -128 to 127 C. name19
PON interface alarm type.
-
14-96 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
name20
Alarm threshold, range: -40 to
-
8.16 dBm. name21
Alarm recovery threshold,
-
range: -40 to 8.16 dBm. name22
PON interface alarm type.
-
name23
Alarm threshold, range:
-
0–131 mA. name24
Alarm recovery threshold,
-
range: 0–131 mA. name25
PON interface alarm type.
-
name26
Alarm threshold, range:
-
0.0–6.55 V. name27
Alarm recovery threshold,
-
range: 0.0–6.55 V. name28
PON interface alarm type.
-
name29
Alarm threshold, range: -128 to
-
127 C. name30
Alarm recovery threshold,
-
range: -128 to 127 C. name31
eth alarm type.
-
number2
Alarm threshold, range:
1–4294967295
1–4294967295. number3
Alarm recovery threshold,
1–4294967295
range: 1–4294967295. interface
interface
-
name32
Port name, format: eth_slot/port
-
name. name33
eth alarm type
-
number4
Alarm threshold, range:
1–4294967295
1–4294967295. number5
Alarm recovery threshold,
1–4294967295
range: 1–4294967295.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
14-97 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to set the ONU alarm thresholds. In this example, the ONU low battery alarm threshold is 2 V and the alarm recovery threshold is 3 V. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#alarm-threshold onu BatteryVoltLow assert-val 2 restore-val 3
Related Commands 14.4.102 show remote onu alarm-threshold onu
14.4.7 auto-config Syntax auto-config no auto-config
Function This command sets the automatic configuration function.
Parameters None
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the automatic configuration function: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#auto-config
Related Commands 14.4.104 show remote onu auto-config 14-98 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.8 auto-config voip Syntax auto-config voip no auto-config voip
Function This command sets the voip automatic configuration function.
Parameters None
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the voip automatic configuration function: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#auto-config voip
Related Commands None
14.4.9 auto-config wan Syntax auto-config wan no auto-config wan
Function This command automatically configures the WAN data.
Parameters None
14-99 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to automatically configures the WAN data: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#auto-config wan
Related Commands None
14.4.10 auto-config wifi Syntax auto-config wifi no auto-config wifi
Function This command automatically configures the WiFi data.
Parameters None
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to automatically configures the WiFi data: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#auto-config wifi
Related Commands None 14-100 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.11 classification condition-ipv6-profile Syntax classification condition-ipv6-profile name1 {dmac hexadecimal1|smac hexadecimal2|dstIP ip_ addr1|srcIP ip_addr2|priority number1|vlanId number2 |dscp number3|l4SrcPort number4|l4D stPort number5|IPV4Precedence number6|eth-type name2|ip-protocol-type name3 |traffic-clas s-ipv6 number7|ip-version name4|flow-label-ipv6 number8|dest-ip-ipv6 ipv6_addr1|src-ip-ipv6 ipv6_addr2|dest-ip-prefix-ipv6 v6mask1|src-ip-prefix-ipv6 v6mask2} operation-type name5 no classification condition-ipv6-profile name1
Function This command creates an IPV6 condition profile.
Parameters Parameter
Description
Value
name1
Condition profile name
-
hexadecimal1
Destination MAC address
-
hexadecimal2
Source MAC address
-
ip_addr1
Destination IP address
-
ip_addr2
Source IP address
-
number1
Priority
0–7
number2
VLAN ID
1–4094
number3
IP TOS/DSCP
0–63
number4
Source port
1–65535
number5
Destination port
1–65535
number6
IPv4 precedence
0–7
name2
Ethernet type
-
name3
IP protocol type
-
number7
ipv6 service type
0–255
name4
IP version
-
number8
Flow label
0–65535
ipv6_addr1
Destination IP address
-
ipv6_addr2
Source IP address
-
v6mask1
Destination IP prefix
-
v6mask2
Source IP prefix
-
name5
Operation type
-
14-101 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an IPV6 condition profile. In this example, the destination MAC address is 1111.1111.1111 and the operation type is always-match. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)# classification condition-ipv6-profile zte dmac 1111.1111.1111 operation-type always-match
Related Commands None
14.4.12 classification condition-profile Syntax classification condition-profile name1 {{dmac hexadecimal1|smac hexadecimal2}|{dstIP ip_add r1|srcIp ip_addr2}|{priority number1|vlanId number2|dscp number3|l4SrcPort number4 |l4Dst Port number5|IPV4Precedence number6}|{eth-type name2|ip-protocol-type name3}} operation -type name4 no classification condition-profile name1
Function This command creates an EPON ONU classification condition profile.
Parameters Parameter
Description
Value
name1
Condition profile name.
-
hexadecimal1
Destination MAC address,
-
format: XXXX.XXXX.XXXX. hexadecimal2
Source MAC address, format:
-
XXXX.XXXX.XXXX. ip_addr1
Destination IP address, format:
-
A.B.C.D. ip_addr2
Source IP address, format:
-
A.B.C.D. 14-102 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
number1
Ethernet priority, range: 0–7.
0–7
number2
VLAN value, range: 1–4094.
1–4094
number3
IP TOS/DSCP value, range:
0–63
0–63. number4
Source port at the transportation
1–65535
layer, range: 1–65535. number5
Destination port at the
1–65535
transportation layer, range: 1–65535. number6
IPV4 address preferred, range:
0–7
0–7. name2
Ethernet type, format:
-
hexadecimal number (for example, 0x8808). name3
IP protocol type, format:
-
hexadecimal number (for example, 0x02). name4
Operation type.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a classification condition profile. In this example, the profile name is "zte", and the profile sets the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10 that the operation type of the packet whose VLAN ID is 100 is always-match. ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#classification condition-profile zte vlanId 100 operation-type always-match
Related Commands 14.4.106 show remote onu classification profile
14-103 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.13 classification port Syntax classification port name1 rule-precedence number1 {add name2 name3|delete name4} no classification port name1
Function This command adds or deletes the classification and mapping control rules for upstream service flows at an EPON ONU Ethernet port.
Parameters Parameter
Description
Value
name1
Ethernet port name, format:
-
eth_slot/port. number1
Rule priority, range: 1–8.
1–8
name2
Classification condition profile
-
name, range: 1–31 characters. name3
Rule profile name, range: 1–31
-
characters. name4
Classification condition profile
-
name, range: 1–31 characters.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines Before executing this command, users must first configure a classification condition profile a mapping rule profile. Users can only use the configured classification condition profiles and mapping rule profiles to configure Ethernet port rules. At most four classification condition profiles can be used in configuring the rules of an Ethernet port. To cancel the setting, use the no form of this command.
Examples The following example shows how to set the threshold of the No. 1 queue of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#classification port eth_0/1 rule-precedence 8 add zte zte
14-104 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Related Commands None
14.4.14 classification rule-profile Syntax classification rule-profile name1 queue number1 priority number2 no classification rule-profile name1
Function This command creates an EPON ONU mapping rule profile.
Parameters Parameter
Description
Value
name1
Rule profile name.
-
number1
Queue priority, range: 0–7.
0–7
number2
Mapped priority, range: 0–7.
0–7
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a mapping rule profile. In this example, the profile name is "zte", and the profile maps the priority of the No. 1 queue of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10 to 5. ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)# classification rule-profile zte queue 1 priority 5
Related Commands None
14.4.15 clear-oam-config Syntax clear-oam-config 14-105 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command clears the OAM configuration.
Parameters None
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to clear the OAM configuration: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#clear-oam-config
Related Commands None
14.4.16 compatibility Syntax compatibility {disable|enable mode name1}
Function This command sets the ONU compatibility.
Parameters Parameter
Description
Value
disable
Disabling the compatibility.
-
enable
Enabling the compatibility.
-
name1
Mode, ZTE or CTC.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None 14-106 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to enable compatibly sending CTC-type frames: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#compatibility enable mode CTC
Related Commands 14.4.107 show remote onu compatibility
14.4.17 config-pvid Syntax config-pvid port number1 pvid number2
Function This command configures the PVID of a ZTE ONU (ZTE extended OAM-type ONU).
Parameters Parameter
Description
Value
number1
ONU Ethernet port
1–8
number2
VLAN ID
1–4094
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the PVID of Etherenet port 2 to 3: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#config-pvid port 2 pvid 3
Related Commands None
14-107 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.18 config-vlan Syntax config-vlan number1 ports name1{tag|untag}
Function This command sets the VLAN of a ZTE ONU (ZTE extended OAM-type ONU).
Parameters Parameter
Description
Value
number1
VLAN ID
1–4094
name1
Port number
-
tag
tag mode
-
untag
untag mode
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the VLAN of a ZTE ONU to 1 and set port 2 to tag mode: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#config-vlan 1 ports 2 tag
Related Commands None
14.4.19 dba queue-set Syntax dba queue-set number1 {[queue1 number2][queue2 number3][queue3 number4][queue4 number 5][queue5 number6][queue6 number7][queue7 number8][queue8 number9]}[vport number10]
Function This command sets the threshold of an EPON ONU queue. 14-108 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
number1
Queue set number, range: 1–3.
1–3
number2
Threshold of queue 1, range:
0–65535
1–65535. number3
Threshold of queue 2, range:
0–65535
1–65535. number4
Threshold of queue 3, range:
0–65535
1–65535. number5
Threshold of queue 4, range:
0–65535
1–65535. number6
Threshold of queue 5, range:
0–65535
1–65535. number7
Threshold of queue 6, range:
0–65535
1–65535. number8
Threshold of queue 7, range:
0–65535
1–65535. number9
Threshold of queue 8, range:
0–65535
1–65535. number10
VPORT number, range: 1–8.
1–8
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the threshold of queue 2 of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 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 Commands 14.4.109 show remote onu dba
14-109 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.20 dba queue-set active Syntax dba queue-set active name1 [vport number1]
Function This command activates the DBA function for an EPON ONU queue.
Parameters Parameter
Description
Value
name1
The queue set list to be
-
activated, range: 1–6. number1
VPORT number, range: 1–8.
1–8
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines Before activating the DBA function for an EPON ONU queue, the thresholds of the corresponding queue set must be set.
Examples The following example shows how to activate the DBA function for queue 2 of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#dba queue-set active 2
Related Commands None
14.4.21 fec upstream Syntax fec upstream name1
Function This command enables or disables the EPON ONU upstream FEC function.
14-110 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
Whether to enable the
-
EPON ONU upstream FEC function.
Mode epon onu interface mode
Usage Guidelines None
Examples The following example shows how to enable the FEC function for the No. 1 ONU at the No. 1 OLT interface of shelf 0 slot 4: ZXAN(config)#interface epon-onu_0/4/1:1 ZXAN(config-if)#fec upstream enable
Related Commands None
14.4.22 holdover Syntax holdover {disable|enable [time number1]}
Function This command manages the ONU status holdover function in optical link protection.
Parameters Parameter disable
Description
Value
Disabling the ONU status
-
holdover function. enable
Enabling the ONU status
-
holdover function. number1
Time range, range: 50–1000
50–1000
ms.
14-111 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the ONU status holdover function management. In this example, the time range is 100 ms. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#holdover enable time 100
Related Commands 14.4.111 show remote onu holdover
14.4.23 interface e1 Syntax interface e1 name1 name2
Function This command sets the E1 interface of an EPON ONU.
Parameters Parameter
Description
Value
name1
E1 interface name, slot, port ID
-
(range: 0–31 characters). name2
Whether to enable the E1
-
interface.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the E1 interface of No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: 14-112 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#interface e1 e1_0/1 enable
Related Commands None
14.4.24 interface eth Syntax interface eth name1 {name2 {name3}|auto-neg name4|policing-profile {unbind|bind name5}|po licing {downstream|upstream} {disable|enable {[cir number1] [cbs number2][ebs number3]}}|m ode name6}
Function This command sets a specified Ethernet interface.
Parameters Parameter
Description
Value
name1
Ethernet interface name,
-
slot, port ID (range: 1–31 characters). name2
Enable/Disable.
-
name3
Enable/Disable.
-
name4
Enable/Disable/Restart.
-
policing-profile
Policing profile.
-
unbind
Unbinding the policing profile.
-
bind
Binding the policing profile.
-
name5
Policing profile name, range:
-
1–16 characters. policing
Policing function.
-
downstream
Downstream flow.
-
upstream
Upstream flow.
-
disable
Disabling the policing function.
-
enable
Enabling the policing function.
-
number1
CIR, range: 0–10000000, unit:
0–10000000
kbps.
14-113 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number2
CBS, range: 1522–16777215,
1522–16777215
unit: byte. number3
EBS, range: 1–1522, unit: byte.
0–1522
name6
Enable/Disable
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the auto-neg function for a specified Ethernet interface: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#interface eth eth_0/1 auto-neg enable
Related Commands None
14.4.25 interface voip Syntax interface voip name1 name2
Function This command sets the VoIP interface of an EPON ONU.
Parameters Parameter
Description
Value
name1
VoIP interface name, slot, port
-
ID (range: 1–31 characters). name2
Whether to enable the interface.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode 14-114 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to enable the VoIP interface of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#interface voip voip_0/1 enable
Related Commands None
14.4.26 interface-loopdetect Syntax interface-loopdetect name1 name2
Function This command configures the interface loop detecting function.
Parameters Parameter
Description
Value
name1
Interface list, format:
-
eth_slot/portA[-portB]. name2
Whether to activate the function.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to activate the loop detecting function for the eth_0/1 interface: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#interface-loopdetect eth_0/1 activate
14-115 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 14.4.114 show remote onu loopdetect
14.4.27 isolation Syntax isolation name1
Function This command enables or disables the port isolation function for an EPON ONU.
Parameters Parameter
Description
Value
name1
Whether to enable the function.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the port isolation function for the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#isolation enable
Related Commands None
14.4.28 llid-queue Syntax lid-queue [vport number1] queue1 number2 number3 [queue2 number4 number5 [queue3 number 6 number7 [queue4 number8 number9 [queue5 number10 number11 [queue6 number12 number13 [queue7 number14 number15 [queue8 number16 number17]]]]]]]
14-116 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command manages the corresponding relationship between an LLID and the service queue.
Parameters Parameter
Description
Value
number1
LLID.
1–8
number2
Queue number.
0–7
number3
Weighted scheduling algorithm.
0–100
number4
Queue number.
0–7
number5
Weighted scheduling algorithm.
0–100
number6
Queue number.
0–7
number7
Weighted scheduling algorithm.
0–100
number8
Queue number.
0–7
number9
Weighted scheduling algorithm.
0–100
number10
Queue number.
0–7
number11
Weighted scheduling algorithm.
0–100
number12
Queue number.
0–7
number13
Weighted scheduling algorithm.
0–100
number14
Queue number.
0–7
number15
Weighted scheduling algorithm.
0–100
number16
Queue number.
0–7
number17
Weighted scheduling algorithm.
0–100
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure an LLID queue. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)# llid-queue queue1 1 2 queue2 2 3 queue3 4 5 queue4 1 2 queue5 2 3 queue6 2 2 queue7 2 3 queue8 2 3
14-117 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 14.4.113 show remote onu llid-queue
14.4.29 mac add Syntax mac add name1 name2 hexadecimal1 number1
Function This command adds an MAC address.
Parameters Parameter
Description
Value
name1
Port
-
name2
filter, bind, or static
-
hexadecimal1
MAC address
-
number1
VLAN ID
1–4094
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the Ethernet interface MAC address of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 3. In this example, the MAC address is 0000.0000.0001 and the VLAN ID is 1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#mac add eth_0/1 bind 0000.0000.0001 1
Related Commands 14.4.32 mac delete 44.10 show mac
14-118 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.30 mac aging-time Syntax mac aging-time number1
Function This command sets the dynamic MAC address aging time.
Parameters Parameter
Description
Value
number1
MAC address aging time,
15–86400
range: 15–86400 (the value is a multiple of 15), unit: second.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines If the MAC address aging time is n seconds, the dynamic MAC address can be aged within n seconds to 2n seconds.
Examples The following example shows how to set the dynamic MAC address aging time to 180 seconds: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#mac aging-time 180
Related Commands None
14.4.31 mac clear Syntax mac clear name1 name2
Function This command clears all MAC addresses.
14-119 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Port
-
name2
filter, bind, or static
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to clear all static MAC addresses at the eth_0/1 interface: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#mac clear eth_0/1 static
Related Commands None
14.4.32 mac delete Syntax mac delete name1 name2 hexadecimal1 number1
Function This command delete a MAC address.
Parameters Parameter
Description
Value
name1
Port
-
name2
filter, bind, or static
-
hexadecimal1
MAC address
-
number1
VLAN ID
1–4094
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode 14-120 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines If no VLAN ID is specified, all MAC addresses that match the mac-address parameter will be deleted.
Examples The following example shows how to delete the MAC address of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 3. In this example, the MAC address is 0000.0000.0001 and the VLAN ID is 1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#mac delete eth_0/1 bind 0000.0000.0001 1
Related Commands 14.4.29 mac add 44.10 show mac
14.4.33 mac limit-num Syntax mac limit-num name1 {number1|no-limit}
Function This command sets the maximum number of MAC addresses that an EPON ONU Ethernet port can learn.
Parameters Parameter
Description
Value
name1
Ethernet port name, slot, port ID
-
(range, 0–31 characters). number1
The maximum number of MAC
0–65534
addresses, range: 0–65534. no-limit
No limit.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
14-121 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to set the maximum number of Ethernet port MAC addresses of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10. In this example, the maximum number is set to 32. ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#mac limit-num eth_0/1 32
Related Commands None
14.4.34 mgmt-ip Syntax mgmt-ip {status name1|ip_addr1 ip_addr2 vlan number1 [svlan number2] priority number3 rou te ip_addr3 ip_addr4 ip_addr5 [status name2]}
Function This command sets the management IP address of an EPON ONU.
Parameters Parameter
Description
Value
name1
Whether to enable the status.
-
ip_addr1
ONU IP address.
-
ip_addr2
ONU subnetwork mask.
-
number1
VLAN number, range: 1–4094.
1–4094
number2
SVLAN number, range: 1–4094.
1–4094
number3
Priority, range: 0–7.
0–7
ip_addr3
Remote host IP address.
-
ip_addr4
Remote host subnetwork mask.
-
ip_addr5
The next IP address.
-
name2
Whether to enable the
-
management status.
Mode GPON-ONU-MNG mode, EPON-ONU-MNG mode
14-122 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines The ONU IP address and the remote host IP address cannot be in the same network segment as that of the ONU LAN IP address (the default value is 192.168.1.1/255.255.255.0). If the ONU is connected to a WAN, the ONU IP address and the remote host IP address cannot be in the same network segment as that of the IP addresses connected by the WAN. The VLAN cannot be the VLAN used by the ONU.
Examples The following example shows how to set the management IP address status to automatic allocation for the No. 1 ONU at the No. OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#mgmt-ip auto-assign
Related Commands 14.4.116 show remote onu mgmt-ip
14.4.35 mgmt-ip auto-assign Syntax mgmt-ip auto-assign
Function This command automatically assigns ONU management IP addresses from the IP address pool.
Parameters None
Mode GPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to automatically assigns ONU management IP addresses from the IP address pool: 14-123 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#pon-onu-mng epon-onu_1/4/1:1 ZXAN(epon-onu-mng)#mgmt-ip auto-assign
Related Commands None
14.4.36 mgmt-ip dhcp Syntax mgmt-ip dhcp {disable|enable vlan number1 priority number2}
Function This command sets the DHCP function for an ONU management IP address.
Parameters Parameter
Description
Value
disable
Disabling the DHCP function.
-
enable
Enabling the DHCP function.
-
number1
VLAN number, range: 1–4094.
1–4094
number2
Priority, range: 0–7.
0–7
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the DHCP function for the No. management IP address at the No. 1 OLT interface of shelf 1 slot 10:
1 ONU
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#mgmt-ip dhcp enable vlan 110 priority 0
Related Commands 14.4.117 show remote onu mgmt-ip dhcp
14-124 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.37 mgmt-ip release Syntax mgmt-ip release
Function This command releases the management IP address of an ONU.
Parameters None
Mode GPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to release the management IP address of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#mgmt-ip release
Related Commands None
14.4.38 mng-snmp Syntax mng-snmp version name1 hostIp ip_addr1 trap-port number1 snmp-port number2 securityNa me name2 communityRead name3 communityWrite name4
Function This command configures the management SNMP properties.
Parameters Parameter
Description
Value
name1
Version.
-
ip_addr1
IP address.
-
14-125 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number1
Port.
1–65535
number2
snmp port.
1–65535
name2
Security name.
-
name3
Community read.
-
name4
Community write.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the management SNMP properties: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#mng-snmp version v1 hostIp 1.2.3.4 trap-port 1 snmp-port 1 securityName zte communityRead zte communityWrite zte
Related Commands 14.4.118 show remote onu mng-snmp
14.4.39 mng-snmp ipv6 Syntax mng-snmp ipv6 version name1 hostIp ipv6_addr1 trap-port number1 snmp-port number2 secu rityName name2 communityRead name3 communityWrite name4
Function This command sets the SNMP IPv6 properties.
Parameters Parameter
Description
Value
name1
Version (v1 or v2).
-
ipv6_addr1
IPv6 address.
-
number1
trap port.
1–65535
number2
snmp port.
1–65535
14-126 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
name2
Security name.
-
name3
Community read.
-
name4
Community write.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the SNMP IPv6 properties: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#mng-snmp ipv6 version v1 hostIp 2001::1 trap-port 2 snmp-port 2 securityName zte communityRead zte communityWrite zte
Related Commands 14.4.119 show remote onu mng-snmp ipv6
14.4.40 multicast control-type Syntax multicast control-type name1
Function This command configures the ONU Ethernet interface multicast control mode.
Parameters Parameter
Description
Value
name1
Multicast control mode.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
14-127 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the ONU Ethernet interface multicast control mode: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)# multicast control-type gda-mac-and-vlan
Related Commands None
14.4.41 multicast fastleave Syntax multicast fastleave name1
Function This command configures the ONU multicast fast leave function.
Parameters Parameter
Description
Value
name1
Whether to enable the function.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the ONU multicast fast leave function: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)# multicast fastleave enable
Related Commands None
14-128 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.42 multicast group-max-number Syntax multicast group-max-number name1 number1
Function This command sets the maximum number of multicast groups at an EPON ONU Ethernet port.
Parameters Parameter
Description
Value
name1
Ethernet port name, slot,
-
port number (range: 1–31 characters). number1
The maximum number of
1–255
multicast groups, range: 1–255.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the maximum number of multicast groups at the No. 1 ONU Ethernet port at the No. 1 OLT interface of shelf 1 slot 10: In this example, the maximum number is set to 32. ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#multicast group-max-number eth_0/1 32
Related Commands None
14.4.43 multicast switch Syntax multicast switch name1
14-129 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the multicast mode of an EPON ONU. The mode can be IGMP Snooping mode, controllable multicast mode, and transparent transmission mode.
Parameters Parameter
Description
Value
name1
IGMP Snooping mode,
-
controllable multicast mode, or transparent transmission mode
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the multicast mode of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10. In this example, the multicast mode is set to IGMP Snooping. ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#multicast switch igmpsnooping
Related Commands None
14.4.44 multicast vlan Syntax multicast vlan port name1 {name2 vlanlist name3|clear}
Function This command configures the multicast VLAN of an EPON ONU Ethernet port.
Parameters Parameter
Description
Value
name1
Port name, format:
-
eth_slot/port. name2
delete, add, or clear.
-
14-130 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
name3
VLAN ID list, the maximum
-
VLAN ID is 10. clear
clear
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines This command is executed only when the multicast mode is set to igmp snooping. If the action is set to "clear", users need not set the vlanlist parameter. It indicates that all multicast VLAN configurations of the port will be deleted. If the action is set to "add" or "delete", the vlanlist parameter must be set.
Examples The following example shows how to configure the multicast VLAN of the No. 1 ONU Ethernet port at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#multicast vlan port eth_0/1 add vlanlist 1,3,5-8
Related Commands None
14.4.45 multicast vlan tag-strip Syntax multicast vlan tag-strip port name1 {enable|disable|translate trans-list name2}
Function This command enables or disables the multicast VLAN tag strip function for an EPON ONU Ethernet port:
Parameters Parameter
Description
Value
name1
Ethernet port name, slot, port
-
(range: 1–31 characters). enable
Enabling the function.
-
disable
Disabling the function.
-
14-131 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
translate
Translating to the user list.
-
name2
Translated list, format:
-
: (range: 1–99 characters).
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the multicast VLAN tag strip function for the No. 1 ONU Ethernet port at the No. 1 OLT interface of shelf 1 slot 10: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#multicast vlan tag-strip port eth_0/1 enable
Related Commands None
14.4.46 onu-queue Syntax onu-queue apply name1
Function This command applies an ONU SLA queue profile.
Parameters Parameter
Description
Value
apply
Applying a profile.
-
name1
SLA queue profile name.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None 14-132 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to apply an ONU SLA queue profile whose name is "zte": ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#onu-queue apply zte
Related Commands 14.4.73 show remote epon onu-queue-profile
14.4.47 performance restart-current-period Syntax performance restart-current-period {pon-if number1|port name1}
Function This command restarts the current performance statistics period.
Parameters Parameter
Description
Value
number1
Active/standby.
1–2
name1
Port number.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to restart the current performance statistics period of the No. 1 PON interface of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 3: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#performance restart-current-period pon-if 1
Related Commands None
14-133 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.48 performance status Syntax performance status name1 [monitoring-period number1] {pon-if number2|port name2}
Function This command configures the performance statistics status and period.
Parameters Parameter
Description
Value
name1
Whether to enable the function.
-
number1
Monitoring period, unit: byte.
0–16777215
number2
PON interface index.
1–2
name2
Port, format: eth_slot/port.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the performance statistics function for the No. 1 PON interface of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 3: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#performance status enable pon-if 1
Related Commands None
14.4.49 pon-buffer Syntax pon-buffer name1 {use-default|user-defined size number1}
Function This command configures the upstream/downstream buffer size of an ONU PON. Users can use the default configuration or customize the buffer size as required. 14-134 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
Upstream/downstream.
-
use-default
Using the default configuration.
-
user-defined
Using the user-defined
-
configuration. number1
Size, range: 0–16777215 bytes.
0–16777215
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the downstream buffer size of an ONU PON. In this example, the buffer size is 1500 bytes. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#pon-buffer downstream user-defined size 1500
Related Commands None
14.4.50 pon-downstream-shaping Syntax pon-downstream-shaping {disable|enable cir number1 [cbs number2]}
Function This command configures the downstream shaping function for an ONU.
Parameters Parameter disable
Description
Value
Disabling the function or
-
recovering the default configuration. enable
Enabling the function.
-
14-135 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number1
cir range, range:
0–1000000
0–1000000 Kbps. number2
cbs range, range:
1522–16777215
1522–16777215 bytes.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the downstream shaping function for an ONU. In this example, the function is enabled, cir is set to 2000 Kbps, and cbs is set to 3000 bytes. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#pon-downstream-shaping enable cir 2000 cbs 3000
Related Commands None
14.4.51 pppoe-test Syntax pppoe-test name1 action name2 username name3 password name4 pppoe-mode name5 vlan number1
Function This command performs the PPPoE simulated dialing test at an Ethernet service port.
Parameters Parameter
Description
Value
name1
EPON ONU Ethernet service
-
port, format: eth_slot/port. name2
start/stop.
-
name3
pppoe-test user name.
-
name4
pppoe-test password.
-
14-136 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
name5
Automatic/CHAP/PAP
-
number1
pppoe-test VLAN number,
1–4094
range: 1–4094.
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to perform the PPPoE simulated dialing test at the eth_0/1 port: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#pppoe-test eth_0/1 action start username xPon password xPon pppoe-mode chap vlan 0
Related Commands 14.4.131 show remote onu pppoe-test
14.4.52 protection Syntax protection {[optical-LoS-time number1] [MAC-LoS-time number2]}
Function This command configures the optical out-of-synchronization out-of-synchronization time for the protection of an ONU.
time
and
MAC
Parameters Parameter
Description
Value
number1
optical out-of-synchronization
1–65535
time, unit: ms. number2
mac out-of-synchronization
1–65535
time, unit: ms.
Mode EPON-ONU-MNG mode 14-137 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to configure the optical out-of-synchronization time and MAC out-of-synchronization time for the protection of an ONU: ZXAN(config)#pon-onu-mng epon-onu_1/5/1:1 ZXAN(epon-onu-mng)#protection MAC-LoS-time 1000 optical-LoS-time 2000
Related Commands 14.4.132 show remote onu protection parameters
14.4.53 reboot Syntax reboot
Function This command reboots an ONU.
Parameters None
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to reboot an ONU: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#reboot
Related Commands None
14-138 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.54 region Syntax region number1
Function This command sets the country code of an ONU.
Parameters Parameter
Description
Value
number1
ONU country code.
0–65535
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the country code of an ONU to 1: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#region 1
Related Commands None
14.4.55 register sip-port Syntax register sip-port slot number1 no register sip-port slot number1
Function This command registers an sip interface.
Parameters Parameter
Description
Value
number1
Slot number
1–255
14-139 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to register the sip interface at slot 1: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#register sip-port slot 1
Related Commands None
14.4.56 register voip-module Syntax register voip-module slot number1 no register voip-module slot number1
Function This command registers a voice module.
Parameters Parameter
Description
Value
number1
Slot number
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to register a voice module. In this example, the slot number is 1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#register voip-module slot 1
14-140 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Related Commands None
14.4.57 reset uni-statistic Syntax reset uni-statistic name1
Function This command resets the ONU interface statistic data.
Parameters Parameter
Description
Value
name1
Ethernet port name, slot, port
-
ID.
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to reset the statistics data of the eth_0/1 port: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#reset uni-statistic eth_0/1
Related Commands None
14.4.58 reset voip-module Syntax reset voip-module slot number1
Function This command resets voice.
14-141 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Slot number
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to reset the voice at slot 1: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#reset voip-module slot 1
Related Commands None
14.4.59 reset-card Syntax reset-card slot number1
Function This command resets a card.
Parameters Parameter
Description
Value
number1
Card number, range: 1–255.
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to reset the card at slot 1: 14-142 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#reset-card slot 1
Related Commands 14.4.53 reboot
14.4.60 restore factory-settings Syntax restore factory-settings
Function This command restores the factory default configuration.
Parameters None
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to restore the factory default configuration: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#restore factory-settings
Related Commands None
14.4.61 restore voip-module Syntax restore voip-module slot number1
Function This command restores the voice function of a slot. 14-143 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Slot number
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to restore the voice function of slot 1: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#restore voip-module slot 1
Related Commands None
14.4.62 rms Syntax rms {[ip-addr ip_addr1 mask ip_addr2] [ip-profile name1]}[pppoe username name2 password name3][vlan-profile name4][url name5] slot number1
Function This command configures RMS IP addresses.
Parameters Parameter
Description
Value
ip_addr1
IP address.
-
ip_addr2
Mask.
-
name1
IP profile name.
-
pppoe
pppoe.
-
name2
User name.
-
name3
Password.
-
name4
VLAN profile name.
-
14-144 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
name5
URL.
-
number1
Slot number.
1–255
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the RMS IP address of slot 1. In this example, the IP address is 1.2.3.4 and the mask is 255.255.255.1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#rms ip-addr 1.2.3.4 mask 255.255.255.1 slot 1
Related Commands 14.4.76 show remote epon rms
14.4.63 save Syntax save
Function This command saves the configuration of an ONU.
Parameters None
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to save the configuration of an ONU: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
14-145 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(epon-onu-mng)#save
Related Commands None
14.4.64 security-mng Syntax security-mng name1 name2
Function This command enables or disables the ONU application protocol security management function.
Parameters Parameter
Description
Value
name1
Telnet protocol.
-
name2
Whether to enable the function.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the ONU application protocol security management function: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#security-mng telnet enable
Related Commands 14.4.134 show remote onu security-mng
14.4.65 serial-port attribute-profile Syntax serial-port attribute-profile name1 apply name2 mode {name3 local-ip ip_addr1 local-port nu mber1|name4 local-ip ip_addr2 local-port number2 remote-ip ip_addr3 remote-port number3} 14-146 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
no serial-port attribute-profile name5
Function This command applies a serial port attribute profile and sets its attributes.
Parameters Parameter
Description
Value
name1
COM port name, format:
-
com_slot/port. apply
apply.
-
name2
Attribute profile name.
-
mode
mode.
-
name3
zte-passive mode or tcp-server
-
mode. ip_addr1
Local IP address.
-
number1
Local port number.
1–65535
name4
Mode.
-
ip_addr2
Local IP address.
-
number2
Local port number.
1–65535
ip_addr3
Remote IP address.
-
number3
Remote port number.
1–65535
name5
COM port name, format:
-
com_slot/port.
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to apply a serial port attribute profile and set its attributes. In this example, the profile name is "zte". ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#serial-port attribute-profile com_0/3 apply zte mode tcp-client-mode local-ip 10.63.196.160 local-port 8093 remote-ip 10.46.46.142 remote-port 142
14-147 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 14.4.135 show remote onu serial-port attribute
14.4.66 serial-port buffer-profile Syntax serial-port buffer-profile name1 apply name2 no serial-port buffer-profile name3
Function This command applies a serial port buffer profile.
Parameters Parameter
Description
Value
name1
COM port name, format:
-
com_slot/port. apply
apply.
-
name2
Buffer profile name.
-
COM port name, format:
-
name3
com_slot/port.
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to apply a serial port buffer profile whose name is "zte": ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#serial-port buffer-profile com_0/3 apply zte
Related Commands 14.4.136 show remote onu serial-port buffer
14-148 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.67 serial-port global-profile Syntax serial-port global-profile apply name1 no serial-port global-profile
Function This command applies a serial port global configuration profile.
Parameters Parameter
Description
Value
apply
apply.
-
name1
Serial port global configuration
-
profile name.
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to apply a serial port global configuration profile whose name is "zte": ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#serial-port global-profile apply zte
Related Commands 14.4.137 show remote onu serial-port global information
14.4.68 serial-port ip Syntax serial-port ip {{name1 ip_addr1 ip_addr2 Priority number1 vlan number2 route-subnet ip_addr3 ip_addr4 ip_addr5|name2 ip_addr6}|name3}
Function This command sets the IP address of a serial port. 14-149 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
add, delete, or clear.
-
ip_addr1
IP address.
-
ip_addr2
Mask.
-
number1
Priority.
0–7
number2
VLAN ID.
1–4093
ip_addr3
Subnetwork IP address.
-
ip_addr4
Subnetwork mask.
-
ip_addr5
Gateway.
-
name2
add, delete, or clear.
-
ip_addr6
IP address.
-
name3
add, delete, or clear.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to add IP address for a serial port: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#serial-port ip add 10.63.196.160 255.255.255.0 Priority 0 vlan 149 route-subnet 0.0.0.0 0.0.0.0 10.63.196.254
Related Commands 14.4.138 show remote onu serial-port ip
14.4.69 serial-port statistic Syntax serial-port statistic clear name1
Function This command clears the statistics data of a serial port.
14-150 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
clear
clear.
-
name1
Serial port name, format:
-
com_slot/port.
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to clear the statistics data of a serial port: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#serial-port statistic clear com_0/3
Related Commands 14.4.139 show remote onu serial-port statistic
14.4.70 show remote epon fax profile Syntax show remote epon fax profile [name1]
Function This command queries the fax profile information.
Parameters Parameter
Description
Value
name1
fax profile name.
-
Mode All modes except user mode
Usage Guidelines None 14-151 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to query the fax profile information: ZXAN(epon-onu-mng)#show remote epon fax profile
Fax profile:
default
T38 is:
disable
Control mode: none
Related Commands None
14.4.71 show remote epon h248-profile Syntax show remote epon h248-profile [name1]
Function This command queries the information of an h248 profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of an h248 profile: ZXAN(epon-onu-mng)#show remote epon h248-profile
H248protocol profile:
default
register server ip:
0.0.0.0
port:
2944
backup register server ip:
0.0.0.0
port:
2944
rtp link kept flag:
disable
heartbeat mode:
h248ctc
14-152 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands cycle-time(in seconds):
60
count-time:
3
MG register mode:
ip
MG port:
2944
Related Commands None
14.4.72 show remote epon mgcp-profile Syntax show remote epon mgcp-profile [name1]
Function This command queries the information of an MGCP profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of an MGCP profile: ZXAN(epon-onu-mng)#show remote epon mgcp-profile
MGCP protocol profile:
default
register server ip:
0.0.0.0
port:
2727
backup register server ip: 0.0.0.0 port:
2727
heartbeat mode:
mgcp
cycle-time(in seconds):
60
count-time:
3
MG register mode:
ip
MG port:
2427
14-153 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.4.73 show remote epon onu-queue-profile Syntax show remote epon onu-queue-profile [name1]
Function This command queries the information of an ONU queue profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of an ONU queue profile: ZXAN(epon-onu-mng)#show remote epon onu-queue-profile -------------------------------------------------------ProfileName:
default
SlaOperation:
deactivate
Scheduling:
sp
High_priority:
0
CycleLen:
0
Related Commands None
14.4.74 show remote epon ping-test Syntax show remote epon ping-test interface1 slot number1 14-154 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command queries the ping test information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
Slot number.
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the ping test information: ZXAN(epon-onu-mng)#show remote epon ping-test epon-onu_1/11/1:1 slot 1
Related Commands None
14.4.75 show remote epon pots status Syntax show remote epon pots status interface1 [name1]
Function This command queries the status of an interface.
Parameters Parameter
Description
Value
interface1
Interface, format:
-
epon-onu_shelf/slot/olt:onu. name1
Format: pots_slot/port
-
Mode All modes except user mode 14-155 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to query the status of an interface: ZXAN(epon-onu-mng)#show remote epon pots status epon-onu_1/11/1:1 pots
status
service-type
service-status
codec-mode
-------------------------------------------------------------------------pots_1/1
registering
N/A
endAuto
G711A
pots_1/2
registering
N/A
endAuto
G711A
Related Commands None
14.4.76 show remote epon rms Syntax show remote epon rms interface1 number1
Function This command queries the voip remote configuration information.
Parameters Parameter
Description
Value
interface1
Interface format.
-
number1
voip card number.
0–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the voip remote configuration information: ZXAN(epon-onu-mng)#show remote epon rms epon-onu_1/11/1:1 0 VoIP card :
1
Associate :
standalone
VoIP mode :
static
14-156 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands IP assress:
0.0.0.0
Mask
:
0.0.0.0
Gateway
:
0.0.0.0
DNS server:
0.0.0.0
Vlan flag :
transparent
Cvlan
:
Svlan Priority
: :
Auth mode :
0 0 0 auto
User name : Password
:
URL :
Related Commands None
14.4.77 show remote epon serial-port attribute-profile Syntax show remote epon serial-port attribute-profile [name1]
Function This command queries the information of a serial port attribute profile.
Parameters Parameter
Description
Value
name1
Attribute profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of a serial port attribute profile: ZXAN(epon-onu-mng)#show remote epon serial-port attribute-profile zte Profile:
testAttr
State: enable Baud rate: 9600(bit/s) Data bits: 8(bits)
14-157 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Parity: even Stop bits: 2(bit) Flow control: none Type: rs232
Related Commands None
14.4.78 show remote epon serial-port buffer-profile Syntax show remote epon serial-port buffer-profile [name1]
Function This command queries the information of a serial port buffer profile.
Parameters Parameter
Description
Value
name1
Buffer profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of a serial port buffer profile: ZXAN(epon-onu-mng)#show remote epon serial-port buffer-profile Profile:
bufattr
Mode:
buffered
Wait time:
150
Buffer size: Encrypt status:
100 true
Related Commands None
14-158 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.79 show remote epon serial-port global-profile Syntax show remote epon serial-port global-profile [name1]
Function This command queries the information of a serial port global profile.
Parameters Parameter
Description
Value
name1
Global profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of a serial port global profile: ZXAN(epon-onu-mng)#show remote epon serial-port global-profile testGlb profile:
testGlb
Discover port number:4000 Signal port number:5000 Idle time:
100(s)
Interval time: 150(s) Max lost packet(s):65 Max Tcp Clients(s):4
Related Commands None
14.4.80 show remote epon sip-profile Syntax show remote epon sip-profile [name1]
Function This command queries the information of an SIP profile. 14-159 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of an SIP profile: ZXAN(epon-onu-mng)#show remote epon sip-profile
Sip-protocol profile:
default
MG portNo:
5060
register server ip:
0.0.0.0
port:
5060
backup register server ip: 0.0.0.0 port:
5060
proxy server ip:
0.0.0.0
port:
5060
backup proxy server ip:
0.0.0.0
port:
5060
outbound server ip:
0.0.0.0
port:
5060
register interval:
3600
heartbeat:
enable.
heartbeat cycle:
20
heartbeat count:
3
Related Commands None
14.4.81 show remote epon voip attribute Syntax show remote epon voip attribute interface1
Function This command queries the voip attribute. 14-160 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the voip attribute: ZXAN(epon-onu-mng)#show remote epon voip attribute epon-onu_0/10/1:1
OnuName:epon-onu_0/10/1:1
Slot:1
Timer-dml:5
Timer-dms:2
Related Commands None
14.4.82 show remote epon voip base information Syntax show remote epon voip base information interface1
Function This command queries the basic voip information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None 14-161 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to query the basic voip information: ZXAN(epon-onu-mng)#show remote epon voip base information epon-onu_1/10/1:1
OnuName:epon-onu_1/10/1:1
Slot:1
Mac-address:0025.12d0.1b84
Software-version:V1.1.1a.sp3_EL3
Software-version-time:20100809194347
Num-of-pots-supported:2
Protocol-supported:SIP
Protocol-used:None
Related Commands None
14.4.83 show remote epon voip call-test Syntax show remote epon voip call-test interface1 name1
Function This command queries the simulated call test result at a specified voice port.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. Port, format: pots_slot/port ID.
name1
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the simulated call test result at a specified voice port: ZXAN(epon-onu-mng)#show remote epon voip call-test epon-onu_1/3/1:1 pots_0/1 Voip pots call test result: TestStatus :
N/A
TestPortStatus :
N/A
TestFailReason :
N/A
14-162 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands TestFailDetail :
Related Commands None
14.4.84 show remote epon voip ip-address Syntax show remote epon voip ip-address interface1
Function This command queries the VoIP IP address information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VoIP IP address information: ZXAN(epon-onu-mng)#show remote epon voip ip-address epon-onu_1/10/1:1
onu
slot
ipaddress
mask
---------------------------------------------------------------epon-onu_1/10/1:1
1
0.0.0.0
0.0.0.0
Related Commands None
14.4.85 show remote epon voip mg-domainname Syntax show remote epon voip mg-domainname interface1 14-163 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command queries the VoIP MG domain name.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VoIP MG domain name: ZXAN(epon-onu-mng)#show remote epon voip mg-domainname epon-onu_1/10/1:1
onu
slot
domainname
---------------------------------------------------------------epon-onu_1/10/1:1
1
iad.zte.com.cn
Related Commands None
14.4.86 show remote epon voip pppoe information Syntax show remote epon voip pppoe information interface1
Function This command queries the VoIP PPPoE information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
14-164 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VoIP PPPoE information: ZXAN(epon-onu-mng)#show remote epon voip pppoe information epon-onu_1/10/1:1 onu
slot
username
password
---------------------------------------------------------------epon-onu_1/10/1:1
1
Related Commands None
14.4.87 show remote epon voip rtp-tid information local Syntax show remote epon voip rtp-tid information local interface1
Function This command queries the local rtp-tid information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the local rtp-tid information: ZXAN#show remote epon voip rtp-tid information local epon-onu_1/3/2:1 Interfacename:epon-onu_1/3/2:1
14-165 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference slot:1 Tid-num:0 Prefix:RTP BeginDigit:0 Mode:enable DigitLen:5
Related Commands None
14.4.88 show remote epon voip rtp-tid information remote Syntax show remote epon voip rtp-tid information remote interface1
Function This command queries the remote rtp-tid information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the remote rtp-tid remote information: ZXAN#show remote epon voip rtp-tid information remote epon-onu_1/3/2:1 Interfacename:epon-onu_1/3/2:1 slot:1 TidNum:16 FirstTidNames:RTP/10000
Related Commands None 14-166 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.89 show remote epon voip sip-sdp-codecs Syntax show remote epon voip sip-sdp-codecs interface1 [name1]
Function This command queries the sip sdp codecs information of voip.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. name1
Port, format: pots_slot/port.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the sip sdp codecs information of voip: ZXAN(epon-onu-mng)#show remote epon voip sip-sdp-codecs epon-onu_1/10/1:1
Related Commands None
14.4.90 show remote epon voip sip-user-information Syntax show remote epon voip sip-user-information interface1 [name1]
Function This command queries the sip user information.
14-167 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. Port, format: pots_slot/port.
name1
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the sip user information: ZXAN#show remote epon voip sip-user-information epon-onu_1/3/2:1
pots
userAccount username
password
cid-presenting
cid-type
--------------------------------------------------------------------------pots_1/1
disable
fsk
pots_1/2
disable
fsk
Related Commands None
14.4.91 show remote epon voip user-tid information local Syntax show remote epon voip user-tid information local interface1
Function This command queries the local user-tid information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode 14-168 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the local user-tid information: ZXAN#show remote epon voip user-tid information local epon-onu_1/3/2:1
Related Commands None
14.4.92 show remote epon voip user-tid information remote Syntax show remote epon voip user-tid information remote interface1
Function This command queries the remote user-tid information.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the remote user-tid information: ZXAN#show remote epon voip user-tid information remote epon-onu_1/3/2:1
Voipport
TidName
---------------------------------------------------------------Voip_1/1
AG58900
Voip_1/2
AG58901
14-169 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.4.93 show remote epon voip-ip profile Syntax show remote epon voip-ip profile [name1]
Function This command displays the information of a voip-ip profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the information of a voip-ip profile: ZXAN(epon-onu-mng)#show remote epon voip-ip profile
Voice-ip profile:
default
relation between voice IP and MNG IP:
independent
voice ip mode:
DHCP
Related Commands None
14.4.94 show remote epon voip-media-ip Syntax show remote epon voip-media-ip interface1 number1
Function This command queries the VoIP media IP information. 14-170 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. VoIP card number.
number1
0–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VoIP media IP information: ZXAN(epon-onu-mng)#show remote epon voip-media-ip epon-onu_1/10/1:1 1 VoIP card :
1
Associate :
standalone
VoIP mode :
static
IP assress:
0.0.0.0
Mask
:
0.0.0.0
Gateway
:
0.0.0.0
DNS server:
0.0.0.0
Vlan flag :
transparent
Cvlan
:
0
Svlan
:
0
Priority
:
Auth mode :
0 auto
User name : Password
:
Related Commands None
14.4.95 show remote epon voip-module operate-status Syntax show remote epon voip-module operate-status interface1
Function This command queries the operating status of a VoIP module. 14-171 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface ,format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the operating status of a VoIP module: ZXAN#show remote epon voip-module operate-status epon-onu_1/3/2:1 onu
slot
operate-status
mgc
--------------------------------------------------------------------------------
epon-onu_1/3/2:1
1
registering
2(mgc_main)
Related Commands None
14.4.96 show remote epon voip-module profile-application Syntax show remote epon voip-module profile-application interface1
Function This command queries the profile application information of a VoIP module.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode 14-172 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the profile application information of a VoIP module: ZXAN#show remote epon voip-module profile-application epon-onu_1/3/2:1
OnuIfName:epon-onu_1/3/2:1
Slot:1
Ip(profile):ip
Vlan(profile):vlan
Protocol(profile):h248
Protocol-type:h248
Fax(profile):default
Related Commands None
14.4.97 show remote epon voip-vlan profile Syntax show remote epon voip-vlan profile [name1]
Function This command queries the VoIP VLAN profile information.
Parameters Parameter
Description
Value
name1
Profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VoIP VLAN profile information: ZXAN(epon-onu-mng)#show remote epon voip-vlan profile
Voice-vlan profile:
default
Vlan tag mode:
tag
14-173 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Cvlan:
2
Priority:
7
Svlan:
0
Voice-vlan profile:
voipvlantag
Vlan tag mode:
tag
Cvlan:
999
Priority:
7
Svlan:
0
Related Commands None
14.4.98 show remote epon wan-general-profile Syntax show remote epon wan-general-profile [name1]
Function This command queries the WAN general profile information.
Parameters Parameter
Description
Value
name1
Profile name.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the WAN general profile information: ZXAN(epon-onu-mng)#show remote epon wan-general-profile
Wan-general profile:
default
WAN work mode:
bridge
Service type:
internet
IP Work Mode:
ipv4
NAT Config:
0
802.1q mode:
transparent
14-174 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands Tpid:
33024
Vlan:
4092
Priority:
1
MTU:
1522
MVLAN:
4096
Bind Lan Port: Bind SSID:
Related Commands None
14.4.99 show remote onu alarm onu Syntax show remote onu alarm onu interface1
Function This command queries the alarm information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the alarm information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu alarm onu epon-onu_1/10/1:1 AlarmId
State
-------------------------------------------------------------------------EquipmentAlarm
disable
PowerAlarm
disable
BatteryMissing
disable
BatteryFailure
disable
BatteryVoltLow
disable
14-175 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference PhysicalIntrusionAlarm
disable
ONUSelfTestFailure
disable
ONUTempHighAlarm
disable
ONUTempLowAlarm
disable
IADConnectionFailure
disable
PONIF-Switch
disable
SleepStatusUpdate
disable
Related Commands None
14.4.100 show remote onu alarm pon-if Syntax show remote onu alarm pon-if interface1 number1
Function This command queries the PON interface alarm information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
PON interface, range: 1–2.
1–2
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the PON interface alarm information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu alarm pon-if epon-onu_1/10/1:1 1 AlarmId
State
-------------------------------------------------------------------------RxPowerHighAlarm
disable
RxPowerLowAlarm
disable
14-176 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands TxPowerHighAlarm
disable
TxPowerLowAlarm
disable
TXBiasHighAlarm
disable
TXBiasLowAlarm
disable
VccHighAlarm
disable
VccLowAlarm
disable
TempHighAlarm
disable
TempLowAlarm
disable
RxPowerHighWarning
disable
RxPowerLowWarning
disable
TxPowerHighWarning
disable
TxPowerLowWarning
disable
TXBiasHighWarning
disable
TXBiasLowWarning
disable
VccHighWarning
disable
......
Related Commands None
14.4.101 show remote onu alarm uni Syntax show remote onu alarm uni interface1 {eth name1|e1 name2|voip name3}
Function This command queries the UNI interface alarm information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface ,format:
-
epon-onu_shelf/slot/olt:onu. name1
Port name, format:
-
eth_slot/port. name2
Port name, format: e1_slot/port.
-
name3
Port name, format:
-
voip_slot/port.
Mode All modes except user mode 14-177 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to query the UNI interface alarm information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu alarm uni epon-onu_1/10/1:1 eth eth_0/1 AlarmId
State
-------------------------------------------------------------------------AutoNegFailure
disable
LOS
disable
PortFailure
disable
Loopback
disable
Congestion
disable
DownstreamDropEventsAlarm
disable
UpstreamDropEventsAlarm
disable
DownstreamCRCErrorFramesAlarm
disable
UpstreamCRCErrorFramesAlarm
disable
DownstreamUndersizeFramesAlarm
disable
......
Related Commands None
14.4.102 show remote onu alarm-threshold onu Syntax show remote onu alarm-threshold onu interface1
Function This command queries the alarm threshold information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode 14-178 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the alarm threshold information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu alarm-threshold onu epon-onu_1/10/1:1 AlarmId
AlarmThre
RestoreThre
-------------------------------------------------------------------------BatteryVoltLow
0.00
0.00
ONUTempHighAlarm
0.00
0.00
ONUTempLowAlarm
0.00
0.00
Related Commands None
14.4.103 show remote onu alarm-threshold pon-if Syntax show remote onu alarm-threshold pon-if interface1 pon-if number1
Function This command queries the PON interface alarm threshold information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
PON interface, range: 1–2.
1-2
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the PON interface alarm threshold information remotely managed by an EPON ONU: 14-179 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(epon-onu-mng)#show remote onu alarm-threshold pon-if epon-onu_1/10/1:1 pon-if 1 AlarmId
AlarmThre
RestoreThre
-------------------------------------------------------------------------RxPowerHighAlarm
0.00
0.00
RxPowerLowAlarm
0.00
0.00
TxPowerHighAlarm
0.00
0.00
TxPowerLowAlarm
0.00
0.00
TXBiasHighAlarm
0.00
0.00
TXBiasLowAlarm
0.00
0.00
VccHighAlarm
0.00
0.00
VccLowAlarm
0.00
0.00
TempHighAlarm
0.00
0.00
......
Related Commands None
14.4.104 show remote onu auto-config Syntax show remote onu auto-config interface1
Function This command queries the automatic configuration information remotely managed by an EPON ONU:
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
14-180 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to query the automatic configuration information remotely managed by an EPON ONU: ZXAN(config)#show remote onu auto-config epon-onu_1/10/1:3 Auto-dispatch state -----------------------------------------------forbid-auto-dispatch
Related Commands None
14.4.105 show remote onu classification Syntax show remote onu classification interface1 name1
Function This command queries the Ethernet port classification configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu. Ethernet port name, slot, port
name1
-
ID, format: eth_slot/port.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the Ethernet port classification configuration information remotely managed by an EPON ONU: ZXAN#show remote onu classification epon-onu_1/10/1:1 eth_0/1 RulePrecedence
RuleName
ConditionNameList
14-181 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 1
zte
zte
Related Commands None
14.4.106 show remote onu classification profile Syntax show remote onu classification profile interface1
Function This command queries the Ethernet port classification profile information remotely managed by an EPON ONU. The information involves condition profiles and rule profiles.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the Ethernet port classification profile information remotely managed by an EPON ONU: ZXAN#show remote onu classification profile epon-onu_1/10/1:1
---Rule profile--Index Name
Queuemap Priority
1
1
rule1
7
---Condition profile--Index
Name
Filed
MatchValue
Operator
1
flow1
da
0012.8E6C.0036
always-match
14-182 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Related Commands None
14.4.107 show remote onu compatibility Syntax show remote onu compatibility interface1
Function This command queries the compatibility information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the compatibility information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu compatibility epon-onu_1/10/1:1 Onu compatibility state:
disable
Onu compatibility mode:
Related Commands None
14.4.108 show remote onu config-counter Syntax show remote onu config-counter interface1
14-183 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command queries the configuration counter value remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the configuration counter value remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu config-counter epon-onu_1/10/1:1 Config-counter number: 0
Related Commands None
14.4.109 show remote onu dba Syntax show remote onu dba interface1
Function This command queries the DBA queue threshold configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu. 14-184 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the DBA queue threshold configuration information remotely managed by an EPON ONU: ZXAN#show remote onu dba epon-onu_1/10/1:1
Vport: 1 No active queueSet.
SetId
Threshold Queue1 Queue2 Queue3 Queue4 Queue5 Queue6 Queue7 Queue8
1
0
0
0
0
0
0
0
0
2
0
0
0
0
0
0
0
0
3
0
0
0
0
0
0
0
0
Related Commands None
14.4.110 show remote onu fastleave Syntax show remote onu fastleave interface1
Function This command queries the configuration information of the fast leave function of an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
14-185 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the configuration information of the fast leave function of an EPON ONU: ZXAN(config)#show remote onu fastleave epon-onu_1/10/1:1 ONU interface:
epon-onu_0/10/1:1
Fast leave state:
enable
Fast leave ability:
snooping: fast-leave snooping: not- fast-leave multicast: fast-leave multicast: not-fast-leave
Related Commands None
14.4.111 show remote onu holdover Syntax show remote onu holdover interface1
Function This command queries the status holdover function information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None 14-186 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to query the status holdover function information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu holdover epon-onu_1/10/1:1 -------------------------------------------------------OnuHoldOver state:disable HoldoverTime:200
Related Commands None
14.4.112 show remote onu info Syntax show remote onu info interface1
Function This command queries the basic information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query basic information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu info epon-onu_1/10/1:1 epon-onu_0/10/1:1 Onu vendorId
ZTE .
Onu type OnuModel
ZTE-D420. D420.
14-187 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference OnuId
00d0.d09a.45f2.
Hardware version
D420V2.
Software version
D420V2.0.0T4.
Firmware version
1.3.16.
Chip vendorId
E6 .
ChipModel
Chip revison
0
ChipDesignDate 07/05/28.
Number of Ge port
0 .
GePort
.
Number of Fe port
4 .
FePort
1-4.
Number of POTS port
2.
Number of E1 port
0.
Number of US Queues
4.
.
0x6301.
Max queues per US port 4. Number of DS Queues
4.
Max queues per DS port 4. BatteryBackup
no.
Multicast protocol
igmpsnooping.
FecMode
disable. FecAbility
Alarm
enable,
Mac aging-time
300.
support.
Port Isolation enable.
Related Commands None
14.4.113 show remote onu llid-queue Syntax show remote onu llid-queue interface1
Function This command queries the llid queue information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None 14-188 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to query the llid queue information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu llid-queue epon-onu_1/10/1:1
Related Commands None
14.4.114 show remote onu loopdetect Syntax show remote onu loopdetec interface1 name1
Function This command queries the loop detecting information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. Ethernet port name, format:
name1
-
eth_slot/port.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the loop detecting information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu loopdetect epon-onu_1/10/1:1 eth_0/1 -------------------------------------------------------Onu InterFacename:epon-onu_1/10/1:1 LoopDetect State:deactivate DisableLooped:
disable
14-189 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.4.115 show remote onu mac Syntax show remote onu mac interface1 name1
Function This command queries the MAC address configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu. Ethernet port name, slot, port
name1
-
ID.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the MAC address configuration information remotely managed by an EPON ONU: ZXAN#show remote onu mac epon-onu_1/10/1:1 eth_0/1 epon-onu_1/10/1:1; MAC_Address info Port Name:eth_0/1; Limit num: no-limit; Filter mac-address info vlan 2
mac 9877.9878.4566
Bind mac-address info vlan
mac
14-190 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands 3
9877.9899.0988
Static mac-address info vlan
mac
1
4557.3241.3423
Related Commands None
14.4.116 show remote onu mgmt-ip Syntax show remote onu mgmt-ip interface1
Function This command queries the IP address configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the IP address configuration information remotely managed by an EPON ONU: ZXAN# show remote onu mgmt-ip epon-onu_1/10/1:1 Status
enable;
IP Address
172.168.1.122;
Mask
255.255.0.0;
Priority
3;
Mgmt-IP
172.168.1.10;
vlan
300;
Mgmt-Mask
255.255.0.0;
Mgmt-Gateway
172.168.1.250.
14-191 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.4.117 show remote onu mgmt-ip dhcp Syntax show remote onu mgmt-ip dhcp interface1
Function This command queries the DHCP configuration information in the management IP addresses remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the DHCP configuration information in the management IP addresses remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu mgmt-ip dhcp epon-onu_1/10/1:1
Related Commands None
14.4.118 show remote onu mng-snmp Syntax show remote onu mng-snmp interface1
14-192 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command queries the SNMP management information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the SNMP management information remotely managed by an EPON ONU: ZXAN(config)#show remote onu mng-snmp epon-onu_1/11/1:1 -------------------------------------------------------SnmpVer:2 TrapHostIp:0.0.0.0 TrapPort:162 SnmpPort:161 SecurityName: CommunityForRead:public CommunityForWrite:private
Related Commands None
14.4.119 show remote onu mng-snmp ipv6 Syntax show remote onu mng-snmp ipv6 interface1
Function This command queries the SNMP IPv6 information remotely managed by an EPON ONU.
14-193 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the SNMP IPv6 information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu mng-snmp ipv6 epon-onu_1/10/1:1
Related Commands None
14.4.120 show remote onu multicast-info Syntax show remote onu multicast-info interface1
Function This command queries the multicast configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
14-194 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the multicast configuration information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu multicast-info epon-onu_1/10/1:3 EthPort
Stripped
MaxGroupNum VlanList
TransList
----------------------------------------------------------------------
Eth_0/1
not-stripped 255
N/A
Eth_0/2
not-stripped 255
N/A
Eth_0/3
not-stripped 255
N/A
Eth_0/4
not-stripped 255
N/A
Eth_0/5
not-stripped 255
N/A
Eth_0/6
not-stripped 255
N/A
Eth_0/7
not-stripped 255
N/A
Eth_0/8
not-stripped 255
N/A
Eth_0/9
not-stripped 0
N/A
Eth_0/10
not-stripped 0
N/A
Eth_0/11
not-stripped 0
N/A
Eth_0/12
not-stripped 0
N/A
Eth_0/13
not-stripped 0
N/A
Eth_0/14
not-stripped 0
N/A
Eth_0/15
not-stripped 0
N/A
Eth_0/16
not-stripped 0
N/A
Eth_0/17
not-stripped 0
N/A
Eth_0/18
not-stripped 0
N/A
Eth_0/19
not-stripped 0
N/A
Eth_0/20
not-stripped 0
N/A
Eth_0/21
not-stripped 0
N/A
Eth_0/22
not-stripped 0
N/A
Related Commands None
14.4.121 show remote onu performance monitoring current-data Syntax show remote onu performance monitoring current-data interface1 {pon-if number1|interface name1}
14-195 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command queries the current performance monitoring data remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
PON interface, range: 1–2.
1–2
name1
Port name, format: eth_slot/port
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the current performance monitoring data remotely managed by an EPON ONU: ZXAN#show remote onu performance monitoring current-data epon-onu_1/4/1:1 interface eth_0/1
Related Commands None
14.4.122 show remote onu performance monitoring history-data Syntax show remote onu performance monitoring history-data interface1 {pon-if number1|interface name1}
Function This command queries the historical performance monitoring data remotely managed by an EPON ONU.
14-196 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
PON interface, range: 1–2.
1–2
name1
Port name, format:
-
eth_slot/port.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the historical performance monitoring data remotely managed by an EPON ONU: ZXAN#show remote onu performance monitoring history-data epon-onu_1/4/1:1 interface eth_0/1
Related Commands None
14.4.123 show remote onu performance monitoring status Syntax show remote onu performance monitoring status interface1 {pon-if number1|interface name1}
Function This command queries the performance monitoring status information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
PON interface, range: 1–2.
1–2
name1
Port name, format: eth_slot/port
-
14-197 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the performance monitoring status information remotely managed by an EPON ONU: ZXAN#show remote onu performance monitoring status epon-onu_1/4/1:1 interface eth_0/1 Performance monitoring status: disable Performance monitoring period: 900
Related Commands None
14.4.124 show remote onu pon statistics Syntax show remote onu pon statistics interface1 [vport number1]
Function This command queries the PON interface statistics data remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
Virtual port ID.
1–8
Mode All modes except user mode
Usage Guidelines None
14-198 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to query the PON interface statistics data remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu pon statistics epon-onu_1/10/1:1 FramesTransmittedOK OctetsTransmittedOK
: 0 : 0
MulticastFramesXmittedOK
: 0
BroadcastFramesXmittedOK FramesReceivedOK
: 0
: 0
OctetsReceivedOK
: 0
MulticastFramesReceivedOK BroadcastFramesReceivedOK CRC8Errors
: 0 : 0
: 0
FECCorrectedBlocks
: 0
FECUncorrectableBlocks:0 MPCPMACCtrlFramesTransmitted:0 MPCPMACCtrlFramesReceived:0 ......
Related Commands None
14.4.125 show remote onu pon-if Syntax show remote onu pon-if interface1
Function This command queries the PON interface information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None 14-199 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to query the PON interface information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu pon-if epon-onu_1/10/1:1
Related Commands None
14.4.126 show remote onu port auto-neg Syntax show remote onu port auto-neg interface1
Function This command queries the Ethernet port auto-negotiation configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the Ethernet port auto-negotiation configuration information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu port auto-neg epon-onu_1/10/1:3 EthPort
AdminState
TechnologyAbility
AdvertisedTechnologyAbility
------------------------------------------------------------------------------Eth_0/1
enable
10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100 0BASE_TX, 100BASE_TXFD
Eth_0/2
enable
BASE_TX, 100BASE_TXFD
10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100 0BASE_TX, 100BASE_TXFD
BASE_TX, 100BASE_TXFD
14-200 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Eth_0/3
enable
10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100 0BASE_TX, 100BASE_TXFD
Eth_0/4
enable
BASE_TX, 100BASE_TXFD
10BASE-T, 10BASE_TFD, 10 10BASE-T, 10BASE_TFD, 100 0BASE_TX, 100BASE_TXFD
BASE_TX, 100BASE_TXFD
Related Commands None
14.4.127 show remote onu port info Syntax show remote onu port info interface1
Function This command queries the Ethernet port configuration information and operating status information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the Ethernet port configuration information and operating status information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu port info epon-onu_1/10/1:3
Ethport: Linkstate:
Eth_0/1,
Phystate:
enable
up,
Flowctrl:
enable
Policing profile:N/A
14-201 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Policing:
Direction
Status
CIR(kbps)
CBS(Bytes)
EBS(Bytes)
----------------------------------------------------------------------------upstream
disable
0
0
0
downstream
disable
0
0
0
Ethport: Linkstate:
Eth_0/2,
Phystate:
enable
down,
Flowctrl:
enable
Policing profile:N/A Policing:
Direction
Status
CIR(kbps)
CBS(Bytes)
EBS(Bytes)
----------------------------------------------------------------------------upstream
disable
0
0
0
downstream
disable
0
0
0
Ethport: Linkstate:
Eth_0/3,
Phystate:
enable
down,
Flowctrl:
enable
Policing profile:N/A
Related Commands None
14.4.128 show remote onu port mode Syntax show remote onu port mode interface1
Function This command queries the port mode information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
14-202 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to query the port mode information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu port mode epon-onu_1/10/1:1 EthPort
portMode
------------------------------------------------------------------------------Eth_0/1
auto
Eth_0/2
auto
Eth_0/3
auto
Eth_0/4
auto
Related Commands None
14.4.129 show remote onu power-saving capabilities Syntax show remote onu power-saving capabilities interface1
Function This command queries the power-saving capability information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the power-saving capability information remotely managed by an EPON ONU: ZXAN#show remote onu power-saving capabilities epon-onu_1/4/1:1
14-203 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.4.130 show remote onu power-saving config Syntax show remote onu power-saving config interface1
Function This command queries the power-saving configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the power-saving configuration information remotely managed by an EPON ONU: ZXAN#show remote onu power-saving config epon-onu_1/4/1:1 Early wake-up function: disable Sleep duration max:
62500000
Related Commands None
14.4.131 show remote onu pppoe-test Syntax show remote onu pppoe-test interface1 name1
14-204 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command queries the result of the PPPoE simulated dialing test at a specified Ethernet port remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu. Ethernet port name, slot, port
name1
-
ID.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the result of the PPPoE simulated dialing test at a specified Ethernet port: ZXAN(epon-onu-mng)#show remote onu pppoe-test epon-onu_1/3/1:1 eth_0/1 pppoe-test result: TestStatus :
N/A
TestFailReason :N/A
Related Commands None
14.4.132 show remote onu protection parameters Syntax show remote onu protection parameters interface1
Function This command queries the protection parameters information remotely managed by an EPON ONU.
14-205 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the protection parameters information remotely managed by an EPON ONU: ZXAN#show remote onu protection parameters epon-onu_1/4/1:1 Optical LoS time: 2 MAC LoS time:
55
Related Commands None
14.4.133 show remote onu queue Syntax show remote onu queue interface1
Function This command queries the SLA queue profile information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
14-206 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the SLA queue profile information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu queue epon-onu_1/10/1:1 -------------------------------------------------------Profile:
default
SlaOperation:
deactivate
Scheduling:
sp
High_priority:
0
CycleLen:
0
Related Commands None
14.4.134 show remote onu security-mng Syntax show remote onu security-mng interface1
Function This command queries the security management information of the application protocols remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the security management information of the application protocols remotely managed by an EPON ONU: 14-207 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(epon-onu-mng)#show remote onu security-mng epon-onu_1/3/1:1
Protocol
State
------------------------------------------------------------------------------telnet
disable
Related Commands None
14.4.135 show remote onu serial-port attribute Syntax show remote onu serial-port attribute interface1 name1
Function This command queries the application information and attribute setting of the serial port configuration profiles remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. COM port name, format:
name1
-
com_slot/port
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the application information and attribute setting of the serial port configuration profiles remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote
onu serial-port attribute epon-onu_1/6/1:1 com_1/3
Profile:
testattr
State:
enable
Mode:
tcp-client-mode
Baud rate:
9600(bit/s)
Data bits:
8(bits)
14-208 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands Parity:
even
Stop bits:
2(bit)
Flow control:
none
Local ip address:
10.63.196.160
Local port:
8093
Romote ip address:
10.46.46.142
Remote port:
142
Type:
rs232
Related Commands None
14.4.136 show remote onu serial-port buffer Syntax show remote onu serial-port buffer interface1 name1
Function This command queries the serial port buffer configuration profile information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. COM port name, format:
name1
-
com_slot/port.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the serial port buffer configuration profile information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote Profile:
bufattr
Mode:
buffered
onu serial-port buffer epon-onu_1/6/1:1 com_1/3
14-209 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Wait time:
150(ms)
Buffer size:
100(byte)
Encrypt status:
true
Related Commands None
14.4.137 show remote onu serial-port global information Syntax show remote onu serial-port global information interface1
Function This command queries the serial port global configuration profile information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the serial port global configuration profile information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)# show remote onu serial-port global information epon-onu_1/6/1:1 profile:
testglb
Discover port number:
4000
Signal port number:
5000
Idle time:
100(s)
Interval time:
150(s)
Max lost packet(s):
65
Max Tcp Clients(s):
4
14-210 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Related Commands None
14.4.138 show remote onu serial-port ip Syntax show remote onu serial-port ip interface1
Function This command queries the serial port IP parameter information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the serial port IP parameter information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu serial-port ip epon-onu_1/3/1:1
Related Commands None
14.4.139 show remote onu serial-port statistic Syntax show remote onu serial-port statistic interface1 name1
Function This command queries the serial port statistic data remotely managed by an EPON ONU. 14-211 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. name1
COM port name, format:
-
com_slot/port.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the serial port statistic data remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu serial-port statistic epon-onu_1/10/1:1 com_0/1
Related Commands None
14.4.140 show remote onu serial-port tcp-info Syntax show remote onu serial-port tcp-info interface1
Function This command queries the serial port TCP information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
14-212 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the serial port TCP information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu serial-port tcp-info epon-onu_1/10/1:1
Related Commands None
14.4.141 show remote onu svlan-base Syntax show remote onu svlan-base interface1
Function This command queries the starting MDU_SVLAN remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the starting MDU_SVLAN remotely managed by an EPON ONU: ZXAN(config)#show remote onu svlan-base epon-onu_1/10/1:3 MDU svlan base : 4000
14-213 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.4.142 show remote onu transceiver alarm Syntax show remote onu transceiver alarm interface1
Function This command queries the alarm information of the optical module remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the alarm information of the optical module remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu transceiver alarm epon-onu_1/10/1:1
Related Commands None
14.4.143 show remote onu transceiver alarm thresholds Syntax show remote onu transceiver alarm thresholds interface1
14-214 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command queries the alarm threshold information of the optical module remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the alarm threshold information of the optical module remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu transceiver alarm thresholds epon-onu_1/10/1:1
Related Commands None
14.4.144 show remote onu transceiver info Syntax show remote onu transceiver info interface1
Function This command queries the information of the optical module remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. 14-215 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the information of the optical module remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu transceiver info epon-onu_1/10/1:1 Onu Transceiver Information: transTemperature(C):0.00000 supplyVoltage(V): 0.00000 txBiasCurrent(mA): 0.00000 txPower(dBm): N/A rxPower(dBm): N/A
Related Commands None
14.4.145 show remote onu uni-mac Syntax show remote onu uni-mac interface1 interface name1
Function This command queries the UNI MAC information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. name1
Port name, format:
-
eth_slot/port.
Mode All modes except user mode
Usage Guidelines None 14-216 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to query the UNI MAC information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu uni-mac epon-onu_1/10/1:1 interface eth_0/1
Related Commands None
14.4.146 show remote onu uni-statistic Syntax show remote onu uni-statistic interface1 interface name1
Function This command queries the UNI statistic data remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. name1
Port name, format: eth_slot/port
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the UNI statistic data remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu uni-statistic epon-onu_1/10/1:1 interface eth_0/1
Related Commands None
14-217 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.147 show remote onu vlan Syntax show remote onu vlan interface1
Function This command queries the VLAN configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VLAN configuration information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu vlan epon-onu_1/10/1:3 Ethport:
Eth_0/3
Mode
tag
: vlan
:
priority :
4092 0
Ethport:
Eth_0/4
Mode
tag
: vlan
:
priority :
Ethport: Mode
4092 0
Eth_0/5
:
tag vlan
:
priority :
4092 0
14-218 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands Ethport:
Eth_0/6
Related Commands None
14.4.148 show remote onu vlan-translate Syntax show remote onu vlan-translate interface1 [port name1]
Function This command queries the VLAN translation configuration of the Ethernet port remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu. name1
Ethernet port name, slot, port
-
ID.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VLAN translation configuration of the Ethernet port remotely managed by an EPON ONU: ZXAN(config)# show remote onu vlan-translate epon-onu_1/10/1:3 port eth_0/1
Related Commands None
14-219 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.149 show remote onu vlan-trunk Syntax show remote onu vlan-trunk interface1
Function This command queries the VLAN trunk information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VLAN trunk information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu vlan-trunk epon-onu_1/10/1:1
Ethport:
Eth_0/1
Mode
Non-Trunk
:
Ethport:
Eth_0/2
Mode
Non-Trunk
:
Ethport:
Eth_0/3
Mode
Non-Trunk
:
Ethport:
Eth_0/4
Mode
Non-Trunk
:
Related Commands None 14-220 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
14.4.150 show remote onu voip-mng-ip Syntax show remote onu voip-mng-ip interface1 number1
Function This command queries the VoIP configuration information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
OLT shelf number, slot
-
number, port number, and ONU number, format: epon-onu_shelf/slot/olt:onu. number1
VoIP sub-card number, range:
0–255
0–255.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the VoIP configuration information remotely managed by an EPON ONU: ZXAN(config)# show remote onu voip-mng-ip epon-onu_1/10/1:3 2
Related Commands None
14.4.151 show remote onu wan general Syntax show remote onu wan general interface1 wanid number1
Function This command queries the WAN general information remotely managed by an EPON ONU. 14-221 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
WAN ID
1–8
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the WAN general information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu wan general epon-onu_1/10/1:1 wanid 1
Related Commands None
14.4.152 show remote onu wan ipv4 Syntax show remote onu wan ipv4 interface1 wanid number1
Function This command queries the WAN IPv4 information remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. number1
WAN ID
1–8
Mode All modes except user mode
14-222 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Usage Guidelines None
Examples The following example shows how to query the WAN IPv4 information remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu wan ipv4 epon-onu_1/10/1:1 wanid 1
Related Commands None
14.4.153 show remote onu wifi-port info Syntax show remote onu wifi-port info interface1 [name1]
Function This command queries the capability and configuration information of a WiFi port.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. name1
WiFi port, format: wifi_slot/port.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the capability and configuration information of a WiFi port: ZXAN(epon-onu-mng)#show remote onu wifi-port info epon-onu_1/10/1:1 wifi_0/1
Related Commands None 14-223 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.154 show remote onu wifi-port ssid-info Syntax show remote onu wifi-port ssid-info interface1 name1 [ssid number1]
Function This command queries the SSID information of a WiFi port remotely managed by an EPON ONU.
Parameters Parameter
Description
Value
interface1
ONU interface, format:
-
epon-onu_shelf/slot/olt:onu. name1
WiFi port, format: wifi_slot/port.
-
number1
SSID index.
1–8
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the SSID information of a WiFi port remotely managed by an EPON ONU: ZXAN(epon-onu-mng)#show remote onu wifi ssid-info epon-onu_1/10/1:1 wifi_0/1 ssid 1
Related Commands None
14.4.155 sleep-control Syntax sleep-control {leave-power-saving-mode|enter-power-saving-mode [sleep-duration number1 wake-duration number2 sleep-mode name1]}
Function This command sets the ONU power-saving mode, sleep duration, and wakeup duration. 14-224 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
leave-power-saving-mode
Leave-power-saving-mode.
-
number1
Sleep duration.
1–62500000
number2
Wakeup duration.
1–62500000
name1
Power-saving mode.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the ONU power-saving mode, sleep duration, and wakeup duration: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#sleep-control enter-power-saving-mode sleep-duration 1000
wake-duration 500 sl
Related Commands None
14.4.156 ssid-ctrl Syntax ssid-ctrl name1 [{[name name2][hide name3][user-isolation name4][max-users number1]}] name 5 ssid number2[{[pvid-used name6][vlan number3][priority number4]}] no ssid-ctrl name5 ssid number2
Function This command controls the SSID configuration of an ONU WiFi port.
Parameters Parameter
Description
Value
name1
Whether to enable the
-
configuration. name2
SSID name.
-
14-225 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name3
Whether to enable the hide
-
attribute. name4
Whether to enable
-
user-isolation. number1
The maximum number of users.
1–32
name5
Port.
-
number2
SSID index.
1–8
name6
Whether to use PVID.
-
number3
SSID VLAN number.
1–4094
number4
SSID VLAN priority.
0–7
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure SSID of the WiFi 0/1 interface to be 1: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#ssid-ctrl enable wifi_0/1 ssid 1
Related Commands None
14.4.157 transceiver Syntax transceiver name1
Function This command configures the multicast fastleave function for an ONU.
Parameters Parameter
Description
Value
name1
Whether to enable the function.
-
14-226 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the multicast fastleave function for an ONU: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)# multicast fastleave enable
Related Commands None
14.4.158 transceiver alarm Syntax transceiver alarm name1
Function This command enables or disables the performance threshold detecting function for an ONU.
Parameters Parameter
Description
Value
name1
Whether to enable the function.
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the performance threshold detecting function for an ONU: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#transceiver enable
14-227 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 14.4.142 show remote onu transceiver alarm
14.4.159 transceiver alarm thresholds Syntax transceiver alarm thresholds {[TempHighAlarm name1]|[TempLowAlarm name2]|[TempHi ghWarning name3]|[TempLowwarning name4]|[VoltageHighAlarm name5]|[VoltageLowAlar m name6] |[VoltageHighWarning name7] |[VoltageLowWarning name8]|[BiasHighAlarm nam e9] |[BiasLowAlarm name10]|[BiasHighWarning name11 ]|[BiasLowWarning name12]|[TxPo werHighAlarm name13 ] |[TxPowerLowAlarm name14] |[TxPowerHighWarning name15] |[T xPowerLowWarning name16] |[RxPowerHighAlarm name17] |[RxPowerLowAlarm name18] |[RxPowerHighWarning name19] |[RxPowerLowWarning name20] }
Function This command configures the performance thresholds of an ONU.
Parameters Parameter
Description
Value
name1
Over-temperature alarm
-
threshold. name2
Under-temperature alarm
-
threshold. name3
Over-temperature warning
-
threshold. name4
Under-temperature warning
-
threshold. name5
Over-voltage alarm threshold.
-
name6
Under-voltage alarm threshold.
-
name7
Over-voltage warning threshold.
-
name8
Under-voltage warning
-
threshold. name9
Over-bias-voltage alarm
-
threshold. name10
Under-bias-voltage alarm
-
threshold. name11
Over-bias-voltage warning
-
threshold.
14-228 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
name12
Under-bias-voltage warning
-
threshold. name13
Over-transmitting-power alarm
-
threshold. name14
Under-transmitting-power alarm
-
threshold. name15
Over-transmitting-power
-
warning threshold. name16
Under-transmitting-power
-
warning threshold. name17
Over-receiving-power alarm
-
threshold. name18
Under-receiving-power alarm
-
threshold. name19
Over-receiving-power warning
-
threshold. name20
Under-receiving-power warning
-
threshold.
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the performance thresholds of an ONU: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#transceiver alarm thresholds BiasHighAlarm 2
Related Commands 14.4.143 show remote onu transceiver alarm thresholds
14.4.160 vlan Syntax vlan port name1 mode {transparent|tag vlan number1 priority number2|translation def-vlan number3 def-prio number4 vlan-list name2|trunk vlan-list name3 [def-vlan number5] [def-prio 14-229 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
number6] |hybrid def-vlan number7 vlan-list name4|aggregation def-vlan number8 def-prio nu mber9 group1 name5 [group2 name6] [group3 name7] |stacking vlan number10 priority numbe r11}
Function This command sets the Ethernet port VLAN attributes of an EPON ONU.
Parameters Parameter
Description
Value
name1
Ethernet port name list,
-
slot, port number, format: eth_slot/portA[-portB] (range: 1–31 characters). transparent
Transparent transmission, no
-
processing on the packets. tag
Tag mode.
-
number1
VLAN number, range: 1–4094.
1–4094
number2
Priority, range: 0–7.
0–7
translation
Translating the original
-
VLAN tag of the packet to a specified VLAN tag. number3
Default VLAN number, range:
1–4094
1–4094. number4
Default priority, range: 0–7.
0–7
name2
VLAN list.
-
Format: VLAN pairs in the form of oldvid.oldpri:newvid.newpri. Range: 1–254 characters VLAN pairs are separated by commas. trunk
Trunk mode.
-
name3
Aggregation group VLANID.
-
Format: vlanId, vlanId, …vlanId:targetVlan At most 8:1 is supported, range: 1–254 characters. number5
VLAN PVID number.
1–4094
number6
Default priority, range: 0–7.
0–7
hybrid
Hybirid mode.
-
14-230 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
number7
Default VLAN number, range:
1–4094
1–4094. name4
Format: VLAN ID, VLAN ID, ...
-
The maximum number of VLANs is 15. aggregation
Aggregation mode.
-
number8
Default VLAN ID.
1–4094
number9
Default priority, range: 0–7.
0–7
name5
Aggregation group VLANID.
-
Format: vlanId, vlanId, …vlanId:targetVlan At most 8:1 is supported. name6
Aggregation group VLANID.
-
Format: vlanId, vlanId, …vlanId:targetVlan At most 8:1 is supported. name7
Aggregation group VLANID.
-
Format: vlanId, vlanId, …vlanId:targetVlan At most 8:1 is supported. stacking
Stacking mode.
-
number10
SVLAN number, range: 1–4094.
1–4094
number11
Priority, range: 0–7.
0–7
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the Ethernet port VLAN attributes of an EPON ONU: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#vlan port eth_0/1 mode translation def-vlan 100 def-prio 7 vlan-list 1.0:100.7
14-231 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 14.4.147 show remote onu vlan
14.4.161 vlan-trunk Syntax vlan-trunk port name1 vlan-list name2[def-vlan number1][def-prio number2] no vlan-trunk port name1
Function This command configures the VLAN aggregation function.
Parameters Parameter
Description
Value
name1
Port name, format:
-
eth_slot/port. name2
VLAN number list.
-
number1
Default VLAN number.
1–4094
number2
Default priority.
0–7
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the VLAN aggregation function: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#vlan-trunk port eth_0/1 vlan-list 1,2 def-prio 1
Related Commands 14.4.149 show remote onu vlan-trunk
14.4.162 voip 112-test Syntax voip 112-test name1 name2 name3 interface name4 14-232 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command sets the voice 112 testing parameters.
Parameters Parameter
Description
Value
name1
Test type.
-
name2
Whether to start the test.
-
name3
Forced test or common test.
-
name4
Port, format: pots_slot/port.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the voice 112 testing parameters: ZXAN(config)#pon-onu-mng epon-onu_1/4/1:1 ZXAN(epon-onu-mng)#voip 112-test bidirectional-routing-test start normaltest interface pots_0/1
Related Commands None
14.4.163 voip call-test Syntax voip call-test action name1 role {caller dialnumber name2|callee}[timeout number1] interface name3
Function This command simulates the call test at the voice port.
14-233 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
start/stop.
-
caller
VOIP POTS port works as the
-
caller in the call test. name2
Dialing number.
-
callee
VOIP POTS port works as the
-
receiver in the call test. number1
Test duration.
60–300
Unit: second. Range: 60–300. Default value: 90 seconds. name3
EPON ONU voice port, format:
-
.
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to simulate the calling test at the voice port. In this example, the dialing number is 110 and the test duration is 100 seconds. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip call-test action start role caller dialnumber 110 timeout 100 interface pots_0/1
Related Commands 14.4.83 show remote epon voip call-test
14.4.164 voip cid-presenting Syntax voip cid-presenting name1 [cid-type name2] interface name3
Function This command configures the VoIP CID function. 14-234 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
Whether to enable the function.
-
name2
CID type.
-
name3
Interface.
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to enable the VoIP CID function. In this example, the CID type is "fsk" and the interface is pots_0/1. ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)#voip cid-presenting enable cid-type fsk interface pots_0/1
Related Commands None
14.4.165 voip ip-address Syntax voip ip-address ip_addr1 mask ip_addr2 slot number1
Function This command sets the VoIP IP address (static).
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
Mask
-
number1
Slot number
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode 14-235 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to set the VoIP IP address. In this example, the IP address is 1.2.3.4 and the mask is 255.255.255.1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip ip-address 1.2.3.4 mask 255.255.255.1 slot 1
Related Commands 14.4.84 show remote epon voip ip-address
14.4.166 voip media-ip Syntax voip media-ip {[ip-addr ip_addr1 mask ip_addr2] [ip-profile name1]}[pppoe username name2 password name3][vlan-profile name4] slot number1
Function This command sets the VoIP media IP address.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
Mask
-
name1
IP profile name
-
pppoe
pppoe
-
name2
User name
-
name3
Password
-
name4
VLAN profile name
-
number1
Slot number
1–255
Mode EPON-ONU-MNG mode
Usage Guidelines None 14-236 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to set the VoIP media IP address. In this example, the VoIP media IP address is 1.2.3.4, the mask is 255.255.255.0, and the slot number is 1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip media-ip ip-addr 1.2.3.4 mask 255.255.255.0 slot 1
Related Commands 14.4.94 show remote epon voip-media-ip
14.4.167 voip mg-domainname Syntax voip mg-domainname name1 slot number1
Function This command sets the media gateway domain name.
Parameters Parameter
Description
Value
name1
Domain name
-
number1
Slot number
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the media gateway domain name. In this example, the domain name is "zte" and the slot number is 1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip mg-domainname zte slot 1
Related Commands 14.4.85 show remote epon voip mg-domainname
14-237 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
14.4.168 voip ping-test Syntax voip ping-test slot number1 destip ip_addr1 name1 time number2 [size number3][timeout numb er4]
Function This command configures the VoIP ping test function.
Parameters Parameter
Description
Value
number1
Slot number
1–255
ip_addr1
Destination IP address
-
name1
start/stop
-
number2
Time, unit: second
1–10
number3
Packet size
1–65535
number4
Timeout value, unit: second
1–2000
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the VoIP ping test function. In this example, the destination IP address is 1.2.3.4, the start time is 2, and the slot number is 1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip ping-test slot 1 destip 1.2.3.4 start time 2
Related Commands None
14.4.169 voip pppoe Syntax voip pppoe username name1 password name2 slot number1 14-238 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command sets the voice PPPoE user name and password.
Parameters Parameter
Description
Value
name1
User name
-
name2
Password
-
number1
Slot
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the voice PPPoE user name and password. In this example, both the user name and password are "zte", and the slot number is 1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip pppoe username zte password zte slot 1
Related Commands 14.4.86 show remote epon voip pppoe information
14.4.170 voip rtp-tid Syntax voip rtp-tid [tid-number number1] prefix name1 begin-digit number2 align name2 digit-length number3 slot number4
Function This command sets the VoIP media flow transmission ID.
Parameters Parameter
Description
Value
number1
rtp-tid ID
1–255
name1
Prefix
-
number2
Starting number
0–65000
14-239 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name2
enable/disable/restart
-
number3
Digit length
0–5
number4
Slot number
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the VoIP media flow transmission ID: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip rtp-tid prefix 2 begin-digit 3 align enable digit-length 2 slot 3
Related Commands show remote epon voip rtp-tid information
14.4.171 voip sip-sdp-codecs Syntax voip sip-sdp-codecs {[pcmu number1] [g723 number2][pcma number3][g722 number4][g728 num ber5][g729 number6][ilbc20 number7][ilbc30 number8][cig number9][g726 number10]} interface name1
Function This command sets the VoIP SIP-SDP coding/decoding type.
Parameters Parameter
Description
Value
number1
pcmu
0–255
number2
g723
0–255
number3
pcma
0–255
number4
g722
0–255
number5
g728
0–255
number6
g729
0–255
14-240 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameter
Description
Value
number7
ilbc20
0–255
number8
ilbc30
0–255
number9
cig
0–255
number10
g726
0–255
name1
Interface
-
Mode EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the VoIP SIP-SDP coding/decoding type. In this example, the type is "cig 2" and the interface is pots_0/1. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip sip-sdp-codecs cig 2 interface pots_0/1
Related Commands 14.4.89 show remote epon voip sip-sdp-codecs
14.4.172 voip sip-user Syntax voip sip-user account name1 name name2 password name3 interface name4
Function This command configures the VoIP SIP user information.
Parameters Parameter
Description
Value
name1
Total number
-
name2
Name
-
name3
Password
-
name4
Interface
-
14-241 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to configure the VoIP SIP user information: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip sip-user account 1 name zte password zte interface pots_0/1
Related Commands None
14.4.173 voip timer Syntax voip timer {[dml number1][dms number2]} slot number3
Function This command configures the voice timer.
Parameters Parameter
Description
Value
number1
Timer dml
1–60
Unit: second Default value: 5 number2
Timer dms
1–60
Unit: second Default value: 2 number3
Slot number
1–255
Mode EPON-ONU-MNG mode
Usage Guidelines None
14-242 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Examples The following example shows how to configure the voice timer: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip timer dml 5 dms 2 slot 1
Related Commands None
14.4.174 voip user-tid Syntax voip user-tid number1 beginid number2 tid-num number3 prefix name1 begin-digit number4 align name2 digit-length number5 slot number6 no voip user-tid number1 slot number6
Function This command sets the VoIP user transmission ID.
Parameters Parameter
Description
Value
number1
Group number
1–255
number2
Starting ID
1–255
number3
Number of tid
1–255
name1
Prefix
-
number4
Starting number
0–65000
name2
enable/disable
-
number5
Digit length
0–5
number6
Slot number
1–255
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the VoIP user transmission ID: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
14-243 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(epon-onu-mng)#voip user-tid 1 beginid 2 tid-num 3 prefix 4 begin-digit 1 align disable digit-length 2 slot 1
Related Commands show remote epon voip user-tid information
14.4.175 voip-mng-ip Syntax voip-mng-ip [number1] associate {share|standalone} mode {static ip_addr1 ip_addr2 ip_addr3 [ip_addr4]|dhcp|pppoe auth-mode name1 name2 name3}{untag|tag vid number2 priority numb er3}
Function This command sets the parameters for a VoIP sub-card to communicate with users.
Parameters Parameter
Description
Value
number1
VoIP card number
0–255
associate
associate mode
-
share
share
-
standalone
standalone mode
-
static
Static IP address
-
ip_addr1
IP address
-
ip_addr2
Mask
-
ip_addr3
Gateway
-
ip_addr4
DNS server IP address
-
dhcp
dhcp
-
pppoe
pppoe
-
name1
AUTO/CHAP/PAP
-
name2
User name
-
name3
Password
-
untag
untag mode
-
tag
tag mode
-
number2
VLAN ID
1–4094
number3
Priority
0–7
14-244 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to set the parameters for a VoIP sub-card to communicate with users: ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1 ZXAN(epon-onu-mng)# voip-mng-ip associate share mode dhcp untag
Related Commands 14.4.150 show remote onu voip-mng-ip
14.4.176 voip-module fax-profile apply Syntax voip-module fax-profile apply name1
Function This command applies a FAX configuration profile on a specified ONU.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to apply a FAX configuration profile on a specified ONU. In this example, the FAX configuration profile name is "zte". ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip-module fax-profile apply zte
14-245 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
14.4.177 voip-module global-profile apply Syntax voip-module global-profile apply {[vlan name1][ip name2]}
Function This command applies a global configuration profile on a specified ONU.
Parameters Parameter
Description
Value
name1
Voice-VLAN profile name
-
name2
Voice-IP profile name
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to apply a global configuration profile on a specified ONU. In this example, the global configuration profile name is "zte". ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip-module global-profile apply ip zte
Related Commands None
14.4.178 voip-module protocol-profile apply Syntax voip-module protocol-profile apply name1 name2
Function This command applies a protocol configuration profile on a specified ONU. 14-246 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Parameters Parameter
Description
Value
name1
H248/MGCP/SIP
-
name2
Profile name
-
Mode WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines None
Examples The following example shows how to apply a protocol configuration profile on a specified ONU. In this example, the protocol configuration profile name is "zte". ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#voip-module protocol-profile apply h248 zte
Related Commands None
14.4.179 wan Syntax wan number1 {general-profile name1|ipv4 {static ip_addr1 ip_addr2 ip_addr3 pri-dns-server ip_addr4 [sec-dns-server ip_addr5] |dhcp |pppoe auth-mode name2 username name3 password name4 proxy-user {{enable number2|no-limit} |disable}}} no wan number1 [ipv4]
Function This command configures a WAN interface.
Parameters Parameter
Description
Value
number1
WAN ID
1–8
name1
WAN general profile name
-
ipv4
WAN IPv4 information
-
static
Static
-
ip_addr1
IP address
-
14-247 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
ip_addr2
IP address mask
-
ip_addr3
Gateway IP address
-
ip_addr4
Primary DNS IP address
-
ip_addr5
Secondary DNS IP address
-
dhcp
dhcp
-
pppoe
pppoe
-
name2
Authentication mode
-
name3
User name
-
name4
Password
-
number2
PPPoE proxy user
1–65534
no-limit
No limit
-
disable
Disable
-
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure a WAN interface. In this example, the WAN IPv4 IP address is 1.2.3.4, the mask is 255.255.255.1, the gateway IP address is 255.255.255.254, and the primary DNS server IP address is 2.3.4.5. ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#wan 1 ipv4 static 1.2.3.4 255.255.255.1 255.255.255.254 pri-dns-server 2.3.4.5
Related Commands 14.4.98 show remote epon wan-general-profile
14.4.180 wep Syntax wep ssid-auth-mode name1 {disable|enable[level name2][default-key-id number1][key1 name3 key2 name4 key3 name5 key4 name6]} name7 ssid number2 no wep name7 ssid number2 14-248 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 14 EPON Commands
Function This command configures SSID-WEP-related parameters.
Parameters Parameter
Description
Value
name1
Authentication mode.
-
disable
Disabling the mode.
-
enable
Enabling the mode.
-
name2
WEP encryption level.
-
number1
Default WEP key ID.
1–4
name3
Key1
-
name4
Key2
-
name5
Key3
-
name6
Key4
-
name7
Port
-
number2
SSID index
1–8
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure SSID-WEP-related parameters: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#wep ssid-auth-mode open-system enable level 104 wifi_0/1 ssid 1
Related Commands None
14.4.181 wpa Syntax wpa ssid-auth-mode name1 [{[update-interval number1] [mode name2]}] key name3 name4 ssid number2 no wpa name4 ssid number2 14-249 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the SSID WPA parameters.
Parameters Parameter
Description
Value
name1
Authentication algorithm
-
number1
WPA key update interval, range:
100–1000
100–1000 s name2
WPA encryption algorithm
-
name3
Password
-
name4
Port name, format: wifi_slot/port
-
number2
SSID index
1–8
Mode EPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the SSID WPA parameters: ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1 ZXAN(epon-onu-mng)#wpa ssid-auth-mode wpa-psk key 12345678 wifi_0/1 ssid 1
Related Commands None
14-250 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15
GPON Commands Table of Contents GPON Global Configuration .....................................................................................15-1 GPON OLT Interface Configuration ........................................................................15-69 GPON ONU Interface Configuration .......................................................................15-84 GPON ONU Remote Management....................................................................... 15-115
15.1 GPON Global Configuration 15.1.1 dhcp anti-spoofing autoshutdown-port Syntax dhcp anti-spoofing autoshutdown-port slot number1 {enable [closetime number2 ] |disable }
Function This command configures port auto-shutdown of Dynamic Host Configuration Protocol (DHCP) anti-spoofing.
Parameters Parameter
Description
Value
number1
Slot number.
1–9, 12–19
enable
Enables this function.
-
Time period that the port is disabled,
60–1800
number2
unit: seconds. disable
Disables this function.
-
Mode Gigabit Passive Optical Network (GPON) global configuration mode
Usage Guidelines None
15-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable port auto-shutdown of DHCP anti-spoofing on slot 3: ZXAN(config)#gpon ZXAN(config-gpon)#dhcp anti-spoofing autoshutdown-port slot 3 enable
Related Commands None
15.1.2 max-bandwidth Syntax max-bandwidth number1
Function This command configures the maximum GPON bandwidth.
Parameters Parameter
Description
Value
number1
Maximum bandwidth, unit:
0–2488320
Kbps, default: 0
Mode GPON global configuration mode
Usage Guidelines None
Examples The following example shows how to configure the maximum bandwidth to 10000 Kbps: ZXAN(config)#gpon ZXAN(config-gpon)#max-bandwidth 10000
Related Commands None
15-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.1.3 mop mode Syntax mop mode {itu-t |ctc }
Function This command configures multicast model defined by the International Telecommunication Union - Telecommunication Standardization Sector (ITU-T) standard or China Telecommunications Corporation (CTC) standard.
Parameters Parameter
Description
Value
itu-t
Multicast model defined by the ITU-T
-
standard. ctc
Multicast model defined by the CTC
-
standard.
Mode GPON global configuration mode
Usage Guidelines None
Examples The following example shows how to configure multicast model defined by the CTC standard: ZXAN(config)#gpon ZXAN(config-gpon)#mop mode ctc
Related Commands None
15.1.4 onu profile dial-plan Syntax onu profile dial-plan name1 number1 token name2 no onu profile dial-plan name1 number1
15-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command creates a dialing plan profile.
Parameters Parameter
Description
Value
name1
Name of the dialing plan profile
1–64 characters
number1
Dialing plan item number
1–255
name2
Dialing plan rule
1–28 characters
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command. You must create a network dialing plan table before creating a network dialing plan.
Examples The following example shows how to create a dialing plan for the network dialing plan table whose name is test. In this example, the dialing plan item number is 1 and the dialing plan rule is 1234|**##|x.T: ZXAN(config-gpon)#onu profile dial-plan test 1 token 1234|**##|x.T
Related Commands 15.1.32 show gpon onu profile dial-plan
15.1.5 onu profile dial-plan-table Syntax onu profile dial-plan-table name1 [size number1 ] [critical-timeout number2 ] [partial-timeout number3 ] [format name2 ] no onu profile dial-plan-table name1
Function This command creates a dialing plan table profile.
15-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Name of the dialing plan table profile
1–64 characters
number1
Maximum number of dialing plan table items
1–255
number2
Timeout of processing the critical dialing
0–65535
number mapping, unit: ms number3
Timeout of processing the partial dialing
0–65535
number mapping, unit: ms name2
Dialing plan format
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a dialing plan table with the following configurations: l l l l
Number of items: 255 Timeout time of processing the critical dialing number mapping: 20 seconds Timeout time of processing the partial dialing number mapping: 20 seconds Dialing plan format: H.248 dialing plan table
ZXAN(config-gpon)#onu profile dial-plan-table test size 255 critical-timeout 20 partial-timeout 20 format h248
Related Commands 15.1.33 show gpon onu profile dial-plan-table
15.1.6 onu profile dscp Syntax onu profile dscp name1 dscp2pbit name2 no onu profile dscp name1
Function This command creates a DSCP to P-bit mapping profile.
15-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
name2
Name of the priority mapping table,
1–255 characters
format: X(-X):X[,....,X(-X):X]
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a DSCP to P-bit mapping profile with the name of zte: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile dscp zte dscp2pbit 1:1
Related Commands None
15.1.7 onu profile filter-rule double-tag Syntax onu profile filter-rule double-tag name1 [{[{srcipv4 ip_addr1 |dstipv4 ip_addr2 |srcmac hexade cimal1 |dstmac hexadecimal2 |srcl4port number1 |dstl4port number2 |srcipv6 ipv6_addr1 |dsti pv6 ipv6_addr2 |traffic-class number3 |flow-label number4 } ] [name2 ] [inner-priority number5 ] [inner-vid number6 ] [inner-tpid name3 ] [outer-priority number7 ] [outer-vid number8 ] [out er-tpid name4 ] } ] no onu profile filter-rule double-tag name1
Function This command creates a mapping rule profile for filtering the double-tagged frames of an expanded VLAN.
Parameters Parameter
Description
Value
name1
Name of the mapping rule profile
1–64 characters
ip_addr1
Source IPv4 address
-
15-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
ip_addr2
Destination IPv4 address
-
hexadecimal1
Source MAC address
-
hexadecimal2
Destination MAC address
-
number1
Source layer 4 port number
1–65535
number2
Destination layer 4 port number
1–65535
ipv6_addr1
Source IPv6 address
-
ipv6_addr2
Destination IPv6 address
-
number3
Flow type
0–255
number4
Flow tag
0–1048575
name2
Ethernet frame type
-
number5
Filtered inner 802.1p priority
0–7
number6
Filtered inner VID
0–4094
name3
Inner TPID mapping mode
-
number7
Filtered outer 802.1p priority
0–7
number8
Filtered outer VID
0–4094
name4
Outer TPID mapping mode
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a mapping rule profile for filtering double-tagged Ethernet frames. The mapping rule profile name is test: ZXAN(config-gpon)#onu profile filter-rule double-tag test inner-vid 100 ZXAN(config-gpon)#
Related Commands None
15-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.1.8 onu profile filter-rule single-tag Syntax onu profile filter-rule single-tag name1 [{[{srcipv4 ip_addr1 |dstipv4 ip_addr2 |srcmac hexadeci mal1 |dstmac hexadecimal2 |srcl4port number1 |dstl4port number2 |srcipv6 ipv6_addr1 |dstipv6 ipv6_addr2 |traffic-class number3 |flow-label number4 } ] [name2 ] [inner-priority number5 ] [inner-vid number6 ] [inner-tpid name3 ] } ] no onu profile filter-rule single-tag name1
Function This command creates a mapping rule profile for filtering the single-tagged frames of an expanded VLAN.
Parameters Parameter
Description
Value
name1
Name of the mapping rule profile
1–64 characters
ip_addr1
Source IPv4 address
-
ip_addr2
Destination IPv4 address
-
hexadecimal1
Source MAC address
-
hexadecimal2
Destination MAC address
-
number1
Source layer 4 port number
1–65535
number2
Destination layer 4 port number
1–65535
ipv6_addr1
Source IPv6 address
-
ipv6_addr2
Destination IPv6 address
-
number3
Flow type
0–255
number4
Flow tag
0–1048575
name2
Ethernet frame type
-
number5
Filtered inner 802.1p priority
0–7
number6
Filtered inner VID
0–4094
name3
Outer TPID mapping mode
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
15-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to create a mapping rule profile with the name of single-tag-vid100 for filtering the single-tagged Ethernet frames of VLAN 100: ZXAN(config-gpon)#onu profile filter-rule single-tag single-tag-vid100 inner-vid 100 ZXAN(config-gpon)#
Related Commands None
15.1.9 onu profile filter-rule zero-tag Syntax onu profile filter-rule zero-tag name1 [{[name2 ] [{srcipv4 ip_addr1 |dstipv4 ip_addr2 |srcmac hexadecimal1 |dstmac hexadecimal2 |srcl4port number1 |dstl4port number2 |srcipv6 ipv6_addr1 |dstipv6 ipv6_addr2 |traffic-class number3 |flow-label number4 } ] } ] no onu profile filter-rule zero-tag name1
Function This command creates a mapping rule profile for filtering the untagged frames of an expanded VLAN.
Parameters Parameter
Description
Value
name1
Name of the mapping rule
1–64 characters
profile name2
Ethernet frame type
-
ip_addr1
Source IPv4 address
-
ip_addr2
Destination IPv4 address
-
hexadecimal1
Source MAC address
-
hexadecimal2
Destination MAC address
-
number1
Source layer 4 port number
1–65535
number2
Destination layer 4 port number
1–65535
ipv6_addr1
Source IPv6 address
-
ipv6_addr2
Destination IPv6 address
-
number3
Flow type
0–255
number4
Flow tag
0–1048575
15-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a mapping rule profile with the name of test1 for filtering the untagged Ethernet frames whose source IP address is 10.10.10.99: ZXAN(config-gpon)#onu profile filter-rule zero-tag test1 srcipv4 10.10.10.99 ZXAN(config-gpon)#
Related Commands None
15.1.10 onu profile igmp Syntax onu profile igmp name1 [{[version name2 ] [work-mode name3 ] [fast-leave name4 ] [robustness {copy-from-query |number1 } ] [proxy-ip ip_addr1 ] [query-interval number2 ] [query-max-resp number3 ] [last-query-interval number4 ] [non-match-group name5 ] [rate-limit number5 ] [tag {transparent |add priority number6 vlan number7 |replace [priority number8 ] vlan number9 } ] [down-tag {transparent |strip |add priority number10 vlan number11 |replace [priority number 12 ] vlan number13 } ] [iptv-package {[dynamic1 name6 ] [dynamic2 name7 ] [dynamic3 name8 ] [dynamic4 name9 ] [dynamic5 name10 ] [dynamic6 name11 ] [dynamic7 name12 ] [dynamic8 name13 ] [static name14 ] } ] } ] no onu profile igmp name1 [rate-limit ] [iptv-package [dynamic [number14 ] ] [static ] ]
Function This command configures an Optical Network Unit (ONU) multicast profile.
Parameters Parameter
Description
Value
name1
Multicast profile name.
1–64 characters
name2
IGMP version.
-
name3
IGMP working mode.
-
name4
Enables or disables fast leaving, default:
-
disabled.
15-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
copy-from-query
Copies the robust value from the query
-
packet. number1
Robust value.
1–255
ip_addr1
IP address of the proxy server.
-
number2
Common query time interval, unit:
0–4294967295
seconds, default: 125. number3
Maximum response time to a query packet,
0–4294967295
unit: 0.1 second, default: 100. number4
Group specific time interval, unit: 0.1
0–4294967295
second, default: 10. name5
Operation on an unmatched group.
Forward, Discard
number5
Upstream IGMP rate limit, unit:
0–4294967295
messages/second, default: 0, indicating unlimited. transparent
IGMP flows are permitted in the upstream
-
direction. number6
Adds a VLAN priority.
0–7
number7
Adds a VLAN ID.
1–4094
number8
Replaces a VLAN priority.
0–7
number9
Replaces a VLAN ID.
1-4094
strip
Removes a downstream IGMP flow tag.
-
number10
Adds a downstream multicast flow priority.
0–7
number11
Adds a VLAN ID.
1–4094
number12
Replaces a downstream multicast priority.
0–7
number13
Replaces a downstream multicast
1–4094
VLAN ID. name6
Specifies the name for correlated dynamic
1–31 characters.
package 1. name7
Specifies the name for correlated dynamic
1–31 characters.
package 2. name8
Specifies the name for correlated dynamic
1–31 characters.
package 3. name9
Specifies the name for correlated dynamic
1–31 characters.
package 4. name10
Specifies the name for correlated dynamic
1–31 characters.
package 5.
15-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name11
Specifies the name for correlated dynamic
1–31 characters.
package 6. name12
Specifies the name for correlated dynamic
1–31 characters.
package 7. name13
Specifies the name for correlated dynamic
1–31 characters.
package 8. name14
Specifies the name for the correlated static
1–31 characters.
package. rate-limit
Upstream IGMP rate limiting.
-
iptv-package
Correlated package.
-
dynamic
Correlated dynamic package.
-
number14
Static package number.
1–8
static
Correlated static package.
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure an ONU multicast profile: ZXAN(config)#igmp mvlan 700 ZXAN(config)#igmp mvlan 700 group 235.0.4.1 to 235.0.4.5 ZXAN(config)#igmp mvlan 700 source-port gei_1/21/1 ZXAN(config)#igmp mvlan 700 receive gpon-onu_1/4/1:1 vport 1 ZXAN(config)#igmp mvlan 700 work-mode snooping ZXAN(config)#igmp mvlan 700 group 235.0.4.1 bandwidth 12000 ZXAN(config)#igmp mvlan 700 group 235.0.4.2 bandwidth 12000 ZXAN(config)#igmp mvlan 700 group 235.0.4.3 bandwidth 4000 ZXAN(config)#igmp mvlan 700 group 235.0.4.4 bandwidth 4000 ZXAN(config)#igmp mvlan 700 group 235.0.4.5 bandwidth 16000 ZXAN(config)#iptv channel mvlan 700 group 235.0.4.1 to 235.0.4.5 ZXAN(config)#iptv package name ACDE ZXAN(config)#iptv package ACDE channel mvlan 700 group 235.0.4.1 watch Complete! ZXAN(config)#iptv package ACDE channel mvlan 700 group 235.0.4.3 to 235.0.4.5 watch ..Complete! ZXAN(config)#iptv package name ABCDE
15-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands ZXAN(config)#iptv package ABCDE channel mvlan 700 group 235.0.4.1 to 235.0.4.5 watch ....Complete! ZXAN(config)#gpon ZXAN(config-gpon)#onu profile igmp ACDE work-mode snooping fast-leave enable rate-limit 16 robustness 2 iptv-package dynamic1 ACDE ZXAN(config-gpon)#onu profile igmp ABCDE work-mode snooping fast-leave enable rate-limit 16 robustness 2 iptv-package dynamic1 ABCDE
Related Commands 15.1.36 show gpon onu profile igmp
15.1.11 onu profile ip Syntax onu profile ip name1 static gateway ip_addr1 [primary-dns ip_addr2 [second-dns ip_addr3 ] ] no onu profile ip name1
Function This command creates an ONU IP profile.
Parameters Parameter
Description
Value
name1
IP profile name
1–64 characters
static
Static IP address
-
ip_addr1
Default gateway
-
ip_addr2
Primary Domain Name System (DNS)
-
server address ip_addr3
Secondary DNS server address
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU IP profile with the name of zte: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile ip zte static gateway 10.63.10.254
15-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.1.12 onu profile mgc Syntax onu profile mgc name1 [{[heart-beat name2 ] [rtp-link-detect name3 ] [num-match-shortest na me4 ] [digit-map long-timer number1 short-timer number2 start-timer number3 ] [heart-beat-in terval number4 ] [min-rereg-timer number5 max-rereg-timer number6 ] [regmsg-retran-timer number7 total-retran-time number8 ] [passive-heart-beat name5 ] [min-avalanche-timer numb er9 max-avalanche-timer number10 ] |{[msg-format name6 ] [version number11 ] [max-retrytime number12 ] [max-retry-attempts number13 ] [service-change-delay number14 ] [ss name7 ] [user-tid {default prefix name8 |prefix name9 [postfix-len number15 ] postfix-start number16 } ] [rtp-tid {default |prefix name10 [postfix-len number17 ] postfix-start number18 } ] } |{[port number19 [{dscp number20 |tos number21 } ] ] [media port number22 [{dscp number23 |tos num ber24 } ] ] } |{[{server1 |server2 } name11 [validate {disable |basic username name12 password name13 |md5 username name14 password name15 realm name16 } ] ] } } ] no onu profile mgc name1 [server1 ] [server2 ] [ss ]
Function This command creates an ONU Media Gateway Controller (MGC) profile.
Parameters Parameter
Description
Value
name1
MGC profile name.
1–64 characters
name2
Heartbeat report.
-
name3
Enables or disables RTP line detection.
-
name4
Enables or disables shortest digit matching.
-
number1
Longest digit matching time, unit: ms.
2000–60000
number2
Shortest digit matching time, unit: ms.
2000–60000
number3
Digit matching starting time, unit: ms.
2000–60000
number4
Heartbeat interval, unit: ms.
10000–600000
number5
Minimum reregistration time, unit: ms.
0–500000
number6
Maximum reregistration time, unit: ms.
0–500000
number7
Registration message obtaining time, unit: ms.
100–50000
number8
Total obtaining time, unit: ms.
100–50000
name5
Enables or disables passive heartbeat.
-
15-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
number9
Minimum avalanche time, unit: ms.
0–500000
number10
Maximum avalanche time, unit: ms.
0–500000
name6
Message format: {text-long|text-short|binary},
-
default: text-long. number11
Version number.
1–255
number12
Maximum retry time of the MGC session, unit:
0–65535
seconds. number13
Maximum number of message retransmission
0–65535
times, unit: seconds. number14
Delay time of service state switch due to line
0–65535
service state switch, unit: seconds. name7
SS vendor ID.
1–4 characters
default
Default user TID.
-
name8
Prefix of the default user TID.
1–25 characters
name9
User TID prefix.
1–128 characters
number15
User TID suffix length.
1–7 bytes
number16
Starting digit of the user TID suffix.
0–9
name10
RTP TID prefix.
1–8 characters
number17
RTP TID suffix length.
1–7 bytes
number18
Starting digit of the RTP TID suffix.
0–9
number19
UDP port number.
1–65535
number20
DSCP.
0–63
number21
TOS.
0–7
media
Media.
-
number22
UDP port number.
1–65535
number23
DSCP.
0–63
number24
TOS.
0–7
server1
Primary MGC server address.
-
server2
Secondary MGC server address.
-
name11
MGC server address, IP address or URL.
1–128 characters
disable
Disables the MGC server.
-
name12
User name for MGC server basic
1–25 characters
authentication. name13
Password for MGC server basic authentication.
1–25 characters
15-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name14
User name for MGC server MD5 authentication
1–25 characters
name15
Password for MGC server MD5 authentication.
1–25 characters
name16
Domain name for MGC server MD5
1–25 characters
authentication. ss
SS vendor ID.
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure an ONU MGC profile: ZXAN(config-gpon)#onu profile mgc test1 server1 10.63.10.1 validate basic username aaa password bbb ZXAN(config-gpon)#onu profile mgc test1 ss CZTE
Related Commands None
15.1.13 onu profile performance-threshold cesuni Syntax onu profile performance-threshold cesuni name1 [{[down-missing number1 ] [down-reordered number2 ] [down-misordered number3 ] [down-buffer-underrun-overrun number4 ] [down-m alformed number5 ] [down-stray number6 ] [down-remote-loss number7 ] [down-es number8 ] [down-ses number9 ] [down-uas number10 ] } ] no onu profile performance-threshold cesuni name1
Function This command creates an ONU Circuit Emulation Service (CES) performance alarm threshold profile.
15-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
number1
Alarm threshold of downstream lost packets.
1–4294967295
number2
Alarm threshold of downstream reordered
1–4294967295
packets. number3
Alarm threshold of downstream disordered
1–4294967295
packets. number4
Alarm threshold of downstream buffer
1–4294967295
overflow/underflow packets. number5
Alarm threshold of downstream abnormal
1–4294967295
packets. number6
Alarm threshold of downstream incorrect
1–4294967295
routing packets. number7
Alarm threshold of downstream packets with
1–4294967295
remote packet loss tags. number8
Alarm threshold of downstream incorrect
1–4294967295
seconds. number9
Alarm threshold of downstream severe
1–4294967295
incorrect seconds. number10
Alarm threshold of downstream unavailable
1–4294967295
seconds.
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the alarm threshold of downstream disordered packets on the CES user port to 100: ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold cesuni alm-misorder-100 down-misordered 100
ZXAN(config-gpon)#
15-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 15.1.39 show gpon onu profile performance-threshold ces
15.1.14 onu profile performance-threshold dot1x Syntax onu profile performance-threshold dot1x name1 [{[rx-invalid-eapol number1 ] [rx-len-err-eap number2 ] } ] no onu profile performance-threshold dot1x name1
Function This command creates a dot1x performance alarm threshold profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Statistics threshold of the received
1–4294967295
number1
EAPOL frames number2
Statistics threshold of the received EAP
1–4294967295
frames with incorrect lengths
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the statistics threshold of the received EAP frames with incorrect lengths to 100: ZXAN(config-gpon)#onu profile performance-threshold dot1x test rx-len-err-eap 100
Related Commands 15.1.40 show gpon onu profile performance-threshold dot1x
15-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.1.15 onu profile performance-threshold ethuni Syntax onu profile performance-threshold ethuni name1 [{[fcs-err number1 ] [excessive-collision numb er2 ] [late-collision number3 ] [too-long number4 ] [rx-buf-overflow number5 ] [tx-buf-overflow number6 ] [single-collision number7 ] [multi-collisions number8 ] [sqe number9 ] [deferred-tx number10 ] [internal-mac-tx-err number11 ] [internal-mac-rx-err number12 ] [carrier-sense-e rr number13 ] [alignment-err number14 ] [pppoe-filtered number15 ] [drop-events number16 ] [undersize number17 ] [fragments number18 ] [jabbers number19 ] } ] no onu profile performance-threshold ethuni name1
Function This command creates a performance alarm threshold profile for the ONU Ethernet user port.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
number1
Alarm threshold of FCS error frames
1–4294967295
number2
Alarm threshold of excessive-collision
1–4294967295
frames number3
Alarm threshold of latest-collision frames
1–4294967295
number4
Alarm threshold of too long frames
1–4294967295
number5
Alarm threshold of received buffer overflow
1–4294967295
frames number6
Alarm threshold of sent buffer overflow
1–4294967295
frames number7
Alarm threshold of single-collision frames
1–4294967295
number8
Alarm threshold of multi-collision frames
1–4294967295
number9
Alarm threshold of SQE test error messages
1–4294967295
number10
Alarm threshold of delayed frames
1–4294967295
number11
Alarm threshold of incorrect frames sent by
1–4294967295
the internal MAC sub-layer number12
Alarm threshold of incorrect frames received
1–4294967295
by the internal MAC sub-layer number13
Alarm threshold of incorrect frames
1–4294967295
monitored by the carrier wave
15-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number14
Alarm threshold of incorrectly aligned
1–4294967295
frames number15
Alarm threshold of PPPoE filtered frames
1–4294967295
number16
Alarm threshold of discarded received
1–4294967295
frames number17
Alarm threshold of received too short frames
1–4294967295
number18
Alarm threshold of received fragments
1–4294967295
number19
Alarm threshold of sent too long frames
1–4294967295
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the alarm threshold of FCS error frames to 100: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile performance-threshold ethuni ethalm-fcserr-100 fcs-err 100
ZXAN(config-gpon)#
Related Commands 15.1.41 show gpon onu profile performance-threshold eth
15.1.16 onu profile performance-threshold gem Syntax onu profile performance-threshold gem name1 [{[lost-packets number1 ] [misinserted-packets number2 ] [impaired-blocks number3 ] } ] no onu profile performance-threshold gem name1
Function This command creates a performance alarm threshold profile for ONU GPON Encapsulation Method (GEM) frames. 15-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
number1
Alarm threshold of lost GEM frames
1–4294967295
number2
Alarm threshold of incorrectly inserted
1–4294967295
GEM frames number3
Alarm threshold of severely incorrect
1–4294967295
GEM blocks
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the alarm threshold of lost GEM frames to 100: ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold gem gemalm-los-100 lost-packets 100
ZXAN(config-gpon)#
Related Commands 15.1.42 show gpon onu profile performance-threshold gem
15.1.17 onu profile performance-threshold radius Syntax onu profile performance-threshold radius name1 [{[retx-access-req number1 ] [rx-invalid-rad ius number2 ] } ] no onu profile performance-threshold radius name1
Function This command creates a Remote Authentication Dial In User Service (RADIUS) performance alarm threshold profile.
15-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
number1
Alarm threshold of retransmitted
1–4294967295
frames number2
Received invalid RADIUS
1–4294967295
frames
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the alarm threshold of the received frames with incorrect EAP lengths to 100: ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold
radius radius_test
retx-access-req 100
Related Commands 15.1.43 show gpon onu profile performance-threshold radius
15.1.18 onu profile performance-threshold switchport Syntax onu profile performance-threshold switchport name1 [{[delay-exceeded-discard number1 ] [m tu-exceeded-discard number2 ] [received-and-discarded number3 ] } ] no onu profile performance-threshold switchport name1
Function This command creates a performance alarm threshold profile for a bridge port.
15-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
number1
Number of frames discarded
1–4294967295
due to timeout number2
Number of frames discarded
1–4294967295
due to exceeding the maximum transmission unit number3
Number of received and
1–4294967295
discarded frames
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a performance alarm threshold profile for a bridge port: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile performance-threshold switchport switch
Related Commands None
15.1.19 onu profile performance-threshold vlan Syntax onu profile performance-threshold vlan ethuni name1 [{[discard-lack-of-buffer number1 ] [dis card-delay-exceeded number2 ] [discard-on-error number3 ] [discard-on-ingress-filtering num ber4 ] } ] no onu profile performance-threshold vlan ethuni name1
Function This command creates a VLAN performance alarm threshold profile.
15-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
number1
Number of frames discarded
1–4294967295
due to insufficient buffer number2
Number of frames discarded
1–4294967295
due to timeout number3
Number of discarded error
1–4294967295
frames number4
Number of frames discarded
1–4294967295
through access filtering
Mode GPON global configuration mode
Usage Guidelines None
Examples The following example shows how to create a VLAN performance alarm threshold profile: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile performance-threshold vlan ethuni vlan1
Related Commands None
15.1.20 onu profile schedule Syntax onu profile schedule name1 {mode name2 |queue-map number1 number2 number3 number4 nu mber5 number6 number7 number8 |queue-weight number9 number10 [number11 number12 [nu mber13 number14 [number15 number16 [number17 number18 [number19 number20 [number21 number22 [number23 number24 ] ] ] ] ] ] ] } no onu profile schedule name1
Function This command creates an ONU scheduling profile.
15-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
name2
Scheduling mode
WRR, SP, SP+WRR,
Default: uses the ONU default configuration.
default
The queue-map or queue-weight configuration is ineffective. number1
Priority 0 is mapped to the queue.
0–7
number2
Priority 1 is mapped to the queue.
0–7
number3
Priority 2 is mapped to the queue.
0–7
number4
Priority 3 is mapped to the queue.
0–7
number5
Priority 4 is mapped to the queue.
0–7
number6
Priority 5 is mapped to the queue.
0–7
number7
Priority 6 is mapped to the queue.
0–7
number8
Priority 7 is mapped to the queue.
0–7
number9
Queue 0.
0–7
number10
Weight of queue 0.
0–15
number11
Queue 1.
0–7
number12
Weight of queue 1.
0–15
number13
Queue 2.
0–7
number14
Weight of queue 2.
0–15
number15
Queue 3.
0–7
number16
Weight of queue 3.
0–15
number17
Queue 4.
0–7
number18
Weight of queue 4.
0–15
number19
Queue 5.
0–7
number20
Weight of queue 5.
0–15
number21
Queue 6.
0–7
number22
Weight of queue 6.
0–15
number23
Queue 7.
0–7
number24
Weight of queue 7.
0–15
Mode GPON global configuration mode
15-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To cancel the setting, use the no form of this command. When you carry out ths command by using a specified profile name for the first time, it indicates to create the profile. When you carry out this command for second time, it indicates to modify the profile. A profile that is used cannot be deleted or modified. By default, the NE creates a profile with the name of default. This profile uses ONU default scheduling mode. Other parameters are invalid.
Examples The following example shows how to create an ONU scheduling profile with the following configurations: l l
l
Scheduling mode: SP+WRR Queue mapping: Priorities 0 and 1 are mapped to queue 0. Priorities 2 and 3 are mapped to queue 1. Priorities 4 and 5 are mapped to queue 2. Priorities 6 and 7 are mapped to queue 3. Queue weights: The weight of queue 0 is 10, the weight of queue 1 is 5, and the weights of queues 2 and 3 are not configured. Queues 0 and 1 use Weighted Round Robin (WRR), and queues 2 and 3 use Strict Priority (SP).
ZXAN(config)#gpon
ZXAN(config-gpon)# onu profile schedule schedule_test mode sp+wrr
ZXAN(config-gpon)# onu profile schedule schedule_test queue-map 0 0 1 1 2 2 3 3
ZXAN(config-gpon)# onu profile schedule schedule_test queue-weight 0 10 1 5
Related Commands 15.1.46 show gpon onu profile schedule
15.1.21 onu profile sip Syntax onu profile sip name1 [proxy name2 ] [outbound name3 ] [registrar name4 ] [validate {disable |basic username name5 password name6 |md5 username name7 password name8 realm name9 } ] [port number1 [{dscp number2 |tos number3 } ] ] [media port number4 [{dscp number5 |tos number6 } ] ] [dns1 ip_addr1 [dns2 ip_addr2 ] ] [reg-exp-time number7 ] [rereg-time number8 ] [ss name10 ] [dial-plan name11 ] [release-time number9 ] [roh-time number10 ] [heart-beat {disable |enable interval number11 } ] [appsrv name12 ] [accesscode name13 ] no onu profile sip name1 [ss ] [dial-plan ] [appsrv ] [accesscode ]
15-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command configures an ONU Session Initiation Protocol (SIP) profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
name2
Proxy server address, which is an IP address
-
or a URL name3
Proxy server address, which is an IP address
-
or a URL name4
Proxy server address, which is an IP address
-
or a URL disable
No registration or authentication
-
name5
Basic authentication user name defined by
1–25 characters
RFC2617 name6
Basic authentication password defined by
1–25 characters
RFC2617 name7
MD5 digest authentication user name defined
1–25 characters
by RFC2069 name8
MD5 digest authentication password defined
1–25 characters
by RFC2069 name9
MD5 digest authentication domain name
-
defined by RFC2069 number1
UDP port number
1–65535
number2
DSCP
0–63
number3
TOS
0–7
media
Media gateway
-
number4
UDP port number
1–65535
number5
DSCP
0–63
number6
TOS
0–7
ip_addr1
Primary DNS address
-
ip_addr2
Secondary DNS address
-
Registration timeout time, unit: seconds,
0–4294967295
number7
default: 3600 number8
Reregistration timeout time, unit: seconds,
0–4294967295
default: 3600
15-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name10
SS vendor ID
1–4 characters
name11
Associated dialing plan table name
-
number9
Releasing timer, unit: seconds, default: 10
0–255
number10
ROH timer, unit: seconds, default: 15
0–255
enable
Heartbeat message reporting
-
number11
Heartbeat reporting interval, unit: seconds
1–65535
name12
VoIP application profile name
1–64 characters
name13
Access code profile name
1–64 characters
ss
SS vendor ID
-
dial-plan
Associated dialing plan table
-
appsrv
VoIP application profile
-
accesscode
Access code profile
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU SIP profile: ZXAN(config-gpon)#onu profile sip test1 proxy 10.63.10.1 validate basic username aaa password bbb
ZXAN(config-gpon)#onu profile sip test1 ss CZTE dial-plan plan1
Related Commands 15.1.47 show gpon onu profile sip
15.1.22 onu profile tdm Syntax onu profile tdm name1 {[jtrbfr-max number1 ] [jtrbfr-desire number2 ] [rtp {disable |enable ssrc number3 number4 ptype number5 number6 clk-ref number7 timestamp-mode name2 [exp ected-ptype number8 number9 ] [expected-ssrc number10 number11 ] } ] |policy [fill-plc name3 ] [misconn-pktdlr number12 ] [misconn-pktclr number13 ] [loss-pktdlr number14 ] [loss-pktclr number15 ] [buf-dlr number16 ] [buf-clr number17 ] [malform-pktdlr number18 ] [malform-pk 15-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
tclr number19 ] [rbtx-set number20 ] [rbtx-clr number21 ] [rbrx-plc name4 ] [lbrx-plc name5 ] [ses-thres number22 ] } no onu profile tdm name1
Function This command configures a Time Division Multiplexing (TDM) property profile.
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
number1
Maximum depth of jitter buffer from PSN to TDM, which
0–65535
must be a multiple of 125 us frame rate, default: 0. number2
Standard depth of jitter buffer from PSN to TDM, which
0–65535
must be a multiple of 125 us frame rate, default: 0. rtp
RTP header.
-
disable
Disables the RTP header.
-
enable
Enables the RTP header.
-
number3
RTP synchronization payload SSRC, clock
0–4294967295
synchronization source of the payload channel from TDM to PSN. number4
RTP synchronization source independent signaling SSRC
0–4294967295
number5
Payload type of the payload channel.
96–127
number6
Payload type of the signaling channel.
0, 96–127
number7
Clock reference frequency, which must be a multiple of
0–65535
8 kHz. name2
Timestamp mode.
unknown, absolute, differential
number8
Expected payload channel type.
0–255
number9
Payload type of the signaling channel.
0–255
number10
Expected payload channel SSRC.
0–4294967295
number11
Signaling channel SSRC.
0–4294967295
policy
Fill policy.
-
name3
Fill policy, default: ont-default, which indicates to use
-
ONT internal policy.
15-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number12
Percentage of incorrectly connected packet alarm
1–100
policies, default: 0, which indicates to use the ONT internal policy. number13
Percentage of incorrectly connected packet alarm
0–99
clearance policies, default: 0, which indicates to use the ONT internal policy. number14
Percentage of lost packet alarm policies, default: 0, which
1–100
indicates to use the ONT internal policy. number15
Percentage of lost packet alarm clearance policies,
0–99
default: 255, which indicates to use the ONT internal policy. number16
Percentage of buffer overflow/underflow alarm policies,
1–100
default: 0, which indicates to use the ONT internal policy. number17
Percentage of buffer overflow/underflow alarm clearance
0–99
policies, default: 255, which indicates to use the ONT internal policy. number18
Percentage of abnormal packet alarm policies, default: 0,
1–100
which indicates to use the ONT internal policy. number19
Percentage of abnormal packet alarm clearance policies,
0–99
default: 255, which indicates to use the ONT internal policy. number20
Number of the succeeding lost packets from TDM to
0–255
PSN, which lead to R-bit (remote packet loss) settings. Default: 0, which indicates to use the ONT internal policy. number21
Number of the succeeding valid packets from TDM to
0–255
PSN, which lead to R-bit (remote packet loss) clearance. Default: 0, which indicates to use the ONT internal policy. name4
Processing action on detecting a remote fault (R-bit being
-
set). l
p0: no action (default).
l
p1: generates the RAI/REI/RDI code.
l
p2: sends the channel idle signaling and the idle channel payload to all the DS0s that contain the service.
15-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name5
Processing action on detecting a remote TDM fault (L-bit
-
being set). l
p0: generates AIS (default).
l
p1: sends the last received packet again.
l
p2: sends the channel idle signaling and the idle channel payload to all the DS0s that contain the service.
number22
Number of the lost, incorrect, and unavailable packets
0–65535
during the one second interval increased in the PSN-to-TDM direction by a severely error second timer. Default: 3, which indicates to use the ONT internal policy.
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a TDM profile with the name of test and RTP header disabled: ZXAN(config-gpon)#onu profile tdm test rtp disable
ZXAN(config-gpon)#
Related Commands None
15.1.23 onu profile traffic Syntax onu profile traffic name1 sir number1 pir number2 [{[cbs number3 pbs number4 ] [colour-mode name2 ] [ingress-colour-marking name3 ] [egress-colour-marking name4 ] [meter-type name5 ]}] no onu profile traffic name1
Function This command creates an ONU traffic profile.
15-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
number1
Average information rate, unit: Kbps.
0–10000000
number2
Peak information rate, unit: Kbps.
0–10000000
number3
Committed block size, unit: bytes.
0–1023000
number4
Peak block size, unit: bytes.
0–1023000
name2
Coloring mode
-
l
colour-blind: ignores the color tag that enters the packet.
l
colour-aware: considers the color tag that enters the packet.
name3
Coloring mode of ingress packets. This parameters is
-
effective when colour-mode is set to colour-aware. Default: no-marking, which indicates that packets are not colored. name4
Coloring mode of egress packets. l l
-
no-marking (default): Packets are not colored. internal-marking: The existing color tags of the packets are not changed. The internal coloring method is used.
name5
Coloring algorithm reference standard.
-
l
not-specified (default): uses the private algorithm.
l
rfc4115: refers to RFC 4115.
l
rfc2698: refers to RFC 2698.
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU traffic profile with the following configurations: l l l l
SIR: 10000 Kbps PIR: 20000 Kbps Ignores the color tag that enters the packet. The egress packets are not colored.
15-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands ZXAN(config-gpon)# onu profile traffic traffic1 sir 10000 pir 20000 colour-mode colour-blind egress-colour-marking no-marking
Related Commands 15.1.49 show gpon onu profile traffic
15.1.24 onu profile treat Syntax onu profile treat name1 [{discard |{[remove-tag number1 ] [inner-prio {insert number2 |name2 } ] [inner-vid {insert number3 |name3 } ] [inner-tpid name4 ] [outer-prio {insert number4 |name5 } ] [outer-vid {insert number5 |name6 } ] [outer-tpid name7 ] } } ] no onu profile treat name1
Function This command creates an expanded VLAN processing rule profile.
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
discard
Tag removing rule.
-
number1
Number of tags to be removed.
0–2
If this parameter is set to 1 for a double-tagged frame, it indicates to remove the outer tag. By default, the value is 0. inner-prio
Inner 802.1p priority adding mode.
-
number2
Add the specified priority.
0–7
name2
l
-
copy-inner: copies the 802.1p priority from the inner tag of the received frame.
l
copy-outer: copies the 802.1p priority from the outer tag of the received frame.
inner-vid
Inner VID adding mode.
-
number3
Add the specified VID.
0–4095
name3
l
-
copy-inner: copies the VID from the inner tag of the received frame.
l
copy-outer: copies the VID from the outer tag of the received frame.
name4
Inner TPID adding mode.
-
15-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number4
Priority added by outer 802.1p priority adding mode.
0–7
name5
Outer 802.1p priority adding mode.
-
l
copy-inner: copies the 802.1p priority from the inner tag of the received frame.
l
copy-outer: copies the 802.1p priority from the outer tag of the received frame.
outer-vid
Outer 802.1p priority adding mode.
-
number5
VID added by outer VID adding mode.
0–4095
name6
Outer VID adding mode.
-
l
copy-inner: copies the VID from the inner tag of the received frame.
l
copy-outer: copies the VID from the outer tag of the received frame.
name7
Outer TPID adding mode.
-
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command. Inner and outer TPID adding modes are as follows: mode0: copies the TPID (including the DE bit) from the inner tag of the received frame. mode1: copies the TPID (including the DE bit) from the outer tag of the received frame. mode2: The TPID is the pre-configured egress TPID value, and the DE bit is copied from the inner tag of the received frame. mode3: The TPID is the pre-configured egress TPID value, and the DE bit is copied from the outer tag of the received frame. mode4: TPID=0x8100. mode5: Reserved. mode6: The TPID is the pre-configured egress TPID value. DE bit = 0. mode7: The TPID is the pre-configured egress TPID value. DE bit = 1.
Examples The following example shows how to create an Ethernet frame processing rule profile with the following configurations: l l
Profile name: add-vid200 One tag is added. 15-34
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
l
VID: 200
ZXAN(config-gpon)#onu profile treat add-vid200 inner-vid insert 200
Related Commands 15.1.50 show gpon onu profile treat
15.1.25 onu profile vlan Syntax onu profile vlan name1 tag-mode {tag cvlan number1 [priority number2 ] |vlan-stacking svlan number3 [cvlan number4 [priority number5 ] ] } no onu profile vlan name1
Function This command creates an ONU VLAN profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
tag-mode
VLAN tag mode
-
tag
VLAN tag mode
-
number1
CVLAN ID
1–4094
number2
Priority
0–7
vlan-stacking
VLAN stacking
-
number3
SVLAN ID
1–4094
number4
CVLAN ID
1–4094
number5
Priority
0–7
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an ONU VLAN profile with the name of zte: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile vlan zte tag-mode tag cvlan 100
15-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.1.26 onu profile voip-accesscode Syntax onu profile voip-accesscode name1 [{[cancel-call-waiting name2 ] [call-hold name3 ] [call-park name4 ] [cid-activate name5 ] [cid-deactivate name6 ] [no-disturb-activation name7 ] [no-distu rb-deactivation name8 ] [no-disturb-pin-change name9 ] [emergency-srv-num name10 ] [inter com-service name11 ] [unattended-call-transfer name12 ] [attended-call-transfer name13 ] } ] no onu profile voip-accesscode name1
Function This command configures a Voice over Internet Protocol (VoIP) access code profile.
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
name2
Cancels call waiting, which must be the
1–5 characters
following characters: 0..9, *, #. name3
Call hold, which must be the following
1–5 characters
characters: 0..9, *, #. name4
Call park, which must be the following
1–5 characters
characters: 0..9, *, #. name5
Enables caller ID display, which must be the
1–5 characters
following characters: 0..9, *, #. name6
Disables caller ID display, which must be the
1–5 characters
following characters: 0..9, *, #. name7
Enables no disturb, which must be the
1–5 characters
following characters: 0..9, *, #. name8
Disables no disturb, which must be the
1–5 characters
following characters: 0..9, *, #. name9
PIN change for no disturb, which must be the
1–5 characters
following characters: 0..9, *, #. name10
Emergent service number, which must be the
1–5 characters
following characters: 0..9, *, #. name11
Internal service, which must be the following
1–5 characters
characters: 0..9, *, #. 15-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name12
Unattended call transfer, which must be the
1–5 characters
following characters: 0..9, *, #. name13
Attended call transfer, which must be the
1–5 characters
following characters: 0..9, *, #.
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure a VoIP access code profile: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile voip-accesscode access
Related Commands None
15.1.27 onu profile voip-appsrv Syntax onu profile voip-appsrv name1 [{[calling-num name2 ] [calling-name name3 ] [cid-blocking nam e4 ] [cid-num-permanent-status name5 ] [cid-name-permanent-status name6 ] [anonymous-cid -blocking name7 ] [call-waiting name8 ] [cid-announcement name9 ] [3way name10 ] [call-transf er name11 ] [call-hold name12 ] [call-park name13 ] [no-disturb name14 ] [emergency-call-flash name15 ] [emergency-originate-hold name16 ] [6way name17 ] [message-waiting-splash-ring name18 ] [message-waiting-dial-tone name19 ] [message-waiting-visual name20 ] [call-forward ing-ind name21 ] [direct-connect-feature name22 ] [dialtone-delay name23 ] [direct-connect-uri name24 [validate {disable |basic username name25 password name26 |md5 username name27 password name28 realm name29 } ] ] [bridge-line-agent-uri name30 [validate {disable |basic us ername name31 password name32 |md5 username name33 password name34 realm name35 } ] ] [conference-factory-uri name36 [validate {disable |basic username name37 password name38 |md5 username name39 password name40 realm name41 } ] ] } ] no onu profile voip-appsrv name1
Function This command configures a VoIP service profile.
15-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
name2
Enables or disables the calling number.
-
name3
Enables or disables the calling name.
-
name4
Enables or disables CID blocking.
-
name5
Enables or disables permanently reserving
-
CID number. name6
Enables or disables permanently reserving
-
CID name. name7
Enables or disables anonymous CID
-
blocking. name8
Enables or disables call waiting.
-
name9
Enables or disables caller ID display.
-
name10
Enables or disables three-party conference.
-
name11
Enables or disables call transfer.
-
name12
Enables or disables call hold.
-
name13
Enables or disables call park.
-
name14
Enables or disables no disturb.
-
name15
Enables or disables temporary emergent
-
service. name16
Enables or disables reserving original
-
emergent service. name17
Enables or disables six-party conference.
-
name18
Enables or disables message waiting
-
splashing ring. name19
Enables or disables message waiting
-
special dial tone. name20
Enables or disables visual message waiting.
-
name21
Enables or disables forwarding call
-
indication. name22
Enables or disables direct connection.
-
name23
Enables or disables dialing tone delay.
-
name24
Direct connection URI.
1–128 characters
disable
Authentication is not required.
-
15-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name25
Basic authentication user name.
1–25 characters
name26
Basic authentication password.
1–25 characters
name27
MD5 authentication user name.
1–25 characters
name28
MD5 authentication password.
1–25 characters
name29
MD5 authentication domain name.
1–25 characters
name30
Bridge connection URI.
1–128 characters
name31
Basic authentication user name.
1–25 characters
name32
Basic authentication password.
1–25 characters
name33
MD5 authentication user name.
1–25 characters
name34
MD5 authentication password.
1–25 characters
name35
MD5 authentication domain name.
1–25 characters
name36
Institute URI.
1–128 characters
name37
Basic authentication user name.
1–25 characters
name38
Basic authentication password.
1–25 characters
name39
MD5 authentication user name.
1–25 characters
name40
MD5 authentication password.
1–25 characters
name41
MD5 authentication domain name.
1–25 characters
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure a VoIP service profile: ZXAN(config)#gpon ZXAN(config-gpon)#onu profile voip-appsrv app
Related Commands None
15-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.1.28 onu profile voip-media Syntax onu profile voip-media name1 [{encoding {name2 [codec name3 ] [pkt-period number1 ] [sile nce-suppress name4 ] |fax-mode name5 |oob-dtmf name6 } |service [announce-type name7 ] [echo-cancel name8 ] [country-code number2 ] [signal-prio {no-change |number3 } ] [media-pr io {no-change |number4 } ] [jitter {fix target number5 [max number6 ] |adaptive min number7 max number8 } ] |rtp [min-port number9 ] [max-port number10 ] [dscp-mark number11 ] [event [piggyback name9 ] [tone name10 ] [dtmf name11 ] [cas name12 ] ] } ] no onu profile voip-media name1
Function This command configures a VoIP media parameter profile.
Parameters Parameter
Description
Value
name1
Profile name.
1–64 characters
encoding
Encoding parameter.
-
name2
Primary, secondary, third, or forth selection.
-
name3
Coding mode.
-
number1
Silence suppression, unit: ms.
10–30
name4
Enables or disables silence suppression.
-
name5
Fax mode, transparent or T.38.
-
name6
Enables or disables out-of-band DTMF
-
transmission. service
Service parameter.
-
name7
Prompt tone selection when there is no call on
-
hook-off. name8
Enables or disables echo cancellation.
-
number2
Country code.
0–65535
no-change
Does not change the signaling 802.1p priority
-
mark. number3
Changes the signaling 802.1p priority mark to a
0–7
specified one forcibly. number4
Changes the media 802.1p priority mark to a
0–7
specified one forcibly.
15-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
fix
Jitter buffer parameter configuration.
-
fix indicates to use the fixed value and the jitter is kept within a preset target. number5
Jitter keeping time, unit: ms.
0–65535
number6
Maximum jitter keeping time, unit: ms.
0–65535
adaptive
Jitter buffer parameter configuration.
-
adaptive indicates auto adaptation. number7
Jitter lower limit, unit: ms, default: 20.
0–200
number8
Jitter upper limit, unit: ms.
0–65535
rtp
RTP parameter configuration.
-
number9
Minimum RTP port number.
0–65535
number10
Maximum RTP port number.
0–65535
number11
RTP DSCP mark.
0–63
name9
Enables or disables the message carrying event.
-
name10
Enables or disables the signaling tone event.
-
name11
Enables or disables the DTMF event.
-
Enables or disables the channel associated
-
name12
signaling event.
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure a VoIP media parameter profile: ZXAN(config-gpon)#onu profile voip-media test encoding 1st codec cn pkt-period 20 silence-suppress on ZXAN(config-gpon)#onu profile voip-media test encoding 2nd codec cn pkt-period 20 silence-suppress on ZXAN(config-gpon)#onu profile voip-media test encoding 3rd codec mpa pkt-period 20 silence-suppress off ZXAN(config-gpon)#onu profile voip-media test encoding 4th codec dvi4-rate22khz pkt-period 30 silence-suppress off ZXAN(config-gpon)#onu profile voip-media test encoding fax-mode t38 ZXAN(config-gpon)#onu profile voip-media test encoding oob-dtmf enable ZXAN(config-gpon)#onu profile voip-media test service announce-type
15-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference fast-busy jitter adaptive min 100 max 200 ZXAN(config-gpon)#onu profile voip-media test rtp min-port 50050 max-port 50060 event piggyback enable cas enable
Related Commands None
15.1.29 profile tcont Syntax profile tcont name1 type {1 fixed number1 |2 assured number2 |3 assured number3 maximum number4 |4 maximum number5 |5 fixed number6 assured number7 maximum number8 } no profile tcont name1
Function This command creates a GPON bandwidth property profile.
Parameters Parameter
Description
Value
name1
T-CONT profile name
1–64 characters
1
Profile type 1
-
number1
Fixed bandwidth, unit: Kbps
64–2488320
2
Profile type 2
-
number2
Assured bandwidth, unit: Kbps
64–2488320
3
Profile type 3
-
number3
Assured bandwidth, unit: Kbps
64–2488320
number4
Maximum bandwidth, unit: Kbps
64–2488320
4
Profile type 4
-
number5
Maximum bandwidth, unit: Kbps
64–2488320
5
Profile type 5
-
number6
Fixed bandwidth, unit: Kbps
64–2488320
number7
Assured bandwidth, unit: Kbps
64–2488320
number8
Maximum bandwidth, unit: Kbps
64–2488320
Mode GPON global configuration mode
15-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a GPON bandwidth property profile: ZXAN(config)#gpon
ZXAN(config-gpon)#profile tcont T1-100M type 1 fix 100000
ZXAN(config-gpon)#profile tcont T2-100M type 2 assured 100000
ZXAN(config-gpon)#profile tcont T3-100M type 3 assured 10000 maximum 100000
ZXAN(config-gpon)#profile tcont T4-100M type 4 maximum 100000
ZXAN(config-gpon)#profile tcont T5-100M type 5 fix 10000 assured 100000 max 1000000 ZXAN(config-gpon)#
Related Commands None
15.1.30 profile traffic Syntax profile traffic name1 sir number1 pir number2 [cbs number3 pbs number4 ] no profile traffic name1
Function This command creates a GPON traffic profile.
Parameters Parameter
Description
Value
name1
Traffic profile name
1–64 characters
number1
Assured information rate, unit:
0–10000000
Kbps number2
Peak information rate, unit:
64–10000000
Kbps
15-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number3
Assured peak information rate,
0–1023
unit: Kbps number4
Maximum peak information rate,
0–1023
unit: Kbps
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a GPON traffic profile: ZXAN(config-gpon)#profile traffic traffic1 sir 10000 pir 20000
ZXAN(config-gpon)#
Related Commands None
15.1.31 show gpon mop mode Syntax show gpon mop mode
Function This command shows the GPON multicast model configuration information.
Parameters None
Mode All modes except user mode
Usage Guidelines None
15-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows the GPON multicast model configuration information: ZXAN#show gpon mop mode mode: ctc ZXAN#
Related Commands None
15.1.32 show gpon onu profile dial-plan Syntax show gpon onu profile dial-plan name1 [number1 ]
Function This command shows the detailed information about a network dialing plan.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
number1
Dialing plan item number
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the network dialing plans in the network dialing plan table test: ZXAN#show gpon onu profile dial-plan test dialPlanToken dialPlanEntryId -------------------------------zte 16777216 ZXAN#
Related Commands None 15-45 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.1.33 show gpon onu profile dial-plan-table Syntax show gpon onu profile dial-plan-table [name1 ]
Function This command shows the detailed information about a network dialing plan table.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the current network dialing plan table: ZXAN#show gpon onu profile dial-plan-table tablename tableMaxSize criticalTimeout partialTimeout format ----------------------------------------------------------------test 0 1310720 1310720 h248 ZXAN#
Related Commands None
15.1.34 show gpon onu profile dscp Syntax show gpon onu profile dscp [name1 ]
Function This command shows the detailed information about a DSCP profile.
15-46 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the current DSCP profile: ZXAN(config-gpon)#show gpon onu profile dscp
Profile name:
zte
Dscp2Pbit mapping:
1:1
ZXAN(config-gpon)#
Related Commands None
15.1.35 show gpon onu profile filter-rule Syntax show gpon onu profile filter-rule [name name1 ]
Function This command shows the detailed information about an expanded VLAN filtering rule profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None 15-47 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows the detailed information about the current expanded VLAN filtering rule profile: ZXAN#show gpon onu profile filter-rule RuleName: single-tag-vid100 TagNum: 1 EtherType: any InnerPrio: 8 InnerVid: 100 InnerTPID mode0 ZXAN#
Related Commands None
15.1.36 show gpon onu profile igmp Syntax show gpon onu profile igmp [name1 ]
Function This command shows the configuration information about the Optical Network Unit (ONU) multicast profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information about the ONU multicast profile: ZXAN(config-if)#show gpon onu profile igmp Profile-name: ACDE Version: v2
15-48 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands Work-mode: snooping Fast-leave: enable Robustness: 2 Proxy-ip: 0.0.0.0 Query-interval: 125 Query-max-resp: 100 Last-query-interval: 10 Non-match-group: discard Rate-limit: 16 Tag: transparent Iptv-package-dynamic1: acde Iptv-package-dynamic2: Iptv-package-dynamic3: Iptv-package-dynamic4: Iptv-package-dynamic5: Iptv-package-dynamic6: Iptv-package-dynamic7: Iptv-package-dynamic8: Iptv-package-static:
Related Commands None
15.1.37 show gpon onu profile ip Syntax show gpon onu profile ip [name1 ]
Function This command shows the detailed information about the IP profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
15-49 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows the detailed information about the IP profile: ZXAN#show gpon onu profile ip Profilename:
zte
Gateway:
10.63.10.254
Primary DNS:
0.0.0.0
Secondary DNS: 0.0.0.0
ZXAN#
Related Commands None
15.1.38 show gpon onu profile mgc Syntax show gpon onu profile mgc [name name1 ]
Function This command shows the detailed information about the Media Gateway Controller (MGC) profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode.
Usage Guidelines None
Examples The following example shows the detailed information about the MGC profile: ZXAN#show gpon onu profile mgc
Profile name:
fdsf
Server1: Validation scheme:
disable
Username:
N/A
15-50 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands Password:
N/A
Realm:
N/A
Server2: 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
Digit map long timer:
20000(ms)
Digit map short timer:
5000(ms)
Digit map start timer:
10000(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)
ZXAN#
Related Commands None
15.1.39 show gpon onu profile performance-threshold ces Syntax show gpon onu profile performance-threshold ces [name1 ]
15-51 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command shows the detailed information about the Circuit Emulation Service (CES) performance statistics threshold profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the CES performance statistics threshold profile: ZXAN#show gpon onu profile performance-threshold ces
Profile name
zte
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
0
Down severely errored seconds
0
Down unavailable seconds
0
ZXAN#
Related Commands None
15.1.40 show gpon onu profile performance-threshold dot1x Syntax show gpon onu profile performance-threshold dot1x [name1 ] 15-52 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command shows the detailed information about the 802.1x performance statistics threshold profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the 802.1x performance statistics threshold profile: ZXAN#show gpon onu profile performance-threshold dot1x
Threshold profile:
zte1
Rx Invalid EAPOL packets:
1000
Rx length errored EAP packets:
100
ZXAN#
Related Commands None
15.1.41 show gpon onu profile performance-threshold eth Syntax show gpon onu profile performance-threshold eth [name1 ]
Function This command shows the detailed information about the Ethernet User Network Interface (UNI) performance statistics threshold profile.
15-53 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the Ethernet UNI performance statistics threshold profile: ZXAN(config-gpon)#show gpon onu profile performance-threshold eth
Profile name
abc
Fcs error packets
0
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
0
Undersize packets
1000
Fragments
0
Jabbers
0
Related Commands None
15-54 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.1.42 show gpon onu profile performance-threshold gem Syntax show gpon onu profile performance-threshold gem [name1 ]
Function This command shows the detailed information about the GEM port performance statistics threshold profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the GEM port performance statistics threshold profile: ZXAN(config-gpon)#show gpon onu profile performance-threshold gem
Profile name
zte
Lost packets
100
Misinserted packets
200
Impaired blocks
300
ZXAN(config-gpon)#
Related Commands None
15.1.43 show gpon onu profile performance-threshold radius Syntax show gpon onu profile performance-threshold radius [name1 ]
15-55 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command shows the detailed information about the Remote Authentication Dial In User Service (RADIUS) performance statistics threshold profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the RADIUS performance statistics threshold profile: ZXAN(config-gpon)#show gpon onu profile performance-threshold radius
Threshold profile:
zte
ReTxAccessRequest:
100
RxInvalidRadius packets:
100
ZXAN(config-gpon)#
Related Commands None
15.1.44 show gpon onu profile performance-threshold switchport Syntax show gpon onu profile performance-threshold switchport [name1 ]
Function This command shows the detailed information about the layer 2 bridge port performance statistics threshold profile.
15-56 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the layer 2 bridge port performance statistics threshold profile: ZXAN(config-gpon)#show gpon onu profile performance-threshold switchport
Profile name: Delay exceeded discard:
zte 100
MTU exceeded discard:
200
Received and discarded:
100
ZXAN(config-gpon)#
Related Commands None
15.1.45 show gpon onu profile performance-threshold vlan-eth Syntax show gpon onu profile performance-threshold vlan-eth [name1 ]
Function This command shows the detailed information about the VLAN Ethernet port performance statistics threshold profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode 15-57 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the detailed information about the VLAN Ethernet port performance statistics threshold profile: ZXAN(config-gpon)#show gpon onu profile performance-threshold vlan-eth
Profile name: Discard for lack of buffer: Discard delay exceeded: Discard on error:
zte 100 100 100
Discard on ingress filtering:100
ZXAN(config-gpon)#
Related Commands None
15.1.46 show gpon onu profile schedule Syntax show gpon onu profile schedule [name1 ]
Function This command shows the detailed information about the ONU scheduling profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the ONU scheduling profile: ZXAN(config-gpon)#show gpon onu profile schedule
15-58 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands Profile name: default Schedule mode : default Profile name: schedule_test Schedule mode : sp + wrr queue map(prio->queue)#: 0->0 1->0 2->2->1 3->1 4->2 5->2 6->3 7->3 queue weight(queue->weight):0->10 1->5
Related Commands None
15.1.47 show gpon onu profile sip Syntax show gpon onu profile sip [name name1 ]
Function The following example shows the configuration information about the ONU Session Initiation Protocol (SIP) profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information about the ONU SIP profile: ZXAN(confg-gpon)#show gpon onu profile sip Profile name :test1 Proxy server:10.63.10.1 Outbound proxy:10.63.10.1 Registrar:10.63.10.1 Validation scheme:basic Username:aaa Password:bbb UDP port:5060 Host id:1
15-59 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference DNS1:0.0.0.0 DNS2:0.0.0.0 Registration expiration time:3600s Re-registration time:360s Softswitch vendor:CZTE Dial plan table name:plan1 Release timer:10s ROH timer:15s Link test:enable Link test interval:30s
Related Commands None
15.1.48 show gpon onu profile tdm Syntax show gpon onu profile tdm [name1 ]
Function This command shows the detailed information about the Time Division Multiplexing (TDM) property profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the current TDM property profile: ZXAN(config-gpon)#show gpon onu profile tdm Tdm profile name: pw1 Jitter buffer max depth: 300 Jitter buffer desire depth: 0 Fill policy: ont-default
15-60 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands 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: 255 R bit transmit set: 0 R bit transmit clear: 0 R bit receive policy: p0 L bit receive policy: p0 Ses threshold: 3 RTP information: ignore
Related Commands None
15.1.49 show gpon onu profile traffic Syntax show gpon onu profile traffic [name1 ]
Function This command shows the detailed information about the ONU traffic profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the ONU traffic profile: ZXAN(config-gpon)#show gpon onu profile traffic Profile name : traffic1 SIR: 10000
15-61 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference PIR: 20000 CBS: 0 PBS: 0 color mode: colour-blind Ingress colour marking:no-marking Egress colour marking: no-marking Meter type not-specified
Related Commands None
15.1.50 show gpon onu profile treat Syntax show gpon onu profile treat [name name1 ]
Function This command shows the detailed information about the expanded VLAN processing rule profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the current expanded VLAN processing rule profile: ZXAN#show gpon onu profile treat TreatName: add-outer-vid200 TagsToRemove: 0 OuterprioMapMode: insert OuterPrio: 0 OutervidMapMode: insert OuterVid: 200 OuterTPID: mode4
15-62 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands ZXAN#
Related Commands None
15.1.51 show gpon onu profile vlan Syntax show gpon onu profile vlan [name1 ]
Function This command shows the detailed information about the VLAN profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the VLAN profile: ZXAN#show gpon onu profile vlan
Profile name:
mgmt
Tag mode:
tag
CVLAN:
101
CVLAN priority:0
ZXAN#
Related Commands None
15-63 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.1.52 show gpon onu profile voip-accesscode Syntax show gpon onu profile voip-accesscode [name1 ]
Function This command shows the detailed information about the VoIP access code profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about the VoIP access code profile: ZXAN#show gpon onu profile voip-accesscode
Profile-name:
zte
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: ZXAN#
Related Commands None
15-64 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.1.53 show gpon onu profile voip-appsrv Syntax show gpon onu profile voip-appsrv [name1 ]
Function This command shows the detailed information about the VoIP application service profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode.
Usage Guidelines None
Examples The following example shows the detailed information about the VoIP application service profile: ZXAN#show gpon onu profile voip-appsrv
Profile-name:
zte
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:
disable
cid-announcement:
disable
3way:
disable
call-transfer:
disable
call-hold:
disable
call-park:
disable
no-disturb:
disable
emergency-call-flash:
disable
emergency-originate-hold:
disable
6way:
disable
message-waiting-splash-ring:
disable
15-65 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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: ZXAN#
Related Commands None
15.1.54 show gpon onu profile voip-media Syntax show gpon onu profile voip-media [name1 ]
Function This command shows the detailed information about the GPON VoIP media traffic profile.
Parameters Parameter
Description
Value
name1
Profile name
1–64 characters
Mode All modes except user mode
15-66 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows the detailed information about the GPON VoIP media traffic profile: ZXAN#show gpon onu profile voip-media profilename: 1, faxMode: passthru codecMode1st: pcmu, pktPeriod1st: 10,silenceSuppression1st: off codecMode2nd: pcmu, pktPeriod2nd: 10,silenceSuppression2nd: off codecMode3rd: pcmu, pktPeriod3rd: 10,silenceSuppression3rd: off codecMode4th: pcmu, pktPeriod4th: 10,silenceSuppression4th: off oobDTMF: enable, announceType: na jitterTarget: 0, jitterMaxBuf: 0 echoCancelInd:false, pstnVariant: 0 minPort: 50000, maxPort: 60000,dscpMark: 46 piggybackEvents: disable,toneEvents: disable dtmfEvents: disable,casEvents: disable ZXAN#
Related Commands None
15.1.55 show gpon profile Syntax show gpon profile name1 [name2 ]
Function This command shows the configuration information about the GPON profile.
Parameters Parameter
Description
Value
name1
T-CONT or traffic profile
-
name2
Profile name
1–64 characters
Mode All modes except user mode
15-67 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the configuration information about the GPON T-CONT profile: ZXAN#show gpon profile tcont Name :default Type FBW(kbps) ABW(kbps) MBW(kbps) 1 10000 0 0
The following example shows the configuration information about the GPON traffic profile: ZXAN#show gpon profile traffic Name :default SIR(kbps) PIR(kbps) 2488320 2488320
Related Commands None
15.1.56 show gpon slot config Syntax show gpon slot config number1
Function This command shows the configuration information about a specified GPON slot and the DHCP anti-spoofing auto shutdown state.
Parameters Parameter
Description
Value
number1
Slot number
1–9, 12–19
Mode All modes except user mode
Usage Guidelines None 15-68 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows the configuration information about a specified GPON slot and the DHCP anti-spoofing auto shutdown state: ZXAN#show gpon slot config 3 DHCP anti-spoofing autoshutdown-port status: disabled. ZXAN#
Related Commands None
15.2 GPON OLT Interface Configuration 15.2.1 auto-learning Syntax auto-learning {enable |disable }
Function This command configures the default Optical Network Unit (ONU) registration mode of the Optical Line Terminal (OLT) interface. By default, it is disabled.
Parameters Parameter
Description
Value
enable
Enables auto learning.
-
disable
Disables auto learning.
-
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to configure the default ONU registration mode to auto learning: ZXAN(config)#interface gpon-olt_1/3/1 ZXAN(config-if)#auto-learning enable ZXAN(config-if)#
15-69 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.2.2 auto-learning aging-time Syntax auto-learning aging-time number1
Function This command configures the aging time in auto learning mode.
Parameters Parameter
Description
Value
number1
Aging time, unit: seconds
2–3600
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to set the aging time in auto learning mode to 100 seconds: ZXAN(config)#interface gpon-olt_1/3/1 ZXAN(config-if)#auto-learning aging-time 100
Related Commands None
15.2.3 ber-interval Syntax ber-interval number1
Function This command configures the Bit Error Rate (BER) interval time of an OLT interface.
15-70 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
number1
Interval time, unit: ms
1–536870911
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to configure the BER interval time of an OLT interface to 1000 ms: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#ber-interval 1000
Related Commands None
15.2.4 clear Syntax clear
Function This command clears all the OLT interface data.
Parameters None
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to clear all the OLT interface data: ZXAN(config)#int gpon-olt_1/3/1
15-71 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-if)#clear
Related Commands None
15.2.5 dba period-mode Syntax dba period-mode {low-delay |default |low-overhead }
Function This command configures the Dynamic Bandwidth Allocation (DBA) period mode.
Parameters Parameter
Description
Value
low-delay
Low delay mode
-
default
Default mode
-
low-overhead
Low consumption mode
-
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to configure the DBA period mode to default: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#dba period-mode default
Related Commands None
15.2.6 discover-period Syntax discover-period new-onu number1 miss-onu number2
15-72 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command configures the period of discovering new registered ONUs or offline ONUs.
Parameters Parameter
Description
Value
number1
Period of discovering new registered ONUs, unit:
2–3600
seconds Period of discovering offline ONUs, unit: seconds
number2
0–300
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to configure the period of discovering new registered ONUs or offline ONUs: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#discover-period new-onu 10 miss-onu 10
Related Commands None
15.2.7 fec Syntax fec name1
Function This command configures the Forward Error Correction (FEC) function of a GPON OLT interface.
Parameters Parameter
Description
Value
name1
Configures the downstream FEC function or
-
does not configure the function.
15-73 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to enable the FEC function of OLT interface 1 in slot 3 of shelf 0: ZXAN(config)#interface gpon-olt_1/3/1 ZXAN(config-if)#fec downstream
Related Commands None
15.2.8 name Syntax name WORD1 no name
Function This command configures the alias of an OLT interface.
Parameters Parameter
Description
Value
WORD1
OLT interface alias
1–127 characters
Mode GPON global configuration mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the alias of an OLT interface: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#name zte
15-74 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.2.9 onu Syntax onu number1 type name1 {(sn name2 [vport-mode name3 ])|(pw name4 [sn name5 ][vport-mode name6 ])|(hpw name7 [sn name8 ][vport-mode name9 ])|(sn+pw name10 name11 [vport-mode name12 ])|(sn+hpw name13 name14 [vport-mode name15 ])|(loid name16 [sn name17 ][vportmode name18 ])|(loid+pw name19 name20 [sn name21 ][vport-mode name22 ])|(rid name23 [sn name24 ][vport-mode name25 ])|(sn+rid name26 name27 [vport-mode name28 ])|(loid+hpw na me29 name30 [sn name31 ][vport-mode name32 ])} no onu number2
Function This command registers a specified ONU to the current OLT interface.
Parameters Parameter
Description
Value
number1
ONU ID.
1–128
name1
ONU type, including ZTE-F641, ZTE-F622,
1–64 characters
ZTE-F625, ZTE-F621, ZTE-F601, ZTE-F640, and common type. name2
SN registration mode. The ONU SN consists of
-
Vendor-ID + special-sn. The vendor ID is four characters and the special SN is eight characters. name3
Virtual port mode, default: gemport.
onu, gemport, manual
name4
Password registration mode.
1–10 characters
name5
The ONU SN consists of Vendor-ID + special-sn.
-
The vendor ID is four characters and the special SN is eight characters. name6
Virtual port mode, default: gemport.
onu, gemport, manual
name7
Hexadecimal password.
1–20 characters
The ONU SN consists of Vendor-ID + special-sn.
-
name8
The vendor ID is four characters and the special SN is eight characters. name9
Virtual port mode, default: gemport.
onu, gemport, manual
15-75 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name10
The ONU SN consists of Vendor-ID + special-sn.
-
The vendor ID is four characters and the special SN is eight characters. name11
Password registration mode.
1–10 characters
name12
Virtual port mode, default: gemport.
onu, gemport, manual
The ONU SN consists of Vendor-ID + special-sn.
-
name13
The vendor ID is four characters and the special SN is eight characters. name14
Hexadecimal password.
1–20 characters
name15
Virtual port mode, default: gemport.
onu, gemport, manual
name16
LOID.
1–24 characters
name17
The ONU SN consists of Vendor-ID + special-sn.
-
The vendor ID is four characters and the special SN is eight characters. name18
Virtual port mode, default: gemport.
onu, gemport, manual
name19
LOID.
1–24 characters
name20
ONU password.
1–10 characters
name21
The ONU SN consists of Vendor-ID + special-sn.
-
The vendor ID is four characters and the special SN is eight characters. name22
Virtual port mode, default: gemport.
onu, gemport, manual
name23
RID.
1–36 characters
name24
The ONU SN consists of Vendor-ID + special-sn.
-
The vendor ID is four characters and the special SN is eight characters. name25 name26
Virtual port mode, default: gemport.
onu, gemport, manual
The ONU SN consists of Vendor-ID + special-sn.
-
The vendor ID is four characters and the special SN is eight characters. name27
RID.
1–36 characters
name28
Virtual port mode, default: gemport.
onu, gemport, manual
name29
LOID.
1–24 characters
name30
Hexadecimal password.
1–20 characters
name31
The ONU SN consists of Vendor-ID + special-sn.
-
The vendor ID is four characters and the special SN is eight characters.
15-76 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name32
Virtual port mode, default: gemport.
onu, gemport, manual
number2
ONU ID.
1–128
Mode GPON OLT interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to register the ONU to OLT interface gpon-olt_1/3/1: 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
15.2.10 onu-action Syntax onu-action name1
Function This command enables or disables the ONU on an OLT interface.
Parameters Parameter name1
Description
Value
Enables or disables the ONU on an OLT
-
interface.
Mode GPON OLT interface mode
Usage Guidelines None
15-77 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to disable the ONU on an OLT interface: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#onu-action deactive
Related Commands None
15.2.11 onu-sn Syntax onu-sn enable
Function This command enables all the ONUs that are forbidden to get online on an OLT interface.
Parameters Parameter
Description
Value
enable
enables all the ONUs that are forbidden to
-
get online on an OLT interface.
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to enable all the ONUs that are forbidden to get online on an OLT interface: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#onu-sn enable
Related Commands None
15-78 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.2.12 range-mode Syntax range-mode number1 number2
Function This command configures the distance measurement range of an OLT interface.
Parameters Parameter
Description
Value
number1
Distance measurement range of an OLT
0–600
interface, unit: 100 m number2
Maximum distance measurement range of
0–600
an OLT interface, unit: 100 m
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to configure the distance measurement range of gpon-olt_0/3/1 to 20–40 km: ZXAN(config)#interface gpon-olt_1/3/1 ZXAN(config-if)#range-mode 200 400 ZXAN(config-if)#
Related Commands None
15.2.13 resource-id-assign-mode Syntax resource-id-assign-mode {mode1 |mode2 }
Function This command configures the allocation mode of the Alloc-ID and Port ID. 15-79 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
mode1
Mode 1: The OLT automatically allocates the
-
Alloc-ID and Port ID. mode2
Mode 1: The OLT manually allocates the Alloc-ID
-
and Port ID.
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to configure the allocation mode of the Alloc-ID and Port ID to mode 1: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#resource-id-assign-mode mode1
Related Commands None
15.2.14 scb-port Syntax scb-port number1
Function This command configures the Single Copy Broadcast (SCB) port.
Parameters Parameter
Description
Value
number1
Port number
129–4096
Mode GPON OLT interface mode
Usage Guidelines None 15-80 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to configure the SCB port to 130: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#scb-port 130
Related Commands None
15.2.15 show gpon fec Syntax show gpon fec [interface1 ]
Function This command shows the FEC configuration information on a GPON OLT interface.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format: gpon-
-
olt_shelf/slot/oltId
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the FEC configuration information on a GPON OLT interface: ZXAN#show gpon fec gpon-olt_1/3/1 Interface
mode
-------------------------------gpon-olt_1/3/1
none
Related Commands None
15-81 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.2.16 show gpon olt config Syntax show gpon olt config interface1
Function This command shows the GPON OLT interface configuration information.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format:
-
gpon-olt_shelf/slot/oltId
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the GPON OLT interface configuration information: ZXAN#show gpon olt config gpon-olt_01/3/1 gpon-olt_1/3/1
Name:OLT-1
MaxSupportOnts :128
MaxSupportTconts
:0
RealLegalOnts
RealIllegalOnts
:0
Missing onu
:5
:0
Discovering onu:10 Range mode(100m): 0 - 200 Uncfg onu aging time(s): 300 Auto learn:disable SCB port:4095 FEC:downstream Resource ID assign mode:mode1
Related Commands None
15.2.17 show gpon olt range-mode Syntax show gpon olt range-mode interface1 15-82 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command shows the distance measurement configuration on an OLT interface.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format:
-
gpon-olt_shelf/slot/oltId
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the distance measurement configuration on an OLT interface: ZXAN#show gpon olt range-mode gpon-olt_1/3/1 OltInterface
Base-distance(100m)
Maximum-distance(100m)
--------------------------------------------------------------------gpon-olt_1/3/1
0
200
Related Commands None
15.2.18 uncfg-onu-aging-time Syntax uncfg-onu-aging-time number1
Function This command configures the ONU auto learning aging time that is not configured on an OLT interface.
Parameters Parameter
Description
Value
number1
Aging time, unit: seconds
2–3600
15-83 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode GPON OLT interface mode
Usage Guidelines None
Examples The following example shows how to configure the ONU auto learning aging time that is not configured on an OLT interface to 200 seconds: ZXAN(config)#int gpon-olt_1/3/1 ZXAN(config-if)#uncfg-onu-aging-time 200
Related Commands None
15.3 GPON ONU Interface Configuration 15.3.1 action Syntax action name1
Function This command enables or disables an Optical Network Unit (ONU).
Parameters Parameter
Description
Value
name1
Enables or disables an ONU.
-
Mode GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to enable an ONU: ZXAN(config)#int gpon-onu_1/3/1:1
15-84 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands ZXAN(config-if)#action active
Related Commands None
15.3.2 authpass-control Syntax authpass-control number1
Function This command configures whether to send a notification to the Network Management System (NMS) when the ONU gets online.
Parameters Parameter
Description
Value
number1
Notification ID.
0–10
0 indicates not to send a notification to the NMS.
Mode GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to configure not to send a notification to the NMS when the ONU gets online: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#authpass-control 0
Related Commands None
15.3.3 dba Syntax dba mode name1 15-85 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the GPON ONU Dynamic Bandwidth Allocation (DBA) mode.
Parameters Parameter
Description
Value
name1
DBA mode
SR, NSR, Hybrid
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to set the DBA mode of ONU 1 under the OLT interface 1 in slot 3 of shelf 0 to hybrid: XAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#dba mode hybrid
Related Commands None
15.3.4 description Syntax description WORD1 no description
Function This command configures the ONU interface description information.
Parameters Parameter
Description
Value
WORD1
ONU description
1–127 characters
Mode GPON ONU interface mode 15-86 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the description information about the ONU interface gpon-onu_0/3/1:1 to onu1: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)#description onu1
Related Commands
15.3.5 disable Syntax disable
Function This command disables the ONU.
Parameters None
Mode GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to disable the ONU: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#disable
Related Commands 15.3.6 enable
15-87 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.3.6 enable Syntax enable
Function This command enables the ONU.
Parameters None
Mode GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to enable the ONU: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#enable
Related Commands 15.3.5 disable
15.3.7 encrypt Syntax encrypt number1 name1
Function This command enables or disables GPON Encapsulation Method (GEM) port encryption by the ONU.
Parameters Parameter
Description
Value
number1
GEM port ID.
1–255
name1
Enables or disables encryption.
-
15-88 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to enable encryption for GEM port 1: ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#encrypt 1 enable
ZXAN(config-if)#
Related Commands None
15.3.8 fec Syntax fec {none |upstream }
Function This command configures GPON ONU Forward Error Correction (FEC).
Parameters Parameter
Description
Value
none
Disables FEC.
-
upstream
Enables upstream FEC.
-
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to enable FEC for ONU 1 under OLT interface 1 in slot 3 of shelf 0: 15-89 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#fec upstream
Related Commands None
15.3.9 gemport Syntax gemport number1 {{[down-queue-map-id number2 ] [up-queue-map-id number3 ] } |state nam e1 |traffic-limit {[upstream name2 ] [downstream name3 ] } |[name name4 ] [portid number4 ] unicast tcont number5 [{[dir name5 ] [queue number6 ] } ] } no gemport number1
Function This command configures the GEM port properties.
Parameters Parameter
Description
Value
number1
GEM port ID.
1–255
number2
Queue ID mapped by downstream data.
0–7
The downstream data on a GEM port can be mapped to queues of different priorities according to different p-bits. number3
Queue ID mapped by upstream data.
0–3
The upstream data on a GEM port can be mapped to queues of different priorities according to different p-bits. name1
GEM port state, enabled or disabled.
-
traffic-limit
GEM port rate limiting.
-
name2
Upstream rate limiting profile name
1–64 characters
name3
Downstream rate limiting profile name
1–64 characters
name4
GEM port name
1–63 characters
number4
Real port ID
129–4095
unicast
Unicast GEM port
-
number5
T-CONT index
1–255
15-90 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name5
GEM port direction
up, down, both
number6
Priority queue ID
1–8
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines To cancel the setting, use the no form of this command. You need to create the GPON bandwidth property profile and T-CONT first. To configure GEM port rate limiting, you need to configure the rate limiting profile in config mode. Using the default profile indicates not to use rate limiting.
Examples The following example shows how to configure the GEM port properties: ZXAN(config)#inter gpon-onu_1/3/1:1 ZXAN(config-if)#gemport 1 name 1 unicast tcont 1 queue 3 ZXAN(config-if)#gemport 1 traffic-limit upstream default downstream default
Related Commands None
15.3.10 link-test Syntax link-test test-times number1
Function This command tests the line status between the OLT and ONU.
Parameters Parameter
Description
Value
number1
Number of sent GEM port frames
1–100
Mode GPON ONU interface mode
Usage Guidelines None 15-91 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to test the line status between the OLT and ONU: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#link-test test-times 10 Sending 10 GEM frames to gpon-onu_1/3/1:1. .......... Success rate is 0 percent (0/10)
ZXAN(config-if)#
Related Commands None
15.3.11 name Syntax name WORD1 no name
Function This command configures the ONU alias.
Parameters Parameter
Description
Value
WORD1
ONU alias
1–127 characters
Mode GPON ONU interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the ONU alias: ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#name zte
15-92 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.3.12 omcc-encrypt Syntax omcc-encrypt name1
Function This command enables or disables the ONU Management and Control Channel (OMCC) function.
Parameters Parameter
Description
Value
name1
Enables or disables the OMCC function.
-
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to enable the OMCC function: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#omcc-encrypt enable
Related Commands None
15.3.13 omci-bandwidth Syntax omci-bandwidth name1 no omci-bandwidth
Function This command configures the ONU ONT Management Control Interface (OMCI) bandwidth. 15-93 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Bandwidth profile name
1–63 characters
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines To cancel the setting, use the no form of this command. Before configuring the ONU OMCI bandwidth, use the ZXAN(config-gpon)#profile tcont command to configure a T-CONT profile.
Examples The following example shows how to configure the ONU OMCI bandwidth: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#omci-bandwidth tcont1
Related Commands 15.1.29 profile tcont
15.3.14 performance vport Syntax performance vport number1 name1
Function This command enables or disables VPORT performance statistics on the ONU interface.
Parameters Parameter
Description
Value
number1
Virtual port ID
1–256
name1
Enables or disables statistics, default:
-
disabled.
Mode GPON line configuration mode, GPON ONU interface mode
15-94 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows how to enable VPORT performance statistics on the ONU interface: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#performance vport 1 start
Related Commands None
15.3.15 registration-method Syntax registration-method {sn name1 {[pw name2 ] |[hpw name3 ] } |pw name4 |hpw name5 |loid name6 {[pw name7 ] |[hpw name8 ] } }
Function This command configures the ONU registration mode.
Parameters Parameter
Description
Value
name1
SN registration mode: vendor ID + serial
1–12 characters
number name2
Password registration mode
1–10 characters
name3
Hexadecimal password registration mode
1–20 characters
name4
Password registration mode
1–10 characters
name5
Hexadecimal password registration mode
1–20 characters
name6
Logical ID registration mode
1–24 characters
name7
Password registration mode
1–10 characters
name8
Hexadecimal password registration mode
1–20 characters
Mode GPON ONU interface mode
Usage Guidelines None 15-95 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the ONU registration mode to sn: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#registration-method sn ZTEG12345678
Related Commands None
15.3.16 rogue-onu-state Syntax rogue-onu-state name1 [duration {forever |number1 } ]
Function This command configures the rogue ONU state.
Parameters Parameter
Description
Value
name1
Rogue ONU state.
on, off, shutdown
forever
Configures permanent state.
-
number1
Configures state maintaining duration,
1–255
unit: minutes
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to configure the rogue ONU state to shutdown: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#rogue-onu-state shutdown
Related Commands None
15-96 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.3.17 show gpon onu allocid Syntax show gpon onu allocid interface1 number1 number2
Function This command shows the Alloc-ID of a specified ONU T-CONT.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format: gpon-
-
olt_shelf/slot/oltId number1
ONU ID
1–128
number2
T-CONT ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the Alloc-ID of a specified ONU T-CONT: ZXAN#show gpon onu allocid gpon-olt_1/3/1 1 1 allocId: 256
Related Commands None
15.3.18 show gpon onu baseinfo Syntax show gpon onu baseinfo interface1 [number1 ]
Function This command shows the basic configuration information about a GPON ONU.
15-97 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format:
-
gpon-olt_shelf/slot/oltId ONU ID
number1
1–128
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the basic configuration information about the ONU on OLT interface 1 in slot 3 of shelf 0: ZXAN#show gpon onu baseinfo gpon-olt_1/3/1 OnuIndex
Type
Mode
SN/PW
State
--------------------------------------------------------------------gpon-onu_1/3/1:1
ZTE-F621
SN
0x0000000001
ready
ZXAN#
Related Commands None
15.3.19 show gpon onu by Syntax show gpon onu by {sn-pw name1 name2 |sn name3 |pw name4 |loid name5 }
Function This command shows the information about an ONU that is registered in specified mode.
Parameters Parameter
Description
Value
name1
ONU serial number, consisting of the vendor ID
-
and special SN. Vendor ID: four characters, special SN: eight characters. name2
ONU password
1–10 characters
15-98 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name3
ONU serial number, consisting of the vendor ID
-
and special SN. Vendor ID: four characters, special SN: eight characters. name4
ONU password
1–10 characters
name5
ONU LOID
1–24 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the information about an ONU that is registered in specified mode: ZXAN#show gpon onu by sn ZTEGC1000150 SearchResult ----------------gpon-onu_1/3/1:1 gpon-onu_1/3/3:1 gpon-onu_1/5/1:1 gpon-onu_1/6/1:2 ZXAN#
Related Commands None
15.3.20 show gpon onu detail-info Syntax show gpon onu detail-info interface1
Function This command shows the detailed information about a specified ONU.
15-99 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/oltId:onuId
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the detailed information about a specified ONU: ZXAN#show gpon onu detail-info gpon-onu_1/3/1:1 ONU interface:
gpon-onu_1/3/1:1
Name:
ONU-1:1
Type:
ZTE-F620
State:
ready
Admin state:
enable
Phase state:
OffLine
Authentication mode: sn SN Bind:
enable with SN check
Serial number:
ZTEGC1000150
Password: Device ID: Description:
ONU-1:1
Vport mode:
manual
DBA Mode:
Hybrid
ONU Status:
enable
OMCI BW Profile:
enable
Line Profile:
N/A
Service Profile:
N/A
Alarm Profile:
N/A
Performance Profile: N/A ONU Distance:
N/A
Online Duration:
0h 0m 0s
FEC:
none
-----------------------------------------Authpass Time
OfflineTime
1
0000-00-00 00:00:00
0000-00-00 00:00:00
2
0000-00-00 00:00:00
0000-00-00 00:00:00
3
0000-00-00 00:00:00
0000-00-00 00:00:00
Cause
15-100 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands 4
0000-00-00 00:00:00
0000-00-00 00:00:00
5
0000-00-00 00:00:00
0000-00-00 00:00:00
6
0000-00-00 00:00:00
0000-00-00 00:00:00
7
0000-00-00 00:00:00
0000-00-00 00:00:00
8
0000-00-00 00:00:00
0000-00-00 00:00:00
9
0000-00-00 00:00:00
0000-00-00 00:00:00
10
0000-00-00 00:00:00
0000-00-00 00:00:00
ZXAN#
Related Commands None
15.3.21 show gpon onu distance Syntax show gpon onu distance interface1
Function This command shows the ONU distance.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/oltId:onuId
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU distance: ZXAN#show gpon onu distance gpon-onu_1/3/1:1 Eqd (bit)
Distance(m)
....................................... 265644
8
ZXAN#
15-101 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.3.22 show gpon onu gemport Syntax show gpon onu gemport interface1 [number1 [number2 ] ]
Function This command shows the configuration information about a GPON GEM port.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format:
-
gpon-olt_shelf/slot/oltId number1
ONU ID
1–128
number2
GEM port ID
1–255
Mode All modes except user mode
Usage Guidelines One T-CONT can be configured with only four 4 GEM ports. The GEM port ID ranges from 1 to 255. If one ONU supports only four GEM ports, the GEM port ID ranges from 1 to 4.
Examples The following example shows the configuration information about a GPON GEM port: ZXAN#show gpon onu gemport gpon-olt_1/3/1 1 OLT: gpon-olt_1/3/1. ONU: 1. GemPort: 1. Name: gemport1. TCONT: 1. PortId:129. Gemport direction: both. Encrypt state: enable. Default Queue: 0. DownTraffic profile name: default. Upstreamraffic profile name: default. State: active. Down queue map ID: 0. Up queue map ID:
0.
15-102 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.3.23 show gpon onu next-available Syntax show gpon onu next-available name1 interface1
Function This command shows the next GEM port ID that can be obtained by the ONU.
Parameters Parameter
Description
Value
name1
Query type: GEMport
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/oltId:onuId
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the next GEM port ID that can be obtained by the ONU: ZXAN#show gpon onu next-available gemport gpon-onu_1/3/1:1 4. ZXAN#
Related Commands None
15.3.24 show gpon onu portid Syntax show gpon onu portid interface1 number1 [number2 ]
Function This command shows the ONU GEM port data. 15-103 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format:
-
gpon-olt_shelf/slot/oltId number1
ONU ID
1–128
number2
GEM port ID
1–256
Mode All modes except user mode
Usage Guidelines None
Examples ZXAN#show gpon onu portid gpon-olt_1/3/1 1 1 Port Index
RealPort
--------------------------------------------------1
129
Related Commands None
15.3.25 show gpon onu state Syntax show gpon onu state [interface1 {[number1 ] |[name1 ] } ]
Function This command shows the GPON ONU state.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format:
-
gpon-olt_shelf/slot/oltId number1
ONU ID
1–128
name1
ONU state
-
Mode All modes except user mode 15-104 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows the state of the ONU on OLT interface 1 in slot 3 of shelf 1: ZXAN#show gpon onu state gpon-olt_1/3/1 OnuIndex
Admin State
Omcc State
O7 State
Phase State
--------------------------------------------------------------------------gpon-onu_1/3/1:1
enable
disable
unknown
OffLine
ZXAN#
Related Commands None
15.3.26 show gpon onu tcont Syntax show gpon onu tcont interface1 [number1 [number2 ] ]
Function This command shows the configuration information about the GPON T-CONT.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format:
-
gpon-olt_shelf/slot/oltId number1
ONU ID
1–128
number2
T-CONT ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information about the GPON T-CONT on OLT interface 1 in slot 3 of shelf 1: ZXAN#show gpon onu tcont gpon-olt_1/3/1 1
15-105 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Name: tcontForOMCI, OLT: gpon-olt_1/3/1, ONU: 1, TCONT: 255 AllocId: 0 Using following bandwidth profile: Profile Name: ZXAN#
Related Commands None
15.3.27 show gpon onu uncfg Syntax show gpon onu uncfg [interface1 [number1 ] ]
Function This command shows the unauthorized ONU information.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format: gpon-
-
olt_shelf/slot/oltId ONU ID
number1
1–128
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the information about the unauthorized ONUs on OLT interface 1 in slot 3 of shelf 1: ZXAN#show gpon onu uncfg gpon-olt_1/3/1 OnuIndex
Sn
State
----------------------------------------------------------gpon-onu_1/3/1:1
ZTEG70002876
unknown
ZXAN(config-if)#
15-106 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.3.28 show gpon onu vport Syntax show gpon onu vport interface1 [number1 [number2 ] ]
Function This command shows the GPON ONU VPORT information.
Parameters Parameter
Description
Value
interface1
GPON OLT interface, format: gpon-
-
olt_shelf/slot/oltId number1
ONU ID
1–128
number2
vport ID
1–256
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU VPORT information on OLT interface 1 in slot 3 of shelf 1: ZXAN#show gpon onu vport gpon-olt_1/3/1 1 ONU ifName: gpon-onu_1/3/1:1 Vport:
1
Map type:
1:1
ZXAN#
Related Commands None
15-107 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.3.29 shutdown Syntax shutdown no shutdown
Function This command shows how to enable or disable an interface. By default, it is enabled.
Parameters None
Mode GPON ONU interface mode
Usage Guidelines When an interface is disabled, the physical connection of the interface is not affected.
Examples The following example shows how to enable interface gpon-onu_1/3/1:1: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)#no shutdown
Related Commands None
15.3.30 sn-bind Syntax sn-bind {enable [{sn |both } ] |disable |update-sn }
Function This command enables or disables ONU SN binding.
15-108 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
enable
Enables SN binding, which is effective only in PW
-
registration mode. It indicates that the password is bound with the SN of the ONU that is discovered for the first time. sn
SN binding.
-
both
Both binding.
-
disable
Disables SN binding.
-
update-sn
Cancels the binding relation between the ONU and
-
the SN and can rebind the ONU. This parameter is effective only when the ONU is in PW mode and SN binding is enabled.
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to enable ONU SN binding: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)#sn-bind enable
Related Commands None
15.3.31 state Syntax state name1
Function This command modifies the state of a specified ONU.
15-109 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Enables or disables OMCC.
-
Mode GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to set the ONU state to ready: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)#state ready ZXAN(config-if)#
Related Commands None
15.3.32 tcont Syntax tcont number1 [name name1 ] [allocid number2 ] {gap name2 |profile name3 } no tcont number1
Function This command configures T-CONT properties.
Parameters Parameter
Description
Value
number1
T-CONT ID
1–255
name1
T-CONT name
1–64 characters
number2
Alloc-ID
256–4095
name2
DBA mode
-
name3
Name of the bandwidth profile used by
1–63 characters
the T-CONT, which can be shown by the show gpon profile command 15-110 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to configure T-CONT properties: ZXAN(config)#int gpon-onu_1/3/1:1 ZXAN(config-if)#tcont 1 profile default
Related Commands None
15.3.33 type Syntax type name1 no type
Function This command configures the type name of a specified ONU.
Parameters Parameter
Description
Value
name1
ONU type name
1–64 characters
Mode GPON ONU interface mode
Usage Guidelines The following ONU types are supported: l l l l l l l
ZTE-F641: 4FE interfaces ZTE-F622: 4FE + 2POTS interfaces ZTE-F625: 4FE + 2POTS + 1VIDEO interfaces ZTE-F621: 1GE + 1FE + 4CES interfaces ZTE-F601: 1GE + 1FE interfaces ZTE-F640: 1GE + 2POTS + 1VIDEO interfaces universalOnuType 15-111
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
universalOnuType is used to interwork with an ONU of an unknown type. Because the UNI type is unknown, the UNI user port information cannot be queried. Generally, the ONU type is configured to the type that is known. The supported ONU type can be queried by the show onu-type command. The ONU type can be created by the onu-type command in PON interface mode. This command is applicable for the ONUs whose registration mode is auto learning. The type of a manually added ONU cannot be modified.
Examples The following example shows how to configure an ONU type name: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)#type ZTE-F640 ZXAN(config-if)#
Related Commands None
15.3.34 vport Syntax vport number1 [name name1 ] [map-type name2 ] no vport number1
Function This command creates an ONU VPORT.
Parameters Parameter
Description
Value
number1
Bridge port ID
1–256
name1
VPORT name
1–64 characters
name2
Mapping type
COS, VLAN, COS + VLAN, 1:1
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
15-112 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to create VPORT 1 with the mapping type of COS: 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
15.3.35 vport-map Syntax vport-map number1 number2 [{[vlan number3 ] [cos number4 ] } ] no vport-map number1 number2 [{[vlan number3 ] [cos number4 ] } ]
Function This command creates the mapping relation between a VPORT and a GEM port.
Parameters Parameter
Description
Value
number1
VPORT ID
1–256
number2
GEM port ID
1–255
number3
VLAN ID
1–4094
number4
COS priority
0–7
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to creates the mapping relation between VPORT 1 and GEM port 1: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)#vport-map 1 1 vlan 200 cos 1 ZXAN(config-if)#
15-113 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.3.36 vport-mode Syntax vport-mode {onu |gemport |manual } [def-map-type name1 ]
Function This command configures the ONU VPORT mode.
Parameters Parameter
Description
Value
onu
ONU mode
-
gemport
GEM port mode
-
manual
Manual mode
-
name1
Default mapping type
COS, VLAN, COS + VLAN, 1:1
Mode GPON line configuration mode, GPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to set the ONU VPORT mode to ONU mode: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)#vport-mode onu ZXAN(config-if)#
Related Commands None
15-114 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4 GPON ONU Remote Management 15.4.1 auto-shutdown Syntax auto-shutdown [hold-time number1 ] [revert-time number2 ]
Function This command configures the Optical Network Unit (ONU) auto shutdown function.
Parameters Parameter
Description
Value
number1
Duration that the loop-back port keeps
60–86400
disabled, unit: seconds number2
Duration that the non-loop-back port keeps
15–86400
enabled, unit: second
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the ONU auto shutdown function: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#auto-shutdown
Related Commands None
15.4.2 broadcast-limit Syntax broadcast-limit {cpu |ethuni name1 } number1 no broadcast-limit {cpu |ethuni name1 }
15-115 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures ONU multicast packet rate limiting.
Parameters Parameter
Description
Value
cpu
CPU
-
name1
Ethernet port, format: eth_slot/port
1–31 characters
number1
Packet rate, unit: pps, default: 100
1–4294967295
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the ONU multicast packet rate limiting: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#broadcast-limit ethuni eth_0/1 1000
Related Commands None
15.4.3 cfm ma Syntax cfm ma number1 number2 {[name {primary-vid |integer number3 |vpn-id name1 |name2 } ] [vlan name3 ] [mhf-creation name4 ] [senderid name5 ] [ccm {disable |interval name6 } ] } no cfm ma number1 number2
Function This command configures ONU Maintenance Association (MA) properties.
Parameters Parameter
Description
Value
number1
MD ID.
1–16
number2
MA ID correlated with the MD.
1–32
15-116 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
primary-vid
MA name format 1: primary VLAN ID.
-
number3
MA name format 2: 2-byte integer.
0–65535
name1
MA name format 3: VPN ID, ONI (3 characters)
-
+ hexadecimal index (aabbccdd). name2
MA name format 4: printable characters string.
1–45 characters
name3
VLAN table correlated with the MA, 1–64
-
characters, up to 12 VLAN IDs. name4
MHF creation policy.
none, default, explicit, defer
name5
Sender ID TLV filling policy.
none, defer
disable
Disables CCM sending.
-
name6
CCM sending interval
3.33 ms, 10 ms, 100 ms, 1 s, 10 s, 1 min, 10 min
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. Before configuring ONU MA properties, use the ZXAN(gpon-onu-mng)#cfm md command to create the MD properties first.
Examples The following example shows how to configure ONU MA properties: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#cfm ma 1 1 ccm interval 100ms
Related Commands None
15.4.4 cfm md Syntax cfm md number1 {[name {dns name1 |mac name2 |icc-based name3 |name4 } ] [level number2 ] [mhf-creation name5 ] [senderid name6 ] } no cfm md number1 15-117 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures ONU Maintenance Domain (MD) properties.
Parameters Parameter
Description
Value
number1
MD ID
1–16
name1
MD name format 1: DNS format, which is the
1–45 characters
global unique text character string obtained by the DNS name name2
MD name format 2: MAC address, format:
19 characters
aabb.ccdd.eeff:xxyy name3
MD name format 3: ITU carrier ID + locally
13 characters
allocated UMC ID name4
MD name format 4: printable characters string
1–45 characters
number2
MD level
0–7
name5
MHF creation policy.
none, default, explicit, defer
name6
Sender ID TLV filling policy: none
-
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure ONU MD properties: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#cfm md 1 level 2
Related Commands None
15.4.5 cfm mep Syntax cfm mep number1 number2 {ethuni name1 number3 |ais {disable |enable [period name2 ] [priori ty number4 ] [level number5 ] } |alarm {[threshold name3 ] [declare-soak-time number6 ] [clear15-118 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
soak-time number7 ] } |{[ccm name4 ] [server name5 ] [direction name6 ] [state name7 ] [priority number8 ] [rmep name8 ] [egress-id {default |name9 } ] [primary-vlan {from-ma |number9 } ] } } no cfm mep number1 number2
Function This command creates a Maintenance association End Point (MEP) that is correlated with an ONU Ethernet user port.
Parameters Parameter
Description
Value
number1
MD ID.
1–16
number2
MA ID.
1–32
name1
Ethernet port, format: eth_slot/port.
1–31 characters
number3
MEP ID.
1–8191
disable
Disables the AIS function.
-
enable
Enables the AIS function.
-
name2
Sending period.
-
number4
Priority.
0–7
number5
User MEP stable level.
0–7
alarm
Alarm.
-
name3
Alarm threshold mode.
-
number6
Alarm announcement preparation time,
250–1000
unit: 10 ms. number7
Alarm clearance preparation time, unit:
250–1000
10 ms. name4
Enables or disables the MEP to generate
-
continuous detection messages. name5
Enables or disables MEP on the Y.1731
-
server. name6
Direction.
upstream, downstream
name7
State.
lock, unlock
number8
Priority.
0–7
name8
MEP ID list.
1–64 characters
default
Default egress ID.
-
name9
Egress ID.
1–19 characters
15-119 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
from-ma
Primary VLAN obtained from the MA.
-
number9
Primary VLAN ID
1–4094
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. Because the MEP is correlated with a bridge port, a UNI bridge port must already exists. Before creating a MEP, use the ZXAN(gpon-onu-mng)#cfm ma and ZXAN(gpon-onu-mn g)#cfm md commands to create an MA and an MD first.
Examples The following example shows how to configure an MEP (MEP ID 111) that is correlated with bridge port eth_0/1: ZXAN(gpon-onu-mng)#cfm mep 1 1 ethuni eth_0/1 111
The following example shows how to modify the MEP parameters, setting the MEP to generate CCM, administrative state to unlock, and peer MEP ID to 222: ZXAN(gpon-onu-mng)#cfm mep 1 1 ccm enable state unlock rmep 222
Related Commands None
15.4.6 dhcp-ip Syntax dhcp-ip ethuni name1 {name2 }
Function This command configures Dynamic Host Configuration Protocol (DHCP) IP address obtaining control on an Ethernet user port.
15-120 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port
1–31 characters
name2
IP address obtaining mode:
-
l
no-ctrl (default): no control
l
from-onu: obtained from the ONU
l
from-internet: obtained from the Internet
l
forbidden
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines When the DHCP server is enabled for the ONU and the device under the Ethernet user port obtains the IP address in DHCP mode, the IP address is processed in accordance with the configured IP address obtaining control mode.
Examples The following example shows how to configure the Ethernet user port eth_0/1 to obtain an IP address from the ONU: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#dhcp-ip ethuni eth_0/1 from-onu
Related Commands None
15.4.7 dhcp-option60 Syntax dhcp-option60 {enable name1 |disable }
Function This command configures the ONU DHCP option 60 function.
Parameters Parameter
Description
Value
enable
Enables the DHCP option 60 function.
-
name1
Vendor ID.
1–128 characters
disable
Disables the DHCP option 60 function.
-
15-121 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to enable the DHCP option 60 function: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#dhcp-option60 enable 123456
Related Commands None
15.4.8 dot1p-map Syntax dot1p-map [flow number1 ] [{[unmark-option name1 ] [{dscp2prio name2 |ipp2prio name3 |tos 2prio name4 } ] [def-priority number2 ] } ]
Function This command configures the mapping properties of 802.1p service priorities.
Parameters Parameter
Description
Value
number1
Service flow ID.
1–255
name1
Processing mode of the Ethernet frames
-
without 802.1p priorities. l
defprio: default priority mode
l
dscp2prio: DSCP to 802.1p mapping mode
name2
64 DSCP priorities are mapped to eight
DSCP priority value
802.1p priorities.
range: 0–63
Format: 0-15:0, 16-31:1, 32-47:2, 48-63:3.
802.1p priority value
The unspecified priorities are mapped to
range: 0–7
priority 0.
15-122 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name3
Eight IP priorities are mapped to eight
IP priority value range:
802.1p priorities.
0–7
Format: 0-2:0, 3-4:1, 5-6:2, 7:3.
802.1p priority value
The unspecified priorities are mapped to
range: 0–7
priority 0. name4
16 TOS priorities are mapped to eight
TOS priority value
802.1p priorities.
range: 0–15
Format: 0-2:0, 3-5:1, 6-10:2, 11-15:3.
802.1p priority value
The unspecified priorities are mapped to
range: 0–7
priority 0. number2
Default priority.
0–7
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the mapping mode of 802.1p service priorities to default: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#dot1p-map flow 2 unmark-option defprio ZXAN(gpon-onu-mng)#
Related Commands None
15.4.9 dot1x Syntax dot1x [cid-prefix name1 ] [fallback name2 ] [auth-server1 name3 ] [shared-secret1 name4 ] [a uth-server2 name5 ] [shared-secret2 name6 ] [auth-server3 name7 ] [shared-secret3 name8 ] [proxy ip_addr1 ] no dot1x [{[cid-prefix ] [auth-server1 ] [shared-secret1 ] [auth-server2 ] [shared-secret2 ] [aut h-server3 ] [shared-secret3 ] [proxy ] } ]
Function This command configures ONU 802.1x properties. 15-123 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Circuit ID prefix
1–128 characters
name2
Fallback policy, indicating to allow or deny
allow, deny
802.1x session when there is no external authentication server name3
First RADIUS server address
1–128 characters
name4
Shared secret of the first RADIUS server
1–25 characters
name5
Second RADIUS server address
1–128 characters
name6
Shared secret of the second RADIUS server
1–25 characters
name7
Third RADIUS server address
1–128 characters
name8
Shared secret of the third RADIUS server
1–25 characters
ip_addr1
Proxy server IP address
-
cid-prefix
Circuit ID prefix
-
auth-server1
First RADIUS server address
-
shared-secret1
Shared secret of the first RADIUS server
-
auth-server2
Second RADIUS server address
-
shared-secret2
Shared secret of the second RADIUS server
-
auth-server3
Third RADIUS server address
-
shared-secret3
Shared secret of the third RADIUS server
-
proxy
Proxy server
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure ONU 802.1x properties: ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1 ZXAN(gpon-onu-mng)#dot1x fallback allow
Related Commands None
15-124 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.10 dot1x ethuni Syntax dot1x ethuni name1 {force name2 |[{[auth name3 ] [direction name4 ] [quiet-period number1 ] [timeout-period number2 ] [key-tx name5 ] } ] }
Function This command configures 802.1x properties of an ONU Ethernet User Network Interface (UNI).
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
name2
Port execution action.
reauth, unauth, auth
name3
Enables or disables authorization.
-
name4
Management control direction.
Upstream and downstream, downstream
number1
EAP request interval, unit: seconds
0–65535
number2
ONU waiting response time, unit: seconds,
0–65535
default: 30. name5
Enables or disables key sending.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the 802.1x properties of ONU Ethernet port eth_0/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#dot1x ethuni eth_0/1 auth enable key-tx enable
Related Commands None
15-125 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.11 equip-mgmt Syntax equip-mgmt {battery-backup name1 |state name2 |sec-mode name3 }
Function This command configures ONU properties.
Parameters Parameter
Description
Value
name1
Whether the ONU supports a secondary
true, false
battery. name2
ONU administrative status.
lock, unlock
name3
Encryption mode.
AES, null
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the ONU to support a secondary battery: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#equip-mgmt battery-backup true ZXAN(gpon-onu-mng)#
Related Commands None
15.4.12 ex-vlan Syntax ex-vlan {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 } [{[input-tpid hexadecimal1 ] [output-tpid hexadecimal2 ] [down-mode name3 ] [dscp2pbit name4 ] } ] no ex-vlan {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 }
Function This command configures ONU extended VLAN properties. 15-126 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
switchport
UNI bridge port
-
name1
Ethernet port, format: eth_slot/port
1–31 characters
number1
Service flow ID
1–255
number2
Virtual Ethernet interface ID
1–255
name2
WiFi port, format: wifi_slot/port
1–31 characters
hexadecimal1
TPID used for ingress filtering, hexadecimal
-
ABCD, such as 9100 hexadecimal2
TPID used for egress filtering, hexadecimal
-
ABCD, such as 9100 name3
Downstream processing mode
no-operation, inverse-upstream
name4
DSCP target name
1–64 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure ONU extended VLAN properties: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#ex-vlan ethuni eth_0/1 input-tpid 0x9100 ZXAN(gpon-onu-mng)#
Related Commands None
15.4.13 ex-vlan-table Syntax ex-vlan-table {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 } rule name3 treat name4 no ex-vlan-table {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 } rule name3 15-127 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the extended VLAN mapping items of an ONU.
Parameters Parameter
Description
Value
switchport
UNI bridge port
-
name1
Ethernet port, format: eth_slot/port
1–31 characters
number1
Service flow ID
1–255
number2
Virtual Ethernet interface ID
1–255
name2
WiFi port, format: wifi_slot/port
1–31 characters
name3
Matching rule profile name
1–64 characters
name4
Processing rule profile name
1–64 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. Before configuring the extended VLAN mapping items of an ONU, use the ZXAN(configgpon)#onu profile filter-rule and ZXAN(config-gpon)#onu profile trea commands to create the corresponding profiles.
Examples The following example shows how to configure the extended VLAN mapping items of an ONU: 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 15.1.7 onu profile filter-rule double-tag 15.1.8 onu profile filter-rule single-tag 15.1.9 onu profile filter-rule zero-tag 15.1.24 onu profile treat
15-128 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.14 firewall Syntax firewall {disable |enable [{[level name1 ] [anti-hack name2 ] } ] }
Function This command configures the firewall level and anti-hack function of an ONU.
Parameters Parameter
Description
Value
disable
Disables the firewall.
-
enable
Enables the firewall.
-
name1
Firewall level, including low, medium, and high.
-
name2
Enables or disables anti-hack.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to enable the firewall function for an ONU: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#firewall enable
Related Commands None
15.4.15 firewall ip-filter Syntax firewall ip-filter number1 [state name1 ] [mode name2 ] [protocol name3 ] [src-ip ip_addr1 [to ip_addr2 ] ] [src-port number2 [to number3 ] ] [dst-ip ip_addr3 [to ip_addr4 ] ] [dst-port number4 [to number5 ] ] [ingress {lan |iphost number6 |ethuni name4 } ] [egress {lan |iphost number7 |ethuni name5 } ] no firewall ip-filter number1 [{[src-ip ] [src-port ] [dst-ip ] [dst-port ] [ingress ] [egress ] } ]
15-129 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the firewall IP filtering parameters of an ONU.
Parameters Parameter
Description
Value
number1
Firewall IP address filtering ID.
1–255
name1
Enables or disables the filtering function.
-
name2
Filtering mode.
permit, discard
name3
Protocol type.
TCP, UDP, TCP-UDP, ICMP, all
ip_addr1
Starting address of the source IP address,
-
default: 0.0.0.0. ip_addr2
Ending address of the source IP address,
-
default: 0.0.0.0. number2
Starting ID of the source port, default: 0
1–65535
number3
Ending ID of the source port, default: 0.
1–65535
ip_addr3
Starting address of the destination IP address,
-
default: 0.0.0.0. ip_addr4
Ending address of the destination IP address,
-
default: 0.0.0.0. number4
Starting ID of the destination port, default: 0.
1–65535
number5
Ending ID of the destination port, default: 0.
1–65535
lan
Ingress type: LAN port.
-
number6
Ingress type: IP host.
1–255
name4
Ingress type: Ethernet UNI port, format:
1–31 characters
eth_slot/port. number7
Egress type: IP host.
1–255
name5
Egress type: Ethernet UNI port, format:
1–31 characters
eth_slot/port. src-ip
Source IP address.
-
src-port
Source port number.
-
dst-ip
Destination IP address.
-
dst-port
Destination port number.
-
ingress
Ingress.
-
egress
Egress.
-
15-130 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the firewall IP filtering parameters of an ONU: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#firewall ip-filter 1 egress ethuni eth_0/1
Related Commands None
15.4.16 firewall mac-filter Syntax firewall mac-filter number1 hexadecimal1 [name1 ] [protocol name2 ] no firewall mac-filter number1
Function This command configures the firewall MAC filtering parameters of an ONU.
Parameters Parameter
Description
Value
number1
Firewall MAC address filtering ID
1–255
hexadecimal1
MAC address, format: XXXX.XXXX.XXXX
-
name1
Filtering direction.
-
name2
Filtering protocol
IP, all
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. Before configuring the firewall MAC filtering parameters of an ONU, use the ZXAN(gpononu-mng)#firewall mac-filter-table command to configure the firewall MAC filtering table. 15-131 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the firewall MAC filtering parameters of an ONU: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#firewall mac-filter 1 1111.1111.1111 protocol all
Related Commands 15.4.17 firewall mac-filter-table
15.4.17 firewall mac-filter-table Syntax firewall mac-filter-table [{[state name1 ] [mode name2 ] } ] no firewall mac-filter-table
Function This command configures the firewall MAC filtering state and mode of an ONU.
Parameters Parameter
Description
Value
name1
Enables or disables ONU firewall MAC
-
filtering. name2
Filtering mode.
permit, discard
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the firewall MAC filtering state and mode of an ONU: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#firewall mac-filter-table mode permit
Related Commands None 15-132 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.18 firewall port-forward Syntax firewall port-forward number1 [state name1 ] [iphost number2 ] [protocol name2 ] [wan-ip ip_a ddr1 [to ip_addr2 ] ] [wan-port number3 [to number4 ] ] [{lan-mac hexadecimal1 |lan-ip ip_addr3 } ] [lan-port number5 [to number6 ] ] no firewall port-forward number7 [wan-ip ]
Function This command configures firewall port forward filtering parameters.
Parameters Parameter
Description
Value
number1
Firewall port forward filtering ID.
1–255
name1
Enables or disables firewall port forward
-
filtering. number2
IP host ID, default: 1.
name2
Filtering protocol.
1–255 TCP, UDP, TCP-UDP
ip_addr1
Starting IP address of the WAN, default:
-
0.0.0.0. ip_addr2
Ending IP address of the WAN, default:
-
0.0.0.0. number3
Starting port number of the WAN, default: 0.
1–65535
number4
Ending port number of the WAN, default: 0.
1–65535
hexadecimal1
LAN MAC address, format:
-
XXXX.XXXX.XXXX. ip_addr3
LAN IP address.
-
number5
Starting port number of the LAN.
1–65535
number6
Ending port number of the LAN.
1–65535
number7
Firewall port forward filtering ID.
1–255
wan-ip
WAN IP address.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. 15-133 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Before configuring firewall port forward filtering parameters, configure the LAN IP address or LAN MAC address.
Examples The following example shows how to configure firewall port forward filtering parameters: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#firewall port-forward 1 iphost 1 lan-mac 1111.1111.1111
Related Commands None
15.4.19 flow Syntax flow number1 {{[priority number2 ] [vid number3 ] } |[{switch name1 |ethuni name2 |ethflow number4 |iphost number5 |downMulticast name3 } ] } no flow number1 [priority number2 vid number3 ]
Function This command configures or adds the Tag Control Information (TCI) items corresponding to service flows.
Parameters Parameter
Description
Value
number1
Flow ID.
1–255
number2
802.1p priority of service flow.
0–7
number3
VLAN ID of service flow.
1–4094
name1
Layer 2 switching bridge port number, format:
1–31 characters
switch_slot/port. It indicates that the flow is the upstream service flow switched through layer 2. name2
Ethernet port, format: switch_slot/port. It indicates
1–31 characters
that the flow is the upstream service flow mapped from the UNI through 802.1p. number4
CES user port ID. It indicates that the flow is the
1–65535
upstream service flow mapped from the Ethernet flow through 802.1p.
15-134 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
number5
IP host ID. It indicates that the flow is the upstream
1–255
service flow mapped from the IP host through 802.1p. name3
Layer 2 switching bridge port number, format:
1–31 characters
switch_slot/port. The bridge and downstream multicast are correlated.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an upstream flow switched through layer 2 and with the VLAN ID of 100: 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
15.4.20 flow mode Syntax flow mode number1 tag-filter name1 untag-filter name2
Function This command configures the flow matching mode.
Parameters Parameter
Description
Value
number1
Flow ID
1–255
name1
Tagged frame filtering mode
transparent, discard, forward, prio-filter, vid-filter, prio-vid-filter, prio-match, vid-match, prio-vid-match
name2
Untagged frame filtering mode
transparent, discard
15-135 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines The default matching mode tagged frames is vid-match. The default matching mode untagged frames is discard.
Examples The following example shows how to set the matching mode of flow 1 as follows: l l l
Tagged frames are matched according to VIDs. Unmatched frames are discarded. Untagged frames are discarded.
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#flow mode 1 tag-filter vid-match untag-filter discard ZXAN(gpon-onu-mng)#
Related Commands None
15.4.21 gemport Syntax gemport number1 [{traffic-limit [downstream name1 ] [upstream name2 ] |{[flow number2 ] [do t1p-list name3 ] } |{[up-queue-map name4 ] [down-queue number3 [uni name5 ] ] } |loop name6 }] no gemport number1 [traffic-limit {downstream |upstream |all } ]
Function This command configures a GEM port connection that is correlated with the flow and 802.1p priority, configures ONU GEM port upstream priority queue mapping, downstream queues and UNI, and configures ONU GEM port rate limiting.
Parameters Parameter
Description
Value
number1
GEM port ID.
1–255
traffic-limit
Rate limiting management.
-
name1
Downstream rate limiting, correlated with the
-
ONU profile traffic profile. 15-136 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name2
Upstream rate limiting, correlated with the ONU
-
profile traffic profile. number2
Flow mapped to the GEM port.
1–255
name3
802.1p priority list mapped to GEM ports, in x,y,z
-
format or x-z format. name4
Upstream data on a GEM port, which can be
1–128 characters
mapped to queues with different upstream priorities according to different p-bits. Format: p1:q1[,p2-p3:q2...]. number3
Downstream priority queue ID.
0–7
All the downstream data under the GEM port is sent to the priority queue. name5
Ethernet port, format: eth_slot/port
1–31 characters
name6
Enables or disables loop-back.
-
downstream
Downstream rate limiting.
-
upstream
Upstream rate limiting.
-
all
Upstream and downstream rate limiting.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the correlation between flow 1 and GEM port 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#gemport 1 flow 1 ZXAN(gpon-onu-mng)#
The following example shows how to map upstream priorities 0–7 to queue 3, and map downstream priorities to queue 4 on port eth_0/1: ZXAN(gpon-onu-mng)#gemport 1 up-queue-map 0-7:3 down-queue 4 uni eth_0/1 ZXAN(gpon-onu-mng)#
The following example shows how to set upstream GEM port rate limiting to 100 Mbps: 15-137 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(gpon-onu-mng)#gemport 1 traffic-limit downstream 100M upstream 100M
Related Commands None
15.4.22 igmp Syntax igmp name1 [{[max-groups number1 ] [max-bandwidth number2 ] [bandwidth-enforce name2 ] [profile name3 ] } ] no igmp name1 [{[max-groups ] [max-bandwidth ] [profile ] } ]
Function This command configures the ONU multicast function.
Parameters Parameter
Description
Value
name1
Ethernet or VEIP port, format: eth_slot/port,
1–31 characters
veip_port. number1
Number of maximum synchronization groups.
1–65535
number2
Maximum ingress dynamic bandwidth, unit:
1–4294967295
Kbps. name2
Enables or disables bandwidth enforce.
-
name3
IGMP profile name.
1–64 characters
max-groups
Number of maximum synchronization groups.
-
max-bandwidth
Maximum ingress dynamic bandwidth.
-
profile
IGMP profile.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the ONU multicast function for Ethernet port eth_0/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
15-138 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands ZXAN(gpon-onu-mng)#igmp eth_0/1 bandwidth-enforce enable
Related Commands None
15.4.23 igmp monitor Syntax igmp monitor name1 no igmp monitor name1
Function This command configures the ONU multicast monitoring function.
Parameters Parameter
Description
Value
name1
Ethernet or VEIP port, format: eth_slot/port,
1–31 characters
veip_port.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the ONU multicast monitoring function for Ethernet port eth_0/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#igmp monitor eth_0/1
Related Commands None
15-139 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.24 interface ces Syntax interface ces name1 [{[state name2 ] [type number1 ] [loop name3 ] [ds1-framing name4 ] [linecoding name5 ] [line-length number2 ] [ds1-mode name6 ] [arc number3 arc-interval number4 ] [line-type name7 ] } ]
Function This command configures properties of a CES user port.
Parameters Parameter
Description
Value
name1
CES user port, format: ces_slot/port
1–31 characters
name2
Port administrative state
lock, unlock
number1
Expected card type
0–255
name3
Loop-back control
noloop, lineloop, opsloop1, opsloop2, opsloop3, payloadloop
DS1 frame structure, default:
extendsuper, g704, jtg704, super,
extendedsuper
unframe
name5
Encoding mechanism
ami, b3zs, b8zs, hdb3
number2
Cable length
0–255
name6
DS1 mode
-
number3
Alarm suppression
0–1
name4
l
0: not suppressed, reported normally
l number4
1: suppressed
Alarm suppression time, unit:
0–255
minutes name7
Line type
3plcp, ds3cbitparity, ds3clearchannel, ds3m23, ds3syntran, e3framed, other
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
15-140 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to set the state of a CES user port to lock: 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
15.4.25 interface eth Syntax interface eth name1 [{[state name2 ] [arc number1 arc-interval number2 ] [type number3 ] [speed name3 ] [loop name4 ] [mtu number4 ] [pause-time number5 ] [wiring name5 ] [l2l3 name6 ] [pppoe-filter name7 ] [power-control name8 ] } ]
Function This command configures properties of an Ethernet user port.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
name2
Port administrative state.
lock, unlock
number1
Alarm suppression
0–1
number2
l
0: not suppressed, reported normally.
l
1: suppressed.
Suppression time, unit: minutes.
0–255
255: permanent suppression. number3
Expected card type, default: 0.
0–255
name3
Port duplex mode and rate.
auto, full-10, full-100, full-1000, half-10, half-100
name4
Enables or disables port loop-back.
-
number4
Maximum transfer unit, unit: bytess.
64–8192
number5
Time for the peer end to pause sending
0–65535
packets requested by the pause frame. name5
Cable type.
dce, dte
name6
The UNI works in layer 2 bridge mode or
-
layer 3 IP mode. 15-141 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name7
PPPoE packet filtering control.
-
l
Enable: Only PPPoE packets are permitted.
l
Disable: All types of packets are permitted.
name8
Power control, whether provides power
-
supply for external devices through the port.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to set the state of an Ethernet user port to lock: 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
15.4.26 interface pon Syntax interface pon name1 {temp-threshold low name2 high name3 |current-threshold low name4 hi gh name5 |vol-threshold low name6 high name7 |gem-blocklen number1 |sf-threshold number2 sd-threshold number3 |rx-optical-threshold low {ont-internal-policy |name8 } high {ont-intern al-policy |name9 } |tx-optical-threshold low {ont-internal-policy |name10 } high {ont-internalpolicy |name11 } |alarm {enable |disable [alarm-disable-interval number4 ] } }
Function This command configures the Bit Error Rate (BER) thresholds of SFi/SF alarms and SDi/SF alarms on the Passive Optical Network (PON) port.
15-142 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
PON number, format: pon_slot/port.
1–31 characters
temp-threshold
Temperature alarm threshold of the optical
-
module. name2
Minimum temperature alarm threshold of the
-127℃ to 127℃
optical module, granularity: 1/256℃. name3
Maximum temperature alarm threshold of the
-127℃ to 127℃
optical module, granularity: 1/256℃. current-threshold
Offset current alarm threshold.
-
name4
Minimum offset current alarm threshold,
0–131 mA
granularity: 0.002 mA. name5
Maximum offset current alarm threshold,
0–131 mA
granularity: 0.002 mA. vol-threshold
Feedback voltage alarm threshold.
-
name6
Minimum feedback voltage alarm threshold,
0–6.56 V
granularity: 0.02 V. name7
Maximum feedback voltage alarm threshold,
0–6.56 V
granularity: 0.02 V. number1
GEM block length, default: 48.
0–65535
number2
SFi/SF alarm BER threshold, default: 5.
3–8
number3
SDi/SD alarm BER threshold, default: 9.
4–10
rx-optical-threshold
Alarm threshold of the receiving optical rate.
-
ont-internal-policy
ONU internal policy.
-
name8
Minimum alarm threshold of the receiving optical
-27 dBm to -8 dBm
rate, precision: 0.5 dBm. name9
Maximum alarm threshold of the receiving optical
-27 dBm to -8 dBm
rate, precision: 0.5 dBm. tx-optical-threshold
Alarm threshold of the sending optical rate.
-
name10
Minimum alarm threshold of the sending optical
-0.5 dBm to -5 dBm
rate, precision: 0.5 dBm. name11
Maximum alarm threshold of the sending optical
-0.5 dBm to -5 dBm
rate, precision: 0.5 dBm. enable
Enables alarm report.
-
15-143 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
disable
Disables alarm report.
-
number4
Time period during which alarm report is disabled,
0–255
unit: minute. This parameter is effective only when alarm report is disabled.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines The BER threshold unit is dB. For example, 3 indicates -3 dB.
Examples The following example shows how to set the thresholds of SFi/SF alarms and SDi/SF alarms on the PON port to -4 dB and -8 dB: 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
Related Commands None
15.4.27 interface pots Syntax interface pots name1 [{[state name2 ] [[arc number1 ] arc-interval number2 ] [impedance numb er3 ] [tx-path name3 ] [rx-gain name4 ] [tx-gain name5 ] } ]
Function This command configures properties of a Plain Old Telephone Service (POTS) user port.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port
1–31 characters
name2
Port administrative state
lock, unlock
number1
Alarm suppression
0–1
l
0: not suppressed, reported normally
l
1: suppressed
15-144 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
number2
Suppression time, unit: minutes
0–255
255: permanent suppression number3
Impedance, default: 0
0–4
name3
Onhook transmission mode
fulltimeOnHook, parttimeOnHook
name4
Received signal gain, precision: 0.1 dB,
-12.0 dB to 6.0 dB
default: 0 name5
Sent signal gain, precision: 0.1 dB, default: 0
-12.0 dB to 6.0 dB
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the impedance of a POTS user port: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#interface pots pots_0/1 impedance 4
Related Commands None
15.4.28 interface video Syntax interface video name1 [{[state name2 ] [arc number1 arc-interval number2 ] [power-control na me3 ] } ]
Function This command configures properties of a video port.
Parameters Parameter
Description
Value
name1
Video port, format: video_slot/port
1–31 characters
name2
Port administrative state
lock, unlock
15-145 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number1
Alarm suppression
0–1
l
0: not suppressed, reported normally
l
1: suppressed
Suppression time, unit: minutes
number2
0–255
255: permanent suppression Power control, whether provides power supply
name3
-
for external devices through the port
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to set the state of a video port to lock: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#interface video video_0/1 state lock
Related Commands None
15.4.29 interface video-ani Syntax interface video-ani {[state name1 ] [arc number1 arc-interval number2 ] [pilot-frequency num ber3 ] [optical-thresh lower name2 upper name3 ] [agc-mode {disable |{broadband |optical } offset name4 } ] }
Function This command configures properties of a video ANI port.
Parameters Parameter
Description
Value
name1
Port administrative state.
lock, unlock
number1
Alarm suppression.
0–1
l
0: not suppressed, reported normally.
l
1: suppressed. 15-146
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
number2
Suppression time, unit: minutes.
0–255
number3
Pilot frequency, unit: Hz.
0–4294967295
name2
Optical power lower threshold, granularity: 0.1
-12.0 dBm to 6.0 dBm
dB. name3
Optical power upper threshold, granularity: 0.1
-12.0 dBm to 6.0 dBm
dB. disable
Disables AGC.
-
broadband
AGC mode: broadband.
-
optical
Optical power.
-
name4
AGC optical power compensation, step length:
-12.8 dB to 12.7 dB
0.1 dB.
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to set the state of a video ANI port to lock: ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1 ZXAN(gpon-onu-mng)#interface video-ani state lock
Related Commands None
15.4.30 interface wifi Syntax interface wifi name1 {[state name2 ] [arc number1 arc-interval number2 ] }
Function This command configures the properties of a Wireless Fidelity (WiFi) port.
15-147 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
WiFi port, format: wifi_slot/port
1–31 characters
name2
Port administrative state
lock, unlock
number1
Alarm suppression
0–1
number2
l
0: not suppressed, reported normally
l
1: suppressed
Suppression time, unit: minutes
0–255
255: permanent suppression
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows 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
15.4.31 ip route Syntax ip route ip_addr1 ip_addr2 {[ip_addr3 ] [output-port number1 ] } no ip route ip_addr1 ip_addr2
Function This command creates an ONU static route.
Parameters Parameter
Description
Value
ip_addr1
Subnet ID
-
ip_addr2
Subnet mask
-
15-148 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
ip_addr3
Next-hop IP address
-
number1
Output port
1–255
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to route the packets that are sent to network 131.108.0.0 to the router whose address is 131.108.6.6: ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1 ZXAN(gpon-onu-mng)#ip route 131.108.0.0 255.255.0.0 131.108.6.6
Related Commands None
15.4.32 ip-host Syntax ip-host number1 {dhcp-enable name1 ping-response name2 traceroute-response name3 [ipsta ck-enable name4 ] |id name5 |ip ip_addr1 mask ip_addr2 [gateway ip_addr3 ] |primary-dns ip_addr4 [second-dns ip_addr5 ] } no ip-host number1
Function This command configures the Domain Name Server (DNS) for an ONU host.
Parameters Parameter
Description
Value
number1
IP host ID
1–255
name1
DHCP
true, false
name2
Ping response
true, false
name3
Trace response
true, false
name4
IP stack
true, false
name5
ONU host ID, default: 25 null bytes
1–25 characters
15-149 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
IP mask
-
ip_addr3
IP gateway address
-
ip_addr4
Primary DNS address
-
ip_addr5
Secondary DNS address
-
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the DNS for an ONU host: ZXAN(config)#pon-onu-mng gpon-onu_0/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
15.4.33 ip-service-map Syntax ip-service-map number1 host number2 no ip-service-map number1
Function This command configures the mapping relation between an IP address and a service.
Parameters Parameter
Description
Value
number1
Service ID
1–24
host
Host
-
number2
Host ID
1–255
Mode GPON remote ONU configuration mode, GPON ONU MNG mode 15-150 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the mapping relation between an IP address and a service: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#ip-service-map 1 host 1
Related Commands None
15.4.34 lct Syntax lct {disable |enable }
Function This command configures the Local Craft Terminal (LCT) function for an ONU.
Parameters Parameter
Description
Value
disable
Disables LCT for an ONU.
-
enable
Enables LCT for an ONU.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to enable LCT for an ONU: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#lct enable
Related Commands None 15-151 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.35 loop-detect Syntax loop-detect ethuni name1 name2
Function This command configures the loop-back detection function for an ONU UNI.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
name2
Enables or disables loop-back detection.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to enable loop-back detection for ONU UNI eth_0/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#loop-detect ethuni eth_0/1 enable
Related Commands None
15.4.36 loopback Syntax loopback no loopback
Function This command enables ONU port loop-back.
Parameters None 15-152 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to enable loop-back for port gpon-onu_1/3/1:1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#loopback ZXAN(gpon-onu-mng)#
Related Commands None
15.4.37 mac-filter Syntax mac-filter {ethuni name1 |flow number1 |iphost number2 } hexadecimal1 name2 [name3 ] no mac-filter {ethuni name1 |flow number1 |iphost number2 } hexadecimal1
Function This command creates MAC address filtering items on a user port.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
number1
Flow ID.
1–255
number2
IP host ID.
1–255
hexadecimal1
MAC address, format: XXXX.XXXX.XXXX.
-
name2
Forwards or discards filtered packets.
-
name3
Source or destination MAC address.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. 15-153 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to create MAC address filtering items of the IP host on an ONU to discard the filtered packets: 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
15.4.38 me-access Syntax me-access number1 number2 number3 number4 [name1 ]
Function This command manually sets up a ONT Management Control Interface (OMCI) message and sends it to the ONU.
Parameters Parameter
Description
Value
number1
Trans ID
1–65535
number2
Message type
0–255
number3
ME type
0–65535
number4
ME ID
0–65535
name1
Message content
0–95 characters
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to set up a message with the ME of 65528 and ME ID of 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#me-access 6 72 65528 1 08,00,00,00,00,3c
15-154 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.4.39 mgc Syntax mgc number1 [{{[heart-beat name1 ] [rtp-link-detect name2 ] [num-match-shortest name3 ] [d igit-map long-timer number2 short-timer number3 start-timer number4 ] [heart-beat-interval number5 ] [min-rereg-timer number6 max-rereg-timer number7 ] [regmsg-retran-timer numbe r8 total-retran-time number9 ] [port number10 [host number11 ] ] [version number12 ] [msg-fo rmat name4 ] [max-retry-time number13 ] [max-retry-attempts number14 ] [service-change-de lay number15 ] [terminal-id name5 ] [user-tid {default prefix name6 |prefix name7 [postfix-len number16 ] postfix-start number17 } ] [rtp-tid {default |prefix name8 [postfix-len number18 ] postfix-start number19 } ] [domain name9 ] [ss-vendor name10 ] } |{[{server1 |server2 } name11 [validate {disable |basic username name12 password name13 |md5 username name14 password name15 [realm name16 ] } ] ] } } ] no mgc number1 [{[server1 ] [server2 ] [terminal-id ] [ss-vendor ] } ]
Function This command creates a Media Gateway Controller (MGC) and correlates it with a TCP or UDP port.
Parameters Parameter
Description
Value
number1
MGC ID.
1–65535
name1
Heartbeat mode.
-
name2
Enables or disables RTP line detection.
-
name3
Enables or disables minimum digit matching.
-
number2
Maximum duration for digit matching, unit:
2000–60000
ms, default: 20000. number3
Minimum duration for digit matching, unit: ms,
2000–60000
default: 5000. number4
Starting duration for digit matching, unit: ms,
2000–60000
default: 10000. number5
Heartbeat interval, unit: ms, default: 5000.
10000–600000
number6
Minimum registration time, unit: ms.
0–500000
number7
Maximum registration time, unit: ms.
0–500000
15-155 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number8
Time of obtaining the registration message,
100–50000
unit: ms. number9
Total obtaining time, unit: ms.
100–50000
number10
TCP/UDP port number.
1–65535
number11
IP host ID.
1–255
number12
Protocol version number.
1–255
name4
Message format.
text-long, text-short, binary
number13
Maximum retransmission time, unit: seconds.
1–65535
number14
Maximum number of retransmission times.
1–65535
number15
Delay time of changing the service state, unit:
1–65535
seconds. name5
H.248 physical terminal ID.
1–25 characters
default
Default user TID.
-
name6
Standard prefix of the user TID.
1–25 characters
name7
Long prefix of the user TID.
1–128 characters
number16
Length of the user TID suffix, unit: bytes.
1–7
number17
Starting digit of the user TID suffix.
0–9
name8
RTP TID prefix.
1–8 characters
number18
Length of the RTP TID suffix, unit: bytes.
1–7
number19
Starting digit of the RTP TID suffix.
0–9
name9
TID domain name.
1–128 characters
name10
SS gateway vendor name.
1–4 characters
server1
Primary MGC signaling server.
-
server2
Secondary MGC signaling server.
-
name11
MGC server name, which is an IP address or
1–128 characters
a URL address. disable
Disables authentication.
-
basic
Basic authentication method.
-
name12
User name.
1–25 characters
name13
Password.
1–25 characters
md5
MD5 authentication method.
-
name14
User name.
1–25 characters
name15
Password.
1–25 characters
15-156 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name16
Domain name.
1–25 characters
terminal-id
H.248 physical terminal ID.
-
ss-vendor
SS gateway vendor name.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to creates an MGC: 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
15.4.40 mgc-service Syntax mgc-service name1 profile name2 [signal name3 ] [media-profile name4 ] no mgc-service name1
Function This command configures the POTS MGC service when the VoIP protocol is H.248 or MGCP.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port
1–31 characters
name2
MGC profile name
1–64 characters
name3
Signaling encoding
-
name4
Media profile name
1–64 characters
15-157 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. This service can be configured when the VoIP protocol is H.248 or MGCP, and the correlated MGC profile needs to be created first.
Examples The following example shows how to configure the POTS SIP service: ZXAN(gpon-onu-mng)#mgc-service pots_0/1 profile test1
Related Commands None
15.4.41 mgmt-ip Syntax mgmt-ip ip_addr1 ip_addr2 (vlan number1 )[svlan number2 ](priority number3 )(route ip_addr3 ip_addr4 ip_addr5 )[host number1 ]
Function This command configures the management IP address of a GPON ONU.
Parameters Parameter
Description
Value
ip_addr1
ONU IP address
-
ip_addr2
ONU subnet mask
-
number1
VLAN SN
1–4094
number2
SVLAN SN
1–4094
number3
Priority
0–7
ip_addr3
Remote host IP address
-
ip_addr4
Remote host subnet mask
-
ip_addr5
Next-hop address
-
number1
IP host ID
1–255
Mode GPON ONU MNG mode 15-158 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines The ONU IP address and remote host IP address cannot be in the same network segment as the ONU LAN IP address (192.168.1.1/255.255.255.0 by default). If the ONU has a WAN connection, the ONU IP address and the remote host IP address cannot be in the same network segment as the WAN connection IP address. The VLAN cannot be the same as that used by the ONU.
Examples The following example shows how to configure the IP address of ONU 1 under OLT interface 1 in sot 3 of shelf 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#mgmt-ip onu-ip 172.168.1.122 255.255.0.0 3 300 route 172.168.1.10 255.255.0.0 172.168.1.250
Related Commands show remote onu mgmt-ip
15.4.42 mgmt-ip auto-assign Syntax mgmt-ip auto-assign [host number1 ]
Function This command configures auto assignment of management IP addresses from the address pool by an ONU.
Parameters Parameter
Description
Value
number1
IP host ID
1–255
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure auto assignment of management IP addresses from the address pool by an ONU: 15-159 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#mgmt-ip auto-assign host 1
Related Commands ZXAN(config-pon)#ip-pool ZXAN(config-pon)#ip-pool-bind
15.4.43 mgmt-ip release Syntax mgmt-ip release
Function This command releases the management IP address of an ONU.
Parameters None
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to release the management IP address of an ONU: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#mgmt-ip release
Related Commands None
15.4.44 mirror Syntax mirror ethuni name1 gemport number1 direction name2 no mirror ethuni name1 15-160 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command configures the ONU mirroring function.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port
1–31 characters
number1
GEM port ID
1–255
name2
Mirroring direction
upstream, downstream, upstream and downstream
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure mirroring between ONU eth_0/1 and GEM port 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#mirror ethuni eth_0/1 gemport 1 direction both
Related Commands None
15.4.45 multicast vlan Syntax multicast vlan {clear |{add |delete } vlanlist name1 }
Function This command configures the GPON ONU multicast VLAN.
Parameters Parameter
Description
Value
clear
Clears all the multicast VLANs.
-
add
Adds a multicast VLAN.
-
15-161 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
delete
Deletes a multicast VLAN.
-
name1
Multicast VLAN list, format: X,X...or X-X.
1–64 characters
The VLAN ID ranges from 1 to 4094. Up to 12 VLANs are supported.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines This command can be used only when the multicast mode is IGMP snooping. When the action is clear, the vlanlist parameter does not need to be configured, which indicates to clear all the multicast VLANs under the port. When the action is add or delete, the vlanlist parameter must be configured.
Examples The following example shows how to configure the multicast VLAN for ONU 1 under OLT interface 1 in slot 3 of shelf 0: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#multicast vlan add vlanlist 1,3,5-8
Related Commands None
15.4.46 multicast vlan tag-strip Syntax multicast vlan tag-strip port name1 {enable |disable |translate trans-list name2 }
Function This command configures downstream multicast VLAN tag removing and VLAN translation under the GPON ONU UNI.
Parameters Parameter
Description
Value
name1
Ethernet UNI, format: eth_slot/port.
1–31 characters
enable
Enables downstream multicast VLAN tag
-
removing. 15-162 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
disable
Disables downstream multicast VLAN tag
-
removing. translate
Downstream multicast VLAN translation.
-
name2
Downstream multicast VLAN translation item,
1–255 characters
format: mcVlan:userVlan. One multicast VLAN and one user VLAN forms a group, and up to six groups can be configured. The multicast VLAN and user VLAN are separated by a colon, and the groups are separated by commas.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to enable multicast VLAN tag removing for Ethernet port 1 of ONU 1 under OLT interface 1 in slot 3 of shelf 0: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#multicast vlan tag-strip port eth_0/1 enable
Related Commands None
15.4.47 onu-vlan Syntax onu-vlan {ethuni name1 |iphost number1 |wifi name2 } [{[up-mode name3 ] [up-prio number2 up-vid number3 ] [down-mode name4 ] } ] no onu-vlan {ethuni name5 |iphost number1 |wifi name2 }
Function This command configures the ONT VLAN properties.
15-163 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Ethernet UNI, format: eth_slot/port
1–31 characters
number1
IP host ID
1-255
name2
WiFi port, format: wifi_slot/port
1–31 characters
name3
Upstream mode
transparent, overwrite, add, add-pvid
number2
Upstream priority
0–7
number3
Upstream VLAN ID
1–4094
name4
Downstream mode
transparent, untag, delete-pvid
name5
Ethernet UNI, format: eth_slot/port
1–31 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the ONT VLAN properties: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#onu-vlan ethuni eth_0/1 up-mode transparent down-mode untag
Related Commands None
15.4.48 password Syntax password name1
Function This command configures the ONU password.
Parameters Parameter
Description
Value
name1
Password
1–10 characters
15-164 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to set the ONU password to zte: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#password zte
Related Commands None
15.4.49 performance call-ctrl Syntax performance call-ctrl name1 name2
Function This command configures the ONU call control performance statistics.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port.
1–31 characters
name2
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU call control performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance call-ctrl pots_0/1 start
15-165 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.4.50 performance dot1x ethuni Syntax performance dot1x ethuni name1 {start [threshold name2 ] |stop |threshold name3 } no performance dot1x ethuni name1 threshold
Function This command configures 802.1x performance statistics for an ONU Ethernet UNI.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
start
Starts performance statistics.
-
name2
Performance statistics threshold profile name.
1–64 characters
stop
Stops performance statistics.
-
name3
Performance statistics threshold profile name.
1–64 characters
This parameter is effective when performance statistics is enabled. threshold
Clear the performance statistics threshold.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to start 802.1x performance statistics for an ONU Ethernet UNI: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance dot1x ethuni eth_0/1 start
Related Commands 15.1.14 onu profile performance-threshold dot1x 15-166 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.51 performance ethuni Syntax performance ethuni [{detailed |downstream |upstream } ] name1 {start [threshold name2 ] |stop |threshold name3 }
Function This command configures ONU Ethernet performance statistics.
Parameters Parameter
Description
Value
detailed
Statistics type.
-
downstream
Downstream performance statistics.
-
upstream
Upstream performance statistics.
-
name1
Ethernet port, format: eth_slot/port.
1–31 characters
start
Starts performance statistics.
-
name2
Performance statistics threshold profile name.
1–64 characters
stop
Stops performance statistics.
-
name3
Performance statistics threshold profile name.
1–64 characters
This parameter is effective when performance statistics is enabled.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU Ethernet performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance ethuni upstream eth_0/1 start
Related Commands 15.1.15 onu profile performance-threshold ethuni
15-167 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.52 performance fec Syntax performance fec name1
Function This command configures ONU FEC performance statistics.
Parameters Parameter
Description
Value
name1
Starts or stops performance
-
statistics.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU FEC performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance fec start
Related Commands None
15.4.53 performance flow Syntax performance flow number1 name1
Function This command configures ONU service flow performance statistics.
15-168 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
number1
Service flow ID
1–255
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU service flow performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance flow 1 start
Related Commands None
15.4.54 performance gal-eth Syntax performance gal-eth number1 name1
Function This command configures ONU GEM adaptation layer (GAL) performance statistics.
Parameters Parameter
Description
Value
number1
GEM port ID
1–255
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None 15-169 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to start ONU GAL performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance gal-eth 1 start
Related Commands None
15.4.55 performance gem Syntax performance gem number1 name1
Function This command configures ONU GEM port performance statistics.
Parameters Parameter
Description
Value
number1
GEM port ID
1–255
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU GEM port performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance gem 1 start
Related Commands None
15-170 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.56 performance iphost Syntax performance iphost number1 name1
Function This command configures ONU IP host performance statistics.
Parameters Parameter
Description
Value
number1
IP host ID
1–255
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU IP host performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance iphost 1 start
Related Commands None
15.4.57 performance mgc Syntax performance mgc number1 name1
Function This command configures ONU MGC performance statistics.
15-171 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
MGC ID
1–65535
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU MGC performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance mgc 1 start
Related Commands None
15.4.58 performance multicast Syntax performance multicast {[ethuni name1 ] [vlan number1 ] } {start |stop }
Function This command configures ONU multicast performance statistics.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
number1
VLAN ID
1–4095
start
Starts performance statistics.
-
stop
Stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
15-172 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows how to start ONU multicast performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance multicast ethuni eth_0/1 start
Related Commands None
15.4.59 performance pw Syntax performance pw name1 name2
Function This command configures ONU virtual circuit performance statistics.
Parameters Parameter
Description
Value
name1
CES port, format: ces_slot/port
1–31 characters
name2
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode or GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU virtual circuit performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance pw ces_0/1 start
Related Commands None
15-173 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.60 performance radius Syntax performance radius {start [threshold name1 ] |stop |threshold name2 } no performance radius threshold
Function This command configures ONU Remote Authentication Dial In User Service (RADIUS) performance statistics.
Parameters Parameter
Description
Value
start
Starts performance statistics.
-
name1
Performance statistics threshold profile name.
1–64 characters
stop
Stops performance statistics.
-
name2
Performance statistics threshold profile name.
1–64 characters
This parameter is effective when performance statistics is enabled. threshold
Clears the performance statistics threshold.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU RADIUS performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance radius start
Related Commands 15.1.17 onu profile performance-threshold radius
15.4.61 performance rtp Syntax performance rtp name1 name2 15-174 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command configures ONU RTP performance statistics.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port
1–31 characters
name2
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU RTP performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance rtp pots_0/1 start
Related Commands None
15.4.62 performance sip-agent Syntax performance sip-agent number1 name1
Function This command configures ONU SIP agent performance statistics.
Parameters Parameter
Description
Value
number1
SIP client
1–255
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode 15-175 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to start ONU SIP performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance sip-agent 1 start
Related Commands None
15.4.63 performance sip-call-init Syntax performance sip-call-init number1 name1
Function This command configures performance statistics for ONU SIP call initiation.
Parameters Parameter
Description
Value
number1
SIP client
1–255
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure performance statistics for ONU SIP call initiation: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance sip-call-init 1 start
Related Commands None 15-176 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.64 performance switch Syntax performance switch name1 name2
Function This command configures ONU bridge port performance statistics.
Parameters Parameter
Description
Value
name1
Bridge port, format: switch_slot/port
1–31 characters
name2
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU bridge port performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance switch switch_0/1 start
Related Commands None
15.4.65 performance switchport ethuni Syntax performance switchport ethuni name1 name2
Function This command configures performance statistics for an ONU UNI bridge port.
15-177 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
name2
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start performance statistics for an ONU UNI bridge port: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance switchport ethuni eth_0/1 start
Related Commands None
15.4.66 performance switchport iphost Syntax performance switchport iphost number1 name1
Function This command configures performance statistics for an IP host bridge port.
Parameters Parameter
Description
Value
number1
Host ID
1–255
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None 15-178 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to start performance statistics for an IP host bridge port: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance switchport iphost 1 start
Related Commands None
15.4.67 performance vlan Syntax performance vlan ethuni name1 number1 {start [threshold name2 ] |stop [threshold name3 ] } no performance vlan ethuni name1 number1 threshold
Function This command configures ONU VLAN performance statistics.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
number1
VLAN ID
1–4095
start
Starts performance statistics.
-
name2
Performance statistics threshold profile name.
1–64 characters
stop
Stops performance statistics.
-
name3
Performance statistics threshold profile name.
1–64 characters
This parameter is effective when performance statistics is enabled. threshold
Clears performance statistics threshold.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start ONU VLAN performance statistics: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
15-179 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(gpon-onu-mng)#performance vlan ethuni eth_0/1 1 start
Related Commands None
15.4.68 performance voice Syntax performance voice name1
Function This command starts or stops global performance statistics for the GPON ONU voice quality.
Parameters Parameter
Description
Value
name1
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start global performance statistics for the voice quality of gpon-onu_0/3/1:1: ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1 ZXAN(gpon-onu-mng)#performance voice start
Related Commands None
15.4.69 performance voice pots Syntax performance voice pots name1 name2
15-180 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command starts or stops voice quality performance statistics for a GPON ONU voice port.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port
1–31 characters
name2
Starts or stops performance statistics.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start voice quality performance statistics for voice port pots_0/1 of gpon-onu_1/3/1:1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#performance voice pots pots_0/1 start
Related Commands None
15.4.70 pkt-filter Syntax pkt-filter {ethuni name1 |flow number1 |iphost number2 } [{[ipv4multicast name2 ] [ipv6multic ast name3 ] [ipv4broadcast name4 ] [rarp name5 ] [ipx name6 ] [netBEUI name7 ] [appleTalk name8 ] [bpdu name9 ] [arp name10 ] [pppoe name11 ] } ]
Function This command configures packet filtering for a layer 2 bridge port.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
number1
Flow ID.
1–255 15-181
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number2
IP host ID.
1–255
name2
Forwards or discards IPv4 multicast packets.
-
name3
Forwards or discards IPv6 multicast packets.
-
name4
Forwards or discards IPv4 broadcast packets.
-
name5
Forwards or discards RARP packets.
-
name6
Forwards or discards IPX packets.
-
name7
Forwards or discards NetBEUI packets.
-
name8
Forwards or discards Apple Talk packets.
-
name9
Forwards or discards BPDU packets.
-
name10
Forwards or discards ARP packets.
-
name11
Forwards or discards PPPoE packets.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure packet filtering for a layer 2 bridge port: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#pkt-filter ethuni eth_0/1 pppoe discard rarp forward ZXAN(gpon-onu-mng)#
Related Commands None
15.4.71 pon-onu-mng Syntax pon-onu-mng interface1
Function This command enters GPON or Ethernet Passive Optical Network (EPON) ONU remote management mode. 15-182 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
interface1
EPON or GPON ONU interface, format:
-
epon-onu_shelf/slot/olt:onu or gpononu_shelf/slot/olt:onu
Mode ZXAN (config)#
Usage Guidelines Before entering remote configuration mode, register the ONU in OLT interface mode.
Examples The following example shows how to enter remote management mode of ONU 1 under OLT interface 1 in slot 3 of shelf 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#
Related Commands None
15.4.72 power-shedding Syntax power-shedding [restore-interval number1 ] [{[data {immediate |interval number2 } ] [voice {i mmediate |interval number3 } ] [video-overlay {immediate |interval number4 } ] [video-return {immediate |interval number5 } ] [dsl {immediate |interval number6 } ] [atm {immediate |inter val number7 } ] [ces {immediate |interval number8 } ] [frame {immediate |interval number9 } ] [sonet {immediate |interval number10 } ] } ] no power-shedding {data |voice |video-overlay |video-return |dsl |atm |ces |frame |sonet |all }
Function This command configures ONU energy conservation.
Parameters Parameter
Description
Value
number1
Power timer restoration time, unit: seconds.
0–65535
immediate
Disables the data service immediately.
-
15-183 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number2
Interval of disabling the data service, unit:
2–65535
seconds. number3
Interval of disabling the voice service, unit:
2–65535
seconds. number4
Interval of disabling the video overlap service,
2–65535
unit: seconds. number5
Interval of disabling the video returning service,
2–65535
unit: second. number6
Interval of disabling the DSL service, unit:
2–65535
seconds. number7
Interval of disabling the ATM service, unit:
2–65535
seconds. number8
Interval of disabling the CES service, unit:
2–65535
seconds. number9
Interval of disabling the frame service, unit:
2–65535
seconds. number10
Interval of disabling the SDH-SONET service,
2–65535
unit: seconds. data
Data service.
-
voice
Voice service.
-
video-overlay
Video overlap service.
-
video-return
Video returning service.
-
dsl
DSL service.
-
atm
ATM service.
-
ces
CES service.
-
frame
Frame service.
-
sonet
SDH-SONET service.
-
all
All services.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
15-184 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to configure ONU energy conservation: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#power-shedding data interval 100
Related Commands None
15.4.73 pppoe Syntax pppoe [{[number1 ] [nat name1 ] [mode name2 ] [connect name3 ] [release-timer {internal |num ber2 } ] [user name4 password name5 ] } ] no pppoe [number1 ]
Function This command configures ONU PPPoE.
Parameters Parameter
Description
Value
number1
Host ID.
1–255
name1
Enables or disables the NAT state.
-
name2
Authentication mode.
auto, chap, pap
name3
Connection mode.
always, on-demand, manual
internal
Uses the ONU internal policy.
-
number2
Releasing time, unit: seconds, default: 1200.
1–65535
name4
User name.
1–25 characters
name5
Password.
1–25 characters
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure ONU PPPoE: 15-185 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#pppoe 1 connect manual
Related Commands None
15.4.74 proto-proc Syntax proto-proc [ethuni name1 ] {[ctrl name2 ] [limit name3 ] } no proto-proc [ethuni name1 ] [{[ctrl ] [limit ] } ]
Function This command configures the ONU protocol processing policy.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port
1–31 characters
name2
Protocol control profile name
1–64 characters
name3
Protocol packet rate limiting profile name
1–64 characters
ctrl
Protocol packet control profile
-
limit
Protocol packet limiting profile
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. Before configuring the ONU protocol processing policy, use the ZXAN(config-pon)#onu pr ofile proto-ctrl and ZXAN(config-pon)#onu profile proto-limit commands to create profiles.
Examples The following example shows how to configure the protocol processing policy for port eth_0/1 of gpon-onu_1/3/1:1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#proto-proc ethuni eth_0/1 ctrl zte limit zte
15-186 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands 13.10.6 onu profile proto-ctrl 13.10.7 onu profile proto-limit
15.4.75 protocol-filter ethuni Syntax protocol-filter ethuni name1 forward name2 [vlan name3 ]
Function This command configures ONU Ethernet port protocol filtering.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
name2
Enables or disables forward state.
-
name3
VLAN list.
1–60 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure Ethernet port protocol filtering for port eth_0/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#protocol-filter ethuni eth_0/1 forward enable vlan 1-3
Related Commands None
15.4.76 pw delete Syntax pw delete name1 15-187 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command deletes a Pseudo Wire (PW).
Parameters Parameter
Description
Value
name1
CES user port, format: ces_slot/port
1–31 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows 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
15.4.77 pw optional Syntax pw optional name1 {[service-type name2 ] [signalling name3 ] [arc number1 arc-interval numbe r2 ] }
Function This command configures PW optional properties.
Parameters Parameter
Description
Value
name1
CES user port, format: ces_slot/port
1–31 characters
name2
Service type
-
name3
Signaling type
-
15-188 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
number1
Alarm suppression
0–1
number2
l
0: not suppressed, reported normally
l
1: suppressed
Alarm suppression time, unit: minutes
0–255
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To configure a PW, run the following commands in sequence: pw rtp, pw ip (or pw ethernet), pw tdm, pw optional (optional) A PW can only be created or deleted. pw delete is used to delete all the configurations of the PW.
Examples The following example shows how to configure PW optional properties: ZXAN(gpon-onu-mng)#pw optional ces_0/1 service-type basic-unstructure
Related Commands None
15.4.78 pw psn ethernet Syntax pw psn ethernet name1 [switch name2 ] dst-mac hexadecimal1 loopback name3 tx-payload-ecid hexadecimal2 tx-signalling-ecid hexadecimal3 [expected-payload-ecid hexadecimal4 expectedsignalling-ecid hexadecimal5 ] tag-policy {untag |tag [{[prio number1 ] [vid number2 ] } ] }
Function This command creates a PW over Ethernet.
Parameters Parameter
Description
Value
name1
CES user port, format: ces_slot/port
1–31 characters
name2
Layer 2 bridge port, format: bridge_slot/port
1–31 characters
hexadecimal1
Destination MAC address
-
name3
Loop-back
15-189
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
hexadecimal2
Sent load ECID, in hexadecimal format, ended
-
with 0x102, format: 0xXXXXX102 hexadecimal3
Sent signaling ECID, in hexadecimal format, four
-
bytes hexadecimal4
Expected load ECID, in hexadecimal format,
-
ended with 0x102, format: 0xXXXXX102 hexadecimal5
Expected signaling ECID, in hexadecimal format,
-
four bytes untag
Untagged mode
-
tag
Tagged mode
-
number1
Priority
0–7
number2
VLAN ID
1–4094
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how create a 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 loop 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
15.4.79 pw psn ip Syntax pw psn ip name1 near-end-ip number1 [host number2 ] far-end-ip name2
Function This command creates a PW over IP. 15-190 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
CES user port, format: ces_slot/port
1–31 characters
number1
Local TCP/UDP port number
0–65535
number2
Local IP host ID
1–255
name2
Remote IP address, format: udp://domain:port
1–128 characters
or udp://IPaddress:port
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To configure a PW, run the following commands in sequence: pw rtp, pw ip (or pw ethernet), pw tdm, pw optional (optional) A PW can only be created or deleted. pw delete is used to delete all the configurations of the PW.
Examples The following example shows how to create a 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
15.4.80 pw rtp Syntax pw rtp name1 payload-ssrc number1 signalling-ssrc number2 payload-ptype number3 signalli ng-ptype number4 {[expected-payload-ssrc number5 expected-signalling-ssrc number6 ] [expe cted-payload-ptype number7 expected-signalling-ptype number8 ] [clock-reference number9 ] [rtp-ts-mode name2 ] }
Function This command configures PW RTP properties.
15-191 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
CES user port, format: ces_slot/port
1–31 characters
number1
Load SSRC
0–4294967295
number2
Signaling SSRC
0–4294967295
number3
Load type of a load channel
0–255
number4
Load type of a signaling channel
0–255
number5
Expected load channel
0–4294967295
number6
SSRC of the expected signaling channel
0–4294967295
number7
Expected load channel
0–255
number8
Load type of a signaling channel
0–255
number9
Clock frequency, unit: kHz, multiple of 8,
0–65528
default: 1 name2
RTP timestamp mode
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To configure a PW, run the following commands in sequence: pw rtp, pw ip (or pw ethernet), pw tdm, pw optional (optional) A PW can only be created or deleted. pw delete is used to delete all the configurations of the PW.
Examples The following example shows how to configure PW RTP properties: ZXAN(gpon-onu-mng)#pw rtp ces_0/1 payload-ssrc 2 payload-ptype 4 signalling-ptype 0 expected-signalling-ptype 4
signalling-ssrc 3
expected-payload-ptype 0
clock-reference 2 rtp-ts-mode absolute
Related Commands None
15-192 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.81 pw tdm Syntax pw tdm name1 payloadsize number1 [payload-delay number2 ] timing-mode name2 [tdm-profi le name3 ]
Function This command configures PW Time Division Multiplexing (TDM) properties.
Parameters Parameter
Description
Value
name1
CES user port, format: ces_slot/port
1–31 characters
number1
Load size, unit: bytess
0–65535
number2
Load delay, unit: ms
0–255
name2
Timing mode
-
name3
TDM profile name
1–64 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure PW TDM properties: ZXAN(gpon-onu-mng)# pw tdm ces_0/1 payloadsize 32 timing-mode differential-timing
Related Commands None
15.4.82 reboot Syntax reboot
Function This command reboots the ONU. 15-193 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to reboot the ONU: ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1 ZXAN(gpon-onu-mng)#reboot ZXAN(gpon-onu-mng)#
Related Commands None
15.4.83 restore Syntax restore
Function This command restores the ONU data configured by the OLT to the factory default settings. The OLT delivers the configuration data to the ONU again.
Parameters None
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to restore the ONU data configured by the OLT to the factory default settings: 15-194 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1 ZXAN(gpon-onu-mng)#restore ZXAN(gpon-onu-mng)#
Related Commands None
15.4.84 restore factory Syntax restore factory
Function This command restores the ONU data and OLT data on the ONU to the factory default settings. The OLT delivers the configuration data to the ONU again.
Parameters None
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to restore the ONU data and OLT data on the ONU to the factory default settings: ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1 ZXAN(gpon-onu-mng)#restore factory ZXAN(gpon-onu-mng)#
Related Commands None
15.4.85 schedule Syntax schedule name1 profile name2 no schedule name1 profile 15-195 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures ONU Ethernet user port scheduling, correlating the user port to a scheduling profile.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port
1–31 characters
name2
Scheduling profile name
1–64 characters
profile
Scheduling profile name
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure ONU Ethernet user port scheduling, correlating the user port to a scheduling 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
15.4.86 security-ctrl Syntax security-ctrl {disable |enable psk name1 }
Function This command configures security enhancement control.
15-196 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
disable
Disables security enhancement control.
-
enable
Enables security enhancement control.
-
name1
Pre-shared key, 1–32 hexadecimal characters,
-
such as '0'-'9', 'a'-'f', 'A'-'F'.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to enable security enhancement control and set a pre-shared key. ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#security-ctrl enable psk a1a2a3a4a5a6a7a8b1b2b3b4b5b6b7b8
Related Commands None
15.4.87 security-mng Syntax security-mng number1 [{[state name1 ] [mode name2 ] [ingress-type {name3 |iphost number2 } ] [start-src-ip ip_addr1 end-src-ip ip_addr2 ] [protocol {[web ] [ftp ] [telnet ] } ] } ] no security-mng number1
Function This command configures ONU security management.
Parameters Parameter
Description
Value
number1
Service control rule ID.
1–65535
name1
Enables or disables administrative state.
-
name2
Service control mode.
-
name3
Ingress type.
-
15-197 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number2
Host ID.
1–255
ip_addr1
Starting IPv4 address.
-
ip_addr2
Ending IPv4 address.
-
web
Service protocol: HTTP
-
ftp
Service protocol: FTP
-
telnet
Service protocol: TELNET
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure ONU security management: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#security-mng 1 mode permit
Related Commands None
15.4.88 service Syntax service name1 [type name2 ] [{ethuni name3 |iphost number1 } ] gemport number2 [{[cos name4 ] [vlan name5 [mvlan number3 ] ] |[untag ] } ] no service name1
Function This command configures mapping relations between the ONU PON service flows and user ports as well as GEM ports.
Parameters Parameter
Description
Value
name1
Service name.
1–32 characters
name2
Service type.
Internet, VoIP, IPTV, Internet+IPTV, hybrid
15-198 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name3
Ethernet port, format: eth_slot/port.
1–31 characters
number1
IP host ID.
1–255
number2
GEM port ID.
1–255
name4
COS list for service mapping, format: X,X...
1–32 characters
or X-X, separated by commas. The repeat COS values are ineffective, and up to eight COS values can be specified. name5
VLAN list for service mapping, format: X,X...
1–64 characters
or X-X, separated by commas. The repeat VLAN values are ineffective, and up to 12 VLAN values can be specified. If this parameter is not specified, the service are not mapped according to VLANs. number3
Multicast VLAN for service mapping.
1–4094
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. The service command supports creation and deletion, but does not support modification. The service command conflicts with the flow and gemport flow commands.
Examples The following example shows how to configure mapping relations between the ONU PON service flows and the user port and GEM port: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#service 1 gemport 1
Related Commands None
15.4.89 show gpon remote-onu auto-shutdown Syntax show gpon remote-onu auto-shutdown interface1
15-199 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command shows the ONU auto shutdown configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU auto shutdown configuration information: ZXAN#show gpon remote-onu auto-shutdown gpon-onu_0/3/1:1 hold-time: 60(s) revert-time: 15(s) ZXAN#
Related Commands None
15.4.90 show gpon remote-onu broadcast-limit Syntax show gpon remote-onu broadcast-limit {cpu interface1 |ethuni interface2 [name1 ] }
Function This command shows the ONU broadcast packet rate limiting information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu interface2
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
15-200 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU broadcast packet rate limiting information: ZXAN#show gpon remote-onu broadcast-limit ethuni gpon-onu_1/3/1:1
UNI Port:
eth_0/1
Limit Rate:
100
UNI Port:
eth_0/2
Limit Rate:
100
UNI Port:
eth_0/3
Limit Rate:
100
UNI Port:
eth_0/4
Limit Rate:
100
ZXAN#
Related Commands None
15.4.91 show gpon remote-onu call-record Syntax show gpon remote-onu call-record interface1 [name1 ]
Function This command shows VoIP call records.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
15-201 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows VoIP call records: ZXAN(gpon-onu-mng)#show gpon remote-onu call-record gpon-onu_1/3/1:1
Related Commands None
15.4.92 show gpon remote-onu capability Syntax show gpon remote-onu capability interface1
Function This command shows the ONU capability.
Parameters Parameter interface1
Description
Value
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU capability: ZXAN#show gpon remote-onu capability gpon-onu_1/3/1:1 TCONT number:
6
GEMPort number:
32
Total priority queue number: 54 Up priority queue number:
48
15-202 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands Down priority queue number:
6
Traffic scheduler number:
6
Traffic management option:
priority controlled
Total UNI number:
9
Ethernet UNI number:
7
CES UNI number:
0
POTS UNI number:
2
Video UNI number:
1
WiFi UNI number:
0
IP host number:
(GE:3
FE:4)
2
VEIP number:
0
Operation Id:
N/A
CTC spc version:
N/A
ONU type:
N/A
Tx power supply control:
N/A
ZXAN#
Related Commands None
15.4.93 show gpon remote-onu cfm ma Syntax show gpon remote-onu cfm ma interface1 [number1 [number2 ] ]
Function This command shows the ONU CFM MA configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
MD ID
1–16
number2
MA ID
1–32
Mode All modes except user mode
Usage Guidelines None 15-203 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows the ONU CFM MA configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu cfm ma gpon-onu_1/3/1:1 MD index: 1 MA index: 1
Name(primary vid): 0 CCM interval:
100ms
Primary VLAN:
0
Normal VLANs: MHF creation: Sender ID:
defer defer
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.94 show gpon remote-onu cfm md Syntax show gpon remote-onu cfm md interface1 [number1 ]
Function This command shows the ONU CFM MD configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
MD ID
1–16
Mode All modes except user mode
Usage Guidelines None
15-204 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows the ONU CFM MD configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu cfm md gpon-onu_1/3/1:1 MD index: 1 Name: Level: 1 MHF creation: none Sender ID: none ZXAN(gpon-onu-mng)#
Related Commands None
15.4.95 show gpon remote-onu cfm mep Syntax show gpon remote-onu cfm mep interface1 [number1 [number2 ] ]
Function This command shows the Maintenance End Point (MEP) information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
MD ID
1–16
number2
MA ID
1–32
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the MEP information: ZXAN(gpon-onu-mng)#show gpon remote-onu cfm mep gpon-onu_1/3/1:1 MD index: 1 MA index: 1
15-205 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Port:
eth_0/1
MEP ID:
111
CCM:
enable
Y.1731 server: disable Direction:
down
Primary VLAN:
inherit from MA
Administrative state: unlock CCM<M priority:
7
Egress identifier:
default
RMEP IDs: 222 AIS:
disable
Fault alarm threshold: mode2(Alarm generated only by one of : MACstatus,RemoteCCM,ErrorCCM,XconCCM) Alarm declare soak time: 250 (unit:10ms) Alarm clear soak time:
1000 (unit:10ms)
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.96 show gpon remote-onu dhcp-ip Syntax show gpon remote-onu dhcp-ip ethuni interface1 [name1 ]
Function This command shows the DHCP IP address obtaining method of an Ethernet user port.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
15-206 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows the DHCP IP address obtaining method of an Ethernet user port: ZXAN#show gpon remote-onu dhcp-ip ethuni gpon-onu_1/3/1:1 eth_0/1 interface: eth_0/1 DHCP IP obtain contrl mode :no control ZXAN#
Related Commands None
15.4.97 show gpon remote-onu dhcp-option60 Syntax show gpon remote-onu dhcp-option60 interface1
Function This command shows the ONU DHCP option 60 configuration.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU DHCP option 60 configuration: ZXAN#show gpon remote-onu dhcp-option60 gpon-onu_1/3/1:1 Option60 status: disable ZXAN#
Related Commands None 15-207 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.98 show gpon remote-onu dot1p-map Syntax show gpon remote-onu dot1p-map flow interface1 [number1 ]
Function This command shows the 802.1p mapper configuration information.
Parameters Parameter
Description
Value
flow
Service flow
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
Service flow ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on the 802.1p mapper correlated with flow 1: ZXAN#show gpon remote-onu dot1p-map flow gpon-onu_1/3/1:1 1
Related Commands None
15.4.99 show gpon remote-onu dot1x Syntax show gpon remote-onu dot1x interface1
Function This command shows the ONU 802.1x configuration information.
15-208 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU 802.1x configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu dot1x gpon-onu_1/3/1:1 Circuit ID profix: Fllback policy:
allow
Auth server1: Share secret: Auth server2: Share secret: Auth server3: Share secret: Proxy:
0.0.0.0
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.100 show gpon remote-onu dot1x ethuni Syntax show gpon remote-onu dot1x ethuni interface1 [name1 ]
Function This command shows the 802.1x configuration information on an ONU UNI.
15-209 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu Ethernet port, format: eth_slot/port.
name1
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the 802.1x configuration information on an ONU UNI: ZXAN(gpon-onu-mng)#show gpon remote-onu dot1x ethuni gpon-onu_1/3/1:1 eth_0/1 Port:
eth_0/1
Dot1x state:
disable
Direction:
both
Quiet period:
0
Timeout period:
30
Key Tx state:
disable
Auth PAE State:
N/A
Back end auth state:N/A Ctrl port status:
N/A
Operate direction:
N/A
Reauth period
0
Reauth status:
disable
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.101 show gpon remote-onu equip Syntax show gpon remote-onu equip interface1
Function This command shows the ONU device information.
15-210 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU device information: ZXAN#show gpon remote-onu equip gpon-onu_1/3/1:1
Vendor ID:
ZTEG
Version:
V3.0
SN:
ZTEG00000001
Admin status:
unlock
Battery backup:
false
Security Mode:
aes
Product code:
0
TotalPrioQueueNum:
28
TotalTrafficSchNum:
7
TrafficMgmtOption:
priority-controlled
OperState:
enable
EquipID:
F627
OMCC Version:
a0
Security Capability: aes Model:
F627
Survival time:
N/A
TotalGemPortNum:
256
SysUpTime:
0
ZXAN#
Related Commands None
15-211 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.102 show gpon remote-onu ex-vlan Syntax show gpon remote-onu ex-vlan {[switchport ] ethuni interface1 [name1 ] |veip interface2 [num ber1 ] |wifi interface3 [name2 ] }
Function This command shows the extended VLAN tag configuration information on a specified layer 2 bridge port.
Parameters Parameter
Description
Value
switchport
Bridge port
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
veip
VEIP port
-
GPON ONU interface, format: gpon-
-
interface2
onu_shelf/slot/olt:onu number1
VEIP ID
1-255
wifi
WiFi port
-
interface3
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu WiFi port, format: wifi_slot/port
name2
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the extended VLAN tag configuration information on the layer 2 bridge port that is correlated with Ethernet port 0/1: ZXAN(gpon-onu-mng)#show gpon remote-onu ex-vlan ethuni gpon-onu_1/3/1:1 Uni:
eth_0/1
InputTPID:
0x8100
OutputTPID:
0x8100
DownMode:
inverse-upstream
15-212 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.4.103 show gpon remote-onu ex-vlan flow Syntax show gpon remote-onu ex-vlan flow interface1 [number1 ]
Function This command shows the extended VLAN tag configuration information on a specified service flow.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu Service flow ID
number1
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the extended VLAN tag configuration information on service flow 1: ZXAN(gpon-onu-mng)#show gpon remote-onu ex-vlan flow gpon-onu_1/3/1:1 1 Flow ID:
1
InputTPID:
0x8100
OutputTPID:
0x8100
DownMode:
inverse-upstream
ZXAN(gpon-onu-mng)#
Related Commands None
15-213 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.104 show gpon remote-onu ex-vlan-table Syntax show gpon remote-onu ex-vlan-table {wifi interface1 [name1 ] |[switchport ] ethuni interface2 [name2 ] |veip interface3 [number1 ] } [rule name3 ]
Function This command shows the extended VLAN mapping item configuration on a layer 2 bridge port.
Parameters Parameter
Description
Value
wifi
WiFi port
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
WiFi port, format: wifi_slot/port
1–31 characters
switchport
Bridge port
-
interface2
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name2
Ethernet port, format: eth_slot/port
1–31 characters
veip
VEIP port
-
interface3
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
VEIP ID
1–255
name3
Rule profile name
1–63 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the extended VLAN mapping item configuration on the layer 2 bridge port that is correlated with Ethernet port 0/1: ZXAN#show gpon remote-onu ex-vlan-table ethuni gpon-onu_1/3/1:1 eth_0/1 Uni:
eth_0/1
Filter:
840_5
Treat:
700_6
15-214 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.4.105 show gpon remote-onu ex-vlan-table flow Syntax show gpon remote-onu ex-vlan-table flow interface1 [flow number1 [name1 ] ]
Function This command shows the extended VLAN mapping item configuration on a specified service flow.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
Service flow ID
1–255
name1
Rule profile name
1–64 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the extended VLAN mapping item configuration on a specified service flow: ZXAN(gpon-onu-mng)#show gpon remote-onu ex-vlan-table flow gpon-onu_1/3/1:1 flow 1 Flow ID:
1
Filter:
single-tag-vid100
Treat:
add-outer-vid200
ZXAN(gpon-onu-mng)#
Related Commands None
15-215 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.106 show gpon remote-onu firewall Syntax show gpon remote-onu firewall interface1
Function This command shows the ONU firewall configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU firewall configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu firewall gpon-onu_1/3/1:1 State:enable Level:low Anti-hacking protection:disable ZXAN(gpon-onu-mng)#
Related Commands None
15.4.107 show gpon remote-onu firewall ip-filter Syntax show gpon remote-onu firewall ip-filter interface1 [number1 ]
Function This command shows the IP filtering configuration information on the ONU firewall.
15-216 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter interface1
Description
Value
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
IP filtering ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the IP filtering configuration information on the ONU firewall: ZXAN(gpon-onu-mng)#show gpon remote-onu firewall ip-filter gpon-onu_1/3/1:1
Related Commands None
15.4.108 show gpon remote-onu firewall mac-filter Syntax show gpon remote-onu firewall mac-filter interface1 [number1 ]
Function This command shows the MAC filtering configuration information on the ONU firewall.
Parameters Parameter interface1
Description
Value
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
MAC filtering ID
1–255
Mode All modes except user mode
Usage Guidelines None 15-217 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows the MAC filtering configuration information on the ONU firewall: ZXAN(gpon-onu-mng)#show gpon remote-onu firewall mac-filter gpon-onu_1/3/1:1
Related Commands None
15.4.109 show gpon remote-onu firewall mac-filter-table Syntax show gpon remote-onu firewall mac-filter-table interface1
Function This command shows the MAC filtering table configuration information on the ONU firewall.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the MAC filtering table configuration information on the ONU firewall: ZXAN(gpon-onu-mng)#show gpon remote-onu firewall mac-filter-table gpon-onu_1/3/1:1 State:disable Mode:permit ZXAN(gpon-onu-mng)#
Related Commands None 15-218 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.110 show gpon remote-onu firewall port-forward Syntax show gpon remote-onu firewall port-forward interface1 [number1 ]
Function This command shows the forward filtering configuration information on the ONU firewall.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu Forward port ID
number1
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the forward filtering configuration information on the ONU firewall: ZXAN(gpon-onu-mng)#show gpon remote-onu firewall port-forward gpon-onu_1/3/1:1 ID:
1
State:
disable
IP Host: 1 Protocol:tcp WAN IP:
not filter
WAN port:1-65535 LAN
MAC:1111.1111.1111
LAN port:1-65535
ZXAN(gpon-onu-mng)#
Related Commands None
15-219 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.111 show gpon remote-onu flow Syntax show gpon remote-onu flow interface1 [flow number1 ]
Function This command shows the flow information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu Service flow ID
number1
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the flow information on ONU 1 under port 1 in slot 3 of shelf 0: ZXAN(config)#show gpon remote-onu flow gpon-onu_1/3/1:1 Flow ID:
1
Interface:
switch_0/1
Tag filter:
transparent
Untag filter
transparent
Flow ID:
255
Interface:
Down multicast :switch_0/1
Tag filter:
vid-filter
Untag filter
discard
Related Commands None
15.4.112 show gpon remote-onu gemport Syntax show gpon remote-onu gemport interface1 [traffic-limit ] [queue-map ] [number1 ] 15-220 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command shows the GEM port information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu traffic-limit
GEM port rate limiting information
-
queue-map
GEM port queue mapping information
-
number1
GEM port ID
1–256
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the GEM port information: ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_1/3/1:1 1 Gemport:
1
Traffic limit: ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_0/3/1:1 queue-map 1 Gemport ID:
1
Upstream queue map(prio-gt;queue):0-gt;3 1-gt;3 2-gt;3 3-gt;3 4-gt;3 5-gt;3 6-gt;3 7-gt;3 Downstream queue:
0
UNI name:
eth_0/1
Related Commands None
15.4.113 show gpon remote-onu igmp Syntax show gpon remote-onu igmp {ethuni interface1 [name1 ] |veip interface2 [number1 ] }
Function This command shows the ONU multicast configuration information. 15-221 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ethuni
Ethernet port
-
GPON ONU interface, format:
-
interface1
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
veip
VEIP port
-
interface2
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu VEIP port number
number1
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU multicast configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu igmp ethuni gpon-onu_1/3/1:1
Interface:
eth_0/1
Max-groups:
0
Max-bandwidth:
0
Bandwidth-enforce: enable Profile:
N/A
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.114 show gpon remote-onu igmp monitor Syntax show gpon remote-onu igmp monitor [dynamic-group ] {ethuni interface1 [name1 ] |veip inter face2 [number1 ] }
Function This command shows the ONU multicast monitoring configuration information. 15-222 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
dynamic-group
Dynamic group
-
ethuni
Ethernet port
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
veip
VEIP port
-
interface2
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
VEIP port number
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU multicast monitoring configuration information: ZXAN#show gpon remote-onu igmp monitor ethuni gpon-onu_1/3/1:1 Interface: eth_0/1 Current multicast bandwidth:0(kbps) Join message counter:0 Bandwidth exceeded counter:0 ZXAN(gpon-onu-mng)#
Related Commands None
15.4.115 show gpon remote-onu interface ces Syntax show gpon remote-onu interface ces interface1 [name1 ]
Function This command shows the CES user port properties.
15-223 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
CES port, format: ces_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the CES user port properties: ZXAN#show gpon remote-onu interface ces gpon-onu_1/3/1:1
Related Commands None
15.4.116 show gpon remote-onu interface eth Syntax show gpon remote-onu interface eth interface1 [name1 ]
Function This command shows the Ethernet user port properties.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None 15-224 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows the properties of Ethernet user port eth_0/1: ZXAN(gpon-onu-mng)#show gpon remote-onu interface eth gpon-onu_1/3/1:1 eth_0/1 Interface:
eth_0/1
Speed status:
N/A
Operate status:N/A Admin status:
lock
Arc:
0
Arc-interval
0
Expect-type:
242
Speed config:
auto
Eth-loop:
disable
Max-frame:
1632
Pause-time:
0
Wiring :
dce
BridgeOrIP:
either
PPPOE-filter:
disable
Power-control: disable ZXAN(gpon-onu-mng)#
Related Commands None
15.4.117 show gpon remote-onu interface pon Syntax show gpon remote-onu interface pon interface1 [name1 ]
Function This command shows the PON port properties.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
PON port format: pon_slot/port
1–31 characters
Mode All modes except user mode
15-225 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the PON port properties: ZXAN#show gpon remote-onu interface pon gpon-onu_1/3/1:1
Related Commands None
15.4.118 show gpon remote-onu interface pots Syntax show gpon remote-onu interface pots interface1 [name1 ]
Function This command shows the Plain Old Telephone Service (POTS) user port properties.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu POTS port, format: pots_slot/port
name1
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the POTS user port properties: ZXAN#show gpon remote-onu interface pots gpon-onu_1/3/1:1 pots_0/1 Interface:
pots_0/1
Admin status:
unlock
Operate status:N/A HookState:
N/A
Arc:
0
Arc-interval:
0
15-226 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands Impedance :
0
Tx-path:
fulltimeOnHook
Rx-gain:
+0.0(db)
Tx-gain:
+0.0(db)
ZXAN#
Related Commands None
15.4.119 show gpon remote-onu interface video Syntax show gpon remote-onu interface video interface1 [name1 ]
Function This command shows the video user port properties.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Video port, format: video_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the video user port properties: ZXAN#show gpon remote-onu interface video gpon-onu_1/3/1:1
Related Commands None
15-227 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.120 show gpon remote-onu interface video-ani Syntax show gpon remote-onu interface video-ani interface1
Function This command shows the video ANI port properties.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the video ANI port properties: ZXAN#show gpon remote-onu interface video-ani gpon-onu_1/3/1:1 Admin status:
unlock
Operate status:
disabled
ARC:
disabled
ARC-interval:
0(min)
Frequency range low:
noLowBand
Frequency range high:
noHighBand
Signal capability:
noCapability
Optical signal level:
N/A(dBm)
Pilot signal level:
N/A(dBuV)
Signal level min:
-30.0(dBm)
Signal level max:
-30.0(dBm)
Pilot frequency:
0(Hz)
AGC mode:
disable
AGC setting:
N/A(dB)
Video lower optical threshold: -9.5(dBm) Video upper optical threshold: +2.5(dBm) ZXAN#
15-228 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.4.121 show gpon remote-onu interface wifi Syntax show gpon remote-onu interface wifi interface1 [name1 ]
Function This command shows the WiFi port properties.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
WiFi port, format: wifi_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the WiFi port properties: ZXAN#show gpon remote-onu interface wifi gpon-onu_1/3/1:1
Related Commands None
15.4.122 show gpon remote-onu ip route Syntax show gpon remote-onu ip route interface1
Function This command shows the ONU static route configuration information. 15-229 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU static route configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu ip route gpon-onu_1/3/1:1 subnet
subnetmask
nexthop
output-port
------------------------------------------------------------131.108.0.0
255.255.0.0
131.108.6.6
255
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.123 show gpon remote-onu ip-host Syntax show gpon remote-onu ip-host interface1 [number1 ]
Function This command shows the configuration information on the ONU host IP address.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
IP host ID
1–255
Mode All modes except user mode 15-230 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows the configuration information on the ONU host IP address: ZXAN#show gpon remote-onu ip-host gpon-onu_1/3/1:1 1 host id:
1;
hostName:
;
identify:
test;
ip:
10.1.1.1;
mask:
255.255.255.0;
gateway:
10.61.54.254;
primary DNS:
192.168.1.1;
second DNS:
192.168.1.10;
dhcp-enable:
true;
ping-response:
true;
traceroute-response:true; mac:
00:00:00:00:00:00;
curIp:
0.0.0.0;
curMask:
0.0.0.0;
curGateway:
0.0.0.0;
curPriDNS:
0.0.0.0;
curSecDNS:
0.0.0.0;
domainName:
;
Related Commands None
15.4.124 show gpon remote-onu ip-service-map Syntax show gpon remote-onu ip-service-map interface1 [number1 ]
Function This command shows the mapping information between an IP address and a service.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
Service ID
1–24
15-231 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the mapping information between an IP address and a service: ZXAN(gpon-onu-mng)#show gpon remote-onu ip-service-map gpon-onu_1/3/1:1 Service id:
1
host id:
1
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.125 show gpon remote-onu lct Syntax show gpon remote-onu lct interface1
Function This command shows the configuration information on the ONU local maintenance terminal function.
Parameters Parameter interface1
Description
Value
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on the ONU local maintenance terminal function: 15-232 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands ZXAN(gpon-onu-mng)#show gpon remote-onu lct gpon-onu_1/3/1:1 LCT state: enable ZXAN(gpon-onu-mng)#
Related Commands None
15.4.126 show gpon remote-onu loid Syntax show gpon remote-onu loid interface1
Function This command shows the ONU LOID information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU LOID information. ZXAN#show gpon remote-onu loid gpon-onu_1/3/1:1
Related Commands None
15.4.127 show gpon remote-onu loop-detect Syntax show gpon remote-onu loop-detect ethuni interface1 [name1 ]
15-233 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command shows the configuration information on the ONU UNI loop detection function.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu Ethernet port, format: eth_slot/port.
name1
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on the ONU UNI loop detection function: ZXAN(gpon-onu-mng)#show gpon remote-onu loop-detect ethuni gpon-onu_1/3/1:1 eth_0/1 Interface:
eth_0/1
Loop detect: enable ZXAN(gpon-onu-mng)#
Related Commands None
15.4.128 show gpon remote-onu loopback Syntax show gpon remote-onu loopback interface1
Function This command shows the configuration information on the ONU loop-back function.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu 15-234 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on the ONU loop-back function: ZXAN(gpon-onu-mng)#show gpon remote-onu loopback gpon-onu_1/3/1:1 Loopback status: disable ZXAN(gpon-onu-mng)#
Related Commands None
15.4.129 show gpon remote-onu mac uni Syntax show gpon remote-onu mac uni interface1 [name1 ]
Function This command shows the ONU UNI MAC address.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU UNI MAC address: ZXAN#show gpon remote-onu mac uni gpon-onu_1/3/1:1
15-235 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.4.130 show gpon remote-onu mac-filter Syntax show gpon remote-onu mac-filter {ethuni interface1 name1 |flow interface2 number1 |iphost interface3 number2 } [hexadecimal1 ]
Function This command shows the MAC address filtering configuration information on the layer 2 bridge port.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
interface2
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
Service flow ID
1–255
interface3
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number2
IP host ID
1–255
hexadecimal1
MAC address
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the MAC address filtering configuration information on the layer 2 bridge port correlated with Ethernet port 0/1: ZXAN(gpon-onu-mng)#show gpon remote-onu mac-filter ethuni gpon-onu_1/3/1:1 eth_0/1 Interface:
eth_0/1
MAC-address:
1111.1111.1111
Filter mode:
forward
15-236 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands Match mode:
destination MAC
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.131 show gpon remote-onu mgc Syntax show gpon remote-onu mgc interface1 [number1 ]
Function This command shows the ONU MGC configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
MGC IDd
1–65535
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU MGC configuration information: ZXAN(config)#show gpon remote-onu mgc gpon-onu_1/3/1:1
Related Commands None
15.4.132 show gpon remote-onu mirror Syntax show gpon remote-onu mirror ethuni interface1 [name1 ]
15-237 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command shows the ONU mirroring configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu Ethernet port, format: eth_slot/port.
name1
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU mirroring configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu mirror ethuni gpon-onu_1/3/1:1 interface: eth_0/1 mirror gemport :
1
direction
both
:
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.133 show gpon remote-onu multicast vlan Syntax show gpon remote-onu multicast vlan interface1
Function This command shows the configuration information on the ONU multicast VLAN.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu 15-238 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on the ONU multicast VLAN: ZXAN(gpon-onu-mng)#show gpon remote-onu multicast vlan gpon-onu_1/3/1:1 multicast vlan:
333
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.134 show gpon remote-onu multicast vlan port Syntax show gpon remote-onu multicast vlan port interface1
Function This command shows the ONU multicast VLAN stripping and translation information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU multicast VLAN stripping and translation information: ZXAN(gpon-onu-mng)#show gpon remote-onu multicast vlan port gpon-onu_1/3/1:1 EthPort
Stripped
TransList
15-239 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ------------------------------------------------------------eth_0/1
not-stripped
N/A
eth_0/2
not-stripped
N/A
eth_0/3
not-stripped
N/A
eth_0/4
stripped
N/A
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.135 show gpon remote-onu onu-vlan ethuni Syntax show gpon remote-onu onu-vlan ethuni interface1 [name1 ]
Function This command shows the VLAN configuration information on an ONU Ethernet UNI.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the VLAN configuration information on an ONU Ethernet UNI: ZXAN#show gpon remote-onu onu-vlan ethuni gpon-onu_1/3/1:1
Related Commands None
15-240 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.136 show gpon remote-onu onu-vlan iphost Syntax show gpon remote-onu onu-vlan iphost interface1 [number1 ]
Function This command shows the VLAN configuration information on an ONU IP host.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
IP host ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on an ONU IP host: ZXAN#show gpon remote-onu onu-vlan iphost gpon-onu_1/3/1:1
Related Commands None
15.4.137 show gpon remote-onu onu-vlan wifi Syntax show gpon remote-onu onu-vlan wifi interface1 [name1 ]
Function This command shows the VLAN configuration information on an ONU WiFi port.
15-241 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
WiFi port format: wifi_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the VLAN configuration information on an ONU WiFi port: ZXAN#show gpon remote-onu onu-vlan wifi gpon-onu_1/3/1:1
Related Commands None
15.4.138 show gpon remote-onu performance call-ctrl Syntax show gpon remote-onu performance call-ctrl [history ] interface1 [name1 ]
Function This command shows the ONU call control performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
Mode All modes except user mode
15-242 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows the ONU call control performance statistics data: ZXAN#show gpon remote-onu performance call-ctrl gpon-onu_1/3/1:1
Related Commands None
15.4.139 show gpon remote-onu performance cesuni Syntax show gpon remote-onu performance cesuni [history ] interface1 [name1 ]
Function This command shows the ONU CES performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
CES port, format: ces_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU CES performance statistics data: ZXAN#show gpon remote-onu performance cesuni gpon-onu_0/3/1:1
Related Commands None 15-243 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.140 show gpon remote-onu performance dot1x ethuni Syntax show gpon remote-onu performance dot1x ethuni [history ] interface1 [name1 ]
Function This command shows the ONU Ethernet UNI 802.1x performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU Ethernet UNI 802.1x performance statistics data: ZXAN#show gpon remote-onu performance dot1x ethuni gpon-onu_0/3/1:1 eth_0/1
Related Commands None
15.4.141 show gpon remote-onu performance ethuni Syntax show gpon remote-onu performance ethuni [history ] [{detailed |downstream |upstream } ] interface1 [name1 ]
Function This command shows the ONU Ethernet performance statistics data.
15-244 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
detailed
Detailed statistics type
-
downstream
Downstream statistics
-
upstream
Upstream statistics
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU Ethernet performance statistics data: ZXAN#show gpon remote-onu performance ethuni gpon-onu_0/3/1:1 eth_0/1
Related Commands None
15.4.142 show gpon remote-onu performance fec Syntax show gpon remote-onu performance fec [history ] interface1
Function This command shows the ONU FEC performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu
15-245 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU FEC performance statistics data: ZXAN#show gpon remote-onu performance fec gpon-onu_0/3/1:1
Related Commands None
15.4.143 show gpon remote-onu performance flow Syntax show gpon remote-onu performance flow [history ] interface1 [number1 ]
Function This command shows the ONU service flow performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
Service flow ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU service flow performance statistics data: ZXAN#show gpon remote-onu performance flow gpon-onu_0/3/1:1 1
15-246 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Related Commands None
15.4.144 show gpon remote-onu performance gal-eth Syntax show gpon remote-onu performance gal-eth [history ] interface1 [number1 ]
Function This command shows the ONU GAL performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
GEM port ID
1–256
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU GAL performance statistics data: ZXAN#show gpon remote-onu performance gal-eth gpon-onu_0/3/1:1 1
Related Commands None
15.4.145 show gpon remote-onu performance gem Syntax show gpon remote-onu performance gem [history ] interface1 [number1 ]
Function This command shows the ONU MGC performance statistics data. 15-247 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
GEM port ID
1–256
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU GEM port performance statistics data: ZXAN#show gpon remote-onu performance mgc gpon-onu_0/3/1:1 1
Related Commands None
15.4.146 show gpon remote-onu performance iphost Syntax show gpon remote-onu performance iphost [history ] interface1 [number1 ]
Function This command shows the ONU IP host performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
IP host ID
1–255
Mode All modes except user mode 15-248 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows the ONU IP host performance statistics data: ZXAN#show gpon remote-onu performance iphost gpon-onu_1/3/1:1 1
Related Commands None
15.4.147 show gpon remote-onu performance mgc Syntax show gpon remote-onu performance mgc [history ] interface1 [number1 ]
Function This command shows the ONU MGC performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
MGC ID
1–65535
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU MGC performance statistics data: ZXAN#show gpon remote-onu performance mgc gpon-onu_1/3/1:1 1
Related Commands None 15-249 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.148 show gpon remote-onu performance multicast Syntax show gpon remote-onu performance multicast [history ] interface1 [{[ethuni name1 ] [vlan nu mber1 ] } ]
Function This command shows the ONU multicast performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
number1
VLAN ID
1–4095
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU multicast performance statistics data: ZXAN#show gpon remote-onu performance multicast gpon-onu_0/3/1:1 ethuni eth_0/1
Related Commands None
15.4.149 show gpon remote-onu performance radius Syntax show gpon remote-onu performance radius [history ] interface1
Function This command shows the ONU RADIUS performance statistics data.
15-250 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU RADIUS performance statistics data: ZXAN#show gpon remote-onu performance radius gpon-onu_0/3/1:1
Related Commands None
15.4.150 show gpon remote-onu performance rtp Syntax show gpon remote-onu performance rtp [history ] interface1 [name1 ]
Function This command shows the ONU RTP performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
Mode All modes except user mode
15-251 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the ONU RTP performance statistics data: ZXAN#show gpon remote-onu performance rtp gpon-onu_0/3/1:1
Related Commands None
15.4.151 show gpon remote-onu performance sip-agent Syntax show gpon remote-onu performance sip-agent [history ] interface1 [number1 ]
Function This command shows the ONU SIP agent performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
SIP client ID
1–65535
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU SIP agent performance statistics data: ZXAN#show gpon remote-onu sip-agent gpon-onu_0/3/1:1 1
Related Commands None 15-252 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.152 show gpon remote-onu performance sip-call-init Syntax show gpon remote-onu performance sip-call-init [history ] interface1 [number1 ]
Function This command shows the performance statistics data on ONU SIP call initiation.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
SIP client ID
1–65535
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the performance statistics data on ONU SIP call initiation: ZXAN#show gpon remote-onu performance sip-call-init gpon-onu_0/3/1:1 1
Related Commands None
15.4.153 show gpon remote-onu performance switch Syntax show gpon remote-onu performance switch [history ] interface1 [name1 ]
Function This command shows the ONU bridge port statistics data.
15-253 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Bridge port, format: switch_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU bridge port statistics data: ZXAN#show gpon remote-onu performance switch gpon-onu_0/3/1:1 switch_0/1
Related Commands None
15.4.154 show gpon remote-onu performance switchport ethuni Syntax show gpon remote-onu performance switchport ethuni [history ] interface1 [name1 ]
Function This command shows the ONU UNI bridge port statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode 15-254 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows the ONU UNI bridge port statistics data: ZXAN#show gpon remote-onu performance switchport ethuni gpon-onu_0/3/1:1 eth_0/1
Related Commands None
15.4.155 show gpon remote-onu performance switchport iphost Syntax show gpon remote-onu performance switchport iphost [history ] interface1 [number1 ]
Function This command shows the IP host bridge port performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
IP host ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the IP host bridge port performance statistics data: ZXAN#show gpon remote-onu performance switchport iphost gpon-onu_1/3/1:1 1
Related Commands None 15-255 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.156 show gpon remote-onu performance vlan Syntax show gpon remote-onu performance vlan [history ] interface1 [ethuni name1 number1 ]
Function This command shows the ONU VLAN performance statistics data.
Parameters Parameter
Description
Value
history
History 15-minute statistics
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
number1
VLAN ID
1–4095
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU VLAN performance statistics data: ZXAN#show gpon remote-onu performance vlan gpon-onu_0/3/1:1
Related Commands None
15.4.157 show gpon remote-onu performance voice Syntax show gpon remote-onu performance voice [history ] interface1 [name1 ]
Function This command shows the performance statistics data of an IP host bridge port.
15-256 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
history
History statistics data
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu POTS port, format: pots_slot/port
name1
1–31 characters
Mode All modes except user mode
Usage Guidelines When the voice port parameter is specified, this command shows the statistics data on a port. Otherwise, it shows the global statistics data.
Examples The following example shows the ONU global voice quality performance statistics data: ZXAN#show gpon remote-onu performance switchport iphost gpon-onu_0/3/1:1 1
Related Commands None
15.4.158 show gpon remote-onu pkt-filter Syntax show gpon remote-onu pkt-filter {ethuni interface1 name1 |flow interface2 number1 |iphost in terface3 number2 }
Function This command shows the packet filtering configuration information on a layer 2 bridge.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
interface2
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
Service flow ID
1–255
15-257 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
interface3
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu IP host ID
number2
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the packet filtering configuration information on layer 2 bridge port correlated with Ethernet port 0/1: ZXAN(config)#show gpon remote-onu pkt-filter ethuni gpon-onu_1/3/1:1 eth_0/1 Interface:
eth_0/1
IPv4multicast :forward
IPv6multicast: forward
IPv4broadcast: forward
Rarp:
forward
IPx :
forward
NetBEUI:
forward
AppleTalk:
forward
bpdu :
forward
Arp :
forward
PPPOE :
forward
Related Commands None
15.4.159 show gpon remote-onu port-map Syntax show gpon remote-onu port-map interface1 [slot number1 ]
Function This command shows the ONU port information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
Slot number
0–255
15-258 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU port information: ZXAN#show gpon remote-onu port-map gpon-onu_0/3/1:1
Related Commands None
15.4.160 show gpon remote-onu power-shedding Syntax show gpon remote-onu power-shedding interface1
Function This command shows the ONU energy conservation configuration information.
Parameters Parameter interface1
Description
Value
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU energy conservation configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu power-shedding gpon-onu_1/3/1:1 Restore power timer reset interval
0s
Data shedding interval
100s
Voice shedding interval
disable
Video overlay shedding interval
disable
15-259 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Video return shedding interval
disable
DSL shedding interval
disable
ATM shedding interval
disable
CES shedding interval
disable
Frame shedding interval
disable
Sonet shedding interval
disable
Shedding status: Data class
restore
Voice class
restore
Video overlay class
restore
Video return class
restore
DSL class
restore
ATM class
restore
CES class
restore
Frame class
restore
Sonet class
restore
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.161 show gpon remote-onu pppoe Syntax show gpon remote-onu pppoe interface1 [number1 ]
Function This command shows the ONU PPPoE configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
IP host ID
1–255
Mode All modes except user mode
Usage Guidelines None 15-260 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows the ONU PPPoE configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu pppoe gpon-onu_1/3/1:1 1 hostid: NAT:
1 disable
Mode:
auto
Connect:
manual
Release timer:
1200 (s)
Username: Password: Status:
unconfigured
Online duration:
0 (s)
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.162 show gpon remote-onu pw Syntax show gpon remote-onu pw interface1 [name1 ]
Function This command shows the PW configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
CES port, format: ces_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the PW configuration information: ZXAN#show gpon remote-onu pw gpon-onu_1/3/1:1 ces_0/1
15-261 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.4.163 show gpon remote-onu schedule Syntax show gpon remote-onu schedule interface1 [name1 ]
Function This command shows the Ethernet port scheduling configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the Ethernet port scheduling configuration information: 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:
Related Commands None
15-262 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.164 show gpon remote-onu security-ctrl Syntax show gpon remote-onu security-ctrl interface1
Function This command shows the ONU security enhancement control configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU security enhancement control configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu security-ctrl gpon-onu_0/3/1:1 Security-ctrl state: disable Psk: Olt supported crypto: AES-CMAC-128, HMAC-SHA-256, HMAC-SHA-512 Ont selected crypto: NONE Ont authen state: Inactive Ont key name: 00000000000000000000000000000000 ZXAN(gpon-onu-mng)#
Related Commands None
15.4.165 show gpon remote-onu security-mng Syntax show gpon remote-onu security-mng interface1 [number1 ]
15-263 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command shows the ONU security management information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
Service ID
1–65535
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU security management information: ZXAN(gpon-onu-mng)#show gpon remote-onu security-mng gpon-onu_1/3/1:1 Service control index:
1
State:
disable
Control mode:
permit
Service list:
Web FTP Telnet
Ingress type:
WAN
Start source IP:
0.0.0.0
End source IP:
0.0.0.0
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.166 show gpon remote-onu service Syntax show gpon remote-onu service interface1 [name1 ]
Function This command shows the mapping relations between the ONU PON service flows and user ports as well as GEM ports.
15-264 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Service name
1–32 characters
Mode All modes except user mode
Usage Guidelines l l
This command supports creation, deletion, but does not support modification. This command is a simplified command and conflicts with the old configuration methods, such as the flow and gemport flow configuration.
Examples The following example shows the mapping relations between the ONU PON service flows and the user port and GEM port: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#service 1 gemport 1
Related Commands None
15.4.167 show gpon remote-onu sip-agent Syntax show gpon remote-onu sip-agent interface1 [number1 ]
Function This command shows the SIP client configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
SIP client ID
1–65535
Mode All modes except user mode 15-265 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the SIP client configuration information: ZXAN#show gpon remote-onu sip-agent gpon-onu_1/3/1:1 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 : regUserName:
4.4.4.4; aaa;
regPassword:
aaa;
tcpudpPort:
21;
regExpTime :
3600;
reRegStartTime: ssVendor: status:
1223; ZTE; NA;
Related Commands None
15.4.168 show gpon remote-onu sip-service Syntax show gpon remote-onu sip-service interface1 [name1 ]
Function This command shows the POTS SIP configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
Mode All modes except user mode
15-266 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines This service can be configured when the VoIP protocol is SIP, and the correlated SIP profile needs to be created first.
Examples The following example shows the POTS SIP configuration information: ZXAN(confg-gpon)#show gpon remote-onu sip-service gpon-onu_1/3/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
15.4.169 show gpon remote-onu sip-user Syntax show gpon remote-onu sip-user interface1 [name1 ]
Function This command shows the SIP user information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
Mode All modes except user mode
15-267 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the SIP user information: ZXAN#show gpon remote-onu sip-user gpon-onu_1/3/1:1
Uni name:
pots_0/1
Agent id :
1
UserAOR:
zte
DisplayName: UserName: Password: VMailServer: VMailValidate:
disable
VMailUserName: VMailPassword: VMailRealm: VMailExpTime(s):
3600
ReleaseTime(s):
10
RohTime(s):
15
DialPlanTableName: ServiceProfileId:
0
FeatureCodeTableId:
0
ZXAN#
Related Commands None
15.4.170 show gpon remote-onu sntp Syntax show gpon remote-onu sntp interface1
Function This command shows the ONU time configuration information.
15-268 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU time configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu sntp gpon-onu_1/3/1:1 Time Zone:
GMT-02:00
Master Time Server: 10.63.10.1 Slave Time Server: 10.63.10.2 Interval: 86400 Daylight Saving Time: disabled DSCP: 0 ZXAN(gpon-onu-mng)#
Related Commands None
15.4.171 show gpon remote-onu ssid info Syntax show gpon remote-onu ssid info interface1 [name1 ]
Function This command shows the ONU WiFi port configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
WiFi port, format: wifi_slot/port
1–31 characters
15-269 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU WiFi port configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu ssid info gpon-onu_1/3/1:1 wifi_0/1 Interface: wifi_0/1 Name: MAC: N/A Hide: disable User isolation: enable Max users: 32 Current users: N/A Authentication algorithm: WPA-PSK/WPA2-PSK Encryption: TKIP and AES Key: by ONU default Key update interval: 600s ZXAN(gpon-onu-mng)#
Related Commands None
15.4.172 show gpon remote-onu switch Syntax show gpon remote-onu switch interface1 [name1 ]
Function This command shows the layer 2 bridge configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Bridge port, format: switch_slot/port
1–31 characters
15-270 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the layer 2 bridge configuration information: ZXAN#show gpon remote-onu switch gpon-onu_1/3/1:1 switch_0/1
Related Commands None
15.4.173 show gpon remote-onu switchport Syntax show gpon remote-onu switchport {ethuni interface1 [name1 ] |flow interface2 [number1 ] |iph ost interface3 [number2 ] |wifi interface4 [name2 ] |veip interface5 [number3 ] }
Function This command shows the configuration information on a layer 2 bridge port.
Parameters Parameter
Description
Value
ethuni
Ethernet port
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
flow
Service flow
-
interface2
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
Service flow ID
1–255
iphost
IP host
-
interface3
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number2
IP host ID
1–255
wifi
WiFi port
-
15-271 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
interface4
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name2
WiFi port, format: wifi_slot/port
1–31 characters
veip
VEIP port
-
interface5
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number3
VEIP ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on the layer 2 bridge port that is correlated with Ethernet port 0/1: ZXAN#show gpon remote-onu switchport ethuni gpon-onu_1/3/1:1 eth_0/1
Related Commands None
15.4.174 show gpon remote-onu test-result call Syntax show gpon remote-onu test-result call interface1 name1
Function This command shows the ONU language test result.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
15-272 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU language test result: ZXAN#show gpon remote-onu test-result call gpon-onu_1/3/1:1 pots_0/1
Related Commands None
15.4.175 show gpon remote-onu test-result iphost Syntax show gpon remote-onu test-result iphost interface1 number1
Function This command shows the ONU IP host test result.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
IP host ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU IP host test result: ZXAN#show gpon remote-onu test-result iphost gpon-onu_0/3/1:1 1
Related Commands None 15-273 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.176 show gpon remote-onu test-result ipoe Syntax show gpon remote-onu test-result ipoe interface1 name1
Function This command shows the ONU Internet Protocol over Ethernet (IPoE) test result.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU IPoE test result: ZXAN#show gpon remote-onu test-result ipoe gpon-onu_0/3/1:1 eth_0/1
Related Commands None
15.4.177 show gpon remote-onu test-result iptv Syntax show gpon remote-onu test-result iptv interface1 name1
Function This command shows the ONU Internet Protocol Television (IPTV) test result.
15-274 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU IPTV test result: ZXAN#show gpon remote-onu test-result iptv gpon-onu_0/3/1:1 eth_0/1
Related Commands None
15.4.178 show gpon remote-onu test-result mep Syntax show gpon remote-onu test-result mep interface1 number1 number2
Function This command shows the ONU MEP test result.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
MD ID
1–16
number2
MA ID
1–32
Mode All modes except user mode
15-275 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the ONU MEP test result: ZXAN#show gpon remote-onu test-result mep gpon-onu_1/3/1:1 1 1
Related Commands None
15.4.179 show gpon remote-onu test-result mep lm-dm Syntax show gpon remote-onu test-result mep lm-dm interface1 number1 number2
Function This command shows the ONU MEP LM-DM test result.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
MD ID
1–16
number2
MA ID
1–32
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU MEP LM-DM test result: ZXAN#show gpon remote-onu test-result mep lm-dm gpon-onu_1/3/1:1 1 1
Related Commands None 15-276 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.180 show gpon remote-onu test-result potsuni Syntax show gpon remote-onu test-result potsuni interface1 name1
Function This command shows the ONU POTS test result.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU POTS test result: ZXAN#show gpon remote-onu test-result potsuni gpon-onu_0/3/1:1 pots_0/1
Related Commands None
15.4.181 show gpon remote-onu test-result pppoe Syntax show gpon remote-onu test-result pppoe interface1 name1
Function This command shows the ONU PPPoE test result.
15-277 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter interface1
Description
Value
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU PPPoE test result: ZXAN#show gpon remote-onu test-result pppoe gpon-onu_0/3/1:1 eth_0/1
Related Commands None
15.4.182 show gpon remote-onu tr069-mgmt Syntax show gpon remote-onu tr069-mgmt interface1 [number1 ]
Function This command shows the ONU TR069 management and configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
VEIP ID
1–255
Mode All modes except user mode
Usage Guidelines None 15-278 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows the ONU TR069 management and configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu tr069-mgmt gpon-onu_1/3/1:1 VEIP ID:
1
Admin status:
lock
ACS: Validation scheme: disable Tag:
priority : 7, vlan : 4095
ZXAN(gpon-onu-mng)#
Related Commands None
15.4.183 show gpon remote-onu traffic-limit Syntax show gpon remote-onu traffic-limit interface1 [name1 ]
Function This command shows the ONU rate limiting information.
Parameters Parameter interface1
Description
Value
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port.
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU rate limiting information: ZXAN#show gpon remote-onu traffic-limit gpon-onu_1/3/1:1
Related Commands None 15-279 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.184 show gpon remote-onu up-queue-map Syntax show gpon remote-onu up-queue-map flow interface1 [number1 ]
Function This command shows the mapping relations between the 802.1p services on the uplink bridge port and the upstream priority queues.
Parameters Parameter
Description
Value
flow
Service flow
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu Service flow ID
number1
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the mapping relations between the 802.1p services on the uplink bridge port and the upstream priority queues: ZXAN(gpon-onu-mng)#show gpon remote-onu up-queue-map flow gpon-onu_1/3/1:1 1 Flow ID
Priority : Queue
--------------------------------------------------------------1 0:null 1:7 2:null 3:null 4:null 5:null 6:null 7:null
Related Commands None
15.4.185 show gpon remote-onu veip Syntax show gpon remote-onu veip interface1 [number1 ]
15-280 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command shows the configuration information on a virtual Ethernet interface.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
VEIP ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the configuration information on a virtual Ethernet interface: ZXAN(gpon-onu-mng)#show gpon remote-onu veip gpon-onu_1/3/1:1 VEIP ID: 1 Admin status: unlock Operate status: disable Interdomain name: Port: none IANA assigned port: none ZXAN(gpon-onu-mng)#
Related Commands None
15.4.186 show gpon remote-onu vlan Syntax show gpon remote-onu vlan {eth interface1 [name1 ] |wifi interface2 [name2 ] |veip interface3 [name3 ] |gemport interface4 [number1 ] |gemport-mcast interface5 [number2 ] |wan interface6 [number3 ] }
Function This command shows the ONU VLAN processing information.
15-281 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
eth
Ethernet port
-
GPON ONU interface, format: gpon-
-
interface1
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
wifi
WiFi port
-
interface2
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name2
WiFi port, format: wifi_slot/port
1–31 characters
veip
VEIP port
-
interface3
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name3
VEIP ID
1–255
gemport
GEM port
-
interface4
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
GEM port ID
1–255
gemport-mcast
Multicast GEM port
-
interface5
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number2
Multicast GEM port ID
1
wan
WAN port
-
interface6
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number3
WAN ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the VLAN processing information on ONU Ethernet port eth_0/1; ZXAN#show gpon remote-onu vlan eth gpon-onu_1/3/1:1 eth_0/1
15-282 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands Interface
Mode
Def-vid
Def-Prio
Vlan-list
............................................................... eth_0/1
access
1001
0
--
ZXAN#
Related Commands None
15.4.187 show gpon remote-onu vlan translate Syntax show gpon remote-onu vlan translate {eth interface1 [name1 ] |wifi interface2 [name2 ] |veip interface3 [name3 ] |gemport interface4 [number1 ] |gemport-mcast interface5 [number2 ] |wan interface6 [number3 ] }
Function This command shows the port VLAN translation rule.
Parameters Parameter
Description
Value
eth
Ethernet port
-
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
wifi
WiFi port
-
interface2
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name2
WiFi port, format: wifi_slot/port
1–31 characters
veip
VEIP port
-
interface3
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name3
VEIP ID
1–255
gemport
GEM port
-
interface4
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
GEM port ID
1–255
gemport-mcast
Multicast GEM port
-
15-283 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
interface5
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number2
Multicast GEM port ID
1
wan
WAN port
-
interface6
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number3
WAN ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the port VLAN translation rule: ZXAN#show gpon remote-onu vlan translate eth gpon-onu_1/3/1:1 eth_0/1
Related Commands None
15.4.188 show gpon remote-onu vlan-filter Syntax show gpon remote-onu vlan-filter {ethuni interface1 [name1 ] |iphost interface2 [number1 ] |wifi interface3 [name2 ] |veip interface4 [number2 ] }
Function This command shows VLAN filtering items.
Parameters Parameter
Description
Value
ethuni
Ethernet port
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
iphost
IP host
15-284
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
interface2
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
IP host ID
1–255
wifi
WiFi port
-
interface3
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name2
WiFi port, format: wifi_slot/port
1–31 characters
veip
VEIP port
-
interface4
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number2
VEIP ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the VLAN filtering items on Ethernet port eth_0/1: ZXAN#show gpon remote-onu vlan-filter ethuni gpon-onu_1/3/1:1 eth_0/1
Related Commands None
15.4.189 show gpon remote-onu vlan-filter-mode Syntax show gpon remote-onu vlan-filter-mode {ethuni interface1 [name1 ] |iphost interface2 [number1 ] |wifi interface3 [name2 ] |veip interface4 [number2 ] }
Function This command shows the VLAN filtering mode.
15-285 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ethuni
Ethernet port
-
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
Ethernet port, format: eth_slot/port
1–31 characters
iphost
IP host
-
interface2
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
IP host ID
1–255
wifi
WiFi port
-
interface3
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name2
WiFi port, format: wifi_slot/port
1–31 characters
veip
VEIP port
-
interface4
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number2
VEIP ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the VLAN filtering mode on Ethernet port eth_0/1: ZXAN#show gpon remote-onu vlan-filter-mode ethuni gpon-onu_1/3/1:1 eth_0/1
Related Commands None
15.4.190 show gpon remote-onu voip Syntax show gpon remote-onu voip interface1
15-286 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command shows the VoIP configuration.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines All modes except user mode
Examples The following example shows the VoIP configuration: ZXAN(gpon-onu-mng)#show gpon remote-onu voip gpon-onu_0/3/1:1 Protocol used:
SIP
Related Commands None
15.4.191 show gpon remote-onu voip-ctp Syntax show gpon remote-onu voip-ctp interface1 [name1 ]
Function This command shows the VoIP voice Connection Termination Point (CTP) configuration.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
Mode All modes except user mode 15-287 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows the VoIP voice CTP configuration: ZXAN(config)#show gpon remote-onu voip-ctp gpon-onu_0/3/1:1
Related Commands None
15.4.192 show gpon remote-onu voip-ip Syntax show gpon remote-onu voip-ip interface1 [slot number1 [media ] ]
Function This command shows the VoIP IP configuration.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu number1
Slot number
0–8
media
Media
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the VoIP IP configuration: ZXAN#show gpon remote-onu voip-ip gpon-onu_0/3/1:1
Related Commands None 15-288 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.193 show gpon remote-onu voip-linestatus Syntax show gpon remote-onu voip-linestatus interface1 [name1 ]
Function This command shows the VoIP link status.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format:
-
gpon-onu_shelf/slot/olt:onu name1
POTS port, format: pots_slot/port
1–31 characters
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the VoIP link status: ZXAN(config)#show gpon remote-onu voip-linestatus gpon-onu_0/3/1:1
Related Commands None
15.4.194 show gpon remote-onu wan Syntax show gpon remote-onu wan interface1 [number1 ]
Function This command shows the ONU WAN configuration information.
15-289 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter interface1
Description
Value
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
WAN ID
1–255
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the ONU WAN configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu wan gpon-onu_1/3/1:1 8 WAN index: 8 Service: Other MVLAN: 1000 MTU: ont internal policy Ethernet UNI: 1 SSID: 3 Online duration: 0(s)
Related Commands None
15.4.195 show gpon remote-onu wan-ip Syntax show gpon remote-onu wan-ip interface1 [number1 ]
Function This command shows the WAN IP configuration information.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu number1
WAN ID
1–255
15-290 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the WAN IP configuration information: ZXAN(gpon-onu-mng)#show gpon remote-onu wan-ip gpon-onu_0/3/1:1 WAN id:
1
Mode:
DHCP
Onu identifier: Ping response:
enable
Traceroute response: disable VLAN tag mode:
tag
CVLAN:
100
CVLAN priority: 0 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
Related Commands None
15.4.196 show gpon remote-onu weight Syntax show gpon remote-onu weight interface1
Function This command shows the T-CONT weight.
15-291 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the T-CONT weight: ZXAN(gpon-onu-mng)#sho gpon remote-onu weight gpon-onu_1/3/1:1 Tcont
Queue
Weight
-------------------------------------1
1
1
1
2
1
1
3
1
1
4
1
2
1
1
2
2
1
2
3
1
2
4
1
Related Commands None
15.4.197 show gpon remote-onu wifi info Syntax show gpon remote-onu wifi info interface1
Function This command shows the WiFi global parameter configuration.
Parameters Parameter
Description
Value
interface1
GPON ONU interface, format: gpon-
-
onu_shelf/slot/olt:onu 15-292 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows the WiFi global parameter configuration: ZXAN#show gpon remote-onu wifi info gpon-onu_1/3/1:1 Admin status:
enable
Operate status:
N/A
Radio measurement:
enable
SSID isolation:
not isolated
Work mode:
802.11b-11g-11n
Bandwidth:
20(MHz)
SGI status:
disable
Current regulatory domain: China Channel:
auto
Tx rate:
auto
Transmitting power:
100%
QoS type:
WMM
ZXAN#
Related Commands None
15.4.198 sip-agent Syntax sip-agent number1 {proxy-server name1 [outbound-proxy name2 ] primary-dns ip_addr1 [seco ndary-dns ip_addr2 ] tcpudp-port number2 [host number3 ] |[ss name3 ] |[[reg-exptime number4 ] [rereg-starttime number5 ] ] |validate name4 [username name5 password name6 ] [realm name7 ] |registrar-server name8 } no sip-agent number1
Function This command creates an SIP agent and correlates it with the TCP/UDP port.
15-293 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Client ID
1-65535
name1
SIP server address
1–128 characters
name2
External server address
1–128 characters
ip_addr1
Primary DNS server
-
ip_addr2
Secondary DNS server
-
number2
TCP/UDP port number
0–65535
number3
IP host ID
1–255
name3
SS vendor
1–4 characters
number4
Authentication timeout, unit: seconds
0–4294967295
number5
Re-authentication timeout, unit: seconds
0–4294967295
name4
Authentication method
disable, md5, basic
name5
Authentication user name
1–128 characters
name6
Authentication password
1–25 characters
name7
MD5 domain name
1–25 characters
name8
Authentication server, which is the same as
1–128 characters
the proxy server by default if not specified
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an SIP agent with the ID of 1: 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
15-294 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.199 sip-service Syntax sip-service name1 profile name2 userid name3 [username name4 password name5 ] [display-n ame name6 ] [vmail-server name7 ] [vmail-validate {disable |basic username name8 password name9 |md5 username name10 password name11 realm name12 } ] [vmail-subscript-time num ber1 ] [signal name13 ] [media-profile name14 ] no sip-service name1
Function This command configures the POTS SIP service.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port
1–31 characters
name2
SIP service profile name
1–64 characters
name3
User address ID
1–128 characters
name4
User name
1–50 characters
name5
Password
1–25 characters
name6
Displayed name
1–25 characters
name7
Voice mail server
1–128 characters
disable
Not to authenticate the voice mail server
-
name8
Voice mail server user name
1–25 characters
name9
Voice mail server password
1–25 characters
name10
Voice mail server MD5 user name
1–25 characters
name11
Voice mail server MD5 password
1–25 characters
name12
Voice mail server MD5 domain name
1–25 characters
number1
Voice mail subscription period, unit: seconds,
0–4294967295
default: 3600 name13
Signaling encoding selection
-
name14
Media profile name
1–64 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. 15-295 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the 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 15.4.168 show gpon remote-onu sip-service
15.4.200 sip-user Syntax sip-user name1 {[dial-plan name2 ] |[service-profile number1 ] [feature-code number2 ] |[vmail-s erver name3 ] [vmail-exptime number3 ] [release-time number4 ] [roh-time number5 ] |sip-agent number6 user-aor name4 [display-name name5 ] [username name6 password name7 ] |vmail-v alidate name8 [vmail-username name9 vmail-password name10 ] [vmail-realm name11 ] } no sip-user name1
Function This command creates an SIP user and correlates it with the POTS UNI and SIP agent.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port.
1–31 characters
name2
Dialing plan table name, which is shared by ONUs.
1–64 characters
If it is being used, it cannot be modified or deleted. number1
Service file ID, which is shared by ONUs. If it is
0–65535
being used, it cannot be modified or deleted. number2
Feature code ID, which is shared by ONUs. If it is
0–65535
being used, it cannot be modified or deleted. name3
Voice mail server.
1–128 characters
number3
Voice mail server timeout, unit: seconds, default:
0–4294967295
3600. number4
Releasing time, unit: seconds, default: 10.
0–255
number5
ROH time, unit: seconds, default: 15.
0–255
number6
Client ID.
1–65535
name4
User AOR.
1–128 characters 15-296
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name5
Displayed name.
1–25 characters
name6
User name.
1–50 characters
name7
Password.
1–25 characters
name8
Voice mail server activation.
md5, basic, disable
name9
Voice mail server user name
1–25 characters
name10
Voice mail server password
1–25 characters
name11
Voice mail server domain name
1–25 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create an SIP user and correlates it with the POTS UNI and 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 ZXAN(gpon-onu-mng)#sip-agent 1 rereg-starttime 1223 ZXAN(gpon-onu-mng)#sip-agent 1 ss ZTE ZXAN(gpon-onu-mng)#sip-user pots_0/1 sip-agent 1 user-aor zte
Related Commands None
15.4.201 sntp Syntax sntp time-zone name1 master-server ip_addr1 slave-server ip_addr2 [dscp number1 ] [daylight -saving-time name2 ] [interval number2 ]
Function This command configures the ONU time.
15-297 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Time zone, format: GMT-01:00 or GMT+01:00.
1–9 characters
ip_addr1
Primary time server address.
-
ip_addr2
Secondary time server address.
-
number1
DSCP value.
0–63
name2
Enables or disables daylight saving time.
-
Default: disabled. number2
Time synchronization interval, unit: seconds,
0–4294967295
default: 86400.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the ONU time: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#sntp time-zone GMT-02:00 master-server 10.63.10.1 slave-server 10.63.10.2
Related Commands None
15.4.202 ssid auth wep Syntax ssid auth wep name1 {open-system [encrypt {disable |{40bit {[name2 name3 name4 name5 [defa ult-key number1 ] ] |[hex name6 name7 name8 name9 ] } [default-key number2 ] |104bit {[name10 name11 name12 name13 [default-key number3 ] ] |[hex name14 name15 name16 name17 ] } [defau lt-key number4 ] } } ] |shared-key [{40bit {[name18 name19 name20 name21 [default-key number5 ] ] |[hex name22 name23 name24 name25 ] } [default-key number6 ] |104bit {[name26 name27 name28 name29 [default-key number7 ] ] |[hex name30 name31 name32 name33 ] } [default-key number8 ] } ] }
15-298 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command configures Wired Equivalent Privacy (WEP) encryption mode for a WiFi port.
Parameters Parameter
Description
Value
name1
WiFi port, format: wifi_slot/port.
1–31 characters
open-system
Authentication mode: open system.
-
disable
Disables encryption.
-
40bit
WEP encryption level: 40bit.
-
name2
ASCII code key 1, which must be five characters.
-
name3
ASCII code key 2, which must be five characters.
-
name4
ASCII code key 3, which must be five characters.
-
name5
ASCII code key 4, which must be five characters.
-
number1
Default key, default: 1.
1–4
name6
Hexadecimal key 1, which must be 10 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name7
Hexadecimal key 2, which must be 10 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name8
Hexadecimal key 3, which must be 10 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name9
Hexadecimal key 4, which must be 10 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. number2
Default key, default: 1.
1–4
104bit
WEP encryption level: 40bit.
-
name10
ASCII code key 1, which must be 13 characters.
-
name11
ASCII code key 2, which must be 13 characters.
-
name12
ASCII code key 3, which must be 13 characters.
-
name13
ASCII code key 4, which must be 13 characters.
-
number3
Default key, default: 1.
1–4
name14
Hexadecimal key 1, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name15
Hexadecimal key 2, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name16
Hexadecimal key 3, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'.
15-299 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name17
Hexadecimal key 4, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. number4
Default key, default: 1.
1–4
shared-key
Authentication mode: shared key.
-
name18
ASCII code key 1, which must be five characters.
-
name19
ASCII code key 2, which must be five characters.
-
name20
ASCII code key 3, which must be five characters.
-
name21
ASCII code key 4, which must be five characters.
-
number5
Default key, default: 1.
1–4
Hexadecimal key 1, which must be 13 characters
-
name22
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name23
Hexadecimal key 2, which must be 13 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name24
Hexadecimal key 3, which must be 13 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name25
Hexadecimal key 4, which must be 13 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. number6
Default key, default: 1.
1–4
name26
ASCII code key 1, which must be five characters.
-
name27
ASCII code key 2, which must be five characters.
-
name28
ASCII code key 3, which must be five characters.
-
name29
ASCII code key 4, which must be five characters.
-
number7
Default key, default: 1.
1–4
name30
Hexadecimal key 1, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name31
Hexadecimal key 2, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name32
Hexadecimal key 3, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. name33
Hexadecimal key 4, which must be 26 characters
-
and the characters must be '0'-'9', 'a'-'f', 'A'-'F'. number8
Default key, default: 1.
1–4
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
15-300 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines l
An ONU WiFi port supports WEP and Wi-Fi Protected Access (WPA) encryption modes. The default mode is WPA. The following command is the default configuration. After this command is carried out, the script is not displayed. ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 wpa-wpa2-psk encrypt tkip-aes key-update-interval 600
l
To restore the default key value for WEP and WPA encryption modes, run the following commands: ZXAN(gpon-onu-mng)#ssid auth wep wifi_0/1 open-system encrypt disable ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 key default
l
Restore the default key value in the following conditions: The key is not entered when you switch between WEP mode and WPA mode. The key is not entered when you switch the key length in WEP mode.
l
Keep the key value in the following conditions: The key is not entered but the key length does not change when you switch between open-system and shared-key in WEP mode. The key is not entered when you switch between wpa-psk, wpa2-psk, and wpa-wpa2-psk in WPA mode.
Examples The following example shows how to configure WEP encryption mode for a WiFi port: ZXAN(gpon-onu-mng)#ssid auth wep wifi_0/1 open-system encrypt 40bit hex 0102030E0F 1112131E1F 2122232E2F 313333E3F1 default-key 1
Related Commands 15.4.203 ssid auth wpa 15.4.204 ssid ctrl
15.4.203 ssid auth wpa Syntax ssid auth wpa name1 [name2 ] [encrypt name3 ] [key {default |name4 } ] [key-update-interval number1 ]
Function This command configures WPA encryption mode for a WiFi port.
15-301 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
WiFi port, format: wifi_slot/port.
1–31 characters
name2
Authentication mode, default: wpa-wpa2-psk.
wpa-psk, wpa2-psk, wpa-wpa2-psk
name3
WPA encryption algorithm, default: tkip-aes.
wep, tkip, wep-tkip aes, wep-aes, tkip-aes, wep-tkip-aes
default
Restores to the default key.
-
name4
Key.
8–63 characters
number1
Key update period, unit: seconds, default:
100–1000
600.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines l
An ONU WiFi port supports WEP and Wi-Fi Protected Access (WPA) encryption modes. The default mode is WPA. The following command is the default configuration. After this command is carried out, the script is not displayed. ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 wpa-wpa2-psk encrypt tkip-aes key-update-interval 600
l
To restore the default key value for WEP and WPA encryption modes, run the following commands: ZXAN(gpon-onu-mng)#ssid auth wep wifi_0/1 open-system encrypt disable ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 key default
l
Restore the default key value in the following conditions: The key is not entered when you switch between WEP mode and WPA mode. The key is not entered when you switch the key length in WEP mode.
l
Keep the key value in the following conditions: The key is not entered but the key length does not change when you switch between open-system and shared-key in WEP mode. The key is not entered when you switch between wpa-psk, wpa2-psk, and wpa-wpa2-psk in WPA mode.
Examples The following example shows how to configure WPA encryption mode for a WiFi port: ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 wpa2-psk
15-302 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands key 12345678 key-update-interval 200
Related Commands 15.4.202 ssid auth wep 15.4.204 ssid ctrl
15.4.204 ssid ctrl Syntax ssid ctrl name1 {[name name2 ] [hide name3 ] [user-isolation name4 ] [max-users number1 ] } no ssid ctrl name1 name
Function This command configures ONU WiFi port management.
Parameters Parameter
Description
Value
name1
WiFi port, format: wifi_slot/port.
1–31 characters
name2
SSID name.
1–32 characters
name3
Enables or disables SSID broadcast.
-
name4
Enables or disables SSID internal user isolation.
-
number1
Maximum number of SSID users.
1–32
name
SSID name.
1–32 characters
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. To enable or disable the WiFi service SSID, run the following command: ZXAN(gpon-onu-mng)#interface wifi wifi_0/1 state lock
Deactivate
unlock
Activate
Examples The following example shows how to configure ONU WiFi port properties: ZXAN(gpon-onu-mng)#ssid ctrl wifi_0/1 name SSID1
15-303 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference hide disable user-isolation enable max-users 10
Related Commands None
15.4.205 switch Syntax switch name1 {[stp name2 ] [learn name3 ] [local-switch name4 ] [priority number1 ] [max-age number2 ] [hello-time number3 ] [forward-delay number4 ] [unknownMac-discard name5 ] [ad dr-learn-depth number5 ] } [aging-time number6 ]
Function This command configures MAC bridge properties.
Parameters Parameter
Description
Value
name1
MAC bridge port, format: switch_slot/port.
1–31 character
name2
Enables or disables SIP algorithm for the MAC
-
bridge. name3
Enables or disables learning for the MAC bridge.
-
name4
Enables or disables UNI local switch for the MAC
-
bridge. number1
MAC bridge priority.
0–65535
number2
Maximum life circle of a spanning tree item, unit:
6–40
seconds. number3
Hello packet interval, unit: seconds.
1–10
number4
Forwarding delay time, unit: seconds.
4–30
name5
Whether to discard the packets with unknown
-
MAC addresses.
number5
l
Disable: flood
l
Enable: discard
Maximum number of learnt UNI addresses. 0
0–255
indicates no limiting. number6
Address aging time, unit: seconds.
10–1000000
Mode GPON remote ONU configuration mode, GPON ONU MNG mode 15-304 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines None
Examples The following example shows how to configure the ONU MAC bridge parameters: 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)#
Related Commands None
15.4.206 switchport ethuni Syntax switchport ethuni name1 {traffic-limit {in name2 |out name3 } |{[priority number1 ] [path-cost number2 ] [stp name4 ] [encap-method name5 ] [lan-fcs name6 ] [addr-learn-depth number3 ] } } no switchport ethuni name1 traffic-limit {in |out |all }
Function This command configures Ethernet UNI bridge port properties.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
name2
In-band rate limiting profile name.
1–64 characters
name3
Out-of-band rate limiting profile name.
1–64 characters
number1
Port priority.
0–65535
number2
Path from the port to the root bridge.
0–65535
name4
Enables or disables port SIP.
-
name5
Frame encapsulation mode.
-
name6
Whether to forward FCS bytes.
forward, discard
number3
Address learning depth. 0 indicates no limiting.
0–255
in
Deletes in-band traffic limiting.
-
out
Deletes out-of-band traffic limiting.
-
all
Deletes in-band and out-of-band traffic limiting.
-
15-305 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure Ethernet UNI bridge port properties and enable SIP: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#switchport ethuni eth_0/1 stp enable
Related Commands None
15.4.207 switchport flow Syntax switchport flow number1 [{[priority number2 ] [path-cost number3 ] [stp name1 ] [lan-fcs name2 ] [addr-learn-depth number4 ] } ]
Function This command configures flow bridge port properties.
Parameters Parameter
Description
Value
number1
Flow ID.
1–255
number2
Priority.
0–65535
number3
Path from the port to the root bridge.
0–65535
name1
Enables or disables port SIP.
-
name2
Whether to forward FCS bytes.
forward, discard
number4
Address learning depth. 0 indicates no limiting.
0–255
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None 15-306 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples he following example shows how to configure flow bridge port properties and enable SIP: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#switchport flow 1 stp enable
Related Commands None
15.4.208 switchport iphost Syntax switchport iphost number1 {[priority number2 ] [path-cost number3 ] [stp name1 ] [lan-fcs name2 ] [addr-learn-depth number4 ] }
Function This command configures IP host bridge port properties.
Parameters Parameter
Description
Value
number1
Host ID.
1–255
number2
Port priority.
0–65535
number3
Path from the port to the root bridge.
0–65535
name1
Enables or disables port SIP.
-
name2
Whether to forward FCS bytes.
forward, discard
Address learning depth. 0 indicates no
0–255
number4
limiting.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure IP host bridge port properties and enable SIP: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#switchport iphost 1 stp enable
15-307 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.4.209 switchport veip Syntax switchport veip number1 {traffic-limit {in name1 |out name2 } |{[priority number2 ] [path-cost number3 ] [stp name3 ] [encap-method name4 ] [lan-fcs name5 ] [addr-learn-depth number4 ] } } no switchport veip number1 traffic-limit {in |out |all }
Function This command configures VEIP bridge port properties.
Parameters Parameter
Description
Value
number1
VEIP ID
1–255
name1
In-band rate limiting profile name.
1–64 characters
name2
Out-of-band rate limiting profile name.
1–64 characters
number2
Port priority.
0–65535
number3
Path from the port to the root bridge.
0–65535
name3
Enables or disables port SIP.
-
name4
Frame encapsulation mode.
-
name5
Whether to forward FCS bytes.
forward, discard
number4
Address learning depth. 0 indicates no
0–255
limiting. in
Deletes in-band traffic limiting.
-
out
Deletes out-of-band traffic limiting.
-
all
Deletes in-band and out-of-band traffic
-
limiting.
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
15-308 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to configure VEIP bridge port properties and enable SIP: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#switchport veip 1 stp enable
Related Commands None
15.4.210 switchport-bind Syntax switchport veip number1 {traffic-limit {in name1 |out name2 } |{[priority number2 ] [path-cost number3 ] [stp name3 ] [encap-method name4 ] [lan-fcs name5 ] [addr-learn-depth number4 ] } } no switchport veip number1 traffic-limit {in |out |all }
Function This command binds the UNI with a layer 2 bridge.
Parameters Parameter
Description
Value
name1
MAC bridge port, format: switch_slot/port
1–31 character
name2
Ethernet port, format: eth_slot/port
1–31 characters
number1
IP host ID
1–255
name3
WiFi port, format: wifi_slot/port
1–31 characters
number2
Virtual Ethernet interface number
1–255
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to bind the UNI with a layer 2 bridge: 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)#
15-309 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
15.4.211 synctime Syntax synctime
Function This command synchronizes all the performance statistics starting time points. All the performance statistics values are cleared to 0 and the statistics are restarted.
Parameters None
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to synchronize all the performance statistics starting time points: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#synctime ZXAN(gpon-onu-mng)#
Related Commands None
15.4.212 sys-attr Syntax sys-attr {[cpu-threshold number1 ] [mem-threshold number2 ] }
Function This command configures ONU system properties. 15-310 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
number1
CPU usage threshold, unit: %, default: 100
0–100
number2
Memory usage threshold, unit: %, default:
0-100
100
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the ONU system properties: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#sys-attr cpu-threshold 80 mem-threshold 80
Related Commands None
15.4.213 test Syntax test
Function This command tests ONU diagnosis.
Parameters None
Mode GPON ONU MNG mode and EPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the ONU diagnosis test: 15-311 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#pon-onu-mng gpon-onu_1/4/1:1 ZXAN(gpon-onu-mng)#test ZXAN(gpon-onu-mng)#
Related Commands None
15.4.214 test callee Syntax test callee name1 {stop |start } [ring number1 ] [duration number2 ]
Function This command tests the ONU called party.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port.
1–31 characters
stop
Stops the test.
-
start
Starts the test.
-
number1
Ring duration, unit: seconds, default: 4.
0–4294967295
number2
Test duration, unit: seconds.
60–300
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the test of the ONU called party: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test callee pots_0/1 start
Related Commands None
15-312 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.215 test caller Syntax test caller name1 {stop |start dial name2 [duration number1 ] }
Function This command tests the ONU calling party.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port.
1–31 characters
stop
Stops the test.
-
start
Starts the test.
-
name2
Dialed number.
1–20 characters
number1
Test duration, unit: seconds.
60–300
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the test of the ONU calling party: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test caller pots_0/1 start dial 123456
Related Commands None
15.4.216 test iphost Syntax test iphost number1 name1 ip_addr1
Function This command tests the ONU IP host. 15-313 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Host ID
1–255
name1
Test item
-
ip_addr1
Destination IP address
-
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the ONU IP host ping test: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test iphost 1 ping 1.1.1.1
Related Commands None
15.4.217 test ipoe Syntax test ipoe name1 {stop |start {username name2 password name3 [mac hexadecimal1 ] [vlan numb er1 ] [timeout number2 ] |mac hexadecimal2 option60 name4 [vlan number3 ] [timeout number4 ]}}
Function This command implements the ONU IPoE test.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
stop
Stops the IPoE test.
-
start
Starts the IPoE test.
-
name2
User name.
1–128 characters
name3
Password.
1–128 characters
15-314 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
hexadecimal1
MAC address.
-
number1
VLAN ID.
0–4094
number2
Timeout time, unit: second, default: 30
5–60
hexadecimal2
MAC address.
-
name4
Vendor ID.
1–128 characters
number3
VLAN ID.
0–4094
number4
Timeout time, unit: second, default: 30
5–60
Mode GPON ONU MNG mode, EPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the IPoE test through the user name and password: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test ipoe eth_0/1 start username zte password zte vlan 100 time 5
The following example shows how to stop the IPoE test: ZXAN(gpon-onu-mng)# test ipoe eth_0/1 stop
Related Commands None
15.4.218 test iptv Syntax test iptv name1 {stop |start ip ip_addr1 [vlan number1 pri number2 ] [duration number3 ] }
Function This command implements the ONU IPTV test.
15-315 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
stop
Stops the IPoE test.
-
start
Starts the IPoE test.
-
ip_addr1
Multicast address.
-
number1
If the VLAN is not configured, it indicates the
1–4094
VLAN ID of the untagged packts that enters the ONU user port. number2
Priority.
0–7
number3
Test time.
1–300
Mode GPON ONU MNG mode, EPON ONU MNG mode
Usage Guidelines l l
The ONU needs to configure a filtering rule for untagged packets and tag them. The ONU needs to configure a filtering rule for tagged packets and translate the VLAN or transparently transmit them.
Examples The following example shows how to start the ONU IPTV test: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test iptv eth_0/1 start ip 224.1.1.1 duration 20
Related Commands None
15.4.219 test mep linktrace Syntax test mep linktrace number1 number2 {mac-addr hexadecimal1 |mep-id number3 } max-hop-co unt number4 [use-fdb-only name1 ]
Function This command tests ONU MEP line trace.
15-316 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
number1
MD ID
1–16
number2
MA ID
1–32
hexadecimal1
MAC address
-
number3
MEP ID
1–8191
number4
Maximum number of hops
1–255
name1
Whether to use the common MAC address
-
forward table only
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the test of ONU MEP line trace: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test mep linktrace 1 1 mac-addr 1111.1111.1111 max-hop-count 10
Related Commands None
15.4.220 test mep lm-dm Syntax test mep lm-dm number1 number2 {stop |start {[name1 ] [name2 ] } {mac-addr hexadecimal1 {[dr op-eligibility name3 ] [priority number3 ] [interval name4 ] [count number4 ] } |mep-id number5 [{[drop-eligibility name5 ] [priority number6 ] [interval name6 ] [count number7 ] } ] } }
Function This command tests ONU MEP LM-DM.
Parameters Parameter
Description
Value
number1
MD ID.
1–16
number2
MA ID.
1–32
15-317 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
stop
Stops the test.
-
start
Starts the test.
-
name1
LM type.
-
name2
DM type.
-
hexadecimal1
MAC address.
-
name3
Whether to enable drop eligibly.
-
number3
Priority.
0–7
name4
Interval.
-
number4
Number of times.
1–1024
number5
MEP ID.
1–8919
name5
Whether to enable drop eligibly.
-
number6
Priority.
0–7
name6
Interval.
-
number7
Number of times.
1–1024
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the ONU MEP LM-DM test: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng#test mep lm-dm 1 1 start one-way mac-addr 1111.1111.1111 priority 1
Related Commands None
15.4.221 test mep loopback Syntax test mep loopback number1 number2 {mac-addr hexadecimal1 |mep-id number3 } repeat-count number4 [proiority number5 drop-eligibility name1 ]
15-318 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command tests the ONU MEP loop-back.
Parameters Parameter
Description
Value
number1
MD ID
1–16
number2
MA ID
1–32
hexadecimal1
MAC address
-
number3
MEP ID
1–8191
number4
Number of repeat times.
1–1024
number5
Priority.
0–7
name1
Whether to enable drop eligibly.
-
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the test of the ONU MEP loop-back: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test mep loopback 1 1 mac-addr 1111.1111.1111 repeat-count 100
Related Commands None
15.4.222 test potsuni Syntax test potsuni name1 name2 [name3 ]
Function This command tests the ONU voice port.
15-319 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port
1–31 characters
name2
Test item
-
name3
Normal test or force test
-
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the test of ONU voice port pots_0/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test potsuni pots_0/1 battery normal
Related Commands None
15.4.223 test pppoe Syntax test pppoe name1 {stop |start username name2 password name3 [[authmode name4 ] [vlan num ber1 ] ] }
Function This command tests ONU PPPoE.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port.
1–31 characters
stop
Stops the test.
-
start
Starts the test.
-
name2
User name.
1–25 characters
name3
Password.
1–25 characters
15-320 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name4
PPPoE test mode.
-
number1
VLAN ID used by the data flow test.
0–4094
Mode GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to start the ONU PPPoE test: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#test pppoe eth_0/1 start username zte password zte
Related Commands None
15.4.224 tr069-mgmt Syntax tr069-mgmt number1 [{[{untag |tag pri number2 vlan number3 } ] [state name1 ] [acs name2 [validate {disable |basic username name3 password name4 |md5 username name5 password name6 realm name7 } ] ] } ] no tr069-mgmt number1 acs
Function This command configures the ONU TR069 management parameters.
Parameters Parameter
Description
Value
number1
VEIP ID
1-255
untag
Untagged mode
-
tag
Tagged mode
-
number2
Priority
0–7
number3
VLAN ID
1–4094
name1
Administrative state, default: lock
-
15-321 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name2
ACS server name, in IP address or
1–128 characters
URL format disable
No authentication
-
basic
Basic authentication mode
-
name3
Basic authentication user name
1–25 characters
name4
Basic authentication password
1–25 characters
md5
MD5 authentication mode
-
name5
MD5 authentication user name
1–50 characters
name6
MD5 authentication password
1–25 characters
name7
MD5 authentication domain name
1–25 characters
acs
ACS server
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the ONU TR069 management parameters: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#tr069-mgmt 1 state unlock
Related Commands None
15.4.225 traffic-limit Syntax traffic-limit name1 [prio number1 ] [vlan number2 ] [ether-type name2 ] cir number3 [prio1 nu mber4 prio2 number5 ] no traffic-limit name1 [prio number1 ] [vlan number2 ] [ether-type name2 ]
Function This command configures rate limiting for an ONU Ethernet user port.
15-322 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port
1–31 characters
number1
Priority
0–7
number2
VLAN ID
0–4095
name2
Ethernet frame filtering type
-
number3
Committed information rate, unit: kbps
0–4294967295
number4
Priority 1
0–7
number5
Priority 2
0–7
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure rate limiting for Ethernet user port eth_0/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#traffic-limit eth_0/1 cir 1000 prio1 1 prio2 2
Related Commands None
15.4.226 type Syntax type name1
Function This command configures the ONU type in the remote management profile.
Parameters Parameter
Description
Value
name1
ONU type
1–64 characters
Mode GPON remote ONU configuration mode 15-323 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines Use the show onu-type command to obtain the ONU type name.
Examples The following example shows how to configure the ONU type ZTE-F660 in the remote management profile zte: ZXAN(config-pon)#onu-profile gpon remote zte ZXAN(config-gpon-remote)#type ZTE-F660
Related Commands None
15.4.227 up-queue-map Syntax up-queue-map flow number1 name1 queue number2 no up-queue-map flow number1 name1
Function This command configures the mapping relations between 802.1p services and upstream priority queues.
Parameters Parameter
Description
Value
number1
Flow ID
1–255
name1
Priority list
1–31 characters
Priority range: 0–7 number2
Upstream priority queue ID
0–7
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. Before carrying out this command, create service flows first: The upstream priority queue ID ranges from 0 to 7. Queue 1 has the highest priority and queue 7 has the lowest priority.
15-324 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Examples The following example shows how to configure the mapping relations between 802.1p services and upstream priority queues: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#up-queue-map flow 1 1 queue 7 ZXAN(gpon-onu-mng)#
Related Commands None
15.4.228 veip Syntax veip number1 [{[state name1 ] [inter-domain name2 ] [port [name3 ] number2 [host number3 ] ] } ] no veip number1 [{[inter-domain ] [port ] } ]
Function This command configures the virtual Ethernet interface properties.
Parameters Parameter
Description
Value
number1
VEIP ID
1–255
name1
Administrative state
unlock, lock
name2
Internal domain name
1–25 characters
port
IANA distributed port
-
name3
Port type
UDP, TCP
number2
Port number
1–65535
number3
Host ID
1–255
inter-domain
Internal domain name
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the virtual Ethernet interface properties: 15-325 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#veip 1 state unlock
Related Commands None
15.4.229 vlan gemport Syntax vlan gemport number1 {(vlan name2 )|(mode {transparent |trunk |(tag [vlan number2 ][priorit y number3 ])|(hybrid [def-vlan number4 ][def-prio number5 ])})|(translate (vlan number6 [prio number7 ][cvlan number8 [cvlan-prio number9 ]](svlan number10 [svlan-prio number11 ])))} no vlan gemport number12 {(vlan name4 )|(translate (vlan number13 )[priority number14 ])|m ode }
Function This command configures the VLAN processing rule for a GEM port.
Parameters Parameter
Description
Value
number1
GEM port ID.
1–255
name2
VLAN ID list, format: X,X... or X-X.
-
transparent
Transparent transmission mode.
-
trunk
Trunk mode: Only the configured tagged
-
packets are permitted, other tagged packets are denied, and untagged packets are discarded. tag
Tagged mode: Untagged packets are
-
transmitted in the upstream direction after being tagged with the PVID, and tagged packets are discarded. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number2
Added VLAN ID.
1–4094
number3
Added priority.
0–7
15-326 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
hybrid
Hybrid mode: Untagged packets are permitted
-
after being tagged with the PVID. Only the configured tagged packets are permitted, and other tagged packets are denied. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number4
Added default VLAN ID.
1–4094
number5
Added default priority.
0–7
number6
VLAN ID before translation.
1–4094
number7
Priority before translation.
0–7
number8
CVLAN ID after translation.
1–4094
number9
CVLAN priority after translation.
0–7
number10
SVLAN ID after translation.
1–4094
number11
SVLAN priority after translation.
0–7
number12
GEM port ID.
1–255
name4
VLAN ID list, format: X,X... or X-X.
-
number13
Translated original VLAN ID.
1–4094
number14
Translated original priority.
0–7
mode
Operation mode.
-
Mode GPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the VLAN translation rule for GEM port 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#vlan gemport 1 translate vlan 1 ZXAN(gpon-onu-mng)#
Related Commands show gpon remote-onu vlan translate
15-327 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.230 vlan gemport-mcast Syntax vlan gemport-mcast number1 {(vlan name2 )|(mode {transparent |trunk |(tag [vlan number2 ][priority number3 ])|(hybrid [def-vlan number4 ][def-prio number5 ])})|(translate (vlan numbe r6 [prio number7 ][cvlan number8 [cvlan-prio number9 ]](svlan number10 [svlan-prio number11 ])))} no vlan gemport-mcast number12 {(vlan name4 )|(translate (vlan number13 )[priority number14 ])|mode }
Function This command configures the VLAN processing rule for a multicast GEM port.
Parameters Parameter
Description
Value
number1
Multicast GEM port ID.
1
name2
VLAN ID list, format: X,X... or X-X.
-
transparent
Transparent transmission mode.
-
trunk
Trunk mode: Only the configured tagged
-
packets are permitted, other tagged packets are denied, and untagged packets are discarded. tag
Tagged mode: Untagged packets are
-
transmitted in the upstream direction after being tagged with the PVID, and tagged packets are discarded. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number2
Added VLAN ID.
1–4094
number3
Added priority.
0–7
hybrid
Hybrid mode: Untagged packets are
-
permitted after being tagged with the PVID. Only the configured tagged packets are permitted, and other tagged packets are denied. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number4
Added default VLAN ID.
1–4094
number5
Added default priority.
0–7
15-328 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
number6
VLAN ID before translation.
1–4094
number7
Priority before translation.
0–7
number8
CVLAN ID after translation.
1–4094
number9
CVLAN priority after translation.
0–7
number10
SVLAN ID after translation.
1–4094
number11
SVLAN priority after translation.
0–7
number12
Multicast GEM port ID.
1
name4
VLAN ID list, format: X,X... or X-X.
-
number13
Translated original VLAN ID.
1–4094
number14
Translated original priority.
0–7
mode
Operation mode.
-
Mode GPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the VLAN translation rule for multicast GEM port 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#vlan gemport-mcast 1 translate vlan 1 ZXAN(gpon-onu-mng)#
Related Commands show gpon remote-onu vlan translate
15.4.231 vlan port Syntax vlan port name1 {vlan name2 |mode {transparent |trunk |tag [vlan number1 ] [priority number2 ] |hybrid [def-vlan number3 ] [def-prio number4 ] } |translate vlan number5 [prio number6 ] [cvlan number7 [cvlan-prio number8 ] ] svlan number9 [svlan-prio number10 ] } no vlan port name1 {vlan name2 |translate vlan number1 [priority number2 ] |mode }
15-329 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the VLAN processing rule for an UNI port.
Parameters Parameter
Description
Value
name1
UNI port, format:
1–31 characters
eth_slot/port,wifi_slot/port,veip_port. name2
VLAN ID list, format: X,X...or X-X.
-
transparent
Transparent transmission mode.
-
Trunk mode: Only the configured tagged
-
trunk
packets are permitted, other tagged packets are denied, and untagged packets are discarded. tag
Tagged mode: Untagged packets are
-
transmitted in the upstream direction after being tagged with the PVID, and tagged packets are discarded. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number1
Added VLAN ID.
1–4094
number2
Added priority.
0–7
hybrid
Hybrid mode: Untagged packets are permitted
-
after being tagged with the PVID. Only the configured tagged packets are permitted, and other tagged packets are denied. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number3
Added default VLAN ID.
1–4094
number4
Added default priority.
0–7
number5
VLAN ID before translation.
1–4094
number6
Priority before translation.
0–7
number7
CVLAN ID after translation.
1–4094
number8
CVLAN priority after translation.
0–7
number9
SVLAN ID after translation.
1–4094
number10
SVLAN priority after translation.
0–7
mode
Operation mode.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode 15-330 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the VLAN processing rule for port eth_3/1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#vlan port eth_3/1 translate vlan 1 cvlan 2 svlan 3 ZXAN(gpon-onu-mng)#
Related Commands 15.4.187 show gpon remote-onu vlan translate
15.4.232 vlan wan Syntax vlan wan number1 {(vlan name2 )|(mode {transparent |trunk |(tag [vlan number2 ][priority nu mber3 ])|(hybrid [def-vlan number4 ][def-prio number5 ])})|(translate (vlan number6 [prio num ber7 ][cvlan number8 [cvlan-prio number9 ]](svlan number10 [svlan-prio number11 ])))} no vlan wan number12 {(vlan name4 )|(translate (vlan number13 )[priority number14 ])|mode }
Function This command configures the VLAN processing rule for a WAN port.
Parameters Parameter
Description
Value
number1
WAN ID.
1–255
name2
VLAN ID list, format: X,X...or X-X.
-
transparent
Transparent transmission mode.
-
trunk
Trunk mode: Only the configured tagged packets
-
are permitted, other tagged packets are denied, and untagged packets are discarded. tag
Tagged mode: Untagged packets are transmitted in the
-
upstream direction after being tagged with the PVID, and tagged packets are discarded. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number2
Added VLAN ID.
1–4094
number3
Added priority.
0–7 15-331
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
hybrid
Hybrid mode: Untagged packets are permitted after
-
being tagged with the PVID. Only the configured tagged packets are permitted, and other tagged packets are denied. The parameter is optional. If it is not configured, the VLAN ID is 1 and the priority is 0 by default. number4
Added default VLAN ID.
1–4094
number5
Added default priority.
0–7
number6
VLAN ID before translation.
1–4094
number7
Priority before translation.
0–7
number8
Added default VLAN ID.
1–4094
number9
Added default priority.
0–7
number10
VLAN ID before translation.
1–4094
number11
Priority before translation.
0–7
number12
WAN ID.
1–255
name4
VLAN ID list, format: X,X...or X-X.
-
number13
Translated original VLAN ID.
1–4094
number14
Translated original priority.
0–7
mode
Operation mode.
-
Mode GPON-ONU-MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the VLAN translation rule for WAN port 1: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#vlan wan 1 translate vlan 1 ZXAN(gpon-onu-mng)#
Related Commands show gpon remote-onu vlan translate
15-332 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.233 vlan-filter Syntax vlan-filter {ethuni name1 |iphost number1 |wifi name2 |veip number2 } priority number3 vid number4 no vlan-filter {ethuni name1 |iphost number1 |wifi name2 |veip number2 } priority number3 vid number4
Function This command creates a VLAN filtering item.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port
1–31 characters
number1
IP host ID
1–255
name2
WIFI port, format: wifi_slot/port
1–31 characters
number2
Virtual Ethernet interface
1–255
number3
Priority for filtering
0–7
number4
VLAN ID for filtering
1–4094
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to create a VLAN filtering item: 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
15-333 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
15.4.234 vlan-filter-mode Syntax vlan-filter-mode {ethuni name1 |iphost number1 |wifi name2 |veip number2 } tag-filter name3 untag-filter name4 no vlan-filter-mode {ethuni name1 |iphost number1 |wifi name2 |veip number2 }
Function This command creates a VLAN filtering mode.
Parameters Parameter
Description
Value
name1
Ethernet port, format: eth_slot/port
1–31 characters
number1
IP host ID
1–255
name2
WIFI port, format: wifi_slot/port
1–31 characters
number2
Virtual Ethernet interface
1–255
name3
Tagged frame filtering mode
-
name4
Untagged frame filtering mode
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to creates a VLAN filtering 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
15-334 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
15.4.235 voip config Syntax voip config {[retrieve ] [method name1 ] [server name2 [validate {disable |basic username name3 password name4 |md5 username name5 password name6 realm name7 } ] ] } no voip config server
Function This command configures VoIP global parameters.
Parameters Parameter
Description
Value
retrieve
Notifies the ONU to obtain a new profile.
-
name1
VoIP service usage mode.
-
name2
Server name, in IP address or URL address
1–128 characters
format. validate
Server authentication.
-
disable
Disables authentication.
-
basic
Basic authentication mode.
-
name3
Basic authentication user name.
1–25 characters
name4
Basic authentication password.
1–25 characters
md5
MD5 authentication mode.
-
name5
MD5 authentication user name.
1–50 characters
name6
MD5 authentication password.
1–25 characters
name7
MD5 authentication domain name.
1–25 characters
server
Server.
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to configure VoIP global parameters: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#voip config server 1.1.1.1
15-335 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference validate basic username zte password zte
Related Commands None
15.4.236 voip protocol Syntax voip protocol {none |sip |h248 [{domain name1 |equip-name name2 } ] |mgcp [domain name3 ] [reg-mode name4 ] [line name5 ] } [mode name6 ]
Function This command configures the VoIP protocol.
Parameters Parameter
Description
Value
none
No VoIP protocol is enabled.
-
sip
Configures the VoIP protocol to SIP.
-
h248
Configures the VoIP protocol to H.248.
-
name1
Domain name.
1–128 characters
name2
Device name.
1–25 characters
mgcp
Configures the VoIP protocol to MGCP.
-
name3
Domain name.
1–128 characters
name4
Registration mode.
wildcard, individual
name5
Line ID.
-
name6
IP distribution mode.
single-ip, dual-ip, multi-ip
Default: single-ip
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines l
l
If the domain name is specified, the MID uses the domain name. If the equipment name is specified, the MID uses the equipment name. If the domain name or the equipment name is not specified, the MID uses IPv4. The IP distribution modes are described as follows:
15-336 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands à
single-ip: The entire ONU uses one IP address, and the media and signaling use one IP address. In the ZXAN(gpon-onu-mng)#voip-ip command, the slotno and media parameters are ineffective.
à
dual-ip: The entire ONU can use up to two IP addresses. If one IP address is used, the media and signaling use the same IP address. If two IP addresses are used, one is for the media and the other is for the signaling. In the ZXAN(gpononu-mng)#voip-ip command, the slotno parameter is ineffective.
à
multi-ip: The entire ONU can use multiple IP addresses. Each slot can be configured with two or one IP address depending on whether the media parameter is configured.
Examples The following example shows how to configure the VoIP protocol for port gpon-onu_0/3/1:1 to SIP: ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1 ZXAN(gpon-onu-mng)#voip protocol sip
Related Commands 15.4.238 voip-ip
15.4.237 voip-ctp Syntax voip-ctp name1 [{[signal name2 ] [media-profile name3 ] [mgc number1 ] } ] no voip-ctp name1 [media-profile ]
Function This command configures the VoIP voice CTP, and correlates user data to the POTS UNI.
Parameters Parameter
Description
Value
name1
POTS port, format: pots_slot/port
1–31 characters
name2
Signal sending mode
-
name3
Media profile name
1–64 characters
number1
Media gateway controller ID
1–65535
media-profile
Media profile name
-
Mode GPON remote ONU configuration mode, GPON ONU MNG mode 15-337 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To cancel the setting, use the no form of this command. When configuring the VoIP voice CTP, you can set the voice prompt and media profile.
Examples The following example shows how to configure the 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
15.4.238 voip-ip Syntax voip-ip [media ] {ping-response name1 traceroute-response name2 |mode {pppoe [mode name3 ] username name4 password name5 vlan-profile name6 [slot number1 ] [host number2 ] |dhcp [id name7 ] vlan-profile name8 [slot number3 ] [host number4 ] |static ip-profile name9 ip-address ip_addr1 mask ip_addr2 vlan-profile name10 [slot number5 ] [host number6 ] } } no voip-ip [slot number1 ] [media ]
Function This command configures the VoIP IP protocol, which is a VoIP simplified configuration command.
Parameters Parameter
Description
Value
media
Media.
-
name1
Enables or disables ping response.
-
name2
Enables or disables route trace response.
-
pppoe
IP access mode: PPPoE.
-
name3
PPPoE dialing validation type.
auto, CHAP, PAP
name4
User name.
1–25 characters
name5
Password.
1–25 characters
name6
VLAN profile name.
1–64 characters
number1
Number of voice blocks.
0–8
number2
Host ID.
1–255 15-338
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
dhcp
IP access mode: DHCP.
-
name7
ONU type.
1–25 characters
name8
VLAN profile name.
1–64 characters
number3
Number of voice blocks.
0–8
number4
Host ID.
1–255
static
IP access mode: static address allocation
-
protocol. name9
IP profile name.
1–64 characters
ip_addr1
IP address.
-
ip_addr2
Mask.
-
name10
VLAN profile name.
1–64 characters
number5
Number of voice blocks.
0–8
number6
Host ID.
1–255
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. The parameters for this command are described as follows: l l
l
l l
The host optional parameter is used to specify an IP host. If this parameter is not specified, the internal automatically distributed IP host is used. The slot optional parameter is used to specify a slot for the ONU that requires multiple voice modules. For an ONU that requires only one voice module, you do not need to set this parameter or you can set it to 0. The media optional parameter is used to specify whether the media and signaling use the same IP address. à
One record (without the media parameter) indicates that the media and signaling use the same IP address.
à
Two records indicate that the media and signaling use different IP addresses. The first record is for the signaling and the second one is for the media. The second record has the media parameter.
The media and signaling under the same ONU can only use the same mode, PPPoE, static, or DHCP. When using the no form of this command, delete the voice service configuration first.
15-339 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to set the VoIP IP protocol to static: ZXAN(config-gpon)#onu profile ip test static gateway 1.2.3.1 ZXAN(config-gpon)#onu profile vlan vlan-test tag-mode tag cvlan 100 ZXAN(gpon-onu-mng)#voip-ip mode static ip-profile test ip-address 1.2.3.4 mask 255.255.255.0 vlan-profile vlan-test slot 0
The following example shows how to set the VoIP IP protocol to DHCP: ZXAN(config-gpon)# onu profile vlan vlan-test tag-mode tag cvlan 100 ZXAN(gpon-onu-mng)#voip-ip mode dhcp vlan-profile vlan-test slot 0
The following example shows how to set the VoIP IP protocol to PPPoE: ZXAN(config-gpon)#onu profile vlan vlan-test tag-mode tag cvlan 100 ZXAN(gpon-onu-mng)#voip-ip mode pppoe username abcdef password 111111 vlan-profile vlan-test slot 0
Related Commands 15.1.11 onu profile ip 15.1.25 onu profile vlan
15.4.239 wan Syntax wan number1 [{[mtu number2 ] [ethuni name1 ] [ssid name2 ] } ] service {[voip ] [tr069 ] [other mvlan number3 ] [internet [host number4 [pppoe [[connect name3 ] [proxy name4 ] [release-tim er {internal |number5 } ] ] ] ] ] } no wan [number1 ]
Function This command configures the ONU WAN properties.
Parameters Parameter
Description
Value
number1
WAN ID
1–255
number2
Maximum transmission unit
64–2000
name1
Ethernet interface list correlated with the
1–38 characters
WAN, interface number range: eth1–eth16
15-340 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name2
SSID list correlated with the WAN, SSID
1–38 characters
range: SSID1–SSID16 service
Service type carried by the WAN
-
voip
VoIP
-
tr069
TR069
-
other
Other services
-
number3
Multicast VLAN
1–4094
internet
Internet service
-
number4
IP host ID correlated with the WAN
1–255
pppoe
PPPoE service
-
name3
PPPoE connection mode
-
name4
Whether to enable agent mode, default:
-
disabled internal
Releasing time, which uses the default time
-
of the ONU, default: 1200 seconds number5
Releasing time, unit: seconds
1–65535
Mode GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. The parameters for this command are described as follows: l l l
l
The mtu, ethuni, and ssid optional parameters must be configured before the service is specified. If there are other service types besides the Internet service, the Internet service should be configured after the other services. If the services contain the Internet service and the connect, proxy, and release-timer parameters all need to be configured, they are configured in the following sequence: connect, proxy, and release-timer. On IP host can be correlated with only one WAN. If multiple WANs are correlated with one IP host, the configuration will fail and the system will prompt that IP hosts conflict.
Examples The following example shows how to configures the ONU WAN properties when the specified services contain other services and the Internet service and the host is specified: ZXAN(config)#pon-onu-mng gpon-onu_0/2/3:1
15-341 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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
The following example shows how to configures the ONU WAN properties when the specified services contain the Internet service and the host is not specified: ZXAN(gpon-onu-mng)#wan 7 ethuni 1,3,5 mtu 1000 ssid 2,4,6 service internet
The following example shows how to configures the ONU WAN properties when the specified services contain other services but do not contain the Internet service: ZXAN(gpon-onu-mng)#wan 8 ethuni 1 ssid 3 service other mvlan 1000
Related Commands None
15.4.240 wan-ip Syntax wan-ip [number1 ] {ping-response name1 traceroute-response name2 |mode {dhcp [id name3 ] vlan-profile name4 [host number2 ] |static ip-profile name5 ip-address ip_addr1 mask ip_addr2 vlan-profile name6 [host number3 ] |pppoe [mode name7 ] username name8 password name9 vlan-profile name10 [host number4 ] } } no wan-ip [number1 ]
Function This command configures the ONU IP properties.
Parameters Parameter
Description
Value
number1
WAN ID.
1–255
name1
Enables or disables ping response.
-
name2
Enables or disables route trace response.
-
dhcp
IP access mode: DHCP
-
name3
ONU type.
1–25 characters
name4
VLAN profile name.
1–64 characters
number2
Host ID.
1–255
static
IP access mode: static address allocation
-
protocol. 15-342 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Parameter
Description
Value
name5
IP profile name.
1–64 characters
ip_addr1
IP address.
-
ip_addr2
Mask.
-
name6
VLAN profile name.
1–64 characters
number3
Host ID.
1–255
pppoe
IP access mode: PPPoE.
-
name7
PPPoE dialing validation type.
auto, CHAP, PAP
name8
User name.
1–25 characters
name9
Password.
1–25 characters
name10
VLAN profile name.
1–64 characters
number4
Host ID.
1–255
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines To cancel the setting, use the no form of this command. If the WAN ID is not specified, it is 1 by default. If the host ID is not specified, it is allocated automatically. The ping-response and traceroute-response parameters can be configured only after the WAN ID is configured. By default, ping-response is enabled and traceroute-response is disabled.
Examples The following example shows how to set the allocation mode to DHCP: ZXAN(gpon-onu-mng)#wan-ip 1 mode dhcp id id1 vlan-profile v1 host 1
The following example shows how to set the allocation mode to static: ZXAN(gpon-onu-mng)#wan-ip 1 mode static ip-profile ip1 ip 10.10.10.2 mask 255.255.255.0 vlan-profile v1 host 1
The following example shows how to set the allocation mode to PPPoE: ZXAN(gpon-onu-mng)#wan-ip 1 mode pppoe mode pap username aa password bb vlan-profile v1 host 1
15-343 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 15.1.11 onu profile ip 15.1.25 onu profile vlan
15.4.241 weight Syntax weight tcont number1 queue number2 number3
Function This command configures the T-CONT weight.
Parameters Parameter
Description
Value
number1
T-CONT ID
1–256
number2
Queue ID
1–8
number3
Queue weight
0–255
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines None
Examples The following example shows how to configure the T-CONT weight: ZXAN(gpon-onu-mng)#weight tcont 1 queue 1 30
Related Commands None
15.4.242 wifi Syntax wifi name1 [radio-measure name2 ] [ssid-isolate name3 ] [work-mode {name4 |802.11b-11g-11n [bandwidth name5 ] [sgi name6 ] } ] [domain name7 ] [channel number1 ] [tx-rate name8 ] [tx-p ower-percent name9 ] [qos-type name10 ] 15-344 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 15 GPON Commands
Function This command configures the WiFi global parameters.
Parameters Parameter
Description
Value
name1
Enables or disables the global WiFi function,
-
default: enabled. name2
Enables or disables the wireless measurement
-
function, default: enabled. name3
Enables or disables the separation function
-
between SSIDs, default: disabled. name4
Wireless communication mode.
-
l
802.11b: IEEE802.11b
l
802.11g: IEEE802.11g
l
802.11n: IEEE802.11n
l
802.11b-11g: IEEE802.11b and IEEE802.11g hybrid mode
802.11b-11g-11n
Wireless communication mode, indicating the
-
hybrid mode of IEEE802.11b, IEEE802.11g, and IEEE802.11n, which is the default mode. name5
Bandwidth, default: 20 MHz.
20 mhz, 40 mhz
name6
Enables or disables the SGI function, default:
-
disabled. name7
Registration zone. l
chn: China
l
rus: Russia
l
bra: Brazil
l
can: Canada
l
egy: Egypt
l
fra: France
l
ger: Germany
l
gre: Greece
l
chn-hk: Hong Kong, China
l
ita: Italia
l
kor: Korea
l
esp: Espana
l
uk: UK
l
usa: USA
l
por: Poland
l
ltu: LTU
-
Default: China 15-345 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number1
Channel ID.
0–13
Default: 0, which indicates automatically selecting channel. name8
Sending rate.
auto, 1, 2, 5.5, 11, 6,
Default: auto, which indicates auto negotiation.
9, 12, 18, 24, 36, 48,
Unit: Mbps.
54
name9
Sending power, unit: %, default: 100.
100, 80, 60, 40, 20
name10
QoS type, default: WMM.
disable, wmm ssid
Mode GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines l l l
When the registration zone is set to Brazil, the working mode can only be set to 802.11b. When the registration zone is set to Canada or USA, the channel can only be set to 0–11. When the working mode is set to 802.11b, the sending rate can only be set to auto, 1 Mbps, 2 Mbps, 5.5 Mbps, or 11 Mbps.
Examples The following example shows how to disable ONU WiFi globally: ZXAN(gpon-onu-mng)#wifi disable
The following example shows how to enable ONU WiFi globally and configure the parameters: ZXAN(gpon-onu-mng)#wifi enable radio-measure enable ssid-isolate disable ZXAN(gpon-onu-mng)#wifi enable work-mode 802.11b domain usa channel 1 tx-rate 11
Related Commands None
15-346 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 16
Port Configuration Table of Contents interface ...................................................................................................................16-1 lock ..........................................................................................................................16-2 max-mac-learn .........................................................................................................16-3 monitor session ........................................................................................................16-4 optical-module-alarm-profile .....................................................................................16-5 show interface ..........................................................................................................16-6 show interface optical-module-info ...........................................................................16-9 show interface port-status ......................................................................................16-10 show monitor..........................................................................................................16-10
16.1 interface Syntax interface {byname name1 |interface1 } no interface {byname name1 |interface1 }
Function This command enters an interface mode, for example, uplink interface, PON interface, or VLAN. It can also create a smart group, which is a link aggregation group, and enter the smartgroup interface configuration mode.
Parameters Parameter
Description
Value
name1
Interface name
-
interface1
Interface bias
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines In the smartgroup mode, use the no form of this command to delete the configured link aggregation group. 16-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enter the uplink interface mode: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#
The following example shows how to create smart group1: ZXAN(config)#interface smartgroup1 ZXAN(config-if)#
Related Commands None
16.2 lock Syntax lock no lock
Function This command locks an interface.
Parameters None
Mode wdm-pon-olt interface mode, gpon olt interface mode, epon olt interface mode
Usage Guidelines After an interface is locked, it is in the shutdown state. In addition, all of its alarms are cleared and no more alarms will be reported. After an interface is unlocked, it is in the no shutdown state. By default, the interface is unlocked.
Examples The following example shows how to lock the EPON OLT interface 1/4/1: ZXAN(config)#interface EPON-olt_1/4/1 ZXAN(config-if)#lock
16-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 16 Port Configuration
Related Commands None
16.3 max-mac-learn Syntax max-mac-learn number1 [vport number2 ] no max-mac-learn [vport number2 ]
Function This command configures the maximum number of MAC address that can be dynamically learned by a user port.
Parameters Parameter
Description
Value
number1
Maximum number of MAC addresses that can
0–4095
be learned number2
Virtual port number; default: 1
1–256
Mode wdm-pon-onu interface mode, gpon onu interface mode, epon onu interface mode
Usage Guidelines None
Examples The following example shows how to configure the maximum number of dynamically learned MAC addresses to 128 for the interface EPON-onu_1/4/1:1: ZXAN(config)#interface EPON-onu_1/4/1:1 ZXAN(config-if)#max-mac-learn 128 vport 1
Related Commands None
16-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
16.4 monitor session Syntax monitor session number1 [{source {cpu [direction name1 ] |interface interface1 [direction name2 ] |inner-port name3 [direction name4 ] } |destination {interface interface2 [rspan-vlanid numbe r2 [{[priority number3 ] [tpid name5 ] } ] ] |dst-ip ip_addr1 src-ip ip_addr2 [{[priority number4 ] [tpid name6 ] [ttl number5 ] [dscp number6 ] } ] } } ] no monitor session number1 [{source {cpu |interface interface1 |inner-port name3 } |destination }]
Function This command adds the source and destination ports for a session.
Parameters Parameter
Description
Value
number1
Session ID, fixed to 1
1–1
source
To specify the source port
-
cpu
CPU
-
name1
Transceiving mirroring direction
-
of the CPU interface1
Port name
-
name2
Traffic collection direction of the
-
source port name3
Inner interface of the source,
-
which is normally the inner interface of a card name4
Mirroring direction for the inner
-
interface of the source line card destination
To specify the destination port
-
interface2
Destination port number
-
number2
VLAN ID
1–4094
number3
Priority
0–0
name5
VLAN protocol type
-
ip_addr1
Destination IP address
-
ip_addr2
Source IP address
-
number4
Priority level
0–0
name6
VLAN protocol tag type
-
16-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 16 Port Configuration
Parameter
Description
Value
number5
TTL number
1–255
number6
DSCP priority
0–63
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete the port, use the no form of this command. Each session can be configured with a maximum of eight source ports and one destination port. Each port cannot be configured as both the source and destination. If the session ID does not exist, the session will be created first, and then the source and destination ports are added. If the session already has a destination port, the destination port configuration does not take effect. If the source and destination ports of each session are located in the same line interface card, the system supports a maximum of eight sessions. If the source and destination ports of a session are not all located in the same line interface card, only one session can be configured. The default traffic collection direction is bi-directional.
Examples The following example shows how to configure a session with the ID as 1. In this example, the source port is gei_1/19/1 and the traffic collection direction is TX. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#monitor session 1 source direction tx
The following example shows how to configure a session with the ID as 1. In this example, the destination port is gei_1/19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#monitor session 1 destination
Related Commands show monitor session
16.5 optical-module-alarm-profile Syntax optical-module-alarm-profile {name1 } 16-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no optical-module-alarm-profile
Function This command applies an optical module alarm profile on an optical interface.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode L3 gei interface mode, 10G_Ether interface mode: ZXAN(config-if)#, ptp interface mode, and others
Usage Guidelines None
Examples The following example shows how to apply the optical module alarm profile to the optical interface gei_1/19/3: ZXAN(config)#interface gei_1/19/3 ZXAN(config-if)#optical-module-alarm-profile zte
Related Commands None
16.6 show interface Syntax show interface [interface1 ]
Function This command displays the interface attributes and statistical information.
Parameters Parameter
Description
Value
interface1
Interface name; if ? is entered,
-
the information of all interfaces are displayed. 16-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 16 Port Configuration
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the information about loopback interface 1 ZXAN(config)#show interface loopback1 loopback1 is up,
line protocol is up
Description is none Keepalive set:10 sec Internet address is unassigned MTU 1500 bytes MRU 1500 bytes
BW 8000000 Kbits
The following example shows how to display the information about the interface Null1: ZXAN(config)#show interface null1 null1 is up,
line protocol is up
Description is none Keepalive set:10 sec Internet address is unassigned MTU 1500 bytes MRU 1500 bytes
BW 10000000 Kbits
The following example shows how to display the information about the interface smartgroup1: ZXAN#show interface smartgroup1 smartgroup1 is up,
line protocol is down
Description is none Keepalive set:10 sec VLAN mode is hybrid, pvid 1
The following example shows how to display the information about the interface VLAN1: 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
The following example shows how to display the information about the interface gei_1/21/1: 16-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#show interface gei_0/5/1 gei_0/5/1 is down,
line protocol is down
Description is none Keepalive set:10 sec The port negotiation is enable The port is optical The optical Module Information RxPower
:
:
N/A
TxPower
:
N/A
Bias-Current :
N/A
Laser-Rate :
N/A
Supply-Vol
:
N/A
Wavelength :
N/A
Temperature
:
N/A
Vender-PN
Vender-Name
:
:
Duplex full scramble payload-enable VLAN mode is hybrid, pvid 1
BW 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 input
: 0 Bps, output
Interface utilization: input
0.000%,
0 Bps output
0.000%
Input: Packets
: 0
Bytes
Unicasts
: 0
Multicasts: 0
: 0
Broadcasts
: 0
Undersize : 0
The displayed command result are described as follows: Item
Description
gei_0/5/1 is down
Indicates whether the interface is available physically. Up represents available and down represents unavailable.
line protocol is up
Indicates whether the link layer protocol is available. Up represents available and down represents unavailable.
Description
Port description
Duplex
Indicates whether the port operates in duplex nor half-duplex mode
The port is electric
Indicates whether the interface is electrical or optical.
vlan
VLAN information of the interface
MTU
MTU value of the interface
16-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 16 Port Configuration
Item
Description
BW
Bandwidth property of the interface
MAC
MAC address of the interface
Input,Output,Total
Statistical information of the interface
Related Commands None
16.7 show interface optical-module-info Syntax show interface optical-module-info interface1
Function This command displays the information about the optical module inserted in the specified interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines This command supports only optical interfaces.
Examples The following example shows how to display the information about the optical module inserted in the interface epon-olt_1/5/1: ZXAN(config)#show interface optical-module-info epon-olt_1/5/1
Related Commands None
16-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
16.8 show interface port-status Syntax show interface port-status interface1
Function This command shows the attribute information of an Ethernet interface .
Parameters Parameter
Description
Value
interface1
Ethernet interface name, or a range
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to query the basic attributes of the Ethernet interface gei_1/19/1: ZXAN(config-if)#show interface port-status gei_1/19/1 ----------------------------------------------------------------------------Port
hybrid
Native Negotiation
Speed
Status
VLAN
(Mbps)
auto
Duplex FlowCtrl
Admin
Link
Status
----------------------------------------------------------------------------gei_1/19/1
optical
1
enable
1000
full
disable activate
down
Related Commands None
16.9 show monitor Syntax show monitor
Function This command displays the detailed information about the configured session. 16-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 16 Port Configuration
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples ZXAN(config)#show monitor session 1 Session 1 -----------Source Ports: Port: gei_0/5/1
Monitor Direction: both
Destination Port: Port:
Related Commands
16-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
16-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17
CES Commands Table of Contents CES Global Property Management...........................................................................17-1 CES-PW Service Property Management ................................................................17-19 CES-TDM Interface Property Management ............................................................17-29
17.1 CES Global Property Management 17.1.1 card-frametype Syntax card-frametype slotno number1 {unframed |framed name1 }
Function This command is used to configure the structure attributes of the card frame.
Parameters Parameter
Description
Value
number1
Slot number
1-22
unframed
unframed
-
name1
framed master/subordinate
-
mode
Mode CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines The card to be configured by using this command must support the switch between the framed mode and the unframed mode. The CTUB card is included. By default, the card is configured to be in unframed mode.
Examples The following example shows how to set the mode of the CTUB card in Slot 3 to be framed master. 17-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#ces ZXAN(config-ces)# card-frametype slotno 3 framed master
Related Commands 17.1.11 show ces card-frametype
17.1.2 ces Syntax ces
Function This command enters CES global configuration mode.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
Examples The following example shows how to enter CES global configuration mode: ZXAN(config)#ces ZXAN(config-ces)#
Related Commands None
17.1.3 interface-speed Syntax interface-speed slotno number1 name1
Function This command is used to configure the SDH interface speed. 17-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Parameters Parameter
Description
Value
number1
Slot number
1-22
name1
SDH interface speed
-
Mode CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines The card to be configured by using this command must be SDH card. the CTLA card is included. For the CTLA card, when the speed is set to 155M (STM-1), two optical interfaces are available. When the speed is set to 622M (STM-4), only one optical interface is available. The default speed is 155M (STM-1).
Examples The following example shows how to set the interface speed of the CTLA card in Slot 15 to 622M (STM-4). ZXAN(config)#ces ZXAN(config-ces)# interface-speed slotno 15 622M
Related Commands 17.3.8 show ces interface
17.1.4 ip-address Syntax ip-address ipv4 ip_addr1 name1 no ip-address
Function This command configures the source IP address.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
name1
Slot number and port number
-
17-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode ces global configuration mode
Usage Guidelines l l l l
For the PDH cards, including CTBB, CTTB, and CTUB, each card only has one IP address. For the SDH cards, including CTLA, each card has two IP addresses for two user interfaces. By default, the source IP address is an IPv4 address in the format of 192.192.192.x, X is “Slot number * 2” and “Slot number *2 +1”. The source IP address cannot be modified when a PW exists in the corresponding slot.
Examples The following example shows how to configure the source IP address: ZXAN(config-ces)#ip-address ipv4 100.1.1.1 5/1
Related Commands 17.1.12 show ces global-prop
17.1.5 line-coding Syntax line-coding slotno number1 name1
Function This command is used to configure the code type of the PDH interface.
Parameters Parameter
Description
Value
number1
Slot number
1-22
name1
Code type
-
Mode CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines l
The card to be configured by using this command must be card with the PDH interfaces, including CTBB, CTTB, and CTUB. 17-4
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
l l l
This command is used to configure the code type of all the PDH interfaces on one card. For E1 interface card, including CTBB and CTUB, the default code type is HDB3, and it can set to be HDB3 or AMI. For the T1 interface card, including CTTB, the default code type is B8ZS, and it can be set to be B8ZS or AMI.
Examples The following example shows how to set the interface code type of the CTTB card in Slot 7 to AMI. ZXAN(config)#ces ZXAN(config-ces)#line-coding slotno 7 AMI
Related Commands 17.3.8 show ces interface
17.1.6 mac-address Syntax mac-address hexadecimal1 name1
Function This command configures a source MAC address.
Parameters Parameter
Description
Value
hexadecimal1
MAC address in dotted
-
hexadecimal format. name1
Slot number and port number.
-
Mode CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines l l l
For the PDH cards, including CTBB, CTTB, and CTUB, each card only has one MAC address. For the SDH cards, including CTLA, each card has two MAC addresses for two user interfaces. By default, the source MAC address is 0015.EB72.X, X is “Slot number * 2” and “Slot number *2 +1”. 17-5
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
l
The source MAC address cannot be modified when a PW exists in the corresponding slot.
Examples The following example shows how to configure a source MAC address: ZXAN(config-ces)#mac-address 0015.eb72.0001 5/1
Related Commands 17.1.12 show ces global-prop
17.1.7 perf-clear-current Syntax perf-clear-current {ms |rs |msrei |b3 name1 |v5 name2 |v5rei name3 |b3rei name4 } {15-min |data }
Function This command is used to clear the SDH performance data.
Parameters Parameter
Description
Value
ms
ms performance point
-
rs
rs performance point
-
msrei
msrei performance point
-
b3
b3 performance point
-
SDH AU number selection in
-
name1
the form of augno/auno v5
v5 performance point
-
name2
SDH TU-12 selection in the form
-
of augno/auno/tug3no/tu2/tu12 v5rei
v5rei performance point
-
name3
SDH TU-12 selection in the form
-
of augno/auno/tug3no/tu2/tu12 b3rei name4
b3rei performance point
-
SDH AU number selection in
-
the form of augno/auno
17-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Parameter
Description
Value
15-min
SDH performance data within
-
the current 15 minutes data
All SDH performance data
-
Mode TDM interface mode: ZXAN(config-if)#
Usage Guidelines l l l l
This command is used to clear the SDH performance data within the 15 minutes or clear all the SDH performance data. When the SDH performance data within the 15 minutes is cleared, the history data will not be cleared. When all the SDH performance data is cleared, the SDH performance data within the 15 minutes is cleared, and it is the same with the history data. The SDH performance data includes b3, b3rei, ms, msrei, rs, v5, and v5rei data.
Examples The following example shows how to clear the rs performance data within the 15 minutes of the CTLA card in Slot 5. ZXAN(config)#interface tdm_1/5/1 ZXAN(config-if)#perf-clear-current rs 15-min
Related Commands
17.1.8 pw Syntax pw name1 no pw name1
Function This command creates a PW and starts ces-pw configuration mode.
Parameters Parameter
Description
Value
name1
PW name
-
17-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines To delete a PW, use the no pw command.
Examples The following example shows how to create a PW and starts ces-pw configuration mode: ZXAN(config)#ces ZXAN(config-ces)#pw pw_1/12/1 ZXAN(config-ces-pw)#
Related Commands None
17.1.9 sdhprot Syntax sdhprot group name1 worksdhport name2 protectsdhport name3 1plus1 no sdhprot group name1
Function This command creates an SDH protection group.
Parameters Parameter
Description
Value
name1
Protection group name
-
name2
Working port name
-
name3
Protection port name
-
1plus1
Constant value
-
Mode CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines l l l
One SDH interface can be configured by using this command. Two SDH interface to be configured do not belong to other protection groups. The corresponding internal interfaces of the two SDH interface are added to only one VLAN, and the VLAN ID is the same. 17-8
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
l
Only 1+1 protection mode is supported.
Examples The following example shows how to create an SDH protection group: ZXAN(config-ces)#sdhprot group aaa worksdhport tdm_1/3/1 protectsdhport tdm_1/4/1 1plus1
Related Commands 17.1.13 show ces sdhprot group count 17.1.14 show ces sdhprot group prop
17.1.10 sdhprot switch-command Syntax sdhprot switch-command group name1 {name2 name3 |lockoutprotect } no sdhprot switch-command group name1
Function This command initiates a protection switching.
Parameters Parameter
Description
Value
name1
Protection group name.
-
name2
Switching mode: forcible or
force or manual
manual. name3
Switching direction: l
-
p2w: from protection port to working port
l
w2p: from working port to protection port
lockoutprotect
Locks the protection channel.
-
Mode CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines l
To cancel the switching configuration, use the no sdhprot switch-command command.
17-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
l
l
When this command initiates a forcible switching, the current working card does not respond to any other switching command or switching request triggered by alarm unless the forcible switching command is cancelled. When this command initiates a manual switching, the current working card responds to other switching commands. If an alarm occurs in the current working card, the system switches to the protection card. After the alarm is cleared, the system automatically switches to the working card.
Examples The following example shows how to initiate a forcible protection switching from the working port to the protection port: ZXAN(config)#ces ZXAN(config-ces)#sdhprot switch-command group aaa force w2p
Related Commands 17.1.15 show ces sdhprot request
17.1.11 show ces card-frametype Syntax show ces card-frametype [slot number1 ]
Function This command is used to display the frame type information of the CES card.
Parameters Parameter
Description
Value
number1
Slot number
1-22
Mode All the modes except the user mode
Usage Guidelines This command can be used to display the frame type information of the card in one slot or all the CES card in one shelf.
Examples The following example shows how to display the frame type information of the CTUB card in Slot 6. ZXAN(config)#show ces card-frametype slot 6
17-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands slot
frametype
clockmode
cardtype
------------------------------------------------------------6
framed
master
CTUB
Related Commands 17.1.1 card-frametype
17.1.12 show ces global-prop Syntax show ces global-prop [name1 ]
Function This command displays CES global configuration.
Parameters Parameter
Description
Value
name1
Slot number and port number
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display CES global configuration: 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 17.1.6 mac-address 17.1.4 ip-address
17-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
17.1.13 show ces sdhprot group count Syntax show ces sdhprot group count
Function This command displays the count of existing SDH protection groups.
Parameters None
Mode All modes except user mode
Usage Guidelines This command is used to display only the protection group number and name.
Examples The following example shows how to display the count of existing SDH protection groups: ZXAN(config)# show ces sdhprot group count
Related Commands 17.1.9 sdhprot 17.1.14 show ces sdhprot group prop
17.1.14 show ces sdhprot group prop Syntax show ces sdhprot group prop [name1 ]
Function This command displays the details of an SDH protection group.
Parameters Parameter
Description
Value
name1
Protection group name
-
17-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Mode All modes except user mode
Usage Guidelines This command is used to display the detailed configuration information of the SDH protection group.
Examples The following example shows how to display the details of an SDH protection group: ZXAN(config)# show ces sdhprot group prop
Related Commands 17.1.9 sdhprot 17.1.13 show ces sdhprot group count
17.1.15 show ces sdhprot request Syntax show ces sdhprot request [group name1 ]
Function This command displays all switching requests of an SDH protection group, including alarm requests and external switching requests.
Parameters Parameter
Description
Value
name1
Protection group name
-
Mode All modes except user mode
Usage Guidelines This command can be used to display the alarm information of the highest level, external configuration commands, and the request information resulting in the SDH protection group changeover.
Examples The following example shows how to display all switching requests of the SDH protection group with the name “test”: 17-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#show ces sdhprot request Name:
zte
Protect interface:
tdm_1/17/1
Work interface:
tdm_1/5/1
Alarm request: WorkChannel: ProtectChannel:
LOS LOS
External request:
no-request
Highest local request:
no-request
Related Commands 17.1.10 sdhprot switch-command
17.1.16 show ces sdhprot switch-command Syntax show ces sdhprot switch-command [group name1 ]
Function This command displays switching commands related to an SDH protection group.
Parameters Parameter
Description
Value
name1
Protection group name
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display switching commands related to an SDH protection group: ZXAN(config)# show ces sdhprot switch-command group name
switch-mode
................................................................ zte
force_p2w
17-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Related Commands 17.1.10 sdhprot switch-command
17.1.17 show ces tdm-profile Syntax show ces tdm-profile [name1 ]
Function This command displays the details of a TDM profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the details of available TDM profile for PW: ZXAN(config)#show ces tdm-profile
Profile name :
zte
Payload size(bytes) :
32
Reorder:
enable
RtpHdr :
used
Ssrcval:
0
JtrBfr :
2000
Payload suppression: disable
ConsecPktsInSynch :
2
PktsOutSync :
10
PacketReplacePolicy :
AIS
AlarmThreshold(ms):
2500
TimeStampMode:
differential
ClearAlarmThreshold(ms):10000 QueueSize(bytes):
5
Related Commands 17.1.19 tdm-profile
17-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
17.1.18 show performance ces Syntax show performance ces {ms interface1 |msrei interface2 |b3rei name1 |b3 name2 |rs interface3 |v 5rei name3 |v5 name4 |wanport name5 } {current |current-15min-interval |his-15min-interval number1 }
Function This command is used to display the CES performance.
Parameters Parameter
Description
Value
ms
ms performance
-
interface1
SDH interface in the form of
-
tdm_shelf/slot/port msrei
msrei performance
-
interface2
SDH interace in the form of
-
tdm_shelf/slot/port b3rei
b3rei performance
-
name1
SDH AU selection in the form of
-
shelf/slot/port/augno/auno b3
b3 performance
-
name2
SDH AU number
-
selection in the form of shelf/slot/port/augno/auno rs
rs performance point
-
interface3
SDH interface in the form of
-
tdm_shelf/slot/port v5rei
v5rei performance
-
name3
SDH TU-12 selection in the form
-
of shelf/slot/port/augno/auno/tug3no/tu2/tu12 v5
v5 performance
-
name4
SDH TU-12 selection in the form
-
of shelf/slot/port/augno/auno/tug3no/tu2/tu12 wanport
PW performance
-
17-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Parameter
Description
Value
name5
PW name
-
current
Current value
-
current-15min-interval
Performance data within the
-
current 15 minutes number1
History data
1-96
Mode All the modes except the user mode
Usage Guidelines This command is used to display the performance of b3, b3rei, ms, msrei, rs, v5, v5rei, and wanport. For the SDH card (CTLA), it can be used to display all the performances. For the PDH card (CTBB, CTTB, and CTUB), it can only be used to display the wanport performace. The PW wanport performance can be displayed after PW is configured. The SDH performcen (b3, b3rei, ms, msrei, rs, v5, and v5rei) can be displayed at any time.
Examples The following example is used to display the wanport performance of pw_1/5/1. ZXAN(config-ces)#show performance ces wanport pw_1/5/1 current CES-PW pw_1/5/1 current performance data: -----------------------------------------------CesPwEarlyPkts
:0;
CesPwLatePkts
:0;
CesPwUnderrunPkts
:0;
CesPwLostPkts
:0;
CesPwRxPkts
:0;
CesPwTxPkts
:0;
CesPwCurQueueLen
:0;
CesPwAvgQueueLen
:0;
CesPwMaxQueueLen
:0;
CesPwMinQueueLen
:0;
Related Commands None
17-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
17.1.19 tdm-profile Syntax tdm-profile name1 number1 reorder name2 {[rtpHdr name3 number2 ] [jtrBfr number3 ] [payloa dSuppression name4 ] [inSyncPkts number4 ] [outSyncPkts number5 ] [pktReplacePolicy name5 ] [almThreshold number6 ] [clrAlmThreshold number7 ] } timestamp-mode name6 number8 no tdm-profile name1
Function This command configures a TDM profile.
Parameters Parameter
Description
Value
name1
Profile name.
-
number1
Payload size.
24–1500
name2
Enables or disables the
-
resorting function. name3
Whether RTP header is
-
required. number2
SSRC.
0–4294967295
number3
Jitter buffer size.
1–4294967295
name4
Whether payload suppression
-
is required. number4
InSyncPkts size.
1–4294967295
number5
OutSyncPkts size.
1–4294967295
name5
Packet replacement policy.
-
number6
Threshold for alarm reporting.
1–4294967295
number7
Threshold for alarm clearing.
1–4294967295
name6
Time stamp format.
-
number8
Queue size power.
1–10
Mode ces global configuration mode
Usage Guidelines l l
To cancel the setting, use the no tdm-profile command. A TDM profile can only be configured before this profile is applied to a PW. After the profile is applied to a PW, this profile cannot be modified or deleted. 17-18
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
l
TDM profiles applied to the same slot must have the same RTP.
Examples The following example shows how to configure a TDM profile: ZXAN(config)#ces ZXAN(config-ces)#tdm-profile zte 64 reorder enable rtpHdr enable 0 jtrBfr 2000 payloadSuppression disable inSyncPkts 2 outSyncPkts 10 pktReplacePolicy ais almThreshold 2500 clrAlmThreshold 10000 timestamp-mode absolute 6
Related Commands ZXAN(config-ces)#show ces tdm-profile
17.2 CES-PW Service Property Management 17.2.1 name Syntax name name1
Function This command configures a PW alias.
Parameters Parameter
Description
Value
name1
PW alias
-
Mode ces-pw configuration mode
Usage Guidelines The PW alias is only available in the NMS. It cannot be displayed on a CLI.
Examples The following example shows how to configure a PW alias: ZXAN(config)#ces ZXAN(config-ces)#pw pw_1/5/1 ZXAN(config-ces-pw)#name zte
17-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
17.2.2 psn ethernet Syntax psn ethernet name1 name2 dst-mac hexadecimal1 vlan number1 [cvlan number2 ] [priority num ber3 ]
Function This command configures the Ethernet packet attributes at the PW packet switching side.
Parameters Parameter
Description
Value
name1
Inbound label in the form of
-
0xXXXXX102. The PWs of the same slot have different common attributes. name2
Outbound label in the form of
-
0xXXXXX102. The PWs of the same slot have different common attributes. hexadecimal1
Specifies the format of the MAC
-
address: hexadecimal digits separated by dots. The MAC address range is not limited. number1
VLAN ID.
1–4094
number2
CVLAN ID
1–4094
number3
Priority.
0–7
Default: 7. A greater value indicates a higher priority.
Mode CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines l
The psn ethernet command and the tdm-service command are both used to perform one PW configuration. 17-20
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
l l
l
To configure one PW, it is necessary to select one command among the psn ethernet, psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command. When TDM interface bound with the PW is added to the protection group, the cvlan parameter of the command is not specified, the value will be generated automatically, otherwise the protection does not work. Because the PW service has a high requirements on the network, it is recommend to specify a higher value for the priority parameter.
None
Examples The following example shows how to configure the PSN Ethernent attribute of pw_1/5/1. ZXAN(config)#ces ZXAN(config-ces)#pw pw_1/5/1 ZXAN(config-ces-pw)#psn ethernet 0x1102 0x1102 dst-mac 0015.eb72.0002 vlan 1000 priority 7
Related Commands 17.2.3 psn ip 17.2.4 psn mef8 17.2.5 psn mpls-double 17.2.8 tdm-service 17.2.6 show ces pw count 17.2.7 show ces pw prop detail
17.2.3 psn ip Syntax psn ip number1 number2 ipv4 ip_addr1 dst-mac hexadecimal1 vlan number3 [cvlan number4 ] [priority number5 ]
Function This command is used to configures the IP packet attributes at PW packet switching side.
Parameters Parameter
Description
Value
number1
Source UDP port.
1–65535
number2
Destination UDP port.
1–65535
ip_addr1
IP address.
-
17-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
hexadecimal1
MAC address in dotted
-
hexadecimal format. number3
VLAN ID.
1–4094
number4
CVLAN ID
1–4094
number4
Priority.
0–7
Default: 7. A greater value indicates a higher priority.
Mode CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines l l l
l
The psn ip command and the tdm-service command are both used to perform one PW configuration. To configure one PW, it is necessary to select one command among the psn ethernet, psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command. When TDM interface bound with the PW is added to the protection group, the cvlan parameter of the command is not specified, the value will be generated automatically, otherwise the protection does not work. Because the PW service has a high requirements on the network, it is recommend to specify a higher value for the priority parameter.
Examples The following example shows how to configure the PSN IP attributes of pw_1/5/1. ZXAN(config)#ces ZXAN(config-ces)#pw pw_1/5/1 ZXAN(config-ces-pw)#psn ip 1 1 ipv4 192.168.0.1 dst-mac 0015.eb72.0002 vlan 1000 priority 7
Related Commands 17.2.2 psn ethernet 17.2.4 psn mef8 17.2.5 psn mpls-double 17.2.8 tdm-service 17.2.6 show ces pw count 17.2.7 show ces pw prop detail
17-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
17.2.4 psn mef8 Syntax psn mef8 name1 name2 dst-mac hexadecimal1 vlan number1 [cvlan number2 ] [priority number3 ]
Function This command is used to configure the attribute of the Ethernet packets defined by MEF8 protocol at the PW packet switching side.
Parameters Parameter
Description
Value
name1
Inbound label in the decimal or
1-1048575
hexadecimal form name2
Outbound label in the decimal
1-1048575
or hexadecimal form hexadecimal1
The destination MAC address in
-
dotted form number1
VLAN ID
1-4094
number2
CVLAN ID
1-4094
number3
VLAN priority
0-7
Default value: 7
Mode CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines l l l
l
The psn mef8 command and the tdm-service command are both used to perform one PW configuration. To configure one PW, it is necessary to select one command among the psn ethernet, psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command. When TDM interface bound with the PW is added to the protection group, the cvlan parameter of the command is not specified, the value will be generated automatically, otherwise the protection does not work. Because the PW service has a high requirements on the network, it is recommend to specify a higher value for the priority parameter.
Examples The following example shows how to configure the attributes of psn mef8 of pw_1/5/1. ZXAN(config)#ces
17-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-ces)#pw pw_1/5/1 ZXAN(config-ces-pw)#psn mef8 1 1 dst-mac 0015.eb72.0002 vlan 100 priority 7
Related Commands Related Commands 17.2.2 psn ethernet 17.2.3 psn ip 17.2.5 psn mpls-double 17.2.8 tdm-service 17.2.6 show ces pw count 17.2.7 show ces pw prop detail
17.2.5 psn mpls-double Syntax psn mpls-double name1 name2 name3 name4 dst-mac hexadecimal1 vlan number1 [cvlan numb er2 ] [priority number3 ]
Function This command is used to configure the attributes of the MPLS double-tagged packets at the PW packet switching side.
Parameters Parameter
Description
Value
name1
Inbound label in the decimal or
1-1048575
hexadecimal form name2
Outbound label in the decimal
1-1048575
or hexadecimal form name3
Inbound label in the decimal or
1-1048575
hexadecimal form name4
Outbound label in the decimal
1-1048575
or hexadecimal form hexadecimal1
The destination MAC address in
–
dotted form number1
VLAN ID
1-4094
17-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Parameter
Description
Value
number2
CVLAN ID
1-4094
number3
VLAN priority
0-7
Default value: 7
Mode CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines l l l
l
The psn mpls-double command and the tdm-service command are both used to perform one PW configuration. To configure one PW, it is necessary to select one command among the psn ethernet, psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command. When TDM interface bound with the PW is added to the protection group, the cvlan parameter of the command is not specified, the value will be generated automatically, otherwise the protection does not work. Because the PW service has a high requirements on the network, it is recommend to specify a higher value for the priority parameter.
Examples The following example shows how to configure the attribute of psn mpls-double of pw_1/5/1. ZXAN(config)#ces ZXAN(config-ces)#pw pw_1/5/1 ZXAN(config-ces-pw)#psn mpls-double 1 1 1 1 dst-mac 0015.eb72.0002 vlan 100 priority 7
Related Commands 17.2.2 psn ethernet 17.2.3 psn ip 17.2.4 psn mef8 17.2.8 tdm-service 17.2.6 show ces pw count 17.2.7 show ces pw prop detail
17.2.6 show ces pw count Syntax show ces pw count 17-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command queries existing PWs.
Parameters None
Mode All modes except user mode
Usage Guidelines l l
This command is only used to display the PW name created, and the detailed configuration information will not be displayed. After the command is executed, the status information of the PW is displayed. Active indicates the configuration is completed, and Inactive indicates that the configuration is not completed.
Examples The following example shows how to query existing PWs: ZXAN(config)#show ces pw count PW
Status
-----------------------------------------pw_1/5/1
Active
Related Commands 17.2.2 psn ethernet 17.2.7 show ces pw prop detail
17.2.7 show ces pw prop detail Syntax show ces pw prop detail name1
Function This command is used to display the detailed configuration information of a PW.
Parameters Parameter
Description
Value
name1
PW name (shelf/slot/pwId)
-
17-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Mode All modes except user mode
Usage Guidelines This command can be used to query the details of multiple PWs at a time.
Examples The following example shows how to display the detailed configuration information of a PW (pw_1/5/1): ZXAN(config)#show ces pw prop detail pw_1/5/1 pw pw_1/5/1 PwType: e1Satop
PsnType: ethernet
Admin-status: enable
OuterInboundLabel:N/A
OuterOutboundLabel:N/A
InboundLable
OutboundLable
:0x1102
:0x1102
Service prop: Using tdm interface: tdm_1/5/1.1/1/1/1/1 Using TimeSlot
: N/A
TDM-prop profile
: default
Psn prop: Destination Mac Address:
0015.EB72.0002
SVlan ID:
100
CVlan ID:
1024
priority:
7
Card prop: Card interface :
5/1
Source Mac Address: 0015.EB72.000A Source IP Address : 192.192.192.10
Related Commands 17.2.2 psn ethernet 17.2.6 show ces pw count
17.2.8 tdm-service Syntax tdm-service type name1 rate number1 {name2 |name3 |name4 } [timeslot name5 ] [tdm-profilename name6 ]
17-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures service-side properties of a PW.
Parameters Parameter
Description
Value
name1
User interface type
-
number1
TDM interface , E1:32, T1: 24
0-4294967295
name2
PDH user interface in the form
-
of tdm_shelf/slot/e1 name3
SDH AU-4-TU-12 mapping user
-
interface in the form of tdm_shelf/slot/port.augno/1/tug3/tug2/e1 name4
SDH AU-3-TU-11 mapping user
-
interface in the form of tdm_shelf/slot/port.augno/au3/tug2/t1 name5
User interface time slot,
-
represented with -, such as 1-10,15-20 name6
The attribute profile name of the
-
associated TDM
Mode ces-pw configuration mode
Usage Guidelines l l l
To configure one PW, it is necessary to select one command among the psn ethernet, psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command. The RTP attributes of all the TDM attribute profiles related to the PW in one slot must be the same. It is necessary to configure the timeslot parameter for the framed PW configuration. The timeslot parameter will not be configured for the unframed PW configuration.
Examples The following example shows how to configure the tdm-service attribute of pw_1/5/1. ZXAN(config)#ces ZXAN(config-ces)#pw pw_1/5/1 ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32 tdm_1/5/1.1/1/1/1/1
17-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Related Commands 17.2.2 psn ethernet 17.2.3 psn ip 17.2.4 psn mef8 17.2.5 psn mpls-double 17.2.6 show ces pw count 17.2.7 show ces pw prop detail
17.3 CES-TDM Interface Property Management 17.3.1 admin-status Syntax admin-status name1
Function This command enables or disables the administration on ports of a PW.
Parameters Parameter
Description
Value
name1
PW name
-
Mode TDM interface mode: ZXAN(config-if)#
Usage Guidelines l l l
This command is used to power down or up a user port. For the PDH interface, if it is not bound with the PW, the user interface is shut down, and this command does not work. For the SDH interface, the user interface is open , and this command works.
Examples The following example shows how to enable the administration on PW 1/5/1: ZXAN(config)#interface tdm_1/5/1 ZXAN(config-if)#admin-status enable
Related Commands 17.3.8 show ces interface 17-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
17.3.2 au-3 Syntax au-3 name1
Function This command enters au-3 configuration mode.
Parameters Parameter
Description
Value
name1
SDH AU3 number selection in
-
the form of augNo/au3
Mode TDM interface mode: ZXAN(config-if)#
Usage Guidelines l l l
The card to be configured by using this command must be SDH card. The CTLA card is included. In AU-3 configuration mode, 如果之前不是AU-3映射类型,SDH的映射类型会切换 成AU-3-TU-11映射类型。 Only when none of the time slots of all the interfaces in one slot is bound with PW, can the mapping type be modified.
Examples The following example shows how to enter the AU-3 configuration mode for the CTLA 1 interface in Slot 5. ZXAN(config)#interface tdm_1/5/1 ZXAN(config-if)#au-3 1/1 ZXAN(config-if-au3)#
Related Commands 17.3.8 show ces interface 17.3.3 au-4 tug-3
17.3.3 au-4 tug-3 Syntax au-4 tug-3 name1 17-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
Function This command starts au-4 tug-3 configuration mode.
Parameters Parameter
Description
Value
name1
SDH AU4 TUG3 number
-
selection in the form of augNo/au4/tug3
Mode TDM interface mode: ZXAN(config-if)#
Usage Guidelines l l
The card to be configured by using this command must be SDH card. The CTLA card is included. Only when none of the time slots of all the interfaces in one slot is bound with PW, can the mapping type be modified.
Examples The following example shows how to enter the AU-4 TUG-3 configuration mode for the CTLA 1 interface in Slot 5. ZXAN(config)#interface tdm_1/5/1 ZXAN(config-if)#au-4 tug-3 1/1/1 ZXAN(config-if-tug3)#
Related Commands 17.3.8 show ces interface 17.3.2 au-3
17.3.4 clock-source Syntax clock-source name1
Function This command configures the transmit clock source of a TDM interface.
17-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Default: adaptive
-
Mode TDM interface mode: ZXAN(config-if)#
Usage Guidelines The default clock source configuration is adaptive. The clock source configuration of a TDM interface cannot be modified if this interface is associated with a PW.
Examples The following example shows how to configure the transmit clock source of TDM interface 1 in slot 6 to differential. ZXAN(config)#interface tdm_1/6/1 ZXAN(config-if)#clock-source differential
Related Commands 17.3.8 show ces interface
17.3.5 loopback Syntax loopback name1
Function This command configures the loopback mode of a TDM interface.
Parameters Parameter
Description
Value
name1
Interface loopback type
-
Mode tdm interface mode
Usage Guidelines l
This command is used to configure the loopback type of the TDM interface. When the interface is SDH interface, the whole interface will be configured. When the interface is PDH interface, the PDH interface is configured. 17-32
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
l
The loopback mode of a TDM interface can be set to noLoop, lineloop, or inwardloop.
Examples The following example shows how to set the loopback type of the interface of CTLA in Slot 5 to inwardLoop. ZXAN(config)#interface tdm_1/5/1 ZXAN(config-if)#loopback inwardLoop
Related Commands 17.3.8 show ces interface
17.3.6 perf-clear-current Syntax perf-clear-current {ms |rs |msrei |b3 name1 |v5 name2 |v5rei name3 |b3rei name4 } {15-min |data }
Function This command is used to clear the SDH performance data.
Parameters Parameter
Description
Value
ms
ms performance point
-
rs
rs performance point
-
msrei
msrei performance point
-
b3
b3 performance point
-
name1
SDH AU number selection in
-
the form of augno/auno v5
v5 performance point
-
name2
SDH TU-12 selection in the form
-
of augno/auno/tug3no/tu2/tu12 v5rei
v5rei performance point
-
name3
SDH TU-12 selection in the form
-
of augno/auno/tug3no/tu2/tu12 b3rei
b3rei performance point
-
name4
SDH AU number selection in
-
the form of augno/auno 17-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
15-min
SDH performance data within
-
the current 15 minutes data
All SDH performance data
-
Mode TDM interface mode: ZXAN(config-if)#
Usage Guidelines l l l l
This command is used to clear the SDH performance data within the 15 minutes or clear all the SDH performance data. When the SDH performance data within the 15 minutes is cleared, the history data will not be cleared. When all the SDH performance data is cleared, the SDH performance data within the 15 minutes is cleared, and it is the same with the history data. The SDH performance data includes b3, b3rei, ms, msrei, rs, v5, and v5rei data.
Examples The following example shows how to clear the rs performance data within the 15 minutes of the CTLA card in Slot 5. ZXAN(config)#interface tdm_1/5/1 ZXAN(config-if)#perf-clear-current rs 15-min
Related Commands
17.3.7 range Syntax range
Function This command displays the port list of range.
Parameters None
Mode l l
Layer 2 fei interface mode PortCh interface mode 17-34
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 17 CES Commands
l
Layer 2 gei interface mode
Usage Guidelines None
Examples The following example shows how to display the port list of range: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#range Portlist of the range:
gei_1/19/1
Related Commands None
17.3.8 show ces interface Syntax show ces interface {name1 }
Function This command displays the configuration of an interface or a list of interfaces.
Parameters Parameter
Description
Value
name1
TDM Interface name
-
Mode All modes except user mode
Usage Guidelines l l
l
When this command is used to display the PDH card information, only the PDH interface configuration information is displayed. When this command is used to display the SDH card information, the SDH interface configuration information is displayed. The SDH time slot information is also displayed based on the mapping type. If the mapping type is other, no time slot information is displayed. This command can also be used to display the configuration information of the specified interface s in batch.
17-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to display the configuration of the interface tdm_1/6/1: ZXAN(config)#show ces interface tdm_1/6/1 Interface :tdm_1/6/1 Line type
: e1
Line coding
:HDB3
Admin status : enable
Opr status
:N/A
Clock source : adaptive
Clock status :FREERUN
Loop status
Impedance
: noLoop
:75 Ohm
Related Commands
17.3.1 admin-status 17.3.4 clock-source 17.3.5 loopback
17-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18
Clock Commands Table of Contents Clock Module Management ......................................................................................18-1 1588 Module Management .....................................................................................18-15
18.1 Clock Module Management 18.1.1 card-clock Syntax card-clock slotno number1 name1 no card-clock slotno number1
Function This command configures the system clock selection mode for a card.
Parameters Parameter
Description
Value
number1
Slot number (except slots of
1–22
main control cards) name1
System clock selection mode
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l
l
This command is used to configure the clock source selection mode for a card. If the selection mode is configured for a card, the card selects a clock source by using the configured mode upon startup. If no clock source selection mode is configured, or the no card-clock command is used to cancel the setting, the card selects a clock source depending on the default running status of the card version.
18-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to set the system clock of CTLA card in Slot 5 as the backplane clock. ZXAN(config)#clock ZXAN(config-clock)#card-clock slotno 5 backplane
Related Commands 18.1.8 show card-clock
18.1.2 clock-mode Syntax clock-mode name1
Function This command configures the clock mode: QL enable or QL disable.
Parameters Parameter
Description
Value
name1
Clock mode: QL-enable or
-
QL-disable
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
This command is used to decide the clock source selection of the clock system based on the QL quality. When the clock mode is set to “disable”, the clock operates in QL disable mode.
Examples The following example shows how to configure the clock mode to QL diaable: ZXAN(config)#clock ZXAN(config-clock)# clock-mode QL-disable
Related Commands 18.1.9 show clock config
18-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
18.1.3 dpll-adjust Syntax dpll-adjust {[range name1 number1 ] [offset name2 number2 ] }
Function This command adjusts the offset threshold, and positive or negative offset of the PPL.
Parameters Parameter
Description
Value
name1
Adjustment operation: ADD
-
(increasing the threshold), or DEC (decreasing the threshold) number1
Threshold offset (unit: PPM)
0–20
name2
Direction of deviation from the
-
benchmark number2
Offset from the benchmark (unit:
0–20
PPM)
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
This command is used as a debug command, and the debug results will not be saved. When the command is used twice, the second operation will make an adjustment based on the previous one.
l
Examples The following example shows how to adjust the PPL offset threshold and offsets: ZXAN(config-clock)# dpll-adjust offset LEFT 10 range ADD 10
Related Commands None
18.1.4 external-input Syntax external-input name1 {ssm name2 |quality name3 } mode name4 18-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures external input clock.
Parameters Parameter
Description
Value
name1
External clock input interface
-
name2
Clock source input level
-
name3
Clock source input level
-
name4
Input mode of external clock
-
source
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines Use the source command to add an external clock, and then use this command to configure the quality level and input mode for the external clock.
Examples The following example shows how to configure an external input clock: ZXAN(config)#clock ZXAN(config-clock)#source 1/20/1 type external priority 1 ZXAN(config-clock)#external-input 1/20/1 quality sec mode bits
Related Commands 18.1.14 source 18.1.9 show clock config
18.1.5 external-output Syntax external-output {{[{minssm name1 |ssmThreshold name2 } ] [mode name3 ] } |name4 }
Function This command configures an external output clock source.
18-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
Parameters Parameter
Description
Value
name1
Threshold for clock source
–
output. name2
Threshold for clock source
-
output. name3
Output mode of the external
-
clock source. name4
Manually disables the output of
-
the external clock source.
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
This command configures the mode and threshold for the output of an external clock source. The clock output is enabled only when the system clock quality is equal to or greater than the SSM threshold.
Examples The following example shows how to configure an external output clock source: ZXAN(config)#clock ZXAN(config-clock)#external-output ssmThreshold sec mode bits
Related Commands 18.1.9 show clock config
18.1.6 internal-output Syntax internal-output slot number1 port name1 name2
Function This command controls the configuration of clock that is output by the main control card to the entire system.
18-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Slot number
0–255
name1
Clock type
-
Output mode of external clock
-
name2
source
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
This command enables or disables all clock types for all slots. All types of clocks in all the slots are opened by default.
Examples The following example shows how to open all the types of the clocks. ZXAN(config)#clock ZXAN(config-clock)#internal-output slot 20 port all on
Related Commands None
18.1.7 set Syntax set {[wtr number1 ] [holdofftime number2 ] }
Function This command configures global operating mode and clock-related parameters.
Parameters Parameter
Description
Value
number1
Time to wait for recovery
0–12
Unit: minute Default: 5 minute number2
Time to wait for alarm
300–1800
Unit: mm Default: 300 ms 18-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
Time to wait for alarm: The period from the alarm detection to the alarm confirmation. Time to wait for recovery: The period from the alarm recovery to the alarm recovery confirmation.
Examples The following example shows how to set WTR to 300 ms, and hold-off time to 5 minutes. ZXAN(config)#clock ZXAN(config-clock)#set holdofftime 500 wtr 10
Related Commands 18.1.9 show clock config
18.1.8 show card-clock Syntax show card-clock [slotno number1 ]
Function This command displays the clock mode configuration of a card in a slot.
Parameters Parameter
Description
Value
number1
Slot number
1–22
Mode All modes except user mode
Usage Guidelines This command shows the clock mode configuration of cards in all slots when no slot number is specified in the command.
Examples The following example shows how to display the clock mode configuration of the CTLA card in Slot 5.: ZXAN(config-clock)#show card-clock slotno 5
18-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference slotno: 5 card-clock config:backplane card-clock state: backplane
Related Commands 18.1.1 card-clock
18.1.9 show clock config Syntax show clock config [name1 ]
Function This command displays the configuration of the clock source and output clock.
Parameters Parameter
Description
Value
name1
master or slave
-
Mode All modes except user mode
Usage Guidelines This command displays the available optional clock sources in order of decreasing priorities in separate lines: external input clock source configuration, and external output clock source configuration.
Examples The following example show how to display the configuration of the clock source and output clock. ZXAN(config)#show clock config interface
type
priority
ssm
mode
status
remarks
...................................................................... 1/20/1
external
1
qlsec
bits
-
source
1/20/3
external
253
qlsec
bits
-
output
clock source count: 1; wtr 10 minutes;
holdofftime 500 ms;QL-disable
external-clock: balance
18-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
Related Commands None
18.1.10 show clock interface esmc Syntax show clock interface esmc
Function This command queries the ESMC status of clock ports.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the ESMC status of clock ports: ZXAN(config)#show clo interface esmc interface
port_type
esmc
............................................. 1/22/1
synce
enable
Related Commands 18.1.17 switch
18.1.11 show clock interface ssm-send Syntax show clock interface ssm-send
Function This command queries the SSM statuses of clock ports.
18-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query SSM status of clock ports: ZXAN(config)#show clock interface ssm-send interface
port_type
ssm-send
............................................. 1/22/1
synce
qlsec
Related Commands 18.1.15 ssm-send
18.1.12 show clock source active Syntax show clock source active
Function This command displays the active clock source.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the active clock source: ZXAN(config-clock)#
show sour act
18-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands Interface
: 1/10/0
Type
: internal
Quality Level: 11 Status
: FreeRun
Warning
: Loss of Timing Inputs
Operation
: none
Related Commands 18.1.14 source 18.1.17 switch
18.1.13 show clock source alarm Syntax show clock source alarm
Function This command queries alarms of all configured clock sources.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query alarms of clock sources: ZXAN(config)#show clock source alarm interface
type
priority
ssm-received alarm
........................................................................... 1/20/1
external
1
undef
loss of signal
Related Commands 18.1.14 source
18-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
18.1.14 source Syntax source name1 {type name2 priority number1 |priority number2 } no source {priority number3 |id name1 }
Function This command adds a clock source reference.
Parameters Parameter
Description
Value
name1
Input clock source port
-
name2
Clock source type
-
number1
Clock source priority
1–250
number2
Clock source level
1–250
number3
–
1–255
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
When this command is used to modify the attribute of the clock source, only the priority of the clock source can be modified. To configure the external input clock, both the source command and the external-input command are used together.
Examples The following example shows how to add a reference clock source: ZXAN(config)#clock ZXAN(config-clock)#source 1/20/1 type external priority 1 ZXAN(config-clock)#external-input 1/20/1 quality sec mode bits
Related Commands None
18-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
18.1.15 ssm-send Syntax ssm-send name1 name2 no ssm-send name1
Function This command sets an SMM byte to be sent.
Parameters Parameter
Description
Value
name1
Specify the sending port
-
name2
Quality level
-
Mode clock global configuration mode
Usage Guidelines This command sets the value of an SSM byte sent by a port. The port neglects the value of the SSM byte automatically assigned by the clock and sets the SSM value to the configured on forcibly.
Examples The following example shows how to set the value of the SSM byte to be sent on a port: ZXAN(config)#clock ZXAN(config-clock)#ssm-send 1/21/1 qlsec
Related Commands 18.1.11 show clock interface ssm-send
18.1.16 ssm-set Syntax ssm-set name1 name2 no ssm-set name1
Function This command sets the SSM byte of a clock source. 18-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Input clock source port
-
name2
Quality level
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l l
This command sets the SSM value of a clock source. This command cannot be used to configure the clock source until the clock source has been added by using the source command. After the configuration, the system uses the configured value for clock source selection regardless of the actual SSM value received.
Examples The following example shows how to set the value of the SSM byte of a clock source: ZXAN(config)#clock ZXAN(config-clock)#source 1/20/1 type external priority 1 ZXAN(config-clock)#external-input 1/20/1 quality sec mode bits ZXAN(config-clock)#ssm-set 1/20/1 qlsec1
Related Commands ZXAN(config-clock)#show clock config
18.1.17 switch Syntax switch {name1 name2 name3 |name4 name5 }
Function This command configures the clock source external commands and ESMC channel..
Parameters Parameter
Description
Value
name1
External command
-
name2
Set or clear
-
name3
Input clock source port
-
18-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
Parameter
Description
Value
name4
External command
-
name5
Set or clear
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines None
Examples The following example shows how to set the input clock source of CICK port 1 in Slot 20 as the current clock source by force. ZXAN(config)#clock ZXAN(config-clock)#switch force set 1/20/1
Related Commands None
18.2 1588 Module Management 18.2.1 1pps Syntax 1pps priority number1 {ptp |1pps reference name1 } [name2 ] no 1pps name2
Function This command is used to configure the 1PPS source of the control and switch card.
Parameters Parameter
Description
Value
number1
1PPS priority
1-255
ptp
Clock source type, restored
-
from the PTP protocol 1pps
Clock source type
-
18-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name1
1PPS signal type
-
l
ttl for 1PPS signal input of copper coaxial
l
422 for 1PPS signal input of RJ45
name2
Slot number/port number
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
This command is used only for CICK input 1PPS source. When PTP command has been used for the configuration, the 1pps command can not be used for the configuration.
Examples The following example shows how to set the CICK port 1 of Slot 20 as the 1PPS source, and set the priority to 1. ZXAN(config)#clock ZXAN(config-clock)#1pps priority 1 1pps reference 422 20/1
Related Commands 18.2.6 show time 1pps
18.2.2 1pps-output Syntax 1pps-output {name1 |{[name2 ] [adjust number1 ] } } [name3 ] no 1pps-output [name3 ]
Function This command is used to configure the 1PPS output function, and adjust the 1PPS output phase of the PON card.
18-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
Parameters Parameter
Description
Value
name1
Enable the 1PPS output and
-
configure the output standard name2
Enable/disable the 1PPS output.
-
number1
1PPS output calibration
-1000000-1000000
Unit: nano-second name3
Slot number/port number
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines For the PON card, use the adjust parameter for phrase adjustment. the adjust parameter can not be used for the CICK card.
Examples The following example shows how to disable the 1PPS output of CICK port 1 in Slot 20. ZXAN(config)#clock ZXAN(config-clock)#1pps-output disable 20/1
Related Commands 18.2.7 show time 1pps-output
18.2.3 ptp Syntax ptp name1 {ip ip_addr1 |mac } {[name2 ] [domain number1 ] [packet-type name3 ] [interval nu mber2 ] [step-mode name4 ] [name5 ] } no ptp name5
Function This command is used to configure the PTP working mode.
18-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
PTP mode, only support slave
-
ip_addr1
Configure 3–layer encapsulation
-
mode, and configure PTP local IP address. Configure 2–layer encapsulation
mac
-
mod name2
Configure synchronous Ethernet
-
network. number1
PTP domain
0-255
name3
Unicast/multicast mode
-
number2
Time interval for protocol packet
-8-0
sending name4
PTP simgle/dual working mode
-
name5
Slot number/port number
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l l l l
For the 1588 synchronization configuration, this command must be used. The domain configured in this command must be the same as the domain of the master. Only one PTP configuration is supported for the moment. For the time synchronization of unicast mode, the ptp-source command is also needed. If the synchronous Ethernet network mode is used, the source command must be used to configure the clock source of the synchronous Ethernet network.
Examples The following example shows how to set the PRT mode to the synchronous Ethernet network of 2–layer multicast. ZXAN(config)#clock ZXAN(config-clock)#ptp slave mac packet-type multicast sync-hybrid-mode
Related Commands
18.2.5 ptp-source 18-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
18.2.8 show time ptp
18.2.4 ptp-adjust Syntax ptp-adjust number1 [name1 ]
Function This command is used to configure the PTP 1PPS output phase calibration of the control and switch card.
Parameters Parameter
Description
Value
number1
Phase calibration
-1000000-1000000
Unit: Nano-second name1
Slot number/port number
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l
Try to use the 1pps-output command for the calibration because the ptp-adjust command can not provide accurate result. The calibration value must be obtained with the use of the meter.
Examples The following example shows how to adjust the output phase of 1PPS to 100 nano seconds. ZXAN(config)#clock ZXAN(config-clock)#ptp-adjust 100
Related Commands 18.2.2 1pps-output
18.2.5 ptp-source Syntax ptp-source {ip ip_addr1 |mac hexadecimal1 } [adjust number1 ] no ptp-source {ip ip_addr1 |mac hexadecimal1 } 18-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command is used to configure the MAC/IP address of the 1588 source.
Parameters Parameter
Description
Value
ip_addr1
Source IP address of PTP time
-
hexadecimal1
Mac address of PTP time
-
number1
No symmetric calibration
-1000000-1000000
Unit: Nano-second
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines l l l
When the unicast mode is used for the 1588 synchronization, this command is used to configure the MAC/IP address of the 1588 source. Before the configuration by using this command, the PTP command must be used first for the configuration. Both the encapsulation mode of this command and the PTP command must be the same.
Examples The following example shows show to set the encapsulation mode as 2–layer encapsulation and the set the MAC address of 1588 source to 1234.1234.1234. ZXAN(config)#clock ZXAN(config-clock)#ptp-source mac 1234.1234.1234
Related Commands 18.2.3 ptp 18.2.9 show time ptp-source
18.2.6 show time 1pps Syntax show time 1pps
Function This command is used to query the transparent 1PPS configuration and status. 18-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
Parameters None
Mode Any mode except the user mode
Usage Guidelines None
Examples The following example shows how to display the current 1PPS configuration and status. ZXAN(config)#show time 1pps slot/port
type
priority
1pps-ref
status
work-status
1pps-ref-status
................................................................................ .. 20/1
1pps
1
422
unavailable N/A
N/A
1pps-input configure count: 1
Related Commands 18.2.1 1pps
18.2.7 show time 1pps-output Syntax show time 1pps-output
Function This command is used to display the configuration of 1PPS output and phase calibration.
Parameters None
Mode Any mode except the user mode
Usage Guidelines None 18-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following examples shows how to display the configuration of 1PPS output and phase calibration. ZXAN(config)#show time 1pps-output slot/port
status
adjust
............................................. 20/1
disable
0
1pps-output configure count: 1
Related Commands 18.2.2 1pps-output
18.2.8 show time ptp Syntax show time ptp
Function This command is used to display the PTP configuration and status.
Parameters None
Mode Any mode except the user mode
Usage Guidelines l l
This command can be used to display the 1588 status and UTC time. When the Status is aligned, it indicates the status is locked.
Examples The following example shows how to display the PTP configuration and status. ZXAN(config)# show time ptp Slot/ port Mode
Domain addr
Hybrid Multi
Two-
-Mode
Step
cast
Status Interval
Utc
Layer2
................................................................................
10/1 slave 0 192.168.2.11
no-hyb
y
n freerun
-4 1970-01-01 00:00:00 n
18-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands
Related Commands 18.2.3 ptp 18.2.5 ptp-source
18.2.9 show time ptp-source Syntax show time ptp-source
Function This command is used to display the PTP source configuration.
Parameters None
Mode Any mode except the user mode
Usage Guidelines None
Examples The following examples shows how to display the PTP source configuration. ZXAN(config)#show time ptp-source addr
adjust
layer2
................................ 10.10.10.12
0
time source count:
n 1
Related Commands None
18.2.10 show time tod Syntax show time tod
Function This command is used to display the TOD configuration. 18-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode Any mode except the user mode
Usage Guidelines This command is used to display the current TOD format and time.
Examples The following example shows how to display the TOD configuration. ZXAN(config)#show time tod slot/port
mode
tod-status
utc
........................................................................ 20/1
china-mobile
N/A
2105-01-15 10:03:44
TOD input configure count: 1
Related Commands 18.2.12 tod
18.2.11 show time utc-offset Syntax show time utc-offset
Function This command is used to display the UTC offset.
Parameters None
Mode Any mode except the user mode
Usage Guidelines None
Examples The following example shows how to display the UTC offset. 18-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 18 Clock Commands ZXAN(config)#show time utc-offset UTC
=
GPS+20s
Related Commands 18.2.13 utc-offset
18.2.12 tod Syntax tod name1 name2 no tod name2
Function This command is used to configure the transparent TOD format.
Parameters Parameter
Description
Value
name1
TOD format for the system input
-
name2
Slot number/port number
-
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines This command only supports the TOD input information of CICK.
Examples The following example shows how to set the information format of CICK inSlot 20 tio the China mobile formati. ZXAN(config)#clock ZXAN(config-clock)#tod china-mobile 20/1
Related Comamnds 18.2.10 show time tod
18-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
18.2.13 utc-offset Syntax utc-offset number1
Function This command is used to configure the UTC offset.
Parameters Parameter
Description
Value
number1
The offset of UTC time and GPS
-255-255
time Unit: second
Mode Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines None
Examples The following example shows how to set the UTC and GPS offset time to 20 seconds. ZXAN(config)#clock ZXAN(config-clock)#utc-offset 20
Related Comamnds 18.2.11 show time utc-offset
18-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 19
Ethernet Interface Configuration Commands Table of Contents byname ....................................................................................................................19-1 description................................................................................................................19-2 duplex ......................................................................................................................19-3 flowcontrol................................................................................................................19-4 hybrid-attribute .........................................................................................................19-5 linktrap .....................................................................................................................19-5 multicast ttl-threshold ...............................................................................................19-7 negotiation auto........................................................................................................19-7 range........................................................................................................................19-8 shutdown..................................................................................................................19-9 speed .....................................................................................................................19-10
19.1 byname Syntax byname name1 no byname
Function This command sets an alias for an interface.
Parameters Parameter
Description
Value
name1
Interface alias
0–32 characters
Mode l l l
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) loopback interface mode Layer 2 fei interface mode
19-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To delete the alias name, use the no byname command. After an alias is set for an interface, a user can use this alias to start the configuration mode of this interface.
Examples The following example shows how to set the alias of an interface (gei_1/5/1) to ether1 and use this alias to enter the configuration mode of this interface: ZXAN(config)#interface gei_1/5/1 ZXAN(config-if)#byname ether1 ZXAN(config-if)#exit ZXAN(config)#interface byname ether1 ZXAN(config-if)#
Related Commands
19.2 description Syntax description LINE1 no description
Function This command is used to describe the specified interface.
Parameters Parameter
Description
Value
LINE1
Interface description
Length: 1– 64 characters
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines None
19-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 19 Ethernet Interface Configuration Commands
Examples The following example shows how to describe the Ethernet interface gei_1/19/1. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#description this is gei1
Related Commands
19.3 duplex Syntax duplex {half |full } no duplex
Function This command is used to configures the operating mode of an interface.
Parameters Parameter
Description
Value
half
Half duplex mode
-
full
Full duplex mode
-
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines To restore the default setting, use the no duplex command. FE/GE electrical interfaces support both half duplex and full duplex modes; while FE/GE/10GE optical interfaces support only full duplex mode. Before configuring the duplex mode of an interface, disable self-negotiation on the interface first. It is not allowed to configure the duplex mode of an interface when the self-negotiation is enabled.
Examples The following example shows how to set the operating mode of the interface gei_1/19/1 to full duplex mode: 19-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#no negotiation auto ZXAN(config-if)#duplex full
Related Commands None
19.4 flowcontrol Syntax flowcontrol {enable |disable } no flowcontrol
Function This command is used to configure the flow control function of the Ethernet interface.
Parameters Parameter
Description
Value
enable
Enable the flow control function.
-
disable
Disable the flow control function.
-
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines The command no flowcontrol and flowcontrol disable are both used to disable the flow control functions. The flow control function of the Ethernet interface is disabled by default.
Examples The following example shows how to disable the flow control function of the Ethernet interface gei_1/19/1. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#flowcontrol disable
Related Commands 无 19-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 19 Ethernet Interface Configuration Commands
19.5 hybrid-attribute Syntax hybrid-attribute {fiber |copper }
Function This command configures the media attribute of a GE interface: fiber or copper.
Parameters Parameter
Description
Value
fiber
Fiber interface
-
copper
Copper interface
-
Mode l l l
PTP interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines This command can only be used for interfaces that support fiber-to-copper or copper-to-fiber media conversion.
Examples The following example shows how to set the media attribute of the interface (gei_1/19/1) to copper. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#hybrid-attribute copper
Related Commands None
19.6 linktrap Syntax linktrap {disable |alarm }
Function This command is used to configuring the warning methods for interface linkup or interface linkdown. 19-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
disable
Do not send warning messages
-
to the NMS when the interface link status changes. alarm
Send warning or warning
-
recovery messages to NMS when the interface status changes.
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines In EPON OLT interface mode, the warning method for linktrap can be set to disable or inform. The linktrap function is disabled by default. In Ethernet interface mode, the warning method for linktrap can be set to disable or alarm. The linktrap warning method is set to alarm by default. When the interface link is down, the NE sends warning messages to NMS. Down warning: When the interface link is up, the link down messages are removed, and link recovery messages are generated.
Examples l
The following example shows how to set the linktrap warning method of interface EPON-olt_1/4/1. ZXAN(config)#interface EPON-olt_1/4/1 ZXAN(config-if)#linktrap inform
l
The following example shows how to set the linktrap warning method of interface gei_1/19/1 to alarm. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#linktrap alarm
Related Commands show running interface
19-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 19 Ethernet Interface Configuration Commands
19.7 multicast ttl-threshold Syntax multicast ttl-threshold number1 no multicast ttl-threshold
Function This command is used to configure the TTL threshold value of the multicast packets for the Ethernet interface.
Parameters Parameter
Description
Value
number1
The TTL threshold value of the
0-255
multicast packets
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines None
Examples The following example shows how to set the TTL threshold value of the multicast packets for gei_1/19/1 to 100. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#multicast ttl-threshold 100
Related Commands 无
19.8 negotiation auto Syntax negotiation auto no negotiation auto 19-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables auto-negotiation of an Ethernet interface.
Parameters None
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines l l
To disable auto-negotiation, use the no negotiation auto command. By default, auto-negotiation is enabled for Ethernet interfaces.
Examples The following example shows how to set the operating mode of r the interface gei_0/5/1 to auto-negotiation. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)# negotiation auto
Related Commands
19.9 range Syntax range
Function This command displays the port list of an interface.
Parameters None
Mode l l l
Layer 2 fei interface mode PortCh interface mode Layer 2 gei interface mode 19-8
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 19 Ethernet Interface Configuration Commands
Usage Guidelines None
Examples The following example shows how to display the port list in the range of an interface: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#range Portlist of the range:
gei_1/19/1
Related Commands None
19.10 shutdown Syntax shutdown no shutdown
Function This command enables or disables an interface.
Parameters None
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines By default, each interface is enabled. The shutdown command disables all the functions of an interface. This command does not influence the physical status (up or down) of the interface.
Examples The following example shows how to enable the serial interface gei_1/19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#no shutdown
19-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
19.11 speed Syntax speed {10 |100 |1000 } no speed
Function This command configures the speed of an interface: 10 Mbps, 100 Mbps, or 1000 Mbps.
Parameters Parameter
Description
Value
10
Set the interface speed to 10
-
Mbps. Set the interface speed to 100
100
-
Mbps. 1000
Set the interface speed to 1000
-
Mbps.
Mode l l l
Layer 2 fei interface mode Layer 2 gei interface mode 10G Ethernet interface mode: ZXAN(config-if)#
Usage Guidelines l l
To restore the default speed of an interface, use the no speed command. Disable the auto-negotiation function of an interface first, and then use this command to configure the speed. It is not allowed to configure the interface speed when the auto-negotiation function is enabled.
Examples The following example shows how to set the speed of the interface gei_1/19/1 to 1000 Mbps: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#no negotiation auto ZXAN(config-if)#speed 1000
19-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 19 Ethernet Interface Configuration Commands
Related Commands
19-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
19-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20
Port Security Commands Table of Contents eth-switch broadcast-limit .........................................................................................20-1 eth-switch mac-protect .............................................................................................20-2 eth-switch max-frame-length ....................................................................................20-3 eth-switch multicast-limit...........................................................................................20-4 eth-switch unknowncast-limit ....................................................................................20-5 eth-switch vlan-limit ..................................................................................................20-6 port-protect...............................................................................................................20-7 security packet-limit..................................................................................................20-8 security packet-limit (gpon onu interface mode)........................................................20-9 security packet-limit igmp .......................................................................................20-10 security packet-limit mld ......................................................................................... 20-11 security port-protect................................................................................................20-12 security storm-control .............................................................................................20-13 security storm-control broadcast.............................................................................20-14 security storm-control multicast ..............................................................................20-15 security usercommunication control........................................................................20-16 security usercommunication svlan ..........................................................................20-17 show eth-switch......................................................................................................20-18 show eth-switch vlan-limit.......................................................................................20-18 show security interface packet-limit ........................................................................20-19 show security interface storm-control......................................................................20-20 show security port-protect ......................................................................................20-21 show security usercommunication-control ..............................................................20-21 show security vlan-communication .........................................................................20-22 unknowncast-rate-limit ...........................................................................................20-23 uplink-isolate ..........................................................................................................20-24
20.1 eth-switch broadcast-limit Syntax eth-switch broadcast-limit number1 [burst-size number2 ] no eth-switch broadcast-limit
20-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures a limit on global broadcast packets.
Parameters Parameter
Description
Value
number1
Number of broadcast packets
0-65534
that are limited by the system per second. number2
Size of the broadcast bucket.
4-16384
Default: 512 kb.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To disable the global broadcast packet limit function, use the no form of this command.
Examples The following example shows how to set the system limit on broadcast packets to 200 pps: ZXAN(config)#eth-switch broadcast-limit 200
Related Commands 20.18 show eth-switch
20.2 eth-switch mac-protect Syntax eth-switch mac-protect hexadecimal1 vlan number1 no eth-switch mac-protect hexadecimal1 vlan number1
Function This command configures the global MAC + VLAN anti-drift function and delivers the MAC + VLAN configuration to all EPON line cards.
20-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Parameters Parameter
Description
Value
hexadecimal1
MAC address
-
number1
VLAN value
1-4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines After a protected MAC address is configured, if upstream traffic with the MAC + VLAN occurs on an ONU that is connected to an EPON line card, the EPON line card discards the upstream traffic.
Examples The following example shows how to configure a MAC + VLAN anti-drift policy: ZXAN(config)#eth-switch mac-protect 0000.0000.0001 vlan 2
Related Commands 20.18 show eth-switch
20.3 eth-switch max-frame-length Syntax eth-switch max-frame-length number1 no eth-switch max-frame-length
Function This command configures the maximum length of global transmission frames.
Parameters Parameter
Description
Value
number1
Maximum length of global
1518-9600
transmission frames. Default: 1600.
20-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the maximum length of transmission frames is 1600. To disable the maximum length limit on global transmission frames, use the no form of this command.
Examples The following example shows how to disable the maximum length limit on global transmission frames: ZXAN(config)#no eth-switch max-frame-length
Related Commands 20.18 show eth-switch
20.4 eth-switch multicast-limit Syntax eth-switch multicast-limit number1 no eth-switch multicast-limit
Function This command configures a limit on global multicast packets.
Parameters Parameter
Description
Value
number1
Number of multicast packets
0-65534
that are limited by the system per second.
Mode Configuration mode: ZXAN (config)#
20-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Usage Guidelines To disable the global multicast packet limit function, use the no form of this command.
Examples The following example shows how to set the system limit on multicast packets to 100 pps: ZXAN(config)#eth-switch multicast-limit 100
Related Commands 20.18 show eth-switch
20.5 eth-switch unknowncast-limit Syntax eth-switch unknowncast-limit number1 no eth-switch unknowncast-limit
Function This command limits unknown packets.
Parameters Parameter
Description
Value
number1
Number of unknown packets
0-65534
that are limited by the system per second.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The default limit on unknown packets is 100 pps. To restore the default value (100 pps), use the no form of this command. If the value is set to 65534, it indicates that no limit is set for unknown packets.
Examples The following example shows how to set the limit on unknown packets to 1000 pps: 20-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
ZXAN(config)#eth-switch unknowncast-limit 1000
Related Commands None
20.6 eth-switch vlan-limit Syntax eth-switch vlan-limit vlan number1 rate number2 {downstream |upstream } no eth-switch vlan-limit vlan number1 {downstream |upstream }
Function This command configures the rate limit policy for global VLANs.
Parameters Parameter
Description
Value
number1
VLAN number.
1-4094
number2
Limited rate. Unit: kbps.
64-10000000
Granularity: 64 kbps. downstream
Rate limit in the downstream
-
direction. upstream
Rate limit in the upstream
-
direction.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is a global configuration command. At present, the maximum number of VLAN rules that are allowed by the main control board is 64. The granularity of a configured rate is 64 kbps, and a valid rate is a multiple of 64 kbps. For example, if the configured rate is 65 kbps, the valid rate is 64 kbps. If a downstream rate limit rule is configured, the rule is applied to all uplink ports. If an upstream rate limit rule is configured, the rule is applied to all inline ports except uplink ports. 20-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Examples The following example shows how to configure a VLAN rate limit rule: ZXAN(config)#eth-switch vlan-limit vlan 200 rate 64 upstream
Related Commands 20.19 show eth-switch vlan-limit
20.7 port-protect Syntax port-protect {enable |disable }
Function This command configures the user isolation (port protection) function for uplink ports.
Parameters Parameter
Description
Value
enable
Enables the port protection
-
function. disable
Disables the port protection
-
function.
Mode Layer-2 fei interface mode, PortCh interface mode, Layer-2 gei interface mode
Usage Guidelines By default, the port protection function is disabled for uplink ports.
Examples The following example shows how to enable the port protection function of uplink ports: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#port-protect enable
Related Commands None 20-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
20.8 security packet-limit Syntax security packet-limit {link-local-address |icmpv6 |nd |dhcpv6 } rate number1 direction {ingress |egress } no security packet-limit {link-local-address |icmpv6 |nd |dhcpv6 } direction {ingress |egress }
Function This command configures a rate limit for packets at the GPON-OLT port level.
Parameters Parameter link-local-address
Description
Value
The rate limit is set
-
for the packets of the LINK-LOCAL-ADDRESS type. icmpv6
The rate limit is set for the
-
packets of the ICMPV6 type. nd
The rate limit is set for the
-
packets of the ND type. dhcpv6
The rate limit is set for the
-
packets of the DHCPV6 type. number1
Limited rate. Unit: kbps.
0-1000000
Default: No limit. ingress
The rate limit is in the upstream
-
direction. egress
The rate limit is in the
-
downstream direction.
Mode gpon olt interface mode
Usage Guidelines A rate limit can be configured for packets of the following types: LINK-LOCAL-ADDRESS, ICMPV6, ND, and DHCPV6. The rate limit can be in the upstream direction or downstream direction. To restore the default settings, use the no form of this command. 20-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Examples The following example shows how to configure the upstream rate limit for ICMPV6 packets to 1000 kbps: ZXAN(config)#interface gpon-olt_1/15/1 ZXAN(config-if)#security packet-limit ICMPV6 rate 1000 direction ingress
Related Commands 20.20 show security interface packet-limit
20.9 security packet-limit (gpon onu interface mode) Syntax security packet-limit {link-local-address |icmpv6 |nd |dhcpv6 } rate number1 direction {ingress |egress } [vport number2 ] no security packet-limit {link-local-address |icmpv6 |nd |dhcpv6 } direction {ingress |egress } vport number2
Function This command configures a rate limit for packets at the VPORT level.
Parameters Parameter
Description
Value
link-local-address
The rate limit is set
-
for the packets of the LINK-LOCAL-ADDRESS type. icmpv6
The rate limit is set for the
-
packets of the ICMPV6 type. nd
The rate limit is set for the
-
packets of the ND type. dhcpv6
The rate limit is set for the
-
packets of the DHCPV6 type. number1
Limited rate. Unit: kbps.
0-1000000
Default: No limit. ingress
The rate limit is in the upstream
-
direction.
20-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
egress
The rate limit is in the
-
downstream direction. number2
Virtual port number. Default: 1.
1-256
Mode gpon onu interface mode
Usage Guidelines A rate limit can be configured for packets of the following types: LINK-LOCAL-ADDRESS, ICMPV6, ND, and DHCPV6. The rate limit can be in the upstream direction or downstream direction. To restore the default settings, use the no form of this command.
Examples The following example shows how to configure the upstream rate limit for ICMPV6 packets on VPORT 1 to 1000 kbps: ZXAN(config)#interface gpon-onu_1/15/1:1 ZXAN(config-if)#security packet-limit ICMPV6 rate 1000 direction ingress vport 1
Related Commands 20.20 show security interface packet-limit
20.10 security packet-limit igmp Syntax security packet-limit igmp number1 no security packet-limit igmp
Function This command configures a rate limit for Internet Group Management Protocol (IGMP) packets in port mode.
20-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Parameters Parameter
Description
Value
number1
Limited rate for IGMP packets.
0-1000000
Unit: kbps. Default: No limit.
Mode Layer-2 gei interface mode, PTP interface mode
Usage Guidelines This command is available only in port mode of the PTP board.
Examples The followng example shows how to configure the rate limit for IGMP packets in port mode to 100 kbps: ZXAN(config)#interface gei_1/16/1 ZXAN(config-if)#security packet-limit igmp 100
Related Commands 20.20 show security interface packet-limit
20.11 security packet-limit mld Syntax security packet-limit mld number1 no security packet-limit mld
Function This command configures a rate limit for Multicast Listener Discovery (MLD) packets in port mode.
Parameters Parameter
Description
Value
number1
Limited rate for MLD packets.
0-1000000
Unit: kbps. Default: No limit.
20-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Layer-2 gei interface mode, PTP interface mode
Usage Guidelines This command is available only in port mode of the PTP board.
Examples The following example shows how to configure the rate limit for MLD packets in port mode to 100 kbps: ZXAN(config)#interface gei_1/16/1 ZXAN(config-if)#security packet-limit mld 100
Related Commands 20.20 show security interface packet-limit
20.12 security port-protect Syntax security port-protect {enable |disable }
Function This command configures the global port protection function.
Parameters Parameter
Description
Value
enable
Enables global port protection.
-
disable
Disables global port protection.
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
20-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Examples The following example shows how to configure the global port protection function: ZXAN(config)#security port-protect enable
Related Commands None
20.13 security storm-control Syntax security storm-control {broadcast |multicast |unknowncast } {rate number1 |vlan number2 rate number3 [burst number4 ] } no security storm-control {broadcast |multicast |unknowncast } [vlan number2 ]
Function This command configures a rate limit for storms in a VLAN.
Parameters Parameter
Description
Value
broadcast
The rate limit is set for broadcast
-
packets. multicast
The rate limit type is set for
-
multicast packets. unknowncast
The rate limit is set for unknown
-
packets. number1
Rate limit vale. Unit: pps.
0-65535
number2
VLAN value.
1-4094
number3
Rate limit vale. Unit: kbps.
0-1000000
number4
Size of the packet bucket. Unit:
1-1024
kb. Default: 4 kb.
Mode Layer-2 gei interface mode, PTP interface mode
20-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines This command is available only in port mode of the PTP board. The available rate limit types include: broadcast packets, multicast packets, and unknown packets. You can set rate limit in pps or bps, and you can set the size of the packet bucket. To restore the default settings, use the no form of this command.
Examples The following example shows how to configure the rate limit for broadcast packets for VLAN 100 in port mode to 100 pps, and configure the packet bucket size to 128 kb: ZXAN(config)#interface gei_1/16/1 ZXAN(config-if)#security storm-control broadcast rate 100 vlan 100 burst 128
Related Commands show security storm-control
20.14 security storm-control broadcast Syntax security storm-control broadcast rate number1 direction egress [vport number2 ] no security storm-control broadcast direction egress vport number2
Function This command configures a rate limit for storms at the VPORT level.
Parameters Parameter
Description
Value
number1
Limited rate. Unit: kbps.
0-1000000
Default: No limit. egress
The rate limit is in the
-
downstream direction. number2
Virtual port number. Default: 1.
1-256
Mode gpon onu interface mode 20-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Usage Guidelines The rate limit can be configured only for the downstream direction. To restore the default settings, use the no form of this command.
Examples The following example shows how to configure the upstream rate limit for ICMPV6 packets on VPORT 1 to 1000 kbps: ZXAN(config)#interface gpon-onu_1/15/1:1 ZXAN(config-if)#security storm-control broadcast rate 1000 direction egress vport 1
Related Commands 20.21 show security interface storm-control
20.15 security storm-control multicast Syntax security storm-control multicast rate number1 direction egress no security storm-control multicast direction egress
Function This command configures a rate limit for storms at the GPON-OLT port level.
Parameters Parameter
Description
Value
number1
Limited rate. Unit: kbps.
0-1000000
Default: No limit. egress
The rate limit is in the
-
downstream direction.
Mode GPON OLT interface mode
Usage Guidelines The rate limit can be configured only for the downstream direction. To restore the default settings, use the no form of this command. 20-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following command shows how to configure the rate limit for multicast packets to 1000 kbps: ZXAN(config)#interface gpon-olt_1/15/1 ZXAN(config-if)#security storm-control multicast rate 1000 direction egress
Related Commands 20.21 show security interface storm-control
20.16 security usercommunication control Syntax security usercommunication control {enable |disable }
Function This command configures the global VLAN interworking function.
Parameters Parameter
Description
Value
enable
Enables the global VLAN
-
interworking function. disable
Disables the global VLAN
-
interworking function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the global VLAN interworking function: ZXAN(config)#security usercommunication control enable
20-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Related Commands show security usercommunication
20.17 security usercommunication svlan Syntax security usercommunication svlan number1 [cvlan number2 ] no security usercommunication svlan number1 [cvlan number2 ]
Function This command configures a global VLAN interworking entry.
Parameters Parameter
Description
Value
number1
SVLAN number
1-4094
number2
CVLAN number
1-4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure a global VLAN interworking entry. In the example, set SVLAN to 100 and set CVLAN to 200. ZXAN(config)#security usercommunication svlan 100 cvlan 200
Related Commands 20.24 show security vlan-communication
20-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
20.18 show eth-switch Syntax show eth-switch
Function This command displays the global packet rate limit and port protection configuration.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the global packet rate limit and port protection configuration: ZXAN#show eth-switch broadcast-limit
:100
pps
unknowncast-limit :100
pps
multicast-limit
:unlimited
mac-protect rule num:0 max-frame-length
:1600
Related Commands None
20.19 show eth-switch vlan-limit Syntax show eth-switch vlan-limit
20-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Function This command configures the rate limit policy for global VLANs.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples ZXAN(conifg)#show eth-switch vlan-limit the total vlan-limit rule numbers : 0
Related Commands None
20.20 show security interface packet-limit Syntax show security interface packet-limit interface1
Function This command displays the port rate limit configuration.
Parameters Parameter
Description
Value
interface1
Port name
-
Mode All modes except user mode
20-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to query the rate limit configuration of port gpon-olt_1/15/1: ZXAN#show security interface packet-limit
gpon-olt_1/15/1
Related Commands None
20.21 show security interface storm-control Syntax show security interface storm-control interface1 [vlan ]
Function This command displays the rate limit configuration for storms on a port.
Parameters Parameter
Description
Value
interface1
Port name
-
vlan
VLAN number
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the rate limit configuration for storms on port gpon-olt_1/15/1: ZXAN#show security interface storm-control gpon-olt_1/15/1
20-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands
Related Commands None
20.22 show security port-protect Syntax show security port-protect
Function This command displays whether the global port protection function is enabled.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples ZXAN(config)#show security port-protect Global port protect enable
Related Commands None
20.23 show security usercommunication-control Syntax show security usercommunication-control
Function This command displays whether the global VLAN interworking function is enabled. 20-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples ZXAN(config)#show security
usercommunication-control
Vlan communication disable
Related Commands None
20.24 show security vlan-communication Syntax show security vlan-communication
Function This command displays the global VLAN interworking entry.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples ZXAN(config)#show security
vlan-communication
20-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 20 Port Security Commands vlan-communication item: Svlan
Cvlan
------------100
200
Related Commands None
20.25 unknowncast-rate-limit Syntax unknowncast-rate-limit rate number1 no unknowncast-rate-limit
Function This command configures a rate limit for unknown packets.
Parameters Parameter
Description
Value
number1
Number of packets that are
0-65534
allowed to pass a port per second. Unit: pps. Default: 100 pps.
Mode PTP interface mode
Usage Guidelines This command is available only in port mode of the PTP board.
Examples The following example shows how to configure the rate limit for unknown packets in port mode to 100 pps: ZXAN(config)#interface gei_1/16/1 ZXAN(config-if)#unknowncast-rate-limit rate 100
20-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
20.26 uplink-isolate Syntax uplink-isolate {enable |disable }
Function This command configures the port isolation function.
Parameters Parameter
Description
Value
enable
Enables the port isolation
-
function. disable
Disables the port isolation
-
function.
Mode Layer-2 fei interface mode, PortCh interface mode, Layer-2 gei interface mode, and so on
Usage Guidelines The command is available only for uplink boards.
Examples The following example shows how to configure the port isolation function for uplink port gei_1/19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#uplink-isolate enable
Related Commands None
20-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 21
Port Performance Statistics Commands Table of Contents clear counter ethernet ..............................................................................................21-1 clear counter pon-sport.............................................................................................21-2 clear counter pon-vport.............................................................................................21-3 show performance eth-if ...........................................................................................21-3 show performance pon-olt ........................................................................................21-4 show performance pon-onu ......................................................................................21-6 show performance pon-vport ....................................................................................21-7 statistics service-port................................................................................................21-8
21.1 clear counter ethernet Syntax clear counter ethernet [interface1 ]
Function This command clears statistics of a port.
Parameters Parameter
Description
Value
interface1
Port name
-
Mode Privileged mode: ZXAN#
Usage Guidelines This command can clear only statistics of Ethernet ports.
21-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to clear statistics of interface gei_1/19/1: ZXAN#clear counter ethernet gei_1/19/1
Related Commands
21.2 clear counter pon-sport Syntax clear counter pon-sport interface1 sport number1
Function This command clears statistics of a service-port of a PON board.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Service-port number
1-128
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear statistics of service-port 1 of epon-onu_1/5/1:1: ZXAN#clear counter pon-sport epon-onu_1/5/1:1 sport 1
Related Commands None
21-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 21 Port Performance Statistics Commands
21.3 clear counter pon-vport Syntax clear counter pon-vport interface1 vport number1
Function This command clears statistics of a VPORT of the a GPON board.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual port number
1-256
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear statistics of VPORT 1 of GPON-ONU_1/6/1:1: ZXAN#clear counter pon-vport
gpon-onu_1/6/1:1 vport 1
Related Commands None
21.4 show performance eth-if Syntax show performance eth-if interface1 {current |current-15min-interval |current-1day-interval |his-15min-interval number1 |his-1day-interval number2 }
Function This command displays statistics of an Ethernet port. 21-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
Interface name.
-
current
Current statistics.
-
current-15min-interval
Statistics of the latest 15
-
minutes. current-1day-interval
Statistics of the latest one day.
-
number1
Statistics of the previous 15
1-2
minutes. number2
Statistics of the previous day.
1-1
The value can only be 1.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to displays the current statistics of uplink port gei_1/19/1: ZXAN#show performance eth-if gei_1/19/1
current
Related Commands None
21.5 show performance pon-olt Syntax show performance pon-olt {eth interface1 |mac interface2 } {current |current-15min-interval |current-1day-interval |his-15min-interval number1 |his-1day-interval number2 }
Function This command displays the OLT statistics of a PON port.
21-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 21 Port Performance Statistics Commands
Parameters Parameter
Description
Value
eth
Displays Ethernet statistics.
-
interface1
PON OLT interface. Format:
-
epon-olt_shelf/slot/port or gpon-olt_shelf/slot/port. mac
Displays MAC statistics.
-
interface2
PON OLT interface. Format:
-
epon-olt_shelf/slot/port or gpon-olt_shelf/slot/port. current current-15min-interval
Current statistics.
-
Statistics of the latest 15
-
minutes. current-1day-interval
Statistics of the latest one day.
-
number1
Statistics of the previous 15
1-8
minutes. number2
Statistics of the previous day.
1-1
The value can only be 1.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the current Ethernet statistics of OLT interface gpon-olt_1/3/1:
ZXAN#show performance pon-olt eth gpon-olt_1/3/1 current
Related Commands None
21-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
21.6 show performance pon-onu Syntax show performance pon-onu {eth interface1 |mac interface2 } {current |current-15min-interval |current-1day-interval |his-15min-interval number1 |his-1day-interval number2 }
Function This command displays the ONU statistics of a PON port.
Parameters Parameter
Description
Value
eth
Displays Ethernet statistics.
-
interface1
PON ONU interface. Format:
-
epon-onu_shelf/slot/port:onu or gpon-onu_shelf/slot/port:onu. mac
Displays MAC statistics.
-
interface2
PON ONU interface. Format:
-
epon-onu_shelf/slot/port:onu or gpon-onu_shelf/slot/port:onu. current
Current statistics.
-
current-15min-interval
Statistics of the latest 15
-
minutes. current-1day-interval
Statistics of the latest one day.
-
number1
Statistics of the previous 15
1-8
minutes. number2
Statistics of the previous day.
1-1
The value can only be 1.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to query the current Ethernet statistics of ONU interface gpon-onu_1/3/1:1: 21-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 21 Port Performance Statistics Commands ZXAN#show performance pon-onu eth gpon-onu_1/3/1:1 current
Related Commands None
21.7 show performance pon-vport Syntax show performance pon-vport interface1 vport number1 {current |current-15min-interval |cur rent-1day-interval |his-15min-interval number2 |his-1day-interval number3 }
Function This command displays VPORT statistics.
Parameters Parameter
Description
Value
interface1
Interface name.
-
number1
Virtual port number.
1-256
current
Current statistics.
-
Statistics of the latest 15
-
current-15min-interval
minutes. current-1day-interval
Statistics of the latest one day.
-
number2
Statistics of the previous 15
1-2
minutes. number3
Statistics of the previous day.
1-1
The value can only be 1.
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display current statistics of VPORT 1 of GPON-ONU_1/15/1:1: 21-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#show performance pon-vport gpon-onu_1/15/1:1 vport 1 current
Related Commands None
21.8 statistics service-port Syntax statistics service-port number1 name1
Function This command enables or disables service-port statistics.
Parameters Parameter
Description
Value
number1
Service-port number
1-128
name1
The value start means to start
-
statistics and stop means to stop statistics.
Mode GPON ONU interface mode, EPON ONU interface mode
Usage Guidelines None
Examples The following example shows how to enable statistics of service-port 1: ZXAN(config)#interface gpon-onu_1/15/1:1 ZXAN(config-if)#statistics service-port
1
start
Related Commands None
21-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22
Basic IPv4 Protocol Commands Table of Contents arp learn...................................................................................................................22-2 arp protect................................................................................................................22-3 arp source-filtered ....................................................................................................22-3 arp timeout ...............................................................................................................22-4 arp to-static(VLAN interface configuration mode)......................................................22-5 arp to-static ..............................................................................................................22-6 clear arp ...................................................................................................................22-6 clear arp-cache ........................................................................................................22-7 clear ip traffic............................................................................................................22-8 clear tcp connect ......................................................................................................22-9 clear tcp line .............................................................................................................22-9 clear tcp statistics ...................................................................................................22-10 clear tcp tcb............................................................................................................ 22-11 clear tcp tty............................................................................................................. 22-11 clear tcp vty............................................................................................................22-12 ip address ..............................................................................................................22-13 ip mtu .....................................................................................................................22-14 ip proxy-arp ............................................................................................................22-15 ip redirect ...............................................................................................................22-16 ip route...................................................................................................................22-17 ip source-route .......................................................................................................22-18 ip tcp finwait-time ...................................................................................................22-19 ip tcp queuemax.....................................................................................................22-20 ip tcp synwait-time..................................................................................................22-21 ip tcp window-size ..................................................................................................22-21 ip unreachable........................................................................................................22-22 ping ........................................................................................................................22-23 ping mng ................................................................................................................22-24 set arp....................................................................................................................22-25 show arp ................................................................................................................22-26 show ip forwarding summary ..................................................................................22-27 show ip interface ....................................................................................................22-28 show ip protocol routing..........................................................................................22-29 show ip protocol routing summary ..........................................................................22-30 22-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
show ip route..........................................................................................................22-31 show ip traffic .........................................................................................................22-32 show tcp.................................................................................................................22-34 show tcp brief .........................................................................................................22-35 show tcp configure .................................................................................................22-36 show tcp line ..........................................................................................................22-36 show tcp statistics ..................................................................................................22-38 show tcp tcb ...........................................................................................................22-39 show tcp tty ............................................................................................................22-40 show tcp vty ...........................................................................................................22-42 trace.......................................................................................................................22-43
22.1 arp learn Syntax arp learn no arp learn
Function This command enables dynamic ARP entry learning.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface mode
Usage Guidelines To disable the function, use the no form of this command.
Examples The following example shows how to enable dynamic ARP entry learning: ZXAN(config)#interface vlan 2 ZXAN(config-if)#arp learn
Related Commands None
22-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
22.2 arp protect Syntax arp protect {interface } {limit-num } number1 no arp protect {interface }
Function This command enables the ARP item protection function on a GEI interface.
Parameters Parameter
Description
Value
interface
-
-
limit-num
-
-
number1
-
Range: 1–65535
Mode Layer 2 FEI interface mode, Layer 2 GEI interface mode, and supervlan interface mode.
Usage Guidelines This command is only used for a GEI interface to set the maximum ARP item number that a GEI interface can learn. When the maximum ARP item learning number is reached, the GEI interface will not learn new ARP item any more. To clear the setting, use the no form of this command.
Examples The following example shows how to configure the maximum ARP item learning number as 5000 for the GEI interface gei_0/13/1: interface gei_0/13/1 ZXAN(config-if)#arp protect interface limit-num 5000
Related Commands 8.3 interface
22.3 arp source-filtered Syntax arp source-filtered no arp source-filtered 22-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables the ARP source filtering function.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface mode
Usage Guidelines To clear the ARP source filtering function, use the no form of this command.
Examples The following example shows how to enable the ARP source filtering function: ZXAN(config)#interface vlan 2 ZXAN(config-if)#arp source-filtered
Related Commands None
22.4 arp timeout Syntax arp timeout number1 no arp timeout
Function This command configures the aging time of ARP items in the ARP cache.
Parameters Parameter
Description
Value
number1
Aging time of ARP items in the
Range: 1–4294967
ARP cache
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface mode 22-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Usage Guidelines This command is omitted on non-Ethernet interfaces. The show running-config command shows the ARP aging time of the configured Ethernet interface. To reset the configured aging time to the default value, use the no form of this command.
Examples The following example shows how to configure the aging time of ARP items in the ARP cache as 10000 seconds: ZXAN(config)#interface vlan 2 ZXAN(config-if)#arp timeout 10000
Related Commands None
22.5 arp to-static(VLAN interface configuration mode) Syntax arp to-static no arp to-static
Function This command sets automatic binding of dynamic ARP entries in the ARP cache.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface mode
Usage Guidelines None
Examples The following example shows how to set automatic binding of dynamic ARP entries in the ARP cache: ZXAN(config)#interface vlan 2 ZXAN(config-if)#arp to-static
22-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
22.6 arp to-static Syntax arp to-static no arp to-static
Function This command sets automatic binding of ARP dynamic entries in the ARP cache.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to set automatic binding of ARP dynamic entries in the ARP cache: ZXAN(config)#arp to-static
Related Commands None
22.7 clear arp Syntax clear arp {ip_addr1 |permanent |static }
Function This command clears the bound ARP items in the ARP cache on a specific interface. 22-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Parameters Parameter ip_addr1
Description
Value
IP address to be cleared from
-
the ARP list permanent
Permanently bound ARP items
-
static
Statically bound ARP items
-
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface mode
Usage Guidelines None
Examples The following example shows how to clear the statically bound ARP items on the VLAN 2 interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#clear arp static
Related Commands 22.29 set arp 22.30 show arp
22.8 clear arp-cache Syntax clear arp-cache [interface1 ]
Function This command clears all the dynamic ARP items in the ARP cache on interfaces.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Privileged mode: ZXAN# 22-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines If the command is used with no parameters, it clears the dynamic ARP items in the ARP cache on all the interfaces. If the command is used with parameters, it clears the dynamic ARP items in the ARP cache on specific interfaces.
Examples The following example shows how to clear the dynamic ARP items in the ARP cache on the VLAN 2 interface: ZXAN#clear arp-cache vlan 2
Related Commands 22.30 show arp
22.9 clear ip traffic Syntax clear ip traffic
Function This command clears information about IP transmission.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear information about IP transmission: ZXAN#clear ip traffic
Related Commands 22.36 show ip traffic
22-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
22.10 clear tcp connect Syntax clear tcp connect {ip_addr1 |mng ip_addr2 } number1 ip_addr3 number2
Function This command clears a TCP connection (for example, Telnet, FTP, and BGP connection) based on specified local address, local port ID, remote address, and remote port ID.
Parameters Parameter
Description
Value
ip_addr1
Local IP address
-
ip_addr2
IP address of local management
-
interface number1
Local port ID
Range: 1–65535
ip_addr3
Remote IP address
-
number2
Remote port ID
Range: 1–65535
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear a Telnet connection: ZXAN#clear tcp connect 168.1.168.168 23 168.1.16.140 1456
Related Commands None
22.11 clear tcp line Syntax clear tcp line number1
22-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command clears a TCP connection (Telnet connection only) based on specified control terminal line number.
Parameters Parameter
Description
Value
number1
TTY line number
Range: 66–81
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear a Telnet connection: ZXAN#clear tcp line 66
Related Commands None
22.12 clear tcp statistics Syntax clear tcp statistics
Function This command clears the TCP protocol statistics.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
22-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Examples The following example shows how to clear the TCP protocol statistics: ZXAN#clear tcp statistics
Related Commands None
22.13 clear tcp tcb Syntax clear tcp tcb number1
Function This command clears the TCP connection (for example, Telnet, FTP, and BGP connection) corresponding to a certain transmission control module.
Parameters Parameter
Description
Value
number1
TCB address
Range: 0–4294967295
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear a TCP connection: ZXAN#clear tcp tcb 3261896
Related Commands None
22.14 clear tcp tty Syntax clear tcp tty number1 22-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command clears the TCP connection (Telnet connection only) corresponding to a certain control terminal number.
Parameters Parameter
Description
Value
number1
Control terminal number
Range: 66–81
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear a Telnet connection: ZXAN#clear tcp tty 66
Related Commands None
22.15 clear tcp vty Syntax clear tcp vty number1
Function This command clears the TCP connection (Telnet connection only) corresponding to a certain virtual terminal number.
Parameters Parameter
Description
Value
number1
Virtual terminal number
Range: 0–15
Mode Privileged mode: ZXAN#
22-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Usage Guidelines None
Examples The following example shows how to clear a Telnet connection: ZXAN#clear tcp vty 0
Related Commands None
22.16 ip address Syntax ip address ip_addr1 ip_addr2 [ip_addr3 ] [secondary ] no ip address [ip_addr1 ip_addr2 ]
Function This command configures the IP address of an interface.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
IP subnet mask
-
ip_addr3
Interface-associated broadcast
-
address secondary
Secondary address of the
-
configured interface
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, and supervlan interface mode
Usage Guidelines The broadcast address is associated with the interface, and is used to forward direct broadcasting datagrams, which adds a broadcast routing to the routing table. By default, the subnet.ones/32 broadcast routing is added to the routing table. There are four options available for the broadcast address, namely, 255.255.255.255, subnet.ones, subnet.zeros, and 0.0.0.0. Other addresses are omitted. When 22-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
255.255.255.255 or subnet.ones is set as the broadcast address, the subnet.ones/32 broadcast routing is added to the routing table. When subnet.zeros or 0.0.0.0 is set as the broadcast address, both subnet.zeros/32 and subnet.ones/32 are added to the routing table. secondary indicates that the configured interface address is secondary. If the interface address is configured without this parameter, the configured address is the primary address of the interface. One interface can be configured with only one primary address and multiple secondary addresses. Parameters in the no ip address command are optional. If the command is used with no parameters, all the configured interface addresses are deleted. By default, the IP address is not configured for an interface. To delete the configured address, use the no form of this command.
Examples The following example shows how to configure the IP address of an interface. In this example, the address of the VLAN 2 interface is configured as 168.1.10.100, the subnet mask as 255.255.0.0. ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip address 168.1.10.100 255.255.0.0
Related Commands None
22.17 ip mtu Syntax ip mtu number1 no ip mtu
Function This command sets the MTU size of IP packets that an interface can process.
Parameters Parameter
Description
Value
number1
MTU size of an interface
Range: 128–1500
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, and supervlan interface mode 22-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Usage Guidelines An interface is configured with a default MTU size. The default MTU size is generally set to 1500 bytes, and 1476 bytes for an tunnel interface. The MTU size may vary from different network sections. To improve network performance, the ip mtu command is used to change the MTU size. To restore the default MTU size, use the no form of this command.
Examples The following example shows how to set the MTU size to 1000 for the VLAN 2 interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip mtu 1000
Related Commands None
22.18 ip proxy-arp Syntax ip proxy-arp no ip proxy-arp
Function This command enables the ARP agent function for an interface.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface mode
Usage Guidelines If ARP agent is enabled for an interface, it would be better to configure ARP source address filtering. Thus, the ARP messages from other network sections than that the interface belongs to can be filtered. The show running-config command displays configurations of the interface, excluding default configurations. By default, the ARP agent function is disabled. To disable this function, use the no form of this command. 22-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the ARP agent function for the VLAN 2 interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip proxy-arp
Related Commands None
22.19 ip redirect Syntax ip redirect no ip redirect
Function This command enables a router to send redirection messages.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, and supervlan interface mode
Usage Guidelines A routing path is not always optimal. For example, a router may be constrained to forward a packet via the same receiving port. In that case, the router software sends an ICMP redirection message to the sender of this packet, and informs the sender to send the packet to another router in the same subnet. By default, this function is enabled. To disable the router to send redirection messages, use the no form of this command.
Examples The following example shows how to enable the redirection message sending function for the VLAN 2 interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip redirect
22-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Related Commands None
22.20 ip route Syntax ip route ip_addr1 ip_addr2 {ip_addr3 |interface1 [ip_addr4 ] } [{[global ] [number1 ] [tag number2 ]}] no ip route ip_addr1 ip_addr2 [number1 ] [tag number2 ]
Function This command configures a static route.
Parameters Parameter
Description
Value
ip_addr1
Prefix of the destination IP
-
address. ip_addr2
Network mask.
-
ip_addr3
Next hop IP address.
-
interface1
Interface name used.
-
ip_addr4
Next hop IP address.
-
global
Next hop IP address is global.
-
number1
Distance metric for this route.
Range: 1–255
number2
A tag value, used as a match
Range: 150–255
value to control the route reallocation.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The distance metric parameter 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.
22-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The tag parameter 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. To delete the configured static route, use the no form of this command.
Examples The following examples show how to configure a static route. In the first example, the packet sent to the destination network whose IP address is 131.108.0.0 is routed to the router whose IP address is 131.108.6.6. ZXAN(config)#ip route 131.108.0.0 255.255.0.0 131.108.6.6
In the second example, the distance metric of the static route is set to 110. Then, if there is no dynamic route information about the distance metric less than 110 available, the packet sent to the destination network whose IP address is 10.0.0.0 is routed to the router whose IP address is 131.108.3.4. ZXAN(config)#ip route 10.0.0.0 255.0.0.0 131.108.3.4 110
Related Commands None
22.21 ip source-route Syntax ip source-route no ip source-route
Function This command enables the router to process datagrams with IP source route options.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The router software checks IP header options of each packet. The options include Strict Source Route, loose Source Route, Record Route, and Time stamp. If the software detects that one of the options is valid, it executes appropriate operation. If a packet with 22-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
an invalid option is detected, the software sends an ICMP parameter problem message to the source route of the packet and discards the packet. IP allows a source host to designate a path (also known as source route) in advance through the IP network. If a source route is designated, the software forwards packets through the designated path. The command is used when it is necessary to force a packet transmitted through the designated path. By default, datagrams are processed through the source route. To disable the router to process datagrams with IP source route options, use the no form of this command.
Examples The following example shows how to enable the router to process datagrams with IP source route options: ZXAN(config)#ip source-route
Related Commands None
22.22 ip tcp finwait-time Syntax ip tcp finwait-time number1 no ip tcp finwait-time
Function This command configures the waiting time for TCP disconnection.
Parameters Parameter
Description
Value
number1
Time to wait for TCP
Range: 300–600
disconnection
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To reset the configured time to the default value, use the no form of this command.
22-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the waiting time as 400 seconds for TCP disconnection: ZXAN(config)#ip tcp finwait-time 400
Related Commands None
22.23 ip tcp queuemax Syntax ip tcp queuemax number1 no ip tcp queuemax
Function This command configures the maximum number of outgoing packets of a TCP connection. It does not work on currently established Telnet.
Parameters Parameter
Description
Value
number1
Number of packets
Range: 5–50
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To reset the configured number to the default value, use the no form of this command.
Examples The following example shows how to configure the maximum number of TCP outgoing packets as 40: ZXAN(config)#ip tcp queuemax 40
Related Commands None
22-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
22.24 ip tcp synwait-time Syntax ip tcp synwait-time number1 no ip tcp synwait-time
Function This command configures the waiting time for new TCP connection attempt. It works for later established TCP connection.
Parameters Parameter
Description
Value
number1
Time to wait for the TCP
Range: 30–80
connection
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To reset the configured time to the default value, use the no form of this command.
Examples The following example shows how to configure the waiting time for new TCP connection attempt as 50 seconds: ZXAN(config)#ip tcp synwait-time 50
Related Commands None
22.25 ip tcp window-size Syntax ip tcp window-size number1 no ip tcp window-size
Function This command configures the TCP window size of a listener. It does not work on currently established TCP connection. 22-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
TCP window size of a listener
Range: 100–16000
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To reset the configured size to the default value, use the no form of this command.
Examples The following example shows how to configure the TCP window size of a listener as 2000 bytes: ZXAN(config)#ip tcp window-size 2000
Related Commands None
22.26 ip unreachable Syntax ip unreachable no ip unreachable
Function This command enables the sending of ICMP unreachable messages on a router interface.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), null1 interface configuration mode, and loopback interface mode
Usage Guidelines If the router receives a non-broadcast packet sent through an unknown protocol, it sends an ICMP unreachable message to the source address. Similarly, if the router receives a packet that cannot be transmitted properly because the destination route is unknown, it sends an ICMP host unreachable message to the source address. 22-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
By default, the sending of ICMP unreachable messages is enabled. To disable the sending of ICMP unreachable messages, use the no form of this command.
Examples The following example shows how to enable the sending of ICMP unreachable messages on the VLAN 2 interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip unreachable
Related Commands None
22.27 ping Syntax ping ip_addr1 [option number1 number2 number3 [extcom ip_addr2 number4 number5 number6 {loose ip_addr3 |strict ip_addr4 |record number7 |timestamp number8 |none } ] ]
Function This command checks the accessibility and connectivity of a host.
Parameters Parameter ip_addr1
Description
Value
IP address of the host to be
-
checked number1
Times to repeat the test
Range: 1–4294967295
number2
Size of the Ping packet
Range: 36–8192
number3
Time out
Range: 1–60
ip_addr2
Source IP address
-
number4
Service type of sending packets
Range: 0–255
number5
TTL value
Range: 1–255
number6
Fragment tag
Range: 0–1
loose
Loose source route mode
-
ip_addr3
Source IP address in loose
-
source route mode strict
Strict source route mode
-
22-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
ip_addr4
Source IP address in strict
-
source route mode record
Route record
-
number7
Maximum route number to be
Range: 1–9
recorded timestamp
Timestamp
-
number8
Maximum timestamp number to
Range: 1–9
be recorded none
Default value for no IP options
-
Mode User mode
Usage Guidelines This command sends an ICMP Echo message. 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 connectivity.
Examples The following example shows how to check the accessibility of the host with IP address of 100.1.1.49: 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
22.28 ping mng Syntax ping mng ip_addr1 [option number1 number2 number3 ]
Function This command checks the accessibility and connectivity of a management interface. 22-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Parameters Parameter
Description
Value
ip_addr1
IP address of the management
-
interface to be checked number1
Times to repeat the test
Range: 1–4294967295
number2
Size of packets
Range: 36–8192
number3
Time out
Range: 1–60
Mode User mode
Usage Guidelines This command sends an ICMP Echo message to the management interface. 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 connectivity of the management interface of a router.
Examples The following example shows how to check the accessibility of the management interface with IP address of 100.1.1.49: 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
22.29 set arp Syntax set arp {permanent |static } ip_addr1 hexadecimal1
Function This command configures the IP address binding with the ARP MAC address.
22-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
permanent
Permanent binding. It is valid
-
currently and is still valid after the device restarts. static
Static binding. It is valid
-
currently and is invalid after the device restarts. ip_addr1
IP address, in dotted decimal
-
notation. hexadecimal1
MAC address, in dotted
-
hexadecimal notation.
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface mode
Usage Guidelines None
Examples The following example shows how to statically bind ARP items on the VLAN 2 interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#set arp static 10.1.1.1 2012.1200.1000
Related Commands 22.7 clear arp 22.30 show arp
22.30 show arp Syntax show arp [interface1 [Mac hexadecimal1 ] ]
Function This command displays the ARP list items on an L3 interface.
22-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Parameters Parameter
Description
Value
interface1
Interface ID on an L3 interface
-
hexadecimal1
MAC address
-
Mode Any mode
Usage Guidelines When this command is used without any parameters, it shows the corresponding relations between the IP address and MAC address in the ARP cache of all the Ethernet interfaces. If it is used with the interface ID parameter, the ARP list of the specified Ethernet interface is displayed.
Examples The following example shows how to display the ARP items on the supervlan1 interface: ZXAN# show arp supervlan1 Arp protect interface is disabled . The count is 2. Address
Age(min) Hardware Addr
Interface
10.63.173.254 0
00d0.d0c7.06e1 supervlan1
10.63.173.100 -
00d0.d0e1.3267 supervlan1
Related Commands 22.8 clear arp-cache
22.31 show ip forwarding summary Syntax show ip forwarding summary
Function This command displays the summary of a unicast forwarding table.
Parameters None
Mode Any mode except user mode 22-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples ZXAN#show ip forwarding summary Summary of ip forward-table: ------------------------------host
route is 0
subnet
route is 0
Related Commands None
22.32 show ip interface Syntax show ip interface [{interface1 || name1 LINE1 } ]
Function This command displays information about the interface status and configuration.
Parameters Parameter
Description
Value
interface1
-
-
name1
-
-
LINE1
-
-
Mode Any mode
Usage Guidelines The show ip interface command displays information about all the interfaces configured. The show ip interface interface-name command displays information about a specified interface. The show ip interface brief command displays brief information about all the interfaces configured. The show ip interface brief interface-name command displays brief information about a specified interface. 22-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Examples The following example shows how to display brief information about all the interfaces configured: ZXAN(config)#show ip interface brief interface
IP-Address
Mask
AdminStatus PhyStatus Protocol
vlan2
unassigned
unassigned
up
up
down
vlan1001
10.10.10.155
255.255.255.0
up
up
down
supervlan1
unassigned
unassigned
up
up
down
Related Commands None
22.33 show ip protocol routing Syntax show ip protocol routing [network ip_addr1 [mask ip_addr2 ] ]
Function This command displays information about protocol stack routings.
Parameters Parameter
Description
Value
ip_addr1
Network IP address
-
ip_addr2
Subnet mask
-
Mode Any mode
Usage Guidelines If this command is used with no parameters, it displays information about all the protocol stack routings. If the command is used with the network IP address, it displays information about the protocol stack routings of the network whose IP address matches this parameter value in the protocol routing table. If the command is used with the network IP address and subnet mask, it displays information about the protocol stack routings of the network whose IP address and mask match these two parameter values in the protocol routing table.
Examples The following example shows how to display information about protocol stack routings: 22-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#show ip protocol routing Protocol routes: status codes: *valid, gt;best, i-internal, s-stale
Dest
NextHop
RoutePrf
RouteMetric Protocol
*gt;
0.0.0.0/0
0.0.0.0
254
8
special
*gt;
255.255.255.255/32 0.0.0.0
254
0
special
Related Commands None
22.34 show ip protocol routing summary Syntax show ip protocol routing summary
Function This command displays the number of protocol routings.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the number of protocol routings: ZXAN#show ip protocol routing summary Route Source connected :
count 0
static:
0
ospf:
0
rip:
0
bgp:
0
isis:
0
Total:
0
22-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Related Commands None
22.35 show ip route Syntax show ip route {[ip_addr1 [mask1 ] ] |[name1 ] }
Function This command displays a global routing table.
Parameters Parameter
Description
Value
ip_addr1
Network prefix of a route
-
mask1
Network mask of a route
-
name1
Keyword of the routing protocol,
-
including static, connected, bgp, ospf, rip, address, isis-l1, isis-l2
Mode Any mode
Usage Guidelines The show ip route command displays all the routes. The show ip route ip_addr1 mask1 command displays a specified route. The show ip route protocol command displays the route of a specified protocol or a keyword. The show ip route other command displays the route items that are generated by configuring nat, nat-pt, and vrrp.
Examples The following example shows how to display a global routing table: ZXAN#show ip route IPv4 Routing Table: Dest
Mask
100.1.1.0 255.255.255.0
Gw
nterface Owner
pri metric
100.1.1.1
mng1
direct
0
0
100.1.1.1 255.255.255.255 100.1.1.1
mng1
address 0
0
22-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
22.36 show ip traffic Syntax show ip traffic
Function This command displays statistical information about IP transmission.
Parameters None
Mode Any mode
Usage Guidelines This command displays statistical information about all the protocols (including the dynamic routing protocol) on the IP layer. The statistics of protocol packets on the IP layer include the following: IP statistics: number of received packets, number of sent packets, fragment, and broadcast packets ICMP statistics: number of packets received and sent ARP statistics: number of packets received, sent, and discarded TCP statistics: number of packets received and sent, and packets received with checksum errors UDP statistics: number of packets received and sent, packets received with checksum errors, and erroneous packets on the receiving port URPF statistics: number of discarded packets that fail the URPF check
Examples The following example shows how to display statistical information about IP transmission: ZXAN#show ip traffic IP statistics: Rcvd: 7091 total, 1322 local destination format errors
checksum errors
bad hop count
0
0
0
unknown protocol
22-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands 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
0
0
0
990 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
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 13 Sent: requests 41
replies 41 replies 10
Droped: in requests 0
in replies
out requests
0
0
ZXAN#
22-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
22.37 show tcp Syntax show tcp
Function This command displays parameters of all TCP connections.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display parameters of all TCP connections: ZXAN#show tcp tty 66,virtual tty from host 10.63.10.96 Connection state is ESTAB, I/O status: 1, unread input bytes: 1 Local host: 10.63.196.176, Local port: 23 Foreign host: 10.63.10.96, Foreign port: 4772 Enqueued packets for retransmit: 54, input: 3942 mis-ordered: 27 (12 bytes)
Event Timers (Current time is 537055900(ms)): Timer Retrans TimeWait
Starts
Wakeups
3468
52
0
0
AckHold
1437
32
KeepAlive
2140
2140
Persist
0
0
SynWait
1
0
FinWait
0
0
iss: 2672641120
snduna: 2672671007
sndnxt: 2672671009
sndwnd: 65252
22-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands irs: 3647280379
rcvnxt: 3647283108
SRTT: 856 ms, RTTO: minRTT: 14 ms,
rcvwnd: 4056
429 ms, KRTT: 429 ms
maxRTT: 1623 ms,
ACK hold: 200 ms
Flags: Passive open, higher precedence, retransmission timeout
Datagrams (max data segment is 536 bytes):
Related Commands None
22.38 show tcp brief Syntax show tcp brief
Function This command displays brief information about all TCP connections.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display brief information about all 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
Related Commands None 22-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
22.39 show tcp configure Syntax show tcp configure
Function This command displays information about TCP configuration parameters.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display information about TCP configuration parameters: ZXAN#show tcp configure TCP SYNWAIT:
30
TCP FINWAIT:
600
TCP QUEUEMAX:
5
TCP WINDOWSIZE:
2144
Related Commands None
22.40 show tcp line Syntax show tcp line number1
Function This command displays parameter information about a TCP connection specified in a line.
22-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Parameters Parameter
Description
Value
number1
TTY line number
Range: 66–69
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display parameter information about a TCP connection specified in line 66: ZXAN#show tcp line 66 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: 5081 mis-ordered: 0 (0 bytes)
Event Timers (Current time is 0x5b11fc): Timer Retrans TimeWait
Starts
Wakeups
4488
25
0
0
AckHold
1736
30
KeepAlive
2761
2761
Persist
0
0
SynWait
1
0
FinWait
0
0
iss: 65000000 snduna: 65053913 sndnxt: 65053915 sndwnd: 65398 irs: 1368434624
rcvnxt: 1368438041
SRTT: 866 ms, RTTO: minRTT: 16 ms,
rcvwnd: 3899
367 ms, KRTT: 367 ms
maxRTT: 1355 ms,
ACK hold: 200 ms
Flags: Passive open, higher precedence, retransmission timeout
Datagrams (max data segment is 536 bytes): Rcvd: 5081 (out of order: 0), with data: 2752,
22-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference total data bytes: 3416 Sent: 4019 (retransmit: 25), with data: 3974, total data bytes: 53914
Related Commands None
22.41 show tcp statistics Syntax show tcp statistics
Function This command displays statistical information about the TCP layer.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display statistical information about the TCP layer: 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 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)
22-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands 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
Related Commands None
22.42 show tcp tcb Syntax show tcp tcb number1
Function This command displays parameter information about the connection corresponding to a specified TCB.
Parameters Parameter
Description
Value
number1
TCB address
Range: 0–4294967295
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display parameter information about the connection corresponding to TCB 3507808: ZXAN#show tcp tcb 3507808 Stand-alone TCP connection from host 168.1.16.140 Connection state is ESTAB, I/O status: 1, unread input bytes: 1 Local host: 168.1.168.168, Local port: 21 Foreign host: 168.1.16.140, Foreign port: 1804 Enqueued packets for retransmit: 0, input: 3
22-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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
SRTT: 258 ms, RTTO: minRTT: 0 ms,
rcvwnd: 2144
1973 ms, KRTT: 1973 ms
maxRTT: 20 ms,
ACK hold: 200 ms
Flags: Passive open, higher precedence, retransmission timeout
Datagrams (max data segment is 536 bytes): Rcvd: 3 (out of order: 0), with data: 0, total data bytes: 0 Sent: 2 (retransmit: 0), with data: 1, total data bytes: 59
Related Commands None
22.43 show tcp tty Syntax show tcp tty number1
Function This command displays parameter information about the connection corresponding to a TTY terminal.
Parameters Parameter
Description
Value
number1
TTY number
Range: 66–69
Mode Any mode 22-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands
Usage Guidelines None
Examples The following example shows how to display parameter information about the connection corresponding to TTY 66: ZXAN#show tcp tty 66 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: 5299 mis-ordered: 0 (0 bytes)
Event Timers (Current time is 0x601134): Timer
Starts
Wakeups
4715
25
0
0
AckHold
1786
30
KeepAlive
2859
2859
Retrans TimeWait
Persist
0
0
SynWait
1
0
FinWait
0
0
iss: 65000000
snduna: 65057187
sndnxt: 65057189
sndwnd: 65124 irs: 1368434624
rcvnxt: 1368438159
SRTT: 830 ms, RTTO: minRTT: 16 ms,
rcvwnd: 3781
366 ms, KRTT: 366 ms
maxRTT: 1355 ms,
ACK hold: 200 ms
Flags: Passive open, higher precedence, retransmission timeout
Datagrams (max data segment is 536 bytes): Rcvd: 5299 (out of order: 0), with data: 2850, total data bytes: 3534 Sent: 4205 (retransmit: 25), with data: 4160, total data bytes: 57188
Related Commands None
22-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
22.44 show tcp vty Syntax show tcp vty number1
Function This command displays parameter information about the connection corresponding to a VTY terminal and information about a TCP connection through Telnet.
Parameters Parameter
Description
Value
number1
VTY number
Range: 0–3
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display parameter information about the connection corresponding to a VTY terminal: ZXAN#show tcp vty 1 tty 67,virtual tty from host 100.1.1.49 Connection state is ESTAB, I/O status: 1, unread input bytes: 1 Local host: 100.1.1.1, Local port: 23 Foreign host: 100.1.1.49, Foreign port: 1648 Enqueued packets for retransmit: 6, input: 689 mis-ordered: 0 (0 bytes)
Event Timers (Current time is 0x4469570): Timer Retrans TimeWait
Starts
Wakeups
679
6
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
22-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 22 Basic IPv4 Protocol Commands irs: 3216228978
rcvnxt: 3216229646
SRTT: 733 ms, RTTO: minRTT: 31 ms,
rcvwnd: 1477
420 ms, KRTT: 420 ms
maxRTT: 1398 ms,
ACK hold: 200 ms
Flags: Passive open, higher precedence, retransmission timeout
Datagrams (max data segment is 1260 bytes): Rcvd: 689 (out of order: 0), with data: 418, total data bytes: 667 Sent: 611 (retransmit: 6), with data: 592, total data bytes: 18550
Related Commands None
22.45 trace Syntax trace ip_addr1
Function This command traces the route to a destination.
Parameters Parameter
Description
Value
ip_addr1
IP address of the destination
-
Mode User mode
Usage Guidelines This command works on the ICMP error message that is generated when the packet exceeds its TTL value. This command is triggered by sending a packet with the TTL value being 1, which causes the first router to discard the packet and to send an error message. The 'TTL timeout' message means that an intermediate router receives the message and abandons the detection. The 'unreachable destination' message means that the destination node receives the message but fails to deliver it. If the timer stops before the acknowledgement arrives, this command prints a "*".
Examples The following example shows how to trace the route to 168.1.10.100: 22-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#trace 168.1.10.100 tracing the route to 168.1.10.100 1
168.1.10.100
2 ms
3 ms
5 ms
[finished]
Related Commands None
22-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23
OSPF Protocol Commands Table of Contents area .........................................................................................................................23-2 area authentication...................................................................................................23-3 area filter-list ............................................................................................................23-4 area nssa .................................................................................................................23-5 area range................................................................................................................23-7 area stub ..................................................................................................................23-8 area stub-host ..........................................................................................................23-9 auto-cost ................................................................................................................23-10 capability opaque ................................................................................................... 23-11 clear ip ospf process ..............................................................................................23-12 clear ip ospf redistribution.......................................................................................23-13 compatible rfc1583 .................................................................................................23-13 debug.....................................................................................................................23-14 default-metric .........................................................................................................23-15 disable area ...........................................................................................................23-16 disable interface .....................................................................................................23-17 disable ip ospf ........................................................................................................23-17 distance ospf ..........................................................................................................23-18 enable area ............................................................................................................23-19 enable interface......................................................................................................23-20 enable ip ospf.........................................................................................................23-21 filter ........................................................................................................................23-21 grace-period ...........................................................................................................23-22 ip ospf authentication .............................................................................................23-23 ip ospf authentication-key.......................................................................................23-24 ip ospf cost.............................................................................................................23-25 ip ospf dead-interval ...............................................................................................23-26 ip ospf hello-interval ...............................................................................................23-27 ip ospf message-digest-key ....................................................................................23-28 ip ospf mtu-ignore ..................................................................................................23-29 ip ospf network .......................................................................................................23-30 ip ospf priority.........................................................................................................23-31 ip ospf retransmit-interval .......................................................................................23-32 ip ospf transmit-delay .............................................................................................23-32 maximum-paths......................................................................................................23-33 neighbor .................................................................................................................23-34 network ..................................................................................................................23-36 23-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
notify default route..................................................................................................23-37 nsf..........................................................................................................................23-38 passive-interface ....................................................................................................23-39 redistribute .............................................................................................................23-40 router ospf..............................................................................................................23-42 router-id .................................................................................................................23-43 show ip ospf ...........................................................................................................23-44 show ip ospf border-routers ....................................................................................23-45 show ip ospf database............................................................................................23-46 show ip ospf database asbr-summary ....................................................................23-48 show ip ospf database database-summary.............................................................23-49 show ip ospf database external ..............................................................................23-51 show ip ospf database network ..............................................................................23-52 show ip ospf database nssa ...................................................................................23-53 show ip ospf database opaque-area .......................................................................23-55 show ip ospf database opaque-link.........................................................................23-57 show ip ospf database router..................................................................................23-59 show ip ospf database summary ............................................................................23-60 show ip ospf interface.............................................................................................23-62 show ip ospf neighbor ............................................................................................23-63 show ip ospf nsf .....................................................................................................23-64 show ip ospf request-list .........................................................................................23-65 show ip ospf retransmission-list ..............................................................................23-66 summary-address ..................................................................................................23-67 timers lsa-group-pacing ..........................................................................................23-68 timers spf ...............................................................................................................23-69
23.1 area Syntax area {ip_addr1 |number1 } no area {ip_addr1 |number1 }
Function This command configures the IP address of an OSPF area.
Parameters Parameter
Description
Value
ip_addr1
Area ID in the format of an
-
dotted decimal IP address number1
Area ID in decimal format
0–4294967295
23-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines This version supports only the no area command and does not support the area command. To cancel the configuration, use the no form of this command.
Examples The following example shows how to delete area 1 from OSPF 1: ZXAN(config)#router ospf 1 ZXAN(config-router)#no area 1
Related Commands 23.4 area nssa 23.6 area stub
23.2 area authentication Syntax area {ip_addr1 |number1 } authentication [message-digest ] no area {ip_addr1 |number1 } authentication [message-digest ]
Function This command configures the packet authentication mode for an OSPF area. It is used when OSPF packets need to be authenticated to ensure the security of routing calculation. The authentication mode is applicable to all the router interfaces that transceive OSPF packets in the area.
Parameters Parameter
Description
Value
ip_addr1
Area ID in the format of an
-
dotted decimal IP address number1
Area ID in decimal format
0–4294967295
Mode Router OSPF mode: ZXAN(config-router)#
23-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines If message-digest is not carried, the command is type-1 authentication, namely, simple password authentication. If message-digest is attached, this command indicates type-2 authentication, namely, message digest (MD5) authentication. If the area does not exist, it will be created automatically. All routers in the same area must use the same authentication mode (no authentication, simple password authentication, or MD5 cryptographic authentication). In addition, the authentication passwords must be the same. This command has a lower priority than the ip ospf authentication command. If the area authentication mode conflicts with the interface authentication mode, the interface authentication mode prevails. By default, OSPF packets are not authenticated. To disable all router interfaces in the area from authenticating OSPF packets, use the no form of this command.
Examples The following example shows how to enable the authentication for area 1 of OSPF1: ZXAN(config)#router ospf 1 ZXAN(config-router)#area 1 authentication message-digest
Related Commands 23.24 ip ospf authentication
23.3 area filter-list Syntax area {ip_addr1 |number1 } filter-list prefix name1 {out |in } no area {ip_addr1 |number1 } filter-list prefix name1 {out |in }
Function This command filters the network routing information between OSPF areas.
Parameters Parameter
Description
Value
ip_addr1
-
number1
0–4294967295
name1
Name of an prefix list
1–16 characters
23-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Parameter
Description
Value
out
Indicates that the routing information is filtered
-
when being exported from the area in
Indicates that the routing information is filtered
-
when being exported to the area
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines If the area does not exist, it will be created automatically. This command has no default behavior.
Examples The following example shows how to filter out the 20.20.20.0 network segment in area 0.0.0.1 for other areas: 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
Related Commands 24.38 ip prefix-list
23.4 area nssa Syntax area {ip_addr1 |number1 } nssa [{[no-redistribution ] [default-information-originate [metric number2 ] [metric-type name1 ] ] [no-summary ] } ] no area {ip_addr1 |number1 } nssa [{[no-redistribution ] [default-information-originate ] [no-s ummary ] } ]
Function This command configures an area as a Not-So-Stubby Area (NSSA) area.
23-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
Area ID in the format of an
-
dotted decimal IP address number1
Area ID in decimal format
0–4294967295
no-redistribution
Disables NSSA Link Status
-
Advertisement (LSA) redistribution into the NSSA area default-information-originate
Generates a type-7 default LSA
-
for this area number2
Cost of the type-7; default: LSA
0–16777214
name1
Type of the type-7 default LSA,
-
which can be ext-1 or ext-2 no-summary
Disables the transmission of
-
any LSA summary to the NSSA area
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines Area 0, stub areas and areas configured with virtual links cannot be configured as NSSA areas. One router can be configured with at most one NSSA area at the same time. This command can also specify whether to prevent ABR from sending summary route information to the NSSA area, whether to import external type-7 LSAs to the NSSA area, and whether to generate a type-7 default LSA. By default, summary route can be sent to the NSSA area, type-7 route can be imported, and type-7 default LSA cannot be generated. If the area does not exist, it will be created automatically. By default, the NSSA area is not specified. For NSSA areas, if a default type-7 LSA is generated, the default cost is 1 and the type is ext-2. To cancel the setting, use the no form of this command.
Examples The following example shows how to configure area 1 as an NSSA area and generate default type-7 LSAs: ZXAN(config)#router ospf 1 ZXAN(config-router)#area 1 nssa default-information-originate
23-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Related Commands None
23.5 area range Syntax area {ip_addr1 |number1 } range ip_addr2 ip_addr3 [name1 ] no area {ip_addr1 |number1 } range ip_addr2 ip_addr3 [name1 ]
Function This command configures the summary address range of an area.
Parameters Parameter
Description
Value
ip_addr1
Area ID in the format of an
-
dotted decimal IP address number1
Area ID in decimal format
0–4294967295
ip_addr2
IP address of the summary
-
address range ip_addr3
Mask of the summary address
-
range name1
Specifies whether to advertise
advertise
summary type-3 LSAs
not-advertise
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines This command can only be used on an Area Border Router (ABR). It is used to aggregate and summarize the routes in an area. The result is that the summary route is advertised by the ABR to other areas. Routing information is compressed at the area borders. If the area does not exist, it will be created automatically. By default, no area range is specified. To invalidate the configured summary address range, use the no form of this command.
Examples The following example shows how to aggregate the network segments in area 1 into area 0 and send type-3 LSAs: 23-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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
Related Commands None
23.6 area stub Syntax area {ip_addr1 |number1 } stub [{[no-summary ] [default-cost number2 ] } ] no area {ip_addr1 |number1 } stub [{[no-summary ] } ] [default-cost ]
Function This command sets an area as a stub area.
Parameters Parameter
Description
Value
ip_addr1
Area ID in the format of an
-
dotted decimal IP address number1
Area ID in decimal format
0–4294967295
number2
Default route cost for
0–65535
advertisement to this stub area
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines The area is created automatically if it does not exist. You can also specify whether to prevent the ABR from sending the summary network routing information to the stub area and specify the cost of the default routing advertised to the stub area. The no area stub no-summary command is used to allow the ABR to send the summary route information to the stub area. 23-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
The no area stub default-cost command is used to reset the default route cost advertised to the stub area to the default 1. The no area stub command is used to change the specified area from a stub area to a non-stub area. Area 0, NSSA areas and areas configured with virtual links cannot be configured as stub areas. By default, the ABR can send the summary routing information to a stub area and the cost of the default routing advertised to the stub area is 1. To cancel the setting, use the no form of this command.
Examples The following example shows how to configure area 1 as a stub area, prevent the summary LSA from being sent to the area, set the default cost to 10 and then restore it to the default: ZXAN(config)#router ospf 1 ZXAN(config-router)# area 1 stub no-summary default-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
Related Commands None
23.7 area stub-host Syntax area {ip_addr1 |number1 } stub-host ip_addr2 cost number2 no area {ip_addr1 |number1 } stub-host ip_addr2 [cost number2 ]
Function This command adds the host route advertised by the stub router in an area.
Parameters Parameter
Description
Value
ip_addr1
Area ID in the format of an
-
dotted decimal IP address number1
Area ID in decimal format
0–4294967295
23-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
ip_addr2
IP address of the stub host for
-
advertisement number2
Cost of this host route for
1–65535
advertisement
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines The no area stub-host command is used delete the host route advertised by the router in an area. If the area does not exist, it will be created automatically. By default, the area is not configured with a stub host route advertised by the router. To cancel the setting, use the no form of this command.
Examples The following example describes how to set the host route advertised by the stub router. In this example, the host route advertised by the router is 10.1.1.1 and the cost is 10. ZXAN(config)#router ospf 1 ZXAN(config-router)#area 1 stub-host 10.1.1.1 cost 10
Related Commands None
23.8 auto-cost Syntax auto-cost reference-bandwidth number1 no auto-cost reference-bandwidth [number1 ]
Function This command modifies the reference bandwidth of the OSPF process.
Parameters Parameter
Description
Value
number1
Reference bandwidth
1–4000000
23-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines 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. The bandwidth unit is Mbps. configuration.
This command takes effect immediately after the
To restore the default 100 Mbps, use the no form of this command.
Examples The following example shows how to modify the reference bandwidth to 10000 Mbps: ZXAN(config)#router ospf 1 ZXAN(config-router)#auto-cost reference-bandwidth 10000
Related Commands 23.26 ip ospf cost
23.9 capability opaque Syntax capability opaque no capability opaque
Function This command enables a route to support opaque LSAs.
Parameters None
Mode Router OSPF mode: ZXAN(config-router)#
23-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines During the exchange of link state database information, 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 Link State Update (LSU) packets are multicast, the neighbor routers that do not support the function receive the LSAs passively and simply discard them. By default, opaque LSAs are supported The no form of this command indicates that opaque LSAs are not supported.
Examples The following command shows how to disable the router from supporting opaque LSAs: ZXAN(config)#router ospf 1 ZXAN(config-router)#no capability opaque
Related Commands 23.46 show ip ospf database
23.10 clear ip ospf process Syntax clear ip ospf process number1
Function This command restarts an OSPF process.
Parameters Parameter
Description
Value
number1
OSPF process ID
1–65535
Mode Privileged mode: ZXAN#
Usage Guidelines None 23-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Examples The following example shows how to restart OSPF process 1: ZXAN(config)#router ospf 1 ZXAN(config-router)#end ZXAN#clear ip ospf process 1
Related Commands None
23.11 clear ip ospf redistribution Syntax clear ip ospf redistribution number1
Function This command clears the redistribution of an OSPF process.
Parameters Parameter
Description
Value
number1
OSPF process ID
1–65535
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear the redistribution of OSPF process 1: ZXAN#clear ip ospf redistribution 1
Related Commands None
23.12 compatible rfc1583 Syntax compatible rfc1583 23-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no compatible rfc1583
Function This command restores the method used to calculate summary route costs per RFC 1583.
Parameters None
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines To minimize the chance of routing loops, all OSPF routers in an OSPF routing domain should have RFC compatibility set identically. By default, RFC 1583 compatibility is enabled.
Examples The following example shows how to restore the method used to calculate summary route costs per RFC 1583: ZXAN(config)#router ospf 1 ZXAN(config-router)#compatible rfc1583
Related Commands None
23.13 debug Syntax debug no debug
Function This command enables the debug information an OSPF process.
Parameters None
23-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines Because the OSPF may have multiple processes, enabling the debug information may cause mutual interferences. This command can be used to solve the problem. The configuration is not written into the database and not displayed in the show runningconfig command. By default, the debugging information of OSPF processes are enabled. To disable the debug information, use the no form of this command.
Examples The following example shows how to enable the debug information for OSPF process 1: ZXAN(config)#router ospf 1 ZXAN(config-router)#debug
Related Commands None
23.14 default-metric Syntax default-metric number1 no default-metric [number1 ]
Function This command configures the default metric after a redistribution.
Parameters Parameter
Description
Value
number1
Default cost value of the system
1–294967295
external routes
Mode Router OSPF mode: ZXAN(config-router)#
23-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines This command takes effect only when the user has not configured the cost value of the external routes. This command does not affect OSPF redistribution. The metric value for OSPF redistribution can be changed by only the redistribute command By default, the metric of redistributed OSPF routes is 1 and that of other routes is 20. To restore the default, use the no form of this command.
Examples The following example shows how to set the default metric after redistribution to 10: ZXAN(config)#router ospf 1 ZXAN(config-router)#default-metric 10
Related Commands None
23.15 disable area Syntax disable area {number1 |ip_addr1 }
Function This command disables an existing area.
Parameters Parameter
Description
Value
number1
Area ID in decimal format
0–4294967295
ip_addr1
Area ID in the format of an
-
dotted decimal IP address
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines None
Examples The following example shows how to disable area 1: 23-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands ZXAN(config)#router ospf 1 ZXAN(config-router)#disable area 1
Related Commands 23.19 enable area
23.16 disable interface Syntax disable interface ip_addr1 ip_addr2
Function This command disables the OSPF interfaces in a specified range. It is not applicable to invalid interfaces.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
OSPF wildcard mask
-
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines None
Examples The following example shows how to disable the interface IP addresses in the 10.1.0.0/16 network segment range: ZXAN(config)#router ospf 1 ZXAN(config-router)#disable interface 10.1.0.0 0.0.255.255
Related Commands 23.20 enable interface
23.17 disable ip ospf Syntax disable ip ospf number1 23-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command disables an OSPF protocol process. It is only applicable to valid OSPF processes.
Parameters Parameter
Description
Value
number1
OSPF process ID
1–65535
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the OSPF is configured, it is valid be default.
Examples The following example shows how to disable the OSPF protocol process: ZXAN(config)#disable ip ospf 1
Related Commands 23.21 enable ip ospf
23.18 distance ospf Syntax distance ospf {[internal number1 ] [ext1 number2 ] [ext2 number3 ] } no distance ospf {internal |ext1 |ext2 }
Function This command defines the OSPF route administrative distances based on route type.
Parameters Parameter
Description
Value
number1
Distance value
1–255
number2
Distance value
1–255
number3
Distance value
1–255
internal
To specify internal distance
-
23-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Parameter
Description
Value
ext1
To specify external distance
-
ext2
To specify external distance
-
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines When the routing priority is 255, the route in not valid. To restore the distance of internal route distance, type–1 external route, or type-2 external route to the default 110, use the no form of this command.
Examples The following example shows how to configure the internal route with an administrative distance of 100: ZXAN(config)#router ospf 1 ZXAN(config-router)#distance ospf internal 100
Related Commands None
23.19 enable area Syntax enable area {number1 |ip_addr1 }
Function This command enables a specified area.
Parameters Parameter
Description
Value
number1
Area ID in decimal format
0–4294967295
Area ID in the format of an
-
ip_addr1
dotted decimal IP address
Mode Router OSPF mode: ZXAN(config-router)# 23-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines If the area is configured, it is valid by default.
Examples The following example shows how to enable area 1: ZXAN(config)#router ospf 1 ZXAN(config-router)#enable area 1
Related Commands 23.15 disable area
23.20 enable interface Syntax enable interface ip_addr1 ip_addr2
Function This command enables OSPF interfaces in a specified range. It is inapplicable to enabled interfaces.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
Wildcard mask
-
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines If the interfaces are configured, they are valid by default.
Examples The following example shows how to enable the interfaces in the 10.1.0.0 network segment range: ZXAN(config)#router ospf 1 ZXAN(config-router)#enable interface 10.1.0.0 0.0.255.255
Related Commands 23.16 disable interface 23-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
23.21 enable ip ospf Syntax enable ip ospf number1
Function This command enables an OSPF protocol process. It is only applicable to invalid OSPF processes.
Parameters Parameter
Description
Value
number1
OSPF process ID
1–65535
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the OSPF protocol is configured, it is valid by default.
Examples The following example shows how to enable OSPF process 1: ZXAN(config)#enable ip ospf 1
Related Commands 23.17 disable ip ospf
23.22 filter Syntax filter [exact ] ip_addr1 ip_addr2 number1 no filter ip_addr1 ip_addr2
Function This command controls whether to import the routes generated by external LSAs to the routing table for and the import priorities.
23-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
Specifies the IP address of the
-
routes to be filtered. If the exact keyword is not used, all routes will be filtered. If the exact keyword is used, only the route with the specified IP address and mask will be filtered. ip_addr2
Mask of the routes to be filtered
-
number1
Priority for importing the
0–255
matched routes
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines A route is invalidated if its priority is set to 255. This command prevents OSPF routes not meeting the specified conditions from being added to the forwarding table on the routing layer. The area filter-list command prevents the generation of LSAs on the database layer. By default, the routes generated by external LSAs are imported to the routing table. To remove the filtering setting, use the no form of this command.
Examples The following example shows how to filter the OSPF routes excluding 10.10.10.0/24 and set the priority to 20: ZXAN(config)#router ospf 1 ZXAN(config-router)#filter exact 10.10.10.0 255.255.255.0 20
Related Commands None
23.23 grace-period Syntax grace-period number1 no grace-period [number1 ] 23-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Function This command configures the Non-Stop Forwarding (NSF) grace period.
Parameters Parameter
Description
Value
number1
Maximum NSF grace period, in
120–1800
seconds
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines The grace period setting must ensure that the NSF can complete after the time expires. Otherwise, NSF will exit before completion due to timeout. To restore the period to the default 120 seconds, use the no form of this command.
Examples The following example shows how to set the NSF grace period to 300 seconds: ZXAN(config)#router ospf 1 ZXAN(config-router)#grace-period 300
Related Commands 23.9 capability opaque 23.39 nsf
23.24 ip ospf authentication Syntax ip ospf authentication {[null ] |[message-digest ] } no ip ospf authentication {[null ] |[message-digest ] }
Function This command configures the authentication mode for an interface.
23-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
null
Type0 authentication mode,
-
meaning no authentication message-digest
Type2 authentication mode,
-
meaning message digest authentication
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others
Usage Guidelines This command with no keyword configures the authentication mode for an interface to type 1 authentication, namely, simple password authentication. If the area where the interface is located is also configured with authentication mode, the authentication mode for the interface prevails. By default, the interface authentication mode is not specified, or inherits the authentication mode for the area, if available. To delete the authentication mode, use the no form of this command.
Examples The following example shows how to set the authentication mode for VLAN 2 interface to message digest authentication: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf authentication message-digest
Related Commands 23.2 area authentication
23.25 ip ospf authentication-key Syntax ip ospf authentication-key name1 no ip ospf authentication-key [name1 ]
Function This command sets a password for interfaces using the simple password authentication mode. 23-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Parameters Parameter
Description
Value
name1
Authentication password, containing 1–8
-
characters
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others
Usage Guidelines The characters that can be used for password setting are: 0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*=~!@#$%^&()_+[]{}|;':,./\\ By default, no password is specified. To delete the OSPF password, use the no form of this command.
Examples The following example shows how to set the password ZXAN for the interface VLAN 2: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf authentication-key ZXAN
Related Commands None
23.26 ip ospf cost Syntax ip ospf cost number1 no ip ospf cost [number1 ]
Function This command configures the explicit interface cost.
Parameters Parameter
Description
Value
number1
Interface cost
1–65535
23-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) , loopback interface, supervlan interface mode, and others
Usage Guidelines 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, the cost value configured by the ip ospf cost command must be deleted first. By default, the cost is calculated using the formula: reference-bandwidth / interface bandwidth. If the calculation result is less than 1, cost takes 1 as the minimum value. To restore the cost to the default 1, use the no form of this command.
Examples The following command shows how to configure the explicit interface cost to 10: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf cost 10
Related Commands 23.8 auto-cost
23.27 ip ospf dead-interval Syntax ip ospf dead-interval number1 no ip ospf dead-interval [number1 ]
Function This command configures the dead interval of neighbors on an interface.
Parameters Parameter
Description
Value
number1
Dead interval for neighbors on
1–65535
the interface, in seconds
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) , loopback interface, supervlan interface mode, and others
23-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Usage Guidelines The dead-interval is normally configured to four times the hello interval. To restore the interval to the default, use the no form of this command. The default setting is four times the hello interval, which is 40 seconds.
Examples The following example shows how to configure the dead interval for neighbors on the VLAN 2 interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf dead-interval 80
Related Commands 23.28 ip ospf hello-interval
23.28 ip ospf hello-interval Syntax ip ospf hello-interval number1 no ip ospf hello-interval [number1 ]
Function This command configures the time interval for a specified interface to send Hello messages.
Parameters Parameter number1
Description
Value
Hello message interval, in
1–65535
seconds
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others
Usage Guidelines The hello interval is normally configured to one fourth of the dead interval. To restore the setting to the default, use the no form of this command. The default value is one fourth of the default dead interval, which is 10 seconds.
23-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the time interval for sending hello messages to 20 seconds: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf hello-interval 20
Related Commands 23.27 ip ospf dead-interval
23.29 ip ospf message-digest-key Syntax ip ospf message-digest-key number1 md5 name1 [delay number2 ] no ip ospf message-digest-key number1
Function This command configures the password serial number pair for the interface with message digest authentication type.
Parameters Parameter
Description
Value
number1
Password serial number
1–255
md5
Message digest authentication
-
name1
Authentication password, containing 1–16
-
characters number2
Delay time
0-100000
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber) , loopback interface, supervlan interface mode, and others
Usage Guidelines If the delay keyword is used, the protocol data packets are not sent temporarily for the specified time, but the interface can receive messages. The delay time takes effect only once after configuration. The unit is minute. The authentication password allows 1–16 characters, which can be: 0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*=~!@#$%^&()_+[]{}|;':,./\\ 23-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
By default, no password is specified. To delete the configured OSPF password, use the no form of this command.
Examples The following example shows how to set a password for the interface with message digest authentication type. In this example, the password serial number is set to 2 and the authentication password is set to ZXAN. ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf message-digest-key 2 md5 ZXAN
Related Commands None
23.30 ip ospf mtu-ignore Syntax ip ospf mtu-ignore no ip ospf mtu-ignore
Function This command ignores the OSPF MTU detection on exchanging DD packets.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others
Usage Guidelines MTU detection checks whether neighbors are using a MTU equal to or less than the MRU of the interface in the DD packet. If greater than, the DD packet will be discarded. If MTU is confirmed be correctly configured during packet transmission and reception, use this command to ignore the detection. By default, MTU check mismatch detection is enabled during DD packet exchange. To restore the setting to the default, use the no form of this command.
Examples The following example shows how to disable MTU detection during DD packet exchange: 23-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf mtu-ignore
Related Commands None
23.31 ip ospf network Syntax ip ospf network {broadcast |non-broadcast |point-to-point |point-to-multipoint [non-broadca st ] } no ip ospf network [{broadcast |non-broadcast |point-to-point |point-to-multipoint [non-broa dcast ] } ]
Function This command configures the interface type.
Parameters Parameter
Description
Value
broadcast
Broadcast network
-
Non-broadcast network (used in
-
non-broadcast
combination with the neighbor command) point-to-point
Point-to-point network
-
point-to-multipoint
Point-to-multipoint network
-
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others
Usage Guidelines By default, the interface type depends on the network type. Point-to-multipoint type needs configuration. To restore the interface type to the network type, use the no form of this command.
Examples The following example shows how to configure interface VLAN 2 to point-to-point interface type: 23-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf network point-to-point
Related Commands None
23.32 ip ospf priority Syntax ip ospf priority number1 no ip ospf priority [number1 ]
Function This command configures the interface priority.
Parameters Parameter
Description
Value
number1
Interface priority
0–55
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others
Usage Guidelines The router whose interface priority is configured to 0 cannot be act as DR or BDR. To restore the setting to the default 1, use the no form of this command.
Examples The following example shows how to configure the interface priority to 10: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf priority 10
Related Commands None
23-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
23.33 ip ospf retransmit-interval Syntax ip ospf retransmit-interval number1 no ip ospf retransmit-interval [number1 ]
Function This command specifies the time interval for the specified interface to retransmit LSAs.
Parameters Parameter
Description
Value
number1
Time interval for the interface to
1–65535
retransmit LSAs
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others To restore the setting to the default 5 seconds, use the no form of this command.
Usage Guidelines The unit is second.
Examples The following example shows how to configure the time interval between LSA retransmissions to 10 seconds: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf retransmit-interval 10
Related Commands None
23.34 ip ospf transmit-delay Syntax ip ospf transmit-delay number1 no ip ospf transmit-delay [number1 ]
23-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Function This command configures the delay for the interface to transmit a link status update packet.
Parameters Parameter
Description
Value
number1
Delay for transmitting a link
1–65535
state update packet
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, supervlan interface mode, and others To restore the setting to the default 1 second, use the no form of this command.
Usage Guidelines The unit is second.
Examples The following example shows how to configure the delay for transmitting a link state update packet to 2 seconds: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip ospf transmit-delay 2
Related Commands None
23.35 maximum-paths Syntax maximum-paths number1 no maximum-paths [number1 ]
Function This command configures the maximum number of routes supported in OSPF load balancing.
23-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Maximum number of routes
1-8
supported in OSPF load balancing
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines When a router has a complete link state database, it is ready to create its routing table for stream forwarding. The default overhead metric is the bandwidth based on network medium. To calculate the minimum overhead to the destination, the routing table stores at most eight entries with the same overhead for load balancing. This can be configured by the maximum-paths command. The router normally 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 takes effect immediately but it takes some time for system to process this command. To restore the setting to the default 1, use the no form of this command.
Examples The following example shows how to configure the maximum routes supported in OSPF load balancing to 4:
ZXAN(config)#router ospf 1 ZXAN(config-router)#maximum-paths 4
Related Commands None
23.36 neighbor Syntax neighbor ip_addr1 [{[priority number1 ] [poll-interval number2 ] [cost number3 ] } ] no neighbor ip_addr1 [{[priority number1 ] [poll-interval number2 ] [cost number3 ] } ] 23-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Function This command configures the neighbor router on a non-broadcast network. It needs to traverse all interfaces. When a neighbor’s IP address is in the same network segment with the interface IP address, the neighbor is connected to this interface.
Parameters Parameter
Description
Value
ip_addr1
IP address of the neighbor
-
number1
Neighbor priority; invalid for
0–255
point-to-point neighbors number2
Neighbor poll interval; invalid for
120–65535
point-to-point neighbors number3
Cost to the neighbor; invalid for
1–65535
NBMA neighbors
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines This command is applicable to only point-to-multipoint networks and Non-Broadcast Multiple Access (NBMA) networks. 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 configuring a neighbor, this command also enables interface traversal to find the interface neighbor and delete the neighbor. By default, no neighbor router is defined. By default, the cost to a point-to-multipoint neighbor is auto calculated, the NBMA neighbor priority is 1, and the NBMA neighbor poll interval is 120 seconds. The unit of poll interval is second.
Examples The following example shows how to configure neighbor routers on a non-broadcast network for the router with an interface in 10.1.1.0 network segment:
ZXAN(config)#router ospf 1 ZXAN(config-router)#neighbor 10.1.1.0
23-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
23.37 network Syntax network ip_addr1 ip_addr2 area {number1 |ip_addr3 } no network ip_addr1 ip_addr2 area {number2 |ip_addr3 }
Function This command configures the interfaces on which OSPF runs, and defines the area ID for these interfaces. If the area does not exist, it will be created automatically.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
Wildcard mask
-
number1
Area ID in decimal format
0–4294967295
ip_addr3
Area ID in the format of an
-
dotted decimal IP address 0–4294967295
number2
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines 1. This command defines the interface running the OSPF protocol and defines the area ID for these interfaces. This area is created automatically if not existing. If the area does not exist, it will be created automatically. 2. When the “0”bit in wildcard-mask of IP interface address is equal to ip-address, this command is valid for the IP interface address. When multiple network commands are valid for the same IP interface addresses, the OSPF interface corresponding to this IP interface address will be created and added to the area specified by the network command of minimum wildcard-mask. When there is valid network command for the newly-configured IP interface address, the OSPF interface corresponding to this IP interface address will be created automatically, and added into the area specified by the network command of minimum wildcard-mask. 23-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
When the IP interface address is deleted, OSPF interface will also be automatically deleted. 3. The no form of this command is the reverse operation only for the configured network command. If there is no corresponding network command, this no command is invalid. If there is corresponding network command, and the network command is valid for the OSPF interface in OSPF area, then no command will take these OSPF interfaces off this area. If there are other valid network commands for the IP interface address of OSPF interface, then no form of this command adds them into the OSPF area specified by this network command. If multiple network commands are valid for the same interface, then no form of this command can add them into the OSPF area specified by the network command with the minimum wildcard-mask. If there is no other valid network command for this interface, then the no form of this command can delete this OSPF interface.
Examples The following example shows how to set interface 1.10.1.1 as an OSPF interface and place it into area 0:
ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip address 10.10.1.1 255.255.255.0 ZXAN(config)#exit ZXAN(config)#router ospf 1 ZXAN(config-router)#network 10.10.1.0 0.0.0.255 area 0
Related Commands None
23.38 notify default route Syntax notify default route [always ] [metric number1 ] [metric-type name1 ] [route-map name2 ] no notify default route [always ] [metric number1 ] [metric-type name1 ] [route-map name2 ]
Function This command notifies the default route 0/0, which is generated by the router using other protocols or resulted from the static route configuration. If the default route does not exist, the specific reachable route is notified as normal. After this command is used, the router serves as an ASBR. 23-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Cost of the specified default route
0–16777214
name1
Type of the specified default route, which can be
-
ext-1 or ext-2 name2
Name of the route map that generates the default
1–16 characters
route
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines By default, there is no default route generated by other route protocols or static route configuration. The default router type is ext-1 or ext-2, which represents OSPF external path type 1 or 2.
Examples The following example shows how to notify a default route irrespective of whether the router has one. In this example, the cost of the default route is 20, the default router type is ext-1, and the route-map is map: ZXAN(config)#router ospf 1 ZXAN(config-router)#notify default route always metric 20 metric-type ext-1 route-map map
Related Commands None
23.39 nsf Syntax nsf no nsf
Function This command configures the Non-Stop Forwarding (NSF) capacity.
Parameters None
23-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines NSF is supported by broadcast and NBMA networks. Before using this command, ensure that the running OSPF instance supports opaque LSA. By default, the NSF capacity is not supported. To disable the function, use the no form of this command.
Examples The following example shows how to configure the NSF capacity. ZXAN(config)#router ospf 1 ZXAN(config-router)#nsf
Related Commands 23.9 capability opaque 23.23 grace-period
23.40 passive-interface Syntax passive-interface {default |interface1 } no passive-interface {default |interface1 }
Function This command configures an interface as a passive interface so that the interface cannot send any Hello packet, receive any packet or establish neighborship and adjacency with other routers
Parameters Parameter
Description
Value
default
Indicates that all interfaces are
-
configured as passive-interfaces interface1
Interface name
-
Mode Router OSPF mode: ZXAN(config-router)# 23-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines The passive-interface default command indicates that all interfaces are configured as passive interfaces. After a passive-interface command is configured, the corresponding no passive-interface command, if available, is cancelled. If another passive-interface command exists, both commands are valid. After a no passive-interface command is configured, the corresponding passive-interface command, if available, is cancelled. If another no passive-interface command exists, both commands are valid. By default, all interfaces are normal interfaces that can transceive OSPF packets and establish neighbors.
Examples The following example describes how to configure the VLAN 2 interface as a passive interface: ZXAN(config)#router ospf 1 ZXAN(config-router)#passive-interface vlan 2
Related Commands None
23.41 redistribute Syntax redistribute name1 [{[as number1 ] [peer ip_addr1 ] [tag number2 ] [metric number3 ] [metric-t ype name2 ] [route-map name3 ] } ] no redistribute name1 [{[as number1 ] [peer ip_addr1 ] [tag ] [metric ] [metric-type ] [route-map ]}]
Function This command redistributes other protocol routes into the OSPF autonomous system. After this command is executed, the router serves as an ASBR.
23-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Parameters Parameter
Description
Value
name1
The protocol used for filtering, including
-
connected, static, rip, bgp-ext, bgp-int, isis-1, isis-1-2, and isis-2. number1
There are two additional conditions when the
1–65535
protocol is BGP: as-number and peer-address, where as-number indicates the AS number of the peer. ip_addr1
There are two additional conditions when the
-
protocol is BGP: as-number and peer-address, where peer-address indicates the IP address of the peer. number2
Tag of the redistributed LSAs.
0–4294967295
number3
Metric of the distributed LSAs. By default, the
0–16777214
default metric is used. name2
Metric type of the redistributed LSAs. The value
-
can be ext-1 or ext-2. The default is ext-2. name3
Name of the route map for the protocol route
1–16 characters
redistribution.
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines The no redistribute protocol command is used to remove the redistribution of routes. The no redistribute protocol metric command is used to restore the Type 5 LSA's metric value of the protocol routing redistribution to default. The no redistribute protocol metric type command is used to restore the Type 5 LSA's metric-type value of the protocol routing redistribution to default. The no redistribute protocol route-map command is used to cancel the controlling of the route map for the protocol route redistribution. For isis redistribution, if isisi-1-1 redistribution has been made, perform the redistribution of isis-1 or isis-2. then this isis-1 or isis-2 redistribution does not take effect any more, unless all options of isis-1 and isis-2 after redistribution are sure to be consistent. Otherwise, it is not recommend to use the command redistribute isis-1-2. If the redistribution of isis-1 or isis-2 has been made before the redistribution of isis-1-2, then the redistribution of previous isis-1 or isis-2 does not take effect any more, but performs the new redistribution according to the isis-1-2 template. 23-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
By default, other protocol routes are not redistributed into the OSPF autonomous system. By default, metric is 1 when distributing OSPF routing, and is 20 in other routing. The metric-type values are ext-1 and ext-2, which represent OSPF external path type 1 and 2 respectively.
Examples The following example shows how to redistribute the internal route of BGP, mark the tag of routing items after redistribution as 1 (the route-map is map), and then cancel the route mapping control in redistribution: 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
Related Commands None
23.42 router ospf Syntax router ospf number1 no router ospf number1
Function This command starts the OSPF protocol and enters the OSPF protocol configuration mode.
Parameters Parameter
Description
Value
number1
OSPF process ID
1–65535
Mode Configuration mode: ZXAN (config)#
Usage Guidelines 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, the system directly enters the OSPF protocol configuration mode. The global OSPF and the OSPF under the VRFs use different process IDs. 23-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
When a OSPF process starts, a router ID needs to be assigned from the local IP addresses. If no local IP address is available, the OSPF process fails to start. The OSPF protocol is disabled by default. To cancel the OSPF protocol process, use the no form of this command.
Examples The following example shows how to configure an OSPF process with the ID as 1:
ZXAN(config)#router ospf 1 ZXAN(config-router)#
Related Commands None
23.43 router-id Syntax router-id ip_addr1 no router-id [ip_addr1 ]
Function This command specifies the router ID for an OSPF process. The no form of this command is used to delete the specified route ID.
Parameters Parameter ip_addr1
Description
Value
OSPF router ID, in the format of
-
an IP address
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines This command enables the OSPF process to use the specified IP address as the OSPF router ID. To enable the OSPF process to use a randomly selected OSPF router ID, use the no form of this command. This command configuration takes effect after the router restarts or the OSPF process is manually restarted by theclear ip ospf process command. By default, the OSPF router ID used by an OSPF process is automatically selected. 23-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the router ID to 5.5.5.5: ZXAN(config)#router ospf 1 ZXAN(config-router)#router-id 5.5.5.5 %Code 2059:Reload or use "clear ip ospf process" command,for this to take effect ZXAN(config-router)#end ZXAN#clear ip ospf process 1
Related Commands None
23.44 show ip ospf Syntax show ip ospf [number1 ]
Function This command displays the summary information of the OSPF protocol and each OSPF area.
Parameters Parameter
Description
Value
number1
OSPF process ID
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows the information displayed if the OSPF protocol is not started: ZXAN#show ip ospf There is no OSPF instance!
The following example shows the information displayed if the OSPF protocol is started: ZXAN#show ip ospf OSPF 1 Router ID 135.1.1.5 enable
23-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands Enabled for 00:04:26,Debug on Number of areas 1, 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 1 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 2 Hold time between consecutive SPF 1 secs Non-stop Forwarding disabled, last NSF restart 00:05:08 ago (took 0 secs)
Area 0.0.0.0 enable Enabled for 00:04:17 Area has no authentication Times spf has been run 1 Number of interfaces 1. Up 1 Number of ASBR local to this area 0 Number of ABR local to this area 0 Total number of intra/inter entries in LSDB 1. Checksum Sum 0x00008426 Area-filter out not set Area-filter in not set Area ranges count 0
Related Commands None
23.45 show ip ospf border-routers Syntax show ip ospf border-routers [process number1 ]
Function This command displays the information of the internal OSPF routing to an Area Border Router (ABR) and Autonomous System Boundary Router (ASBR).
Parameters Parameter
Description
Value
number1
OSPF process ID
1–65535
23-45 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the information of OSPF process 1:
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
Related Commands None
23.46 show ip ospf database Syntax show ip ospf database {adv-router ip_addr1 |[self-originate ] } [area {number1 |ip_addr2 } ] [process number2 ]
Function This command displays the related information about the OSPF database of the OSPF database for a specific router.
23-46 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Parameters Parameter
Description
Value
ip_addr1
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0–4294967295
expressed in decimal Specifies the area of the LSAs to be displayed,
ip_addr2
-
expressed in dotted decimal IP address notation OSPF process ID
number2
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the related information about the OSPF database of the OSPF database for the router 5.5.5.5: 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
5
0x80000002
0x2678
1
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
5
0x80000001
0x2319
0
Summary Net Link States (Area 0.0.0.1)
Link ID
ADV Router
Age
Seq#
Checksum
0.0.0.0
5.5.5.5
5
0x80000001
0xfc4d
135.1.1.0
5.5.5.5
2
0x80000001
0x4bc
Related Commands 23.47 show ip ospf database asbr-summary 23.48 show ip ospf database database-summary 23.49 show ip ospf database external 23-47 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
23.50 show ip ospf database network 23.51 show ip ospf database nssa 23.52 show ip ospf database opaque-area 23.53 show ip ospf database opaque-link 23.54 show ip ospf database router 23.55 show ip ospf database summary
23.47 show ip ospf database asbr-summary Syntax show ip ospf database asbr-summary [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [area {number1 |ip_addr3 } ] [process number2 ]
Function This command displays the ASBR summary LSA list in the OSPF database for a specific router.
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is described by
-
the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0–4294967295
expressed in decimal ip_addr3
Specifies the area of the LSAs to be displayed,
-
expressed in dotted decimal IP address notation number2
OSPF process ID
1–65535
Mode Any mode
23-48 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Usage Guidelines None
Examples The following example shows how to display the ASBR summary LSA list in the OSPF database for the route 110.1.1.1: ZXAN#show ip ospf database asbr-summary OSPF Router with ID (110.1.1.1) (Process ID 1) Summary ASB Link States (Area 0.0.0.0) LS age: 68 Options: (No TOS-capability, No DC) LS Type: Summary Links(AS Boundary Router) Link State ID: 168.1.1.3 (AS Boundary Router address) Advertising Router: 110.1.1.1 LS Seq Number: 0x80000001 Checksum: 0xc875 Length: 28 Network Mask: /0 TOS: 0
Metric: 1
Related Commands 23.46 show ip ospf database
23.48 show ip ospf database database-summary Syntax show ip ospf database database-summary [area {number1 |ip_addr1 } ] [process number2 ]
Function This command displays the number of each LSA in each area and the total number of LSAs in the whole database for a specific router.
Parameters Parameter
Description
Value
number1
Specifies the area of the LSAs to be
0–4294967295
displayed, expressed in decimal ip_addr1
Specifies the area of the LSAs to be
-
displayed, expressed in dotted decimal IP address notation number2
OSPF process ID
1–65535
23-49 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the number of each LSA in each area and the total number of LSAs in the whole database for router 110.1.1.1: ZXAN#show ip ospf database database-summary OSPF Router with ID (110.1.1.1) (Process ID 1) Area 0.0.0.0 database summary LSA Type
Count
Router
1
Network
0
Summary Net
2
Summary ASBR
1
Type-7 Ext
0
Opaque Link
0
Opaque Area
0
Subtotal
4
Area 0.0.0.1 database summary LSA Type
Count
Router
2
Network
1
Summary Net
1
Summary ASBR
0
Type-7 Ext
0
Opaque Link
0
Opaque Area
0
Subtotal
4
Process 1 database summary LSA Type
Count
Router
3
Network
1
Summary Net
3
Summary ASBR
1
Type-7 Ext
0
Opaque Link
0
Opaque Area
0
Type-5 Ext
2
Opaque AS
0
Total
10
23-50 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Related Commands 23.46 show ip ospf database
23.49 show ip ospf database external Syntax show ip ospf database external [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [process number1 ]
Function This command displays the type-5 external LSA list in the OSPF database for a specific router.
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is described
-
by the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
OSPF process ID
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the type-5 external LSA list in the OSPF database for the router 110.1.1.1: ZXAN#show ip ospf database external OSPF Router with ID (110.1.1.1) (Process ID 1) Type-5 AS External Link States
23-51 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference LS age: 18 Options: (No TOS-capability, No DC) LS Type: AS External Link Link State ID: 111.1.0.0 (External Network Number) Advertising Router: 110.1.1.1 LS Seq Number: 0x80000001 Checksum: 0x4ae3 Length: 36 Network Mask: /16 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 110.1.1.111 External Route Tag: 3489660928
Related Commands 23.46 show ip ospf database
23.50 show ip ospf database network Syntax show ip ospf database network [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [area {num ber1 |ip_addr3 } ] [process number2 ]
Function This command displays the network LSA list in the OSPF database for a specific router.
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is described
-
by the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0–4294967295
expressed in decimal 23-52 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Parameter
Description
Value
ip_addr3
Specifies the area of the LSAs to be displayed,
-
expressed in dotted decimal IP address notation OSPF process ID
number2
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the network LSA list in the OSPF database for the router 110.1.1.1: 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
Related Commands 23.46 show ip ospf database
23.51 show ip ospf database nssa Syntax show ip ospf database nssa [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [area {number1 |ip_addr3 } ] [process number2 ]
23-53 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command displays the type-7 external LSA list in the OSPF database for a specific router.
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is described by
-
the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0–429496729
expressed in decimal
5
Specifies the area of the LSAs to be displayed,
-
ip_addr3
expressed in dotted decimal IP address notation OSPF process ID
number2
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the type-7 external LSA list in the OSPF database for the router 5.5.5.5: ZXAN#show ip ospf database nssa
OSPF Router with ID (5.5.5.5) (Process ID 1)
Type-7 AS External Link States (Area 0.0.0.1)
LS age: 115 Options: (No TOS-capability, No Type 7/5 translation, DC, Upward) LS Type: AS External Link Link State ID: 0.0.0.0 (External Network Number)
23-54 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands Advertising Router: 5.5.5.5 LS Seq Number: 0x80000001 Checksum: 0x7627 Length: 36 Network Mask: /0 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 1 Forward Address: 0.0.0.0 External Route Tag: 0
Routing Bit Set on this LSA IPFRR information exists LS age: 73 Options: (No TOS-capability, Type 7/5 translation, DC, Upward) LS Type: AS External Link Link State ID: 10.1.1.0 (External Network Number) Advertising Router: 3.3.3.3 LS Seq Number: 0x80000001 Checksum: 0x47b1 Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 10 Forward Address: 135.1.1.3 External Route Tag: 3
Related Commands 23.46 show ip ospf database
23.52 show ip ospf database opaque-area Syntax show ip ospf database opaque-area [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [area {number1 |ip_addr3 } ] [process number2 ]
Function This command displays the opaque-area LSA list in the OSPF database for a specific router.
23-55 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is described
-
by the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0-4294967295
expressed in decimal Specifies the area of the LSAs to be displayed,
ip_addr3
-
expressed in dotted decimal IP address notation OSPF process ID
number2
1-65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the opaque-area LSA list in the OSPF database for the router 10.10.10.10: ZXAN#show ip ospf database opaque-area self-originate
OSPF Router with ID (10.10.10.10) (Process ID 200)
Type-10 Opaque Link Area Link States (Area 0.0.0.0)
LS age: 1509 Options: (No TOS-capability,No DC) LS Type: Opaque Area Link Link State ID: 1.0.0.0 Opaque Type: 1 Opaque ID: 0 Advertising Router: 10.10.10.10
23-56 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands LS Seq Number: 80000003 Checksum: 0x5aa5 Length: 28 Fragment number : 0
MPLS TE router ID : 10.10.10.10
Number of Links : 0
LS age: 185 Options: (No TOS-capability,No DC) LS Type: Opaque Area Link Link State ID: 1.0.0.3 Opaque Type: 1 Opaque ID: 3 Advertising Router: 10.10.10.10 LS Seq Number: 80000001 Checksum: 0xfe8d Length: 124 Fragment number : 3
Link connected to Broadcast network Link ID : 179.1.1.200 Interface Address : 179.1.1.200 Neighbor Interface Address : 0.0.0.0 Admin Metric : 1 Maximum bandwidth : 125000000 Maximum reservable bandwidth : 93750000 Number of Priority : 8 Priority 0 : 93750000
Priority 1 : 93750000
Priority 2 : 93750000
Priority 3 : 93750000
Priority 4 : 93750000
Priority 5 : 93750000
Priority 6 : 93750000
Priority 7 : 93750000
Affinity Bit : 0x0
Related Commands 23.46 show ip ospf database
23.53 show ip ospf database opaque-link Syntax show ip ospf database opaque-link [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [area {number1 |ip_addr3 } ] [process number2 ] 23-57 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command displays the opaque-link LSA list in the OSPF database for a specific router.
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is described
-
by the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0–4294967295
expressed in decimal Specifies the area of the LSAs to be displayed,
ip_addr3
-
expressed in dotted decimal IP address notation OSPF process ID
number2
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the opaque-link LSA list in the OSPF database for the router 5.5.5.45: ZXAN#show ip ospf database opaque-link
OSPF Router with ID (5.5.5.45) (Process ID 45)
Type-9 Opaque Link-local Link States (Area 0.0.0.0)
LS age: 1269 Options: (No TOS-capability,No DC) LS Type: Opaque Link-local Link State ID: 3.0.0.0 Opaque Type: 3
23-58 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands Opaque ID: 0 Advertising Router: 5.5.5.46 LS Seq Number: 80000001 Checksum: 0x6b4c Length: 44 Fragment number: 0
Grace period: 1000 NSF reason: switch to redundant control processor Interface ip addr: 201.46.45.0
Related Commands 23.46 show ip ospf database
23.54 show ip ospf database router Syntax show ip ospf database router [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [area {number1 |ip_addr3 } ] [process number2 ]
Function This command displays the router LSA list in the OSPF database for a specific router.
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is described
-
by the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0–4294967295
expressed in decimal ip_addr3
Specifies the area of the LSAs to be displayed,
-
expressed in dotted decimal IP address notation number2
OSPF process ID
1–65535
23-59 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the router LSA list in the OSPF database for the router 110.1.1.1: ZXAN#show ip ospf database router OSPF Router with ID (110.1.1.1) (Process ID 1) Router Link States (Area 0.0.0.1) Routing Bit Set on this LSA LS age: 1700 Options: (No TOS-capability, No DC) LS Type: Router Links Link State ID: 110.1.1.1 Advertising Router: 110.1.1.1 LS Seq Number: 0x8000001f Checksum: 0xf9e7 Length: 36 Number of Links: 1 Link connected to: a Stub Network (Link ID) Network/subnet number: 110.1.0.0 (Link Data) Network Mask: 255.255.0.0 Number of TOS metrics: 0 TOS 0 Metrics: 1
Related Commands 23.46 show ip ospf database
23.55 show ip ospf database summary Syntax show ip ospf database summary [ip_addr1 ] {adv-router ip_addr2 |[self-originate ] } [area {nu mber1 |ip_addr3 } ] [process number2 ]
Function This command displays the network summary LSA list in the OSPF database for a specific router.
23-60 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Parameters Parameter
Description
Value
ip_addr1
Portion of the network environment that is
-
described by the LSA. The value is associated with the link status type. l
If the LSA describes a network, this parameter is expressed by the network IP address or a detailed address obtained from the network IP address.
l
If the LSA describes a router, the parameter value is the Router ID of the described router. The default router ID is 0.0.0.0.
ip_addr2
Specifies the OSPF router that generates LSAs
-
number1
Specifies the area of the LSAs to be displayed,
0–4294967295
in decimal Specifies the area of the LSAs to be displayed,
ip_addr3
-
in dotted decimal IP address notation OSPF process ID
number2
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the network summary LSA list in the OSPF database for the router 110.1.1.1: ZXAN#show ip ospf database summary OSPF Router with ID (110.1.1.1) (Process ID 1) Summary Net Link States (Area 0.0.0.0) LS age: 129 Options: (No TOS-capability, No DC) LS Type: Summary Links(Network) Link State ID: 112.1.1.0 (Summary Network Number) Advertising Router: 110.1.1.1 LS Seq Number: 0x80000001 Checksum: 0xd99f Length: 28 Network Mask: /24 TOS: 0
Metric: 2
23-61 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 23.46 show ip ospf database
23.56 show ip ospf interface Syntax show ip ospf interface [interface1 ] [process number1 ]
Function This command displays the OSPF interface information.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
OSPF process ID
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the OSPF interface information of the interface VLAN 2: 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
Related Commands None 23-62 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
23.57 show ip ospf neighbor Syntax show ip ospf neighbor [interface interface1 ] [neighbor-id ip_addr1 ] [process number1 ]
Function This command displays the OSPF neighbor information.
Parameters Parameter
Description
Value
interface1
Interface name
-
ip_addr1
Neighbor ID
-
number1
OSPF process ID
1–65535
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the OSPF neighbor information: ZXAN#show ip ospf neighbor OSPF Router with ID (10.10.10.10) (Process ID 200) Neighbor 134.1.1.201 In the area 0.0.0.0 via interface vlan134 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
Related Commands None
23-63 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
23.58 show ip ospf nsf Syntax show ip ospf nsf
Function This command displays the OSPF NSF information.
Parameter None
Mode Any mode
Usage Guidelines The result of using this command on the restarting device is the NSF execution details of the restarting device. The result of using this command on the helper is the NSF execution details of the helper.
Examples The following is sample output on the restarting device or the helper when NSF is not implemented: ZXAN#show ip ospf nsf
OSPF Router with ID (5.5.5.5) (Process ID 1)
OSPF instance is in normal state
The following is sample output on the restarting device when NSF is implemented: 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
23-64 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands via interface vlan134 134.1.1.201 Neighbor is DR State 2WAY
The following is sample output from this command on the helper when NSF is implemented: 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 vlan134 134.1.1.200 Neighbor is BDR State EXCH Max grace period 240 Start time 00:23:42 Time to leave 219 s
Related Commands None
23.59 show ip ospf request-list Syntax show ip ospf request-list {ip_addr1 |[interface1 [ip_addr2 ] ] } [process number1 ]
Function This command displays a list of all LSAs requested by the specified router.
Parameters Parameter
Description
Value
ip_addr1
Displays the list of all LSAs requested by the
-
router from this neighbor interface1
Displays the list of all LSAs requested by the
-
router on this interface ip_addr2
Displays the list of all LSAs requested by the
-
router on this interface, from this neighbor number1
OSPF process ID
1–65535
23-65 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display a list of all LSAs requested by the router 200.1.1.11: 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
1
200.1.1.12
ADV RTR 200.1.1.12
Seq NO 0x8000020D
Age 8
Checksum 0x6572
Related Commands None
23.60 show ip ospf retransmission-list Syntax show ip ospf retransmission-list {ip_addr1 |[interface1 [ip_addr2 ] ] } [process number1 ]
Function This command displays a list of all LSAs to be retransmitted by the specified router.
Parameters Parameter
Description
Value
ip_addr1
Displays the list of all LSAs waiting to be
-
resent for this neighbor interface1
Displays the list of all LSAs waiting to be
-
resent on this interface ip_addr2
Displays the list of all LSAs waiting to be
-
resent on this interface, from this neighbor. number1
OSPF process ID
1–65535
Mode Any mode 23-66 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
Usage Guidelines None
Examples The following example shows how to display a list of all LSAs to be retransmitted by the router 192.168.2.1: ZXAN#show ip ospf retransmission-list OSPF Router with ID (192.168.2.1) (Process ID 1)
Related Commands None
23.61 summary-address Syntax summary-address ip_addr1 ip_addr2 no summary-address ip_addr1 ip_addr2
Function This command creates aggregate addresses for OSPF and summarizes routes from other routing protocols that are being redistributed into OSPF.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
ip_addr2
IP subnet mask used for the summary route
-
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines 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. By default, this command is disabled. To cancel the setting, use the no form of this command.
23-67 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples This following example shows how to aggregate the static routes 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24 into one route and redistribute it into OSPF: ZXAN(config)#router ospf 1 ZXAN(config-router)#summary-address 10.1.0.0 255.255.0.0
Related Commands None
23.62 timers lsa-group-pacing Syntax timers lsa-group-pacing number1 no timers lsa-group-pacing
Function This command sets the interval at which OSPF LSAs are collected into a group and refreshed, checksummed, or aged.
Parameters Parameter number1
Description
Value
Interval at which LSAs are grouped and
1–2
refreshed, checksummed, or aged; unit: second
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines To restore the default 1 second, use the no form of this command.
Examples The following example shows how to set the OSPF pacing between LSA groups to 2 seconds: ZXAN(config)#router ospf 1 ZXAN(config-router)#timers lsa-group-pacing 2
Related Commands None 23-68 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 23 OSPF Protocol Commands
23.63 timers spf Syntax timers spf number1 no timers spf
Function This command configures the minimum time interval between two consecutive SPF computations.
Parameters Parameter
Description
Value
number1
Minimum time interval between consecutive
1–65535
SPF computations; unit: second
Mode Router OSPF mode: ZXAN(config-router)#
Usage Guidelines To restore the setting to the default 1 second, use the no form of this command.
Examples The following example show how to configure the minimum time interval between two continuous SPF computations to 2 seconds: ZXAN(config)#router ospf 1 ZXAN(config-router)#timers spf 2
Related Commands None
23-69 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
23-70 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24
BGP Protocol Commands Table of Contents address-family ipv4 multicast....................................................................................24-3 address-family ipv6 ..................................................................................................24-3 aggregate-address ...................................................................................................24-4 bgp always-compare-med ........................................................................................24-6 bgp as ......................................................................................................................24-7 bgp client-to-client reflection .....................................................................................24-8 bgp cluster-id ...........................................................................................................24-8 bgp confederation identifier ......................................................................................24-9 bgp confederation peers.........................................................................................24-10 bgp dampening ...................................................................................................... 24-11 bgp default ipv4-unicast..........................................................................................24-12 bgp default local-preference ...................................................................................24-13 bgp default route-target filter...................................................................................24-14 bgp fast-external-fallover ........................................................................................24-15 bgp graceful-restart ................................................................................................24-16 bgp graceful-restart restart-time .............................................................................24-17 bgp graceful-restart stalepath-time .........................................................................24-18 bgp router-id...........................................................................................................24-19 bgp update-delay ...................................................................................................24-19 clear ip bgp ............................................................................................................24-20 clear ip bgp dampening ..........................................................................................24-21 clear ip bgp flap-statistics .......................................................................................24-22 debug ip bgp ..........................................................................................................24-23 debug ip bgp all......................................................................................................24-24 debug ip bgp dampening ........................................................................................24-24 debug ip bgp events ...............................................................................................24-25 debug ip bgp in.......................................................................................................24-26 debug ip bgp keepalives.........................................................................................24-27 debug ip bgp out ....................................................................................................24-27 debug ip bgp updates.............................................................................................24-28 default-information originate ...................................................................................24-29 default-metric .........................................................................................................24-30 disable ip bgp .........................................................................................................24-31 distance bgp...........................................................................................................24-31 enable ip bgp .........................................................................................................24-32 ip as-path access-list..............................................................................................24-33 ip community-list ....................................................................................................24-34 24-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
ip prefix-list.............................................................................................................24-36 maximum-paths......................................................................................................24-37 neighbor activate....................................................................................................24-38 neighbor advertisement-interval .............................................................................24-39 neighbor allowas-in ................................................................................................24-40 neighbor default-originate.......................................................................................24-41 neighbor description ...............................................................................................24-42 neighbor ebgp-multihop..........................................................................................24-43 neighbor maximum-prefix .......................................................................................24-44 neighbor next-hop-self............................................................................................24-45 neighbor originate-interval ......................................................................................24-46 neighbor passive ....................................................................................................24-47 neighbor password .................................................................................................24-48 neighbor peer-group...............................................................................................24-49 neighbor prefix-list ..................................................................................................24-50 neighbor remote-as ................................................................................................24-51 neighbor remove-private-as....................................................................................24-52 neighbor route-map ................................................................................................24-53 neighbor route-reflector-client.................................................................................24-54 neighbor send-community ......................................................................................24-55 neighbor send-med ................................................................................................24-56 neighbor shut-down................................................................................................24-57 neighbor soft-reconfiguration ..................................................................................24-58 neighbor timers ......................................................................................................24-59 neighbor update-source..........................................................................................24-60 network ..................................................................................................................24-61 redistribute .............................................................................................................24-62 reset ip bgp ............................................................................................................24-63 router bgp...............................................................................................................24-64 show bgp all neighbor ............................................................................................24-64 show bgp all summary............................................................................................24-66 show bgp ipv4 multicast .........................................................................................24-67 show bgp ipv4 multicast neighbor...........................................................................24-68 show bgp ipv4 multicast neighbor in .......................................................................24-70 show bgp ipv4 multicast neighbor out .....................................................................24-71 show ip as-path-access-list ....................................................................................24-73 show ip bgp dampened-paths.................................................................................24-73 show ip bgp flap-statistics.......................................................................................24-74 show ip bgp neighbor .............................................................................................24-75 show ip bgp peer-group..........................................................................................24-77 show ip bgp protocol ..............................................................................................24-77 show ip bgp route ...................................................................................................24-79 show ip bgp summary ............................................................................................24-80 show ip community-list ...........................................................................................24-81 show ip prefix-list....................................................................................................24-82 24-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
synchronization ......................................................................................................24-83 timers bgp ..............................................................................................................24-84
24.1 address-family ipv4 multicast Syntax address-family ipv4 multicast
Function This command enters IPv4 multicast address family configuration mode.
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines Border Gateway Protocol (BGP) extension supports multiple address modes. To configure an address mode, enter its corresponding address configuration mode.
Examples The following example shows how to enter ipv4 multicast address family configuration mode: ZXAN(config)#router bgp 1 ZXAN(config-router)#address-family ipv4 multicast ZXAN(config-router-af)#
Related Commands None
24.2 address-family ipv6 Syntax address-family ipv6
Function This command enters IPv6 address family configuration mode. 24-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines BGP extension supports multiple address modes. To configure an address mode, enter its corresponding address configuration mode.
Examples The following example shows how to enter IPv6 address family configuration mode. ZXR10(config)#router bgp 1 ZXR10(config-router)#address-family ipv6 ZXR10(config-router-af)#
Related Commands None
24.3 aggregate-address Syntax aggregate-address ip_addr1 ip_addr2 {subnet ip_addr3 ip_addr4 |[{[count number1 ] [as-set ] [summary-only ] [strict ] } ] } no aggregate-address ip_addr1 ip_addr2 [subnet ip_addr3 ip_addr4 ]
Function This command creates an aggregation strategy in the BGP routing selection table.
Parameters Parameter ip_addr1
Description
Value
Aggregation network to be
-
generated. ip_addr2
Mask of the aggregation
-
network to be generated. ip_addr3
IP address of the aggregation
-
subnet, in dotted decimal format. 24-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameter
Description
Value
ip_addr4
IP address mask of the
-
aggregation subnet, in dotted decimal format. number1
Number of aggregation subnets
0-255
that the aggregation operation requires the routes to be aggregated to satisfy.
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines This command configures an aggregation strategy and its sub-strategies, and the strategy setting relates to Count. If an aggregation strategy is configured with the summary-only attribute, after the aggregation route is generated, advertisement of all subnet routes in the aggregation network are prohibited. To invalidate the setting, use the no aggregate-address command.
Examples This example shows how to configure an aggregation strategy so that aggregation route 10.0.0.0/8 is generated after subnet 10.0.0.0/8 appears in the routing table: ZXAN(config)#router bgp 1 ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 0
This example shows how to configure an aggregation strategy so that aggregation route 10.0.0.0/8 is generated if two of the following three subnets of 10.0.0.0/8 appears in the routing table: 10.1.0.0/16, 10.2.0.0/16, and 10.3.0.0/16. In route matching, the fuzzy matching principle is used. Therefore, route 10.1.1.0/24 matches the 10.1.0.0/16 sub-strategy. 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
In the following example, the configuration cannot generate an aggregation route. Subnets 10.1.1.0 and 10.1.2.0 are contained in subnet 10.1.0.0, making the configuration equivalent to configuring only subnet 10.1.0.0 255.255.0.0. 24-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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
Related Commands None
24.4 bgp always-compare-med Syntax bgp always-compare-med no bgp always-compare-med
Function This command compares Multi-Exit Discriminators (MEDs) of neighbor paths in different autonomous systems (ASs).
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines In selecting an optimal path from multiple available paths, take MEDs into consideration. The path with lower priority instead of the one with higher priority should be selected first. By default, in selection of an optimal path, only the MEDs of the paths in the same AS can be compared. After configuration, the command allows comparing MEDs of paths from different ASs. To invalidate the command, use the no bgp always-compare-med command.
Examples The following example shows how to allow comparing MEDs of neighbor paths in different ASs: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp always-compare-med
24-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Related Commands 24.65 reset ip bgp
24.5 bgp as Syntax bgp as number1 number2 no bgp as number1
Function This command sets the Autonomous system (AS) path weight policy for routes.
Parameters Parameter
Description
Value
number1
AS number.
1-65535
number2
Weight of the AS. The default
0-255
value is 128. The value 255 indicates that a route containing the AS is invalid.
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines In BGP routing decision, AS path length is a decision-making factor. This router uses AS weight sum for decision making. The route with a smaller weight sum has the priority. To invalidate the policy, use the no bgp as command.
Examples The following example shows how to set the weight of AS2 to 200: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp as 2 200
Related Commands None
24-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
24.6 bgp client-to-client reflection Syntax bgp client-to-client reflection no bgp client-to-client reflection
Function This command sets client-to-client reflection.
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, client-to-client reflection is valid. It determines whether to reflect routes received by a client to another client. To restore the default setting, use the no bgp client-to-client reflection command.
Examples This following example shows how to configure not to reflect routes received by a client to another client: ZXAN(config)#router bgp 1 ZXAN(config-router)#no bgp client-to-client reflection
Related Commands 24.56 neighbor route-reflector-client
24.7 bgp cluster-id Syntax bgp cluster-id {number1 |ip_addr1 } no bgp cluster-id
Function This command sets the cluster ID of a route reflector. 24-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters Parameter
Description
Value
number1
Cluster ID, in the form of an
1-4294967295
unsigned integer ip_addr1
Cluster ID, in the form of an IP
-
address
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, ROUTER-ID is used as the cluster ID. If an AS has multiple route reflectors, to prevent route loopbacks, cluster IDs must be contained in the transmitted packets. To restore the default setting, use the no bgp cluster-id command.
Examples The following example shows how to set the cluster ID of a route reflector to 10.1.1.1: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp cluster-id 10.1.1.1
Related Commands 24.56 neighbor route-reflector-client
24.8 bgp confederation identifier Syntax bgp confederation identifier number1 no bgp confederation identifier
Function This command sets an ID for a confederation.
Parameters Parameter
Description
Value
number1
Confederation ID
1-65535
24-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, no ID is available for a confederation. For a large-scale Autonomous System (AS) (in which more than 100 IBGP peer sessions need to be set up), a confederation can be set up to divide the AS into several small-scale ASs. However, the confederation is still regarded as an AS externally. To restore the default setting, use the no bgp confederation identifier command.
Examples The following example shows how to set a confederation ID to 3: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp confederation identifier 3
Related Commands 24.9 bgp confederation peers
24.9 bgp confederation peers Syntax bgp confederation peers number1 no bgp confederation peers [number1 ]
Function This command sets the AS number for a confederation peer.
Parameters Parameter
Description
Value
number1
AS number of the confederation
1-65535
peer. You can input multiple ASs and separate them with spaces.
Mode Routing BGP mode: ZXAN(config-router)#
24-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Usage Guidelines By default, a confederation does not have a peer. In a confederation, to configure an external neighbor as the external neighbor of a confederation, use this command to configure the AS number of the neighbor. In this command, you can enter 25 AS numbers at a time. 255 AS numbers can be configured at most. To restore the default setting, use the no bgp confederation peers command.
Examples The following example shows how to configure the neighbor with the AS number 65500 as the confederation peer: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp confederation peers 65500
Related Commands 24.8 bgp confederation identifier
24.10 bgp dampening Syntax bgp dampening {number1 number2 number3 number4 |[route-map name1 ] } no bgp dampening
Function This command enables the BGP route dampening or modifies BGP route dampening factors.
Parameters Parameter
Description
Value
number1
Half-life of the route dampening
1-45
factor. Default: 15 s. number2
Reuse value of the route
1-20000
dampening factor. Default: 750. number3
Route suppression value of
1-20000
the route dampening factor. Default: 2000.
24-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number4
Maximum suppression time of
1-255
the route dampening factor. Default: 60 s. After the route suppression time reaches the value, the penalty does not increase. name1
Route mapping name.
-
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, route dampening is invalid. If no parameter is set while executing the command, BGP route dampening is enabled, and all the parameters use the default values. The four parameters, half-life, reuse, suppress, and max-suppress-time, are dependent on each other. If one of the parameters is specified, all the four parameters must be specified, and the value of suppression must be larger than the value of reuse. To invalidate the command, use the no form of this command.
Examples The following example shows how to enable BGP route dampening: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp dampening
Related Commands None
24.11 bgp default ipv4-unicast Syntax bgp default ipv4-unicast no bgp default ipv4-unicast
Function This command controls BGP support of the IPv4 address capability.
24-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, the IPv4 address capability is supported. BGP protocol extension supports negotiation of the address capability with the peer. For the application which does not want to process common IPv4 routes such as the MPLS-VPN application, disable the capability. A neighbor, during its creation, inherits existing BGP setting on the IPv4 address capability. After the neighbor is created, if you modify the BGP setting, the neighbor configuration is not affected. The IPv4 address capability is controlled by using the neighbor activate command. To disable the IPv4 address capability, use the no bgp default ipv4-unicast command.
Examples The following example shows how to configure BGP not to support the IPv4 address capability: ZXAN(config)#router bgp 1 ZXAN(config-router)#no bgp default ipv4-unicast
Related Commands None
24.12 bgp default local-preference Syntax bgp default local-preference number1 no bgp default local-preference
Function This command sets a local-preference for routes that are advertised by BGP.
24-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Local preference. A larger value
0-4294967295
indicates a higher preference. Default: 100.
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines The peers for route advertisement include IBGP peers and the external peer of the confederation. This command sets a local-preference for routes so as to affect selection of routes (tie_break) of peers. If the advertised routes have been obtained by other peers and they have already had a local-preference value, the existing value cannot be overwritten. To restore the default setting, use the no bgp default local-preference command.
Examples The following example shows how to set local preference of routes that are advertised by BGP to 500. ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp default local-preference 500
Related Commands None
24.13 bgp default route-target filter Syntax bgp default route-target filter no bgp default route-target filter
Function This command controls BGP filtering on the route target attribute.
Parameters None
24-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, filtering on the route-target attribute is supported. BGP protocol extension supports the MPLS-VPN application. Usually, VPNv4 routes need to match the route-target attribute. However, for route reflectors and cross-domain EBGP applications, filtering on the route-target attribute needs to be disabled. To disable filtering on the route-target attribute, use the no bgp default route-target filter command.
Examples The following example shows how to configure BGP not to filter the route-target attributes. ZXAN(config)#router bgp 1 ZXAN(config-router)#no bgp default route-target filter
Related Commands None
24.14 bgp fast-external-fallover Syntax bgp fast-external-fallover no bgp fast-external-fallover
Function If a connection to a peer fails, this command configures the BGP session to automatically re-establish the connection once the connection failure occurs.
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#
24-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines By default, a BGP session is automatically re-established after the connection fails. According to RFC1771, after a BGP connection enters the Idle state owing to an error, it needs a Start event before it enters the Connect state. If you let this to occur naturally, an oscillation may occur. To prevent oscillation, it is recommended that the re-connection attempt time be doubled each time. The router tries to re-establish the connection in the idle state. If the connection still fails to be re-established, the next re-connection time doubles. After configuration with the command, re-connection can be started without waiting for the doubling time but the doubled time is still recorded. If the command is invalid, the router tries re-connection within the recorded doubling time. To invalidate the attribute, use the no bgp fast-external-fallover command.
Examples The following example shows how to configure a BGP session not to automatically re-establish a connection the moment the connection fails: ZXAN(config)#router bgp 1 ZXAN(config-router)#no bgp fast-external-fallover
Related Commands None
24.15 bgp graceful-restart Syntax bgp graceful-restart no bgp graceful-restart
Function This command activates the graceful restart capability for BGP instances.
Parameters None
Mode Routing BGP mode: ZXAN(config-router)# 24-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Usage Guidelines By default, BGP instances do not support the graceful restart capability. To make the attribute invalid, use the no bgp graceful-restart command.
Examples The following example shows how to activate the graceful restart capability for BGP instances: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp graceful-restart
Related Commands 24.16 bgp graceful-restart restart-time 24.17 bgp graceful-restart stalepath-time
24.16 bgp graceful-restart restart-time Syntax bgp graceful-restart restart-time number1 no bgp graceful-restart restart-time
Function This command sets the restart timer time for the graceful restart function.
Parameters Parameter
Description
Value
number1
Time of the restart timer.
1-3600
Default: 120 s.
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines The default is 120 s. To restore the default value of the restart timer, use the no bgp graceful-restart restart-time command.
24-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the restart timer time for BGP to activate graceful restart to 200 s: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp graceful-restart restart-time 200
Related Commands 24.15 bgp graceful-restart 24.17 bgp graceful-restart stalepath-time
24.17 bgp graceful-restart stalepath-time Syntax bgp graceful-restart stalepath-time number1 no bgp graceful-restart stalepath-time
Function This command configures the stale time for activating the graceful restart capability for BGP instances.
Parameters Parameter
Description
Value
number1
Time of the stale timer
1-3600
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines The default value is 360 s. The value usually needs not be configured. To restore the default value of the stale time, use the no bgp graceful-restart stalepath-time command.
Examples The following example shows how to configure the stalepath timer time for BGP to activate the graceful restart capability to 200 s: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp graceful-restart stalepath-time 200
24-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Related Commands 24.15 bgp graceful-restart 24.16 bgp graceful-restart restart-time
24.18 bgp router-id Syntax bgp router-id ip_addr1 no bgp router-id
Function This command sets router-id.
Parameters Parameter
Description
Value
ip_addr1
Router ID
-
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, no router-id is configured. This command enables you to configure a BGP router-id manually. To cancel the function, use the no bgp router-id command.
Examples The following example shows how to set router-id to 1.2.1.3. ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp router-id 1.2.1.3
Related Commands None
24.19 bgp update-delay Syntax bgp update-delay number1 24-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no bgp update-delay
Function This command configures the update delay timer time of BGP.
Parameters Parameter
Description
Value
number1
Time of the update delay timer.
1-3600
Unit: s.
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines To restore the default setting, use the no bgp update-delay command.
Examples The following example shows how to configure the update delay timer time of BGP to 300s: ZXAN(config)#router bgp 1 ZXAN(config-router)#bgp update-delay 300
Related Commands None
24.20 clear ip bgp Syntax clear ip bgp ip_addr1 flap-statistics
Function This command clears routing flap statistics of a specified BGP neighbor.
Parameters Parameter
Description
Value
ip_addr1
Neighbor IP address
-
flap-statistics
Routing flap statistics
-
24-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear routing flap statistics of BGP neighbor 1.1.1.1: ZXAN#clear ip bgp 1.1.1.1 flap-statistics
Related Commands None
24.21 clear ip bgp dampening Syntax clear ip bgp dampening [ip_addr1 ip_addr2 ]
Function This command clears the BGP route dampening information and removes suppression on routes.
Parameters Parameter
Description
Value
ip_addr1
IP address of the network for
-
which the BGP route dampening information is cleared ip_addr2
IP address mask of the network
-
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear the BGP route dampening information and remove suppression on routes: 24-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#clear ip bgp dampening
Related Commands None
24.22 clear ip bgp flap-statistics Syntax clear ip bgp flap-statistics [ip_addr1 ip_addr2 ]
Function This command clears flap statistics of BGP1 routes.
Parameters Parameter
Description
Value
ip_addr1
IP address of the neighbor
-
for which flap statistics are to be cleared, in dotted decimal format ip_addr2
IP address mask of the network
-
Mode Privileged mode: ZXAN#
Usage Guidelines After the IP address of a neighbor is specified, the router clears flap statistics of the routes that are from the neighbor. If no parameter or keyword is specified, the router clears flap statistics of all routes.
Examples l
The following example shows how to clear flap statistics of routes from BGP neighbor 1.1.1.1. ZXAN#clear ip bgp 1.1.1.1 flap-statistics
l
The following example shows how to clear flap statistics of all BGP routes. ZXAN#clear ip bgp flap-statistics
l
The following example shows how to clear flap statistics of the specified BGP route 10.1.1.0. 24-22
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands ZXAN#clear ip bgp flap-statistics 10.1.1.0 255.255.255.0
Related Commands None
24.23 debug ip bgp Syntax debug ip bgp ip_addr1 updates no debug ip bgp ip_addr1 updates
Function This command traces and displays the updates packets that are received and sent by BGP, and displays how the routes in the packets are processed.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of the BGP
-
neighbor. updates
Prints the BGP update packets
-
that are received and sent.
Mode Privileged mode: ZXAN#
Usage Guidelines To stop packet tracing, use the no form of this command.
Examples The following example shows how to enable the debug function for tracing and displaying the updates packets that are received and sent by the BGP connection: ZXAN#debug ip bgp updates BGP updates debugging is on
Related Commands 11.80 terminal monitor
24-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
24.24 debug ip bgp all Syntax debug ip bgp all no debug ip bgp all
Function This command enables all BGP debug functions.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop tracing, use the no debug ip bgp all command.
Examples The following example shows how to enable all BGP debug functions. ZXAN#debug ip bgp all All BGP debugging has been turned on
Related Commands 11.80 terminal monitor
24.25 debug ip bgp dampening Syntax debug ip bgp dampening no debug ip bgp dampening
Function This command traces, displays, and processes information related to BGP route dampening.
24-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop tracing, use the no debug ip bgp dampening command.
Examples The following example shows how to enable the debug function to trace and display BGP route dampening. ZXAN#debug ip bgp dampening BGP dampening debugging is on
Related Commands 11.80 terminal monitor
24.26 debug ip bgp events Syntax debug ip bgp events no debug ip bgp events
Function This command displays transition of the state machine of the BGP connection. If an abnormal state machine transition occurred, the cause is displayed. (An abnormal state machine transition mainly refers to a BGP transition from a high state to a low state.)
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop tracing, use the no debug ip bgp events command. 24-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the debug function for tracing and displaying the state machine transition of the BGP connection. ZXAN#debug ip bgp events BGP events debugging is on
Related Commands 11.80 terminal monitor
24.27 debug ip bgp in Syntax debug ip bgp in no debug ip bgp in
Function This command enables the debug function for tracing and displaying the packets that are received by BGP.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop packet tracing, use the no debug ip bgp in command.
Examples The following example shows how to enable the debug function for tracing and displaying the packets that are received by BGP: ZXAN#debug ip bgp in BGP in debugging is on
Related Commands 11.80 terminal monitor 24-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
24.28 debug ip bgp keepalives Syntax debug ip bgp keepalives no debug ip bgp keepalives
Function This command traces and displays the keepalives packets that are received and sent by BGP.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop packet tracing, use the no debug ip bgp keepalives command.
Examples The following example shows how to enable the debug function for tracing and displaying the keepalives packets that are received and sent by BGP: ZXAN#debug ip bgp keepalives BGP keepalives debugging is on
Related Commands 11.80 terminal monitor
24.29 debug ip bgp out Syntax debug ip bgp out no debug ip bgp out
Function This command traces and displays the packets that are sent by BGP. 24-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop packet tracing, use the no debug ip bgp out command.
Examples The following example shows how to enable the debug function for tracing and displaying the packets that are sent by BGP: ZXAN#debug ip bgp out BGP out debugging is on
Related Commands 11.80 terminal monitor
24.30 debug ip bgp updates Syntax debug ip bgp updates no debug ip bgp updates
Function This command traces and displays the updates packets that are received and sent by BGP connection, and displays how the routes in the packets are processed.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To stop packet tracing, use the no debug ip bgp updates command. 24-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Examples The following example shows how to enable the debug function for tracing and displaying the updates packets that are received and sent by the BGP connection: ZXAN#debug ip bgp updates BGP updates debugging is on
Related Commands 11.80 terminal monitor
24.31 default-information originate Syntax default-information originate no default-information originate
Function This command enables re-assignment of the default route to BGP.
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#, VPF-BGP configuration mode, IPv4 multicast-BGP address mode, and other modes
Usage Guidelines By default, the default route is not advertised. This command re-assigns the default route to the BGP route library so that the re-assigned route can be advertised to all BGP neighbors. This command is used together with the re-assignment command. To make the attribute invalid, use the no default-information originate command.
Examples The following example shows how to enable re-assignment of the default route to BGP: ZXAN(config)#router bgp 1 ZXAN(config-router)#default-information originate
24-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 24.64 redistribute
24.32 default-metric Syntax default-metric number1 no default-metric
Function This command sets Multi-Exit Discriminator (MED) metric for the BGP protocol. This command is used in re-assigning routes among multiple protocols. Then the current route selection protocol uses the system metric for all the re-assigned routes.
Parameters Parameter
Description
Value
number1
Default metric of BGP routes
0-4294967295
Mode Routing BGP mode: ZXAN(config-router)# , VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines For BGP, the default MED metric value of the re-assigned routes is 0. To restore the default value, use the no default-metric command.
Examples The following example shows how to set the default MED metric value of re-assigned routes to 500. ZXAN(config)#router bgp 1 ZXAN(config-router)#default-metric 500
Related Commands None
24-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
24.33 disable ip bgp Syntax disable ip bgp
Function This command stops a BGP session temporarily.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines You can use the enable command to start the BGP session again.
Examples The following example shows how to stop a BGP session temporarily: ZXAN(config)#disable ip bgp
Related Commands 24.35 enable ip bgp 24.65 reset ip bgp
24.34 distance bgp Syntax distance bgp {external number1 |internal number2 } no distance bgp {external |internal }
Function This command changes the priorities for the routes that are advertised by external/internal neighbors.
24-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Priority of the routes that are
1-255
received from EBGP neighbors. Default: 20. number2
Priority of the routes that are
1-255
received from IBGP neighbors. Default: 200. external
-
-
internal
-
-
Mode Routing BGP mode: ZXAN(config-router)# , VPF-BGP configuration mode, IPv4 multicast-BGP address mode, and other modes
Usage Guidelines The priorities of the routes that are received by external/internal routes can all be changed. This is used to control IP in selecting the optimal route. If a confederation has been configured, the external neighbors of the peer of the confederation has the same priority as the internal neighbors. To cancel the configuration and restore the default value, use the no distance bgp command.
Examples The following example shows how to set the priority of the routes that are advertised by external neighbors to 100. ZXAN(config)#router bgp 1 ZXAN(config-router)#distance bgp external 100
Related Commands None
24.35 enable ip bgp Syntax enable ip bgp
Function This command restores a BGP session. If the BGP session of a neighbor is not in the stopped state, this command does not take effect. 24-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To stop a BGP session, use the disable command.
Examples The following example shows how to restore a BGP session: ZXAN(config)#enable ip bgp
Related Commands None
24.36 ip as-path access-list Syntax ip as-path access-list number1 {deny |permit } LINE1 no ip as-path access-list number1
Function This command defines an access list related to BGP.
Parameters Parameter
Description
Value
number1
ID of a standard community list.
1-199
deny
Not allows access to matched
-
conditions. permit
Allows access to matched
-
conditions. LINE1
Regular expression, with a
-
length of 1-63 characters.
24-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Access list filters are defined on the incoming or outgoing BGP routes. In addition, weights can be assigned to a group of filters. Each filter is an access list that is based on a regular expression. If a regular expression matches the description of a route AS, the route is expressed in an ASCII character string, that is, permit or deny conditions. An AS path does not include a local AS number. You can use the ip as-path access-list global configuration command to define a BGP access list, and you can use a neighbor route configuration command to apply for a special access list. To invalidate the access list, use the no ip as-path access-list command.
Examples The following example shows how to configure the BGP neighbor with the IP address 128.125.1.1 not to send advertisements from neighbor AS 123: ZXR10(config)#ip as-path access-list 1 deny ^123$ ZXR10(config)#route-map test permit 10 ZXR10(config-route-map)#match as-path 1 ZXR10(config-route-map)#exit ZXR10(config)#router bgp 1 ZXR10(config-router)#network 131.108.0.0 ZXR10(config-router)#neighbor 128.140.6.6 remote-as 123 ZXR10(config-router)#neighbor 128.125.1.1 remote-as 47 ZXR10(config-router)#neighbor 128.125.1.1 route-map test out
Related Commands 24.73 show ip as-path-access-list match as-path
24.37 ip community-list Syntax ip community-list {number1 {deny |permit } [{number2 |no-export |no-advertise |no-export-su bconfed |number:number1 } ] |number3 {deny |permit } LINE1 } no ip community-list {number1 |number3 } 24-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Function This command creates a community list for BGP and controls access to the community list.
Parameters Parameter
Description
Value
number1
ID of a standard community list.
1-99
deny
Not allows access to matched
-
conditions. permit
Allows access to matched
-
conditions. number2
A single number or multiple
1-4294967295
numbers with certain intervals can be defined. no-export
Do not advertise the route to the
-
next AS. no-advertise
Do not advertise the route to
-
any peer (internal or external peer). no-export-subconfed
Do not advertise the route to
-
any external peer. number:number1
Community number in
-
:, that is, aa:nn format. number3
ID of an extended community
100-499
list. LINE1
Regular expression, with a
-
length of 1-63 characters.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Once a community number is allowed, the community list rejects other communities. To delete a community list, use the no ip community-list command.
Examples The following example shows how to allow routes excepts routes of communities 5 and 10 or communities 10 and 15: 24-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#ip community-list 1 deny 5 10 ZXAN(config)#ip community-list 1 deny 10 15 ZXAN(config)#ip community-list 1 permit
Related Commands 24.81 show ip community-list set community
24.38 ip prefix-list Syntax ip prefix-list name1 {[seq number1 ] {deny |permit } ip_addr1 number2 [ge number3 ] [le number4 ] |description LINE1 } no ip prefix-list name1 [{[seq number1 ] {deny |permit } ip_addr1 number2 [ge number3 ] [le number4 ] |description } ]
Function This command creates a prefix list for BGP and controls access to the prefix list.
Parameters Parameter
Description
Value
name1
Identifies a prefix list, containing
-
1-16 characters. number1
Allows specifying the location in
0-4294967294
the prefix list. deny
Not allows access to matched
-
conditions. permit
Allows access to matched
-
conditions. ip_addr1
32-digit prefix address for
-
matching. number2
Prefix mask for matching, in the
0-32
range of 0-32. number3
Range of the mask.
0-32
number4
Range of the mask.
0-32
24-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameter
Description
Value
description
Configures a description for the
-
prefix list. LINE1
Description of the prefix,
-
containing 1-80 characters.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, no prefix list is defined. To delete a prefix list, use the no ip prefix-list command.
Examples The following example shows how to configure prefix list test. In the example, the description of the prefix list is test, and the prefix list allows routes with the IP address 100.1.1.1 and mask 24 or the mask is larger than 25. ZXAN(config)#ip prefix-list test seq
0 permit 100.1.1.1 24 ge 25
ZXAN(config)#ip prefix-list test description test
Related Commands 24.52 neighbor prefix-list 24.82 show ip prefix-list
24.39 maximum-paths Syntax maximum-paths number1 no maximum-paths
Function This command sets the maximum number of routes that are supported in the case of balanced BGP load.
24-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Sets the maximum number of
1-8
routes that are supported in the case of balanced BGP load. Default: 1.
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines The command takes effect immediately but requires time-sharing processing. The process does not need user interference but it takes some time. To restore the default value, use the no maximum-paths command.
Examples The following example shows how to set the maximum number of routes that are supported in the case of balanced BGP load to 5: ZXAN(config)#router bgp 1 ZXAN(config-router)#maximum-paths 5
Related Commands None
24.40 neighbor activate Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } activate no neighbor {ip_addr1 |ipv6_addr1 |name1 } activate
Function This command activate the address capability of a neighbor and a neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor
-
ipv6_addr1
IPv6 address of a neighbor
-
name1
Name of a neighbor group
-
24-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines By default, the address capabilities such as VPNv4 are deactivated. The IPv4 address capability is inherited from BGP entities during the creation of a neighbor or neighbor peer group. For a neighbor with an IPv6 address, only the IPv6 address capability can be activated. To invalidate the attribute, use the no neighbor command.
Examples l
The following example shows how to activate the address capability of BGP neighbor 1.1.1.1. ZXR10(config)#router bgp 1 ZXR10(config-router)#neighbor 1.1.1.1 activate
l
The following example shows how to activate the address capability of BGP neighbor 1.1.1.1. ZXR10(config-router)#no neighbor 1.1.1.1 activate
Related Commands None
24.41 neighbor advertisement-interval Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } advertisement-interval number1 no neighbor {ip_addr1 |ipv6_addr1 |name1 } advertisement-interval
Function This command configures the minimum interval at which changes of routes that are not originated from the local AS are advertised to a neighbor or a neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor
-
ipv6_addr1
IPv6 address of a neighbor
-
24-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name1
Name of a neighbor group
-
number1
Minimum interval at which the
1-600
changes of routes that are not originated from the local AS are advertised to a neighbor or a neighbor peer group. Unit: s.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines The default value is 30 s.
Examples The following example shows how to configure the minimum interval at which changes of routes that are not originated from the local AS are advertised to BGP neighbor 1.1.1.1 to 20 s. ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 advertisement-interval 20
Related Commands None
24.42 neighbor allowas-in Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } allowas-in [number1 ] no neighbor {ip_addr1 |ipv6_addr1 |name1 } allowas-in
Function Usually, if a received Update packet contains the local AS number in the path attribute, the route is regarded as invalid. This command allows the path attribute to contain multiple local AS numbers while the route is still valid.
24-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor
-
ipv6_addr1
IPv6 address of a neighbor
-
name1
Name of a neighbor group
-
Number of local AS numbers
1-10
number1
that appears.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines Usually, to prevent BGP route loopback, path attributes are used to record the ASs that a route traverses. If the path attribute contains the local AS number, it indicates that a loopback occurs on the route, and the route is invalid. When the network applications become more and more complicated, especially with the application of the HUB-SPOKE model of MPLS-VPN, a route may have to traverse multiple ASs before it can meet the customer requirement. By default, it is not allowed that path attribute contains the local AS number.
Examples The following example shows how to allow the path attribute of the Update packet that is received by BGP neighbor 1.1.1.1 to contain four local AS numbers and the route is still valid. ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 allowas-in 4
Related Commands None
24.43 neighbor default-originate Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } default-originate no neighbor {ip_addr1 |ipv6_addr1 |name1 } default-originate
24-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables BGP to send the default route to a neighbor or neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor
-
ipv6_addr1
IPv6 address of a neighbor
-
name1
Name of a neighbor group
-
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines After this command is executed, no matter whether BGP has a local default route or not, BGP advertises the default route to the specified neighbor. By default, the function is invalid.
Examples The following example shows how to send the default route to BGP neighbor 1.1.1.1. ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 default-originate
Related Commands None
24.44 neighbor description Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } description LINE1 no neighbor {ip_addr1 |ipv6_addr1 |name1 } description
Function This command sets a description for a neighbor or neighbor peer group.
24-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor
-
ipv6_addr1
IPv6 address of a neighbor
-
name1
Name of a neighbor group
-
LINE1
A character string that describes
-
a neighbor, which contains 1-80 characters
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines None
Examples The following example shows how to set the description of BGP neighbor 1.1.1.1 to ZTE: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 description ZTE
Related Commands None
24.45 neighbor ebgp-multihop Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } ebgp-multihop [ttl number1 ] no neighbor {ip_addr1 |ipv6_addr1 |name1 } ebgp-multihop
Function This command allows to set up External Border Gateway Protocol (EBGP) neighbors between two networks that are indirectly connected. This command is applicable only to EBGP.
24-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
number1
TTL value. Default: 8.
1-255
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines By default, the function is invalid.
Examples The following example shows how to set the maximum number of hops of EBGP neighbor 1.1.1.1 to 200. ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 ebgp-multihop ttl 200
Related Commands None
24.46 neighbor maximum-prefix Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } maximum-prefix number1 no neighbor {ip_addr1 |ipv6_addr1 |name1 } maximum-prefix
Function This command sets the maximum number of routes that can be received from a neighbor.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
24-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameter
Description
Value
name1
Name of a neighbor group.
-
number1
Maximum number of routes
1-4294967295
that can be received from a neighbor. Default: 4294967295.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines In actual operation of a network, a faulty neighbor may input a large number of routes, which may use up the memory of the router. To prevent such failure, use this command to control the number of routes that are received from a neighbor. If the number of routes exceeds the limit, the neighbor is disconnected. The connection can be recovered only after manual interference.
Examples The following example shows how to set the maximum number of routes that can be received from a BGP neighbor 1.1.1.1 to 20000. ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 maximum-prefix 20000
Related Commands None
24.47 neighbor next-hop-self Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } next-hop-self no neighbor {ip_addr1 |ipv6_addr1 |name1 } next-hop-self
Function This command forces the local device as the next hop of the advertised route, usually in an Non-Broadcast Multiple Access (NBMA) network.
24-45 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines By default, the attribute is invalid.
Examples The following example shows how to force the local device as the next hop of an advertised route while the route is advertised to BGP neighbor 1.1.1.1: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 next-hop-self
Related Commands None
24.48 neighbor originate-interval Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } originate-interval number1 no neighbor {ip_addr1 |ipv6_addr1 |name1 } originate-interval
Function This command configures the minimum interval when the route changes originated from the local AS are advertised to a neighbor or a neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
24-46 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameter
Description
Value
name1
Name of a neighbor group.
-
number1
Minimum interval when the
1-600
route changes originated from the local AS are advertised to a neighbor or a neighbor peer group. Default: 15 s.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines None
Examples The following example shows how to set the minimum interval when route changes originated from the local AS are advertised to BGP neighbor 1.1.1.1 to 5 s: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 originate-interval 5
Related Commands None
24.49 neighbor passive Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } passive no neighbor {ip_addr1 |ipv6_addr1 |name1 } passive
Function This command configures a neighbor to set up a link in passive mode.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
24-47 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines To invalidate the function, use the no form of this command.
Examples The following example shows how to configure BGP neighbor 1::1 to set up a link in passive mode: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1::1 passive
Related Commands None
24.50 neighbor password Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } password name2 no neighbor {ip_addr1 |ipv6_addr1 |name1 } password
Function This command configures an authentication password so that Message Digest 5 Algorithm (MD5) authentication is valid on the TCP connection between two BGP peers.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
name2
Password string, containing
-
3-80 characters.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
24-48 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Usage Guidelines By default, the attribute is invalid.
Examples The following example shows how to set the authentication password for the BGP connection to BGP neighbor 1.1.1.1 to abc: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 password abc
Related Commands None
24.51 neighbor peer-group Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } peer-group [name2 ] no neighbor {ip_addr1 |ipv6_addr1 |name1 } peer-group [name2 ]
Function This command creates a peer group or configures a neighbor into a peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
name2
Name of a neighbor group,
-
containing 1-16 characters.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines Before using this command, first use the neighbor peer-group command to create a peer group. Then use the neighbor remote-as command to configure an AS number for the peer group. Finally use the neighbor peer-group command to add the neighbor into the peer group. 24-49 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to create peer group zte and configure BGP neighbor 1::1 into the peer group: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor zte peer-group ZXAN(config-router)#neighbor zte remote-as 100 ZXAN(config-router)#neighbor 1::1 peer-group zte
Related Commands 24.77 show ip bgp peer-group
24.52 neighbor prefix-list Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } prefix-list name2 name3 no neighbor {ip_addr1 |ipv6_addr1 |name1 } prefix-list name2 name3
Function This command configures an IP prefix list to filter routes that are advertised by a neighbor and a neighbor peer group or filter routes that are advertised to a neighbor and a neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
name2
Name of a prefix list, containing
-
1-16 characters. name3
Here in indicates that it is
-
applied to input routes, and out indicates that it is applied to output routes.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
24-50 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Usage Guidelines The prefix list filtering policy is used together with the ip prefix-list command. By default, no filtering policy is configured.
Examples The following example shows how to set to send only the routes with the prefix 100.1.1.1/24 while advertising routes to BGP neighbor 1.1.1.1: 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
Related Commands None
24.53 neighbor remote-as Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } remote-as number1 no neighbor {ip_addr1 |ipv6_addr1 |name1 } remote-as
Function This command configures a BGP neighbor or configure the AS number of a neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
number1
AS to which a neighbor belongs.
1-65535
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines By default, no BGP neighbor is configured. 24-51 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure BGP neighbor 1.1.1.1 which belongs to AS 8. ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 remote-as 8
Related Commands None
24.54 neighbor remove-private-as Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } remove-private-as no neighbor {ip_addr1 |ipv6_addr1 |name1 } remove-private-as
Function This command removes private ASs before advertising routes to a neighbor or neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines Because the number of ASs is limited, private AS numbers are used to divide a large-scale AS into multiple areas that are connected by EBGP. When the areas are connected to the Internet, the private ASs are filtered. In this way, the interior of the ASs are transparent for the Internet. Private AS range: 64512-65535. Note: If a confederation is configured, the internal peers within the confederation are labeled with private as. If these peers are removed, route loopbacks may occur. Therefore for EBGP peers within a confederation, this command is invalid.
24-52 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Examples The following example shows how to filter private ASs when advertising routes to BGP neighbor 1.1.1.1: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 remove-private-as
Related Commands None
24.55 neighbor route-map Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } route-map name2 name3 no neighbor {ip_addr1 |ipv6_addr1 |name1 } route-map name2 name3
Function This command configures a filter for the routes that are advertised by a neighbor or a neighbor peer group or for the routes that are advertised to a neighbor or a neighbor peer group, or sets priorities for routes.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
name2
Name of a route mapping,
-
containing 1-16 characters. name3
Here in indicates that it is
-
applied to input routes, and out indicates that it is applied to output routes.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
24-53 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines The enhanced route filtering policy, when used together with the route-map setting command, can be used for complicated route selection. By default, no filtering policy is configured.
Examples The following example sets the origin of output routes to EGP when the routes are advertised to BGP neighbor 1.1.1.1: 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
Related Commands route-map
24.56 neighbor route-reflector-client Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } route-reflector-client no neighbor {ip_addr1 |ipv6_addr1 |name1 } route-reflector-client
Function This command sets a neighbor or neighbor peer group to the client peer of a route reflector.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
24-54 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Usage Guidelines In some Internet Service Provider (ISP) networks, the internal Border Gateway Protocol (BGP) networks are very large. (Each router provides more than 100 BGP sessions.) To reduce the network complexity, a router reflector is introduced, that is, a centralized router acts as the focus of internal BGP sessions. Multiple BGP routers become peers of a route reflector, and multiple route reflectors become peers of each other. If all clients are invalid, the local reflector is not a route reflector. The route reflector is recommended only when each router has more than 100 BGP session. To set a neighbor not to be a client peer, use the no form of this command.
Examples The following example shows how to set BGP neighbor 1.1.1.1 as the client peer of a route reflector: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 router-reflector-client
Related Commands 24.6 bgp client-to-client reflection 24.7 bgp cluster-id
24.57 neighbor send-community Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } send-community no neighbor {ip_addr1 |ipv6_addr1 |name1 } send-community
Function This command configures to send community attributes when advertising routes to a neighbor or neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
24-55 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines By default, community attributes are not sent.
Examples The following example shows how to configure to send community attributes when advertising routes to BGP neighbor 1.1.1.1: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 send-community
Related Commands None
24.58 neighbor send-med Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } send-med no neighbor {ip_addr1 |ipv6_addr1 |name1 } send-med
Function This command configures to send MED attributes when advertising routes to a neighbor or neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and so on
Usage Guidelines By default, MED attributes are not sent. 24-56 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Examples The following example shows how to configure to send MED attributes when advertising routes to BGP neighbor 1.1.1.1: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 send-med
Related Commands None
24.59 neighbor shut-down Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } shut-down no neighbor {ip_addr1 |ipv6_addr1 |name1 } shut-down
Function This command configures a neighbor or neighbor peer group so that it is in the disabled management state.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines Many attribute configuration commands of the neighbor may cause inconsistent processing operations of routes and may cause reset of the neighbor. To reduce network oscillation, it is recommended that the neighbor be in the disabled management status before the configuration is completed. By default, the management status of the neighbor is enabled.
Examples The following example shows how to configure BGP neighbor 1.1.1.1 so that it is in the disabled management status: 24-57 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 shut-down
Related Commands None
24.60 neighbor soft-reconfiguration Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } soft-reconfiguration no neighbor {ip_addr1 |ipv6_addr1 |name1 } soft-reconfiguration
Function This command configures a neighbor or neighbor peer group so that it supports soft reconfiguration.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines After a local BGP policy is adjusted, some routes which were previously rejected may take effect. If you do not use this command, then a neighbor must be reset so that it can advertise routes again. If you use this command, the routes which were rejected previously may take effect again while the neighbor needs not be reset. The use of this command may result in high memory usage because the local router has to store a large number of rejected routes. Therefore, the command must be used with the guidance of network specialists. If a neighbor supports the route update capability, the command need not be configured, or the configuration through the command is invalid. By default, the attribute is invalid.
24-58 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Examples The following example shows how to configure BGP neighbor 1.1.1.1 so that it supports soft reconfiguration: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 soft-reconfiguration
Related Commands None
24.61 neighbor timers Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } timers number1 number2 no neighbor {ip_addr1 |ipv6_addr1 |name1 } timers
Function This command configures holdtime and keepalive timers of a neighbor or neighbor peer group.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
number1
Time of the keepalive timer.
0-65535
Unit: s. number2
Time of the holdtime timer.
0-65535
Range: 0 or 3-65535. Unit: s.
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines By default, BGP timers are inherited.
24-59 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure timers of BGP neighbor 1.1.1.1. In the example, the holdtime timer is set to 180 s, and the keepalive timer is set to 60 s. ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 timers 60 180
Related Commands None
24.62 neighbor update-source Syntax neighbor {ip_addr1 |ipv6_addr1 |name1 } update-source interface1 no neighbor {ip_addr1 |ipv6_addr1 |name1 } update-source
Function This command makes it possible to set up a BGP session through any available TCP connection interface.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
ipv6_addr1
IPv6 address of a neighbor.
-
name1
Name of a neighbor group.
-
interface1
Name of the interface which
-
acts as the source address of a TCP connection of a BGP session
Mode Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP configuration mode, and other modes
Usage Guidelines By default, the setting is invalid, and the optimal local interface address is used.
24-60 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Examples The following example shows how to configure the loopback1 interface, through which a BGP connection with neighbor 1.1.1.1 is set up: ZXAN(config)#router bgp 1 ZXAN(config-router)#neighbor 1.1.1.1 update-source loopback1
Related Commands None
24.63 network Syntax network ip_addr1 ip_addr2 [[route-map name1 ] ] no network ip_addr1 ip_addr2
Function This command specifies a network table for a BGP route selection process. The types of networks can be obtained from connected routes, dynamic route selection, and static route sources.
Parameters Parameter
Description
Value
ip_addr1
Network address that is to be
-
advertised by BGP. ip_addr2
Network mask.
-
name1
Route mapping name.
-
Mode Routing BGP mode: ZXAN(config-router)#, VPF-BGP configuration mode, IPv4 multicast-BGP address mode, and other modes
Usage Guidelines By default, no network is specified. To delete a record, use the no network command.
Examples The following example shows how to advertise a local route 2.2.2.2/32 to neighbors: ZXAN(config)#router bgp 1
24-61 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-router)#network 2.2.2.2 255.255.255.255
Related Commands None
24.64 redistribute Syntax redistribute name1 [{[metric number1 ] [route-map name2 ] } ] no redistribute name1 [{[metric ] [route-map ] } ]
Function This command redistributes the routes that are obtained through another routing protocol into the BGP route selection table.
Parameters Parameter
Description
Value
name1
Name of another protocol. The
-
options include connected, static, rip, ospf-int, ospf-ext, isis-1, isis-2, and isis-1-2. number1
Metric value of the redistributed
0-4294967295
routes. If this value is not specified, the default value is used. name2
Route mapping name.
-
metric
-
route-map
-
Mode Routing BGP mode: ZXAN(config-router)#, VPF-BGP configuration mode, IPv4 multicast-BGP address mode, and other modes
Usage Guidelines By default, routes are not redistributed. To cancel the redistribution, use the no redistribute command.
24-62 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Examples The following example shows how to redistribute the routes that are obtained through the RIP protocol into the BGP route selection table: ZXAN(config)#router bgp 1 ZXAN(config-router)#redistribute rip
Related Commands None
24.65 reset ip bgp Syntax reset ip bgp [{ip_addr1 |name1 } ]
Function This command soft resets a BGP session.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor
-
name1
Name of an IPv6 neighbor
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the BGP session of a neighbor is not in the stopped state, this command enables the session. If the BGP session is in the active state, the command disables the session, and then enables the session.
Examples The following example shows how to soft reset the BGP session that is set up with neighbor 1.1.1.1: ZXAN(config)#reset ip bgp 1.1.1.1
Related Commands None 24-63 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
24.66 router bgp Syntax router bgp number1 no router bgp [number1 ]
Function This command configures a BGP module on the router.
Parameters Parameter
Description
Value
number1
Autonomous system (AS)
1-65535
number.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the BGP module is not configured. To delete the BGP module, use the no router bgp command.
Examples The following example shows how to configure a BGP module with the AS number 1: ZXAN(config)#router bgp 1 ZXAN(config-router)#
Related Commands None
24.67 show bgp all neighbor Syntax show bgp all neighbor [ip_addr1 ]
Function This command displays information about a BGP neighbor. 24-64 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display information about a BGP neighbor: 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 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
24-65 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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
Related Commands None
24.68 show bgp all summary Syntax show bgp all summary
Function This command displays the statuses of all BGP neighbor connections.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the statuses of BGP neighbor connections of all address families: ZXAN#show bgp all summary
24-66 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands 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
Table 24-1 BGP Summary Parameter Description Parameter
Description
Neighbor
Neighbor IP address.
Ver
Version of the BGP neighbor. Currently, version 4 is supported.
As
AS number of the neighbor
MsgRcvd
Total number of packets that are received by the neighbor. The number is cleared each time the neighbor enters the Established state.
MsgSend
Total number of packets that are sent by the neighbor. The number is cleared each time the neighbor enters the Established state.
Up/Down
Time during which the neighbor is in the Established state or the time elapsed since the neighbor moves from the Established state. If the neighbor has never entered the Established state, the time is always 0.
State
State of the BGP state machine of the neighbor
Related Commands None
24.69 show bgp ipv4 multicast Syntax show bgp ipv4 multicast
Function This command displays an item in the route selection table of the BGP IPv4 multicast address family.
Parameters None
Mode All modes except user mode
24-67 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines If no parameter is specified in the command, all valid BGP routes are displayed. If a network number is specified, the networks that match the network number in the BGP route selection table are displayed. If network number and network mask parameters are specified, all BGP routes that match the address/mask are displayed. To display details of all routes, use the show bgp ipv4 multicast detail command.
Examples The following example shows valid routes of the BGP IPv4 multicast address family: ZXAN#show bgp ipv4 multicast Status codes: *valid, gt;best, i-internal Origin codes: i-IGP, e-EGP, ?-incomplete
Network
Next Hop
Metric
LocPrf
Path
*gt;i
111.1.1.2/32
2.2.2.1
0
12345678
200 ?
*gt;i
111.1.1.3/32
2.2.2.1
0
12345678
200 ?
Table 24-2 BGP IPv4 Multicast Summary Parameter Description Parameter
Description
Network
Specific route
Next Hop
Next hop attribute in the Update packet
Metric
Multi-Exit Discriminator (MED) attribute in the Update packet
LocPrf
Local preference attribute that is specified by the input policy
Path
As-path sequence and the Origin attribute in the Update packet
Related Commands None
24.70 show bgp ipv4 multicast neighbor Syntax show bgp ipv4 multicast neighbor [ip_addr1 ]
Function This command displays information about a BGP neighbor which is in the IPv4 multicast address family.
24-68 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display information about a BGP neighbor: 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 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
24-69 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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
Related Commands None
24.71 show bgp ipv4 multicast neighbor in Syntax show bgp ipv4 multicast neighbor in ip_addr1
Function This command displays the information about the routes that are received by a BGP IPv4 multicast address family from a specified neighbor.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
24-70 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the information about the routes that are received from a neighbor: ZXR10#show bgp ipv4 multicast 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?
Table 24-3 Summary Parameter Description for BGP IPv4 Multicast Neighbor In Parameter
Description
Dest
Specific route
Nexthop
Next hop attribute in the Update packet
Mertic
Multi-Exit Discriminator attribute in the Update packet
LocPref
Local priority attribute in the Update packet
RoutePref
Local management distance of the rout
Path
As-path sequence and the Origin attribute in the Update packet
Related Commands None
24.72 show bgp ipv4 multicast neighbor out Syntax show bgp ipv4 multicast neighbor out ip_addr1
24-71 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command displays the information about the routes that are sent by a BGP IPv4 multicast address family to a specified neighbor.
Parameters Parameter
Description
Value
ip_addr1
IPv4 address of a neighbor.
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the information about the routes that are sent to a neighbor: ZXR10#show bgp ipv4 multicast neighbor out 2.2.2.1 Routes Sent to This neighbor: Origin codes: i-IGP, e-EGP, ?-incomplete Dest
NextHop
Metric
LocPrf
Path
111.1.1.2/32
2.2.2.1
0
12345678
100?
111.1.1.3/32
2.2.2.1
0
12345678
100?
Table 24-4 Summary Parameter Description for BGP IPv4 Multicast Neighbor Out Parameter
Description
Dest
Specific route
Nexthop
Next hop attribute in the Update packet
Mertic
Multi-Exit Discriminator (MED) attribute in the Update packet
LocPref
Local priority attribute in the Update packet
Path
The original As-path attribute sequence of the route and the Origin attribute of the Update packet
Related Commands None
24-72 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
24.73 show ip as-path-access-list Syntax show ip as-path-access-list [number1 ]
Function This command displays the contents of all or a specified regular expression access list.
Parameters Parameter
Description
Value
number1
Number of the specified regular
1-199
expression access list
Mode All modes
Usage Guidelines If no parameter is specified in the command, the contents of all regular expression access lists are displayed. If the parameter is specified in the command, the contents of the regular expression access list with the specified number is displayed.
Examples The following example shows how to display the contents of regular expression access list 1: ZXAN#show ip as-path-access-list 1
Related Commands 24.36 ip as-path access-list
24.74 show ip bgp dampened-paths Syntax show ip bgp dampened-paths
Function This command displays the damped routes in BGP route dampening.
24-73 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode All modes
Usage Guidelines This command displays all damped routes.
Examples The following example shows how to display the damped routes in BGP route dampening: ZXAN#show ip bgp dampened-paths
Related Commands None
24.75 show ip bgp flap-statistics Syntax show ip bgp flap-statistics [ip_addr1 ip_addr2 [longer-prefixes ] ]
Function This command displays the BGP dampening statistics.
Parameters Parameter ip_addr1
Description
Value
IP address of the network for
-
which dampening information is to be displayed, in dotted decimal format ip_addr2
Network mask, in dotted decimal
-
format longer-prefixes
Keyword for fuzzy matching
-
Mode All modes
24-74 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Usage Guidelines If no parameter or keyword is specified, the router displays all flap statistics. If only the first two parameters are specified, an exact match is conducted, and only the dampening routes in the network that are determined by the two parameters are displayed. If longer-prefix is specified, a fuzzy match is conducted based on the input mask, and all dampening routes in the network that are determined by the first two parameters are displayed.
Examples The following example shows how to display the BGP dampening statistics. ZXAN#show ip bgp flap-statistics
Related Commands None
24.76 show ip bgp neighbor Syntax show ip bgp neighbor [ip_addr1 ]
Function This command displays information about a BGP neighbor.
Parameters Parameter
Description
Value
ip_addr1
IP address of the neighbor. It is
-
in the dotted decimal format
Mode All modes
Usage Guidelines None
Examples The following example shows how to display information about a BGP neighbor: Description of the displayed information: ZXAN#show ip bgp neighbor 1.1.1.1
24-75 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference 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 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
24-76 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Related Commands None
24.77 show ip bgp peer-group Syntax show ip bgp peer-group [name1 ]
Function This command displays the information about a BGP neighbor peer group.
Parameters Parameter name1
Description
Value
Peer group name, which
-
consists of 1-16 characters.
Mode All modes
Usage Guidelines If no peer group name is specified, the information about all peer groups are displayed.
Examples The following example shows how to display the information about a neighbor peer group: ZXR10#show ip bgp peer-group
Related Commands 24.51 neighbor peer-group 24.76 show ip bgp neighbor
24.78 show ip bgp protocol Syntax show ip bgp protocol
Function This command displays the configuration of a BGP module. 24-77 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode All modes
Usage Guidelines None
Examples The following example shows how to display the configuration of a BGP instance: 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
Description of the displayed information: Router ID is selected when BGP is created and enabled. The Loopback address has the first priority in selection, and the minimal address has the second priority. The other information that is displayed relates to the corresponding configuration commands. Some information is only displayed in the default configuration.
Related Commands None
24-78 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
24.79 show ip bgp route Syntax show ip bgp route [network ip_addr1 [mask ip_addr2 ] ]
Function This command displays items in the BGP route selection table.
Parameters Parameter
Description
Value
ip_addr1
Network address, in the dotted
-
decimal notation ip_addr2
Network mask, in the dotted
-
decimal notation
Mode All modes
Usage Guidelines If no parameter is specified in the command, all valid BGP routes are displayed. If a network number is specified, the networks that match the network number in the BGP route selection table are displayed. If network number and network mask parameters are specified, all BGP routes that match the address/mask are displayed. To display details of all routes, use the show ip bgp route detail command.
Examples The following example shows how to display valid BGP routes: ZXAN#show ip bgp route Routes of bgp: status codes: *valid, gt;best,i-internal Origin codes: i-IGP, e-EGP, ?-incomplete
Dest
NextHop
Metric
LocPrf
RtPrf
Path
*gt;i
111.1.1.2/32
2.2.2.1
0
12345678
150
200 ?
*gt;i
111.1.1.3/32
2.2.2.1
0
12345678
150
200 ?
Table 24-5 Summary Parameter Description for IP BGP Route Parameter
Description
Dest
Specific route 24-79
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
NextHop
Next hop attribute in the Update packet
Metric
Multi-Exit Discriminator (MED) attribute in the Update packet
LocPrf
Local preference attribute that is specified by the input policy
RtPrf
Local management distance of the route
Path
As-path sequence and the Origin attribute in the Update packet
Related Commands None
24.80 show ip bgp summary Syntax show ip bgp summary
Function This command displays the statuses of all BGP neighbor connections.
Parameters None
Mode All modes
Usage Guidelines None
Examples The following example shows how to display the statuses of all BGP neighbor 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
00:00:00
Connect
0
24-80 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Table 24-6 Parameter Description for IP BGP Summary Parameter
Description
Neighbor
Neighbor IP address
Ver
Version of the BGP neighbor. Currently, version 4 is supported
As
AS number of the neighbor
MsgRcvd
Total number of packets that are received by the neighbor. The number is cleared each time the neighbor enters the Established state.
MsgSend
Total number of packets that are sent by the neighbor. The number is cleared each time the neighbor enters the Established state.
Up/Down
Time during which the neighbor is in the Established state or the time elapsed since the neighbor moves from the Established state. If the neighbor has never entered the Established state, the time is always 0.
State/PfxRcd
State of the BGP state machine of the neighbor
Related Commands None
24.81 show ip community-list Syntax show ip community-list [number1 ]
Function This command displays the contents of all community lists or the specified community list.
Parameters Parameter
Description
Value
number1
Number of the specified
1-99
community list
Mode All modes
24-81 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines If no parameter is specified in the command, the contents of all community lists are displayed. If the parameter is specified in the command, the contents of the community list with the specified number are displayed.
Examples The following example shows how to display the contents of all community lists: ZXAN#show ip community-list Community standard list 1 deny 5 10 permit
Related Commands 24.37 ip community-list
24.82 show ip prefix-list Syntax show ip prefix-list [{detail |summary } ] [name1 ]
Function This command displays the contents of all prefix lists or the specified prefix list.
Parameters Parameter detail
Description
Value
Specifies to display detailed
-
information. summary
Specifies to display summary
-
information. name1
Specifies the name of a prefix
-
list, containing 1-32 characters.
Mode All modes except user mode
24-82 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Usage Guidelines If no prefix list name is specified in the command, the contents of all prefix lists are displayed. If the parameter is specified in the command, the contents of the community list with the specified name are displayed.
Examples The following example shows how to display the contents of all prefix lists: ZXAN#show ip prefix-list Prefix-list with the last deletion/insertion: test ip prefix-list ZXAN seq 5 deny seq 10 deny
2 entries
20.0.0.0/8 20.20.20.0/24
ip prefix-list test
1 entries
seq 5 permit 100.1.1.0/24
Related Commands 24.38 ip prefix-list
24.83 synchronization Syntax synchronization no synchronization
Function This command makes BGP and IGP to synchronize.
Parameters None
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines By default, BGP and IGP are synchronized. To enable BGP to advertise routes of a network without waiting for IGP, use the no synchr onization command.
24-83 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how not to synchronize BGP and IGP: ZXAN(config)#router bgp 1 ZXAN(config-router)#no synchronization
Related Commands None
24.84 timers bgp Syntax timers bgp number1 number2 no timers bgp
Function This command adjusts the BGP network timer.
Parameters Parameter number1
Description
Value
Time of the keep-alive timer.
0-65535
Unit: s. Default: 30 s. number2
Time of the holdtime timer.
0-65535
Range: 0 or 3-65535. Unit: s. Default: 90 s.
Mode Routing BGP mode: ZXAN(config-router)#
Usage Guidelines To restore the default value of the BGP timer, use the no timers bgp command.
Examples The following example shows how to set BGP network timers. In this example, the time of the holdtime timer is 180 s, and the time of the keepalive timer is 60 s. ZXAN(config)#router bgp 1 ZXAN(config-router)#timers bgp 60 180
24-84 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 24 BGP Protocol Commands
Related Commands None
24-85 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
24-86 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25
System Log/Statistical Management Commands Table of Contents clear logging alarm ...................................................................................................25-1 clear logging command ............................................................................................25-2 clear logging snmp ...................................................................................................25-3 logging buffer ...........................................................................................................25-3 logging console ........................................................................................................25-4 logging level .............................................................................................................25-5 logging mode ...........................................................................................................25-6 logging on ................................................................................................................25-7 logging snmplog-save ..............................................................................................25-7 show cmdlogfile........................................................................................................25-8 show logging alarm ..................................................................................................25-9 show logging configure...........................................................................................25-10 show processor ...................................................................................................... 25-11 show snmplogfile....................................................................................................25-14 syslog facility ..........................................................................................................25-15 syslog severity........................................................................................................25-16 syslog-server host ..................................................................................................25-16 write alarmlog.........................................................................................................25-17 write cmdlog ...........................................................................................................25-18 write snmplog .........................................................................................................25-19
25.1 clear logging alarm Syntax clear logging alarm
Function This command clears the alarm log buffer.
Parameters None
25-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear the alarm log buffer: ZXAN#clear logging alarm
Related Commands None
25.2 clear logging command Syntax clear logging command
Function This command clears the command log buffer.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear the command log buffer: ZXAN#clear logging command
Related Commands None 25-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
25.3 clear logging snmp Syntax clear logging snmp
Function This command clears the SNMP log buffer.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear the SNMP log buffer: ZXAN#clear logging snmp
Related Commands None
25.4 logging buffer Syntax logging buffer number1 no logging buffer
Function This command configures the alarm log buffer size.
Parameters Parameter
Description
Value
number1
Alarm log buffer size
Range: 100–1000 (KB) Default: 200
25-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Run the logging on command before configuring this command. To clear the configured buffer size and restore the default value, use the no form of this command.
Examples The following example shows how to configure the alarm log buffer size as 100 K: ZXAN(config)#logging buffer 100
Related Commands None
25.5 logging console Syntax logging console {[critical ] [major ] [minor ] [warnings ] [indeterminate ] [cleared ] [notifications ]} no logging console
Function This command sends alarm messages to a serial console or Telnet terminal.
Parameters Parameter
Description
Value
critical
Alarm level: 0, CRITICAL
-
major
Alarm level: 1, MAJOR
-
minor
Alarm level: 2, MINOR
-
warnings
Alarm level: 3, WARNINGS
-
indeterminate
Alarm level: 4,
-
INDETERMINATE cleared
Alarm level: 5, CLEARED
-
notifications
Alarm level: 6, NOTIFICATIONS
-
Mode Configuration mode: ZXAN (config)# 25-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
Usage Guidelines The alarm level is notifications when the system is initialized and an alarm message is sent to the serial port. Run the logging on command before configuring this command. At a serial console or Telnet terminal, the alarm message output can be enabled / disabled by using the termin al monitor / no terminal monitor command. To clear the configuration, use the no form of this command.
Examples The following example shows how to send alarm messages at level 3 or below to a serial console: ZXAN(config)#logging console warnings
Related Commands None
25.6 logging level Syntax logging level name1 no logging level
Function This command configures the alarm level of alarm messages recorded in a log file.
Parameters Parameter
Description
Value
name1
Alarm level
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Run the logging on command before configuring this command. To clear the configured alarm level, use the no form of this command.
25-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the alarm level of alarm messages recorded in a log file as level 3 or below: ZXAN(config)#logging level indeterminate
Related Commands None
25.7 logging mode Syntax logging mode name1 no logging mode
Function This command configures the clearing mode when the alarm log buffer is full.
Parameters Parameter name1
Description
Value
Clearing mode of
-
alarm log buffer: fullclear | fullcycle | fullend
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Run the logging on command before configuring this command. To clear the configuration, use the no form of this command.
Examples The following example shows how to configure the clearing mode when the alarm log buffer is full. In this example, the clearing mode is set to 'fullclear', which means all the existing alarm messages are cleared. ZXAN(config)#logging mode FULLCLEAR
Related Commands None 25-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
25.8 logging on Syntax logging on no logging on
Function This command enables system logging.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command has effect on the following commands: logging mode, logging console, logging buffer, logging level, logging ftp, logging trap, and logging filesavetime. When the no form of this command runs, all these commands cannot be configured and do not function any more. To disable system logging, use the no form of this command.
Examples The following example shows how to enable system logging: ZXAN(config)#logging on
Related Commands None
25.9 logging snmplog-save Syntax logging snmplog-save {enable |disable }
Function This command enables or disables the SNMP log saving function. 25-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
enable
Enables the SNMP log saving
-
function. disable
Disables the SNMP log saving
-
function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to disable the log saving function: ZXAN(config)#logging snmplog-save disable
Related Commands None
25.10 show cmdlogfile Syntax show cmdlogfile [{{[username name1 ] [start-time date1 time1 ] [end-time date2 time2 ] [vtyno name2 ] [ipaddress ip_addr1 ] } |summary } ]
Function This command displays the configuration command records stored in the command log buffer.
Parameters Parameter
Description
Value
name1
Login user name
Range: 1–16
date1
Start date of configuration
-
command time1
Start time of configuration
-
command
25-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
Parameter
Description
Value
date2
End date of configuration
-
command time2
End time of configuration
-
command name2
Login VTY terminal number
Range: 1–4 characters
ip_addr1
Login host IP address, in dotted
-
decimal notation summary
Statistics
-
Mode Any mode except user mode
Usage Guidelines By default, all the command records stored in the command log buffer are displayed.
Examples The following example shows how to display the VTY1 command records of the user zte: ZXAN(config)#show cmdlogfile username zte vtyno vty1 vty1 zte 17:24:17 03/26/2006 UTC 100.1.1.49
/--- user log out ---/
vty1 zte 15:29:00 03/26/2006 UTC 100.1.1.49
ex
vty1 zte 15:28:17 03/26/2006 UTC 100.1.1.49
show interface loopback1
vty1 zte 15:27:52 03/26/2006 UTC 100.1.1.49
interface gei_0/1/1
vty1 zte 15:27:31 03/26/2006 UTC 100.1.1.49
ex
vty1 zte 15:15:44 03/26/2006 UTC 100.1.1.49
vlan 2
vty1 zte 14:58:02 03/26/2006 UTC 100.1.1.49
router pimdm
vty1 zte 14:57:39 03/26/2006 UTC 100.1.1.49
ex
vty1 zte 14:57:18 03/26/2006 UTC 100.1.1.49
router pimsm
vty1 zte 14:57:06 03/26/2006 UTC 100.1.1.49
conf t
vty1 zte 13:13:00 03/26/2006 UTC 100.1.1.49
en
vty1 zte 13:12:57 03/26/2006 UTC 100.1.1.49
/*** user log in ***/
Related Commands None
25.11 show logging alarm Syntax show logging name1 [{summary || name2 LINE1 |{typeid name3 |start-date date1 end-date date2 |level name4 |alarm-code number1 } } ] 25-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command displays alarm information records stored in the alarm log buffer.
Parameters Parameter
Description
Value
name1
Alarm message record
-
summary
Usage of the alarm log buffer
-
name2
include, used together with LINE
-
LINE1
Alarm log matching with LINE
-
name3
Alarm message type: envi-
-
ronment | equipment | protocol | service | system date1
Start date of the alarm log
-
(including this date) date2
End date of the alarm log
-
(including this date) name4
Level of alarm messages
-
number1
Alarm ID
Range: 1–65535
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the environment alarm message: ZXAN#show logging alarm typeid environment
Related Commands None
25.12 show logging configure Syntax show logging configure
25-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
Function This command displays configuration information about the statistical alarm module.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display configuration information about the statistical alarm module: ZXAN(config)#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
Related Commands 25.8 logging on 25.4 logging buffer 25.7 logging mode 25.5 logging console
25.13 show processor Syntax show processor [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function This command displays the system resource statistics, such as the CPU and memory usage. 25-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Rack number
Range: 1–3
number2
Shelf number
Range: 1–3
number3
Slot number
Range: 0–22
Mode Any mode except user mode
Usage Guidelines This command displays the resource statistics of a specified system, such as the CPU usage (including the CPU usage over a period of 5 seconds, 30 seconds, and 2 minutes, and the peak CPU utilization over a period of 2 minutes), amount of memory, memory usage, and buffer usage.
Examples The following example shows how to display the system resource statistics: ZXAN(config)#show processor
Rack
Shelf
Slot
CPU(5s)
CPU(1m)
CPU(5m)
PhyMem(MB)
Memory
-------------------------------------------------------------------------------
0
0
2
100%
100%
100%
16
38%
0
0
4
3%
3%
3%
128
29%
0
0
5
100%
100%
100%
16
37%
0
0
7
27%
26%
26%
256
78%
0
0
10
4%
4%
4%
128
29%
Output parameter description:
Parameter 25-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
Description Value
Slot
Slot number 1~14
CPU(5s)
CPU usage over a period of 5 seconds -
CPU(1m)
CPU usage over a period of 1 minute -
CPU(5m)
CPU usage over a period of 5 minutes -
PhyMem(MB)
Amount of physical memory (MB) -
Memory
Memory usage -
25-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
25.14 show snmplogfile Syntax show snmplogfile [{{[start-time date1 time1 ] [end-time date2 time2 ] [ipaddress ip_addr1 ] } |summary } ]
Function This command displays the configuration command records stored in the SNMP log buffer.
Parameters Parameter
Description
Value
date1
Start date of configuration
-
command time1
Start time of configuration
-
command date2
End date of configuration
-
command time2
End time of configuration
-
command ip_addr1
Login host IP address, in dotted
-
decimal notation summary
Statistics of the SNMP log buffer
-
Mode Any mode except user mode
Usage Guidelines By default, all the command records stored in the SNMP log buffer are displayed.
Examples The following example shows how to display all the SNMP command records: ZXAN(config)#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
25-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands 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
Related Commands None
25.15 syslog facility Syntax syslog facility name1 no syslog facility
Function This command configures the global facility of the system log.
Parameters Parameter
Description
Value
name1
Only works on the reported
Default: local0
alarm log.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The configured global syslog facility only works on the prihead structure and log type of the reported alarm log. According to the RFC3164 standard, this command covers all the facility values, including kern | user | mail | daemon | auth | syslog | lpr | news | UUCP | cron-9 | FTP | NTP | log-audit | log-alert | cron-15 | local0 | local 1 | local2 | loca3 | local4 | local5 | local6 | local7. local0 to local7 are recommended. To clear the configuration, use the no form of this command.
Examples The following example shows how to configure the global facility of the system log as local3: ZXAN(config)#syslog facility local3
Related Commands None 25-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
25.16 syslog severity Syntax syslog severity number1 no syslog severity
Function This command configures the severity of the system log.
Parameters Parameter
Description
Value
number1
Log severity
Range: 0–7 Default: 6 (INFORMATIONAL)
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To clear the configuration, use the no form of this command.
Examples The following example shows how to configure the severity of the system log as 6 (INFORMATIONAL): ZXAN(config)#syslog severity 6
Related Commands None
25.17 syslog-server host Syntax syslog-server host ip_addr1 [fport number1 ] [lport number2 ] [{[alarmlog level name1 ] [cmdlog ] [debugmsg ] } ] [snmplog name2 ] no syslog-server host ip_addr1 [{[alarmlog level name1 ] [cmdlog ] [debugmsg ] } ] [snmplog ]
Function This command configures the address and port ID of the destination syslog server where alarm messages are sent. 25-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
Parameters Parameter
Description
Value
ip_addr1
IP address, in dotted decimal
-
notation number1
number2
alarmlog
Port ID listened by the syslog
Range: 0–65535
server
Default: 514
Port ID used to send syslog
Range: 0–65535
messages locally
Default: 514
Alarm log sent to the syslog
-
server name1
Alarm severity
-
cmdlog
Command log sent to the syslog
-
server debugmsg
Debug message sent to the
-
syslog server snmplog
SNMP log sent to the syslog
-
server name2
SNMP operation type
GET, SET, and ALL
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To clear the configuration, use the no form of this command.
Examples The following example shows how to configure the address of the destination syslog server where the alarm messages are sent. In this example, the address is configured as 10.40.56.19. ZXAN(config)#syslog server 10.40.56.19
Related Commands None
25.18 write alarmlog Syntax write alarmlog 25-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command saves the alarm log as a file from the alarm buffer to the flash in the directory of flash:data/log.dat.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines This command writes the alarm messages with the following alarm level into a file: 1: MAJOR; 2: MINOR; 3: 6:NOTIFICATIONS
WARNINGS; 4:
INDETERMINATE; 5:
CLEARED;
Examples The following example shows how to save the alarm log in the alarm buffer as a file: ZXAN#write alarmlog Building logging file... .. [ok]
Related Commands None
25.19 write cmdlog Syntax write cmdlog
Function This command saves the command log as a file from the command buffer to the flash in the directory of flash:data/cmdlog.dat.
Parameters None
Mode Privileged mode: ZXAN# 25-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 25 System Log/Statistical Management Commands
Usage Guidelines None
Examples The following example shows how to save the command log in the command buffer as a file: ZXAN#write cmdlog Building cmdlog file... .. [ok]
Related Commands None
25.20 write snmplog Syntax write snmplog
Function This command saves the SNMP log as a file from the SNMP buffer to the flash in the directory of flash:data/snmplog.dat.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to save the SNMP log in the SNMP buffer as a file: ZXAN#write snmplog Building snmplog file... .. [ok]
25-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
25-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26
TACACS+ Commands Table of Contents aaa accounting.........................................................................................................26-1 aaa authentication login............................................................................................26-3 aaa authorization......................................................................................................26-4 aaa group-server tacacs+.........................................................................................26-5 server.......................................................................................................................26-6 show aaa configure ..................................................................................................26-8 show tacacs+ configure............................................................................................26-9 tacacs disable ........................................................................................................26-10 tacacs enable .........................................................................................................26-10 tacacs-client ........................................................................................................... 26-11 tacacs-server host ..................................................................................................26-12 tacacs-server key ...................................................................................................26-14 tacacs-server packet ..............................................................................................26-15 tacacs-server timeout .............................................................................................26-15
26.1 aaa accounting Syntax aaa accounting commands number1 default {stop-only group {name1 } |none } no aaa accounting commands number1 default
Function This command configures the AAA accounting parameters.
Parameters Parameter
Description
Value
commands
Accounting CLI commands
-
number1
User privilege level
0–15
default
Uses the default accounting
-
method list stop-only
Accounts when the event
-
terminates
26-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
group
TACACS+ server group
-
name1
TACACS+ accounting group
1–31 characters
name Not accounts
none
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines You can use only the TACACS+ accounting function rather than the authentication and authorization functions. To use TACACS+ accounting function, in configuration mode, first enable the TACACS function , and then: 1. Use the tacacs-server host command to configure the TACACS server. 2. Use the aaa group-server tacacs+ command to create a TACACS server group. 3. Use the server command to add the configured TACACS server to the created server group. 4. Configure the accounting command.
Examples The following example shows how to write the CLI operation records of the user with the privilege level 3 into the TACACS server whose IP address is 1.2.3.4 and the server group name is zte: ZXAN(config)#tacacs enable ZXAN(config)#tacacs-server host 1.2.3.4 ZXAN(config)#aaa group-server tacacs+ zte ZXAN(config-sg)#server
1.2.3.4
ZXAN(config-sg)#exit ZXAN(config)# aaa accouting commands 3 default stop-only group zte
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.11 tacacs-server host 26.4 aaa group-server tacacs+ 26.5 server
26-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26 TACACS+ Commands
26.2 aaa authentication login Syntax aaa authentication login default {[group name1 ] [local ] } no aaa authentication login default
Function This command configures the AAA authentication method.
Parameters Parameter
Description
Value
default
Default authentication method
-
group
TACACS server group
-
name1
TACACS+ server group name
1–31 characters
local
Local authentication
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is required for TACACS+ authentication but not for RADIUS authentication.
Examples The following example shows how to use the TACACS+ server group zte to perform AAA authentication and authorization: ZXAN(config)#login-authentication-type tacacs+ ZXAN(config)#login-authorization-type tacacs+ ZXAN(config)#tacacs enable ZXAN(config)#tacacs-server host 1.2.3.4 ZXAN(config)#aaa group-server tacacs+ zte ZXAN(config-sg)#server 1.2.3.4 ZXAN(config-sg)#exit ZXAN(config)#aaa authentication login default group zte ZXAN(config)#aaa authorization exec default group zte
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.10 tacacs-client 26-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
26.11 tacacs-server host 26.12 tacacs-server key 26.13 tacacs-server packet 26.14 tacacs-server timeout 26.3 aaa authorization 26.4 aaa group-server tacacs+ 26.5 server
26.3 aaa authorization Syntax aaa authorization exec default {[group name1 ] [local ] [if-authenticated ] } no aaa authorization exec default
Function This command configures the AAA authorization method.
Parameters Parameter
Description
Value
exec
Specifies whether the user is
-
allowed to enter shell mode default
Uses the default authorization
-
method group
TACACS server group
-
name1
TACACS+ server group name
1–31 characters
local
Local authentication
-
if-authenticated
Authenticates the default
-
authorization successfully
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is required for TACACS+ authentication but not for RADIUS authentication.
26-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26 TACACS+ Commands
Examples The following example shows how to use TACACS+ server group named abc for AAA authentication: ZXAN(config)#login-authentication-type tacacs+ ZXAN(config)#login-authorization-type tacacs+ ZXAN(config)#tacacs enable ZXAN(config)#tacacs-server host 1.2.3.4 ZXAN(config)#aaa group-server tacacs+ abc ZXAN(config-sg)#server 1.2.3.4 ZXAN(config-sg)#exit ZXAN(config)#aaa authentication login default group abc
The following example shows how to use TACACS+ server group named abc for AAA authorization: ZXAN(config)#aaa authorization exec default group abc
The following example shows how to configure that authorization succeeds if authenticated, which enables users to log in to the NE after successful authentication but the user privilege level is 0: . ZXAN(config)#aaa authorization exec default if-authenticated
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.10 tacacs-client 26.11 tacacs-server host 26.12 tacacs-server key 26.13 tacacs-server packet 26.14 tacacs-server timeout 26.2 aaa authentication login 26.4 aaa group-server tacacs+ 26.5 server
26.4 aaa group-server tacacs+ Syntax aaa group-server tacacs+ name1 26-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no aaa group-server tacacs+ name1
Function This command creates a TACACS+ server group.
Parameters Parameter
Description
Value
name1
TACACS server group name
1–31 characters
Mode Configuration mode: ZXAN (config)#
Usage Guidelines A maximum of 256 TACACS+ server groups can be created. After the server group is created, the system enters AAA-tacacs server group mode, under which a TACACS+ server can be added to the group. The TACACS+ servers to be added must be created through the tacacs-server host command in configuration mode.
Examples The following example shows how to create a TACACS+ server group named aabb and adds the server 1.2.3.4 to the group: ZXAN(config)#tacacs-server host 2.3.4.5 ZXAN(config)#aaa group-server tacacs+ aabb ZXAN(config-sg)#server 2.3.4.5
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.11 tacacs-server host 26.5 server 26.7 show tacacs+ configure
26.5 server Syntax server ip_addr1 [port number1 ] no server ip_addr1 [port number1 ] 26-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26 TACACS+ Commands
Function This command configures a TACACS+ server.
Parameters Parameter
Description
Value
ip_addr1
IP address of the TACACS+
-
server number1
TACACS+ server port number
1025–65535
Mode AAA-tacacs server group mode
Usage Guidelines Before using this command, ensure that a TACACS+ server group has been created.
Examples The following example shows how to add a server with the IP address as 1.2.3.4 to the TACACS+ group named zte: ZXAN(config)#tacacs enable ZXAN(config)#tacacs-server host 1.2.3.4 ZXAN(config)#aaa group-server tacacs+ zte ZXAN(config-sg)#server 1.2.3.4
If the server added in configuration mode uses a non-default port 2009, for example, ZXAN(config)#tacacs-server host 5.5.5.1 port 2009
then, to add the server in server group mode, the port number must be specified; otherwise, the server fails to be added, for example: ZXAN(config-sg)#server 5.5.5.1 %Code 604: Specified tacacs+ server cannot be configured. ZXAN(config-sg)#server 5.5.5.1
port 2009
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.11 tacacs-server host 26.14 tacacs-server timeout 26.7 show tacacs+ configure 26-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
26.6 show aaa configure Syntax show aaa configure
Function This command displays the AAA configuration information.
Parameters None
Mode Any mode except user mode
Usage Guidelines The displayed information includes the configured AAA authentication, authorization, and accounting configuration.
Examples The following example shows how to display the current AAA configuration: ZXAN(config)#show aaa configure aaa authentication login default group zte aaa authorization exec default group zte aaa accounting commands 15 default stop-only group zte
The command result indicates that CLI operation records of the user with privilege level 15 will be written to servers in the TACACS server group zte. If the user login authentication and authorization mode are set to TACACS+ through the following commands, ZXAN(config)#login-authentication-type tacacs+ ZXAN(config)#login-authorization-type tacacs+
the user will be authenticated by servers in the TACACS+ server group zte and authorized by these servers after passing the authentication.
Related Commands 6.9 login-authentication-type 6.10 login-authorization-type 26.2 aaa authentication login 26-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26 TACACS+ Commands
26.3 aaa authorization 26.1 aaa accounting
26.7 show tacacs+ configure Syntax show tacacs+ configure
Function This command displays the TACACS+ configuration information.
Parameters None
Mode Any mode except user mode
Usage Guidelines The displayed information is about the NE’s TACACS+ configuration, including whether the TACACS+ function is enabled, server timeout parameter, TACACS+ server parameters, TACACS+ server group parameters.
Examples The following example shows how to display the current TACACS+ configuration: ZXAN(config)#show tacacs+ configure tacacs enable tacacs-server timeout 5 tacacs-server packet 1024 tacacs-server host 1.2.3.4
aaa group-server tacacs+ zte server 1.2.3.4
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.14 tacacs-server timeout 26.13 tacacs-server packet 26.11 tacacs-server host 26-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
26.4 aaa group-server tacacs+
26.8 tacacs disable Syntax tacacs disable
Function This command disables the TACACS+ function.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines After the TACACS+ function is disabled, the TACACS+ authentication, authorization, and accounting functions are all disabled.
Examples The following example shows how to disable the TACACS+ function: ZXAN(config)#tacacs disable
Related Commands 26.9 tacacs enable 26.7 show tacacs+ configure
26.9 tacacs enable Syntax tacacs enable
Function This command enables the TACACS+ function.
Parameters None 26-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26 TACACS+ Commands
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The TACACS+ authentication, authorization, and accounting functions can be used only after the TACSCS+ function is enabled.
Examples The following example shows how to enable the TACACS+ function: ZXAN(config)#tacacs enable
Related Commands 26.8 tacacs disable 26.4 aaa group-server tacacs+ 26.2 aaa authentication login 26.3 aaa authorization 26.11 tacacs-server host 26.12 tacacs-server key 26.13 tacacs-server packet 26.14 tacacs-server timeout 26.7 show tacacs+ configure
26.10 tacacs-client Syntax tacacs-client ip_addr1 [port number1 ] no tacacs-client
Function This command configures the IP address and port number of the TACACS+ client, which will be used as the source IP address and port number for TCP communication with the TACACS+ server. The IP address must be configured as that of the NE’s L3 interface. The port number must not be used by other TCP applications of the NE.
26-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
IP address of the TACACS+
-
client number1
Port number of the TACACS+
1025–65535
client
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Only one TACACS+ client can be configured. During TCP communications, the port number is randomly selected from the available port numbers. There is no default port number.
Examples The following example shows how to configure the TACACS+ client. In this example, the client IP address is 168.1.1.1 and the port number is 1025. ZXAN(config)#tacacs-client 168.1.1.1 port 1025
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.11 tacacs-server host 26.7 show tacacs+ configure
26.11 tacacs-server host Syntax tacacs-server host ip_addr1 [{[port number1 ] [timeout number2 ] [key name1 ] } ] no tacacs-server host ip_addr1 [port number1 ]
Function This command configures the IP address, port number, key for communication with the TACACS+ server, and timeout value of a TACACS+ host server.
26-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26 TACACS+ Commands
Parameters Parameter
Description
Value
ip_addr1
IP address of the TACACS+
-
host server number1
Port number
1025–65535
number2
TACACS+ server timeout
1–1000
interval, in seconds name1
TACACS+ key
1–63 characters
Mode Configuration mode: ZXAN (config)#
Usage Guidelines 1. An NE can be configured with a maximum of 256 TACACS+ servers. The key, server timeout value, and port number are optional. The key and timeout value, if not configured, use the values configured by global commands such as tacacs-server key and tacacs-server timeout. By default, the port number is 49. 2. If the global key is set to abc through the command ZXAN(config)#tacacs-server ke y abc but the server 1.2.3.4 sets the key to wwwabc through the command tacacsserver host, the NE uses the key wwwabc to communicate with the server 1.2.3.4. Other servers use the global key if no key is configured, or use their own keys. For example, if the server 2.3.4.5 is configured with the key pppabc through the command ZXAN(config)#tacacs-server host 2.3.4.5 key pppabc, the key pppabc will be used to communicate with the server 2.3.4.5. 3. The configuration principles of the timeout value and port number are the same as that of the key.
Examples The following example shows how to set a TACACS+ server with the IP address 168.1.10.1. The key, port number, and timeout value use the defaults. ZXAN(config)#tacacs-server host 168.1.10.1
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.12 tacacs-server key 26.14 tacacs-server timeout 26.7 show tacacs+ configure 26-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
26.12 tacacs-server key Syntax tacacs-server key name1 no tacacs-server key
Function This command configures the global TACACS+ server key.
Parameters Parameter
Description
Value
name1
TACACS+ key
1–31 characters
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The configured key must the same as the key used on the TACACS+ server. Otherwise, the user fails to be authenticated or authorized during login. If the global key is set to abc but the server 1.2.3.4 is configured with the key wwwabc through the tacacs-server host command, the NE uses the key wwwabc to communicate with the server 1.2.3.4. Other servers use the global key if no key is configured, or use their own keys. For example, if the server 2.3.4.5 is configured with the key pppabc through the command ZXAN(config)#tacacs-server host 2.3.4.5 key pppabc, the key pppabc will be used to communicate with the server 2.3.4.5.
Examples The following example shows how to configure the TACACS+ key to test: ZXAN(config)#tacacs-server key test
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.11 tacacs-server host 26.4 aaa group-server tacacs+ 26.5 server 26.7 show tacacs+ configure 26-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 26 TACACS+ Commands
26.13 tacacs-server packet Syntax tacacs-server packet number1 no tacacs-server packet
Function This command sets the maximum size of a TACACS+ packet.
Parameters Parameter
Description
Value
number1
Maximum TACACS+ packet
1024–4096 bytes
size
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the maximum TACACS+ packet size is 1024 bytes.
Examples The following example shows how to set the maximum TACACS+ packet size to 2000 bytes: ZXAN(config)#tacacs-server packet 2000
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.11 tacacs-server host 26.7 show tacacs+ configure
26.14 tacacs-server timeout Syntax tacacs-server timeout number1 no tacacs-server timeout
26-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command sets the interval for which the NE waits for the TACACS+ server to reply.
Parameters Parameter
Description
Value
number1
TACACS+ server timeout
1–1000
interval, in seconds; default: 5 seconds
Mode Configuration mode: ZXAN (config)#
Usage Guidelines After an NE sends authentication or authorization request packets to the server, if the server does not respond the message in the specified period, the next server in the server group will be used. If only one server is available in the server group, the authentication or authorization fails. If the timeout value is not configured through this command, it uses the global value. For details, refer to the tacacs-server key command.
Examples The following example shows how to set the TACACS+ server timeout interval to 100 seconds: ZXAN(config)#tacacs-server
timeout 100
Related Commands 26.9 tacacs enable 26.8 tacacs disable 26.11 tacacs-server host 26.7 show tacacs+ configure
26-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 27
RADIUS Commands Table of Contents algorithm ..................................................................................................................27-1 authentication local...................................................................................................27-2 deadtime ..................................................................................................................27-3 max-retries ...............................................................................................................27-4 radius authentication-group ......................................................................................27-5 server.......................................................................................................................27-6 timeout .....................................................................................................................27-7
27.1 algorithm Syntax algorithm {first |round-robin }
Function This command sets the algorithm for selecting the RADIUS server.
Parameters Parameter
Description
Value
first
Indicates that the current valid
-
server is selected as the new user authentication server round-robin
Indicates that the next valid
-
server is selected as the new user authentication server
Mode bras-authgroup mode
Usage Guidelines By default, the current valid server is selected as the new user authentication server.
27-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to set the algorithm for selecting servers in RADIUS group 1 to round-robin: ZXAN(config)#radius authentication-group 1 ZXAN(config-authgrp-1)# algorithm round-robin
Related Commands 27.5 radius authentication-group max-retries timeout deadtime 26.5 server
27.2 authentication local Syntax authentication local name1 no authentication local
Function This command determines whether to automatically perform local authentication when the RADIUS server is unreachable.
Parameters Parameter
Description
Value
name1
l
-
Enable: enables local authentication when the RADIUS server is unreachable
l
Disable: disables local authentication when the RADIUS server is unreachable
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, local authentication is enabled when the RADIUS server is unreachable. 27-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 27 RADIUS Commands
Examples The following example shows how to enable local authentication when the RADIUS server is unreachable: ZXAN(config)#authentication local enable
The following example shows how to disable local authentication when the RADIUS server is unreachable: ZXAN(config)#authentication local disable
Related Commands 27.5 radius authentication-group
27.3 deadtime Syntax deadtime number1 no deadtime
Function This command sets the dead time for the RADIUS server.
Parameters Parameter
Description
Value
number1
Duration after which the
0–65534
RADIUS server is regarded as invalid if the system does not receive the response to the authentication request. The unit is minute and the default is 5.
Mode bras-authgroup mode
Usage Guidelines If the retransmission attempts of an authentication message due to no response from the authentication server reaches a specified number, the OLT considers that the authentication server is invalid for a period defined by this command. 27-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
After the period expires, if necessary, the OLT attempts to use the authentication server again.
Examples The following example shows how to set the dead time of RADIUS group 1 to 10 minutes: ZXAN(config)#radius authentication-group 1 ZXAN(config-authgrp-1)#deadtime 10
Related Commands 27.5 radius authentication-group max-retries timeout algorithm 26.5 server
27.4 max-retries Syntax max-retries number1 no max-retries
Function This command sets the maximum number of authentication message retransmission attempts after the RADIUS server times out.
Parameters Parameter
Description
Value
number1
Maximum number of
1–255
authentication message retransmission attempts; default: 3
Mode bras-authgroup mode
Usage Guidelines If an authentication message does not receive a response from the authentication server, the OLT retransmits it till the maximum number specified by this command is reached. 27-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 27 RADIUS Commands
Examples The following example shows how to set the maximum number of retransmission attempts to 5 for RADIUS group 1: ZXAN(config)# radius authentication-group 1 ZXAN(config-authgrp-1)# max-retries 5
Related Commands 27.5 radius authentication-group algorithm timeout deadtime 26.5 server
27.5 radius authentication-group Syntax radius authentication-group number1 no radius authentication-group number1
Function This command creates a RADIUS authentication group.
Parameters Parameter
Description
Value
number1
RADIUS authentication group
1–10
number
Mode Configuration mode: ZXAN (config)#
Usage Guidelines An NE can be configured with a maximum of ten RADIUS groups.
Examples The following example shows how to create RADIUS group 2: ZXAN(config)#radius authentication-group 2
27-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 6.9 login-authentication-type 27.2 authentication local
27.6 server Syntax server number1 ip_addr1 key name1 [port number2 ] no server number3
Function This command configures a RADIUS server with the parameters such as IP address, port number, and key for message exchange with the OLT.
Parameters Parameter
Description
Value
number1
RADIUS server number
1–4
ip_addr1
RADIUS server IP address
-
name1
Shared key between the
1–32 characters
RADIUS server and the C300 number2
RADIUS server port number;
1025–65535
default: 1812. number3
RADIUS server number
1–4
Mode bras-authgroup mode
Usage Guidelines A maximum of four RADIUS server can be configured under each RADIUS authentication group mode.
Examples The following example shows how to configure server 1 in RADIUS group 1. In this example, the server IP address is 10.61.225.14, the key is zte, and the port is default: ZXAN(config)#radius authentication-group 1 ZXAN(config-authgrp-1)#server 1 10.61.225.14 key zte
27-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 27 RADIUS Commands
Related Commands 27.5 radius authentication-group max-retries timeout deadtime algorithm
27.7 timeout Syntax timeout number1 no timeout
Function This command sets the timeout retry parameters of a RADIUS authentication server.
Parameters Parameter
Description
Value
number1
Specifies the time after
1–255
which the system sends the authentication information again if no normal response is received. The unit is second and the default is 3.
Mode bras-authgroup mode
Usage Guidelines If no response is received after the timeout time is reached, the OLT retransmits the authentication message to the RADIUS server.
Examples The following example shows how to set the timeout interval of the RADIUS group 1 to 10 seconds: ZXAN(config)#radius authentication-group 1 ZXAN(config-authgrp-1)#timeout 10
27-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 27.5 radius authentication-group max-retries algorithm deadtime 26.5 server
27-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28
SNMP Commands Table of Contents show snmp...............................................................................................................28-1 show snmp config ....................................................................................................28-2 show snmp engine-id ...............................................................................................28-3 show snmp group .....................................................................................................28-4 show snmp user .......................................................................................................28-5 show snmplogfile......................................................................................................28-6 show system-group ..................................................................................................28-7 snmp-server access-list............................................................................................28-8 snmp-server community ...........................................................................................28-9 snmp-server contact...............................................................................................28-10 snmp-server context...............................................................................................28-10 snmp-server enable................................................................................................ 28-11 snmp-server engine-id............................................................................................28-12 snmp-server group .................................................................................................28-13 snmp-server host ...................................................................................................28-14 snmp-server location ..............................................................................................28-16 snmp-server packetsize..........................................................................................28-17 snmp-server trap-source ........................................................................................28-17 snmp-server user ...................................................................................................28-18 snmp-server view ...................................................................................................28-19
28.1 show snmp Syntax show snmp
Function This command displays the statistical information about SNMP packets.
Parameters None
Mode Any mode 28-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to display the statistical information about SNMP packets: ZXAN(config)#show snmp Contact : +86-021-68895000 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
28.2 show snmp config Syntax show snmp config
Function This command displays all the SNMP configurations.
Parameters None 28-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display all the SNMP configurations: 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 snmp-server enable trap SNMP snmp-server enable trap VPN ZXAN(config)#
Related Commands 28.4 show snmp group 28.5 show snmp user 28.3 show snmp engine-id 28.1 show snmp
28.3 show snmp engine-id Syntax show snmp engine-id 28-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command displays the identification of the local SNMP engine. As the core of an SNMP entity, an SNMP engine implements the functions such as authenticates SNMP message transmission and reception, extracts PDU packaging messages, and communicates with SNMP applications.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the local SNMP engine ID: ZXAN#show snmp engine-id the engine-id:830900020300010289d64401
Related Commands 28.13 snmp-server engine-id
28.4 show snmp group Syntax show snmp group
Function This command displays the local SNMP groups.
Parameters None
Mode Any mode
28-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
Usage Guidelines None
Examples The following example shows how to display the local SNMP groups: 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
Related Commands 28.14 snmp-server group
28.5 show snmp user Syntax show snmp user
Function This command displays the local SNMP user.
Parameters None
Mode Any mode 28-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to display the local SNMP user: ZXAN#show snmp user username
:test
engine-id
:123456678900000000000000
auth_type
:SHA
group_name :test(v3) encryptType:DES_CBC storageType:NONVOLATILE row_status :ACTIVE
Related Commands 28.19 snmp-server user
28.6 show snmplogfile Syntax show snmplogfile [{{[start-time date1 time1 ] [end-time date2 time2 ] [ipaddress ip_addr1 ] } |summary } ]
Function This command displays the historical configuration command records saved in the SNMP log buffer.
Parameters Parameter
Description
Value
date1
Start date of the commands
-
time1
Start time of the commands
-
date2
End date of the commands
-
time2
End time of the commands
-
ip_addr1
IP address used for login, in
-
dotted decimal format summary
Statistics in the SNMP log buffer
-
28-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
Mode Any mode except user mode
Usage Guidelines By default, all the records in SNMP log buffer are displayed.
Examples The following example shows how to display the records of all SNMP operation commands: ZXAN(config)#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
Related Commands None
28.7 show system-group Syntax show system-group
Function This command displays the system information, including system name, operation period, and copyright information.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the system information: ZXAN(config)#show system-group
28-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference System Description: ZXR10 ROS Version V4.6.02A ZXR10_5228 Software, Version V2.6.02A.21 Copyright (c) 2000-2008 by ZTE Corporation Compiled Jan 12 2009, 10:43:55 System ObjectId: .iso.org.dod.internet.private.enterprises.zte.3.100.18 System StartTime: 2009-2-11 21:17:37 Started before: 7 days, 19 hours, 52 minutes Contact with: +86-021-68895000 System name:
ZXAN
Location: No.889 BiBo Rd. PuDong District, ShangHai, China This system primarily offers a set of 78 services
Related Commands None
28.8 snmp-server access-list Syntax snmp-server access-list name1 no snmp-server access-list
Function This command applies the configured ACL to control the host address which accesses the system over the SNMP.
Parameters Parameter
Description
Value
name1
ACL list number or name
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to apply ACL list 1 to control the host address which accesses the system over the SNMP:
ZXAN(config)#snmp-server access-list 1
28-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
ZXAN(config)#
Related Commands 42.4 acl standard
28.9 snmp-server community Syntax snmp-server community name1 [view name2 ] [name3 ] no snmp-server community name1
Function This command sets the SNMP message community string.
Parameters Parameter
Description
Value
name1
Community string name
1–32
Name of the view defined for the community
-
name2
string name3
ro: specifies read-only access to Management
-
Information Base (MIB). rw: specifies read-write access to MIB
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Directly execute the command in global configuration mode. If the view name is not specified, the community uses the default view 1.3.6.1.2.1.1. If the access is not specified, the ro access is used. To delete the SNMP message community string, use the no form of this command.
Examples The following example shows how to set an SNMP community named myCommunity with the read-write access:
ZXAN(config)#snmp-server community myCommunity view myview rw
28-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#
Related Commands 28.20 snmp-server view
28.10 snmp-server contact Syntax snmp-server contact LINE1 no snmp-server contact
Function This command configures the contact information of the person in charge of the MIB object system.
Parameters Parameter
Description
Value
LINE1
String that describes the contact
-
information
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the contact information of the person in charge of the system:
ZXAN(config)#snmp-server contact this is ZTE_,tel:(021)68895000
Related Commands None
28.11 snmp-server context Syntax snmp-server context name1 28-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
no snmp-server context name1
Function This command defines the SNMP context name.
Parameters Parameter
Description
Value
name1
Context name
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to define the SNMP context name to contextA: ZXAN(config)#snmp-server context contextA
Related Commands None
28.12 snmp-server enable Syntax snmp-server enable name1 [name2 ] no snmp-server enable name1 [name2 ]
Function This command enables the agent to send a notification/trap and configures the notification/trap type.
Parameters Parameter
Description
Value
name1
Alarm type, which can be
-
notification or trap name2
Notification type
-
28-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is used in global configuration mode. By default, all notifications/traps are reported. To cancel the setting, use the no form of this command.
Examples The following example shows how to enable the agent to send all notifications: ZXAN(config)#snmp-server enable inform
The following example shows how to enable the agent to send all traps: ZXAN(config)#snmp-server enable trap
Related Commands 28.15 snmp-server host
28.13 snmp-server engine-id Syntax snmp-server engine-id name1 no snmp-server engine-id
Function This command sets a local SNMP engine ID. As the core of an SNMP entity, an SNMP engine implements the functions such as authenticates SNMP message transmission and reception, extracts PDU packaging messages, and communicates with SNMP applications.
Parameters Parameter
Description
Value
name1
Local SNMP engine ID
-
Mode Configuration mode: ZXAN (config)#
28-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the local SNMP engine ID to 12345667890: ZXAN(config)#snmp-server engine-id 12345667890
Related Commands 28.3 show snmp engine-id
28.14 snmp-server group Syntax snmp-server group name1 v3 name2 [context name3 {match-prefix |match-exact } ] [read name4 ] [write name5 ] [notify name6 ] no snmp-server group name1 v3 name2 [context name3 {match-prefix |match-exact } ]
Function This command configures a new SNMP group, namely, maps SNMP users to SNMP views.
Parameters Parameter
Description
Value
name1
Group name
-
v3
Indicates that SNMPv3 is used
-
name2
Specifies the authentication and encryption
-
mode of the SNMP group name3 match-prefix
Specifies the context of the SNMP group
-
Indicates that the context matching mode is
-
prefix matching match-exact
Indicates that the context matching mode is
-
exact matching name4
Name of the read view name
-
name5
Name of the write view
-
name6
Name of the notification view
-
Mode Configuration mode: ZXAN (config)# 28-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines If the read view is not specified, the system group (OID is 1.3.6.1.2.1.1) can be read. To delete an SNMP group, use the no form of this command.
Examples The following example shows how to set a SNMPv3 group named group1, with the security level as priv (meaning authentication and encryption), and the names of read, write, and notify views as view1: ZXAN(config)#snmp-server group group1 v3 priv read view1 write view1 notify view1
Related Commands 28.4 show snmp group 28.19 snmp-server user
28.15 snmp-server host Syntax snmp-server host ip_addr1 {name1 } version {1 |2c |3 name2 } name3 {enable |disable } name4 [isnmsserver ] server-index number1 [udp-port number2 ] [third-party-server ] no snmp-server host server-index number1
Function This command configures the server that receives SNMP traps. SNMP traps or informs can be reported and SNMP v2/v3 reporting is supported. The SNMP Trap server for receiving traps can be a standard or ZTE private server. This command must be used in combination with the snmp-server enable command.
Parameters Parameter
Description
Value
ip_addr1
IP address of the trap server
-
name1
Specifies whether to send SNMP traps or informs
-
to the server version
Version
-
1
Indicates that SNMP v1 traps will be reported.
-
2c
Indicates that SNMP v2c traps will be reported.
-
3
Indicates that SNMP v3 traps will be reported.
-
28-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
Parameter
Description
Value
name2
User authentication mode for SNMPv3 reporting
-
name3
l
-
For SNMPv3, specifies the user name to access the trap server.
l
For SNMPv2, specifies the community
enable
Enables the trap server
-
disable
Disables the trap server
-
Level filtering value of the traps reported by the
-
name4
trap server isnmsserver
Specifies whether the trap server is ZTE private
-
NMS number1
Trap server index
1-8
number2
Number of the UDP port to receive traps
0-65535
third-party-server
Specifies whether the trap server supports a third
-
party NMS
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command configures the server for receving SNMP traps or informs. The following describes the procedure for SNMPv2 and SNMPv3 traps: 1. Use the snmp-server enable to enable SNMP. 2. Use the snmp-server view command to create an SNMP view. For details, refer to related SNMP commands. 3. For SNMPv2 traps, use the snmp-server community3 command to create a community. 4. For SNMPv3 traps, use the snmp-server user and snmp-server group commands to create the SNMP v3 user name and group information respectively.
Examples The following example shows how to create an SNMP view: ZXAN(config)#snmp-server view allview org included
The following example shows how to set the destination IP address of the SNMPv2 trap server:
ZXAN(config)#snmp-server community public view allview rw ZXAN(config)#snmp-server host 168.1.1.1 trap version 2c public enable CRITICAL
28-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference isnmsserver server-index 1
The following example shows how to set the destination IP address of the SNMPv3 trap server:
ZXAN(config)#snmp-server user zte zte v3 ZXAN(config)#snmp-server group zte v3 noauth read allview write allview notify allview ZXAN(config)#snmp-server host 168.1.1.1 trap version 3 zte noauth enable CRITICAL isnmsserver server-index 2
Related Commands 28.12 snmp-server enable 28.19 snmp-server user 28.14 snmp-server group 28.9 snmp-server community
28.16 snmp-server location Syntax snmp-server location LINE1 no snmp-server location
Function This command sets the physical location of a node.
Parameters Parameter
Description
Value
LINE1
Physical location of a node
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the physical location of a node: 28-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands ZXAN(config)#snmp-server location this is 5200 in china
Related Commands None
28.17 snmp-server packetsize Syntax snmp-server packetsize number1 no snmp-server packetsize
Function This command configures the maximum length of SNMP packets.
Parameters Parameter
Description
Value
number1
SNMP packet size
484–8192
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the maximum SNMP packet length to 1400 bytes: ZXAN(config)#snmp-server packetsize 1400
Related Commands None
28.18 snmp-server trap-source Syntax snmp-server trap-source ip_addr1 no snmp-server trap-source
28-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command sets the source IP address for SNMP traps.
Parameters Parameter
Description
Value
ip_addr1
Source IP address
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the source IP address of SNMP traps to 10.1.1.1: ZXAN(config)#snmp-server trap-source 10.1.1.1
Related Commands None
28.19 snmp-server user Syntax snmp-server user name1 name2 v3 {encrypted auth name3 name4 [priv des56 name5 ] |[auth name6 name7 [priv des56 name8 ] ] } no snmp-server user name1
Function This command configures an SNMPv3 user.
Parameters Parameter
Description
Value
name1
SNMP user name
-
name2
Name of the group to which the SNMP user
-
belongs v3
Specifies that SNMPv3 should be used
-
28-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 28 SNMP Commands
Parameter
Description
Value
encrypted
Specifies that the password appears in encrypted
-
format auth
Specifies which authentication level should be
-
used name3
Specifies that the MD5 or SHA authentication is
-
used name4
Authentication password
-
des56
Specifies that the CBC-DES algorithm encryption
-
is used name5
Encryption password
-
name6
Specifies that the MD5 or SHA authentication is
-
used name7
Authentication password
-
name8
Encryption password
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the encrypted parameter is not present, meaning that the entered password is the original password. To delete the SNMPv3 user, use the no form of this command.
Examples The following example shows how to set an SNMP user named user1, with the MD5 authentication password as 12345678 and the CBC-DES encryption password as 12345678: ZXAN(config)#snmp-server user user1 group1 v3 auth md5 12345678 priv des56 12345678
Related Commands 28.5 show snmp user 28.14 snmp-server group
28.20 snmp-server view Syntax snmp-server view name1 name2 name3 28-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no snmp-server view name1 [name4 ]
Function This command defines an SNMPv2 view.
Parameters Parameter
Description
Value
name1
View name
A character string
name2
Specifies the MIB subtree ID or MIB
-
subtree node name for the view name3
l
Included: The specified subtree is
-
included l
Excluded: The specified subtree is excluded -
name4
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Directly enter this command in global configuration mode. The subtree-id is an OID like 1.2.3.4.5, or a node name of MIB subtree, such as internet. To delete the view, use the no form of this command.
Examples The following example shows how to define an SNMPv2 view with the name myViewName: ZXAN(config)#snmp-server view myViewName 1.3.6.1.2.1 included
Related Commands 28.9 snmp-server community
28-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29
DHCP Commands Table of Contents DHCP Snooping Commands ....................................................................................29-1 DHCP Layer–3 Commands ......................................................................................29-3 DHCP Relay/Proxy Commands ................................................................................29-7 DHCP Server Commands ......................................................................................29-14
29.1 DHCP Snooping Commands 29.1.1 ip dhcp snooping quota Syntax ip dhcp snooping quota number1 [vport number2 ] no ip dhcp snooping quota [vport number2 ]
Function This command configures the maximum allowed number of DHCP sessions.
Parameters Parameter
Description
Value
number1
Maximum allowed number of
1–255
DHCP sessions number2
vport number
1–255
Mode gpon onu interface mode and epon onu interface mode
Usage Guidelines None
Examples The following example shows how to set the maximum allowed number of DHCP sessions on an ONU interface to 100: 29-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)interface gpon-onu_0/4/1:1 ZXAN(config-if)#ip dhcp snooping quota 100
Related Commands None
29.1.2 show ip dhcp snooping port Syntax show ip dhcp snooping port interface1 [{vport number1 |pvc number2 } ]
Function This command displays user information of a DHCP snooping interface.
Parameters Parameter
Description
Value
interface1
Interface
-
number1
vport number
1–255
number2
PVC ID
1–8
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display user information of a DHCP snooping interface: ZXAN#show ip dhcp snooping port epon-onu_0/4/1:1 Status
: disable
Current online users are 0. Index MAC addr
IP addr
Vlan State
Expiration
Related Commands None
29-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
29.1.3 show ip dhcp snooping port quota Syntax show ip dhcp snooping port quota interface1 [{vport number1 |pvc number2 } ]
Function This command displays the maximum allowed number of DHCP sessions on a DHCP snooping interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
vport number
1–255
number2
PVC ID
1–8
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the maximum allowed DHCP sessions on the interface epon-onu_0/4/1:1 vport 1: ZXAN(config-if)#show ip dhcp snooping port quota epon-onu_0/4/1:1 vport 1 Onu
Vport
epon-onu_0/4/1 1
Quota No Limit
Related Commands None
29.2 DHCP Layer–3 Commands 29.2.1 ip dhcp enable Syntax ip dhcp enable no ip dhcp enable 29-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command enables DHCP on a global basis.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines An interface can work in DHCP relay, proxy, or server mode only after DHCP is enabled on a global basis on this interface. However, DHCP snooping must be enabled independently.
Examples The following example shows how to enable DHCP on a global basis: ZXAN(config)#ip dhcp enable
Related Commands None
29.2.2 ip dhcp logging on Syntax ip dhcp logging on no ip dhcp logging on
Function This command enables DHCP logging.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
29-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
Examples The following example shows how to enable DHCP logging: ZXAN(config)#ip dhcp logging on
Related Commands None
29.2.3 ip dhcp mode Syntax ip dhcp mode name1 no ip dhcp mode
Function This command configures DHCP mode for an interface.
Parameters Parameter
Description
Value
name1
DHCP mode
relay, proxy, or server
Mode l l
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) supervlan interface mode
Usage Guidelines This command is only valid when DHCP is enabled on a global basis.
Examples The following example shows how to enable the VLAN2 interface to work in DHCP proxy mode: ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp mode proxy
Related Commands None
29-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
29.2.4 show ip dhcp configuration Syntax show ip dhcp configuration
Function This command displays DHCP global configuration.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display DHCP global configuration: ZXAN#show ip dhcp configure DHCP process state information process state : disable(stop) logging flag : off DHCP server configure: available dns for client.master: lease time of ip address:
slave:
3600 seconds
update arp state : disable DHCP relay configure: not insert relay information in BOOTREQUEST. relay information policy:
default(replace)
relay information format:
default(china-tel)
relay retry times to server:
10
update arp state : disable
Related Commands None
29-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
29.3 DHCP Relay/Proxy Commands 29.3.1 ip dhcp helper-address policy vclass-id Syntax ip dhcp helper-address policy vclass-id no ip dhcp helper-address policy vclass-id
Function This command enables forwarding of packets based on option60 in DHCP relay and proxy mode.
Parameters None
Mode VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
Usage Guidelines A request packet is discarded if no matching server IP address is detected in the option60 field of the packet.
Examples The following example shows how to configure packet forwarding based on option60: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip dhcp helper-address policy vclass-id
Related Commands None
29.3.2 ip dhcp proxy client leasetime Syntax ip dhcp proxy client leasetime number1 no ip dhcp proxy client leasetime
Function This command sets the short lease time in DHCP proxy mode. 29-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Short lease time
60–18000
Mode Configuration mode: ZXAN(config)#
Usage Guidelines None
Examples The following example shows how to set the short lease time in DHCP proxy mode to 1000 seconds: ZXAN(config)#ip dhcp proxy client leasetime 1000
Related Commands None
29.3.3 ip dhcp relay agent Syntax ip dhcp relay agent ip_addr1 no ip dhcp relay agent
Function This command configures the DHCP agent address for an interface in DHCP relay and proxy mode.
Parameters Parameter
Description
Value
ip_addr1
DHCP agent address
-
Mode l l
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) supervlan interface mode
Usage Guidelines To cancel the setting, use the no form of this command. 29-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
The IP address of DHCP agent must be configured to enable the DHCP Relay to forward DHCP requests to the external DHCP server. The DHCP agent address is one of the IP addresses on the interface where the DHCP client is connected. The external DHCP server assigns IP addresses to users, which are in different network segments from the DHCP agent address. The DHCP response packets sent by the DHCP server are forwarded by the DHCP agent to the DHCP client. To ensure the packet forwarding, a route to the subnet where the DHCP agent is located must be configured on the external DHCP server. The giaddr field in a DHCP packet indicates the DHCP agent address.
Examples The following example shows how to configure the DHCP agent address of the interface VLAN 2 to 192.200.100.254: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip dhcp relay agent 192.200.100.254
Related Commands None
29.3.4 ip dhcp relay server Syntax ip dhcp relay server ip_addr1 [name1 ] no ip dhcp relay server [ip_addr1 ]
Function This command configures the IP address and forwarding mode of the external DHCP server for an interface in DHCP relay and proxy mode.
Parameters Parameter
Description
Value
ip_addr1
IP address of the external
-
DHCP server name1
Mode for forwarding packets
-
from the DHCP relay to the external server
Mode l l
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) supervlan interface mode 29-9
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To cancel the setting, use the no form of this command. The default forwarding mode is field learning mode.
Examples The following example shows how to configure the external DHCP server address of the interface VLAN2 to 192.200.100.254: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip dhcp relay server 192.200.100.254
Related Commands 29.3.3 ip dhcp relay agent
29.3.5 ip dhcp relay server retry Syntax ip dhcp relay server retry number1 no ip dhcp relay server retry
Function This command configures the maximum allowed number of times that the DHCP relay server in DHCP relay or proxy mode fails to send a request packet to the DHCP server, meaning the count of request packets that do not obtain a response of reply packet.
Parameters Parameter
Description
Value
number1
Maximum allowed number of
5–1000
times
Mode Configuration mode: ZXAN(config)#
Usage Guidelines A DHCP relay server is considered faulty and its forwarding status is set to dead if the number of request packet failures exceeds the value set in this command. The request packets will be forwarded to another relay server if multiple servers are configured. If only one relay server is configured, this server will still be used.
29-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
Examples The following example shows how to configure the maximum allowed number of request packet failures to 1000: ZXAN(config)#ip dhcp relay server retry 1000
Related Commands None
29.3.6 ip dhcp relay server vclass-id Syntax ip dhcp relay server vclass-id name1 ip_addr1 [name2 ] no ip dhcp relay server vclass-id name1 [ip_addr1 ]
Function This command configures the mapping between DHCP option60 string and IP address of the DHCP server.
Parameters Parameter
Description
Value
name1
DHCP option60 string
-
ip_addr1
IP address of DHCP server
-
name2
Forwarding mode of DHCP relay
-
Mode Configuration mode: ZXAN(config)#
Usage Guidelines The default forwarding mode is automatic learning mode. In standard mode, subsequent DHCP packets are not processes after a user successfully requests an IP address and the user space is released. In security mode, the user space is reserved and subsequent DHCP unicast packets are processed after a user successfully requests an IP address
Examples The following example shows how to configure the mapping between DHCP option60 string and IP addresses of DHCP server: ZXAN(config)#ip dhcp relay server vclass-id test 10.1.1.1 standard
29-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
29.3.7 ip dhcp relay update arp Syntax ip dhcp relay update arp no ip dhcp relay update arp
Function This command enables binding of IP addresses assigned by the DHCP server and the ARP.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines The binding between DHCP server assigned IP addresses and the ARP disables the ARP learning. To cancel the binding, use the no form of this command. When the binding is enabled, the IP address assigned to the DHCP user is bound with an ARP entry after DHCP Relay successfully forwards the IP address that is responded from DHCP Server to DHCP Client. The binding disables ARP learning and prevents ARP attacks to DHCP users. This command is only valid when the interface is in security forwarding mode. By default, the binding of DHCP user IP address and the ARP is disabled.
Examples The following command shows how to enable the binding of DHCP server assigned IP address and ARP: ZXAN(config)#ip dhcp relay update arp
Related Commands None
29-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
29.3.8 show ip dhcp proxy client Syntax show ip dhcp proxy client
Function This command displays parameters configured for DHCP clients.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display parameters configured for DHCP clients: ZXAN#show ip dhcp proxy client DHCP client configure information in proxy mode: leasetime
:60 seconds
Related Commands None
29.3.9 show ip dhcp relay server vclass-id Syntax show ip dhcp relay server vclass-id [name1 ]
Function This command displays the mapping between DHCP option60 string and server IP address.
Parameters Parameter
Description
Value
name1
DHCP option60 string
-
29-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the mapping between DHCP option60 string and server IP address: ZXAN#show ip dhcp relay server vclass-id test: DHCP server :10.1.1.1
standard
Related Commands None
29.4 DHCP Server Commands 29.4.1 ip dhcp server dns Syntax ip dhcp server dns ip_addr1 [ip_addr2 ] no ip dhcp server dns
Function The command configures DNS addresses sent by the DHCP server to DHCP clients.
Parameters Parameter
Description
Value
ip_addr1
Primary DNS address
-
ip_addr2
Secondary DNS address
-
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
To cancel the setting, use the no form of this command. A maximum of two DNS addresses can be configured at the same time. 29-14
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
Examples The following example shows how to set the primary DNS address to 10.1.1.1 and the secondary DNS address to 10.1.1.10: ZXAN(config)#ip dhcp server dns 10.1.1.1 10.1.1.10
Related Commands 29.4.6 show ip dhcp server user 29.4.3 ip dhcp server leasetime 29.4.2 ip dhcp server gateway 30.2 ip local pool 29.4.5 peer default ip pool
29.4.2 ip dhcp server gateway Syntax ip dhcp server gateway ip_addr1 no ip dhcp server gateway [ip_addr1 ]
Function This command configures the DHCP gateway address that the DHCP server provides to DCHP clients.
Parameters Parameter
Description
Value
ip_addr1
DHCP gateway address
-
Mode l l
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) supervlan interface mode
Usage Guidelines To cancel the setting, use the no form of this command. The DHCP gateway address configured on an interface is sent as the default gateway address by the DHCP server to DHCP clients when the DHCP server is enabled. The gateway address must belong to the same network segment as an IP address of the interface. When the equipment is used as the gateway of a DHCP client, the gateway address is set as the IP address of the interface for normal communication of the DHCP client. In 29-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
addition, the DHCP client cannot obtain a lease of an IP address from the DHCP server through the unicasting mode when the IP address lease expires.
Examples The following example shows how to configure the DHCP gateway address: ZXAN(config)#interface vlan 2 ZXAN(config-if)#ip dhcp server gateway 10.1.1.1
Related Commands 29.4.6 show ip dhcp server user 29.4.3 ip dhcp server leasetime 29.4.1 ip dhcp server dns 29.4.5 peer default ip pool
29.4.3 ip dhcp server leasetime Syntax ip dhcp server leasetime number1 no ip dhcp server leasetime
Function This command configures a lease time during which DHCP clients can obtain a lease of IP address from the DHCP server.
Parameters Parameter
Description
Value
number1
IP lease time
60–18000
Mode Configuration mode: ZXAN(config)#
Usage Guidelines To restore the default lease time, use the no form of this command. A client must renew a lease before the lease time expires. Or else, the DHCP server does not allow the client to use the IP address any longer when the lease time expires.
Examples The following example shows how to set the IP lease time of the DHCP server to 1200 seconds: 29-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands ZXAN(config)#ip dhcp server leasetime 1200
Related Commands 29.4.6 show ip dhcp server user 29.4.1 ip dhcp server dns
29.4.4 ip dhcp server update arp Syntax ip dhcp server update arp no ip dhcp server update arp
Function This command binds IP addresses assigned by the DHCP server to the ARP table.
Parameters None
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
l
To cancel the setting, use the no form of this command. Binding of the IP address assigned by the DHCP server to an ARP table entry of the corresponding client disables ARP learning and prevents ARP attacks from the DHCP client. By default, the binding of DHCP IP address and ARP is disabled.
Examples The following example how to enable the binding of DHCP IP address and ARP: ZXAN(config)#ip dhcp server update arp
Related Commands 29.3.9 show ip dhcp relay server vclass-id
29.4.5 peer default ip pool Syntax peer default ip pool name1 29-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no peer default ip pool
Function This command specifies an IP address pool for an interface.
Parameters Parameter
Description
Value
name1
IP address pool name
-
Mode l l
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) supervlan interface mode
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example how to specify an IP address pool for an interface: ZXAN(config)#interface vlan 2 ZXAN(config-if)#peer default ip pool test
Related Commands 30.2 ip local pool 30.4 show ip local pool
29.4.6 show ip dhcp server user Syntax show ip dhcp server user interface1
Function This command displays online users of the DHCP server.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode All modes except user mode 29-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 29 DHCP Commands
Usage Guidelines None
Examples The following example shows how to display online users of the DHCP server: ZXAN#show ip dhcp server user vlan 2 Current online users are 0. Index MAC addr
IP addr
State
Expiration
Related Commands None
29-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
29-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 30
IP Address Pool Commands Table of Contents clear ip pool conflict-ip ..............................................................................................30-1 ip local pool ..............................................................................................................30-2 ip local pool conflict-ip ..............................................................................................30-3 show ip local pool .....................................................................................................30-3 show ip local pool conflict-ip .....................................................................................30-4
30.1 clear ip pool conflict-ip Syntax clear ip pool conflict-ip {address ip_addr1 |pool name1 |all }
Function This command clears conflict addresses in an address pool.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
name1
IP address in an address pool
-
all
All conflict addresses
-
Mode Privileged mode: ZXAN#
Usage Guidelines Conflict addresses can be cleared automatically in case of system timeout, or manually by users by using this command.
Examples The following example shows how to clear conflict addresses in an address pool: ZXAN#clear ip pool conflict-ip address 100.1.1.10
30-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 30.3 ip local pool conflict-ip 30.5 show ip local pool conflict-ip
30.2 ip local pool Syntax ip local pool name1 ip_addr1 ip_addr2 mask1 no ip local pool name1 [ip_addr3 ip_addr2 mask1 ]
Function This command configures an IP address pool for a DHCP server.
Parameters Parameter
Description
Value
name1
Pool name
-
ip_addr1
Start IP address
-
ip_addr2
End IP address
-
mask1
Subnet mask
-
ip_addr3
Start IP address
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure an IP address pool for a DHCP server: ZXAN(config)#ip local pool test 10.1.1.1 10.1.1.255 255.255.0.0
Related Commands None
30-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 30 IP Address Pool Commands
30.3 ip local pool conflict-ip Syntax ip local pool conflict-ip number1 no ip local pool conflict-ip
Function This command configures the release interval for conflict addresses in an IP address pool in case of timeout.
Parameters Parameter
Description
Value
number1
Release interval
Range: 1–60000
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the release interval as 60 minutes for conflict addresses in case of timeout: ZXAN(config)#ip local pool conflict-ip 60
Related Commands 30.5 show ip local pool conflict-ip 30.1 clear ip pool conflict-ip
30.4 show ip local pool Syntax show ip local pool [name1 ]
Function This command displays local pool information configured.
30-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Address pool name
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display local pool information configured: ZXAN#show ip local pool ZXAN Available addresses: 100.1.1.1 100.1.1.2 100.1.1.3 100.1.1.4 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)
Related Commands 30.2 ip local pool
30.5 show ip local pool conflict-ip Syntax show ip local pool conflict-ip
Function This command displays information about address conflict in an address pool.
Parameters None 30-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 30 IP Address Pool Commands
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about address conflict in an address pool: ZXAN#show ip local pool conflict-ip Conflict-ip
Pool
Timeout(min)
Related Commands 30.1 clear ip pool conflict-ip 30.3 ip local pool conflict-ip
30-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
30-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 31
SSH Commands Table of Contents show ssh ..................................................................................................................31-1 ssh server authentication ispgroup ...........................................................................31-2 ssh server authentication mode ................................................................................31-3 ssh server authentication type ..................................................................................31-3 ssh server enable .....................................................................................................31-4 ssh server generate-key ...........................................................................................31-5 ssh server only .........................................................................................................31-5 ssh server version ....................................................................................................31-6
31.1 show ssh Syntax show ssh
Function This command displays the configuration information related to the SSH server.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the configuration information related to the SSH server: ZXAN#show ssh SSH configuration: SSH enable-flag configuration : disable SSH version
: ver2.0
31-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference SSH only configuration
: disable
SSH init server key
: disable
SSH auth radius isp-groupid
: 1
SSH auth mode
: local
SSH auth type
: chap
Related Commands None
31.2 ssh server authentication ispgroup Syntax ssh server authentication ispgroup number1
Function This command sets the RADIUS authentication group when the SSH server operates in RADIUS authentication mode.
Parameters Parameter
Description
Value
number1
RADIUS authentication group
1–10
number
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The configuration of the SSH server RADIUS authentication group number takes effect only when the authentication mode is RADIUS.
Examples The following example shows how to how to set the RADIUS server group number to 2 when the SSH server uses the RADIUS authentication mode:
ZXAN(config)#ssh server authentication ispgroup 2
Related Commands None 31-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 31 SSH Commands
31.3 ssh server authentication mode Syntax ssh server authentication mode name1
Function This command sets the SSH server authentication mode.
Parameters Parameter
Description
Value
name1
Authentication mode
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to set the SSH server to local authentication: ZXAN(config)#ssh server authentication mode local
Related Commands None
31.4 ssh server authentication type Syntax ssh server authentication type name1
Function This command sets the SSH server authentication type.
Parameters Parameter
Description
Value
name1
Authentication type
-
31-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to set the SSH server authentication type: ZXAN(config)#ssh server authentication type pap
Related Commands None
31.5 ssh server enable Syntax ssh server enable no ssh server enable
Function This command enables the SSH server.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To disable the functions, use the no form of this command.
Examples The following example shows how to enable the SSH server: ZXAN(config)#ssh server enable
Related Commands None 31-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 31 SSH Commands
31.6 ssh server generate-key Syntax ssh server generate-key
Function This command set the SSH server to generate the RSA key when SSH server operates in protocol version 1.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The RSA key needs to be generated only if the SSH server used protocol version 1. If the protocol version is 2, it is needless to calculate this key.
Examples The following example shows how to set the SSH server to generate the RSA key: ZXAN(config)#ssh server generate-key
Related Commands None
31.7 ssh server only Syntax ssh server only no ssh server only
Function This command sets the SSH server as the unique safe configuration access mode and disables Telnet access.
Parameters None 31-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To cancel the setting, use the no form of this command.
Examples The following example shows how to set the SSH server as the unique access mode: ZXAN(config)#ssh server only
Related Commands None
31.8 ssh server version Syntax ssh server version number1
Function This command sets the SSH server protocol version.
Parameters Parameter
Description
Value
number1
SSH protocol version number
1–2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The SSH server supports two protocols. By default, the version number is 2.
Examples The following example shows how to set the SSH server protocol version number to 1: ZXAN(config)#ssh server version 1
Related Commands None 31-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 32
History Performance Statistics Commands Table of Contents his-performance alarm .............................................................................................32-1 his-performance auto-upload....................................................................................32-2 his-performance download .......................................................................................32-2 his-performance sample ...........................................................................................32-3 his-performance upload 1-day ..................................................................................32-4 his-performance upload 15-minute ...........................................................................32-5
32.1 his-performance alarm Syntax his-performance alarm name1
Function This command enables or disables the history performance alarm function.
Parameters Parameter
Description
Value
name1
Enables or disables the function.
Default: enable
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The performance alarm is based on performance data sampling. Therefore, make sure to enable the his-performance sample command before enable this command.
Examples The following example shows how to enable the history performance alarm function: ZXAN(config)#his-performance alarm enable
32-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 32.4 his-performance sample
32.2 his-performance auto-upload Syntax his-performance auto-upload name1
Function This function enables or disables the auto-upload function for a history performance data file.
Parameters Parameter
Description
Value
name1
Enables or disables the function.
Default: disable
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The performance data auto-upload is based on performance data sampling. Therefore, make sure to enable the his-performance sample command before enable this command.
Examples ZXAN(config)#his-performance auto-upload enable
Related Commands 32.4 his-performance sample
32.3 his-performance download Syntax his-performance download name1
Function This command downloads the configuration file of history performance sampling points.
32-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 32 History Performance Statistics Commands
Parameters Parameter
Description
Value
name1
Configuration file name
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The configuration file of performance sampling points is downloaded to the cfg directory of an NE through FTP. Downloading through sFTP is not supported.
Examples The following example shows how to download the configuration file of history performance sampling points: ZXAN(config)#his-performance download sample.xml
Related Commands 1.3 boot-server
32.4 his-performance sample Syntax his-performance sample name1
Function This command enables or disables history performance data sampling.
Parameters Parameter
Description
Value
name1
Enables or disables the function.
Default: enable
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is a global switch for performance data sampling.
32-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the history performance data sampling function: ZXAN(config)#his-performance sample enable
Related Commands None
32.5 his-performance upload 1-day Syntax his-performance upload 1-day
Function This command organizes the history performance data, stored in an NE, of the last day in CSV format, and uploads the file through FTP.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines An NE always stores one-day history performance data of the last one period. If the configuration file (sample.xml) of performance sampling points exists in the cfg directory of the NE, the uploaded data file corresponds to the data of the sampling point in the configuration file. If the configuration file (sample.xml) of performance sampling points does not exist in the cfg directory of the NE, the uploaded data file contains the data of all the sampling points configured after the NE enables the performance sampling function.
Examples The following example shows how to upload the one-day history performance data file: ZXAN(config)#his-performance upload 1-day
Related Commands 32.3 his-performance download 32-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 32 History Performance Statistics Commands
32.6 his-performance upload 15-minute Syntax his-performance upload 15-minute {interval-begin number1 } {interval-end number2 }
Function This command organizes the history performance data, stored in an NE, of the last 15 minutes in CSV format, and uploads the file through FTP.
Parameters Parameter
Description
Value
number1
-
Range: 1–2
number2
-
Range: 1–2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines An NE always stores 15-minute history performance data of the last two periods. If the configuration file (sample.xml) of performance sampling points exists in the cfg directory of the NE, the uploaded data file corresponds to the data of the sampling point in the configuration file. If the configuration file (sample.xml) of performance sampling points does not exist in the cfg directory of the NE, the uploaded data file contains the data of all the sampling points configured after the NE enables the performance sampling function.
Examples The following example shows how to upload two 15-minute history performance data file, where 1 indicates the last one period: ZXAN(config)#his-performance upload 15-minute
interval-begin 1
interval-end 2
Related Commands 32.3 his-performance download
32-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
32-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 33
MFF and ARP Anti-Spoofing Commands Table of Contents ip-service ip-fixed-user .............................................................................................33-1 ip-service ip-source-guard ........................................................................................33-2 ip-service ip-source-guard (GPON/EPON ONU interface) ........................................33-3 ip-service ip-source-guard bind-type ip+mac ............................................................33-3 ip-service ipv6-fixed-user..........................................................................................33-4 show ip-service ip-source-guard ...............................................................................33-5 show ip-service ip-source-guard bind-type................................................................33-6 show ip-service ipv6-user .........................................................................................33-6 show ip-service ipv6-user status...............................................................................33-7 show ip-service user.................................................................................................33-8 show ip-service user status ......................................................................................33-9
33.1 ip-service ip-fixed-user Syntax ip-service ip-fixed-user ip_addr1 [mac-address hexadecimal1 ] vlan number1 sport number2 no ip-service ip-fixed-user ip_addr1 sport number2
Function This command configures static IPv4 items.
Parameters Parameter
Description
Value
ip_addr1
IP address
-
hexadecimal1
MAC address
-
number1
VLAN number
Range: 1–4094
number2
Service port ID
Range: 1–16
Mode PTP, WDM-PON-ONU, and GPON ONU interface mode 33-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples ZXAN(config)#interface gei_1/2/1 ZXAN(config-if)#ip-service ip-fixed-user 1.1.1.1 vlan 10 sport 1
Related Commands 33.10 show ip-service user
33.2 ip-service ip-source-guard Syntax ip-service ip-source-guard name1
Function This command configures global information about the IP Source Guard function.
Parameters Parameter
Description
Value
name1
Enables/disables the function.
enable/disable
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable global information about the IP Source Guard function: ZXAN(config)#ip-service ip-source-guard enable
Related Commands 33.6 show ip-service ip-source-guard
33-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 33 MFF and ARP Anti-Spoofing Commands
33.3 ip-service ip-source-guard (GPON/EPON ONU interface) Syntax ip-service ip-source-guard name1 sport range1
Function This command enables or disables the IP Source Guard function on the GPON/EPON ONU interface.
Parameters Parameter
Description
Value
name1
Enables or disables the function.
enable/disable
range1
Service port range.
Range: 1–16
Mode PTP, WDM-PON-ONU, and GPON ONU interface mode
Usage Guidelines This function cannot be enabled until both the global switch and the switch on the GPON/EPON ONU interface are enabled.
Examples The following example shows how to enable the IP Source Guard function on the GPON/EPON ONU interface: ZXAN(config)#interface gei_1/2/1 ZXAN(config-if)#ip-service ip-source-guard enable sport 1
Related Commands 33.6 show ip-service ip-source-guard
33.4 ip-service ip-source-guard bind-type ip+mac Syntax ip-service ip-source-guard bind-type ip+mac no ip-service ip-source-guard bind-type ip+mac
33-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the binding mode of the IP Source Guard function as IP+MAC.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, only the IP address is bound for the IP Source Guard function. If it is necessary to bind the IP+MAC address, use this command.
Examples ZXAN(config)#ip-service ip-source-guard bind-type ip+mac
Related Commands 33.7 show ip-service ip-source-guard bind-type
33.5 ip-service ipv6-fixed-user Syntax ip-service ipv6-fixed-user ipv6_addr1 ipv6-mask number1 [mac-address hexadecimal1 ] vlan number2 sport number3 no ip-service ipv6-fixed-user ipv6_addr1 sport number3
Function This command configures static IPv6 Source Guard items.
Parameters Parameter
Description
Value
ipv6_addr1
IPv6 address
-
number1
Mask length
Range: 1–128
hexadecimal1
MAC address
-
number2
VLAN ID
Range: 1–4094
number3
Service port ID
Range: 1–16
33-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 33 MFF and ARP Anti-Spoofing Commands
Mode PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines None
Examples ZXAN(config)#interface gei_1/2/1 ZXAN(config-if)#ip-service ipv6-fixed-user 2000::1 ipv6-mask 128 vlan 10 sport 1
Related Commands 33.8 show ip-service ipv6-user
33.6 show ip-service ip-source-guard Syntax show ip-service ip-source-guard [interface1 ]
Function This command displays global information or port information about the IP Source Guard function.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display global information about the IP Source Guard function: ZXAN(config)#show ip-service ip-source-guard
global ip-source-guard status :disable
33-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The following example shows how to display port information about the IP Source Guard function: ZXAN(config)#show ip-service ip-source-guard gpon-onu_0/4/1:1 Port
Sport
ip-source-guard status
gpon-onu_0/4/1:1
1
disable
Related Commands 33.2 ip-service ip-source-guard
33.7 show ip-service ip-source-guard bind-type Syntax show ip-service ip-source-guard bind-type
Function This command displays the binding mode for the IP Source Guard function.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples ZXAN(config)#show ip-service ip-source-guard bind-type ip source guard bind type: ip+mac filter
Related Commands 33.4 ip-service ip-source-guard bind-type ip+mac
33.8 show ip-service ipv6-user Syntax show ip-service ipv6-user {ipv6-address ipv6_addr1 ipv6-mask number1 |interface interface1 } 33-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 33 MFF and ARP Anti-Spoofing Commands
Function This command displays information about users of the IPv6 Source Guard.
Parameters Parameter
Description
Value
ipv6_addr1
IPv6 address
-
number1
Prefix length
Range: 1–128
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines This command is used when it is necessary to know information about the IPv6 Source Guard on a certain ONU interface, or to know to which interface's IPv6 Source Guard item a specific IP address belongs.
Examples The following examples shows how to display information about users on a specific ONU interface: ZXAN(config)#show ip-service ipv6-user interface gpon-onu_1/4/1:1
The following examples shows how to display information about a specific IP address: ZXAN(config)#show ip-service ipv6-user ipv6-address 2000::1 ipv6-mask 128
Related Commands None
33.9 show ip-service ipv6-user status Syntax show ip-service ipv6-user status interface1
Function This command displays status information about driver setting for IPv6 Source Guard items.
33-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines This command is used to view whether a driver is set successfully for an IPv6 Source Guard item.
Examples ZXAN(config)#show ip-service ipv6-user status gpon-onu_1/2/1:1
Related Commands None
33.10 show ip-service user Syntax show ip-service user {ip-address ip_addr1 |interface interface1 }
Function This command displays information about users of the IP Source Guard.
Parameters Parameter
Description
Value
ip_addr1
IP address (for example,
-
10.1.1.1) interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines This command is used when it is necessary to know information about the IP Source Guard on a certain ONU interface, or to know to which interface's IP Source Guard item a specific IP address belongs. 33-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 33 MFF and ARP Anti-Spoofing Commands
Examples The following examples shows how to display information about users on a specific ONU interface: ZXAN(config)#show ip-service user interface gpon-onu_0/4/1:1 Port
Sport
IP-addr
MAC-addr
Vlan
Source
gpon-onu_0/4/1:1
1
1.1.1.1
0000.0000.0000
10
fixed-user
The following examples shows how to display information about a specific IP address: ZXAN(config)#show ip-service user ip-address 1.1.1.1 IP-addr
MAC-addr
Port
1.1.1.1
0000.0000.0000 gpon-onu_0/4/1:1
Sport
Vlan
Source
1
10
fixed-user
Related Commands None
33.11 show ip-service user status Syntax show ip-service user status interface1
Function This command displays status information about driver setting for IPv4 items of the IP Source Guard.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines This command is used to view status information about driver setting.
Examples ZXAN(config)#show ip-service user status gpon-onu_1/2/1:1
Related Commands None 33-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
33-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 34
Control Panel Safety Commands Table of Contents anti-dos ....................................................................................................................34-1 anti-dos blocking-time ..............................................................................................34-2 anti-dos drop ............................................................................................................34-3 anti-dos drv-limit.......................................................................................................34-3 anti-dos limit-num .....................................................................................................34-4 clear packet-statistics ...............................................................................................34-5 cpu ...........................................................................................................................34-6 packet-limit...............................................................................................................34-7 show control-panel anti-dos black-table..................................................................34-10 show control-panel anti-dos black-table slot ........................................................... 34-11 show control-panel configure.................................................................................. 34-11 show control-panel packet-limit statistics slot..........................................................34-12 show cpu queue .....................................................................................................34-13 show cpu queue statistics.......................................................................................34-14
34.1 anti-dos Syntax anti-dos name1
Function This command enables or disables the anti-DoS attack function.
Parameters Parameter
Description
Value
name1
Enables or disables the
enable or disable
anti-DoS attack function.
Mode control panel configuration mode
34-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines The anti-DoS attack function prevents Denial of Service (DoS) attacks and ensures that the NE provides services as required.
Examples The following example shows how to enable the anti-DoS attack function: ZXAN(config)#control-panel ZXAN(control-panel)#anti-dos enable
Related Commands 34.11 show control-panel configure
34.2 anti-dos blocking-time Syntax anti-dos blocking-time number1
Function This command sets the blacklist refreshing period for anti-DoS attack.
Parameters Parameter
Description
Value
number1
Period for refreshing the
1–600 seconds
blacklist
Mode control panel configuration mode
Usage Guidelines The system checks whether the blacklist entries are threshold crossing. If an entry is threshold crossing, the system continues blocking packets matching this entry. If an entry is not threshold crossing, this entry is removed from the blacklist. A short blacklist refreshing period (blocking-time) is recommended because a long refreshing period influences the prevention effect.
Examples The following example shows how to set the blacklist refreshing period to 300 seconds: ZXAN(config)#control-panel ZXAN(control-panel)#anti-dos blocking-time 300
34-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 34 Control Panel Safety Commands
Related Commands 34.11 show control-panel configure 34.5 anti-dos limit-num
34.3 anti-dos drop Syntax anti-dos drop name1
Function This command enables or disables packet dropping.
Parameters Parameter
Description
Value
name1
Enables or disables packet
enable or disable
dropping.
Mode control panel configuration mode
Usage Guidelines When packet dropping is enabled, the packets matching the blacklist are discarded. The NE CPU does not process these packets.
Examples The following example shows how to enable packet dropping: ZXAN(config)#control-panel ZXAN(control-panel)#anti-dos drop enable
Related Commands 34.11 show control-panel configure
34.4 anti-dos drv-limit Syntax anti-dos drv-limit name1
34-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command determines whether to enable the driver to limit packet rate for anti-DoS attack.
Parameters Parameter
Description
Value
name1
Enables or disables packet rate
enable or disable
limiting.
Mode control panel configuration mode
Usage Guidelines If rate limiting is enabled, the system notifies the driver to limit the rate of packets matching the blacklist when the blacklist is generated. If the blacklist is removed, the rate limiting is disabled. Rate limiting is enabled by default. To ensure the effect of preventing anti-DoS attack, do not disable the rate limiting.
Examples The following example shows how to enable rate limiting for the driver: ZXAN(config)#control-panel ZXAN(control-panel)#anti-dos drv-limit enable
Related Commands 34.11 show control-panel configure
34.5 anti-dos limit-num Syntax anti-dos limit-num number1
Function This command sets the rate limit for packets matching the anti-DoS blacklist.
34-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 34 Control Panel Safety Commands
Parameters Parameter
Description
Value
number1
Allowed number of packets
10-1000
matching the blacklist per second
Mode control panel configuration mode
Usage Guidelines The product of rate limit (limit-number) and blacklist refreshing period (blocking-time) indicates the maximum allowed number of packets matching the blacklist during a refreshing period.
Examples The following example shows how to set the rate limit to 20 pps: ZXAN(config)#control-panel ZXAN(control-panel)#anti-dos limit-num 20
Related Commands 34.1 anti-dos 34.11 show control-panel configure
34.6 clear packet-statistics Syntax clear packet-statistics
Function This command clears statistics of rate-limited packets.
Parameters None
Mode Privileged mode: ZXAN#
34-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines Use this command to clear statistical information of packet types that are configured with rate limits.
Examples The following example shows how to clear statistics of rate-limited packets: ZXAN#clear packet-statistics
Related Commands 34.8 packet-limit
34.7 cpu Syntax cpu {queue {0 number1 |1 number2 |2 number3 |3 number4 |4 number5 |5 number6 |6 number7 |7 number8 } } no cpu {queue {0 |1 |2 |3 |4 |5 |6 |7 } }
Function This command sets the rate limit for each queue in the CPU of a main control card.
Parameters Parameter
Description
Value
number1
Rate limit (unit: pps)
16–512
number2
Rate limit (unit: pps)
16–512
number3
Rate limit (unit: pps)
16–512
number4
Rate limit (unit: pps)
16–512
number5
Rate limit (unit: pps)
16–512
number6
Rate limit (unit: pps)
16–512
number7
Rate limit (unit: pps)
16–512
number8
Rate limit (unit: pps)
16–512
0
Queue ID
–
1
Queue ID
–
2
Queue ID
–
3
Queue ID
–
4
Queue ID
–
34-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 34 Control Panel Safety Commands
Parameter
Description
Value
5
Queue ID
–
6
Queue ID
–
7
Queue ID
–
Mode control panel configuration mode
Usage Guidelines This command sets the packet receiving rate limit for a queue in the CPU of a main control card. To restore the default settings, use the no form of this command.
Examples The following example shows how to set the packet receiving rate of queue 0 to 267pps: ZXAN(control-panel)#cpu queue 0 267
Related Commands 34.13 show cpu queue 34.14 show cpu queue statistics
34.8 packet-limit Syntax packet-limit {all number1 |arp number2 |icmp number3 |igmp number4 |bpdu number5 |dhcp number6 |vbas number7 |pppoe number8 |snmp number9 |ipv6_rs number10 |ipv6_ra number11 |ipv6_ns number12 |ipv6_na number13 |ipv6_icmp number14 |ipv6_dhcp number15 |ssh number 16 |telnet number17 |bfd number18 |zesr number19 |stp number20 |lacp number21 |lldp number22 |rip number23 |bgp number24 |ospf number25 |isis number26 |ldp number27 |cfm number28 } no packet-limit {all |arp |icmp |igmp |bpdu |dhcp |vbas |pppoe |snmp |ipv6_rs |ipv6_ra |ipv6 _ns |ipv6_na |ipv6_icmp |ipv6_dhcp |ssh |telnet |bfd |zesr |stp |lacp |lldp |rip |bgp |ospf |isis |ldp |cfm }
Function This command sets a rate limit for packets of a specific type.
34-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Packet rate limit
100–65535 pps
number2
Packet rate limit
1–200 pps
number3
Packet rate limit
1–200 pps
number4
Packet rate limit
1–200 pps
number5
Packet rate limit
1–200 pps
number6
Packet rate limit
1–200 pps
number7
Packet rate limit
1–200 pps
number8
Packet rate limit
1–200 pps
number9
Packet rate limit
1–200 pps
number10
Packet rate limit
1–200 pps
number11
Packet rate limit
1–200 pps
number12
Packet rate limit
1–200 pps
number13
Packet rate limit
1–200 pps
number14
Packet rate limit
1–200 pps
number15
Packet rate limit
1–200 pps
number16
Packet rate limit
1–200 pps
number17
Packet rate limit
1–200 pps
number18
Packet rate limit
1–200 pps
number19
Packet rate limit
1–200 pps
number20
Packet rate limit
1–200 pps
number21
Packet rate limit
1–200 pps
number22
Packet rate limit
1–200 pps
number23
Packet rate limit
1–200 pps
number24
Packet rate limit
1–200 pps
number25
Packet rate limit
1–200 pps
number26
Packet rate limit
1–200 pps
number27
Packet rate limit
1–200 pps
number28
Packet rate limit
1–200 pps
all
Protocol type
–
arp
Protocol type
–
icmp
Protocol type
–
igmp
Protocol type
–
34-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 34 Control Panel Safety Commands
Parameter
Description
Value
bpdu
Protocol type
–
dhcp
Protocol type
–
vbas
Protocol type
–
pppoe
Protocol type
–
snmp
Protocol type
–
ipv6_rs
Protocol type
–
ipv6_ra
Protocol type
–
ipv6_ns
Protocol type
–
ipv6_na
Protocol type
–
ipv6_icmp
Protocol type
–
ipv6_dhcp
Protocol type
–
ssh
Protocol type
–
telnet
Protocol type
–
bfd
Protocol type
–
zesr
Protocol type
–
stp
Protocol type
–
lacp
Protocol type
–
lldp
Protocol type
–
rip
Protocol type
–
bgp
Protocol type
–
ospf
Protocol type
–
isis
Protocol type
–
ldp
Protocol type
–
cfm
Protocol type
–
Mode control panel configuration mode
Usage Guidelines To cancel the setting, use the no form of this command. This command limits the rate of packets complying with a specific protocol. The parameter all specifies the total rate limit of ingress packets of the CPU.
Examples The following example shows how to set the rate limit of ARP packets to 10 pps: 34-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#control-panel ZXAN(control-panel)#packet-limit arp 10
Related Commands 34.11 show control-panel configure
34.9 show control-panel anti-dos black-table Syntax show control-panel anti-dos black-table
Function This command queries all blacklists.
Parameters None
Mode All modes except user mode
Usage Guidelines Use this command to query the details of blacklists of main control cards and the other cards.
Examples The following example shows how to query all blacklists: ZXAN(config)#sho control-panel anti-dos black-table ----------------------------MP mac-address
vlan
port
----------------------------NP mac-address
BLACK-TABLE-----------------------------------onu-sn
state
PktIn
Drop
BLACK-TABLE------------------------------------
port
onu-sn
state
PktIn
Drop
-------------------------------------------------------------------------------
Related Commands None
34-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 34 Control Panel Safety Commands
34.10 show control-panel anti-dos black-table slot Syntax show control-panel anti-dos black-table slot number1
Function This command queries the blacklist of a card in a specified slot.
Parameters Parameter
Description
Value
number1
Slot number
1–22
Mode All modes except user mode
Usage Guidelines If the card in the specified slot is out of service or the card in the slot does not support blacklist, an error message is displayed.
Examples The following example shows how to query the blacklist of the card in slot 5: show control-panel anti-dos black-table slot 5 %Code 52528: SAFEGUARD - card is not in service or not supported.
Related Commands None
34.11 show control-panel configure Syntax show control-panel configure
Function This command queries the basic configuration of the control panel.
Parameters None
34-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode All modes except user mode
Usage Guidelines The basic configuration of the control panel only contains the packet rate limit configuration and anti-DoS attack configuration.
Examples The following example shows how to query the basic configuration of the control panel: sho control-panel configure packet-limit arp 10 anti-dos disable anti-dos drop disable anti-dos drv-limit enable anti-dos limit-num 100 anti-dos blocking-time 1 anti-dos shutdown-time 0 -------------------------------------------------------------------------
Related Commands 34.13 show cpu queue
34.12 show control-panel packet-limit statistics slot Syntax show control-panel packet-limit statistics slot number1
Function This command queries the packet statistics of the card in a specific slot.
Parameters Parameter
Description
Value
number1
Slot number
1–22
Mode All modes except user mode
Usage Guidelines If the specified card is out of service or does not support packet rate limiting, an error message is displayed. 34-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 34 Control Panel Safety Commands
Examples The following example shows how to query the statistics of packets of the card in slot 5: show control-panel packet-limit statistics slot 5 %Code 52528: SAFEGUARD - card is not in service or not supported.
Related Commands
34.13 show cpu queue Syntax show cpu queue
Function This command displays the queue rate limits of the CPU.
Parameters None
Mode All modes except user mode
Usage Guidelines Use this command to query the rate limits of queues in the CPU.
Examples The following example shows how to display a list of queue rate limits: ZXAN(config)#sho cpu queue -----------------------------------------------------------------------QueueId
Ratelimit
0
256
1
300
2
300
3
100
4
300
5
300
6
300
7
300
------------------------------------------------------------------------
34-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 34.7 cpu
34.14 show cpu queue statistics Syntax show cpu queue statistics
Function This command displays the statistics of packets received by each CPU queue.
Parameters None
Mode All modes except user mode
Usage Guidelines Use this command to query the count of packets received by each CPU queue.
Examples The following example shows how to display the statistics of packets received by all CPU queues: -----------------------------------------------------------------------QueueId
RecvPkts
0
0
1
0
2
0
3
0
4
0
5
0
6
0
7
0
------------------------------------------------------------------------
Related Commands None
34-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 35
NTP Configuration Commands Table of Contents debug ntp all ............................................................................................................35-1 debug ntp error.........................................................................................................35-2 debug ntp event .......................................................................................................35-3 ntp alarm-threshold ..................................................................................................35-3 ntp authenticate........................................................................................................35-4 ntp authentication-key ..............................................................................................35-5 ntp enable ................................................................................................................35-6 ntp master ................................................................................................................35-7 ntp poll-interval.........................................................................................................35-7 ntp server .................................................................................................................35-8 ntp source ................................................................................................................35-9 ntp trusted-key .......................................................................................................35-10 show ntp config ...................................................................................................... 35-11 show ntp status ......................................................................................................35-12
35.1 debug ntp all Syntax debug ntp all no debug ntp all
Function This command enables the debug function of all NTPs.
Parameters None
Mode Privileged mode: ZXAN#
35-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To disable the debug function of all NTPs, use the no form of this command.
Examples The following example shows how to enable the debug function of all NTPs: debug ntp all
Related Commands 35.3 debug ntp event 35.2 debug ntp error
35.2 debug ntp error Syntax debug ntp error no debug ntp error
Function This command enables the debug function of NTP error information.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the debug function of NTP error information, use the no form of this command.
Examples The following example shows how to enable the debug function of NTP error information: debug ntp error
Related Commands 35.1 debug ntp all 35.3 debug ntp event
35-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 35 NTP Configuration Commands
35.3 debug ntp event Syntax debug ntp event no debug ntp event
Function This command enables the NTP synchronization event debug function.
Parameters None
Mode Privileged mode: ZXAN#
Usage Guidelines To disable the NTP synchronization event debug function, use the no form of this command.
Examples The following example shows how to enable the NTP synchronization event debug function: debug ntp event
Related Commands 35.1 debug ntp all 35.2 debug ntp error
35.4 ntp alarm-threshold Syntax ntp alarm-threshold number1 no ntp alarm-threshold
Function This command configures the alarm threshold of the NTP synchronization time offset.
35-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Alarm threshold
Range: 7–65535 (sec)
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command configures the alarm threshold of the synchronization time offset for a time server. If the offset reaches the alarm threshold, an alarm will be sent. To reset the alarm threshold to the default value, use the no form of this command.
Examples The following example shows how to configure the alarm threshold of the NTP synchronization time offset as 10 seconds: ZXAN(config)#ntp alarm-threshold 10
Related Commands 35.7 ntp enable 35.14 show ntp status 35.13 show ntp config
35.5 ntp authenticate Syntax ntp authenticate no ntp authenticate
Function This command enables NTP authentication.
Parameters None
Mode Configuration mode: ZXAN (config)#
35-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 35 NTP Configuration Commands
Usage Guidelines This command is used to authenticate the destination server to be synchronized. For the server to be authenticated, a key that is available and trusted must be bound. To disable NTP authentication, use the no form of this command.
Examples The following example shows how to enable NTP authentication: ZXAN(config)#ntp authenticate
Related Commands 35.7 ntp enable 35.14 show ntp status 35.12 ntp trusted-key 35.10 ntp server
35.6 ntp authentication-key Syntax ntp authentication-key number1 md5 name1 no ntp authentication-key
Function This command configures the NTP authentication key.
Parameters Parameter
Description
Value
number1
Authentication key ID
Range: 1–255
Plain text of the authentication
-
name1
key
Mode Configuration mode: ZXAN (config)#
Usage Guidelines For the NTP authentication key configuration, the maximum length of the plain text of the authentication key is 16 bytes, and that of the Md5-encrypted cipher text is 32 bytes. For configuration viewing, only the cipher text is displayed. 35-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
To clear the authentication key, use the no form of this command.
Examples The following example shows how to configure the NTP authentication key: ZXAN(config)#ntp authentication-key 10 md5 ntpkey
Related Commands 35.7 ntp enable 35.14 show ntp status
35.7 ntp enable Syntax ntp enable no ntp enable
Function This command enables the NTP function.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is a master switch for all NTP functions. Other NTP commands are not effective until this function is configured. To disable the NTP function, use the no form of this command.
Examples The following example shows how to enable the NTP function: ZXAN(config)#ntp enable
Related Commands 35.10 ntp server 35.14 show ntp status 35.13 show ntp config 35-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 35 NTP Configuration Commands
35.8 ntp master Syntax ntp master number1 no ntp master
Function This command configures an NTP run server.
Parameters Parameter
Description
Value
number1
NTP server level
Range: 1–15
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command enables the NTP Server function for an NE and provides the time synchronization service. The lower the NTP server level, the more reliable the NTP server. Level 1 is reserved for the clock source of the root node and is not recommended for the configuration. It is recommended to configure from level 3. To clear the configuration, use the no form of this command.
Examples The following example shows how to configure the master level of an NTP run server as 5: ZXAN(config)#ntp master 5
Related Commands 35.7 ntp enable 35.14 show ntp status 35.13 show ntp config
35.9 ntp poll-interval Syntax ntp poll-interval number1 no ntp poll-interval 35-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command configures the interval of NTP request messages.
Parameters Parameter
Description
Value
number1
Interval of NTP request
Range: 20–86400 (sec)
messages
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command configures the interval of NTP request messages sent from an NE. If NT P enable and NTP server have been configured, the NTP request packets are sent to the server immediately. To reset the interval to the default value, use the no form of this command.
Examples The following example shows how to configure the interval of NTP request messages as 50 seconds: ZXAN(config)#ntp poll-interval 50
Related Commands 35.14 show ntp status 35.7 ntp enable 35.10 ntp server 35.13 show ntp config
35.10 ntp server Syntax ntp server ip_addr1 [{[priority number1 ] [version number2 ] [key-id [number3 ] ] [name1 ] } ] no ntp server ip_addr1
Function This command configures the IP address of the time server to be synchronized, and the version of the NTP protocol. 35-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 35 NTP Configuration Commands
Parameters Parameter
Description
Value
ip_addr1
IP address of remote destination
-
server. number1
Server priority. The higher the
Range: 1–255
server priority, the lower the synchronization priority. number2
NTP synchronization version
Range: 1–3
number. number3
NTP authentication key ID.
Range: 1–255
name1
Lock attribute of the server.
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Up to 5 remote server addresses can be configured. All the servers are configured with different priorities, the higher the server priority, the lower the synchronization priority. To delete the configured time server, use the no form of this command.
Examples The following example shows how to configure the IP address of the time server to be synchronized, and the version of the NTP protocol: ZXAN(config)#ntp server 10.1.1.1 priority 1 version 1
Related Commands 35.7 ntp enable 35.14 show ntp status 35.13 show ntp config
35.11 ntp source Syntax ntp source ip_addr1 no ntp source
Function This command configures the source address of NTP messages. 35-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
Source IP address
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The source IP address of NPT messages sent from an NE must be specified.
Examples The following example shows how to configure the source address of NTP messages: ZXAN(config)#ntp source 10.1.1.1
Related Commands 35.7 ntp enable 35.10 ntp server 35.14 show ntp status 35.13 show ntp config
35.12 ntp trusted-key Syntax ntp trusted-key number1 no ntp trusted-key number1
Function This command configures a trusted key.
Parameters Parameter
Description
Value
number1
Key ID
Range: 1–255
Mode Configuration mode: ZXAN (config)#
35-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 35 NTP Configuration Commands
Usage Guidelines If the server-associated key is untrusted, or does not exist, the authentication is not implemented. To delete the trusted key, use the no form of this command.
Examples The following example shows how to configure a trusted key: ZXAN(config)#ntp trusted-key 10
Related Commands 35.7 ntp enable 35.14 show ntp status
35.13 show ntp config Syntax show ntp config
Function This command displays basic NTP configurations.
Parameters None
Mode Any mode except user mode
Usage Guidelines This command only displays the most basic NTP configurations. Other information, for example, authentication key, can be viewed by using the show running-config command.
Examples ZXAN(config)#show ntp config NTP: disabled authenticate: disabled alarm-threshold: 7 ntp poll-interval: 300 ntp master: disable
35-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 35.14 show ntp status
35.14 show ntp status Syntax show ntp status
Function This command displays the running status of the NTP.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the running status of the 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 root dispersion is 0.00
msec
msec, peer dispersion is 0.00 msec
Related Commands 35.7 ntp enable 35.10 ntp server
35-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36
QoS Commands Table of Contents Global Commands....................................................................................................36-1 Ethernet Port Commands .......................................................................................36-10 User Port Commands .............................................................................................36-16 Show Commands ...................................................................................................36-26
36.1 Global Commands 36.1.1 qos cos-to-cos-profile Syntax qos cos-to-cos-profile {name1 } [[cos0 number1 ] [cos1 number2 ] [cos2 number3 ] [cos3 number4 ] [cos4 number5 ] [cos5 number6 ] [cos6 number7 ] [cos7 number8 ] ] no qos cos-to-cos-profile {name1 }
Function This command creates a cos-to-cos profile, which represents the mapping relationship when the cos priority is revised according to the original packet’s cos.
Parameters Parameter
Description
Value
name1
Name of the profile to be created or deleted,
-
containing a maximum of 32 characters number1
Cos value after mapping
0–7
number2
Cos value after mapping
0–7
number3
Cos value after mapping
0–7
number4
Cos value after mapping
0–7
number5
Cos value after mapping
0–7
number6
Cos value after mapping
0–7
number7
Cos value after mapping
0–7
number8
Cos value after mapping
0–7
36-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The configuration prerequisite is that the profile has been created. The default cos values for cos 0 – 7 are 0, 1, 2, 3, 4, 5, 6, 7 respectively. To delete the profile, use the no form of this command.
Examples The following example displays how to create a cos-to-cos profile. In this example, the profile name is TEST, and the cos of the cos 0 packet is changed to 2: ZXAN(config)#qos cos-to-cos-profile test cos0 2
Related Commands 36.4.1 show qos cos-to-cos-profile
36.1.2 qos dscp-to-cos-profile Syntax qos dscp-to-cos-profile {name1 } range1 to number1 no qos dscp-to-cos-profile {name1 }
Function This command creates a dscp-to-cos profile, which represents the mapping relationship when the cos priority is revised according to the original packet’s dscp. The command is applicable to Ethernet interfaces, GPON ONUs, and DSL interfaces.
Parameters Parameter
Description
Value
name1
Name of the profile to be created to deleted,
-
containing a maximum of 32 characters range1
Original dscp value
0–63
number1
Cos value after mapping
0–7
Mode Configuration mode: ZXAN (config)#
36-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Usage Guidelines The configuration prerequisite that the profile has been created. The default cos priority of the 64 dscp lists (0–63) is as follows: l l l l l l l l
dscp0–7: cos0 dscp8–15: cos1 dscp16–23: cos2 dscp24–31: cos3 dscp32–39: cos4 dscp40–47: cos5 dscp48–55: cos6 dscp56–63: cos7
To delete the profile, use the no form of this command.
Examples The following example shows how to create a dscp-to-cos profile. In this example, the profile name is TEST, and the cos of dscp 0-8 packet is changed to 2: ZXAN(config)#qos dscp-to-cos-profile test 0-8 to 2
Related Commands 36.4.2 show qos dscp-to-cos-profile
36.1.3 qos dscp-to-drop-profile Syntax qos dscp-to-drop-profile {name1 } range1 to number1 no qos dscp-to-drop-profile {name1 }
Function This command creates a dscp-to-drop profile, which represents the mapping relationship when the drop-procedence is revised according to the original packet’s dscp.
Parameters Parameter
Description
Value
name1
Name of the profile to be
-
created to deleted, containing a maximum of 32 characters range1
Original dscp value
0–63
number1
Drop-procedence value after
0–2
mapping 36-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The configuration prerequisite that the profile has been created. drop-procedence values corresponding to dscp 0-63 are all 0.
The default
To delete the profile, use the no form of this command.
Examples The following example shows how to create a dscp-to-drop profile. In this example, the profile name is TEST, and the drop-procedence of dscp1 packet is changed to 2: ZXAN(config)#qos dscp-to-drop-profile test 1 to 2
Related Commands 36.4.3 show qos dscp-to-drop-profile
36.1.4 qos dscp-to-dscp-profile Syntax qos dscp-to-dscp-profile {name1 } range1 to number1 no qos dscp-to-dscp-profile {name1 }
Function This command creates a dscp-to-dscp profile, which represents the mapping relationship when the dscp-remark is revised according to the original packet’s dscp. This command is applicable to only Ethernet interfaces.
Parameters Parameter
Description
Value
name1
Name of the profile to be
-
created to deleted, containing a maximum of 32 characters range1
Original dscp value
0–63
number1
Dscp value after mapping
0–63
Mode Configuration mode: ZXAN (config)#
36-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Usage Guidelines The configuration prerequisite that the profile has been created. The default dscp-value values of the 64 dscp lists (0–63) are 0 to 63 respectively. To delete the profile, use the no form of this command.
Examples The following example shows how to create a dscp-to-dscp profile. In this example, the profile name is TEST, and dscp 1-10 are mapped to dscp 15: ZXAN(config)#qos dscp-to-dscp-profile test 1-10 to 15
Related Commands 36.4.4 show qos dscp-to-dscp-profile
36.1.5 qos eth-cos-local-map Syntax qos eth-cos-local-map cos0 number1 cos1 number2 cos2 number3 cos3 number4 cos4 number5 cos5 number6 cos6 number7 cos7 number8 no qos eth-cos-local-map
Function This command configures the mapping relationship of cos priority to local priority for an Ethernet type interface.
Parameters Parameter
Description
Value
number1
Local priority value mapped
0–7
from cos0 number2
Local priority value mapped
0–7
from cos1 number3
Local priority value mapped
0–7
from cos2 number4
Local priority value mapped
0–7
from cos3 number5
Local priority value mapped
0–7
from cos4 number6
Local priority value mapped
0–7
from cos5 36-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number7
Local priority value mapped
0–7
from cos6 number8
Local priority value mapped
0–7
from cos7
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is used in global configuration mode. By default, cos0-cos7 map to queue0-queue7 respectively. To restore the default mapping relationship from cos to the local priority, use the no form of this command.
Examples The following example shows how to configure the mapping relationship of cos priority to local priority in global mode. In this example, cos0 maps to queue 7 and cos1 maps to queue 5, and others use the defaults: 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 36.4.5 show qos eth-cos-local-map
36.1.6 qos queue-block-profile Syntax qos queue-block-profile {name1 } [queue-number {2 |4 |8 } ] [[queue0 number1 [number2 ] ] [qu eue1 number3 [number4 ] ] [queue2 number5 [number6 ] ] [queue3 number7 [number8 ] ] [queue4 number9 [number10 ] ] [queue5 number11 [number12 ] ] [queue6 number13 [number14 ] ] [queue7 number15 [number16 ] ] ] no qos queue-block-profile {name1 }
Function This command creates a queue-block profile, which configures the service queue number, queue scheduling mode and queue depth. This command is applicable to Ethernet interfaces, PON OLT interfaces, and DSL interfaces. Pay attention that an inappropriate queue depth setting may cause abnormal service. 36-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Parameters Parameter
Description
Value
name1
Name of the profile to be
-
created to deleted, containing a maximum of 32 characters 2
Two queues
-
4
Four queues
-
8
Eight queues
-
number1
Queue weight
0–63
number2
Queue depth
0–63
number3
Queue weight
0–63
number4
Queue depth
0–63
number5
Queue weight
0–63
number6
Queue depth
0–63
number7
Queue weight
0–63
number8
Queue depth
0–63
number9
Queue weight
0–63
number10
Queue depth
0–63
number11
Queue weight
0–63
number12
Queue depth
0–63
number13
Queue weight
0–63
number14
Queue depth
0–63
number15
Queue weight
0–63
number16
Queue depth
0–63
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Queue management includes the following items: Queue number: The queue number is configured in global configuration mode. The supported values are 2, 4, and 8, and the default is 8. If the queue number is two, it means that queue0 and queue1 are available. If the queue number is four, it means that queue0, queue1, queue2, and queue3 are available. If the queue number is eight, it means queue0 to queue7 are all available. 36-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Queue weight and depth: The system supports three queue scheduling modes: SP, WRR, and SP+WRR. The default scheduling mode is SP. If the weight is 0, the scheduling mode is the default mode SP, the priority of which is higher than that of WRR. For Ethernet interfaces, if queue depth needs to be configured, set it to a value between 5 and 14. The default 0 indicates that the system automatically selects the appropriate depth value. To delete the profile, use the no form of this command.
Examples The following example shows how to create a queue-block profile. In this example, queue0 weight is 20 and queue depth is 25: ZXAN(config)#qos queue-block-profile test queue0 20 25
Related Commands 36.4.7 show qos queue-block-profile
36.1.7 qos queue-map-profile Syntax qos queue-map-profile {name1 } {gemport-type |pvc-type |service-type |cos-queue-type [queu e-number {2 |4 |8 } ] [[cos0 number1 ] [cos1 number2 ] [cos2 number3 ] [cos3 number4 ] [cos4 number5 ] [cos5 number6 ] [cos6 number7 ] [cos7 number8 ] ] } no qos queue-map-profile {name1 }
Function This command creates a queue-map profile, which configures the service enqueue mapping relationship. The enqueue mode can be cos-queue, gemport, service-port, and pvc-queue. The pvc-queue enqueue mode can configured under pvc interfaces. The gemport and service-port enqueue modes can be configured under ONU interfaces. The cos-queue mapping is applicable to various user interfaces. This command is applicable to XPON OLT interfaces and XDSL interfaces.
36-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Parameters Parameter
Description
Value
name1
Name of the profile to be
-
created to deleted, containing a maximum of 32 characters gemport-type
Enqueue mode is gemport
-
pvc-type
Enqueue mode is pvc
-
service-type
Enqueue mode is service-type
-
cos-queue-type
Enqueue mode is cos-queue
-
2
Two queues
-
4
Four queues
-
8
Eight queues
-
number1
Queue number
0–7
number2
Queue number
0–7
number3
Queue number
0–7
number4
Queue number
0–7
number5
Queue number
0–7
number6
Queue number
0–7
number7
Queue number
0–7
number8
Queue number
0–7
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command must be used in global configuration mode. The enqueue mode must be specified. For the cos-queue mode, the number of queues can be configured, which can be 2, 4, or 8, and the default is 8. To delete the profile, use the no form of this command.
Examples The following example shows how to create a cos-queue profile. In this example, the profile name is TEST and cos0 is mapped to queue 7: ZXAN(config)#qos queue-map-profile test cos-queue-type cos0 7
Related Commands 36.4.8 show qos queue-map-profile 36-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
36.2 Ethernet Port Commands 36.2.1 qos cos default-cos Syntax qos cos default-cos number1 no qos cos default-cos
Function This command marks the default cos priority of the current interface, which will be used to mark the cos priority of untagged messages. The configuration is only applicable to the specified interface.
Parameters Parameter
Description
Value
number1
Default cos priority
0–7
Mode L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)# and others
Usage Guidelines Use this command under the required interface. To restore the default priority 0, use the no form of this command.
Examples The following example shows how to set the default cos value to 7 under Ethernet interface 19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#qos cos default-cos 7
Related Commands 36.4.6 show qos interface
36.2.2 qos cos dscp-remark Syntax qos cos dscp-remark {name1 } 36-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
no qos cos dscp-remark
Function This command indicates that the cos marking of the current interface is subject to the specified dscp-to-cos profile. The prerequisite is that the dscp-to-cos profile has been created. The configuration is only applicable to the specified interface. This configuration mode takes effect only when dscp is trusted.
Parameters Parameter
Description
Value
name1
Name of a created dscp-to-cos
-
profile
Mode L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)#, and others
Usage Guidelines Before using this command, create a dscp-to-cos profile and then set the mapping relation. To delete the configured profile, use the no form of this command. After deletion, the interface uses the default profile.
Examples The following example shows how to configure the cos dscp-remark profile to TEST for Ethernet interface 19/1 (the dscp-to-cos profile TEST has been created): ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#qos cos dscp-remark TEST
Related Commands 36.4.6 show qos interface
36.2.3 qos drop-procedence Syntax qos drop-procedence {name1 } no qos drop-procedence
Function This command configures the dscp-to-drop profile for an Ethernet interface. 36-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The prerequisite is that the dscp-to-drop profile has been created. This configuration mode takes effect only when dscp is trusted.
Parameters Parameter
Description
Value
name1
Name of a created dscp-to-drop
-
profile
Mode L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)#, and others
Usage Guidelines Before using this command, create a dscp-to-drop profile and then set the mapping relation To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the dscp-to-drop profile to TEST for Ethernet interface 19/1 (the profile TEST has been created): ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#qos drop-procedence TEST
Related Commands 36.4.6 show qos interface
36.2.4 qos dscp dscp-remark Syntax qos dscp dscp-remark {name1 } no qos dscp dscp-remark
Function This command indicates that the dscp marking of the current interface is subject to the specified dscp-to-dscp profile. The prerequisite is that the dscp-to-dscp profile has been created. This configuration mode takes effect only when dscp is trusted.
36-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Parameters Parameter
Description
Value
name1
Name of a created dscp-to-dscp
-
profile
Mode L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)#, and others
Usage Guidelines Before using this command, create a dscp-to-dscp profile and then set the mapping relation. To delete the configured profile, use the no form of this command.
Examples The following example shows how to configure the dscp dscp-remark profile to TEST for Ethernet interface 19/1 (the dscp-to-dscp profile TEST has been created): ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#qos dscp dscp-remark TEST
Related Commands 36.4.6 show qos interface
36.2.5 qos queue-block-profile Syntax qos queue-block-profile {name1 } no qos queue-block-profile
Function This command configures the queue-block profile for an interface. The configuration is only applicable to the specified interface. The prerequisite is that the queue-block profile has been created.
Parameters Parameter
Description
Value
name1
Name of a created queue-block
-
profile 36-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)# , and other modes
Usage Guidelines Before configuration, create the queue-block profile, configure the queue properties, and then apply it on the interface. To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the queue-block-profile to TEST for Ethernet interface 19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#qos queue-block-profile TEST
Related Commands 36.4.6 show qos interface 36.2.5 qos queue-block-profile
36.2.6 qos traffic-shape Syntax qos traffic-shape rate-limit number1 bucket-size number2 no qos traffic-shape
Function This command configures the Ethernet traffic shaping function on an interface to avoid the impact of heavy traffic on the network.
Parameters Parameter
Description
Value
number1
Limit rate; unit: kbps
64–10000000
number2
Bucket size; unit: kbytes
4–16000
Mode L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)#, and others
36-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Usage Guidelines Use this command directly under the interface as required. To cancel the setting, use the no form of this command.
Examples The following example shows how to set the traffic shape rate to 10 M on Ethernet interface 19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#qos traffic-shape rate-limit 10240 buckte-size 1000
Related Commands 36.4.6 show qos interface
36.2.7 qos trust Syntax qos trust {dscp |cos }
Function This command configures the reference object for the priority marking under the current interface. By default, the reference object is cos. The configuration is only applicable to the specified interface.
Parameters Parameter
Description
Value
dscp
Configures the reference object to dscp
-
cos
Configures the reference object to cos
-
Mode L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)#, and others
Usage Guidelines Configure the trust mode directly under the interface mode.
Examples The following example shows how to set the trust mode to dscp for Ethernet 19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#qos trust dscp
36-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 36.4.6 show qos interface
36.3 User Port Commands 36.3.1 qos cos cos-remark Syntax qos cos cos-remark {name1 } vport number1 no qos cos cos-remark vport number2
Function This command indicates that the cos marking of the current interface is subject to the specified cos-to-cos profile. The configuration is only applicable to the specified interface. The prerequisite is that the cos-to-cos profile has been created.
Parameters Parameter
Description
Value
name1
Name of a created cos-to-cos profile
-
number1
Vport number
1-128
number2
Vport number
1-128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines This command is applicable to GPON ONU interface. When the trusted reference object is cos and the default cos override is not configured, this profile takes effect. To cancel the setting, use the no form of this command.
Examples The following example shows how to configure the cos-remark profile to TEST for gpon-onu_1/16/1:1 (the cos-to-cos profile TEST has been created): ZXAN(config)#interface gpon-onu_1/16/1:1 ZXAN(config-if)#qos cos cos-remark TEST vport 1
Related Commands 36.4.6 show qos interface 36-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
36.1.1 qos cos-to-cos-profile
36.3.2 qos cos default-cos Syntax qos cos default-cos number1 [override ] vport number2 no qos cos default-cos vport number3
Function This command marks the default cos priority for the accessed untagged packets. The cos-filter configuration is subject to this priority setting. This command allows the override configuration item. With this configuration item, the default cos priority forcibly changes the original one. The override mode has a higher priority level than the cos-remark mode.
Parameters Parameter
Description
Value
number1
Default cos priority of vport
0–7
override
Indicates that the default priority is used to
-
forcibly change the cos field of the packet. This configuration takes effect when cos is trusted. number2
Vport number
1-128
number3
Vport number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines Before using this command, create a vport under the ONU interface and then set the default priority for the vport. By default, the default priority of a vport is 0. To delete the setting, use the no form of this command. After deletion, the default priority of the port is 0.
Examples The following example shows how to forcibly change the cos value of vport1 under gpon-onu_1/16/1:1 to 6: ZXAN(config)#interface gpon-onu_1/16/1:1 ZXAN(config-if)#qos cos default-cos 6 override vport 1
36-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 36.4.6 show qos interface
36.3.3 qos cos dscp-remark Syntax qos cos dscp-remark {name1 } vport number1 no qos cos dscp-remark vport number2
Function This command indicates that the cos marking of the current interface is subject to the specified dscp-to-cos profile. The prerequisite is that the dscp-to-cos profile has been created.
Parameters Parameter
Description
Value
name1
Name of a created dscp-to-cos profile
-
number1
Vport number
1-128
number2
Vport number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines This command is configured for GPON ONU interfaces. It remarks the profile used for dscp-to-cos mapping by the vport. The profile takes effect when the trusted reference object is dscp. To cancel the setting, use the no form of this command. After deletion, the default dscp-cos profile is used.
Examples The following example shows how to configure the dscp-remark profile to TEST for gpon-onu_1/16/1:1 (the dscp-to-cos profile TEST has been created): ZXAN(config)#interface gpon-onu_1/16/1:1 ZXAN(config-if)#qos cos dscp-remark TEST vport 1
Related Commands 36.4.6 show qos interface 36.1.2 qos dscp-to-cos-profile 36-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
36.3.4 qos cos-filter Syntax qos cos-filter {disable |enable } vport number1
Function When the cos-filter function is enabled and the cos value of the ingress packet is consistent with the default priority of the interface, this packet is permitted; other wise, the packet is discarded. Only GPON cards support this function.
Parameters Parameter
Description
Value
disable
Enables the cos filter function
-
enable
Disables the cos filter function
-
number1
Vport number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines Create a vport under the ONU interface and then enable or disable the cos-filter function.
Examples The following example shows how to enable the cos-filter function for vport 1 under gpon-onu_1/16/1:1: ZXAN(config)#interface gpon-onu_1/16/1:1 ZXAN(config-if)#qos cos-filter enable vport 1
Related Commands 36.4.6 show qos interface
36.3.5 qos egress-cos cos-remark Syntax qos egress-cos cos-remark {name1 } vport number1 no qos egress-cos cos-remark vport number2
36-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command remarks the cos-to-cos profile for a vport in egress direction. prerequisite is that the dscp-to-cos profile has been created.
The
Parameters Parameter
Description
Value
name1
Name of a created cos-to-cos-profile to be
-
used in egress direction number1
Vport number
1–128
number2
Vport number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines This command is applicable to GPON ONU interface. When the vport trust mode is cos, and the default egress-cos override is not configured for egress-cos, this profile takes effect. To cancel the setting, use the no form of this command.
Examples The following example shows how to set the egress-cos-remark profile to TEST for vport under interface gpon-onu_1/16/1:1 (the cos-to-cos profile TEST has been created): ZXAN(config)#interface gpon-onu_1/16/1:1 ZXAN(config-if)#qos egress-cos cos-remark TEST vport 1
Related Commands 36.4.6 show qos interface 36.1.1 qos cos-to-cos-profile
36.3.6 qos egress-cos default-cos Syntax qos egress-cos default-cos number1 [override ] vport number2 no qos egress-cos default-cos vport number3
Function This command marks the default priority of the egress on the specified interface. It is used for forcibly modifying the egress priority. 36-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Parameters Parameter
Description
Value
number1
Default priority of vport in egress direction
0–7
override
Indicates that the cos in egress direction is
-
forcibly modified number2
Vport number
1–128
number3
Vport number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines Before using this command, create the vport under the ONU interface, set the default egress priority. In the egress direction, the default priority takes effect only when the override rule is used. To restore the default 0, use the no form of this command
Examples The following example shows how to forcibly modify the egress-cos value of vport1 under interface gpon-onu_1/16/1:1 to 6: ZXAN(config)#interface gpon-onu_1/16/1:1 ZXAN(config-if)#qos egress-cos default-cos 6 override vport 1
Related Commands 36.4.6 show qos interface
36.3.7 qos egress-cos dscp-remark Syntax qos egress-cos dscp-remark {name1 } vport number1 no qos egress-cos dscp-remark vport number2
Function This command remarks the dscp-to-cos profile for a vport in egress direction. prerequisite is that the dscp-to-cos profile has been created.
The
36-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Name of a created dscp-to-cos profile to be
-
used in egress direction number1
Vport number
1–128
number2
Vport number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines This command is applicable to GPON ONU interfaces. When the vport trust mode is dscp, and the parameter egress-cos override is not configured, this profile takes effect. To cancel the setting, use the no form of this command.
Examples The following example shows how to set the dscp-remark profile to TEST for vport under interface gpon-onu_1/16/1:1 (the dscp-to-cos profile TEST has been created): ZXAN(config)#interface gpon-onu_1/16/1:1 ZXAN(config-if)#qos cos dscp-remark TEST vport 1
Related Commands 36.4.6 show qos interface 36.1.2 qos dscp-to-cos-profile
36.3.8 qos queue-block-profile Syntax qos queue-block-profile {name1 } no qos queue-block-profile
Function This command configures the queue-block profile used by a port. The prerequisite is that the queue-block profile has been created. The profile specifies the service queue number, scheduling mode, and depth. T The system supports three queue scheduling modes: SP, SP+WRR, and WRR. The default is SP scheduling mode.
36-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Parameters Parameter
Description
Value
name1
Name of a created queue-block-profile
-
Mode gpon olt interface mode, epon olt interface mode
Usage Guidelines Before using this command, create a queue-block profile and then apply it on the interface. To delete the configuration, use the no form of this command.
Examples The following example shows how to configure the queue block profile to TEST for GPON OLT interface 1/6/1 (the profile TEST has been created): ZXAN(config)#interface gpon-olt_1/6/1 ZXAN(config-if)#qos queue-block-profile TEST
Related Commands 36.4.6 show qos interface 36.3.8 qos queue-block-profile
36.3.9 qos queue-map-profile Syntax qos queue-map-profile {name1 } no qos queue-map-profile
Function This command configures the queue-map profile for an interface. The prerequisite is that the profile has been created. The service enqueue mapping relationship can be cos-queue mapping relationship or service-type mapping relationship. The default is cos-queue mapping. The system supports only cos-queue mapping.
Parameters Parameter
Description
Value
name1
Name of a created queue-map profile
-
Mode gpon olt interface mode, epon olt interface mode 36-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines Before using this command, create a queue-map profile and then apply it on the interface. To delete the configuration, use the no form of this command.
Examples The following example shows how to configure the queue-map profile to TEST for GPON OLT interface 1/6/1 (the profile TEST has been created): ZXAN(config)#interface gpon-olt_1/6/1 ZXAN(config-if)#qos queue-map-profile TEST
Related Commands 36.4.6 show qos interface 36.3.9 qos queue-map-profile
36.3.10 qos traffic-shape (epon olt interface mode) Syntax qos traffic-shape rate-limit number1 bucket-size number2 no qos traffic-shape
Function This command configures the traffic shaping function of an interface to avoid impact of heavy traffic on the interface. Only 10G EPON cards support this function.
Parameters Parameter
Description
Value
number1
Limit rate, in kbps
64–1000000
number2
Bucket size, in kbytes
4–16000
Mode epon olt interface mode
Usage Guidelines Use this command directly under the interface. To cancel the setting, use the no form of this command.
36-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Examples The following example shows how to set the rate of traffic shaping to 10 M under EPON OLT interface 1/13/1: ZXAN(config)#interface epon-olt_1/13/1 ZXAN(config-if)#qos traffic-shape rate-limit 10240 buckte-size 1000
Related Commands 36.4.6 show qos interface
36.3.11 qos trust Syntax qos trust {cos |dscp } vport number1
Function This command configures the reference object for the priority remarking under the current interface. If the reference object is cos, the priorities in descending order are: override, cos-remark, and trust. If the reference object is dscp, the priority is revised according to the dscp-cos mapping relation. The configuration is only applicable to the specified interface. The cos priority remarking is implemented respectively on the uplink and downlink.
Parameters Parameter
Description
Value
cos
Reference object is cos
-
dscp
Reference object is dscp
-
number1
Vport number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines Before using this command, create the vport in the ONU first.
Examples The following example shows how to set the qos trust mode to dscp for vport1 under interface gpon_onu_1/3/1:1: ZXAN(config-if)#qos trust dscp vport 1
36-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 36.4.6 show qos interface
36.4 Show Commands 36.4.1 show qos cos-to-cos-profile Syntax show qos cos-to-cos-profile [name1 ]
Function This command displays the information of a cos-to-cos profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode Any mode except user mode
Usage Guidelines If the profile name is not specified, the system displays the name list of all the profiles.
Examples The following example shows how to display the information of the cos-to-cos profile named CTCP: ZXAN(config-if)#show qos cos-to-cos-profile ctcp -----------------------------------------------------------------------------profile name
: CTCP
profile detail : ------------------------------------------------------------------------------- cos
:
0
1
2
3
4
5
6
7
---- priority :
7
1
2
3
4
5
6
7
profile used by :
Related Commands 36.1.1 qos cos-to-cos-profile
36-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
36.4.2 show qos dscp-to-cos-profile Syntax show qos dscp-to-cos-profile [name1 ]
Function This command displays the information of a dscp-to-cos profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode Any mode except user mode
Usage Guidelines If the profile name is not specified, the system displays the name list of all the profiles.
Examples The following example shows how to display the information of the dscp-to-cos profile named DTCP: ZXAN(config-if)#show qos dscp-to-cos dtcp -----------------------------------------------------------------------------profile name
: DTCP
profile detail : ---------------------------------------------------------------------------dscp list
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cos value
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
---------------------------------------------------------------------------dscp list
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cos value
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
---------------------------------------------------------------------------dscp list
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cos value
4
4
4
4
4
4
4
4
5
5
5
5
5
5
5
5
---------------------------------------------------------------------------dscp list
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
cos value
6
6
6
6
6
6
6
6
7
7
7
7
7
7
7
7
profile used by :
Related Commands 36.1.2 qos dscp-to-cos-profile 36-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
36.4.3 show qos dscp-to-drop-profile Syntax show qos dscp-to-drop-profile [name1 ]
Function This command displays the information of a dscp-to-drop profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode Any mode except user mode
Usage Guidelines If the profile name is not specified, the system displays the name list of all the profiles.
Examples The following example shows how to display the information of the dscp-to-drop profile named CTDP: ZXAN(config-if)#show qos dscp-to-drop-profile DTDP -----------------------------------------------------------------------------profile name
: DTDP
profile detail : ---------------------------------------------------------------------------dscp list
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
drop value 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
---------------------------------------------------------------------------dscp list
16
drop value 0
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
---------------------------------------------------------------------------dscp list
32
drop value 0
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
---------------------------------------------------------------------------dscp list
48
drop value 0
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
profile used by :
Related Commands 36.1.3 qos dscp-to-drop-profile 36-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
36.4.4 show qos dscp-to-dscp-profile Syntax show qos dscp-to-dscp-profile [name1 ]
Function This command displays the information of a dscp-to-dscp profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode Any mode except user mode
Usage Guidelines If the profile name is not specified, the system displays the name list of all the profiles.
Examples The following example shows how to display the information of the cos-to-cos profile named DTDP: ZXAN(config-if)#show qos dscp-to-dscp-profile DTDP -----------------------------------------------------------------------------profile name
: DTDP
profile detail :
-------------------------------------------------------------------------------------------------dscp list
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dscp value
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-------------------------------------------------------------------------------------------------dscp list
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
dscp value
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-------------------------------------------------------------------------------------------------dscp list
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
dscp value
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-------------------------------------------------------------------------------------------------dscp list
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
dscp value
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
profile used by :
Related Commands 36.1.4 qos dscp-to-dscp-profile 36-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
36.4.5 show qos eth-cos-local-map Syntax show qos eth-cos-local-map
Function This command displays the information of the eth-cos-local-map mapping table.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the information of the eth-cos-local-map mapping table: ZXAN(config)#show qos eth-cos-local-map ----------------------------------cos value
0
1
2
3
4
5
6
7
queue ID
1
0
2
3
4
5
6
7
Related Commands 36.1.5 qos eth-cos-local-map
36.4.6 show qos interface Syntax show qos interface {interface1 }
Function This command displays the QoS information of an interface.
Parameters Parameter
Description
Value
interface1
Interface number
-
36-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
Mode Any mode except user mode
Usage Guidelines show qos interface {port-name}
Examples The following example shows how to display the QoS information: ZXAN(config-if)#show qos interface gei_1/21/1 qos queue-block-profile CHD qos traffic-shape rate-limit 10240 bucket-size 512
Related Commands All QoS configuration commands
36.4.7 show qos queue-block-profile Syntax show qos queue-block-profile [name1 ]
Function This command displays the configuration information of a queue-block profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode Any mode except user mode
Usage Guidelines If the profile name is not specified, the system displays the name list of all the profiles.
Examples The following example shows how to display the configuration information of a queue-bloc profile: 1. ZXAN(config)#show qos queue-block-profile NOTE! _DEFAULT_QUEUE_BLOCK_PROFILE can't be modified or deleted. ---------------------------------------------------------
36-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference No. 1 profile : _DEFAULT_QUEUE_BLOCK_PROFILE --------------------------------------------------------No. 2 profile : QBP
2. ZXAN(config)#show qos queue-block-profile qbp ---------------------------------------------------------------------profile name
: QBP
profile detail : ---------------------------------------queue-number :
8
queue-id
0
1
2
queue-weight :
0
0
0
0
0
0
0
0
queue-depth
12 24 0
0
0
0
0
0
:
:
3
4
5
6
7
---------------------------------------profile used by :
Related Commands 36.1.6 qos queue-block-profile
36.4.8 show qos queue-map-profile Syntax show qos queue-map-profile [name1 ]
Function This command displays the information of a queue-map profile.
Parameters Parameter
Description
Value
name1
Profile name
-
Mode Any mode except user mode
Usage Guidelines If the profile name is not specified, the system displays the name list of all the profiles.
Examples The following example shows how to display the configuration information of a queue-map profile: 36-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 36 QoS Commands
1. ZXAN(config)#show qos queue-map-profile NOTE! _DEFAULT_QUEUE_MAP_PROFILE can't be modified or deleted. --------------------------------------------------------No. 1 profile : _DEFAULT_QUEUE_MAP_PROFILE --------------------------------------------------------No. 2 profile : QMP ZXAN(config)#
2. ZXAN(config)#show qos queue-map-profile qmp ----------------------------------------------------------profile name
: QMP
profile detail : ---------------------------------------queue-map
:
cos-queue-type
queue-number :
8
cos-value
:
0
1
2
3
4
5
6
7
cos-queue-map:
1
2
3
4
3
2
1
0
---------------------------------------profile used by :
Related Commands 36.1.7 qos queue-map-profile
36-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
36-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 37
Traffic Profile Commands Table of Contents Global Commands....................................................................................................37-1 User Port Commands ...............................................................................................37-2 Show Commands .....................................................................................................37-4
37.1 Global Commands 37.1.1 traffic-profile Syntax traffic-profile name1 ip cir number1 [cbs number2 ] pir number3 [pbs number4 ] [discard-mode name2 ] [color-mode name3 ] no traffic-profile name1
Function This command creates a traffic profile and configures the rate limit parameters for related interfaces and services.
Parameters Parameter
Description
Value
name1
Profile name
-
number1
Committed information rate, in kbps
0–10000000
number2
Committed burst size, in kbytes
0–1023
number3
Peak information rate, in kbps
0–10000000
The value must not be less than the committed information rate. number4
Peak burst size, in kbytes
0–1023
The value must not be less than the committed information size name2
Discard with or without precedence
-
name3
Color mode, which can be color-blind or
-
color-sensitive 37-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The traffic profile must be created so that the rate can be limited for interfaces and services. No default profile is available.
Examples The following example shows how to create a traffic profile named 10M: ZXAN(config)#traffic-profile 10M
ip cir 10240 cbs 256 pir 10240 pbs 256
Related Commands 37.3.1 show traffic-profile
37.2 User Port Commands 37.2.1 traffic-profile (wdm-pon-onu interface mode) Syntax traffic-profile name1 direction name2 no traffic-profile name1 direction name3
Function This command configures a traffic profile for a PON interface.
Parameters Parameter
Description
Value
name1
Profile name
-
name2
Application direction; only egress direction is
-
supported. name3
Application direction; only egress direction is
-
supported.
Mode wdm-pon-onu interface mode, gpon olt interface mode
37-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 37 Traffic Profile Commands
Usage Guidelines The traffic profile must be created so that the interfaces can use it. Currently, OLT interfaces support only the profile application in egress direction.
Examples The following example shows how to set the traffic profile to TEST for the interface gpon-olt_1/5/1 in egress direction:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)#traffic-profile test direction egress
Related Commands 37.2.1 traffic-profile (wdm-pon-onu interface mode) 37.3.1 show traffic-profile
37.2.2 traffic-profile(gpon onu interface mode) Syntax traffic-profile name1 vport number1 direction name2 no traffic-profile name1 vport number2 direction name3
Function This command configures a traffic profile used by a vport under an ONU interface
Parameters Parameter
Description
Value
name1
Name of a created traffic profile
-
number1
Vport number
1–128
name2
Application direction, which can
-
be egress or ingress number2
Vport number
1-128
name3
Direction to cancel the
-
application, which can be egress or ingress
Mode gpon onu interface mode 37-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines The traffic profile must be created so that the interfaces can use it. The vport traffic profile in egress and ingress directions can be configured.
Examples The following example shows how to configure the traffic profile in ingress direction to TEST for vport 1 under the interface gpon-onu_1/5/1:1 :
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#traffic-profile test vport 1 direction ingress
Related Commands 37.2.1 traffic-profile (wdm-pon-onu interface mode) 37.3.1 show traffic-profile
37.3 Show Commands 37.3.1 show traffic-profile Syntax show traffic-profile [{interface interface1 |name1 } ]
Function This command displays the information of all traffic profiles, contents of the traffic profile with a specified name, or the configured traffic profiles under a specified interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
name1
Profile name
-
Mode Any mode except user mode
Usage Guidelines If the profile name is not specified, the system displays the information of all the traffic profiles. If the profile name is specified, the profile contents are displayed. 37-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 37 Traffic Profile Commands
If the interface type is specified, the configured traffic profiles under the interface are displayed.
Examples The following example shows all traffic profiles: All Existing Traffic Profiles: ---------------------------------------------------------------------------------------------AA
The following example shows the contents of the traffic profile named test: committed information rate : 1kbps committed burst size
: 1kbytes
peak information rate
: 1kbps
peak burst size
: 1kbytes
discard mode
: no distinction
color mode
: blind
profile used by: Gpon-olt_1/3/1
egress
The following example shows the information about the traffic profile under the interface Gpon-onu_1/3/1:1: traffic-profile AA vport 1 direction ingress
Related Commands 37.1.1 traffic-profile
37-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
37-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38
MSTP Commands Table of Contents instance ...................................................................................................................38-2 name........................................................................................................................38-3 revision ....................................................................................................................38-3 show spanning-tree inconsistentports.......................................................................38-4 show spanning-tree instance ....................................................................................38-5 show spanning-tree interface....................................................................................38-6 show spanning-tree mst configuration ......................................................................38-7 show spanning-tree statistics....................................................................................38-8 show spanning-tree transparent ...............................................................................38-9 spanning-tree bpduguard action .............................................................................38-10 spanning-tree disable (Ethernet interface mode) .................................................... 38-11 spanning-tree disable .............................................................................................38-12 spanning-tree edged-port .......................................................................................38-12 spanning-tree enable (Ethernet interface mode) .....................................................38-13 spanning-tree enable..............................................................................................38-14 spanning-tree forward-delay ...................................................................................38-15 spanning-tree guard loop instance..........................................................................38-15 spanning-tree guard root instance ..........................................................................38-16 spanning-tree hello-time .........................................................................................38-17 spanning-tree linktype ............................................................................................38-18 spanning-tree max-age...........................................................................................38-18 spanning-tree mcheck ............................................................................................38-19 spanning-tree mode ...............................................................................................38-20 spanning-tree mst configuration .............................................................................38-21 spanning-tree mst hmd5-digest ..............................................................................38-21 spanning-tree mst hmd5-key ..................................................................................38-22 spanning-tree mst instance (Ethernet interface mode)............................................38-23 spanning-tree mst instance ....................................................................................38-24 spanning-tree mst max-hops ..................................................................................38-25 spanning-tree packet-type ......................................................................................38-26 spanning-tree transparent ......................................................................................38-27
38-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
38.1 instance Syntax instance number1 vlans range1 no instance number1
Function This command creates an instance in MSTP mode, and maps it to the corresponding VLAN table.
Parameters Parameter
Description
Value
number1
Instance ID
Range: 1–16
range1
VLAN mapping table
-
Mode MSTP mode: ZXAN(config-mstp)#
Usage Guidelines Instance 0 exists permanently and can not be deleted; therefore, it is unnecessary to create this instance. An mst_config_id consists of the MST configuration name, MST configuration version number, and configuration summary. The configuration summary is a 16-byte MD5-encrypted signature generated by the corresponding VLAN mapping table of the instance ID. The adjacent bridges with the same mst_config_id can form an MST area. To delete the instance, use the no form of this command.
Examples The following example shows how to create instance 1 in MSTP mode, and map it to the corresponding VLAN 10–20 tables: ZXAN(config)#spanning-tree mst configuration ZXAN(config-mstp)#instance 1 vlans 10-20
Related Commands 38.7 show spanning-tree mst configuration 38.24 spanning-tree mst configuration
38-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
38.2 name Syntax name [name1 ] no name
Function This command configures an MSTP domain name.
Parameters Parameter
Description
Value
name1
MSTP domain name
-
Mode MSTP mode: ZXAN(config-mstp)#
Usage Guidelines When configuring STP mode as MSTP mode, if it is necessary to configure switches in one area, this parameter must be configured to keep the configuration of each switch the same.
Examples The following example shows how to configure the MSTP domain name as zte: ZXAN(config-mstp)#name zte
Related Commands 38.7 show spanning-tree mst configuration 38.24 spanning-tree mst configuration
38.3 revision Syntax revision number1 no revision
Function This command sets an MSTP configuration version number. 38-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Configuration version number
Range: 0–65535 Default: 0
Mode MSTP mode: ZXAN(config-mstp)#
Usage Guidelines When configuring STP mode as MSTP mode, if it is necessary to configure switches in one area, this parameter must be configured to keep the configuration of each switch the same. To reset the configuration version number to the default value, use the no form of this command.
Examples The following example shows how to set the MSTP configuration version number to 10: ZXAN(config)#spanning-tree mst configuration ZXAN(config-mstp)#revision 10
Related Commands 38.7 show spanning-tree mst configuration 38.24 spanning-tree mst configuration
38.4 show spanning-tree inconsistentports Syntax show spanning-tree inconsistentports
Function This command displays information about the ports that are protected by the root port or blocked by loopback.
Parameters None
Mode Any mode 38-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Usage Guidelines None
Examples The following example shows how to display information about the ports that are protected by the root port or blocked by loopback: ZXAN#show spanning-tree inconsistentports Mst Instance
interface
Name
name
Inconsistency
-------------------------------------------------------------------MST00
gei_1/19/1
Root Inconsistent
Related Commands 38.5 show spanning-tree instance 38.6 show spanning-tree interface
38.5 show spanning-tree instance Syntax show spanning-tree instance number1
Function This command displays information about an instance and its ports.
Parameters Parameter
Description
Value
number1
Instance ID
Range: 0–16
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display information about instance 0: ZXAN#show spanning-tree instance 0
MST00
38-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Spanning tree enabled protocol MSTP Root
ID:
Priority
32768;
Address
00d0.d082.5005
Hello-Time
2
Max-Age
20 sec
Forward-Delay
15 sec;
sec;
RegRootID: Priority
32768;
Address
00d0.d082.5005
BridgeID:
Priority
32768;
Address
00d0.d082.5005
Hello-Time
2
Max-Age
20 sec
Forward-Delay
15 sec;
Max-Hops
Message-Age
0 sec;
RemainHops
Interface
Prio.Nbr
Name
Port ID
sec;
Cost
Sts
20 20
Role
LinkType
Bound
-------------------------------------------------------------------------gei_1/19/4
128.50
20000
Forward
Designated
p2p
MSTP
Related Commands 38.6 show spanning-tree interface
38.6 show spanning-tree interface Syntax show spanning-tree interface interface1
Function This command displays information about all the instances of a specified port.
Parameters Parameter
Description
Value
interface1
Port name
-
Mode Any mode
Usage Guidelines None
38-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Examples The following example shows how to display information about all the instances of the port gei_1/19/4: ZXAN#show spanning-tree interface gei_1/19/4 Mst Instance
Prio.Nbr
Name
Port ID
Cost
Sts
Role
-------------------------------------------------------------------MST00
128.50
20000
Forward
Designated
Related Commands 38.5 show spanning-tree instance
38.7 show spanning-tree mst configuration Syntax show spanning-tree mst configuration
Function This command displays configurations in MSTP mode.
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display configuration information about the current MST: ZXAN#show spanning-tree mst configuration spanning-tree mode: [MSTP] CISCO
Hmd5-key
: 0x12345678901234567890123456789012
CISCO
Hmd5-digest
: 0x12345678901234567890123456789012
HUAWEI
Hmd5-key
: 0x13ac06a62e47fd51f95d2ba243cd0346
HUAWEI
Hmd5-digest
: 0x00000000000000000000000000000000
Name
: []
Revision
: 0
38-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Instance
Vlans mapped
--------
--------------------------------------------------------
0
21-4094
2
1-10
10
11-20
Related Commands 38.5 show spanning-tree instance 38.6 show spanning-tree interface
38.8 show spanning-tree statistics Syntax show spanning-tree statistics interface1
Function This command displays the statistics for an STP port.
Parameters Parameter
Description
Value
interface1
Port name
-
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the statistics for the port gei_1/19/4: ZXAN#show
spanning-tree
statistic
of
port
statistics
gei_1/19/4
gei_1/19/4
-------------------------------------------------------------BPDU-related parameters -------------------------------------------------------------port spanning-tree
Enabled
edge_port
Disabled
state(instance 0)
Discard
port_priority(instance 0)
0x80
port_number
0x54
38-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands path cost (instance 0)
20000
designated_root
00-d0-d0-00-55-86
designated_ext_cost
0
designated_int_cost
0
designated_bridge
00-d0-d0-00-55-86
designated_port
0x8054
-------------------------------------------------------------PORT based information & statistics -------------------------------------------------------------All bpdu's xmitted
2
All bpdu's received
0
Mst bpdu's xmitted
2
Mst bpdu's received
0
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
discard bpdu
0
-------------------------------------------------------------spanning-tree based information & statistics -------------------------------------------------------------spanning-tree type
ieee
multicast_mac_addr
01-80-c2-00-00-00
bridge priority
32768
bridge mac address
00-d0-d0-00-55-86
bridge hello time
2
bridge forward delay
15 sec
bridge Max age
20 sec
bridge Max hop
20
sec
--------------------------------------------------------------
Related Commands 38.6 show spanning-tree interface
38.9 show spanning-tree transparent Syntax show spanning-tree transparent
Function This command displays the current status of the STP transparent transmission flag. 38-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters None
Mode Any mode
Usage Guidelines None
Examples The following example shows how to display the current status of the STP transparent transmission flag: ZXAN#show spanning-tree transparent transparent flag:disabled
Related Commands None
38.10 spanning-tree bpduguard action Syntax spanning-tree bpduguard action name1 no spanning-tree bpduguard action
Function This command configures a port's BPD guard for BPDU packets.
Parameters Parameter
Description
Value
name1
discard: Discards the packet
-
when receiving a BPDU packet via the port. shutdown: Shuts down the port when receiving a BPDU packet via the port.
Mode Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode 38-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Usage Guidelines By default, the BPDU guard function is disabled. This command is configured to protect the port against BPDU attacks.
Examples The following example shows how to configure a port's BPD guard for BPDU packets. In this example, the BPDU guard is configured for the port gei_1/19/1, and the port is shut down. ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#spanning-tree bpduguard action shutdown
Related Commands None
38.11 spanning-tree disable (Ethernet interface mode) Syntax spanning-tree disable
Function This command enables or disables participation of a port in spanning tree calculation.
Parameters None
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines By default, the interface configuration mode is disable.
Examples The following example shows how to disable participation of the port gei_1/19/1 in spanning tree calculation: ZXAN(config)#interface
gei_1/19/1
ZXAN(config-if)#spanning-tree
disable
Related Commands None 38-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
38.12 spanning-tree disable Syntax spanning-tree disable
Function This command disables STP.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global configuration mode is disable. If the STP protocol is disabled, the state of all the ports that are up physically is Forwarding.
Examples The following example shows how to disable the global STP protocol: ZXAN(config)#spanning-tree
disable
Related Commands None
38.13 spanning-tree edged-port Syntax spanning-tree edged-port name1
Function This command enables or disables an edged STP port.
38-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Parameters Parameter
Description
Value
name1
enable: Enables the edged STP
-
port. disable: Disables the edged STP port.
Mode Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines By default, a port is not an edged port. The port connected to a computer can be configured as an edged port by using this command. Then the specified port is in forwarding state or fast switches to the forwarding state.
Examples The following example shows how to configure the port gei_1/19/1 as an edged port: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#spanning-tree edged-port enable
Related Commands 38.20 spanning-tree linktype 38.30 spanning-tree packet-type
38.14 spanning-tree enable (Ethernet interface mode) Syntax spanning-tree enable
Function This command enables or disables participation of a port in spanning tree calculation.
Parameters None
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode 38-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines By default, the interface configuration mode is enable.
Examples The following example shows how to enable participation of the port gei_1/19/1 in spanning tree calculation: ZXAN(config)#interface
gei_1/19/1
ZXAN(config-if)#spanning-tree
enable
Related Commands None
38.15 spanning-tree enable Syntax spanning-tree enable
Function This command enables STP.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global configuration mode is disable.
Examples The following example shows how to enable the global STP protocol: ZXAN(config)#spanning-tree
enable
Related Commands None
38-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
38.16 spanning-tree forward-delay Syntax spanning-tree forward-delay number1 no spanning-tree forward-delay
Function This command configures the forwarding delay time of the STP protocol.
Parameters Parameter
Description
Value
number1
Forwarding delay time
Range: 4–30 (sec) Default: 15
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To reset the configured forwarding delay time to the default value, use the no form of this command.
Examples The following example shows how to configure the forwarding delay time as 16 seconds: ZXAN(config)#spanning-tree forward-delay 16
Related Commands 38.29 spanning-tree mst max-hops 38.19 spanning-tree hello-time
38.17 spanning-tree guard loop instance Syntax spanning-tree guard loop instance range1 no spanning-tree guard loop instance [range1 ]
Function This command configures the STP guard type of a port as loop. 38-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
range1
Instance range
Range: 0–16
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines Configuration errors can be avoided by using this command. By default, the loop or root guard is not configured for a port.
Examples The following example shows how to configure the guard type of the port gei_1/19/1 as loop: ZXAN(config)#interface
gei_1/19/1
ZXAN(config-if)#spanning-tree
guard
loop instance
0
Related Commands None
38.18 spanning-tree guard root instance Syntax spanning-tree guard root instance range1 no spanning-tree guard root instance [range1 ]
Function This command configures the STP guard type of a port as root.
Parameters Parameter
Description
Value
range1
Instance range
Range: 0–16
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines Configuration errors can be avoided by using this command. 38-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
By default, the loop or root guard is not configured for a port.
Examples The following example shows how to configure the guard type of the port gei_1/19/1 as root: ZXAN(config)#interface
gei_1/19/1
ZXAN(config-if)#spanning-tree
guard
root
instance
0
Related Commands None
38.19 spanning-tree hello-time Syntax spanning-tree hello-time number1 no spanning-tree hello-time
Function This command configures the STP hello time (the interval for sending BPDU packets).
Parameters Parameter
Description
Value
number1
Interval for sending BPDU
Range: 1–10 (sec)
packets
Default: 2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To reset the configured interval to the default value, use the no form of this command.
Examples The following example shows how to configure the interval for sending BPDU packets as 3 seconds: ZXAN(config)#spanning-tree hello-time 3
Related Commands 38.29 spanning-tree mst max-hops 38.16 spanning-tree forward-delay 38-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
38.20 spanning-tree linktype Syntax spanning-tree linktype name1
Function This command configures the link type of a port.
Parameters Parameter name1
Description
Value
auto: Automatically decides the
Default: auto
link type according to the duplex mode of the port. p2p: Configures as P2P forcefully. share: Configures as share forcefully.
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines For the link type P2P, the fast state migration can be enabled. For the link type share, the state can not be migrated until double forward-delay time expires.
Examples The following example shows how to configure the link type of the port gei_1/19/1 as P2P: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#spanning-tree linktype p2p
Related Commands 38.30 spanning-tree packet-type
38.21 spanning-tree max-age Syntax spanning-tree max-age number1 no spanning-tree max-age 38-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Function This command configures the maximum active time of STP BPDU packets.
Parameters Parameter
Description
Value
number1
Maximum active time of BPDU
Range: 6–40 (sec)
packets
Default: 20
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To reset the configured time to the default value, use the no form of this command.
Examples The following example shows how to configure the maximum active time of STP BPDU packets as 21 seconds: ZXAN(config)#spanning-tree max-age 21
Related Commands 38.29 spanning-tree mst max-hops 38.16 spanning-tree forward-delay
38.22 spanning-tree mcheck Syntax spanning-tree mcheck
Function This command configures STP check for an interface.
Parameters None
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines None 38-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure STP check for the interface gei_1/19/1: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#spanning-tree mcheck
Related Commands None
38.23 spanning-tree mode Syntax spanning-tree mode name1
Function This command configures the current mode of the STP protocol.
Parameters Parameter
Description
Value
name1
MSTP: MSTP mode
Default: MSTP
(Multi-Spanning Tree Protocol) RSTP: RSTP mode (Rapid Spanning Tree Protocol) SSTP: Compatible STP mode (Single Spanning Tree Protocol)
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The STP protocol in any mode can be interfaced to a bridge that enables one of the STP modes.
Examples The following example shows how to configure the current mode of the STP protocol as RSTP: ZXAN(config)#spanning-tree mode rstp
Related Commands 38.7 show spanning-tree mst configuration 38-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
38.24 spanning-tree mst configuration Syntax spanning-tree mst configuration
Function This command enters MSTP configuration mode.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines In MSTP configuration mode, MSTP-specific parameters can be configured, including MST configuration name, MST configuration version, and configuration summary.
Examples The following example shows how to enter MSTP configuration mode: ZXAN(config)#spanning-tree mst configuration ZXAN(config-mstp)#
Related Commands 38.7 show spanning-tree mst configuration
38.25 spanning-tree mst hmd5-digest Syntax spanning-tree mst hmd5-digest {cisco |huawei } name1 no spanning-tree mst hmd5-digest {cisco |huawei }
Function This command configures the digest value of the mst_config_id.
38-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
cisco
CISCO
-
huawei
HUAWEI
-
name1
Digest value
Default: 0x0000000000000000 0000000000000000
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The MSTP packet format used by different manufacturers (such as CISCO and HUAWEI) does not quite meet the IEEE standard when they implement the MSTP protocol. Therefore, the key value or digest value must be configured for ZTE switches before users interface ZTE switches to CISCO or HUAWEI equipment within the same area. To reset the configured value to the default value, use the no form of this command.
Examples The following example shows how to configure the CISCO hmd5 digest value: ZXAN(config)#spanning-tree mst hmd5-digest cisco 0x12345678901234567890123456789012
Related Commands 38.26 spanning-tree mst hmd5-key
38.26 spanning-tree mst hmd5-key Syntax spanning-tree mst hmd5-key {cisco |huawei } name1 no spanning-tree mst hmd5-key {cisco |huawei }
Function This command configures the Hmd5 key value for the digest of the mst_config_id.
38-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Parameters Parameter
Description
Value
cisco
CISCO
-
huawei
HUAWEI
-
name1
Digest value
Default: 0x13ac06a62e47fd51f95d2ba243cd0346
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The MSTP packet format used by different manufacturers (such as CISCO and HUAWEI) does not quite meet the IEEE standard when they implement the MSTP protocol. Therefore, the key value or digest value must be configured for ZTE switches before users interface ZTE switches to CISCO or HUAWEI equipment within the same area. To reset the configured value to the default value, use the no form of this command.
Examples The following example shows how to configure the CISCO hmd5 key value: ZXAN(config)#spanning-tree mst hmd5-key CISCO 0x12345678901234567890123456789012
Related Commands 38.25 spanning-tree mst hmd5-digest
38.27 spanning-tree mst instance (Ethernet interface mode) Syntax spanning-tree mst instance number1 {priority number2 |path-cost number3 } no spanning-tree mst instance number1 {priority |path-cost }
Function This command configures the path cost for an MST port.
38-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Instance ID
Range: 0–16
number2
Bridge priority
-
number3
Path cost of the port
Range: 1–2000000
priority
Bridge priority
-
path-cost
Path cost of the port
-
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines The topology structure of a spanning tree can be modified by using this command. By default, the path cost of a port is configured in terms of the port rate by using the rate–path cost mapping table.
Examples The following example shows how to configure the path cost of instance 0 for the port gei_1/19/1 as 30000: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000
Related Commands 38.5 show spanning-tree instance
38.28 spanning-tree mst instance Syntax spanning-tree mst instance number1 priority number2 no spanning-tree mst instance number1 priority
Function This command configures the priority of a bridge in an established instance.
38-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Parameters Parameter
Description
Value
number1
Instance ID
Range: 0–16
number2
Bridge priority
Default: 32768
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is used to set the root bridge for an instance. The priority number must be a multiple of 4096, up to 61440 (15 × 4096), and 32768 (8 × 4096) by default.
Examples The following example shows how to configure the priority of the bridge in instance 0 as 4096: ZXAN(config)#spanning-tree
mst
instance
0
priority
4096
Related Commands 38.5 show spanning-tree instance
38.29 spanning-tree mst max-hops Syntax spanning-tree mst max-hops number1 no spanning-tree mst max-hops
Function This command configures the maximum effective hop count of a BPDU packet in the MST area.
Parameters Parameter
Description
Value
number1
Maximum effective hops of the
Range: 1-40
BPDU packet
Default: 20
Mode Configuration mode: ZXAN (config)# 38-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines For all the non-zero instances in the MST area, the hop count of the BPDU packet is determined by the maximum hop count. To reset the configured count to the default value, use the no form of this command.
Examples The following example shows how to configure the maximum effective hop count as 23: ZXAN(config)#spanning-tree mst max-hops 23
Related Commands 38.5 show spanning-tree instance
38.30 spanning-tree packet-type Syntax spanning-tree packet-type name1
Function This command configures the BPDU packet type for an MSTP port.
Parameters Parameter
Description
Value
name1
Packet type
Default: IEEE
IEEE: Standard IEEE BPDU packet CISCO: CISCO BPDU packet HAMMER: HAMMER BPDU packet HUAWEI: HUAWEI BPDU packet
Mode Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines The MSTP packet type used by different manufacturers (such as CISCO and HUAWEI) does not quite meet the IEEE standard; therefore, the BPDU type must be configured for ZTE switches before users implementing the MSTP interface with CISCO or HUAWEI equipment. 38-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 38 MSTP Commands
Examples The following example shows how to configure the BPDU packet type for the MSTP port gei_1/19/1 as CISCO: ZXAN(config)#interface gei_1/19/1 ZXAN(config-if)#spanning-tree packet-type CISCO
Related Commands 38.20 spanning-tree linktype 38.13 spanning-tree edged-port
38.31 spanning-tree transparent Syntax spanning-tree transparent name1
Function This command enables or disables the current transparent STP transmission.
Parameters Parameter
Description
Value
name1
enable: Enables transparent
-
transmission. disable: Disables transparent transmission.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Disable the STP protocol before using this command.
Examples The following example shows how to enable the current transparent STP transmission: ZXAN(config)#spanning-tree disable ZXAN(config)#spanning-tree transparent enable
Related Commands 38.9 show spanning-tree transparent 38-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
38-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 39
LACP Commands Table of Contents LACP Protocol Commands.......................................................................................39-1 Linkgroup Commands ............................................................................................ 39-11
39.1 LACP Protocol Commands 39.1.1 clear lacp Syntax clear lacp [number1 ] counters
Function This command clears the counter of received and transmitted LACP packets.
Parameters Parameter
Description
Value
number1
Link aggregation group ID
Range: 1–68
Mode Privileged mode: ZXAN#
Usage Guidelines If this command is used without parameters, it will clear the counter of all the interfaces in a link aggregation group.
Examples (1) The following example shows how to clear the counter of the interfaces in aggregation group 1: ZXAN# clear lacp 1 counters
(2) The following example shows how to clear the counter of the interfaces in all the aggregation groups: 39-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN# clear lacp counters
Related Commands 39.1.6 show lacp
39.1.2 lacp admin-key Syntax lacp admin-key number1
Function This command modifies the key value of a link aggregation group.
Parameters Parameter
Description
Value
number1
Key value of the link aggregation
Range: 0–65535
group, the group ID by default
Mode PortCh interface mode
Usage Guidelines When the key value of the link aggregation group is modified, the key value of the member interface is modified accordingly.
Examples The following example shows how to modify the key value of the smartgroup1 to 200: ZXAN(config)# interface smartgroup1 ZXAN(config-if)# lacp admin-key 200
Related Commands 39.1.6 show lacp
39.1.3 lacp port-priority Syntax lacp port-priority number1
39-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 39 LACP Commands
Function This command configures the LACP port priority.
Parameters Parameter
Description
Value
number1
LACP port priority
Range: 1–65535 Default: 32768
Mode Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines When the LACP port priority is configured, ports are added to the link aggregation group based on their priorities.
Examples The following example shows how to configure the LACP port priority as 100: ZXAN(config)# interface gei_1/19/1 ZXAN(config-if)# lacp port-priority 100
Related Commands 39.1.6 show lacp
39.1.4 lacp swap-short-ctrl Syntax lacp swap-short-ctrl {on |off }
Function This command switches on or off packet transmission for active/standby changeover based on short timeout.
39-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
on
Switches on packet
-
transmission for active/standby changeover based on short timeout. off
Switches off packet
-
transmission for active/standby changeover based on short timeout.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines When the local end sends packets based on short timeout, it is necessary to configure this switch on to protect the aggregated links from de-aggregating during active/standby changeover.
Examples (1) The following example shows how to switch on packet transmission for active/standby changeover based on short timeout: ZXAN(config)#lacp swap-short-ctrl on
(2) The following example shows how to switch off packet transmission for active/standby changeover based on short timeout: ZXAN(config)#lacp swap-short-ctrl off
Related Commands None
39.1.5 lacp timeout Syntax lacp timeout {long |short }
Function This command configures the LACP timeout mode for an interface.
39-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 39 LACP Commands
Parameters Parameter
Description
Value
long
LACP long timeout
-
short
LACP short timeout
-
Mode Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines (1) Long timeout mode is configured by default. (2) In long timeout mode, the system receives LACP packets from the peer end every 30 seconds. If no packets are received from the peer end for 90 seconds (3 times), the interface will be de-aggregated. (3) In short timeout mode, the system receives LACP packets from the peer end every one second. If no packets are received from the peer end for 3 seconds (3 times), the interface will be de-aggregated.
Examples The following example shows how to configure the LACP timeout mode for the interface gei_1/19/1: ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#lacp timeout short
Related Commands 39.1.6 show lacp
39.1.6 show lacp Syntax show lacp {[number1 ] {counters |internal |neighbors } |sys-id }
Function This command displays the current LACP configuration and state.
39-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Link aggregation group ID
Range: 1–68
counters
Statistical information about
-
LACP packets received and transmitted by member interfaces internal
Aggregation state of member
-
interfaces neighbors
Configuration and running state
-
of the peer end sys-id
System MAC
-
Mode Any mode except user mode
Usage Guidelines None
Examples (1) The following example shows how to display statistical information about LACP packets received and transmitted by member interfaces in aggregation group 1: ZXAN# show lacp 1 counters
(2) The following example shows how to display the aggregation state of member interfaces in aggregation group 1: ZXAN# show lacp 1 internal
(3) The following example shows how to display the peer end configuration in aggregation group 1: ZXAN# show lacp 1 neighbors
(4) The following example shows how to display the system MAC: ZXAN# show lacp sys-id
Related Commands 39.1.7 smartgroup
39-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 39 LACP Commands
39.1.7 smartgroup Syntax smartgroup number1 mode {passive |active |on } [subgroup number2 ] no smartgroup
Function This command adds an interface to a link aggregation group, and sets the link aggregation mode for the interface.
Parameters Parameter
Description
Value
number1
Link aggregation group ID.
Range: 1–68
passive
The interface LACP is in passive
-
negotiation mode. In dynamic aggregation mode, the local end does not send LACP packets actively before receiving the LACP packets from the peer end. active
The interface LACP is in active
-
negotiation mode. At least one of the two ends must be in active negotiation mode. The active port sends LACP packets actively and periodically. on
Static trunk. The LACP does
-
not run. Both aggregated ends are necessary to be configured as on. Peer configuration. number2
Subgroup ID.
Range: 1–2
Mode Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines (1) VLAN configurations, interface protection, and isolation configurations of a member interface must be consistent with those of the aggregation group. Otherwise, such an interface is not allowed to join the aggregation group.
39-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
(2) After an interface joins an aggregation group, the modification of VLAN configurations, interface protection, and isolation configurations of the aggregation group will result in automatic modification of the corresponding attributes on the side of the member interfaces to keep consistent with the aggregation group. (3) The uplink and downlink attribute of member interfaces must be consistent with each other. Otherwise, they cannot join the same aggregation group. (4) All the member interfaces must be configured as dynamic or static aggregation. Otherwise, the interface later added cannot join the aggregation group. (5) Both ends must be configured as dynamic or static aggregation. Otherwise, they cannot be aggregated. (6) The rate and duplex mode of member interfaces must be consistent with each other. Otherwise, only the interfaces with consistent configuration can be aggregated. (7) The rate and duplex mode of both ends must be consistent with each other. Otherwise, they cannot be aggregated. (8) If member interfaces without subgroup configuration exist in the aggregation group, they cannot be configured to any subgroup. To configure a subgroup for such member interfaces, remove them from the aggregation group, and add them again. (9) To delete an interface from a link aggregation group, use the no form of this command.
Examples (1) The following example shows how to add the interface gei_1/19/1 to aggregation group 1: ZXAN(config)# interface gei_1/19/1 ZXAN(config-if)# smartgroup 1 mode active
(2) The following example shows how to add the interface gei_1/19/1 to subgroup 1: ZXAN(config)# interface gei_1/19/1 ZXAN(config-if)# smartgroup 1 mode active subgroup 1
Related Commands 39.1.6 show lacp
39.1.8 smartgroup load-balance Syntax smartgroup load-balance name1 no smartgroup load-balance
39-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 39 LACP Commands
Function This command configures the load balance mode for a link aggregation group.
Parameters Parameter
Description
Value
name1
Load balance mode for link
-
aggregation
Mode PortCh interface mode
Usage Guidelines To reset the configured mode to the default value, use the no form of this command.
Examples The following example shows how to configure the load balance mode for link aggregation group 1 as src-mac: ZXAN(config)# interface smartgroup1 ZXAN(config-if)# smartgroup load-balance src-mac
Related Commands 39.1.6 show lacp
39.1.9 smartgroup sys-priority Syntax smartgroup sys-priority number1 no smartgroup sys-priority
Function This command configures the system priority of an aggregation group.
Parameters Parameter
Description
Value
number1
System priority of an
Range: 1–65535
aggregation group
Default: 32768
Mode PortCh interface mode 39-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines The local end selects the interfaces that join the link aggregation group based on the system priority configured by the peer end.
Examples The following example shows how to configure the system priority of aggregation group 1 as 100: ZXAN(config)# interface smartgroup1 ZXAN(config-if)# smartgroup sys-priority 100
Related Commands 39.1.6 show lacp
39.1.10 test lacp plug-fast Syntax test lacp plug-fast {on |off }
Function By default, the fast test interval for the port link status of the main control and switching card of the C300 system is 100 ms. This command shortens the fast test interval to 10 ms when users test the traffic handoff performance for LACP port plug.
Parameters Parameter
Description
Value
on
Switches on fast link test for
-
port plug. off
Switches off fast link test for port
-
plug.
Mode Privileged mode: ZXAN#
Usage Guidelines (1) This command is used to test the packet loss performance when users plug a certain port only if there are multiple member ports in an LACP aggregation group. (2) This command is used for test and is not be written into configuration scripts. The configuration will lose if the system restarts.
39-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 39 LACP Commands
(3) When the fast link test switch for port plug is on, the CPU usage of the main control and switching card increases, which will degrade performance of the card. (4) By default, the fast link test switch for port plug is off.
Examples The following example shows how to switch on fast link test for port plug: ZXAN#test lacp plug-fast on
Related Commands None
39.2 Linkgroup Commands 39.2.1 linkgroup Syntax linkgroup number1 no linkgroup
Function This command adds a port to a link aggregation group.
Parameters Parameter
Description
Value
number1
Link aggregation group ID
Range: 1–192
Mode PTP interface mode
Usage Guidelines 1) A link aggregation group is actually a static aggregation group. The system supports multiple ports of one PTP card to be added to the same aggregation group. Configuration across cards is not supported. 2) Up to eight member ports can be configured in a link aggregation group.
Examples The following example shows how to add a port of the PTP card to link aggregation group 1: 39-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#interface gei_1/16/1-4 ZXAN(config-if-range)#linkgroup 1
Related Commands 39.2.3 show linkgroup
39.2.2 linkgroup load-balance Syntax linkgroup load-balance number1 mode name1
Function This command configures the load balance mode for a link aggregation group.
Parameters Parameter
Description
Value
number1
Link aggregation group ID
Range: 1–192
name1
Load balance mode
Default: src-dst-mac
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The system supports six load balance modes, namely, dst-ip, dst-mac, src-dst-ip, src-dst-mac, src-ip, and src-mac.
Examples The following example shows how to configure the load balance mode for link aggregation group 1 as src-mac: ZXAN(config)#linkgroup load-balance 1 mode src-mac
Related Commands 39.2.3 show linkgroup
39.2.3 show linkgroup Syntax show linkgroup {all |number1 } 39-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 39 LACP Commands
Function This command displays configurations of link aggregation groups.
Parameters Parameter
Description
Value
all
All the link aggregation groups
-
that have configured member ports are displayed. number1
Link aggregation group ID.
Range: 1–192
Mode Any mode except user mode
Usage Guidelines show linkgroup all displays only the link aggregation groups that have configured member ports.
Examples The following example shows how to display configurations of link aggregation group 1: 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 Active ports:
Related Commands 39.2.2 linkgroup load-balance
39-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
39-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40
UAPS Commands Table of Contents interval-link-detect ....................................................................................................40-1 next-hop ...................................................................................................................40-2 port ..........................................................................................................................40-4 port-optical-tx-control................................................................................................40-6 protect-time ..............................................................................................................40-7 retry-link-detect ........................................................................................................40-9 revertive .................................................................................................................40-10 show uaps.............................................................................................................. 40-11 swap ......................................................................................................................40-13 switch-type .............................................................................................................40-15 uaps-group.............................................................................................................40-17
40.1 interval-link-detect Syntax interval-link-detect number1
Function This command sets the interval for detecting links.
Parameters Parameter number1
Description
Value
Link detection interval, in
1–10
seconds
Mode uaps-group configuration mode
Usage Guidelines The default value is 3 seconds.
Examples The following example shows how to set the interval for detecting links: 40-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(cfg-uaps-1)#interval-link-detect 10 ZXAN(cfg-uaps-1)#show uaps groupid 1 Revertive control
:
disable
PortLight
:
disable
Protect-time
control
:
10s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
3
Link-detect-interval
:
10
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
Slave ports status
:
block
Link status
gei_1/21/1 : up
gei_1/21/2 : up
Related Commands 40.2 next-hop
40.2 next-hop Syntax next-hop ip_addr1 no next-hop
Function This command sets the next hop IP address of the UAPS service.
Parameters Parameter
Description
Value
ip_addr1
IP address of the next hop
-
Mode uaps-group configuration mode
Usage Guidelines The default IP address is 0.0.0.0, indicating that the ping detection for next hop is not started. To cancel the setting, use the no form of this command. 40-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
Examples The following example shows how to set the next hop IP address of the UAPS service to 10.63.192.98: ZXAN(cfg-uaps-1)#interval-link-detect 10 ZXAN(cfg-uaps-1)#show uaps groupid 1 Revertive control
:
disable
PortLight
:
disable
Protect-time
control
:
10s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
3
Link-detect-interval
:
10
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
Link status
:
common port
Master ports status
:
forwarding gei_1/21/1 : up
Slave ports status
:
block gei_1/21/2 : up
The following example shows how to delete the next hop of the UAPS service:
ZXAN(cfg-uaps-1)#no next-hop
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
disable
Protect-time
:
10s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
control
40-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Bfd
Link status
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
gei_1/21/1 : up
Slave ports status
:
block
gei_1/21/2 : up
Related Commands None
40.3 port Syntax port master-port interface1 slave-port interface2 no port master-port interface1
Function This command adds a pair of active and standby ports to a UAPS group.
Parameters Parameter
Description
Value
interface1
Active uplink port
-
interface2
Standby uplink port
-
Mode uaps-group configuration mode
Usage Guidelines Currently, only one pair of active and standby ports can be added. To delete the ports, use the no form of this command. After deletion, the originally blocked port is shut down to prevent loops.
40-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
Examples The following example shows how to adds active and standby ports to UAPS group1: ZXAN(cfg-uaps-1)#port master-portlist gei_1/21/1 slave-portliste gei_1/21/2 ZXAN(cfg-uaps-1)#show uaps groupid 1 Revertive control
:
disable
PortLight
:
disable
control
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Link status
Switch-type
:
common port
Master ports status
:
forwarding gei_1/21/1 : up
Slave ports status
:
block gei_1/21/2 : up
The following example shows how to delete active and standby ports from UAPS group1: ZXAN(cfg-uaps-1)#no port master-port gei_1/21/1 ZXAN(cfg-uaps-1)#show uaps groupid 1 Revertive control
:
disable
PortLight
:
disable
control
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
10
Link status
:
connected or NA
Bfd
:
connected or NA common port
Link status
Switch-type
:
Master ports status
:
Slave ports status
:
Related Commands None
40-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
40.4 port-optical-tx-control Syntax port-optical-tx-control name1
Function This command sets whether to disable the lighting protection for the standby optical port added to a UAPS group.
Parameters Parameter
Description
Value
name1
Enable: Lighting is disabled on the standby port.
-
Disable: Lighting is enabled on the standby port.
Mode uaps-group configuration mode
Usage Guidelines Uplink cards can be disabled from the lighting function of the optical module. Normally, the interface and the corresponding interface of the opposite device must be configured to forced full-duplex.
Examples The following example shows how to disable the lighting function of standby interface for UAPS group 1:
ZXAN(cfg-uaps-1)# port-optical-tx-control enable
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
enable
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
control
40-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
Link status
gei_1/21/1 : up
Slave ports status
:
block gei_1/21/2 : up
Related Commands None
40.5 protect-time Syntax protect-time number1 no protect-time
Function This command sets the protection time.
Parameters Parameter
Description
Value
number1
Protection time, in seconds
0–900
Mode uaps-group configuration mode
Usage Guidelines Protection time refers to the minimum interval between two switchings. It is used to avoid link flapping. The switching request sent during the protection time is cached till the time expires. 40-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to sets the protection time to 10 seconds:
ZXAN(cfg-uaps-1)# protect-time 10
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
disable
Protect-time
:
10s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
control
Link status
gei_1/21/1 : up
Slave ports status
:
block
gei_121/2 : up
Related Commands None
40-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
40.6 retry-link-detect Syntax retry-link-detect number1
Function This command sets the number of link detection times.
Parameters Parameter
Description
Value
number1
Number of link detection times
1–10
Mode uaps-group configuration mode
Usage Guidelines None
Examples The following example shows how to set the link detection times to 3: ZXAN(cfg-uaps-1)#retry-link-detect 3 ZXAN(cfg-uaps-1)#show uaps groupid 1 Revertive control
:
disable
PortLight
:
disable
Protect-time
control
:
10s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
3
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
Link status
:
common port
Master ports status
:
forwarding gei_1/21/1 : up
Slave ports status
:
block gei_1/21/2 : up
Related Commands 40.2 next-hop 40-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
40.7 revertive Syntax revertive name1
Function This command sets whether the active/standby status of a UAPS group can be automatically restored.
Parameters Parameter
Description
Value
name1
Enable: The active/standby status of a UAPS
-
group can be automatically restored. Disable: The active/standby status of a UAPS group cannot be automatically restored.
Mode uaps-group configuration mode
Usage Guidelines If an active uplink port is down, the system is switched to the standby uplink ports. This function enables the system to switch back to the active port after it restores normal. ,
Examples The following example shows how to set UAPS group 1 to be able to automatically restore the active/standby status:
ZXAN(cfg-uaps-1)#revertive enable
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
enable
PortLight
:
disable
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
control
40-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
Link status
gei_1/21/1 : up
Slave ports status
:
block
gei_1/21/2 : up
Related Commands None
40.8 show uaps Syntax show uaps
Function This command displays the configured UAPS groups.
Parameters None
Mode Any mode except user mode
Usage Guidelines The show uaps command displays the configured UAPS groups.
40-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The show uaps groupid command displays the configuration of a specified UAPS group.
Examples The following example shows how to display the configuration of a UAPS group: (1) ZXAN(config)#show uaps Group List : --------------------------------------1
2
(2) ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
disable
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
control
Link status
gei_0/3/1 : up
Slave ports status
:
block
gei_0/3/2 : up
40-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
Related Commands None
40.9 swap Syntax swap
Function This command forcibly switches between the active and standby interfaces.
Parameters None
Mode uaps-group configuration mode
Usage Guidelines None
Examples The following example shows how to forcibly switch between the active and standby ports when they are both normal:
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
disable
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
control
40-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
Link status
gei_1/21/1 : up
Slave ports status
:
block
gei_1/21/2 : up
ZXAN(cfg-uaps-1)#swap
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
disable
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
block
control
Link status
40-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
gei_1/21/1 : up
Slave ports status
:
forwarding
gei_1/21/2 : up
Related Commands None
40.10 switch-type Syntax switch-type name1
Function This command configures the switchover type of a UAPS group.
Parameters Parameter
Description
Value
name1
Common-port: The ports added to the UAPS
-
group are common ports. Trunking-port: The ports added to the UAPS group are members of smartgroups.
Mode uaps-group configuration mode
Usage Guidelines For the common-port mode, the ports added to the UAPS group are common ports. Normally, two ports are added to serve the active and standby ports. Once the active port is down, a switchover request is delivered. For the trunking-port mode, the ports added to the UAPS group are ports from two smartgroups. The UAPS group requests switchover only when all ports in a smartgroup are down and at least one port in the standby group is up.
Examples The following example shows how to set to UAPS group 1 to the trunking-port mode:
40-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#interface smartgroup1
ZXAN(config-if)#ex
ZXAN(config)#interface smartgroup2
ZXAN(config-if)#ex
ZXAN(config)#interface gei_1/21/1-2
ZXAN(config-if-range)#smartgroup 1 mode on
ZXAN(config-if-range)#ex
ZXAN(config)#interface gei_1/21/3-4
ZXAN(config-if-range)#smartgroup 2 mode on
ZXAN(config-if-range)#ex
ZXAN(config)#uaps-group 1
ZXAN(cfg-uaps-1)# switch-type trunking-port
ZXAN(cfg-uaps-1)#port master-portlist gei_1/21/1 slave-portliste gei_1/21/3 ZXAN(cfg-uaps-1)#port master-portlist gei_1/21/2 slave-portliste gei_1/21/4 ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
disable
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
control
40-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
Bfd
Link status
:
connected or NA
Switch-type
:
trunk port
Master ports status
:
forwarding
gei_1/21/1 : up
gei_1/21/2 : up
Slave ports status
:
block
gei_1/21/3 : up
gei_1/21/4 : up
Related Commands None
40.11 uaps-group Syntax uaps-group number1 no uaps-group number1
Function This command adds or deletes a UAPS group.
Parameters Parameter
Description
Value
number1
UAPS group number
1–4
Mode Configuration mode: ZXAN (config)#
Usage Guidelines After a UAPS group is deleted, the originally blocked port is shut down to avoid loops.
40-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to create UAPS group 1:
ZXAN(config)#uaps-group 1
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
disable
PortLight
:
disable
Protect-time
:
300s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd
:
connected or NA
Switch-type
:
common port
Master ports status
:
Slave ports status
:
control
Link status
The following example shows how to delete UAPS group 1:
ZXAN(config)#no uaps-group 1
ZXAN(config)#show uaps groupid 1
This UAPS group does not exist!
ZXAN(config)#show uaps
40-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 40 UAPS Commands
Group List :
---------------------------------------
No UAPS group!
Related Commands None
40-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
40-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 41
LST Commands Table of Contents add-port olt-port........................................................................................................41-1 add-port uplink-port ..................................................................................................41-2 interval-link-detect ....................................................................................................41-3 lst-group ...................................................................................................................41-4 next-hop ...................................................................................................................41-5 retry-link-detect ........................................................................................................41-6 show lst ....................................................................................................................41-7
41.1 add-port olt-port Syntax add-port olt-port interface1 no add-port olt-port interface1
Function This command adds a PON port to an LST group.
Parameters Parameter
Description
Value
interface1
PON port group
-
Mode lst-group configuration mode
Usage Guidelines Only one PON port can be added at a time at present. To delete the port from the LST group, use the no form of this command.
Examples The following example shows how to add the PON port epon-olt_0/12/1 to LST group lst 1: ZXAN(cfg-lst-1)# add-port olt-port epon-olt_1/12/1 ZXAN(config)#show lst
41-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Group List : --------------------------------------Group List : --------------------------------------1 ZXAN(config)#show lst groupid 1
Switch type
:
common port
Uplink ports status
:
Pon ports status
:
epon-olt_1/12/1
Next-hop
:
0.0.0.0
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
N/A
: up
Related Commands 41.2 add-port uplink-port
41.2 add-port uplink-port Syntax add-port uplink-port interface1 no add-port uplink-port interface1
Function This command adds an uplink port to an LST group.
Parameters Parameter
Description
Value
interface1
Uplink port group
-
Mode lst-group configuration mode
Usage Guidelines Only one uplink port can be added at a time at present. Note: Up to two uplink ports can be added. To delete a port from an LST group, use the no form of this command. 41-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 41 LST Commands
Examples The following example shows how to add the uplink port gei_1/21/1 to LST group lst 1: ZXAN(cfg-lst-1)# add-port uplink-port gei_1/21/1 ZXAN(config)#show lst Group List : --------------------------------------Group List : --------------------------------------1 ZXAN(config)#show lst groupid 1
Switch type
:
common port
Uplink ports status
:
gei_1/21/1
Pon ports status
:
Next-hop
:
0.0.0.0
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
N/A
: up
Related Commands 41.1 add-port olt-port
41.3 interval-link-detect Syntax interval-link-detect number1
Function This command configures the link detection interval.
Parameters Parameter
Description
Value
number1
Link detection interval
Range: 1–10 (sec)
Mode lst-group configuration mode
Usage Guidelines None 41-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples ZXAN(cfg-lst-1)#interval-link-detect 10 ZXAN(cfg-lst-1)#show lst groupid 1
Switch type
:
Uplink ports status
:
common port
gei_1/21/1 : up gei_1/21/4 Pon ports status
: up
: epon-olt_1/12/1 : up epon-olt_1/12/2 : up
Next-hop
:
10.63.192.98
Link-detect-retry
:
6
Link-detect-interval
:
10
Link status
:
testing
Related Commands 41.6 retry-link-detect
41.4 lst-group Syntax lst-group number1 no lst-group number1
Function This command creates an LST group.
Parameters Parameter
Description
Value
number1
LST group ID
Range: 1–16
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete an LST group, use the no form of this command.
Examples (1) The following example shows how to create LST group 1: 41-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 41 LST Commands ZXAN(config)#lst-group 1 ZXAN(config)#show lst Group List : --------------------------------------Group List : --------------------------------------1 ZXAN(config)#show lst groupid 1
Switch type
:
Uplink ports status
:
Pon ports status
:
common port
Next-hop
:
0.0.0.0
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
N/A
(2) The following example shows how to delete LST group 1: ZXAN(config)#no lst-group 1 ZXAN(config)#show lst groupid 1 This LST group does not exist! ZXAN(config)#show LST Group List : --------------------------------------No LST group!
Related Commands show lst
41.5 next-hop Syntax next-hop ip_addr1 no next-hop
Function This command configures the next-hop IP address for LST.
41-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
ip_addr1
Next-hop IP address
Default: 0.0.0.0
Mode lst-group configuration mode
Usage Guidelines The default value of ip_addr1 indicates that the next-hop ping detection is disabled. To delete the configured address, use the no form of this command.
Examples The following example shows how to configure the next-hop IP address for LST as 10.63.192.98: ZXAN(cfg-lst-1)#next-hop 10.63.192.98 ZXAN(cfg-lst-1)#show lst groupid 1
Switch type
:
Uplink ports status
:
common port
gei_1/21/1 : up gei_1/21/4 Pon ports status
: up
: epon-olt_1/12/1 : up epon-olt_1/12/2 : up
Next-hop
:
10.63.192.98
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
testing
Related Commands 41.3 interval-link-detect 41.6 retry-link-detect
41.6 retry-link-detect Syntax retry-link-detect number1
Function This command configures the retry times for link detection. 41-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 41 LST Commands
Parameters Parameter
Description
Value
number1
Retry times for link detection
Range: 1–10
Mode lst-group configuration mode
Usage Guidelines None
Examples ZXAN(cfg-lst-1)#retry-link-detect 3 ZXAN(cfg-lst-1)#show lst groupid 1
Switch type
:
Uplink ports status
:
common port
gei_1/21/1 : up gei_1/21/4 Pon ports status
: up
: epon-olt_1/12/1 : up epon-olt_1/12/2 : up
Next-hop
:
10.63.192.98
Link-detect-retry
:
3
Link-detect-interval
:
3
Link status
:
testing
Related Commands 41.3 interval-link-detect
41.7 show lst Syntax show lst
Function This command displays configuration information about an LST group.
Parameters None 41-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode except user mode
Usage Guidelines The show lst command displays a configured LST group ID. The show lst groupid command displays configuration information about a specified LST group.
Examples ZXAN(config)#lst-group 1 ZXAN(config)#show lst Group List : --------------------------------------Group List : --------------------------------------1 ZXAN(config)#show lst groupid 1
Switch type
:
common port
Uplink ports status
:
Pon ports status
:
Next-hop
:
0.0.0.0
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
N/A
Related Commands None
41-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42
ACL Commands Table of Contents acl extended.............................................................................................................42-1 acl hybrid..................................................................................................................42-2 acl link......................................................................................................................42-3 acl standard .............................................................................................................42-4 acl6 hybrid................................................................................................................42-5 ip access-group (Layer 2 fei Interface Mode)............................................................42-5 ip access-group........................................................................................................42-6 name........................................................................................................................42-7 priority-mark .............................................................................................................42-8 redirect.....................................................................................................................42-9 rule.........................................................................................................................42-10 rule (acl-ext configuration mode) ............................................................................ 42-11 rule (acl-link configuration mode)............................................................................42-14 rule (acl-hyb configuration mode) ...........................................................................42-16 rule (ipv6-acl-hyb configuration mode)....................................................................42-19 show acl .................................................................................................................42-22 show qos................................................................................................................42-23 show time-range.....................................................................................................42-24 show traffic-statistics ..............................................................................................42-25 time-range..............................................................................................................42-25 traffic-limit...............................................................................................................42-27 traffic-mirror............................................................................................................42-28 traffic-statistics .......................................................................................................42-30 vlan-mark ...............................................................................................................42-31
42.1 acl extended Syntax acl extended {number {number1} |name name1 } no acl extended {number {number1} |name name1 }
Function This command creates an extended ACL and enters extended ACL configuration mode.
42-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Number that identifies an
100–199
extended ACL name1
Name or alias of an extended
0–32 characters
ACL
Mode Configuration mode: ZXAN (config)#
Usage Guidelines l l
To delete an extended ACL, use the no acl extended command. This command enters extended ACL configuration mode directly when the specified ACL already exists.
Examples The following example shows how to create an extended ACL: ZXAN(config)#acl extended number 101 ZXAN(config-ext-acl)#
Related Commands 42.16 show acl
42.2 acl hybrid Syntax acl hybrid {number number1 |name name1 } no acl hybrid {number number1 |name name1 }
Function This command creates a hybrid ACL and enters hybrid ACL configuration mode.
Parameters Parameter
Description
Value
number1
Number that identifies a hybrid
300–399
ACL name1
Name or alias of a hybrid ACL
0–32 characters
42-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
To delete a hybrid ACL, use the no acl hybrid command. This command enters hybrid ACL configuration mode directly when the specified ACL already exists.
Examples The following example shows how to start hybrid ACL configuration mode: ZXAN(config)#acl hybrid number 300 ZXAN(config-hybd-acl)#
Related Commands 42.16 show acl
42.3 acl link Syntax acl link {number number1 |name name1 } no acl link {number number1 |name name1 }
Function This command creates a Layer 2 ACL and enters Layer 2 ACL configuration mode.
Parameters Parameter
Description
Value
number1
Number that identifies a Layer
200–299
2 ACL name1
Name or alias of a Layer 2 ACL
0–32 characters
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
To delete a Layer 2 ACL, use the no acl link command. This command enters Layer 2 ACL configuration mode directly when the specified ACL already exists. 42-3
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to create a Layer 2 ACL: ZXAN(config)#acl link number 200 ZXAN(config-link-acl)#
Related Commands 42.16 show acl
42.4 acl standard Syntax acl standard {number {number1 } |name name1 } no acl standard {number {number1 } |name name1 }
Function This command creates a standard ACL and enters the standard ACL configuration mode.
Parameters Parameter
Description
Value
number1
A number that identifies a
1–99
standard ACL name1
Name or alias of a standard
0–32 characters
ACL
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
To delete a standard ACL, use the no acl standard command. This command enters the standard ACL configuration mode directly when the specified ACL already exists.
Examples The following example shows how to start the standard ACL configuration mode: ZXAN(config)#acl standard number 10 ZXAN(config-std-acl)#
Related Commands 42.16 show acl 42-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
42.5 acl6 hybrid Syntax acl6 hybrid {number number1 } no acl6 hybrid {number number1 }
Function This command creates an IPv6 hybrid ACL and enters IPv6 hybrid ACL configuration mode.
Parameters Parameter
Description
Value
number1
Number that identifies an IPv6
600–699
hybrid ACL
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
To delete an IPv6 hybrid ACL, use the no acl6 hybrid command. This command enters IPv6 hybrid ACL configuration mode directly when the specified ACL already exists.
Examples The following example shows how to start IPv6 hybrid ACL configuration mode: ZXAN(config)#acl6 hybrid number 600 ZXAN(config-hybd-acl6)#
Related Commands 42.16 show acl
42.6 ip access-group (Layer 2 fei Interface Mode) Syntax ip access-group {number1 |name1 } name2 no ip access-group {number1 |name1 } name2
Function This command configures an ACL rule for an interface. 42-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
ACL number.
1–699
name1
ACL name or alias.
-
name2
Binding direction.
in
Only the ingress direction (in) is supported.
Mode Layer 2 fei interface mode, Layer 2 gei interface mode, and 10G_Ether interface mode: ZXAN(config-if)#
Usage Guidelines None
Examples The following example shows how to configure an ACL rule for a GE interface (gei_1/5/1): ZXAN(config)#interface gei_1/5/1 ZXAN(config-if)#ip access-group 300 in
Related Commands 1.27 show running-config
42.7 ip access-group Syntax ip access-group {number1 |name1 } name2 name3 no ip access-group {number1 } name2 name3
Function This command binds an ACL to an inner interface.
Parameters Parameter
Description
Value
number1
ACL number.
1–699
name1
ACL name.
-
42-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Parameter
Description
Value
name2
Binding direction.
-
Only the ingress direction (in) is supported. name3
Interface name, for example,
-
“inner-port_1/4/1”.
Mode Configuration mode: ZXAN(config)#
Usage Guidelines Create an ACL before binding the ACL to an inner interface.
Examples The following shows how to bind ACL 300 to the ingress direction of an inner interface (inner-port_1/4/1): ZXAN(config)#ip access-group 300 in inner-port_1/4/1
Related Commands show access-list bound
42.8 name Syntax name name1 no name [name1 ]
Function This command sets an alias for an ACL.
Parameters Parameter
Description
Value
name1
ACL alias
-
Mode l l l l
acl-basic configuration mode: ZXAN(config-std-acl)# acl-ext configuration mode: ZXAN(config-ext-acl)# acl-link configuration mode: ZXAN(config-link-acl)# acl-hyb configuration mode: ZXAN(config-hybd-acl)# 42-7
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines To cancel the setting, use the no name command.
Examples The following example shows how to set the alias of a standard ACL (ACL number: 99) to zte: ZXAN(configl)#acl standard number 99 ZXAN(config-std-acl)#name zte
Related Commands 42.16 show acl
42.9 priority-mark Syntax priority-mark in {number1 |name1 } rule-id number2 {[{dscp number3 |precedence number4 |tr affic-class number5 } ] [drop-precedence name2 ] [{cos number6 |local-precedence number7 } ] } no priority-mark in {number1 |name1 } rule-id number2
Function This command configures a priority marking policy based on an ACL rule.
Parameters Parameter
Description
Value
in
Specifies the ACL and the ACL
-
rule. number1
ACL number.
1–699
name1
ACL name or alias.
-
number2
Rule number.
1–127
number3
DSCP value.
0–63
number4
Precedence.value
0–7
number5
traffic-class value
0–63
name2
Drop precedence (high,
-
medium, or low). number5
CoS value.
0–7
number6
Local precedence.
0–7
42-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
To cancel the priority marking configuration, use the no priority-mark command. Ensure that the ACL number, name, alias, and rule have been created before using this command.
Examples The following example shows how to configure a priority marking policy. This policy marks the DSCP value to 4 for the traffic that matches rule 1 of ACL 333. ZXAN(config)#priority-mark in 333 rule-id 1 dscp 4
Related Commands 42.17 show qos
42.10 redirect Syntax redirect in {number1 |name1 } rule-id number2 {cpu [pkt-limit number3 ] |interface interface1 |next-hop ip_addr1 } no redirect in {number1 |name1 } rule-id number2
Function This command configures traffic redirection based on an ACL rule.
Parameters Parameter
Description
Value
in
Specifies the ACL and the ACL
-
rule. number1
ACL number.
1–699
name1
ACL name or alias.
-
number2
Rule number.
1–4094
cpu
CPU that traffic is redirected to.
-
number3
Rate limit (number of packets).
1–500
42-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
interface1
Name of the destination
-
interface that traffic is redirected to. ip_addr1
IP address of the next hop that
-
traffic is redirected to.
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
Ensure that the ACL number, name, alias, and rule have been created before using this command. Only uplink ports support traffic redirection. The destination port of traffic redirection must be an uplink port.
Examples The following example shows how to configure traffic redirection. The traffic redirection configuration redirects traffic that matches rule 4094 of ACL 200 to the uplink port gei_1/192. ZXAN(config)#redirect in 200 rule-id 4094 interface gei_1/19/2
Related Commands 42.17 show qos
42.11 rule Syntax rule number1 {permit |deny } {ip_addr1 [mask1 ] |any } [time-range name1 ] no rule {number1 |all }
Function This command configures a rule for a standard ACL.
42-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Parameters Parameter
Description
Value
number1
Rule number
1–127
permit
Permits traffic that matches the
-
rule deny
Denies traffic that matches the
-
rule ip_addr1
Source IP address
-
mask1
Inverse mask of the source IP
-
address any
Any source IP address
-
name1
Time range name
-
all
All rules to be deleted
-
Mode acl-basic configuration mode: ZXAN(config-std-acl)#
Usage Guidelines To delete a standard ACL rule, use the no form of this command.
Examples The following example shows how to configure a rule for ACL 20. The created rule (rule 5) of ACL 20 permits traffic with the source IP address 1.1.1.1. ZXAN(config)#acl standard number 20 ZXAN(config-std-acl)#rule 5 permit 1.1.1.1
Related Commands 42.16 show acl
42.12 rule (acl-ext configuration mode) Syntax rule number1 {permit |deny } {icmp {ip_addr1 mask1 |any } {ip_addr2 mask2 |any } [{number2 |name1 } [icmp-code number3 ] ] |{number4 |ip |name2 } {ip_addr3 mask3 |any } {ip_addr4 mask4 |any } |tcp {ip_addr5 mask5 |any } [name3 {range1 |name4 } ] {ip_addr6 mask6 |any } [name5 {range2 |name6 } ] [established ] |udp {ip_addr7 mask7 |any } [name7 {range3 |name8 } ] {ip_ad dr8 mask8 |any } [name9 {range4 |name10 } ] } [{{[precedence number5 ] [tos number6 ] } |dscp number7 } ] [ttl number8 ] [time-range name11 ] 42-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no rule {number1 |all }
Function This command configures a rule for an extended ACL.
Parameters Parameter
Description
Value
number1
Rule number
1–1024
permit
Permits traffic that matches the
-
rule deny
Denies traffic that matches the
-
rule icmp
ICMP protocol
-
ip_addr1
Source IP address
-
mask1
Inverse mask of the source IP
-
address any
Any source IP address
-
ip_addr2
Destination IP address
-
mask2
Inverse mask of the destination
-
IP address number2
ICMP packet type value
0–254
name1
ICMP packet type name, such
-
as echo or echo-reply number3
ICMP packet code
0–254
number4
IP protocol type
0–254
ip
Any IP protocol
-
name2
IP protocol type name, such as
-
OSPF or PIM ip_addr3
Source IP address
-
mask3
Inverse mask of the source IP
-
address ip_addr4
Destination IP address
-
mask4
Inverse mask of the destination
-
IP address tcp
TCP protocol
-
ip_addr5
Source IP address
-
42-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Parameter
Description
Value
mask5
Inverse mask of the source IP
-
address name3
TCP source port matching rule
eq, range, ge, or le
range1
TCP source port or source port
0–65535
range name4
TCP source port name, such as
-
ftp or telnet ip_addr6
Destination IP address
-
mask6
Inverse mask of the destination
-
IP address name5
TCP destination port matching
eq, range, ge, or le
rule range2
TCP destination port or
0–65535
destination port range name6
TCP destination port name,
-
such as ftp or telnet established
Matches TCP traffic on
-
established links udp
UDP protocol
-
ip_addr7
Source IP address
-
mask7
Inverse mask of the source IP
-
address name7
UDP source port matching rule
eq, range, ge, or le
range3
UDP source port or source port
0–65535
range name8
UDP source port name, such as
-
bootpc or snmp ip_addr8
Destination IP address
-
mask8
Inverse mask of the destination
-
IP address name9
UDP destination port matching
eq, range, ge, or le
rule range4
UDP destination port or
0–65535
destination port range name10
UDP destination port name,
-
such as bootpc or snmp
42-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
number5
Precedence
0–7
number6
ToS
0–15
number7
DSCP
0–63
number8
TTL
0–255
name11
Time range name
-
all
All rules to be deleted
-
Mode acl-ext configuration mode: ZXAN(config-ext-acl)#
Usage Guidelines To delete an extended ACL rule, use the no form of this command.
Examples The following example shows how to configure a rule for the extended ACL 100. The created rule (rule 1) permits TCP traffic transferred from the source port 2000 to the destination port 3000. ZXAN(config)#acl extended number 100 ZXAN(config-ext-acl)#rule 1 permit tcp any eq 2000 an eq 3000
Related Commands 42.16 show acl
42.13 rule (acl-link configuration mode) Syntax rule number1 {permit |deny } {hexadecimal1 |name1 |any } [{[cos number2 ] [vlan-id number3 ] } ] [ingress {hexadecimal2 hexadecimal3 |any } ] [egress {hexadecimal4 hexadecimal5 |any } ] [double-tag {[cos number4 ] [vlan-id number5 ] } ] [time-range name2 ] no rule {number1 |all }
Function This command configures a rule for a Layer 2 ACL.
42-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Parameters Parameter
Description
Value
number1
Rule number
1–4094
permit
Permits traffic that matches the
-
rule deny
Denies traffic that matches the
-
rule hexadecimal1
Ethernet protocol type number
-
name1
Ethernet protocol type name,
-
such as IP or ARP any
Any Ethernet protocol type
-
number2
CoS
0–7
number3
VLAN ID
1–4094
hexadecimal2
Source MAC address
-
hexadecimal3
Inverse mask of the source
-
MAC address hexadecimal4
Destination MAC address
-
hexadecimal5
Inverse mask of the destination
-
MAC address number4
Inner CoS of double-tag packets
0–7
number5
VLAN ID
1–4094
name2
Time range name
-
all
All rules to be deleted
-
Mode acl-link configuration mode: ZXAN(config-link-acl)#
Usage Guidelines To delete a Layer 2 ACL rule, use the no form of this command.
Examples The following example shows how to configure a rule for the Layer 2 ACL 200. The created rule (rule 2) permits IP traffic that matches the following conditions: l l l l
CoS: 0 VLAN ID: 100 Source MAC address: 0000.0000.0002 Destination MAC address: 0000.0000.0001 42-15
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#acl link number 200 ZXAN(config-link-acl)# rule 2 permit ip cos 0 vlan-id 100 ingress 0000.0000.0002 0000.0000.0000 egress 0000.0000.0001 0000.0000.0000
Related Commands 42.16 show acl
42.14 rule (acl-hyb configuration mode) Syntax rule number1 {permit |deny } {{name1 |number2 |any } {ip_addr1 mask1 |any } {ip_addr2 mask2 |any } |tcp {ip_addr3 mask3 |any } [name2 {range1 |name3 } ] {ip_addr4 mask4 |any } [name4 {range2 |name5 } ] |udp {ip_addr5 mask5 |any } [name6 {range3 |name7 } ] {ip_addr6 mask6 |any } [name8 {range4 |name9 } ] } [{{[precedence number3 ] [tos number4 ] } |dscp number5 } ] {hex adecimal1 |name10 |any } [{[cos number6 ] [vlan-id name11 range5 ] } ] [ingress {hexadecimal2 hexadecimal3 |any } ] [egress {hexadecimal4 hexadecimal5 |any } ] [double-tag {[cos number7 ] [vlan-id name12 range6 ] } ] [time-range name13 ] no rule {number1 |all }
Function This command configures a rule for a hybrid ACL.
Parameters Parameter
Description
Value
number1
Rule number
1–127
permit
Permits traffic that matches the
-
rule deny
Denies traffic that matches the
-
rule name1
IP protocol type name, such as
-
OSPF or PIM number2
IP protocol type
0–254
any
Any IP protocol type
-
ip_addr1
Source IP address
-
mask1
Inverse mask of the source IP
-
address ip_addr2
Destination IP address
-
42-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Parameter
Description
Value
mask2
Inverse mask of the destination
-
IP address tcp
TCP protocol
-
ip_addr3
Source IP address
-
mask3
Inverse mask of the source IP
-
address name2
TCP source port matching rule
eq, range, ge, or le
range1
TCP source port or source port
0–65535
range name3
TCP source port name, such as
-
ftp or telnet ip_addr4
Destination IP address
-
mask4
Inverse mask of the destination
-
IP address name4
TCP destination port matching
eq, range, ge, or le
rule range2
TCP destination port or
0–65535
destination port range name5
TCP destination port name,
-
such as ftp or telnet udp
UDP protocol
-
ip_addr5
Source IP address
-
mask5
Inverse mask of the source IP
-
address name6
UDP source port matching rule
eq, range, ge, or le
range3
UDP source port or source port
0–65535
range name7
UDP source port name, such as
-
bootpc or snmp ip_addr6
Destination IP address
-
mask6
Inverse mask of the destination
-
IP address name8
UDP destination port matching
eq, range, ge, or le
rule range4
UDP destination port or
0–65535
destination port range
42-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name9
UDP destination port name,
-
such as bootpc or snmp number3
Precedence
0–7
number4
ToS
0–15
number5
DSCP
0–63
hexadecimal1
Ethernet protocol type number
-
name10
Ethernet protocol type name,
-
such as IP or ARP number6
CoS
0–7
name11
VLAN ID matching rule. Only eq
-
is supported range5
VLAN ID or VLAN ID range
1– 4094
hexadecimal2
Source MAC address
-
hexadecimal3
Inverse mask of the source MAC
-
address hexadecimal4
Destination MAC address
-
hexadecimal5
Inverse mask of the destination
-
MAC address number7
Inner CoS of double-tag packets
0–7
name12
Inner VLAN ID matching rule for
eq
double-tag packets range6
Inner VLAN ID or VLAN ID range
1– 4094
of double-tag packets name13
Time range name
-
all
All rules to be deleted
-
Mode acl-hyb configurationmode: ZXAN(config-hybd-acl)#
Usage Guidelines To delete a hybrid ACL rule, use the no form of this command.
Examples The following example shows how to configure a rule for the hybrid ACL 300. The created rule (rule 5) denies TCP traffic that matches the following conditions: l
CoS: 0 42-18
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
l l l
VLAN ID: 100 Source port: 1024 Destination port: 1024
ZXAN(config)#acl hybrid number 300 ZXAN(config-hybd-acl)#rule 5 deny tcp any eq 1024 any eq 1024 any cos 0 vlan-id eq 100
Related Commands 42.16 show acl
42.15 rule (ipv6-acl-hyb configuration mode) Syntax rule number1 {permit |deny } {icmpv6 {v6mask1 |any } {v6mask2 |any } [{number2 |name1 } [ic mp-code number3 ] ] |{name2 |number4 |any } {ip_addr1 mask1 |v6mask3 |any } {ip_addr2 mask2 |v6mask4 |any } |tcp {ip_addr3 mask3 |v6mask5 |any } [name3 {range1 |name4 } ] {ip_addr4 mask4 |v6mask6 |any } [name5 {range2 |name6 } ] |udp {ip_addr5 mask5 |v6mask7 |any } [name7 {range3 |name8 } ] {ip_addr6 mask6 |v6mask8 |any } [name9 {range4 |name10 } ] } [{{[flow-label number5 ] [traffic-class number6 ] } |{[precedence number7 ] [tos number8 ] } |dscp number9 } ] {hexad ecimal1 |name11 |any } [{[cos number10 ] [vlan-id name12 range5 ] } ] [ingress {hexadecimal2 hexadecimal3 |any } ] [egress {hexadecimal4 hexadecimal5 |any } ] [double-tag {[cos number11 ] [vlan-id name13 range6 ] } ] [time-range name14 ] no rule {number1 |all }
Function This command configures a rule for an IPv6 hybrid ACL.
Parameters Parameter
Description
Value
number1
Rule number
1-127
permit
Permits traffic that matches the
-
rule deny
Denies traffic that matches the
-
rule icmpv6
ICMPv6 protocol
-
v6mask1
IP address of ICMPv6 source
-
any
Any IP protocol
-
v6mask2
Destination IP address ICMPv6
-
number2
IP protocol number
0-254
42-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name1
ICMP type
-
number3
Source IP address
0-254
name2
TCP source port matching rule
eq, range, ge, or le
number4
–
0-254
ip_addr1
Destination IP address
-
mask1
Mask
-
v6mask3
Source IP address
-
ip_addr2
Destination IP address
-
mask2
Mask
-
v6mask4
Destination IP address
-
tcp
TCP
-
ip_addr3
Source IP address
-
mask3
Mask
-
v6mask5
Source IP address
-
name3
Interface type
-
range1
TCP interface type
0-65535
name4
TCP interface type
-
ip_addr4
Destination IP address
-
mask4
Mask
-
v6mask6
Destination IP address
-
name5
Interface rule
-
range2
TCP interface type
0-65535
name6
TCP interface type
-
udp
UDP
-
ip_addr5
Source IP address
-
mask5
Mask
-
v6mask7
Source IP address
-
name7
Interface rule
-
range3
Interface type
0-65535
name8
Interface type
-
ip_addr6
Destination IP address
-
mask6
Mask
-
v6mask8
Destination IP address
-
42-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Parameter
Description
Value
name9
Interface rule
-
range4
UDP interface type
0-65535
name10
UDP interface type
-
number5
Flow-label
0-1048575
number6
Traffic-class
0-63
number7
Precedence
0-7
number8
TOS
0-15
number9
DSCP
0-63
hexadecimal1
Ethernet protocol type
-
name11
Ethernet protocol type
-
number10
COS
0-7
name12
VLAN ID matching rule
-
range5
VLAN ID
1-4094
hexadecimal2
Source MAC address
-
hexadecimal3
Mask
-
hexadecimal4
Destination MAC address
-
hexadecimal5
Mask
-
number11
COS
0-7
name13
VLAN ID matching rule
-
range6
VLAN ID
1-4094
name14
Time range name
-
all
-
-
Mode ipv6-acl-hyb configuration mode
Usage Guidelines To delete an IPv6 hybrid ACL rule, use the no form of this command.
Examples The following example shows how to configure a rule for the IPv6 hybrid ACL 600. The created rule (rule 1) permits TCP traffic that matches the following conditions: l l
Source IP address: 1:1::1:1/128 Source port: 2000
ZXAN(config)#acl6 hybrid number 600
42-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config-hybd-acl6)#rule 1 permit tcp 1:1::1:1/128 eq 200 any any
Related Commands 42.16 show acl
42.16 show acl Syntax show acl [{number1 |name1 |} ]
Function This command displays the contents in all ACLs or a specific ACL.
Parameters Parameter
Description
Value
number1
ACL number
1–699
name1
ACL name or alias
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the contents in all ACLs: ZXAN(config)#show acl acl standard number 10 acl standard number 20 acl extend number 100 acl link number 200 acl hybrid number 300 rule 1 permit any any any any ingress any egress any rule 2 permit any any any any
vlan-id eq 700
ingress
any egress any rule 3 permit any any any any cos 1 ingress any egress any rule 4 permit any any any any cos 2
vlan-id eq 600
ingress
any egress any acl hybrid number 301 rule 1 permit any any any any ingress any egress any
42-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands acl hybrid number 302 rule 1 permit any any any any
vlan-id eq 101
ingress
any egress any acl hybrid number 303
Related Commands 42.1 acl extended 42.3 acl link 42.4 acl standard 42.2 acl hybrid
42.17 show qos Syntax show qos
Function This command displays the configuration of ACL rule–based QoS actions, such as traffic mirroring and/or priority marking.
Parameters None
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display the configuration of ACL rule-based QoS actions: ZXAN(config)#show qos traffic-statistics in 234 rule-id 1 pkt-type red statistics-type packet traffic-statistics in 235 rule-id 1 pkt-type red statistics-type packet priority-mark in 300 rule-id 1 cos 3 traffic-limit in 300 rule-id 1 cir 1024 cbs 1000 ebs 10000 mode blind
Related Commands 42.9 priority-mark 42-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
42.10 redirect 42.21 traffic-limit 42.22 traffic-mirror 42.23 traffic-statistics 42.24 vlan-mark
42.18 show time-range Syntax show time-range [name1 ]
Function This command displays a time range.
Parameters Parameter
Description
Value
name1
Time range name
-
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display a time range: 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
Related Commands 42.20 time-range
42-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
42.19 show traffic-statistics Syntax show traffic-statistics {number1 |name1 } [rule-id number2 ]
Function This command displays traffic statistics configuration and statistical information.
Parameters Parameter
Description
Value
number1
ACL number
1–699
name1
ACL name or alias
-
number2
Rule number
1–4094
Mode All modes except user mode
Usage Guidelines None
Examples The following example shows how to display traffic statistics configuration and statistical information:
ZXAN(config)#show traffic-statistics 300 l-num/acl-name
rule pkt-type stat-type value
throughout
---------------------------------------------------------------------0
1
all
packet
0
unavailable
Related Commands 42.23 traffic-statistics clear traffic-statistics 42.17 show qos
42.20 time-range Syntax time-range name1 {time1 to time2 name2 |from time3 date1 [to time4 date2 ] } 42-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
no time-range name1
Function This command defines a time range.
Parameters Parameter
Description
Value
name1
Time range name
-
time1
Start time of a periodic time
-
range Format: hour:minute:second to
To
-
time2
End time of the periodic time
-
range Format: hour:minute:second name2
Period of the periodic time range
-
time3
Start time of an absolute time
-
range Format: hour:minute:second Start date of the absolute time
date1
-
range Format: month:day:year End time of the absolute time
time4
-
range Format: hour:minute:second End date of the absolute time
date2
-
range Format: month:day:year
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
An ACL rule is only valid during a time range if the time range name is specified when the rule is created. Two types of time ranges can be set: absolute time range and periodic time range. à
An absolute time range is a duration between two specific moments.
42-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands à
l
A periodic time range is a time range recurring on particular days, such as, recurring every day, on a particular day every week, on working days only, or on off days only.
To cancel the setting, use the no time-range command.
Examples The following example shows how to define a time range with the name “ztetimer”: The time range is an absolute time range from 10:00:00 on Jan. 1, 2006 to 11:00:00 on Jun.2, 2006. ZXAN(config)#time-range ztetimer from 10:0:0 1-1-2006 to 11:0:0 6-2-2006
Related Commands 42.18 show time-range
42.21 traffic-limit Syntax traffic-limit in {number1 |name1 } rule-id number2 cir number3 cbs number4 {ebs number5 |pir number6 pbs number7 } mode name2 [{[remark-red-dp name3 ] [remark-red-dscp number8 ] [remark-yellow-dp name4 ] [remark-yellow-dscp number9 ] [forward-red ] [drop-yellow ] } ] no traffic-limit in {number1 |name1 } rule-id number2
Function This command configures ACL rule-based traffic limiting.
Parameters Parameter
Description
Value
in
Specifies the ACL and the ACL
-
rule number1
ACL number
1–699
name1
ACL name or alias
-
number2
Rule number
1–4094
number3
CIR in kbps
64–32000000
number4
CBS in kbytes
4–16000
number5
EBS in kbytes
4–16000
number6
PIR in kbps
64–32000000
number7
PBS in kbytes
4–16000
42-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name2
Mode (color-blind or
-
color-aware) name3
Discard priority of red packets
high, medium, or low
number8
DSCP value marked for red
0–63
packets name4
Discard priority of yellow
high, medium, or low
packets number9
DSCP value marked for yellow
0–63
packets
Mode Configuration mode: ZXAN(config)#
Usage Guidelines Ensure that the ACL number, name, alias, and rule have been created before using this command.
Examples The following example shows how to configure rate limiting for traffic that matches rule 1 of ACL 300: ZXAN(config)#traffic-limit in 300 rule 1 cir 300 cbs 400 pir 800 pbs 300 mode blind
Related Commands 42.17 show qos
42.22 traffic-mirror Syntax traffic-mirror in {number1 |name1 } rule-id number2 {cpu |destination-ip ip_addr1 source-ip ip_addr2 {[priority number3 ] [tpid hexadecimal1 ] [ttl number4 ] [DSCP number5 ] } |interface interface1 [rspan-vlanid number6 [{[priority number7 ] [tpid hexadecimal2 ] } ] ] } no traffic-mirror in {number1 |name1 } rule-id number2
Function This command configures ACL-based traffic mirroring in configuration mode.
42-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Parameters Parameter
Description
Value
in
Specifies the ACL and ACL rule.
-
number1
ACL number.
1–699
name1
ACL name or alias.
-
number2
Rule ID.
1–4094
cpu
Mirrors traffic to the CPU.
-
ip_addr1
Destination IP address for
-
remote mirroring in ERSPAN mode. ip_addr2
Source IP address for remote
-
mirroring in ERSPAN mode. number3
CoS for remote mirroring in
0
ERSPAN mode. hexadecimal1
TPID for remote mirroring in
-
ERSPAN mode. number4
TTL for remote mirroring in
1–255
ERSPAN mode. number5
DSCP value for remote mirroring
0–63
in ERSPAN mode. interface1
Destination port name for traffic
-
mirroring to a specific port. number6
VLAN ID for remote mirroring in
1–4094
RSPAN mode. number7
CoS for remote mirroring in
0
RSPAN mode. hexadecimal2
TPID for remote mirroring in
-
RSPAN mode.
Mode Configuration mode: ZXAN(config)#
Usage Guidelines Ensure that the ACL number, name, alias, and rule have been created before using this command.
42-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the traffic mirroring function for mirroring traffic that matches rule 4 of ACL 333 to the interface gei_0/13/2: ZXAN(config)#traffic-mirror in 333 rule-id 4 interface gei_0/13/2
Related Commands 42.17 show qos
42.23 traffic-statistics Syntax traffic-statistics in {number1 |name1 } rule-id number2 pkt-type name2 statistics-type name3 no traffic-statistics in {number1 |name1 } rule-id number2
Function This command configures ACL rule-based traffic statistics.
Parameters Parameter
Description
Value
in
Specifies the ACL and ACL rule.
-
number1
ACL number.
1–699
name1
ACL name or alias.
-
number2
Rule number.
1–4094
pkt-type
Specifies the type of packets to
-
be counted. name2
Packet type.
red, yellow, green, or all
statistics-type
Specifies the type of traffic
-
statistics. name3
Statistics type.
packet or byte
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
Ensure that the ACL number, name, alias, and rule have been created before using this command. To cancel the setting, use the no traffic-statistics command. 42-30
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 42 ACL Commands
Examples The following example shows how to configure traffic statistics for counting green packets that matches rule 1024 of ACL 199: ZXAN(config)#traffic-statistics in 199 rule-id 1024 pkt-type green statistics-type packet
Related Commands 42.17 show qos 42.19 show traffic-statistics clear traffic-statistics
42.24 vlan-mark Syntax vlan-mark in {number1 |name1 } rule-id number2 vlan-id number3 no vlan-mark in {number1 |name1 } rule-id number2
Function This command modifies the VLAN ID of traffic that matches a specific ACL rule.
Parameters Parameter
Description
Value
in
Specifies the ACL and ACL rule.
-
number1
ACL number.
1–699
name1
ACL name or alias.
-
number2
Rule number.
1–4094
number3
VLAN ID.
1–4094
Mode Configuration mode: ZXAN(config)#
Usage Guidelines l l
Ensure that the ACL number and rule number have been created before using this command. To cancel the modification, use the no vlan-mark command.
42-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to modify the VLAN ID of traffic that matches rule 1 of ACL 100 to 2: ZXAN(config)#vlan-mark in 100 rule-id 1 vlan-id 2
Related Commands 42.17 show qos
42-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43
Port Location Commands Table of Contents Port Location Commands .........................................................................................43-1 DHCP Option82 Commands...................................................................................43-14 PPPoE+ Commands ..............................................................................................43-20
43.1 Port Location Commands 43.1.1 port-location Syntax port-location rackno number1 frameno number2
Function This command configures the rack number and shelf number for port location.
Parameters Parameter
Description
Value
number1
Rack number; default: 0
0–63
number2
Shelf number; default: 0
0–31
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the rack number and shelf number for port location: ZXAN(config)#port-location rackno 3 frameno 8
43-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 43.1.13 show port-location global
43.1.2 port-location access-node-identifier Syntax port-location access-node-identifier name1
Function The command configures the type of the port location access node identifier information.
Parameters Parameter
Description
Value
name1
inband-mac: indicates NE
-
inband MAC hostname: indicates host name The default is inband-mac.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The hostname value can be configured through the port-location hostname command.
Examples The following example shows how to set the access-node-identifier type to inband-mac:
ZXAN(config)#port-location access-node-identifier inband-mac
Related Commands 43.1.9 port-location hostname 43.1.13 show port-location global
43.1.3 port-location flexible-syntax add delimiter Syntax port-location flexible-syntax add delimiter name1 [index number1 ]
43-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
Function This command configures the delimiter of the flexible syntax.
Parameters Parameter
Description
Value
name1
Delimiter information
-
number1
Position to add the delimiter
1–30
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Seven delimiters are supported : # . , ; / : and space. If the index is not configured or greater than the maximum index in the current flexible syntax, the delimiter is appended after the original syntax configuration. If the index is smaller than or equal to the maximum index, the configuration is inserted in the position defined by the index. The configurations with the index greater than or equal to this index are moved backwards.
Examples The following example shows how to add space as a delimiter: ZXAN(config)#port-location flexible-syntax add delimiter space
Related Commands
43.1.4 port-location flexible-syntax add string Syntax port-location flexible-syntax add string name1 [index number1 ]
Function This command configures a string with flexible syntax.
43-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
String information; length: 1-50
-
number1
Position to insert the string
1–30
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the index is not configured or greater than the maximum index in the current flexible syntax, the string is appended after the original syntax configuration. If the index is smaller than or equal to the maximum index, the configuration is inserted in the position defined by the index. The configurations with the index greater than or equal to this index are moved backwards.
Examples The following example shows how to add the string ZXAN: ZXAN(config)#port-location flexible-syntax add string ZXAN
Related Commands
43.1.5 port-location flexible-syntax add variable Syntax port-location flexible-syntax add variable name1 [width number1 ] [index number2 ]
Function This command configures the variables of flexible syntax.
43-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
Parameters Parameter
Description
Value
name1
Variable name
-
number1
Variable width
1–5
number2
Position to add the variable
1–30
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The variable width can be specified. If the width is not specified, the actual width applies. The following variables can be configured: access_node_id : access point identification chassis: chassis number (Because no chassis is provided, the default is 0.) rack: rack number frame: shelf number slot: slot number sub-slot: sub-slot number port: port number vpi: vpi vci : vci q-vid: user vlan ethernet-priority: network priority onu-id: ODU ID gem-port: gem_port number cvlan: inner vlan svlan: outer vlan sn: ONU SN loid: ONU loid loidpw: ONU loidpw
Examples The following example shows how to add the variable slot with the width as 2: ZXAN(config)#port-location flexible-syntax add variable slot width 2
43-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands
43.1.6 port-location flexible-syntax delete Syntax port-location flexible-syntax delete index number1
Function This command deletes the element that is located in the position defined by the index in flexible syntax.
Parameters Parameter
Description
Value
number1
Element index
1–30
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the entered index is greater than the maximum index, an error is returned. After the element at the position defined by the index is deleted, the position is replaced by the subsequent flexible syntax configuration.
Examples The following example shows how to delete the element with the index as 2: ZXAN(config)#port-location flexible-syntax delete index 2
Related Commands
43-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
43.1.7 port-location format Syntax port-location format name1 {vport range1 |sport range2 }
Function This command configure the Circuit ID format in port location information.
Parameters Parameter
Description
Value
name1
Circuit ID format; default:
-
china-telecom range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface modem, and others
Usage Guidelines Port location information includes Circuit ID and Remote ID. This command configures the Circuit ID format. The Circuit ID formats include: china-telecom, dsl-forum, china-netcom, turkey, kt (Korea Telecom), ti (Telecom Italia), uni-base (Singapore), flexible-syntax, ft (France Telecom), gt (Georgia Telecom), vf (Vodafone), airtel. The spliced formats are: china-telecom, turkey, uni-base, airtel. The following gives some commonly-used formats: china-telecom:{eth|trk} NAS_slot/NAS_subslot/NAS_port:SVLAN.CVLAN AccessNodeIdentifier/ANI_rack/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID [ONU_Slot/ONU_Subslot/Port_ID][:{atm/eth|trk}/Port_XPI.Port_XCI] [LN|EP|GP] DSL forum
ftth: Access-Node-Identifier eth shelf/slot/port/onuid/slot/port:
axci.vlan-id pon:
Access-Node-Identifier pon shelf/slot/olt/onu/vport:axci.vlan-id
For the definitions of all formats, refer to the Definitions and Configurations of Thirteen Port Location Formats for IAP Platform document.
Examples The following example shows how to set the Circuit ID format to china-telecom: ZXAN(config)#interface gpon-onu_1/3/1:1 ZXAN(config-if)# port-location format china-telecom vport 1
43-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 43.1.14 show port-location port
43.1.8 port-location ft-cid Syntax port-location ft-cid name1 {vport range1 |sport range2 } no port-location ft-cid {vport range1 |sport range2 }
Function This command configures the France Telecom (FT) CID.
Parameters Parameter
Description
Value
name1
FT CID
1–64 characters
range1
Virtual port number
1–128
range2
Service port number
1–128
Mode gpon onu interface mode, epon onu interface mode
Usage Guidelines When the port format is ft, this command configures the CID content, which will be inserted into the uplink packet of the protocol related to port location.
Examples The following example shows how to configure the FT CID: ZXAN(config-if)#port-location ft-cid ftftft vport 1
Related Commands 43.1.7 port-location format 43.1.14 show port-location port
43.1.9 port-location hostname Syntax port-location hostname name1 43-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
no port-location hostname
Function This command configures the host name for port location.
Parameters Parameter
Description
Value
name1
Host name; default: ZXAN
1–50 characters
Mode Configuration mode: ZXAN (config)#
Usage Guidelines After the no port-location hostname command is used, the hostname value restores the default.
Examples The following example shows how to set the hostname for port location to ZTE:
ZXAN(config)#port-location hostname ZTE
Related Commands 43.1.2 port-location access-node-identifier 43.1.13 show port-location global
43.1.10 port-location sub-option remote-id Syntax port-location sub-option remote-id name1 {vport range1 |sport range2 }
Function This command enables or disables Remote ID for an interface.
43-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
l
-
Enable: enables Remote ID
l
Disable: disables Remote ID
The default is disable. range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines The port location information includes Circuit ID and Remote ID. The command enables or disables Remote ID. l
l
If Remote ID is enabled, the port location information includes the remote-id value, which can be configured through the port-location sub-option remote-id name command. If Remote ID is disabled, the port location information excludes the remote-id value.
Examples The following example shows how to enable Remote ID:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#port-location sub-option remote-id enable vport 1
Related Commands 43.1.11 port-location sub-option remote-id name 43.1.14 show port-location port
43.1.11 port-location sub-option remote-id name Syntax port-location sub-option remote-id name name1 {vport range1 |sport range2 } no port-location sub-option remote-id name {vport range1 |sport range2 }
43-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
Function This command configures the Remote ID of an interface.
Parameters Parameter
Description
Value
name1
Remote ID of the interface
1–64 characters
range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines None
Examples The following example show to configure the Remote ID of the interface gpon-onu_1/3/1:1 to ZTEzte:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#port-location sub-option remote-id name ZTEzte
vport 1
Related Commands 43.1.10 port-location sub-option remote-id 43.1.14 show port-location port
43.1.12 show port-location flexible-syntax Syntax show port-location flexible-syntax
Function This command displays the configuration of flexible syntax for port location.
Parameters None
43-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Any mode except user mode
Usage Guidelines None
Examples ZXAN#show port-location flexible-syntax ItemIndex
VariableType
Variable Name
Width
1
String
ZXAN
4
2
Delimiter
space
1
3
Standard-Var
Slot
2
Flexible-Syntax Format: ZXAN Slot
Related Commands
43.1.13 show port-location global Syntax show port-location global
Function This command displays the global port location configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
43-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
Examples The following example shows how to display the global port location configuration:
ZXAN#show port-location global identifier : inband-mac rackno
: 0
frameno
: 0
hostname
: ZXAN
Related Commands 43.1.1 port-location 43.1.2 port-location access-node-identifier 43.1.9 port-location hostname
43.1.14 show port-location port Syntax show port-location port interface1 [{vport number1 |pvc number2 |sport number3 } ]
Function This command displays the interface configuration for port location.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual interface number
1–128
l
For a ptp interface, the vport is unavailable.
l
For a GPON ONU interface, the vport range is 1–128.
l
For an EPON ONU interface, the vport is 1.
number2
PVC number
1–8
number3
Service interface number
1–128
Mode Any mode except user mode
43-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to display the interface configuration for port location: ZXAN(config)#show port-location port gpon-onu_1/3/1:1 vport 1 Onu
Vport Cid-Format
Rid-status Rid-name
gpon-onu_1/3/1:1
1
disable
china-telecom
Ft-cid
Related Commands 43.1.7 port-location format 43.1.10 port-location sub-option remote-id 43.1.11 port-location sub-option remote-id name
43.2 DHCP Option82 Commands 43.2.1 dhcp-option82 Syntax dhcp-option82 name1
Function This command enables or disables the global DHCP option82 function.
Parameters Parameter
Description
Value
name1
l
-
Enable: enables the global DHCP option82 function
l
Disable: disables the global DHCP option82 function
The default is disable.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines l
When the global DHCP option82 function is enabled, the CPU captures the DHCP option82 packets. 43-14
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
l
When the global DHCP option82 function is disabled, the CPU does not capture the DHCP option82 packets.
Examples The following example shows how to enable the global DHCP option82 function: ZXAN(config)# dhcp-option82 enable
Related Commands 43.2.5 show dhcp-option82 global
43.2.2 dhcp-option82(ptp interface mode) Syntax dhcp-option82 name1 {vport range1 |sport range2 }
Function This command enables or disables the DHCP option82 function for an interface.
Parameters Parameter
Description
Value
name1
l
-
l
Enable: enables the DHCP option82 function Disable: disables the DHCP option82 function
The default is disable. range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines 1. If the DHCP option82 function is enabled, the DHCP option82 uplink packets are added with port location information, and the DHCP option82 downlink packets are stripped with port location information. 2. If the DHCP option82 function is disabled, the port location module does not process the DHCP option82 packets. 3. If The DHCP option82 function is enabled for both the vport and sport, the sport has a higher priority for port location.
43-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the DHCP option82 function:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#dhcp-option82 enable vport 1
Related Commands 43.2.6 show dhcp-option82 port
43.2.3 dhcp-option82 trust false Syntax dhcp-option82 trust false name1 {vport range1 |sport range2 }
Function This command configure a DHCP Option 82 trust policy for an interface.
Parameters Parameter
Description
Value
name1
l
Discard: discards the request packets
-
l
Add: adds the port location information
The default is false add. range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines The configuration is applicable to the uplink packets containing port location information. If no port location information is contained, the information is added to the port location module. l l
If the trust policy is false discard, the port location module discards the packets directly. If the trust policy is false add, the port location module appends a new option82 to the original option82.
43-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
Examples The following example shows how to the set the DHCP Option 82 trust policy to false add to the interface gpon-onu_0/3/1:1: ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#dhcp-option82 trust false add vport 1
Related Commands 43.2.6 show dhcp-option82 port
43.2.4 dhcp-option82 trust true Syntax dhcp-option82 trust true name1 {vport range1 |sport range2 }
Function This command configures the DHCP option82 trust rule of the specified interface.
Parameters Parameter
Description
Value
name1
Keep: keeps the original port location
-
information Replace: replaces the port location information range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines The configuration is valid to the uplink packets carrying port location information. If such information is not carried, the port location module adds the port location information. If the trust rule is true keep, the original option82 is kept and the port location module does not process it. If the trust rule is true replace, the port location module replaces the original option82 with the new one.
43-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the DHCP option82 trust rule of the interface gpon-onu_1/3/1:1 to true keep: ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#dhcp-option82 trust true keep vport 1
Related Commands 43.2.6 show dhcp-option82 port
43.2.5 show dhcp-option82 global Syntax show dhcp-option82 global
Function This command displays the global DHCP option82 configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the global DHCP option82 configuration: ZXAN#show dhcp-option82 global
option82 status : disable
Related Commands 43.2.1 dhcp-option82
43-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
43.2.6 show dhcp-option82 port Syntax show dhcp-option82 port interface1 [{vport number1 |pvc number2 |sport number3 } ]
Function This command displays the DHCP option82 port configuration.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual interface number
1–128
l
For a ptp interface, the vport is unavailable.
l
For a GPON ONU interface, the vport range is 1–128.
l
For an EPON ONU interface, the vport is 1.
number2
PVC number
1–8
number3
Service port number
1–128
Mode Any mode except user mode
Usage Guidelines If the DHCP option82 trust rule is trust true, the policy can only be keep or replace. If the DHCP option82 trust rule is trust false, the policy can only be discard or add.
Examples The following example shows how to display the DHCP option82 port configuration:
ZXAN(config)#show dhcp-option82 port gpon-onu_1/3/1:1 vport 1 Onu
Vport
Option82 status
Trust
Policy
gpon-onu_1/3/1:1
1
disable
false
add
Related Commands dhcp-option82 {enable|disable} interface mode)
(ptp interface mode, gpon onu interface, epon onu
43-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
43.2.3 dhcp-option82 trust false 43.2.4 dhcp-option82 trust true
43.3 PPPoE+ Commands 43.3.1 pppoe-plus Syntax pppoe-plus name1
Function This command enables or disables the global PPPOE+ function.
Parameters Parameter
Description
Value
name1
l
-
Enable: enables the global PPPOE+ function
l
Disable: disables the global PPPOE+ function
The default value is disable.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines l l
When the global PPPoE+ function is enabled, the CPU captures the PPPoE+ packets. When the global PPPoE+ function is disabled, the CPU does not capture the PPPoE+ packets.
Examples The following example shows how to enable the global PPPoE+ function:
ZXAN(config)#pppoe-plus enable
The following example shows how to disable the global PPPoE+ function:
ZXAN(config)#pppoe-plus disable
43-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
Related Commands 43.3.5 show pppoe-plus global
43.3.2 pppoe-plus(ptp interface mode) Syntax pppoe-plus name1 {vport range1 |sport range2 }
Function This command enables or disables the PPPoE+ function for a specified interface.
Parameters Parameter
Description
Value
name1
l
-
Enable: enables the PPPoE+ function for the specified interface
l
Disable: disables the PPPoE+ function for the specified interface
The default value is disable. range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines 1. If the PPPoE+ function is enabled, the port location information is added to the PPPoE+ uplink packets, and the port location information is stripped from the PPPoE+ downlink packets. 2. If the PPPoE+ function is disabled, the port location module does not process PPPoE+ packets. 3. If the PPPoE+ function is enabled for both the vport and sport, the sport has a higher priority for port location.
Examples The following example shows how to enable the PPPoE+ function for the interface gpon-onu_0/3/1:1:
ZXAN(config)#interface gpon-onu_0/3/1:1
ZXAN(config-if)#pppoe-plus enable vport 1
43-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 43.3.6 show pppoe-plus port
43.3.3 pppoe-plus trust false Syntax pppoe-plus trust false name1 {vport range1 |sport range2 }
Function This command configure the PPPoE+ trust rule for a port.
Parameters Parameter
Description
Value
name1
l
Discard: discards the request packets
-
l
Add: adds the port location information
The default is false add. range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode
Usage Guidelines The configuration is effective for PPPoE+ uplink packets with port location information. If the port location information is not contained, the port location module will add new port location information. l l
If the trust rule is set to false discard, packets are discarded directly. If the trust rule is set to false add, the new port location information is appended.
Examples The following example shows how to configure the PPPoE+ trust rule for the interface gpon-onu_1/3/1:1 to false add: ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#pppoe-plus trust false add vport 1
Related Commands 43.3.6 show pppoe-plus port 43-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
43.3.4 pppoe-plus trust true Syntax pppoe-plus trust true name1 {vport range1 |sport range2 }
Function This command configure the PPPoE+ trust policy for a port.
Parameters Parameter
Description
Value
name1
Keep: keeps the original port location
-
information Replace: replaces the original port location information range1
Virtual interface number
1–128
range2
Service interface number
1–128
Mode ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines The configuration is effective for PPPoE+ uplink packets with port location information. If the port location information is not contained, the port location module will add new port location information. l l
If the trust rule is set to true keep, the original port location information is kept. If the trust rule is set to true replace, the original port location information is replaced with new one.
Examples The following example shows how to configure the PPPoE+ trust policy for the interface gpon-onu_1/3/1:1 to true keep: ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#pppoe-plus trust true keep vport 1
Related Commands 43.3.6 show pppoe-plus port
43-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
43.3.5 show pppoe-plus global Syntax show pppoe-plus global
Function This command displays the global PPPoE+ configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the global PPPoE+ configuration:
ZXAN(config)#show pppoe-plus global
pppoe-plus status : enable
Related Commands 43.3.1 pppoe-plus
43.3.6 show pppoe-plus port Syntax show pppoe-plus port interface1 [{vport number1 |pvc number2 |sport number3 } ]
Function This command displays the PPPoE+ port configuration.
43-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 43 Port Location Commands
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual interface number
1–128
l
For a ptp interface, the vport is unavailable.
l
For a GPON ONU interface, the vport range is 1–128.
l
For an EPON ONU interface, the vport is 1.
number2
PVC number
1–8
number3
Service interface number
1–128
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the PPPoE+ port configuration:
ZXAN(config)#show pppoe-plus port gpon-onu_1/3/1:1 vport 1 Onu
Vport
Pppoe-plus status
Trust
Policy
gpon-onu_1/3/1:1
1
disable
false
add
Related Commands pppoe-plus {enable | disable} (ptp interface mode, gpon onu interface mode, epon onu interface mode) 43.3.3 pppoe-plus trust false 43.3.4 pppoe-plus trust true
43-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
43-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44
MAC Management Commands Table of Contents mac add ...................................................................................................................44-1 mac aging-time.........................................................................................................44-2 mac delete ...............................................................................................................44-3 mac delete all ...........................................................................................................44-4 mac delete dynamic .................................................................................................44-5 mac delete permanent..............................................................................................44-6 mac delete vlan ........................................................................................................44-6 mac monitor-period ..................................................................................................44-7 mac usage-threshold................................................................................................44-8 show mac.................................................................................................................44-8 show mac aging-time .............................................................................................44-10 show mac monitor-info ........................................................................................... 44-11 show mac running ..................................................................................................44-12 show mac system...................................................................................................44-13 show mac-real-time ................................................................................................44-13
44.1 mac add Syntax mac add {permanent } hexadecimal1 {ethernet interface1 |smartgroup number1 |gpon interface2 vport number2 |epon interface3 vport number3 } [vlan number4 ]
Function This command adds an MAC address item.
44-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
permanent
Permanent MAC address,
-
non-participation in aging and script writing hexadecimal1
MAC address, in dotted
-
hexadecimal notation interface1
Ethernet physical port name, in
-
the format of gei_shelf/slot/port number1
Link aggregation port ID
Range: 1–68
interface2
GPON port name
-
number2
GPON virtual port ID
Range: 1–256
interface3
EPON port name
-
number3
EPON virtual port ID
1
number4
VLAN ID of an MAC address
Range: 1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the VLAN ID parameter is not specified, the PVID of the port is used. The show running-config or show mac running command displays the permanent MAC address configured.
Examples The following example shows how to add the static MAC address (000a.010c.e2c6) for the Ethernet port gei_1/19/1: ZXAN(config)#mac add permanent 0009.6b08.bfd6 ethernet gei_1/19/1
Related Commands 44.3 mac delete 44.15 show mac-real-time
44.2 mac aging-time Syntax mac aging-time number1 44-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44 MAC Management Commands
Function This command configures the dynamic MAC address aging time.
Parameters Parameter
Description
Value
number1
Aging time
Range: 10-1000000 (sec) Default: 300
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the MAC aging time configured is n (sec), the dynamic MAC address may age within n to 2n seconds.
Examples The following example shows how to configure the dynamic MAC address aging time as 180 seconds: ZXAN(config)#mac aging-time 180
Related Commands 44.11 show mac aging-time 44.13 show mac running
44.3 mac delete Syntax mac delete {hexadecimal1 |ethernet interface1 |smartgroup number1 |gpon interface2 vport nu mber2 |epon interface3 vport number3 } [vlan number4 ]
Function This command deletes an MAC address item.
44-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
hexadecimal1
MAC address, in dotted
-
hexadecimal notation Ethernet physical port name, in
interface1
-
the format of gei_shelf/slot/port number1
Link aggregation port ID
Range: 1–68
interface2
GPON port name
-
number2
GPON virtual port ID
Range: 1–256
interface3
EPON port name
-
number3
EPON virtual port ID
1
number4
VLAN ID of an MAC address
Range: 1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the VLAN ID parameter is not specified, all the MAC address items that match the MAC address parameter are deleted.
Examples The following example shows how to delete the MAC address for the Ethernet port gei_1/5/1: ZXAN(config)#mac delete
ethernet gei_1/5/1
Related Commands 44.1 mac add 44.15 show mac-real-time
44.4 mac delete all Syntax mac delete all
Function This command deletes all the MAC address items.
44-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44 MAC Management Commands
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to delete all the MAC address items: ZXAN(config)#mac delete all
Related Commands 44.1 mac add 44.15 show mac-real-time
44.5 mac delete dynamic Syntax mac delete dynamic
Function This command deletes dynamic MAC address items.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples ZXAN(config)#mac delete dynamic
Related Commands 44.1 mac add 44-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
44.15 show mac-real-time
44.6 mac delete permanent Syntax mac delete permanent
Function This command deletes permanent MAC address items.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to delete the permanent MAC address items: ZXAN(config)#mac delete permanent
Related Commands 44.1 mac add 44.15 show mac-real-time
44.7 mac delete vlan Syntax mac delete vlan number1
Function This command deletes all the MAC address items within a VLAN.
Parameters Parameter
Description
Value
number1
VLAN ID of the MAC address
Range: 1–4094
44-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44 MAC Management Commands
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to delete all the MAC address items within VLAN 100: ZXAN(config)#mac delete vlan 100
Related Commands 44.1 mac add 44.15 show mac-real-time
44.8 mac monitor-period Syntax mac monitor-period number1
Function This command configures a monitoring period for MAC learning.
Parameters Parameter
Description
Value
number1
Monitoring period
Range: 5–1440 (min) Default: 10
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command is used to configure a sampling period for MAC learning. Detailed information about the configuration can be displayed by the show mac monitor-info command.
Examples The following example shows how to configure the monitoring period for MAC learning as 5 minutes: ZXAN(config)#mac monitor-period 5
44-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 44.12 show mac monitor-info
44.9 mac usage-threshold Syntax mac usage-threshold number1
Function This command configures the alarm threshold of MAC usage. An alarm notice is generated when the MAC item number reaches the threshold.
Parameters Parameter
Description
Value
number1
Alarm percentage
Range: 1–100 Default: 70
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the alarm threshold of MAC usage as 10%: ZXAN(config)#mac usage-threshold 10
Related Commands None
44.10 show mac Syntax show mac [{hexadecimal1 [vlan number1 ] |dynamic |permanent |ethernet interface1 |smartgr oup number2 |gpon {olt interface2 |onu interface3 [vport number3 ] } |epon {olt interface4 |onu interface5 [vport number4 ] |interface6 } |inner-port interface7 |vlan number5 |[shelfno number6 ] slot number7 } ] [statistic ]
44-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44 MAC Management Commands
Function This command displays MAC address items that are learned by the switching chip on the main control and switching card. For GPON/EPON subscriber cards, the switching chip learns the MAC addresses to the inline port, and the main control and switching card then queries the real physical port ID of the newly learned MAC item from line cards in the background task. Only the MAC items whose real physical port ID are queried can be displayed.
Parameters Parameter
Description
Value
hexadecimal1
MAC address, in dotted
-
hexadecimal notation number1
VLAN ID of an MAC address
Range: 1–4094
dynamic
Dynamic MAC address
-
permanent
Permanent MAC address
-
interface1
Ethernet port ID
-
number2
Link aggregation port ID
Range: 1–68
interface2
GPON OLT port
-
interface3
GPON ONU port
-
number3
Virtual GPON port ID
Range: 1–256
interface4
EPON OLT port
-
interface5
EPON ONU port
-
number4
EPON virtual port ID
1
number5
VLAN ID of an MAC address
Range: 1–4094
number6
Shelf number
Range: 1–5
number7
Slot number
Range: 1–22
statistic
Statistics for MAC addresses
-
Mode Any mode except user mode
Usage Guidelines 1) The show mac command displays all the MAC address items whose real physical port can be determined, which form a subset of the MAC addresses learned by the switching chip on the main control and switching card, including the MAC addresses of all the line cards and uplink cards. The show mac dynamic command displays all the MAC addresses learned dynamically. 44-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
The show mac permanent command displays all the permanent MAC addresses. The show mac vlan vlanID command displays all the MAC address items of the designated vlanID. The show mac system command displays the MAC addresses of the inband and outband EMS. All the commands listed above + statistic display statistical information about the MAC address items that fulfill the specific conditions. 2) For GPON/EPON subscriber cards, the main control and switching card queries the real physical port of their MAC items from the background task. Therefore, it will lag for some time to display the MAC items with the show mac command after a large number of packets are sent to the equipment. The MAC items of line cards can be queried in real time with the show mac-real-time command. 3) When a large number of packets are sent to the equipment on the uplink port, the MAC items can be queried in real time with the show mac command.
Examples The following example shows how to display all the MAC address items: ZXAN(config)#show mac Total mac address : 2 Mac address
Vlan
Type
Port
Vc
---------------------------------------------------------------------------0000.0000.0001
100
Dynamic
gpon-onu_1/3/3:1
vport 1
0000.0000.0002
100
Dynamic
gpon-onu_1/3/3:2
vport 1
Related Commands 44.1 mac add 44.3 mac delete 44.15 show mac-real-time
44.11 show mac aging-time Syntax show mac aging-time
Function This command displays the aging time of dynamic MAC addresses.
Parameters None 44-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44 MAC Management Commands
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the aging time of the dynamic MAC addresses: ZXAN#show mac aging-time
The MAC Address aging time is 60 seconds
Related Commands 44.2 mac aging-time
44.12 show mac monitor-info Syntax show mac monitor-info
Function This command displays monitoring information about MAC address learning in the current time period.
Parameters None
Mode Any mode except user mode
Usage Guidelines This command samples the MAC table size in terms of the monitoring time period, displays the total number of the MAC table items on the main control card at the current time, and shows the maximum MAC usage since the device started.
Examples The following example shows how to display monitoring information about MAC address learning in the current time period: ZXAN#show mac monitor-info
44-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference MAC table usage monitoring period is 10 minutes. Elapsed time in current monitoring period(mm:ss) is 04:34. MAC table maximum size is 32768(32k). Current occupancy is 0, about 0 percent usage. Current monitor period peak occupancy is 0, about 0 percent usage. History monitor period peak occupancy is 0, about 0 percent usage.
Related Commands None
44.13 show mac running Syntax show mac running
Function This command displays the MAC address-related configurations of an NE.
Parameters None
Mode Any mode except user mode
Usage Guidelines If there are no MAC address-related configurations available, the default values of all parameters are displayed.
Examples The following example shows how to display the MAC address-related configurations: ZXAN#show mac running MAC aging-time 300 MAC monitor-period 10 MAC usage-threshold 70 mac add permanent 5467.019d.1257 epon epon-onu_0/3/1:1
vport 1 vlan 1
Related Commands 44.11 show mac aging-time
44-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44 MAC Management Commands
44.14 show mac system Syntax show mac system
Function This command displays the MAC addresses of the inband and outband EMS.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the MAC addresses of the inband and outband EMS: ZXAN#show mac system inband mac: 00d0.d0c8.0020 outband mac: 00d0.d0c8.003f
Related Commands None
44.15 show mac-real-time Syntax show mac-real-time [{hexadecimal1 [vlan number1 ] |dynamic |permanent |ethernet interface1 |smartgroup number2 |gpon {olt interface2 |onu interface3 [vport number3 ] } |epon {olt interfa ce4 |onu interface5 [vport number4 ] } |inner-port interface6 |vlan number5 |[shelfno number6 ] slot number7 } ] [statistic ]
Function This command displays MAC items. For GPON/EPON subscriber cards, the MAC items are queried from line cards with an asynchronous message.
44-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
hexadecimal1
MAC address, in dotted
-
hexadecimal notation number1
VLAN ID of an MAC address
Range: 1–4094
dynamic
Dynamic MAC address
-
permanent
Permanent MAC address
-
interface1
Ethernet port ID
-
number2
Link aggregation port ID
Range: 1–68
interface2
GPON OLT port
-
interface3
GPON ONU port
-
number3
Virtual GPON port ID
Range: 1–256
interface4
EPON OLT port
-
interface5
EPON ONU port
-
number4
Virtual EPON port ID
1
interface6
Inline port ID
-
number5
VLAN ID of an MAC address
Range: 1–4094
number6
Shelf number
Range: 1–5
number7
Slot number
Range: 1–22
statistic
Statistics for MAC addresses
-
Mode Any mode except user mode
Usage Guidelines The show mac-real-time command does not support the query for the MAC items of the line cards that are offline or always in configing state. The show mac-real-time command displays all the MAC address items, including that in the FPGA of all the line cards and that learned by the ports (excluding the inline port) in the ROS on the main control and switching card. The show mac-real-time dynamic command displays all the MAC addresses learned dynamically. The show mac-real-time permanent command displays all the permanent MAC addresses. The show mac-real-time vlan vlanID command displays all the MAC address items of the designated VLAN ID.
44-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 44 MAC Management Commands
The show mac-real-time inner-port command displays the MAC items on an inline port of the main control and switching card. One inline port corresponds to multiple PON OLT ports. When you enter an epon-olt or gpon-olt port, all the MAC items of the inline port corresponding to this PON port are displayed. Any one of the commands listed above + statistic displays statistical information about the MAC items that fulfill the specific conditions.
Examples The following example shows how to display all the MAC items: ZXAN(config)#show mac Total mac address : 2 Mac address
Vlan
Type
Port
Vc
---------------------------------------------------------------------------0000.0000.0001
100
Dynamic
gpon-onu_1/3/3:1
vport 1
0000.0000.0002
100
Dynamic
gpon-onu_1/3/3:2
vport 1
Related Commands 44.1 mac add 44.3 mac delete 44.10 show mac
44-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
This page intentionally left blank.
44-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 45
MAC Anti-Spoofing Commands Table of Contents clear security mac-spoofing-list ................................................................................45-1 clear security mac-spoofing-log ................................................................................45-2 security mac-anti-spoofing........................................................................................45-3 security mac-anti-spoofing uplink-protect..................................................................45-4 security mac-spoofing-trap .......................................................................................45-5 show security configuration ......................................................................................45-6 show security mac-spoofing-list ................................................................................45-6 show security mac-spoofing-log ...............................................................................45-7
45.1 clear security mac-spoofing-list Syntax clear security mac-spoofing-list {hexadecimal1 |all }
Function This command clears the static MAC items that are configured after successful spoofing.
Parameters Parameter
Description
Value
hexadecimal1
MAC address, in dotted
-
hexadecimal notation. Information is cleared based on the MAC address. all
All information.
-
Mode Privileged mode: ZXAN#
45-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines For the main control and switching card that supports only the software anti-spoofing function, static MAC items that are configured due to spoofing may likely be generated.
Examples The following example shows how to clear the static MAC items that are configured after successful spoofing: ZXAN#clear security mac-spoofing-list all
Related Commands 45.7 show security mac-spoofing-list
45.2 clear security mac-spoofing-log Syntax clear security mac-spoofing-log {all }
Function This command clears information about spoofing records.
Parameters Parameter
Description
Value
all
Information about all spoofing
-
records
Mode Privileged mode: ZXAN#
Usage Guidelines None
Examples The following example shows how to clear information about all spoofing records: ZXAN#clear security mac-spoofing-log all
Related Commands 45.8 show security mac-spoofing-log
45-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 45 MAC Anti-Spoofing Commands
45.3 security mac-anti-spoofing Syntax security mac-anti-spoofing name1
Function This command enables or disables the MAC address anti-spoofing function.
Parameters Parameter name1
Description
Value
enable: Enables address
enable/disable
anti-spoofing.
Default: disable
disable: Disables address anti-spoofing.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the MAC address anti-spoofing function is disabled. When the MAC address anti-spoofing function is disabled, the MAC+VLAN is allowed to spoof between ports. When the MAC address anti-spoofing function is enabled, and the uplink port protection is enabled, the MAC address is allowed to spoof from a user port to an uplink port, or between uplink ports, but is not allowed to spoof between user ports. When the MAC address anti-spoofing function is enabled, and the uplink port protection is disabled, the MAC address is not allowed to spoof.
Examples The following example shows how to disable the MAC address anti-spoofing function: ZXAN(config)#security mac-anti-spoofing disable
Related Commands 45.6 show security configuration 45.4 security mac-anti-spoofing uplink-protect
45-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
45.4 security mac-anti-spoofing uplink-protect Syntax security mac-anti-spoofing uplink-protect name1
Function This command enables or disables the anti-spoofing uplink port protection for MAC addresses.
Parameters Parameter
Description
Value
name1
enable: Enables anti-spoofing
enable/disable
uplink port protection.
Default: enable
disable: Disables anti-spoofing uplink port protection.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The uplink port protection is not effective until the anti-spoofing is enabled. When the MAC address anti-spoofing function is disabled, the MAC+VLAN is allowed to spoof between ports. When the MAC address anti-spoofing function is enabled, and the uplink port protection is enabled, the MAC address is allowed to spoof from a user port to an uplink port, or between uplink ports, but is not allowed to spoof between user ports. When the MAC address anti-spoofing function is enabled, and the uplink port protection is disabled, the MAC address is not allowed to spoof.
Examples The following example shows how to enable the anti-spoofing uplink port protection for MAC addresses: ZXAN(config)#security mac-anti-spoofing uplink-protect enable
Related Commands 45.6 show security configuration 45.3 security mac-anti-spoofing
45-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 45 MAC Anti-Spoofing Commands
45.5 security mac-spoofing-trap Syntax security mac-spoofing-trap name1
Function This command enables or disables MAC address anti-spoofing notification.
Parameters Parameter name1
Description
Value
enable: Enables anti-spoofing
enable/disable
notification.
Default: disable
disable: Disables anti-spoofing notification.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines 1) Anti-spoofing notification is associated to loopback detection. Make sure to enable spoofing notification and disable anti-spoofing before enabling loopback detection. 2) The same spoofing event will be reported within five seconds if it is detected for the first time. If it occurs again, it will be reported within 30 seconds. 3) The system saves the detected spoofing events as spoofing records, and up to 100 spoofing records are supported by the system. A spoofing notice may not be reported to the EMS until a spoofing event becomes a spoofing record. If the number of the records exceeds 100, an old record will be overwritten by a new one. 4) When the anti-spoofing is enabled, the disabled spoofing event does not report a spoofing notice to the EMS.
Examples The following example shows how to enable MAC address anti-spoofing notification: ZXAN(config)#security mac-spoofing-trap enable
Related Commands 45.6 show security configuration pon-loopback-detection 45.8 show security mac-spoofing-log 45-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
45.6 show security configuration Syntax show security configuration
Function This command displays anti-spoofing configurations of the system, such as MAC address anti-spoofing configuration, configuration of protected network-side MAC addresses, and spoofing notification configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the current anti-spoofing configurations of the system: ZXAN(config)#show security configuration mac-spoofing-trap :disable mac-anti-spoofing :enable uplink-protect
:enable
Related Commands 45.3 security mac-anti-spoofing 45.5 security mac-spoofing-trap 45.4 security mac-anti-spoofing uplink-protect
45.7 show security mac-spoofing-list Syntax show security mac-spoofing-list
45-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 45 MAC Anti-Spoofing Commands
Function This command displays information about the static MAC items that are configured after successful spoofing.
Parameters None
Mode Any mode except user mode
Usage Guidelines Only the records that have reported spoofing events and were configured as static MAC addresses can be saved and displayed. After a static MAC item is configured, only the corresponding port can forward the traffic flow of this MAC+VLAN.
Examples ZXAN#show security mac-spoofing-list the total mac-spoofing num:0
Related Commands 45.1 clear security mac-spoofing-list
45.8 show security mac-spoofing-log Syntax show security mac-spoofing-log
Function This command displays record information about MAC address spoofing and internal processing when the spoofing occurs.
Parameters None
Mode Any mode except user mode
Usage Guidelines This command is used to diagnose some engineering faults, such as user loopback, and network loopback. The location and traffic flow where spoofing occurs can be determined 45-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
with such information as spoofing MAC and VLAN, spoofing source port, and spoofing destination port saved in the spoofing record.
Examples ZXAN(config)#show security mac-spoofing-log the total mac-spoofing-log num:2 ------------------------------------------------------------------------mac-address
svlan
drift-port
last-drift-time
driftCount
add-Hard(H)
trapFlag
cvlan
origin-port
last-trap-time
trapCount
add-Soft(S)
------------------------------------------------------------------------0010.9400.0002 10 SENDED
0
gei_1/19/1
2001-1-4 0:38:29
1
H-NONE
inner-port_1/6/1
2001-1-4 0:38:53
1
S-NONE
------------------------------------------------------------------------0010.9400.0002 10 FORBIDDEN
0
inner-port_1/6/1
2001-1-4 0:38:37
2165
H-NONE
gei_1/19/1
unavailable
0
S-NONE
-------------------------------------------------------------------------
Related Commands 45.2 clear security mac-spoofing-log
45-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46
Multicast Commands Table of Contents Global IGMP Configuration Commands....................................................................46-1 IGMP MVLAN Configuration Commands ................................................................46-13 IGMP Show Commands .........................................................................................46-22 Global MLD Configuration Commands ...................................................................46-34 MLD MVLAN Configuration Commands .................................................................46-44 MLD Show Commands...........................................................................................46-53 IPTV Configuration Commands ..............................................................................46-65 IPTV Show Commands ..........................................................................................46-82
46.1 Global IGMP Configuration Commands 46.1.1 igmp bandwidth-control Syntax igmp bandwidth-control name1
Function This command enables or disables multicast group bandwidth control.
Parameters Parameter
Description
Value
name1
disable: Disables the bandwidth
-
control function. enable: Enables the bandwidth control function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
46-1 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable the multicast group bandwidth control function: ZXAN(config)#igmp bandwidth-control enable
Related Commands None
46.1.2 igmp disable Syntax igmp disable
Function This command disables the global IGMP configuration.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines When this command is used, the multicast data are transmitted transparently.
Examples The following example shows how to disable the global IGMP configuration: ZXAN(config)#igmp disable
Related Commands None
46.1.3 igmp enable Syntax igmp enable
Function This command enables the global IGMP configuration. 46-2 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the global IGMP configuration: ZXAN(config)#igmp enable
Related Commands None
46.1.4 igmp host-tracking Syntax igmp host-tracking name1
Function This command enables or disables IGMP host tracking.
Parameters Parameter
Description
Value
name1
enable: Enables IGMP host
-
tracking. disable: Disables IGMP host tracking.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable IGMP host tracking: 46-3 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN(config)#igmp host-tracking enable
Related Commands None
46.1.5 igmp last-query-count Syntax igmp last-query-count number1
Function This command configures the global IGMP query count of the last member.
Parameters Parameter
Description
Value
number1
Query count of the last member
Range: 2–5 Default: 2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global query count of the last member is 2.
Examples The following example shows how to configure the global IGMP query count of the last member as 3: ZXAN(config)#igmp last-query-count 3
Related Commands 46.3.1 show igmp
46.1.6 igmp last-query-interval Syntax igmp last-query-interval number1
Function This command configures the global IGMP query interval of the last member. 46-4 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameters Parameter
Description
Value
number1
Query interval of the last
Range: 1–255 (100 ms)
member
Default: 10
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global query interval of the last member is 1 second.
Examples The following example shows how to configure the global IGMP query interval of the last member as 2 seconds: ZXAN(config)#igmp last-query-interval 20
Related Commands 46.3.1 show igmp
46.1.7 igmp log Syntax igmp log name1
Function This command enables or disables IGMP logging.
Parameters Parameter
Description
Value
name1
disable: Disables the logging
Default: disable
function. enable: Enables the logging function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the logging function is disabled. 46-5 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to enable IGMP logging: ZXAN(config)#igmp log enable
Related Commands 46.3.4 show igmp log
46.1.8 igmp prejoin-interval Syntax igmp prejoin-interval number1
Function This command configures the global IGMP pre-join interval.
Parameters Parameter
Description
Value
number1
Pre-join interval
Range: 60–300 (sec) Default: 125
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global IGMP pre-join interval is 125 seconds.
Examples The following example shows how to configure the global IGMP pre-join interval as 60 seconds: ZXAN(config)#igmp prejoin-interval 60
Related Commands None
46.1.9 igmp query-interval Syntax igmp query-interval number1 46-6 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Function This command configures the common query interval of global IGMP.
Parameters Parameter
Description
Value
number1
Common query interval
Range: 30–300 (sec) Default: 125
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the common query interval is 125 seconds.
Examples The following example shows how to configure the common query interval of global IGMP as 60 seconds: ZXAN(config)#igmp query-interval 60
Related Commands 46.3.1 show igmp
46.1.10 igmp query-max-resp Syntax igmp query-max-resp number1
Function This command configures the maximum response time of global IGMP for common queries.
Parameters Parameter
Description
Value
number1
Maximum response time for
Range: 10–250 (100 ms)
common queries
Default: 100
Mode Configuration mode: ZXAN (config)# 46-7 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines By default, the maximum response time for common queries is 10 seconds.
Examples The following example shows how to configure the maximum response time of global IGMP for common queries as 5 seconds: ZXAN(config)#igmp query-max-resp 50
Related Commands 46.3.1 show igmp
46.1.11 igmp querygemport-mode Syntax igmp querygemport-mode name1
Function This command configures the global generic query process mode.
Parameters Parameter
Description
Value
name1
Generic query process mode:
Default: unicast
unicast, broadcast, both
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global query process mode is unicast.
Examples The following example shows how to configure the global generic query process mode as unicast: ZXAN(config)#igmp querygemport-mode unicast
Related Commands None
46-8 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
46.1.12 igmp robustness Syntax igmp robustness number1
Function This command configures the global IGMP robustness.
Parameters Parameter
Description
Value
number1
Robustness
Range: 2–5 Default: 2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the global robustness is configured, the parameters related to all the interfaces will be changed. By default, the global robustness is 2.
Examples The following example shows how to configure the global IGMP robustness as 3: ZXAN(config)#igmp robustness 3
Related Commands 46.3.1 show igmp
46.1.13 igmp snooping-aging-time Syntax igmp snooping-aging-time number1
Function This command configures the aging time of IGMP group members.
Parameters Parameter
Description
Value
number1
Aging time range of group
Range: 30–3600 (sec)
members
Default: 300
46-9 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command configures the aging time range of group members in snooping mode. By default, the aging time range is 300 seconds.
Examples The following example shows how to configure the aging time of IGMP group members as 500 seconds: ZXAN(config)#igmp snooping-aging-time 500
Related Commands None
46.1.14 igmp span-vlan Syntax igmp span-vlan name1
Function This command enables or disables IGMP registration across the VLAN.
Parameters Parameter
Description
Value
name1
enable: Enables IGMP
Default: enable
registration across the VLAN. disable: Disables IGMP registration across the VLAN.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines When IGMP registration across the VLAN is disabled, a user can join the multicast group only when the user VLAN is the same as the multicast VLAN.
Examples The following example shows how to enable IGMP registration across the VLAN: 46-10 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands ZXAN(config)#igmp span-vlan enable
Related Commands None
46.1.15 igmp statistics Syntax igmp statistics clear name1 [[mvlan number1 ] [interface interface1 {[vport number2 ] |[pvc nu mber3 ] } ] ]
Function This command clears the current IGMP message statistics.
Parameters Parameter
Description
Value
name1
current: current data
-
number1
Multicast VLAN ID
Range: 1–4094
interface1
Interface type
-
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Configuration mode: ZXAN (config)#
Usage Guidelines When this command is used with parameters, the message statistics of the specified MVLAN and interface are cleared separately.
Examples The following example shows how to clear the current IGMP message statistics: ZXAN(config)#igmp statistics clear current
Related Commands None
46-11 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
46.1.16 igmp unsolicited-report-interval Syntax igmp unsolicited-report-interval number1
Function This command configures the interval for unsolicited IGMP reporting.
Parameters Parameter
Description
Value
number1
Interval
Range: 1–60 (sec) Default: 10
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the interval is 10 seconds.
Examples The following example shows how to configure the interval for unsolicited IGMP reporting as 15 seconds: ZXAN(config)#igmp unsolicited-report-interval 15
Related Commands 46.3.1 show igmp
46.1.17 igmp version-mode Syntax igmp version-mode name1 name2
Function This command configures the highest IGMP version supported by an interface.
46-12 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameters Parameter
Description
Value
name1
v1: multicast IGMPv1.
-
v2: multicast IGMPv2. v3: multicast IGMPv3. name2
accept: Accepts.
-
drop: Discards.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the highest IGMP version supported by an interface as v3: ZXAN(config)#igmp version-mode v3 accept
Related Commands None
46.2 IGMP MVLAN Configuration Commands 46.2.1 igmp mvlan Syntax igmp mvlan number1 no igmp mvlan number1
Function This command creates an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
46-13 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete an MVLAN, use the no form of this command.
Examples The following example shows how to create MVLAN 100: ZXAN(config)#igmp mvlan 100
Related Commands None
46.2.2 igmp mvlan cvlan Syntax igmp mvlan number1 cvlan number2
Function This command configures the user CVLAN for an IGMP multicast VLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
number2
CVLAN ID
Range: 0–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the user CVLAN for an IGMP multicast VLAN as 1: XAN(config)# igmp mvlan 1 cvlan 1
Related Commands None 46-14 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
46.2.3 igmp mvlan drop Syntax igmp mvlan number1 drop
Function This command disables the IGMP of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to disable the IGMP of MVLAN 100: ZXAN(config)#igmp mvlan 100 drop
Related Commands None
46.2.4 igmp mvlan enable Syntax igmp mvlan number1 enable
Function This command enables the IGMP of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
Mode Configuration mode: ZXAN (config)# 46-15 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to enable the IGMP of MVLAN 100: ZXAN(config)#igmp mvlan 100 enable
Related Commands None
46.2.5 igmp mvlan group-filter Syntax igmp mvlan number1 group-filter name1
Function This command enables the management group of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
name1
enable: Enables the
Default: enable
management group. disable: Disables the management group.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the management group is enabled. If a management group is disabled, and a user does not multicast across the VLAN, it is unnecessary to configure multicast group join-in.
Examples The following example shows how to enable the management group of MVLAN 100: ZXAN(config)#igmp mvlan 100 group-filter enable
46-16 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Related Commands None
46.2.6 igmp mvlan host-ip Syntax igmp mvlan number1 host-ip ip_addr1
Function This command configures the proxy host IP address of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
ip_addr1
Host IP address
Default: 192.168.2.14
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The host IP is the source IP address of the report/leave message send by the system in proxy mode.
Examples The following example shows how to configure the proxy host IP address of MVLAN 100 as 10.1.1.1: ZXAN(config)#igmp mvlan 100 host-ip 10.1.1.1
Related Commands None
46.2.7 igmp mvlan host-version Syntax igmp mvlan number1 host-version name1
Function This command configures the proxy host version of an MVLAN. 46-17 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
name1
Host version type
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the proxy host version of MVLAN 100 as v2: ZXAN(config)#igmp mvlan 100 host-version v2
Related Commands None
46.2.8 igmp mvlan max-group Syntax igmp mvlan number1 max-group number2
Function This command configures the maximum group number of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
number2
Maximum group number
Range: 0–32768
Mode Configuration mode: ZXAN (config)#
46-18 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Usage Guidelines By default, the multicast mode of the system is normal, and the maximum MVLAN group number is 4096. If the maximum MVLAN group number is greater than 4096, the multicast mode should be set as extreme.
Examples The following example shows how to configure the maximum group number of MVLAN 100 as 1024: ZXAN(config)#igmp mvlan 100 max-group 1024
Related Commands None
46.2.9 igmp mvlan priority Syntax igmp mvlan number1 priority number2
Function This command configures the priority of protocol packets in proxy or router mode.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
number2
Priority of protocol packets
Range: 0–7
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the priority of protocol packets as 7 in proxy or router mode: XAN(config)#igmp mvlan 100 priority 7
Related Commands None 46-19 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
46.2.10 igmp mvlan receive-port Syntax igmp mvlan number1 receive-port interface1 {[vport number2 ] |[pvc number3 ] } no igmp mvlan number1 receive-port interface1 {[vport number2 ] |[pvc number3 ] }
Function This command adds an MVLAN receiving port.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
interface1
Interface name
-
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete an MVLAN receiving port, use the no form of this command.
Examples The following example shows how to add an MVLAN receiving port: ZXAN(config)#igmp mvlan 3 receive-port epon-onu_1/3/1:1 vport 1
Related Commands None
46.2.11 igmp mvlan source-port Syntax igmp mvlan number1 source-port interface1 no igmp mvlan number1 source-port interface1
Function This command adds an MVLAN source port. 46-20 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
interface1
Interface name
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete an MVLAN source port, use the no form of this command.
Examples The following example shows how to add an MVLAN source port: ZXAN(config)#igmp mvlan 100 source-port gei_1/19/1
Related Commands None
46.2.12 igmp mvlan work-mode Syntax igmp mvlan number1 work-mode name1
Function This command configures the working mode of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
One of the three modes:
Default: proxy
name1
snooping, router, and proxy
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the working mode of an MVLAN is proxy. 46-21 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the working mode of MVLAN 100 as snooping: ZXAN(config)#igmp mvlan 100 work-mode snooping
Related Commands None
46.3 IGMP Show Commands 46.3.1 show igmp Syntax show igmp
Function This command displays information about the global IGMP configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about the global IGMP configuration: ZXAN#show igmp IGMP global parameters: ---------------------------------------------------IGMP is globally enable. IGMP log is disable. Snooping aging time is 300 seconds. Span vlan is enable. Bandwidth control is disable. Host tracking is disable. Robustness variable is 2.
46-22 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands 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. Non match group is forward. Intermode status is disable. Prejoin interval is 120(second). Igmp version-mode v1 is accept. Igmp version-mode v2 is accept. Igmp version-mode v3 is accept. General query gemport mode is unicast.
Related Commands None
46.3.2 show igmp dynamic-member Syntax show igmp dynamic-member [[[shelf number1 ] slot number2 ] [mvlan number3 [group ip_addr1 ]]]
Function This command displays information about dynamic group members.
Parameters Parameter
Description
Value
number1
Shelf number
Range: 1–3
number2
Slot number
Range: 2–22
number3
Multicast VLAN ID
Range: 1–4094
ip_addr1
Multicast group IP address
-
Mode Any mode except user mode
Usage Guidelines If this command is used with no parameters, information about all the dynamic group members is displayed. If this command is used with parameters, information about the dynamic group members of a specified MVLAN or multicast group is displayed. 46-23 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to display information about all the dynamic group members: ZXAN#show igmp dynamic-member Mvlan 100 Group 224.1.1.1 ---------------------------epon-onu_1/3/1:1:1 Mvlan 200 Group 224.1.2.1 ---------------------------epon-onu_1/3/1:2:1
Related Commands None
46.3.3 show igmp interface Syntax show igmp interface interface1 [{vport number1 |pvc number2 } ] [{dynamic-group-list |staticgroup-list } ]
Function This command displays configuration information about an IGMP interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual port ID
Range: 1–255
number2
PVC ID
Range: 1–8
dynamic-group-list
Current dynamic group list
-
static-group-list
Current static group list
-
Mode Any mode except user mode
Usage Guidelines None
46-24 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Examples The following example shows how to display configuration information about an IGMP interface: ZXAN(config)#show igmp interface epon-onu_1/3/1:1 vport 1 IGMP interface epon-onu_1/3/1:1 vport 1 parameters: ---------------------------------------------------IGMP status is enable. IGMP version is v3. Fast leave is disable. Max concurrent group num is 512. Proxy ip is 192.168.2.14. Robustness variable is 2. Query max response time is 100(0.1second). Last membership query interval is 10(0.1second). Last membership query count is 2.
Related Commands None
46.3.4 show igmp log Syntax show igmp log [[statistic ] [interface interface1 [{vport number1 |pvc number2 } ] ] [group ip_ad dr1 ] [time time1 name1 number3 number4 [to time2 name2 number5 number6 ] ] ]
Function This command displays IGMP log information.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual port ID
Range: 1–255
number2
PVC ID
Range: 1–8
ip_addr1
IP address of IGMP multicast
-
time1
Start time
-
name1
Start month
-
number3
Start date
Range: 1–31
number4
Start year
Range: 2001–2098
time2
End time
-
46-25 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameter
Description
Value
name2
End month
-
number5
End date
Range: 1–31
number6
End year
Range: 2001–2098
Mode Any mode except user mode
Usage Guidelines If this command is used with no parameters, information about all the IGMP logs is displayed. If this command is used with parameters, information about the IGMP log statistics for a specific interface, multicast group, and time period is displayed separately.
Examples The following example shows how to display IGMP log information about multicast group 224.1.1.1: ZXAN#show igmp log group 224.1.1.1 -------------------------------------------------------------------Interface
Group Ip
Join_Time
Leave_Time
-------------------------------------------------------------------epon-onu_1/3/1:1
224.1.1.1
15:30:00 Oct 20 2007
16:30:00 Oct 20 2007
Related Commands None
46.3.5 show igmp mp-snooping Syntax show igmp mp-snooping [mvlan number1 [group ip_addr1 ] ]
Function This command displays information about dynamic group members of the current main control card.
Parameters Parameter
Description
Value
number1
Multicast VLAN
Range: 1–4094
ip_addr1
Multicast group address
-
46-26 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about all the dynamic group members: ZXAN#show igmp mp-snooping
Related Commands None
46.3.6 show igmp mp-statistics Syntax show igmp mp-statistics {[mvlan number1 ] |}
Function This command displays the number of layer-2 multicast packets received and transmitted by the main control card.
Parameters Parameter
Description
Value
number1
Multicast VLAN ID
Range: 1–4094
Mode Any mode except user mode
Usage Guidelines If this command is used with parameters, the packet statistics for a specified MVLAN are displayed.
Examples The following example shows how to display the number of layer-2 multicast packets received and transmitted by the main control card: ZXAN#show igmp mp-statistics mvlan 1 Total Statictics:
46-27 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference -----------------------------------------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
Related Commands 46.3.11 show igmp statistics
46.3.7 show igmp mvlan Syntax show igmp mvlan [number1 [group [ip_addr1 ] ] ]
46-28 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Function This command displays information about group members of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
ip_addr1
Multicast IP address
-
Mode Any mode except user mode
Usage Guidelines If this command is used with no parameters, address information about all the groups in an MVLAN is displayed. If this command is used with parameters, information about the static and dynamic members of a specified group is displayed.
Examples The following example shows how to display information about group members of MVLAN 222: ZXAN(config)#show igmp mvlan 222 group
Total Num is 6. Mvlan
Group-IP
BW(kbps)
Prejoin
ActPorts/Hosts
------------------------------------------------------------222
224.1.1.1
10000
enable
0
222
224.1.1.2
10000
enable
0
222
224.1.1.3
10000
enable
0
222
224.1.1.4
10000
enable
0
222
224.1.1.5
10000
enable
0
222
224.1.1.6
10000
enable
0
Related Commands None
46.3.8 show igmp np-statistics Syntax show igmp np-statistics name1 [[mvlan number1 ] [interface interface1 {[vport number2 ] |[pvc number3 ] } ] ] 46-29 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Function This command displays the number of packets received and transmitted by line cards.
Parameters Parameter
Description
Value
name1
current: current traffic
-
number1
Multicast VLAN ID
Range: 1–4094
interface1
Interface name
-
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the number of current packets currently received and transmitted by line cards: ZXAN#show igmp np-statistics current Total Statictics: -----------------------------------------RxTotal
: 196
TxTotal
: 337
Rx Statistics: -----------------------------------------RxCommQuery
: 6
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 120
RxV3Report
: 0
RxLeave
: 70
RxError
: 0
RxUnknown
: 0
Tx Statistics: -----------------------------------------TxCommQuery
: 7
TxSpecialQuery
: 140
46-30 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands TxV1Report
: 0
TxV2Report
: 120
TxV3Report
: 0
TxLeave
: 70
Drop Statistics: -----------------------------------------DropRxCommQuery
: 0
DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands 46.3.11 show igmp statistics
46.3.9 show igmp pon-statistics Syntax show igmp pon-statistics interface interface1
Function This command displays the number of dynamic groups and users on a PON port.
Parameters Parameter
Description
Value
interface1
OLT interface name
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the number of dynamic groups and users on the PON port epon-olt_1/13/1: ZXAN(config)#show igmp pon-statistics interface epon-olt_1/13/1 Active Group Num : 0
46-31 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference Active User Num : 0
Related Commands None
46.3.10 show igmp static-member Syntax show igmp static-member [mvlan number1 [group ip_addr1 ] ]
Function This command displays information about static group members.
Parameters Parameter
Description
Value
number1
Multicast VLAN ID
Range: 1–4094
ip_addr1
Multicast IP address
-
Mode Any mode except user mode
Usage Guidelines If this command is used with no parameters, information about all the static group members is displayed. If this command is used with parameters, information about the static group members of a specified MVLAN or multicast group is displayed.
Examples The following example shows how to display information about all the static group members: ZXAN#show igmp static-member Mvlan 100 Group 224.1.1.1 ---------------------------epon-onu_1/3/1:1:1 Mvlan 200 Group 224.1.2.1 ---------------------------epon-onu_1/3/1:2:1
Related Commands None 46-32 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
46.3.11 show igmp statistics Syntax show igmp statistics mvlan number1 [interface interface1 {[vport number2 ] |[pvc number3 ] } ]
Function This command displays statistical information about IGMP packets.
Parameters Parameter
Description
Value
number1
Multicast VLAN ID
Range: 1–4094
interface1
Interface name
-
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Any mode except user mode
Usage Guidelines If this command is used with parameters, the packet statistics for a specified MVLAN and interface are displayed separately.
Examples The following example shows how to display statistical information about IGMP packets: ZXAN#show igmp statistics mvlan 1 Igmp Statistics of Mvlan : 1 -------------------------------------------------joins sent to net
: 0
joins rcv from users
: 0
successful joins from users
: 0
unsuccessful joins from users
: 0
leave
to network
: 0
leave
from users
general-query
to users
: 0 : 0
general-query from net
: 0
special-query
to users
: 0
special-query
from net
: 0
---------------------------------------------------ZXAN#
46-33 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
46.4 Global MLD Configuration Commands 46.4.1 mld bandwidth-control Syntax mld bandwidth-control name1
Function This command enables or disables multicast group bandwidth control.
Parameters Parameter
Description
Value
name1
disable: Disables the bandwidth
-
control function. enable: Enables the bandwidth control function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the multicast group bandwidth control function: ZXAN(config)#mld bandwidth-control enable
Related Commands None
46.4.2 mld disable Syntax mld disable 46-34 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Function This command disables the global MLD configuration.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines When this command is used, the multicast data are transmitted transparently.
Examples The following example shows how to disable the global MLD configuration: ZXAN(config)#mld disable
Related Commands None
46.4.3 mld enable Syntax mld enable
Function This command enables the global MLD configuration.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the global MLD configuration: ZXAN(config)#mld enable
46-35 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
46.4.4 mld host-tracking Syntax mld host-tracking name1
Function This command enables or disables MLD host tracking.
Parameters Parameter
Description
Value
name1
enable: Enables MLD host
-
tracking. disable: Disables MLD host tracking.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable MLD host tracking: ZXAN(config)#mld host-tracking enable
Related Commands None
46.4.5 mld last-query-count Syntax mld last-query-count number1
Function This command configures the global MLD query count of the last member. 46-36 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameters Parameter
Description
Value
number1
Query count of the last member
Range: 2–5 Default: 2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global query count of the last member is 2.
Examples The following example shows how to configure the global MLD query count of the last member as 3: ZXAN(config)#mld last-query-count 3
Related Commands 46.6.1 show mld
46.4.6 mld last-query-interval Syntax mld last-query-interval number1
Function This command configures the global MLD query interval of the last member.
Parameters Parameter
Description
Value
number1
Query interval of the last
Range: 1–255 (100 ms)
member
Default: 10
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global query interval of the last member is 1 second.
46-37 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the global MLD query interval of the last member as 2 seconds: ZXAN(config)#mld last-query-interval 20
Related Commands 46.6.1 show mld
46.4.7 mld log Syntax mld log name1
Function This command enables or disables MLD logging.
Parameters Parameter
Description
Value
name1
disable: Disables the logging
-
function. enable: Enables the logging function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable MLD logging: ZXAN(config)#mld log enable
Related Commands 46.6.4 show mld log
46-38 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
46.4.8 mld prejoin-interval Syntax mld prejoin-interval number1
Function This command configures the global MLD pre-join interval.
Parameters Parameter
Description
Value
number1
Pre-join interval
Range: 60–300 (sec) Default: 125
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the global MLD pre-join interval is 125 seconds.
Examples The following example shows how to configure the global MLD pre-join interval as 60 seconds: ZXAN(config)#mld prejoin-interval 60
Related Commands None
46.4.9 mld query-interval Syntax mld query-interval number1
Function This command configures the common query interval of global MLD.
Parameters Parameter
Description
Value
number1
Common query interval
Range: 60–300 (sec) Default: 125
46-39 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the common query interval is 125 seconds.
Examples The following example shows how to configure the common query interval of global MLD as 60 seconds: ZXAN(config)#mld query-interval 60
Related Commands 46.6.1 show mld
46.4.10 mld query-max-resp Syntax mld query-max-resp number1
Function This command configures the maximum response time of global MLD for common queries.
Parameters Parameter
Description
Value
number1
Maximum response time for
Range: 10–250 (100 ms)
common queries
Default: 100
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the maximum response time for common queries is 10 seconds.
Examples The following example shows how to configure the maximum response time of global MLD for common queries as 5 seconds: ZXAN(config)#mld query-max-resp 50
46-40 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Related Commands 46.6.1 show mld
46.4.11 mld robustness Syntax mld robustness number1
Function This command configures the global MLD robustness.
Parameters Parameter
Description
Value
number1
Robustness
Range: 2–5 Default: 2
Mode Configuration mode: ZXAN (config)#
Usage Guidelines If the global robustness is configured, the parameters related to all the interfaces will be changed. By default, the global robustness is 2.
Examples The following example shows how to configure the global MLD robustness as 3: ZXAN(config)#mld robustness 3
Related Commands 46.6.1 show mld
46.4.12 mld snooping-aging-time Syntax mld snooping-aging-time number1
Function This command configures the aging time of MLD group members.
46-41 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Aging time range of group
Range: 30–3600 (sec)
members
Default: 300
Mode Configuration mode: ZXAN (config)#
Usage Guidelines This command configures the aging time range of group members in snooping mode. By default, the aging time range is 300 seconds.
Examples The following example shows how to configure the aging time of MLD group members as 500 seconds: ZXAN(config)#mld snooping-aging-time 500
Related Commands None
46.4.13 mld span-vlan Syntax mld span-vlan name1
Function This command enables or disables MLD registration across the VLAN.
Parameters Parameter
Description
Value
name1
enable: Enables MLD
Default: enable
registration across the VLAN. disable: Disables MLD registration across the VLAN.
Mode Configuration mode: ZXAN (config)#
46-42 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Usage Guidelines When MLD registration across the VLAN is disabled, a user can join the multicast group only when the user VLAN is the same as the multicast VLAN.
Examples The following example shows how to enable MLD registration across the VLAN: ZXAN(config)#mld span-vlan enable
Related Commands None
46.4.14 mld statistics Syntax mld statistics clear name1 [[mvlan number1 ] [interface interface1 {[vport number2 ] |[pvc num ber3 ] } ] ]
Function This command clears the current MLD message statistics.
Parameters Parameter
Description
Value
name1
current: current data
-
number1
Multicast VLAN ID
Range: 1–4094
interface1
Interface type
-
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Configuration mode: ZXAN (config)#
Usage Guidelines When this command is used with parameters, the message statistics of the specified MVLAN and interface are cleared separately.
Examples The following example shows how to clear the current MLD message statistics: ZXAN(config)#mld statistics clear current
46-43 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
46.4.15 mld unsolicited-report-interval Syntax mld unsolicited-report-interval number1
Function This command configures the interval for unsolicited MLD reporting.
Parameters Parameter
Description
Value
number1
Interval
Range: 1–60 (sec) Default: 10
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the interval is 10 seconds.
Examples The following example shows how to configure the interval for unsolicited MLD reporting as 15 seconds: ZXAN(config)#mld unsolicited-report-interval 15
Related Commands 46.6.1 show mld
46.5 MLD MVLAN Configuration Commands 46.5.1 mld mvlan Syntax mld mvlan number1 no mld mvlan number1 46-44 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Function This command creates an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete an MVLAN, use the no form of this command.
Examples The following example shows how to create MVLAN 100: ZXAN(config)#mld mvlan 100
Related Commands None
46.5.2 mld mvlan cvlan Syntax mld mvlan number1 cvlan number2
Function This command configures the user CVLAN for an MLD MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID range
Range: 1–4094
number2
CVLAN range
Range: 0–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None 46-45 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to configure the user CVLAN as 1 for an MLD MVLAN: XAN(config)# mld mvlan 1 cvlan 1
Related Commands None
46.5.3 mld mvlan drop Syntax mld mvlan number1 drop
Function This command disables the MLD of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to disable the MLD of MVLAN 100: ZXAN(config)#mld mvlan 100 drop
Related Commands None
46.5.4 mld mvlan enable Syntax mld mvlan number1 enable
46-46 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Function This command enables the MLD of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the MLD of MVLAN 100: ZXAN(config)#mld mvlan 100 enable
Related Commands None
46.5.5 mld mvlan group-filter Syntax mld mvlan number1 group-filter name1
Function This command enables the management group of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
name1
enable: Enables the
Default: enable
management group. disable: Disables the management group.
Mode Configuration mode: ZXAN (config)# 46-47 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines By default, the management group is enabled. If a management group is disabled, and does not multicast across the VLAN, it is unnecessary to configure multicast group join-in.
Examples The following example shows how to enable the management group of MVLAN 100: ZXAN(config)#mld mvlan 100 group-filter enable
Related Commands None
46.5.6 mld mvlan host-ip Syntax mld mvlan number1 host-ip ipv6_addr1
Function This command configures the proxy host IP address of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
ipv6_addr1
Host IP address
Default: 0.0.0.0
Mode Configuration mode: ZXAN (config)#
Usage Guidelines The host IP is the source IP address of the report/leave message send by the system in proxy mode.
Examples The following example shows how to configure the proxy host IP address of MVLAN 100 as ff8e::1: ZXAN(config)#mld mvlan 100 host-ip ff8e::1
Related Commands None 46-48 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
46.5.7 mld mvlan host-version Syntax mld mvlan number1 host-version name1
Function This command configures the proxy host version of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
name1
auto: Selects a version
-
automatically. v1: Selects version v1. v2: Selects version v2.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the proxy host version of MVLAN 100 as v2: ZXAN(config)#mld mvlan 100 host-version v2
Related Commands None
46.5.8 mld mvlan max-group Syntax mld mvlan number1 max-group number2
Function This command configures the maximum group number of an MVLAN.
46-49 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
number2
Maximum group number
Range: 0–32768
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the multicast mode of the system is normal, and the maximum MVLAN group number is 4096. If the maximum MVLAN group number is greater than 4096, the multicast mode should be set as extreme.
Examples The following example shows how to configure the maximum group number of MVLAN 100 as 1024: ZXAN(config)#mld mvlan 100 max-group 1024
Related Commands None
46.5.9 mld mvlan priority Syntax mld mvlan number1 priority number2
Function This command configures the priority of protocol packets in proxy or router mode.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
number2
Priority of protocol packets
Range: 0–7
Mode Configuration mode: ZXAN (config)#
46-50 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Usage Guidelines None
Examples The following example shows how to configure the priority of protocol packets as 7 in proxy or router mode: XAN(config)#mld mvlan 100 priority 7
Related Commands None
46.5.10 mld mvlan receive-port Syntax mld mvlan number1 receive-port interface1 {[vport number2 ] |[pvc number3 ] } no mld mvlan number1 receive-port interface1 {[vport number2 ] |[pvc number3 ] }
Function This command adds an MVLAN receiving port.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
interface1
Interface name
-
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete an MVLAN receiving port, use the no form of this command.
Examples The following example shows how to add an MVLAN receiving port: ZXAN(config)#mld mvlan 3 receive-port epon-onu_1/3/1:1 vport 1
46-51 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
46.5.11 mld mvlan source-port Syntax mld mvlan number1 source-port interface1 no mld mvlan number1 source-port interface1
Function This command adds an MVLAN source port.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
interface1
Interface name
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete an MVLAN source port, use the no form of this command.
Examples The following example shows how to add an MVLAN source port: ZXAN(config)#mld mvlan 100 source-port gei_1/19/1
Related Commands None
46.5.12 mld mvlan work-mode Syntax mld mvlan number1 work-mode name1
Function This command configures the working mode of an MVLAN. 46-52 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
One of the three modes:
Default: proxy
name1
snooping, router, and proxy
Mode Configuration mode: ZXAN (config)#
Usage Guidelines By default, the working mode of an MVLAN is proxy.
Examples The following example shows how to configure the working mode of MVLAN 100 as snooping: ZXAN(config)#mld mvlan 100 work-mode snooping
Related Commands None
46.6 MLD Show Commands 46.6.1 show mld Syntax show mld
Function This command displays information about the global MLD configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None 46-53 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to display information about the global MLD configuration: ZXAN(config)#show mld MLD global parameters: ---------------------------------------------------Mld is globally disable. Mld log is disable. Snooping aging time is 300 seconds. Span vlan is enable. Bandwidth control is disable. Host tracking 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. Unsolicited report interval is 10 seconds. Non match group is forward. Intermode status is disable. Prejoin interval is 120(second).
Related Commands None
46.6.2 show mld dynamic-member Syntax show mld dynamic-member [[[shelf number1 ] slot number2 ] [mvlan number3 [group ipv6_add r1 ] ] ]
Function This command displays information about dynamic group members.
Parameters Parameter
Description
Value
number1
Shelf number
Range: 1–3
number2
Slot number
Range: 2–22
number3
Multicast VLAN ID
Range: 1–4094
ipv6_addr1
Multicast group IP address
-
46-54 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Mode Any mode except user mode
Usage Guidelines If this command is used with no parameters, information about all the dynamic group members is displayed. If this command is used with parameters, information about the dynamic group members of a specified MVLAN or multicast group is displayed.
Examples The following example shows how to display information about the MLD dynamic members: ZXAN#show mld dynamic-member
Related Commands None
46.6.3 show mld interface Syntax show mld interface interface1 [{vport number1 |pvc number2 } ] [{dynamic-group-list |static-g roup-list } ]
Function This command displays configuration information about an MLD interface.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual port ID
Range: 1–255
number2
PVC ID
Range: 1–8
dynamic-group-list
Current dynamic group list
-
static-group-list
Current static group list
-
Mode Any mode except user mode
46-55 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to display configuration information about an MLD interface: ZXAN(config)#show mld interface epon-onu_1/3/1:1 vport 1
Related Commands None
46.6.4 show mld log Syntax show mld log [[statistic ] [interface interface1 [{vport number1 |pvc number2 } ] ] [group ipv6_a ddr1 ] [time time1 name1 number3 number4 [to time2 name2 number5 number6 ] ] ]
Function This command displays MLD log information.
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Virtual port ID
Range: 1–255
number2
PVC ID
Range: 1–8
ipv6_addr1
IP address of MLD multicast
-
time1
Start time
-
name1
Start month
-
number3
Start date
Range: 1–31
number4
Start year
Range: 2001–2098
time2
End time
-
name2
End month
-
number5
End date
Range: 1–31
number6
End year
Range: 2001–2098
Mode Any mode except user mode 46-56 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Usage Guidelines If this command is used with no parameters, information about all the MLD logs is displayed. If this command is used with parameters, information about the MLD log statistics for a specified interface, multicast group, and time period is displayed separately.
Examples The following example shows how to display log information about a multicast group: ZXAN(config)#show mld log ------------------------------------------------------------------------------Interface
Group Ip
Join_Time
Leave_Time
-------------------------------------------------------------------------------
Related Commands None
46.6.5 show mld mp-snooping Syntax show mld mp-snooping [mvlan number1 [group ipv6_addr1 ] ]
Function This command displays information about dynamic group members of the current main control card.
Parameters Parameter
Description
Value
number1
Multicast VLAN
Range: 1–4094
ipv6_addr1
Multicast group address
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about all the dynamic group members: 46-57 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference ZXAN#show mld mp-snooping
Related Commands None
46.6.6 show mld mp-statistics Syntax show mld mp-statistics {[mvlan number1 ] |}
Function This command displays the number of layer-2 multicast packets received and transmitted by the main control card.
Parameters Parameter
Description
Value
number1
Multicast VLAN ID
Range: 1–4094
Mode Any mode except user mode
Usage Guidelines If this command is used with parameters, the packet statistics for a specified MVLAN are displayed.
Examples The following example shows how to display the number of layer-2 multicast packets received and transmitted by the main control card: ZXAN(config)#show mld mp-statistics mvlan 1 Total Statictics: -----------------------------------------RxTotal
: 0
TxTotal
: 0
Rx Statistics: -----------------------------------------RxCommQuery
: 0
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 0
RxV3Report
: 0
46-58 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands RxLeave
: 0
RxError
: 0
RxUnknown
: 0
Tx Statistics: -----------------------------------------TxCommQuery
: 0
TxSpecialQuery
: 0
TxV1Report
: 0
TxV2Report
: 0
TxV3Report
: 0
TxLeave
: 0
Drop Statistics: -----------------------------------------DropRxCommQuery
: 0
DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands 46.6.11 show mld statistics
46.6.7 show mld mvlan Syntax show mld mvlan [number1 [group [ipv6_addr1 ] ] ]
Function This command displays information about group members of an MVLAN.
Parameters Parameter
Description
Value
number1
MVLAN ID
Range: 1–4094
ipv6_addr1
Multicast IP address
-
Mode Any mode except user mode 46-59 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines If this command is used with no parameters, address information about all the groups in an MVLAN is displayed. If this command is used with parameters, information about the static and dynamic members of a specified group is displayed.
Examples The following example shows how to display information about group members of MVLAN 100: ZXAN(config)#show mld mvlan 100 Protocol packet's priority is 0 (in proxy/router mode) Act Port is 0 Cvlan is 0 Source Port ----------------------------
Receive Port ----------------------------
Group ----------------------------
Related Commands None
46.6.8 show mld np-statistics Syntax show mld np-statistics name1 [[mvlan number1 ] [interface interface1 {[vport number2 ] |[pvc number3 ] } ] ]
Function This command displays the number of packets received and transmitted by line cards.
Parameters Parameter
Description
Value
name1
current: current traffic
-
number1
Multicast VLAN ID
Range: 1–4094
interface1
Interface name
-
46-60 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameter
Description
Value
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the number of packets currently received and transmitted by line cards: ZXAN(config)#show mld np-statistics current 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
46-61 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands 46.6.11 show mld statistics
46.6.9 show mld pon-statistics Syntax show mld pon-statistics interface interface1
Function This command displays the number of dynamic groups and users on a PON port.
Parameters Parameter
Description
Value
interface1
Interface name
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display the number of dynamic groups and users on the PON port epon-olt_1/13/1: ZXAN(config)#show mld pon-statistics interface epon-olt_1/13/1 Active Group Num
: 0
Active User Num
: 0
Related Commands None
46-62 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
46.6.10 show mld static-member Syntax show mld static-member [mvlan number1 [group ipv6_addr1 ] ]
Function This command displays information about static group members.
Parameters Parameter
Description
Value
number1
Multicast VLAN ID
Range: 1–4094
ipv6_addr1
Multicast IP address
-
Mode Any mode except user mode
Usage Guidelines If this command is used with no parameters, information about all the static group members is displayed. If this command is used with parameters, information about the static group members of a specified MVLAN or multicast group is displayed.
Examples The following example shows how to display information about all the static group members: ZXAN#show mld static-member
Related Commands None
46.6.11 show mld statistics Syntax show mld statistics {[mvlan number1 ] |[interface interface1 {[vport number2 ] |[pvc number3 ] } ]}
Function This command displays statistical information about MLD packets. 46-63 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
number1
Multicast VLAN ID
Range: 1–4094
interface1
Interface name
-
number2
Virtual port ID
Range: 1–255
number3
PVC ID
Range: 1–8
Mode Any mode except user mode
Usage Guidelines If this command is used with parameters, the packet statistics for a specified MVLAN and interface are displayed separately.
Examples The following example shows how to display statistical information about MLD packets: ZXAN(config)#show mld statistics mvlan 100 Mld Statistics of Mvlan : 100 -------------------------------------------------joins sent to net
: 0
joins rcv from users
: 0
successful joins from users
: 0
unsuccessful joins from users
: 0
leave
to network
: 0
leave
from users
general-query
to users
: 0 : 0
general-query from net
: 0
special-query
to users
: 0
special-query
from net
: 0
----------------------------------------------------
Related Commands None
46-64 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
46.7 IPTV Configuration Commands 46.7.1 iptv cac Syntax iptv cac name1
Function This command enables or disables the CAC function.
Parameters Parameter
Description
Value
name1
enable: Enables the CAC
-
function. disable: Disables the CAC function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the CAC function: ZXAN(config)#iptv cac enable
Related Commands 46.8.5 show iptv control
46.7.2 iptv cdr Syntax iptv cdr name1
Function This command enables or disables the IPTV CDR function.
46-65 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
enable: Enables the CDR
-
function. disable: Disables the CDR function.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the CDR function: ZXAN(config)#iptv cdr enable
Related Commands 46.8.6 show iptv interface
46.7.3 iptv cdr clear Syntax iptv cdr clear
Function This command clears IPTV CDR records.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to clear IPTV CDR records: 46-66 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands ZXAN(config)#iptv cdr clear
Related Commands 46.8.1 show iptv cdr
46.7.4 iptv cdr create-period Syntax iptv cdr create-period number1
Function This command configures the regular CDR recording period for a 'Permit' user who watches programs for a long time.
Parameters Parameter
Description
Value
number1
CDR recording period
Range: 0–1440 (min)
Mode Configuration mode: ZXAN (config)#
Usage Guidelines '0' indicates the period when no CDR records are generated.
Examples The following example shows how to configure the regular CDR recording period as 30 minutes for a 'Permit' user who watches programs for a long time: ZXAN(config)#iptv cdr create-period 30
Related Commands 46.8.1 show iptv cdr
46.7.5 iptv cdr deny-right Syntax iptv cdr deny-right name1
Function This command enables or disables CDR recording for a 'Deny' user. 46-67 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
enable: Enables CDR
-
recording. disable: Disables CDR recording.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable CDR recording for a 'Deny' user: ZXAN(config)#iptv cdr deny-right enable
Related Commands 46.7.8 iptv cdr prw-right 46.8.1 show iptv cdr
46.7.6 iptv cdr max-records Syntax iptv cdr max-records number1
Function This command configures the maximum number of CDR records.
Parameters Parameter
Description
Value
number1
Maximum number of CDR
Range: 500–65535
records
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None 46-68 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Examples The following example shows how to configure the maximum number of CDR records as 6000: ZXAN(config)#iptv cdr max-records 6000
Related Commands 46.7.10 iptv cdr report-interval 46.7.9 iptv cdr report 46.7.5 iptv cdr deny-right 46.7.8 iptv cdr prw-right 46.8.1 show iptv cdr
46.7.7 iptv cdr prw-overcount Syntax iptv cdr prw-overcount name1
Function This command enables or disables CDR recording in case that the number of 'Preview' users exceeds the limit.
Parameters Parameter
Description
Value
name1
enable: Enables CDR
-
recording. disable: Disables CDR recording.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable CDR recording in case that the number of 'Preview' users exceeds the limit: ZXAN(config)#iptv cdr prw-overcount enable
46-69 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands 46.7.8 iptv cdr prw-right 46.8.1 show iptv cdr
46.7.8 iptv cdr prw-right Syntax iptv cdr prw-right name1
Function This command enables or disables CDR recording for a 'Preview' user.
Parameters Parameter
Description
Value
name1
enable: Enables CDR
-
recording. disable: Disables CDR recording.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable CDR recording for a 'Preview' user: ZXAN(config)#iptv cdr prw-right enable
Related Commands 46.7.5 iptv cdr deny-right 46.8.1 show iptv cdr
46.7.9 iptv cdr report Syntax iptv cdr report
46-70 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Function This command reports CDR records manually.
Parameters None
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to report CDR records manually: ZXAN(config)#iptv cdr report
Related Commands 46.7.10 iptv cdr report-interval 46.7.6 iptv cdr max-records 46.7.5 iptv cdr deny-right 46.7.8 iptv cdr prw-right 46.8.1 show iptv cdr
46.7.10 iptv cdr report-interval Syntax iptv cdr report-interval number1
Function This command configures the interval for regular CDR reporting by line cards.
Parameters Parameter
Description
Value
number1
CDR reporting interval
Range: 1–30 (min)
Mode Configuration mode: ZXAN (config)# 46-71 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Usage Guidelines None
Examples The following example shows how to configure the interval as 10 minutes for regular CDR reporting by line cards: ZXAN(config)#iptv cdr report-interval 10
Related Commands 46.7.9 iptv cdr report 46.7.6 iptv cdr max-records 46.7.5 iptv cdr deny-right 46.7.8 iptv cdr prw-right 46.8.1 show iptv cdr
46.7.11 iptv cdr report-threshold Syntax iptv cdr report-threshold number1
Function This command configures the threshold for CDR reporting by line cards.
Parameters Parameter
Description
Value
number1
Threshold for CDR reporting
Range: 300–65535
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the threshold as 300 for CDR reporting by line cards: ZXAN(config)#iptv cdr report-threshold 300
46-72 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Related Commands 46.7.10 iptv cdr report-interval 46.7.9 iptv cdr report
46.7.12 iptv channel Syntax iptv channel {mvlan number1 group ip_addr1 {[name name1 [id number2 ] ] |[to ip_addr2 [pren ame name2 ] ] } |name3 {rename name4 |view-profile name5 |cdr name6 } } no iptv channel {id range1 |name name7 }
Function This command configures IPTV channels globally.
Parameters Parameter
Description
Value
number1
Multicast VLAN.
Range: 1–4094
ip_addr1
Multicast group address.
-
name1
IPTV name.
Range: 1–32 characters
number2
Channel ID.
Range: 0–1023
ip_addr2
Multicast group address.
-
name2
Pre-join name.
-
name3
Channel information.
-
name4
New channel name.
-
name5
Pre-configured file name.
-
name6
disable: Disables channel CDR
-
configuring. enable: Enables channel CDR configuring. range1
Channel list.
-
name7
Channel name.
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None 46-73 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to create a channel: ZXAN(config)#iptv channel mvlan 2 group 224.1.1.2 name cqtv id 3
The following example shows how to create channels in batches: ZXAN(config)#iptv channel mvlan 3 group 224.3.3.1 to 224.3.3.255
The following example shows how to change a channel name: ZXAN(config)#iptv channel chname100 rename hbtv
Related Commands 46.8.4 show iptv channel
46.7.13 iptv highest-priority Syntax iptv highest-priority name1
Function This command configures the highest priority of channel access.
Parameters Parameter name1
Description
Value
deny: Sets 'deny' to the highest
-
priority. watch: Sets 'watch' to the highest priority.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the highest priority of channel access as 'watch': ZXAN(config)#iptv highest-priority watch ZXAN(config)#
46-74 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Related Commands 46.8.5 show iptv control
46.7.14 iptv ipv6 channel Syntax iptv ipv6 channel {mvlan number1 group ipv6_addr1 {[name name1 [id number2 ] ] |[to ipv6_a ddr2 [prename name2 ] ] } |name3 {rename name4 |view-profile name5 |cdr name6 } } no iptv ipv6 channel {id range1 |name name7 }
Function This command configures IPv6 channel information globally.
Parameters Parameter
Description
Value
number1
Multicast VLAN.
Range: 1–4094
ipv6_addr1
Address of IPv6 multicast group.
-
name1
IPTV name.
Range: 1–32 characters
number2
Channel ID.
Range: 0–1023
ipv6_addr2
Address of IPv6 multicast group.
-
name2
Pre-join name assigns to
-
multiple channels. name3
Channel information.
-
name4
New channel name.
-
name5
Preview file name.
-
name6
disable: Disables channel CDR
-
configuring. enable: Enables channel CDR configuring. range1
ID of the channel to be deleted.
-
name7
Channel name.
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None 46-75 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Examples The following example shows how to create an IPv6 channel: ZXAN(config)#iptv ipv6 channel mvlan 2 group 53a3::2a5e ZXAN(config)#iptv ipv6 channel mvlan 2 group 53a3::265e
Related Commands None
46.7.15 iptv ipv6 package Syntax iptv ipv6 package {name name1 [pkgid number1 ] |name2 {rename name3 |channel {range1 |m vlan number2 group ipv6_addr1 [to ipv6_addr2 ] |name4 } } name5 } no iptv ipv6 package name6 [channel {range1 |mvlan number2 group ipv6_addr1 [to ipv6_addr2 ] |name4 } ]
Function This command creates an IPv6 multicast package.
Parameters Parameter
Description
Value
name1
Package name.
-
number1
Package ID.
Range: 0–1023
name2
Name of the package assigned
-
to the channel. name3
New name of the package.
-
range1
Channel list.
-
number2
Multicast VLAN.
Range: 1–4094
ipv6_addr1
Address of the IPv6 multicast
-
group. ipv6_addr2
Address of the IPv6 multicast
-
group. name4
Channel name.
-
46-76 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameter
Description
Value
name5
deny: Denies the IPv6 multicast
-
package. watch: Accepts the IPv6 multicast package. preview: Previews the IPv6 multicast package. name6
Name of the package to be
-
deleted.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines Both package ID and package name are unique. If the package ID is not selected, the system will assign a package ID. To delete an IPv6 multicast package, use the no form of this command.
Examples The following example shows how to create an IPv6 multicast package: ZXAN(config)#iptv ipv6 package name pkg1
Related Commands 46.8.7 show iptv package
46.7.16 iptv ipv6 sms-server Syntax iptv ipv6 sms-server name1
Function This command configures the IPv6 address of the Service Management System (SMS) server.
Parameters Parameter
Description
Value
name1
IPv6 address of the SMS server
Range: 2–40 characters
46-77 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the IPv6 address of the SMS server as 2e4b::5ab4: ZXAN(config)#iptv ipv6 sms-server 2e4b::5ab4
Related Commands 46.8.5 show iptv control
46.7.17 iptv package Syntax iptv package {name name1 [pkgid number1 ] |name2 {rename name3 |channel {range1 |mvlan number2 group ip_addr1 [to ip_addr2 ] |name4 } } name5 } no iptv package name6 [channel {range1 |mvlan number2 group ip_addr1 [to ip_addr2 ] |name4 }]
Function This command adds a channel to a multicast package and configures the channel access rights.
Parameters Parameter
Description
Value
name1
Package name.
-
number1
Package ID.
Range: 0–1023
name2
Channel name.
-
name3
New name of the package.
-
range1
Channel list.
Range: 0–1023
number2
Multicast VLAN.
Range: 1–4094
ip_addr1
Address of the multicast group.
-
ip_addr2
Address of the multicast group.
-
name4
Channel name.
-
46-78 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameter
Description
Value
name5
Access rights to the package.
-
deny: Denies the channel. watch: Accepts the channel. preview: Previews the channel. name6
Name of the package to be
-
deleted.
Mode Configuration mode: ZXAN (config)#
Usage Guidelines To delete a channel from a multicast package, use the no form of this command.
Examples The following example shows how to add a channel to a multicast package and configure the channel access rights as 'preview' and 'watch': 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
The following example shows how to delete the channel from the multicast package: ZXAN(config)#no iptv package pkg1 channel 50 ZXAN(config)#no iptv package pkg1 channel hbtv50
Related Commands 46.8.7 show iptv package
46.7.18 iptv prw Syntax iptv prw {name1 |reset |auto-reset time1 |recognition-time number1 }
Function This command enables or disables the IPTV preview function.
46-79 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
enable: Enables IPTV preview.
-
disable: Disables IPTV preview. reset
Resets IPTV preview.
-
time1
Absolute time.
-
number1
Time threshold for valid preview.
Range: 1–60 (sec)
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to enable the IPTV preview function: ZXAN(config)#iptv prw enable
Related Commands 46.8.8 show iptv prw
46.7.19 iptv sms-server Syntax iptv sms-server ip_addr1
Function This command configures the IP address of the SMS server.
Parameters Parameter
Description
Value
ip_addr1
IP address of the SMS server
-
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None 46-80 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Examples The following example shows how to configure the IP address of the SMS server as 10.61.97.156: ZXAN(config)#iptv sms-server 10.61.97.156
Related Commands 46.8.5 show iptv control
46.7.20 iptv view-profile Syntax iptv view-profile name1 [[count number1 ] [duration number2 ] [blackout number3 ] ] no iptv view-profile name1
Function This command configures the minimum interval (black-out Interval) for IPTV preview.
Parameters Parameter
Description
Value
name1
Preview profile name
-
number1
Maximum preview number
Range: 1–100
number2
Maximum duration for each
Range: 1–6000 (sec)
preview number3
Interval between two previews
Range: 1–7200 (sec)
Mode Configuration mode: ZXAN (config)#
Usage Guidelines None
Examples The following example shows how to configure the minimum interval for IPTV preview as 20 seconds: ZXAN(config)#iptv view-profile test blackout 20
Related Commands None 46-81 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
46.8 IPTV Show Commands 46.8.1 show iptv cdr Syntax show iptv cdr
Function This command displays information about IPTV CDR configuration.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about IPTV CDR configuration: ZXAN(config)#show iptv cdr CDR
: disable
CDR current-state
: idle
CDR socket-status
: close
CDR deny-right
: disable
CDR prw-right
: enable
CDR prw-over-count
: disable
CDR create-period
: 60(minute)
Max-records
: 1000
Report-interval
: 5(minute)
Report-threshold
: 300
Records in cache
: 0
Output parameter descriptions:
-----------------------------------------------------------------------------------------------------
Parameter
Description
Value
-----------------------------------------------------------------------------------------------------
46-82 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
CDR
CDR enabling.
enable/disable
CDR current-state
CDR transmission status.
CDR socket-status
CDR socket connection status.
close/open
CDR deny-right
CDR recording for a 'Deny' user.
enable/disable
CDR prw-right
CDR recording for a 'Preview' user.
enable/disable
CDR user.
prw-over-count enable/disable
CDR
recording
idle/busy
for
a
'Preview
over
count'
CDR create-Period CDR recording period for a 'Permit' user (minute). 0 indicates no periodic records are generated. 0-1440 Max-records cache.
Maximum number of CDR records in the 500-65535
Records in cache
Number of CDR records in the cache.
Related Commands None
46.8.2 show iptv cdr content Syntax show iptv cdr content
Function This command displays CDR record contents.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples ZXAN(config)#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.
46-83 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference --Vid
: multicast vlan id.
--SourceIP
: source ip in IGMPv3.0,it is 0.0.0.0 when the device
--
can't support IGMPv3.0.
--GroupIP
: multicast group ip.
--Validility
: indicate if the access is valid.
---Type
'1' is valid and '2' is invalid. : the type of access.
--
1 -- watch
--
2 -- preview
--
0 -- deny
--Reason
: the reason of leave.
--
0 --
watch leave(valid)
--
1 --
prw normal leave(valid)
--
2 --
prw overinterval leave(valid)
--
3 --
prw overcount leave(invalid)
--
4 --
deny(invalid)
--
5 --
watch over-config-period(valid)
--Time_online : how long this access does,the unit is seconds.
Related Commands None
46.8.3 show iptv cdr records Syntax show iptv cdr records
Function This command displays information about CDR records.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display information about CDR records: 46-84 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands ZXAN#show iptv cdr records Total CDR records number: 0 V&T&R : Valid & Type & Reason, Duration unit: second ------------------------------------------------------------------------------Index TimeStamp
Port
Vlan
GpIp
V&T&R
Duration
-------------------------------------------------------------------------------
Related Commands None
46.8.4 show iptv channel Syntax show iptv channel [name1 [users ] ]
Function This command displays detailed information about IPTV channels.
Parameters Parameter
Description
Value
name1
Channel name
-
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display detailed information about IPTV channels: ZXAN(config)#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
46-85 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Related Commands None
46.8.5 show iptv control Syntax show iptv control
Function This command displays global configurations of the IPTV.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display global configurations of the IPTV: ZXAN#show iptv control CAC
: disable
SMS
: 192.168.0.119
Related Commands 46.7.19 iptv sms-server
46.8.6 show iptv interface Syntax show iptv interface interface1 [{vport number1 |pvc number2 } ] [{[channel ] |[package ] |[watc hing ] |[previewing ] } ]
Function This command displays IPTV user information.
46-86 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Parameters Parameter
Description
Value
interface1
Interface name
-
number1
Specified virtual port ID
Range: 1–256
number2
Specified PVC ID
Range: 1–8
Mode Any mode except user mode
Usage Guidelines If this command is used with either parameter, information about the channels or packages which the port has configured is displayed. If this command is used with neither parameter, control information about the port is displayed.
Examples The following example shows how to display user information: ZXAN(config)#show iptv interface epon-onu_1/4/1:1 pvc 1 auth-mode : auth right-mode: package cdrstatus : enable service
: IN_SERVICE
The following example shows how to display user channel information: ZXAN(config)#show iptv interface epon-onu_1/4/1:1 pvc 1 channel Total channel num : 2 channel-id
right
channel-name
-----------------------------------------1
preview
2
watch
CHNAME1 CHNAME2
The following example shows how to display user package information: ZXAN(config)#show iptv interface epon-onu_1/4/1:1 pvc 1 package Total package num: 1 pkg-id
pkg-name
-----------------------------------------0
PKG1
Related Commands None 46-87 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
46.8.7 show iptv package Syntax show iptv package [name1 [users ] ]
Function This command displays IPTV channel package information.
Parameters Parameter
Description
Value
name1
Package name
-
Mode Any mode except user mode
Usage Guidelines If this command is used without the parameter, the names of all the packages configured are displayed. If this command is used with the parameter, a list of all the channels in the package is displayed.
Examples The following example shows how to display the package name: ZXAN(config)#show iptv package Total package number 2 ----------------------------------------------------------Id
Packagename
Channels
Users
----------------------------------------------------------0
PKG1
1
0
4
PKG2
0
0
The following example shows how to display information about the package pkg1: ZXAN(config)#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
46-88 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
Chapter 46 Multicast Commands
Related Commands None
46.8.8 show iptv prw Syntax show iptv prw
Function This command displays global configuration information about IPTV preview.
Parameters None
Mode Any mode except user mode
Usage Guidelines None
Examples The following example shows how to display global configuration information about IPTV preview: ZXAN(config)#show iptv prw Prwenable PrwRecognitionTime PrwAutoResetTime
: enable : 12 : 23:58:59
Related Commands None
46.8.9 show iptv view-profile Syntax show iptv view-profile [name1 ]
Function This command displays information about the preview profile. 46-89 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential
ZXA10 C300/C320 Command Reference
Parameters Parameter
Description
Value
name1
Preview profile name
-
Mode Any mode except user mode
Usage Guidelines If this command is used with the parameter, information about the specified preview profile is displayed. If this command is used without the parameter, all the preview profile names are displayed.
Examples The following example shows how to display all the preview profile names: ZXAN(config)#show iptv view-profile all view-profile-----DEFVAL.PRF TEST.PRF
The following example shows how to display information about the preview profile 'test': ZXAN(config)#show iptv view-profile test max-view-count view-duration
:4 :200(s)
blackout-interval
:30(s)
Related Commands iptv view-profile count iptv view-profile duration
46-90 SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE Proprietary and Confidential