Professional Documents
Culture Documents
Version: V4.0.1
ZTE CORPORATION
No. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://support.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright © 2014 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 the ZTE technical support website http://support.zte.com.cn to inquire for related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
II
III
IV
VI
VII
VIII
IX
XI
XII
XIII
XIV
XV
XVI
XVII
XVIII
XIX
XX
XXI
XXII
XXIII
XXIV
XXV
XXVI
XXVII
XXVIII
XXIX
XXX
XXXI
XXXII
XXXIII
XXXIV
XXXV
XXXVI
XXXVII
XXXVIII
XXXIX
XL
XLI
XLII
XLIII
XLIV
XLV
XLVI
XLVII
XLVIII
XLIX
LI
LII
LIII
LIV
LV
LVI
LVII
LVIII
LIX
LX
LXI
LXII
LXIII
LXIV
LXV
LXVI
LXVII
LXVIII
LXIX
LXX
LXXI
LXXII
LXXIII
LXXIV
LXXV
LXXVI
LXXVII
LXXVIII
LXXIX
LXXX
Intended Audience
This manual is intended for:
l Debugging engineers
l Network management supervisors
l Maintenance engineers
Chapter 1, Basic System Management Describes the commands related to basic system
management.
Chapter 5, CPE Version Management Describes the commands related to CPE version
management.
Chapter 7, File System Management Describes the commands related to file system
management.
Chapter 12, PON Commands Describes the commands related to GPON and
EPON common configuration.
Chapter 16, Ethernet Interface Configuration Describes the commands related to Ethernet
Commands interface configuration.
Chapter 17, Optical Module Management Describes the commands related to optical module
Commands management.
Chapter 18, Port Security Commands Describes the commands related to port security.
Chapter 19, Port Performance Statistics Describes the commands related to port
Commands performance statistics.
Chapter 20, Basic IPv4 Protocol Commands Describes the commands related to basic IPv4
protocol.
Chapter 22, OSPF Protocol Commands Describes the commands related to OSPF Protocol.
Chapter 23, BGP Protocol Commands Describes the commands related to BGP Protocol.
Chapter 31, Historical Performance Statistics Describes the commands related to historical
Commands performance statistics.
Chapter 32, Control Panel Safety Commands Describes the commands related to control panel
safety.
Chapter 33, NTP Configuration Commands Describes the commands related to NTP
configuration.
Chapter 35, Traffic Profile Commands Describes the commands related to traffic profile.
II
Chapter 45, Port Identification Commands Describes the commands related to port
identification.
Chapter 46, MAC Management Commands Describes the commands related to MAC
management.
Chapter 47, MAC Anti-Spoofing Commands Describes the commands related to MAC
anti-spoofing.
Chapter 53, Narrowband MSAG Management Describes the commands related to narrowband
Commands MSAG management.
Chapter 54, IPv6 Basic Protocol Commands Describes the commands related to IPv6 basic
protocol.
Chapter 58, Load Balance Commands Describes the commands related to load balance.
Chapter 59, Service Control Commands Describes the commands related to service control.
Conventions
This manual uses the following conventions.
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.
III
IV
1-1
no banner incoming
Function
This command sets a startup greeting for the system. There is a default welcome greeting
available.
Parameters
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[1-4000 characters]. End with the character '@' or the delimit
ing character '#'.
welcome
#
ZXAN(config)#
Related Commands
None
1-2
Function
This command sets the system clock in standard date and time format.
Parameters
name1 Month -
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to set the system clock to 23:12:01, May 23, 2001:
ZXAN#clock set 23:12:01 may 23 2001
Related Commands
1.22 show clock
Function
This command sets the summer time.
1-3
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the summer time, use the no form of this command.
[no] clock summer-time recurring dstname week day month hh:mm:ss week day month
hh:mm:ss [offset]
Examples
The following example shows how to set the summer time. In this example, the summer
time is set from the first week of June to the fourth week of October with an offset of 60
minutes, and is executed every year:
ZXAN(config)#clock summer-time recurring abc 1 monday jun 11:11:11 4 sunday oct 11:11:11 60
1-4
Related Commands
1.22 show clock
1.2 clock set
no clock timezone
Function
This command sets the system time zone.
Parameters
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:
Related Commands
1.22 show clock
1-5
1.5 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.
Parameters
Parameter Description Value
Mode
MNG interface configuration 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
Function
This command changes the command mode from privileged mode to global configuration
mode.
Parameters
None
1-6
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to change the command mode from privileged mode to
global configuration mode:
ZXAN#configure terminal
%Info 20272: Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#
Related Commands
1.10 end
1.11 exit
1.7 disable
Syntax
disable [number1 ]
Function
This command lowers current user privilege level. If the specified destination privilege
level is lower than 2, the command mode is changed from privileged mode to user mode.
Parameters
Mode
User mode
Usage Guidelines
The specified destination privilege level must be lower than the current user privilege level
which may not be the initial level defined by users but a level modified by users.
1-7
Examples
(1) The following example shows how to lower a privilege level. In this example, a user
with privilege level of 10 attempts to go back to level 11, but the system prompts for correct
privilege level because the specified destination level must be lower than the current level.
ZXAN#disable 11
%Error 20227: New privilege level must be less than current privilege level
ZXAN#
(2) The following example shows how to lower a privilege level. In this example, a user
with privilege level of 10 returns to level 1, and enters user mode.
ZXAN#disable 1
ZXAN>
Related Commands
1.8 enable
1.25 show privilege
1.8 enable
Syntax
enable [number1 ]
Function
This command modifies the current user privilege when a user is in privileged mode.
Parameters
Mode
User mode
Usage Guidelines
1. If the specified destination privilege level is higher than the current level, a password
for destination level access is required (15 by default). If the password has not been
configured yet, the destination privilege is unaccessible.
If the specified destination privilege level is lower than the current level, no passwords are
necessary.
1-8
2. For a user in user mode, this command allows the user to enter privileged mode and
upgrades the privilege level to 15 without parameters.
3. For a user in privileged mode, if the specified destination privilege level is lower than 5,
this command modifies the level to the specified value and allows the user to enter user
mode.
Examples
(1) The following example shows how to enter privileged mode from user mode:
ZXAN>enable 15
Password:
ZXAN#
(2) The following example shows how to modify the privilege level to 9 in privileged mode:
ZXAN#enable 9
ZXAN#show privilege
Current privilege level is 9
Related Commands
1.7 disable
Function
This command sets a login password for a privileged user.
Parameters
1-9
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) The password displayed by the show running-config command is an encrypted
password for a privileged user. The password required by the enable command is a clear
text password for the privileged user.
(2) Either the enable secret 0 password or enable secret password command can be used to
set an unencrypted password.
(3) The enable secret 5 password command can be used to set an encrypted password with
24 characters only when configuration files are loaded. It can not be used when the system
operates normally.
(4) The passwords in the show running-config command and configuration files are in
cipher text.
(5) The enable secret level levelnum password command sets the password for a higher
privilege level access when a user enters privileged mode.
Examples
(1) The following example shows how to set the privileged user password to ZXAN:
Run the show running-config command to display the configured password with the default
privilege level 15:
!
enable secret level 15 5 nS43rk2arX7/R+RrWDNAaA==
!
(2) The following example shows how to set the password to "test" to upgrade to privilege
level 10:
1-10
Run the show running-config command to display the configured password with privilege
level 10:
!
enable secret level 10 5 CY9rzUYh03PK3k6DJie09g==
!
(3) Based on Step 2, the following example shows how to upgrade to privilege level 10
for a user with privilege level 1 by using the enable 10 command, and then enter privileged
mode with the password "test":
ZXAN>enable 10
Password:
ZXAN#show users
Line User Privilege Host(s) Idle Location
0 con 0 15 idle 00:00:45
*66 vty 0 zte 10 idle 00:00:55 100.100.100.30
ZXAN#show users
Line User Privilege Host(s) Idle Location
0 con 0 15 idle 00:00:45
66 vty 0 zte 1 idle 00:00:55 100.100.100.30
* 67 vty 1 bbb 12 idle 00:00:00 100.100.100.30
Related Commands
1.8 enable
1.10 end
Syntax
end
Function
This command changes the command mode to privileged mode.
Parameters
None
Mode
All modes except user mode and privileged mode
1-11
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.6 configure terminal
1.11 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.10 logout
1-12
6.9 login
1.12 hostname
Syntax
hostname name1
no hostname
Function
This command sets a host name for the system.
Parameters
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.13 interface
Syntax
interface {byname name1 |interface1 }
no interface {byname name1 |interface1 }
Function
This command enters interface configuration mode or subinterface configuration mode.
1-13
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
For a subinterface that does not exist, this command creates and enters subinterface
configuration mode.
To delete the configured subinterface and its configuration, use the no form of this
command.
The no form of this command does not work on physical interfaces.
The member interfaces in a link aggregation group must be deleted before the no form of
this command is used to delete the link aggregation group.
Both no interface name1 and no interface interface1 can be used to delete an interface. nam
e1 cannot be used until it is configured for the interface by running the byname command
in a proper interface mode.
Examples
(1) The following example shows how to create link aggregation group smartgroup1 and
enter link aggregation group interface mode:
ZXAN(config)#interface smartgroup1
ZXAN(config-smartgroup1)#
(2) The following example shows how to create a VLAN 2 subinterface and enter VLAN 2
subinterface mode:
Create a specified VLAN.
ZXAN(config)#vlan 2
ZXAN(config-vlan2)#
1-14
ZXAN(config-if-vlan2)#byname testvlan2
ZXAN(config-if-vlan2)#
Exit interface mode and enter VLAN subinterface mode through the alias.
ZXAN(config)#interface byname testvlan2
ZXAN(config-if-vlan2)#
(3) The following example shows how to add a GUSQ uplink card to slot 19 and enter
interface mode of the card:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#
(4) The following example shows how to add a GTGO card to slot 5 and enter OLT 1
interface mode:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)#
(5) The following example, based on example (4), shows how to register an ONU 1
interface on the OLT 1 interface and enter GPON ONU interface mode:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)#onu 1 type ZTE-F622 sn ZTEG00000001
ZXAN(config-if)#exit
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#
Related Commands
1.26
1.14 ip address
Syntax
ip address ip_addr1 ip_addr2
Function
This command configures the IP address of an interface.
Parameters
Mode
MNG interface configuration mode
1-15
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
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.
By default, the IP address is not configured for an interface.
Parameters in the no ip address command are optional. If the command is used with no
parameters, all the configured interface addresses are deleted.
Examples
The following example shows how to configure the IP address of an interface. In this
example, the address of management interface is set 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
Related Commands
None
1.15 ping
Syntax
ping [vrf name1 ] ip_addr1
Function
This command checks the accessibility and connectivity of a host.
1-16
Parameters
name1 VPN -
Mode
User mode
Usage Guidelines
This command sends ICMP Echo packets. If the destination receives an ICMP Echo
packet, it will respond with an ICMP Echo Reply packet to the source address. Therefore,
this command is used to diagnose the connectivity of a network.
Examples
The following example shows how to check whether address 100.1.1.49 is accessible:
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
Function
This command checks the accessibility and connectivity of a management port.
Parameters
Mode
User mode
1-17
Usage Guidelines
This command sends ICMP Echo packets to the IP address of a management port. If the
destination receives an ICMP Echo packet, it will respond with an ICMP Echo Reply packet
to the source address. Therefore, this command is used to diagnose the connectivity of a
router's management port.
Examples
The following example shows how to check whether address 100.1.1.49 is accessible:
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
1.17 privilege
Syntax
privilege name1 [all ] level number1 LINE1
Function
This command configures the privilege level of a command.
Parameters
1-18
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) A command privilege level cannot be higher than 4 in user mode. Otherwise, an error
message is displayed.
(2) A command privilege level cannot be lower than 4 in configuration mode. Otherwise,
an error message is displayed.
(3) To reset the privilege level to the default value, use the no form of this command.
Examples
(1) The following example shows how to change the privilege level of the login command
in user mode to 10:
(2) The following example shows how to change the privilege level of the hostname
command in configuration mode to 4:
(3) The following example shows how to change the privilege level of the commands
beginning with system-monitor to 15 by using the parameter all:
The following example shows how to display the configured privilege levels:
1-19
(4) The following example shows how to set the privilege level of the ssh server only
command in configuration mode to 10:
ZXAN(config)privilege configure level 10 ssh server only
The following example shows how to display the modified privilege level:
ZXAN(config)#show privilege cur-mode node ssh server only
LogicMode Level Command-node
configure 10 ssh server only
ZXAN(config)#
Related Commands
1.25 show privilege
Function
This command restores the default settings.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to restore the default settings:
1-20
ZXAN#restore factory-defaults
Related Commands
None
1.19 sdisk
Syntax
sdisk name1
Function
This command enables or disables the SD card.
Parameters
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.27 show sdisk-status
1.20 set-cputhreshold
Syntax
set-cputhreshold [rackno number1 ] [shelfno number2 ] slotno slot1 number3
Function
This command sets a CPU usage threshold.
1-21
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the CPU usage threshold to 70% for the card in
slot 8 of shelf 1:
Related Commands
1.21 set-memthreshold
1.23 show cputhreshold
1.21 set-memthreshold
Syntax
set-memthreshold [rackno number1 ] [shelfno number2 ] slotno slot1 number3
Function
This command sets a memory usage threshold.
Parameters
1-22
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 1:
ZXAN(config)#set-memthreshold rackno 1 shelfno 1 slotno 8 70
Related Commands
1.20 set-cputhreshold
1.24 show memthreshold
Function
This command displays the system time.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following command shows how to display the system time:
ZXAN#show clock
19:42:03 Mon Apr 21 2012 UTC
Related Commands
1.2 clock set
1-23
Function
This command displays the CPU usage threshold(s).
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all the CPU threshold for all the slots:
ZXAN#show cputhreshold
Rack Shelf Slot CpuThreshold
---------------------------------
1 1 1 100
1 1 10 100
1 1 11 100
Related Commands
1.20 set-cputhreshold
Function
This command displays the memory usage threshold(s).
1-24
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the memory usage thresholds of all available
slots:
ZXAN(config)#show memthreshold
Rack Shelf Slot MemThreshold
-------------------------------
1 1 4 100
1 1 7 100
1 1 10 100
1 1 11 100
1 1 21 100
Related Commands
1.21 set-memthreshold
Function
This command displays the privilege level of the current terminal and privilege configuration
information about the command.
1-25
Parameters
Parameter Description Value
Mode
All modes except user mode
Usage Guidelines
This command without a parameter displays the privilege level of the current user.
The privilege level of a telnet user ranges from 1 to 15.
Examples
(1) The following example shows how to log into the NE with the user privilege "zte" (level
15) and display the privilege level of the user:
ZXAN#show privilege
Current privilege level is 15
(2) The following example shows how to display the privilege level of the username
command in configuration mode:
ZXAN(config)#show privilege cur-mode node username
LogicMode Level Command-node
configure 15 username
ZXAN(config)#
Related Commands
1.17 privilege
1-26
Function
This command displays information about the system configurations that have taken effect.
Parameters
Parameter Description Value
1-27
specified character or
string are displayed.
Mode
All modes except user mode
Usage Guidelines
The results of the show run command are filtered with section-based regular expressions.
1-28
A section ends with a "!" mark. Section filtering indicates that all in a section will be echoed
if a line of information within a section meets echo requirements. When section is selected,
the regular expression is a mandatory option.
Examples
(1) The following example shows how to display configuration information about the
interface gpon-olt_1/5/1:
(2) The following example shows how to display a section containing "alarm":
no hotkey ctrl_g
no hotkey ctrl_l
no hotkey ctrl_o
no hotkey ctrl_r
1-29
no hotkey ctrl_s
no hotkey ctrl_t
!
alarm enable
nms-hello-trap disable
alarm trap-confirm retry 1 timeout 30
alarm alarm-profile 11
admin enable
!
alarm alarm-profile test
admin enable
alarm-profile-apply system
!
!
ZXAN#
Related Commands
None
Function
This command displays status information about 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-30
Related Commands
sdisk enable
Function
This command displays the configuration in a configuration file.
Parameters
sd Command configuration in a -
configuration file on the SD card
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the command configuration containing a rule
expression syslog in a configuration file:
ZXAN(config)#show start running-config | include syslog
syslog facility local0
1-31
Related Commands
None
Function
This command displays system information.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display system information:
ZXAN(config)#show system-group
System Description: C300 Version V2.0.0 Software, Copyright (c) by ZTE Corporation Compiled
System ObjectId: .1.3.6.1.4.1.3902.1082.1001.300.1.3
Started before: 0 days, 18 hours, 46 minutes
Contact with: +86-021-68895000
System name: OLTZ2810038MAD511
Location: No.889 BiBo Rd. PuDong District, ShangHai, China
This system primarily offers a set of 78 services
Related Commands
None
1-32
Function
This command displays a list of names and passwords of the users that are allowed to log
in to the system.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the users logging in to the
system:
ZXAN#show username
cli user global configuration
-----------------------------------------------------------------------
Output parameters:
name: user name
sessions: number of the sessions initiated by the login users with the same name
pri: user privilege level
OperStatus: operating status of a user. Normal status is supported currently.
login-begin: starting time for user's login every day.
login-end: end time for user's login every day.
expire-date: the time when a user account is disabled.
Related Commands
6.20 username
1-33
1.31 telnet
Syntax
telnet ip_addr1 [source ip_addr2 ] [vrf name1 ]
Function
This command telnets to other equipment from an OLT.
Parameters
Mode
User mode
Usage Guidelines
None
Examples
The following example shows how to telnet to other equipment from an OLT:
ZXAN#telnet 10.63.198.10
Related Commands
None
1.32 who
Syntax
who
Function
This command displays a list of the users that have logged in to the system.
Parameters
None
1-34
Mode
User mode
Usage Guidelines
None
Examples
The following example shows how to display a list of the users that have logged in to the
system:
ZXAN#who
Line User Privilege Host(s) Idle Location
* 0 con 0 15 idle 00:00:00
66 vty 0 zte 10 idle 00:54:18 100.100.100.30
67 vty 1 zte10 4 idle 00:57:26 100.100.100.30
68 vty 2 zte10 4 idle 00:56:09 100.100.100.30
ZXAN#
Output parameters:
Parameter
Description
Line
Terminal number for user login. In the example above, the values 0, 66, and 67 indicate
the connection number of control terminals, and the values 0 and 1 after vty indicate virtual
terminal numbers.
User
IP address of the destination server when a user telnets the server by using the local
equipment as a client. In other cases, it is "idle".
Idle
Idle time when the terminal does not perform any operation.
Location
Address of a client
1-35
Related Commands
None
1-36
2-1
2.1 add-card
Syntax
add-card [rackno number1 ] [shelfno number2 ] slotno slot1 name1
Function
This command adds a card.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to add a GUSQ card in slot 22:
Related Commands
2.6 del-card
2.2 add-rack
Syntax
add-rack rackno number1 racktype name1
Function
This command adds a rack.
2-2
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to add rack 1:
ZXAN(config)#add-rack rackno 1 racktype ETSI21
Related Commands
2.7 del-rack
2.3 add-shelf
Syntax
add-shelf [rackno number1 ] shelfno number2 shelftype name1
Function
This command adds a shelf.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
2-3
Examples
The following example shows how to add shelf 1:
ZXAN(config)#add-shelf rackno 1 shelfno 1 shelftype ETSI_SHELF
Related Commands
2.8 del-shelf
2.4 add-subcard
Syntax
add-subcard [rackno number1 ] [shelfno number2 ] slotno slot1 subcardno number3 name1
Function
This command adds a subcard.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to add an MAPP subcard:
ZXAN(config)#add-subcard rackno 1 shelfno 1 slotno 11 subcardno 1 ?
CKWSA Uplink optical and clock daughter card
UCDC/1 Uplink optical and clock daughter card
UCDC/2 Uplink optical and clock daughter card
UCDC/3 Uplink optical and clock daughter card
UCDC/4 Uplink optical and clock daughter card
VOIP Voice processor daughter card
2-4
Related Commands
2.9 del-subcard
Function
This command clears the extreme value of the CPU usage.
Parameters
name1 History -
name2 Current -
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the extreme value of the CPU usage:
Related Commands
None
2.6 del-card
Syntax
del-card [rackno number1 ] [shelfno number2 ] slotno slot1
Function
This command deletes a card.
2-5
Parameters
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
Related Commands
2.1 add-card
2.7 del-rack
Syntax
del-rack rackno number1
Function
This command deletes a rack.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
2-6
Examples
The following example shows how to delete rack 1:
ZXAN(config)#del-rack rackno 1
Related Commands
2.2 add-rack
2.8 del-shelf
Syntax
del-shelf [rackno number1 ] shelfno number2
Function
This command deletes a shelf.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete shelf 1:
ZXAN(config)#del-shelf shelfno 1
Related Commands
2.3 add-shelf
2-7
2.9 del-subcard
Syntax
del-subcard [rackno number1 ] [shelfno number2 ] slotno slot1 subcardno number3
Function
This command deletes a subcard.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete subcard 1 in slot 10:
ZXAN(config)#del-subcard rackno 1 shelfno 1 slotno 10 subcardno 1
Related Commands
2.4 add-subcard
2.10 power-enable
Syntax
power-enable [rackno number1 ] [shelfno number2 ] slotno slot1
no power-enable [rackno number1 ] [shelfno number2 ] slotno slot1
Function
This command enables or disables power-on for a card in a specified slot.
2-8
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable power-on for a card in slot 1:
ZXAN#power-enable rackno 1 shelfno 1 slotno 1
Related Commands
None
2.11 qry
Syntax
qry [rackno number1 ] [shelfno number2 ]
Function
This command determines changeover conditions of the active main control card.
Parameters
Mode
Privileged mode: ZXAN#
2-9
Usage Guidelines
None
Examples
The following example shows how to determine changeover conditions of the active main
control card:
ZXAN#qry
MP is ready to changeover!
Related Commands
None
2.12 reboot
Syntax
reboot [rackno number1 ] [shelfno number2 ]
Function
This command reboots an OLT.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to reboot an OLT:
ZXAN#reboot
Related Commands
None
2-10
2.13 reset-card
Syntax
reset-card [rackno number1 ] [shelfno number2 ] slotno slot1
Function
This command resets a card.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to reset the card in slot 1:
ZXAN#reset-card rackno 1 shelfno 1 slotno 1
Related Commands
2.12 reboot
2.14 reset-subcard
Syntax
reset-subcard [rackno number1 ] [shelfno number2 ] slotno slot1 subcardno number3
Function
This command resets a subcard.
2-11
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to reset the subcard in slot 10:
ZXAN#reset-subcard rackno 1 shelfno 1 slotno 10 subcardno 1
Confirm to reset subcard? [yes/no]:
Related Commands
None
2.15 set-pnp
Syntax
set-pnp name1
Function
This command enables or disables Plug and Play (PnP) of a card for the NE.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
2-12
Examples
The following example shows how to enable PnP of a card:
ZXAN(config)#set-pnp enable
Related Commands
2.18 show pnp
Function
This command displays information about a configured card.
Parameters
Mode
All modes 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 1 PRWG PRWG 0 INSERVICE
1 1 10 SCXN SCXN 4 120900 V2.0.0 INSERVICE
1 1 11 SCXN 4 OFFLINE
Related Commands
2.1 add-card
2-13
2.6 del-card
Function
This command displays card information by card type.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display card information by card type:
ZXAN#show card type ALL
Position : 1/1/1
Type : PRWG Real Type : PRWG
Status : INSERVICE Port Number : 0
Memory Size : N/A. CPU Type : N/A.
CPU Usage : N/A. Memory Usage : N/A.
Serial Number : ZZZZZZZZZZZZZZZZPCB Version : N/A.
CPLD Version : N/A.
Boot Version : N/A.
Software Version : N/A.
Board Up Time : N/A.
Position : 1/1/10
Type : SCXN Real Type : SCXN
Status : INSERVICE Port Number : 4
Memory Size : 1024MB CPU Type : PowerPC Processor
CPU Usage : 15% Memory Usage : 35%
Serial Number : xu jun PCB Version : 120900
CPLD Version : V9.2
2-14
Related Commands
None
Function
This command displays the PnP state.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the PnP state:
ZXAN#show pnp
Equipment PNP function is enable.
Related Commands
2.15 set-pnp
2-15
Function
This command displays statistical information about system resources, such as CPU
utilization, memory usage.
Parameters
Mode
All modes except user mode
Usage Guidelines
This command displays statistical resource information about a specified CPU, such as
CPU utilization (displayed at 5-second, 1-minute, and 5-minute intervals respectively),
amount of memory, and memory usage.
Examples
The following example shows how to display statistical information about C320 system
resources:
ZXAN(config)#show processor
Rack Shelf Slot CPU(5s) CPU(1m) CPU(5m) PhyMem(MB) Memory
-------------------------------------------------------------------------------
1 1 1 20% 21% 21% 1024 16%
1 1 2 12% 11% 11% 512 19%
1 1 3 11% 10% 19% 1024 28%
1 1 4 11% 10% 11% 1024 30%
Related Commands
None
Function
This command displays information about a rack.
2-16
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about rack 1:
Related Commands
2.2 add-rack
2.7 del-rack
Function
This command displays information about a configured shelf.
Parameters
Mode
All modes except user mode
2-17
Usage Guidelines
None
Examples
The following example shows how to display information about a configured shelf:
ZXAN#show shelf shelfno 1
Rack Shelf ShelfType CleiCode Serial-Number
----------------------------------------------------------------
1 1 ETSI_SHELF UNKNOWN UZZZZZZZZZZZZZZZ
Related Commands
2.3 add-shelf
2.8 del-shelf
Function
This command displays a subcard.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about a subcard:
ZXAN#show subcard rackno 1 shelfno 1 slotno 3
2-18
Related Commands
2.4 add-subcard
2.9 del-subcard
Function
This command displays the configuration modes of the diagnostic port on the main control
card.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration modes of the diagnostic
port on the main control card:
ZXAN(config)#show switch-board diag-port mode
switch board diag port is enable.
Related Commands
2.27 switch-board diag-port
Function
This command displays the configuration modes of the service port on the main control
card.
2-19
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration modes of the service port
on the main control card:
ZXAN(config)#show switch-board uplink-port mode
switch board uplink port running mode is disable.
switch board uplink port configure mode is disable.
Related Commands
2.28 switch-board uplink-port
Function
This command displays information about system monitoring.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
2-20
Examples
The following example shows how to display information about system monitoring:
ZXAN#show system-monitor
Loc Cfg Real Watchdog Duration suspendReboot endlessDuration Reboot
-------------------------------------------------------------------------------
1/1/01 GTGH GTGHG disable 3 all 75 disable
1/1/02 GTGO GTGOG disable 3 all 75 disable
1/1/03 SMXA SMXA disable 3 all 75 disable
1/1/04 SMXA SMXA disable 3 all 75 disable
Related Commands
None
2.26 swap
Syntax
swap [rackno number1 ] [shelfno number2 ] [slotno slot1 ]
Function
This command forces an active/standby switch.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to force an active/standby switch:
ZXAN#swap
Related Commands
None
2-21
Function
This command sets the configuration modes of the diagnostic port on the main control
card.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A diagnostic port is an electrical interface and used to locate faults for traffic mirroring
by servicing staff. The diagnostic port on the panel is supported only by the SCXN card.
If the diagnostic port is enabled, the egress service flow from the original panel 4 is
interrupted because the diagnostic port shares the same switching chip port with port 4
on the panel of the main control card. In addition, the configuration of the switching chip
port set by the original panel 4 will affect traffic mirroring; therefore, it is necessary to clear
the configuration of the original service port. When the diagnostic port is disabled, the
configuration of the original service port should be resumed. It is the users' responsibility
to ensure both the clearing and resuming operations.
If this command is used for the main control card that does not support the diagnostic port
on the panel, an error message is displayed.
Run the show switch-board diag-port mode command to display the completed
configuration.
Examples
The following example shows how to enable the diagnostic port on the panel of the SCXN
card:
ZXAN(config)#switch-board diag-port enable
The configuration will result in the data stream of corresponding uplink port in
terruption!Confirm to execute? [y/n][]y
2-22
Related Commands
2.23 show switch-board diag-port mode
Function
This command configures the configuration modes of the service port on the main control
card.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
For the SCXN card, the service port on the main control card shares the same switching
chip resource with service port 3 and 4 on the directly-connected uplink card, and the
physical lines are switched by an electronic switch. Therefore, this command acts as an
electronic switch to switch between the service ports on the directly-connected uplink card
and the service port on the SCXN main control card. Other main control cards do not
support the switching executed by this command.
This command is available for all the main control cards. Therefore, it is necessary to
configure a correct default mode for the main cards that do not support service port
switching on the main control card, main control card service port mode for the SMXA
card and non-main control card service port mode for other cards by default.
If this command is used for the main control card that does not support switching, an error
message is displayed. For the SCXN card, the service port on the main control card can
be enabled only in load sharing mode.
Run the show switch-board uplink-port mode command to display the completed
configuration.
2-23
Examples
The following example shows how to enable the service port on the panel of the SCXN
card:
Related Commands
2.24 show switch-board uplink-port mode
Function
This command modifies the detection threshold of an endless-loop task.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to modify the detection threshold of an endless-loop
task:
2-24
Related Commands
None
Function
This command enables the endless-loop reboot strategy for a task.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Run this command to determine whether to reboot a card when the detection threshold of
an endless-loop task is reached.
Examples
The following example shows how to enable the endless-loop reboot strategy:
ZXAN(config)#system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 11 enable
Related Commands
None
2-25
Function
This command configures a monitoring strategy when a task is suspended.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure a monitoring strategy when a task is
suspended:
ZXAN(config)#system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 11 all
Related Commands
None
Function
This command enables or disables a watchdog.
2-26
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
With a watchdog enabled, a card is rebooted immediately when the function is disabled.
Examples
The following example shows how to enable a watchdog:
ZXAN(config)#system-monitor watchdog rackno 1 shelfno 2 slotno 3 enable
Related Commands
None
Function
This command modifies the wait time for endless-loop task monitoring.
Parameters
Parameter Description Value
2-27
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to modify the wait time for endless-loop task monitoring:
ZXAN(config)#system-monitor watchdog-duration rackno 1 shelfno 2 slotno 3 value 34
Related Commands
None
2-28
Function
This command adds an environmental device.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Only C320 supports this command.
User can add the device ID from 51 to 100 in the command line, with 1–50 reserved.
3-1
Examples
The following example shows how to add an environmental device:
Related Commands
3.10 show env-switch device
Function
This command associates a device to a switch value.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Only C320 supports this command.
Examples
The following example shows how to associate the device d to a switch value:
Related Commands
3.11 show env-switch switch
3-2
Function
This command sets the fan control mode to fixed-speed mode (manual regulation).
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Two modes are available for controlling the fans: fixed-speed mode and
temperature-based control mode.
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.12 show fan
Function
This command configures four temperature thresholds for fan temperature-based control
mode.
3-3
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Two modes are available for controlling the fans: fixed-speed mode and
temperature-based control mode.
Examples
The following example shows how to switch the fan control mode to temperature-based
control mode and set four temperature levels:
Related Commands
3.12 show fan
Function
This command enables the EPM configuration.
3-4
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the EPM configuration:
ZXAN(config)#fan epm enable
Related Commands
3.12 show fan
Function
This command sets the speed level of a fan at a fixed speed (only in fixed-speed mode).
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Up to 5 speed levels can be configured, each with a fixed value.
3-5
Examples
The following example shows how to set the speed level of a fan to 2:
ZXAN(config)#fan speed 2
ZXAN(config)#
Related Commands
3.12 show fan
Function
This command configures the duty ratio for four fan speed levels.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Run this command to switch between fixed speed and temperature control mode.
Examples
The following example shows how to set the duty ratio for fan speed level 1 through 4 to
20%, 30%, 40%, and 50% respectively:
ZXAN(config)#fan speed-percent-set 20 30 40 50
3-6
Related Commands
3.12 show fan
Function
This command displays the power consumption of a card.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the power consumption of all card:
ZXAN#show card-power
All cards power:
-----------------------------------
Rack Shelf Slot Power(W)
-----------------------------------
1 1 0 N/A.
1 1 4 33
1 1 10 63
1 1 11 N/A.
1 1 19 14
1 1 20 NOSUPP
Related Commands
None
3-7
Function
This command displays the temperature of a card.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the temperature of all cards:
ZXAN#show card-temperature
All cards temperature(deg c):
----------------------------------------------------------------------------
Rack Shelf Slot Temperature Temperature(5m) Temperature(1h) Temperature(24h)
----------------------------------------------------------------------------
1 1 1 N/A. N/A. N/A. N/A.
1 1 10 59 58 58 56
1 1 11 N/A. N/A. N/A. N/A.
Related Commands
None
3-8
Function
This command displays the configured environmental devices.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
User can add the device ID from 51 to 100 in the command line, with 1–50 reserved.
Examples
The following example shows how to display the configured environmental device:
ZXAN(config)#show env-switch device
All Existing Env Devices:
------------------------------------------------------------------
1 2nd-Power-Monitor
2 Input-Fan-Monitor
3 Heat-Exchager
4 MAIN-FAIL
5 SENSOR-FAIL
6 RECTIFIER-FAIL
7 LOAD/BATT,MCB-TRIP
8 TEMP.AUX.FAIL
9 SURGE-FILTER-FAIL
10 Distribution-Frame
11 FanTray-Online-Signal
12 Smoke-Sensor-Link
13 Other-Smoke-Sensor
14 Other-Gate-Sensor
15 Digital-AC-Fault
16 Digital-AC-Power-off
17 Digital-Diesel-Alarms
18 AC-Power-Input-Fault
19 Power-Rectifier-Fault
20 Power-Battery-Voltage-Low
21 Power-Load-Fuse-Break
22 AVG-Charging-of-Power-Batteries
23 Power-Output-Voltage-High
24 Defend-Thunder-Equipment-Fault
25 Circuit-Breaker-Trip
26 Storage-Battery-Voltage-Low
3-9
51 d
Related Commands
3.1 env-switch add-device
Function
This command displays the configured switch values.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configured switch values:
Related Commands
3.2 env-switch switch
3-10
Function
This command displays the information of all the fans.
Parameters
Parameter Description Value
Mode
All modes except user mode
Usage Guidelines
Run this command with parameters, the information of the specified fan is displayed.
Run this command without parameters, the information of all the fans is displayed.
Examples
The following example shows how to display the information of all the fans:
ZXAN#show fan
Shelf : 1
epm : disable
FanControlType : fixed-speed
FanSpeedLevelPercent : 25% 36% 50% 75%
HighTemperatureThreshold : 70 (deg c)
Environment Temperature : 59 (deg c)
HighTemperatureProtection : Threshold : N/A.(deg c)
RestartTime: N/A.(Minute)
Upper Fanboard Status : online
All fan units actual status:
----------------------------------------------
FanUnitId SpeedLevel ShiftSpeed(RPM)
----------------------------------------------
1 2 0
2 2 1880
3 2 1800
4 2 1980
----------------------------------------------
3-11
Related Commands
None
3-12
4-1
Function
This command configures a conditional backup and a delay time for it.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
An automatic backup server should be configured before backup.
Examples
The following example shows how to configure a conditional backup when a configuration
file is changed. In this example, the configuration file is automatically backed up after a
one-hour delay, and is definitely backed up after up to a two-hour delay.
ZXAN(config)#auto-backup condition cfg-changed hold-off-time 1 max-hold-off-time 2
Related Commands
file-server auto-backup
4.14 show auto-backup condition configure
4.1 auto-backup condition cfg-changed
show auto-backup progress condition
4-2
Function
This command enables automatic backup and sets the start time and interval.
Parameters
name2 Month -
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
An automatic backup server should be configured before backup.
Examples
The following example shows how to set automatic backups of all types from
2011-1-5 15:00:00 every one hour:
Related Commands
4.15 show auto-backup period configure
4.3 auto-update
Syntax
auto-update {backup name1 |activate name2 }
Function
This command enables backup and activation for automatic update.
4-3
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If backup is enabled, the older version of the NE is backed up to the server before version
update.
If activation is enabled, the line card reboots to run the new version after version update.
The main control card does not reboot, but switches the activation tag to the updated
version instead.
Examples
The following example shows how to enable backup and activation for automatic update:
ZXAN(config)#auto-update backup enable
ZXAN(config)#auto-update activate enable
Related Commands
4.5 auto-update manual
no auto-update check-period
Function
This command configures a start time and cycle for an automatic update check.
4-4
Parameters
name1 Month -
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
An automatic update server should be configured before automatic update check.
Examples
The following example shows how to set the start time of an automatic update to 2011-1-5;
15:00:00 with a one-hour cycle:
Related Commands
4.7 file-server auto-update
4.17 show auto-update check-period configure
4.18 show auto-update check-result
Function
This command updates the version file checked by an automatic update process to the
NE manually.
Parameters
None
4-5
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to update the version file checked by an automatic
update process to the NE manually:
ZXAN#auto-update manual
Related Commands
4.4 auto-update check-period
auto-update activate
auto-update backup
4.17 show auto-update check-period configure
4.18 show auto-update check-result
4.6 file-server
Syntax
file-server name1 name2 server-index number1 [{vrf name3 |mng } ] {ftp ipaddress ip_addr1
[path name4 ] user name5 password name6 |sftp ipaddress ip_addr2 [path name7 ] user name8
password name9 }
no file-server name1 name2 server-index number1
Function
This command configures the file servers for automatic backup and manual backup.
Parameters
name3 VPN -
4-6
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 ftp ipaddress 136.1.10.200 path backup u
Related Commands
4.2 auto-backup period
Function
This command configures information about a file server for an automatic update check.
4-7
Parameters
name1 VPN -
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
An automatic update server should be configured before automatic update check.
Examples
The following example shows how to configure information about a file server for
an automatic update check. In this example, the IP address of the server is set to
136.1.10.200, the server index to 1, protocol to FTP, path to update, and both the user
name and password to zte.
Related Commands
show file-server auto-update
4.4 auto-update check-period
4-8
no file-server boot-server
Function
This command configures information about a file server for file upload and download.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A file server should be configured before file upload and download.
Examples
The following example shows how to configure information about a file server for file upload
and download. In this example, the IP address of the server is set to 140.1.0.58, protocol
to FTP, path to download, and both user name and password to zte.
ZXAN(config)#file-server boot-server ftp ipaddress 140.1.0.58 path download user zte
password zte
4-9
Related Commands
7.4 file download
7.6 file upload
Function
This command configures the upload-download server for a performance file.
Parameters
name2 VPN -
Mode
Configuration mode: ZXAN (config)#
4-10
Usage Guidelines
None
Examples
The following example shows how to configure the upload-download server for a
performance file:
Related Commands
None
Function
This command installs a license file.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to install a license file:
Related Commands
None
4-11
4.11 manual-backup
Syntax
manual-backup name1
Function
This command implements a manual backup.
Parameters
Parameter Description Value
Mode
Privileged mode: ZXAN#
Usage Guidelines
A backup server should be configured before a manual backup.
Examples
The following example shows how to implement a manual backup:
ZXAN#manual-backup all
Related Commands
file-server manual-backup
show auto-backup progress manual
Function
This command runs the specified patch. The patch is activated immediately and the status
changes to activated.
Parameters
Parameter Description Value
4-12
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to activate a patch:
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.27 show patch-running
4.28 show patch-saved
Function
This command stops the specified patch. The patch is deactivated immediately and the
status changes to deactivated.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to deactivate a patch:
ZXAN#patch deactive SCXLV10T7_r2.pat
4-13
Related Commands
4.27 show patch-running
4.28 show patch-saved
Function
This command displays configuration information about a conditional backup.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about a conditional
backup:
Related Commands
auto-backup condition
4-14
Function
This command displays the automatic backup configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the automatic backup configuration:
Related Commands
4.2 auto-backup period
Function
This command displays information about a backup progress.
4-15
Parameters
Mode
All modes except user mode
Usage Guidelines
This command displays the progress of automatic, manual, conditional, and automatic
update backup.
Examples
The following example shows how to display a manual backup progress:
ZXAN#show auto-backup progress manual
FileType : cfg
BackupStatus : backup file done
StartTime : 2001-04-30 18:54:51
TotalFiles : 3
SuccessFiles : 3
CurrFileName : nvram.dat
CurrFileProgress : 100
Related Commands
auto-backup condition
auto-backup
period
auto-update
Function
This command displays the start time and cycle of an automatic update check.
Parameters
None
4-16
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the start time and cycle of an automatic update
check:
ZXAN#show auto-update check-period configure
Eanble Start-time Interval
------------------------------------------------
enable 2011-01-31 12:12:59 1
Related Commands
4.4 auto-update check-period
Function
This command displays the result of an automatic update check.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the result of an automatic update check:
ZXAN#show auto-update check-result
Start-time Check-status Fail-reason
2011-02-22 14:22:00 complete
--------------------------------------------------------------------
4-17
gtgo.fw,scxl.mvr,hutq.fw
Related Commands
4.4 auto-update check-period
Function
This command displays configuration information about an automatic backup.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about an automatic
backup:
Related Commands
4.5 auto-update manual
4-18
Function
This command displays the progress of an automatic backup.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the progress of an automatic backup:
ZXAN#show auto-update progress
Status Num Done Name Size Prog
---------------------------------------------------------------
update complete 3 3 hutq.fw 9120211 100%
Update List:
---------------------------------------------------------------
gtgo.fw,scxl.mvr,hutq.fw
Activate Detail:
Rack Shelf Slot CfgType UpdateState
---------------------------------------------------------------
1 1 21 HUTQ active
1 1 11 SCXL not active
1 1 10 SCXL not active
1 1 5 GTGO active
Related Commands
4.5 auto-update manual
Function
This command displays compound version file information.
4-19
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display a compound version file:
ZXAN#show compound-version GTGOC.FW
FileName Format CompoundFlag BuildTime FileLength
------------------------------------------------------------
zx2763.bin.z BIN 0 2011-10-14 02:01:52 4716190
zx27634.bin. BIN 0 2011-10-14 02:02:05 4996696
zBIN
zx276103.bin BIN 0 2011-10-14 02:02:12 2270952
.BIN
zx2761031.bi BIN 0 2011-10-14 02:02:19 1850095
nBIN
gtgoc090201. BIN 0 2011-10-14 02:02:19 21346
jBIN
gtgqc090201. BIN 0 2011-10-14 02:02:20 19020
jBIN
gtgoc100700. BIN 0 2011-10-14 02:02:20 21505
jBIN
gtgqc100700. BIN 0 2011-10-14 02:02:21 19654
jBIN
Related Commands
download
4-20
Function
This command displays configuration information about a file server.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of a manual backup server:
ZXAN#show file-server manual-backup
FileType : Cfg
ServerIndex : 1
ProtocolType: Ftp Server-IpAddr: 10.63.196.58
Username : target
Password : ********
Path : backup
FileType : Cfg
ServerIndex : 2
Not configuration
FileType : Log
ServerIndex : 1
ProtocolType: Ftp Server-IpAddr: 10.63.196.58
Username : target
Password : ********
Path : backup
FileType : Log
ServerIndex : 2
Not configuration
FileType : Img
ServerIndex : 1
ProtocolType: Ftp Server-IpAddr: 10.63.196.58
Username : target
4-21
Password : ********
Path : backup
FileType : Img
ServerIndex : 2
Not configuration
Related Commands
None
Function
This command displays the default values of the control items in a license file.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the default values of the control items in a
license file:
ZXAN#show license default
Source: Default
4-22
LCS_EOAM_FUNCTION NO Enable
LCS_ROUTER_PROTOCOL_FUNCTION NO Enable
LCS_H248_FUNCTION NO Enable
LCS_MGCP_FUNCTION NO Enable
LCS_SIP_FUNCTION NO Enable
LCS_ISDN_FUNCTION NO Enable
LCS_ISDN2B_FUNCTION NO Enable
LCS_E1_FUNCTION NO Enable
LCS_V5_FUNCTION NO Enable
LCS_MULTICAST_FUNCTION NO Enable
Related Commands
None
Function
This command displays the details of a license file.
Parameters
Parameter Description Value
4-23
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the details of a license file:
ZXAN#show license individual trial1.lcs
Sn: 100000153191-000000000000-1301060003
Type: Trial
EffectDate: 2012-12-10 00:00:00
InvalidDate: 2013-11-30 00:00:00
AwakeDate: 2013-08-31 00:00:00
Function Status
---------------------------------------
LCS_SSH_FUNCTION Enable
LCS_SFTP_FUNCTION Enable
LCS_CFM_FUNCTION Enable
LCS_IPV6_FUNCTION Enable
LCS_MPLS_FUNCTION Enable
LCS_1588_FUNCTION Enable
LCS_EOAM_FUNCTION Enable
LCS_ROUTER_PROTOCOL_FUNCTION Enable
LCS_H248_FUNCTION Enable
LCS_MGCP_FUNCTION Disable
LCS_SIP_FUNCTION Disable
LCS_ISDN_FUNCTION Disable
LCS_ISDN2B_FUNCTION Disable
LCS_E1_FUNCTION Disable
LCS_V5_FUNCTION Disable
LCS_MULTICAST_FUNCTION Disable
Performance Status
---------------------------------------
LCS_POTS_PORT_NUM 1024
LCS_MULTICAST_NUM 248
LCS_FE_UPSTREAM_PORT_NUM 32
LCS_GE_UPSTREAM_PORT_NUM 32
LCS_GE_DOWNSTREAM_PORT_NUM 64
LCS_XGE_UPSTREAM_PORT_NUM 16
LCS_40GE_UPSTREAM_PORT_NUM 8
4-24
LCS_XGE_DOWNSTREAM_PORT_NUM 32
LCS_40GE_DOWNSTREAM_PORT_NUM 16
LCS_ADSL2_PLUS_PORT_NUM 1024
LCS_VDSL2_PORT_NUM 512
LCS_GPON_DOWNSTREAM_PORT_NUM 128
LCS_FE_DOWNSTREAM_PORT_NUM 64
Related Commands
None
Function
This command displays the installation status of a license file.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the installation status of a license file:
Related Commands
None
4-25
Function
This command displays control information about the license file running currently.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display control information about the license file
running currently:
ZXAN#show license running
Status: Waitfor effective time
FileName: trial1.lcs
Source: Default
4-26
LCS_MULTICAST_FUNCTION NO Enable
Related Commands
None
Function
This command displays the operating status of the patches in the system.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
4-27
Examples
The following example shows how to display the operating status of the patches in the
system:
ZXAN#show patch-running
Position PatchFile PatchTag ActiveTime
-------------------------------------------------------------------------------
1/1/20 cickv200_r2.pat 2.0 2001-01-01 00:01:30
1/1/20 cickv200_r3.pat 2.0 2001-01-01 00:01:28
1/1/20 cickv200_r5.pat 2.0 2001-01-01 00:01:32
Related Commands
4.28 show patch-saved
Function
This command displays the saved patches that are available to be activated.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the saved patches:
ZXAN#show patch-saved
Position PatchFile PatchTag BuildTime PatchLen Actived
-------------------------------------------------------------------------------
1/1/11 cickv200_r0.pat 2.0 2013-05-20 11:52:31 778 No
1/1/11 cickv200_r1.pat 2.0 2013-05-20 11:52:40 778 No
1/1/11 cickv200_r2.pat 2.0 2013-05-20 11:52:47 778 Yes
1/1/11 cickv200_r3.pat 2.0 2013-05-20 11:52:53 778 Yes
4-28
Related Commands
4.27 show patch-running
Function
This command displays information about CPLD update.
Parameters
Mode
All modes except user mode
Usage Guidelines
NextRebootUpdate is an update flag. YES indicates that a CPLD update is implemented
during next reboot, and NO indicates that a CPLD is not implemented during next reboot.
LastUpdateResult is an update status flag. SUCCESS indicates that the previous reboot
is successful, and FAIL indicates that the previous reboot fails.
Examples
The following example shows how to display CPLD update information:
ZXAN#show updatecpld
Rack Shelf Slot RealType NextResetUpdate LastUpdateResult Version
-----------------------------------------------------------------------------
1 1 10 SCXN NO SUCCESS V9.2
4-29
Related Commands
4.34 update-cpld
Function
This command displays information about the versions that are running on all cards in a
shelf.
Parameters
Mode
All modes 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 VerLenth
--------------------------------------------------------------------------------
4-30
Related Commands
download
Function
This command displays information about the software version files saved in a card.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display 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 gucd.fw FW V2.0.0 2013-07-08 01:13:26 177438
1/1/11 gucd.mvr MVR V2.0.0 2013-07-15 14:31:03 2239114
1/1/11 scxn.fw FW V2.0.0 2013-09-17 00:25:39 8345585
1/1/11 scxn0.mvr MVR V2.0.0 2013-09-17 20:28:02 22027077 1
1/1/11 scxn1.mvr MVR V2.0.0 2013-09-17 19:29:23 22028403 0
Related Commands
None
4-31
4.32 swapver
Syntax
swapver
Function
This command specifies the version file to be started next time. 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 OK
Related Commands
None
4.33 update-boot
Syntax
update-boot [rackno number1 ] [shelfno number2 ] slotno slot1
Function
This command updates the boot version file and write it into a Bootrom.
4-32
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to update the boot version file of a card:
ZXAN#update-boot slotno 7
........................................[Successfully]
Related Commands
None
4.34 update-cpld
Syntax
update-cpld [rackno number1 ] [shelfno number2 ] slotno slot1 swtval number3
Function
This command sets an update flag for a CPLD version file.
Parameters
Mode
Privileged mode: ZXAN#
4-33
Usage Guidelines
None
Examples
The following example shows how to set an update flag for a CPLD version file:
Related Commands
4.29 show updatecpld
4-34
5.1 action
Syntax
action name1
Function
This command specifies an RU version management action.
5-1
Parameters
Mode
RU-TASK mode
Usage Guidelines
One of the following RU actions can be specified:
l update: Downloads the required version.
l reboot: Reboots the RU.
l update-and-reboot: Downloads the required version, activates the version, and sets
the version as default. This action completes the entire version update procedure.
l update-commit: Activates the RU version and sets this version as default.
l update-reonline: Activates the version and sets this version as default upon the next
login.
Examples
The following example shows how to specify an RU version management action:
Related Commands
None
5.2 description
Syntax
description name1
Function
This command adds a description for an RU task.
Parameters
5-2
Mode
RU-TASK mode
Usage Guidelines
None
Examples
The following example shows how to add a description for an RU task:
ZXAN(config)#remote-unit task test
ZXAN(ru-task)# description test
Related Commands
None
5.3 equipment-type
Syntax
equipment-type name1
Function
This command specifies the actual equipment type of an RU in a task.
Parameters
Mode
RU-TASK mode
Usage Guidelines
Enter the actual equipment type in this command, such as F460 or F420.
Examples
The following example shows how to specify the actual equipment type:
5-3
Related Commands
None
5.4 match-vertag
Syntax
match-vertag name1 name2
Function
This command compares the version numbers of RUs with the benchmark version number.
Parameters
Mode
RU-TASK mode
Usage Guidelines
This command only compares the current vertag string of an RU with the vertag string
specified in the command.
Examples
The following example shows how to compare version numbers
Related Commands
None
5.5 mode
Syntax
mode name1
5-4
Function
This command configures the task mode.
Parameters
Mode
RU-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.6 parallel-limitation
Syntax
parallel-limitation number1
Function
This command limits the maximum number of RUs that can be concurrently updated by a
task for a card.
Parameters
Mode
RU-TASK mode
5-5
Usage Guidelines
None
Examples
The following example shows how to set the maximum number of concurrently-updated
RUs:
ZXAN(cpe-task)# parallel-limitation 16
Related Commands
None
5.7 range
Syntax
range {ne |port interface1 }
Function
This command configures an effective range for a task.
Parameters
Mode
RU-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.
Examples
l The following command shows how to allow version updates of all RUs connected to
the NE:
ZXAN(ru-task)# range ne
5-6
l The following command shows how to allow version updates of the RUs connected
to two ports, gpon-olt_1/5/1 and gpon-olt_1/5/2:
ZXAN(ru-task)# range port gpon-olt_1/5/1
ZXAN(ru-task)# range port gpon-olt_1/5/2
Related Commands
None
Function
This command aborts the current version management action on an RU.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to abort the version management action on the RU 1
that is connected to gpon-olt_1/2/1:
Related Commands
None
5-7
Function
This command activates the version of an RU.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to activate the version of the RU 1 that is connected to
gpon-olt_1/8/1:
Related Commands
None
Function
This command downloads a specified configuration file.
5-8
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to download the RU configuration file for the interface
gpon-olt_1/3/1:
ZXAN#
Related Commands
None
Function
This command sets an RU version as the default boot version.
Parameters
5-9
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to set the version of the RU that is connected to the
interface gpon-olt_1/2/1 as the default boot version:
ZXAN#remote-unit commit gpon-olt_1/2/1 1
ZXAN#
Related Commands
None
Function
This command enters RU task configuration mode.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The following example shows how to enter RU task configuration mode:
Examples
The following example shows how to enter RU task configuration mode:
ZXAN(config)#remote-unit task test1
ZXAN(ru-task)#
5-10
Related Commands
None
Function
This command downloads an RU of a specified version to update the RU.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to download the RU that is connected to the interface
epon-olt_1/14/1:
ZXAN#
Related Commands
None
5-11
Function
This command updates an RU of a specified version and reboots it.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to update the RU that is connected to the interface
gpon-olt_1/2/1 and reboot it:
ZXAN#remote-unit update-and-reboot f460914.bin gpon-olt_1/2/1 1
Related Commands
None
Function
This command executes update and commit operations for an RU to update the version
and set it to the default version.
5-12
Parameters
Parameter Description Value
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to update the RU that is connected to the interface
epon-olt_1/14/1 and set it to the default version:
ZXAN#remote-unit update-commit f460914.bin epon-olt_1/14/1 1
ZXAN#
Related Commands
None
Function
This command updates an RU and sets it as the default version when it logs in again.
Parameters
Parameter Description Value
5-13
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to update the RU that is connected to the interface
epon-olt_1/14/1 and set it as the default version when it logs in again:
ZXAN#remote-unit update-reonline f460914.bin epon-olt_1/14/1 1
ZXAN#
Related Commands
None
5.17 service-type
Syntax
service-type name1
Function
This command configures a service type for a task.
Parameters
Parameter Description Value
Mode
RU-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-14
Function
This command displays the information about an RU.
Parameters
name1 Specified RU -
Mode
All modes except user mode
Usage Guidelines
RU information includes the vender name, device name, and the status of the current
version. To query the information about multiple RUs, set an RU list before using this
command.
Examples
The following example shows how to display the information about an RU:
ZXAN#
5-15
Related Commands
None
Function
This command shows the brief information about manual updates or updates initiated by
a task.
Parameters
Parameter Description Value
Mode
All modes except user mode
Usage Guidelines
This command shows the brief information about manual updates or updates initiated by
a task, including the locations of RUs 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
a. The following example shows how to display the summary of current manual updates:
ZXAN#show remote-unit summary-of manual
Operating:
5-16
Waiting:
Fail:
Success:
epon-onu_1/10/3: 1
b. The following example shows how to display the summary of updates initiated by the
task abc:
ZXAN#show remote-unit summary-of task abc
Operating:
Waiting:
Fail:
Success:
epon-onu_1/10/3: 1
Related Commands
None
Function
This command displays RU task parameters.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display RU task parameters:
5-17
Related Commands
5.12 remote-unit task
Function
This command displays the update information about a specified RU.
Parameters
name1 Specified RU -
Mode
All modes except user mode
Usage Guidelines
Update information includes the action being performed, current update process, and
failure reasons. To query the information about multiple RUs, set an RU list before using
this command.
Examples
The following example shows how to display the update information about a specified RU:
ZXAN#show remote-unit update-status epon-olt_1/10/3 1
epon-onu_1/10/3: 1
Taskname :
Manual
Action :
Update
Status :
In-progress
Progress : 4%
Failreason :
None
Committime :
5-18
Related Commands
None
Function
This command aborts an RU task.
Parameters
None
Mode
RU-TASK mode
Usage Guidelines
None
Examples
The following command shows how to abort an RU task:
ZXAN(ru-task)#task abort
Related Commands
None
Function
This command adds an RU task.
Parameters
None
5-19
Mode
RU-TASK mode
Usage Guidelines
This command can be used to add an RU task only after all required parameters are
configured.
Examples
The following example shows how to add an RU task:
ZXAN(ru-task)#task add
Related Commands
None
Function
This command deletes an RU task.
Parameters
None
Mode
RU-TASK mode
Usage Guidelines
None
Examples
The following example shows how to delete an RU task:
ZXAN(ru-task)#task delete
Related Commands
None
5-20
Function
This command restarts an RU task.
Parameters
None
Mode
RU-TASK mode
Usage Guidelines
None
Examples
The following example shows how to restarts an RU task:
ZXAN(ru-task)# task restart
Related Commands
None
5.26 vendor-name
Syntax
vendor-name name1
Function
This command specifies the vendor name for an RU task.
Parameters
Mode
RU-TASK mode
5-21
Usage Guidelines
To obtain the vendor name of an RU, use the show remote-unit information command.
Examples
The following example shows how to specify a vendor name for an RU task:
ZXAN(ru-task)#vendor-name ZTE
Related Commands
None
5.27 version-file
Syntax
version-file name1
Function
This command specifies the name of the version file for an update task.
Parameters
Mode
RU-TASK mode
Usage Guidelines
None
Examples
The following example shows how to specify the name of the version file required for an
RU update task:
ZXAN(ru-task)#version-file f420.bin
Related Commands
None
5-22
6.1 exit
Syntax
exit
Function
This command exits the device or returns to the previous mode.
Parameters
None
6-1
Mode
Privileged mode, user mode
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 privileged
mode:
ZXAN(config)#exit
ZXAN#
Related Commands
6.10 logout
6.9 login
Function
This command enters line configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enter line configuration mode:
ZXAN(config)#line console 0
ZXAN(config-line)#
6-2
Related Commands
None
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
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used together 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.
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.4 line console idle-timeout
6-3
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
number1 Idle time of the serial port terminal (min) Range: 0–1000
Default: 15
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used together with the line console absolute-timeout command to
close a serial-port terminal session after a period.
Examples
The following example shows how to set the idle time of the serial port terminal to 30
minutes:
Related Commands
6.3 line console 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.
6-4
Parameters
number1 Total use time of the Telnet terminal (min) Range: 0–10000
Default: 1440
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used together 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:
Related Commands
6.7 line telnet idle-timeout
Function
This command specifies the IP addresses that can log in to the Telnet terminal. By default,
all login addresses are allowed.
Parameters
Mode
Configuration mode: ZXAN (config)#
6-5
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
acl stand number
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
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used together 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)#
6-6
Related Commands
line telnet absolute-time
Function
This command sets the total number of logged-in users through Telnet.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) If the number of online users reach the maximum number, the system prompts
"Logged-on user is full" when a new user logs in.
(2) If it is necessary to modify the number, the new number must not be greater
than the number of current online users. Otherwise, the system prompts
"%Code 5017: Configure error, the number of online user is larger than configuration."
Examples
(1) The following example shows how to set the total number of logged-in users through
Telnet to 4:
(2) The following example shows that the system displays an error message when the total
number of allowed logged-in users is set to 2 whereas the number of current online users
is 4:
6-7
Related Commands
None
6.9 login
Syntax
login
Function
This command changes a login user name.
Parameters
None
Mode
User mode
Usage Guidelines
None
Examples
The following example shows how to log in to the device as the user zxan:
ZXAN#login
Username:admin
Password:
ZXAN#
Related Commands
6.10 logout
6.10 logout
Syntax
logout
Function
This command logs out of the NE.
6-8
Parameters
None
Mode
User mode
Usage Guidelines
After this command is executed, the device is disconnected.
Examples
None
Related Commands
6.9 login
Function
This command displays a record of the commands that have been entered.
Parameters
None
Mode
All modes except user 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
6-9
Related Commands
None
Function
This command displays the configuration information about serial port and Telnet login.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command is used to display total time and idle time for serial port login and Telnet
login, and IP restrictions against Telnet login.
Examples
The following example shows how to display the configuration information about serial port
and Telnet login:
ZXAN(config)#show line-configuration
line console idle-timeout 15
line console absolute-timeout 1440
line telnet idle-timeout 15
line telnet absolute-timeout 1440
line telnet access-class 49 telnet-only
Related Commands
6.4 line console idle-timeout
6-10
Function
This command displays information about the current user terminal.
Parameters
None
Mode
All modes except user 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 information about the current login terminal:
ZXAN#show terminal
Line 67, Location: "", Type: "ANSI"
Length: 8 lines, Width: 80 columns
Telnet idle-timeout is: 00:03:00
Telnet absolute-timeout is: 1d00h00m
Baud rate (TX/RX) is 9600/9600
Capabilities: none
Time since activation: 00:01:03
Editing is enabled.
History is enabled, history size is 10.
Telnet access-class is: EMPTY!
ZXAN#
Related Commands
None
6-11
Function
This command telnets to an ONU from the CLI of an OLT.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to telnet to the gpon-onu_1/12/1:1:
ZXAN#telnet onu gpon-onu_1/12/1:1
Related Commands
None
no terminal length
Function
This command sets the number of lines displayed on a terminal (when it is logged through
a telnet program) at a time.
6-12
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to set the number of lines displayed on a terminal (when
it is logged through a telnet program) at a time to 5:
ZXAN#terminal length 5
Related Commands
None
Function
This command allows a user to log in to the NE and to modify his own password.
Parameters
Mode
Privileged mode: ZXAN#
6-13
Usage Guidelines
(1) A user cannot log in to the NE through a serial port with his user name but instead enters
privileged mode with the enable command. Therefore, a message, "%Code 48446: user
not exist.", is displayed when this command is executed.
(2) The new password must be configured different from the old password; otherwise, an
error message is displayed.
(3) Acceptable characters for the parameter password:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*-
=~!@#$%^&()_+[]{}|;':,./<>\\
Examples
The following example shows that an error message is displayed when the new password
is the same as the old password:
ZXAN#user password zteZTE00
%Code 48445: new password same as old password.
ZXAN#
(2) The following example shows how to modify the user password successfully:
ZXAN#user password zteZTE 11
ZXAN#
Related Commands
1.30 show username
6.17 user-authentication-type
Syntax
user-authentication-type {local |aaa [{chap |pap |ascii |zte-ascii } ] }
Function
This command configures user authentication mode for a Telnet login. Local authentication
is configured by default. For AAA authentication, the CHAP protocol is used by default.
Parameters
6-14
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
For local authentication, a user name and password must be available in the NE.
Otherwise, a telnet user cannot log in. For AAA authentication, the IP address of an
authentication server must be configured and the AAA service (Tacplus or Radius) must
be enabled for the server.
Examples
The following example shows how to set the Telnet user authentication mode to aaa with
the default CHAP protocol used:
ZXAN(config)#user-authentication-type aaa
Related Commands
6.18 user-authorization-type
25.10 show user-authen-type
6.18 user-authorization-type
Syntax
user-authorization-type {local |aaa }
Function
This command configures user authorization for a Telnet login. Local authorization is
configured by default.
Parameters
6-15
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set user authorization to AAA:
ZXAN(config)#user-authorization-type aaa
Related Commands
1.31 telnet
6.17 user-authentication-type
25.10 show user-authen-type
6.19 user-suspend
Syntax
user-suspend {mode name1 |time number1 |retry-times number2 }
Function
This command configures the locking mode, locking time period, and number of user's
login retries.
Parameters
Mode
Configuration mode: ZXAN (config)#
6-16
Usage Guidelines
(1) Lock by ip: If the number of failed login attempts of a user with a certain IP address is
more than the configured number of retries, the user will be locked when attempting to log
in again with the same IP address, even though the user is authenticated successfully.
(2) Lock by username: If the number of failed login attempts of a user with a certain name
is more than the configured number of retries, the user will be locked when attempting to
log in again with the same user name, even though the user is authenticated successfully.
(3) Lock by ipandusername: If the number of failed login attempts of a user with a certain
IP address and name is more than the configured number of retries, the user will be locked
when attempting to log in again with the same IP address and name, even though the user
is authenticated successfully.
(5) If the number of failed login attempts is more than or equal to the configured number
of retries, the user will be locked and cannot log in to the NE until the locking time expires
even though the user is authenticated successfully.
Examples
(1) The following example shows how to lock a user by user name:
(2) The following example shows how to set the locking time period to 30 minutes:
ZXAN(config)#user-suspend time 30
(3) The following example shows how to set the number of user's login retries to 3:
ZXAN(config)#user-suspend retry-times 3
(4) The following example shows how to lock user aaa. In this example, the user fails
to be authenticated for three times. Then the user logs in again and is authenticated
successfully, but is locked.
Username:aaa
Password:
Error: Login attempts with wrong password exceeded 3 times, This account is locked out
for 30 minutes !
Username:
Related Commands
1.30 show username
6-17
6.20 username
Syntax
username name1 password {0 name2 |7 name3 |name4 } [max-sessions number1 ] [privilege nu
mber2 ]
no username name5
Function
This command configures the login user name and password.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) Acceptable characters for the user name parameter:
0123456789abcdefghijklmorqrstuvwxyz_
(2) Acceptable characters for the password parameter:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*-=~!@
#$%^&()_+[]{}|;':,./<>\\
6-18
(3) Only the user with privilege level 15 can create and delete users.
(4) Both the username username password 0 password and username username password
password commands require an unencrypted password.
The username username password 7 password command sets an encrypted password only
when configuration files are loaded. It cannot be used when the system operates normally.
(5) To delete the user name and password, use the no form of this command.
Examples
(1) The following example shows how to set the password of the login user abc to zte:
(2) The following example shows how to set a ciphertext password when the NE is in
execution status:
ZXAN(config)#username Admin password 7 12345678asdfghjk12345678 privilege 15
%Code 78472: Error Run-time configuration, can't enter the password in the cipher text.
(3) The following example shows how to set the password of the login user abc to
zteZTE000:
ZXAN(config)#username abc password zteZTE000
ZXAN(config)#
Related Commands
1.30 show username
Function
This command sets the time when a user account is disabled.
6-19
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The expiry date of a user account must be later than 2011-1-1.
Examples
The following example shows how to set the expiry time of the user account zte to
2013-02-03 23:59:59:
Related Commands
None
Function
This command configures a time period for user login every day.
6-20
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A user can log in only within the specified time period, from 00:00:00 to 23:59:59 by default.
Examples
The following example shows how to modify the login time period for the user zte to
[08:00:00,18:30:00]:
Related Commands
None
6-21
6-22
7.1 auto-write
Syntax
auto-write {number1 |name1 |time1 {everyday |name2 number2 number3 } }
Function
This command configures automatic saving of configuration files.
Parameters
7-1
name2 Month. -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Either of the following automatic saving modes can be configured:
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)#
Related Commands
7.7 show auto-write
7-2
Function
This command copies files between the Flash and SD card of the main control card.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
The SD card must be on line and enabled.
Crash files, alarm and command line logs can be copied only from the Flash to the SD
card.
Examples
The following example shows how to copy the gucd.fw file from the Flash to the SD card:
ZXAN#file copy version gucd.fw srcdev flash dstdev sdcard
Start copying file
…
file copied successfully.
Related Commands
sdisk enable
Function
This command deletes a file from the Flash of the main control card. If the standby card
is inactive, the file with the same name on the standby card will also be deleted.
7-3
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
The wildcard (*) can be used in this command to delete a specific type of files (*.suff) or
all files (*.*) in a directory.
This command can also delete the files from the SD card of the main control card.
To delete the files on the SD card, the card must be on line and enabled.
Examples
The following example shows how to delete the cick.bt file from the SD card:
ZXAN#file delete version cick.bt device sdcard
Confirm to delete?[yes/no]:y
Start deleting file
deleting cick.bt..
Successfully
Related Commands
sdisk enable
Function
This command downloads a file to the Flash of the main control card. If the standby card
is inactive, the file will also be downloaded to the standby card.
7-4
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
The wildcard (*) can be used in this command to download a specific type of files (*.suff)
or all files (*.*) in a directory.
This command supports FTP/SFTP/TFTP protocols.
This command can also download files to the SD card of a main control card.
To download files to the SD card, the card must be on line and enabled.
A file server can be configured with the file-server boot-server command before file
download, or with this command.
Examples
The following example shows how to download a version file of the main control card:
ZXAN#file download version scxn_lx.mvr ftp ipaddress 10.63.196.66 user target password target
Downloading from host(10.63.196.66)
Transfering file SCXN_LX.MVR ..............................................................
...............................................................................Successfully
7-5
Related Commands
4.8 file-server boot-server
sdisk enable
Function
This command makes a synchronization between active and standby files with specified
file type and name. If no file names are specified, all the files of the type are synchronized.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to synchronize version files:
ZXAN#file sync version
Related Commands
show
sync-status
7-6
Function
This command uploads files from the Flash and SD card of the main control card.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
The wildcard (*) can be used in this command to upload a specific type of files (*.suff) or
all files (*.*) in a directory.
This command supports FTP/SFTP/TFTP protocols.
To upload the files on the SD card, the card must be on line and enabled.
A file server can be configured with the file-server boot-server command before file upload,
or with this command.
Examples
The following example shows how to upload a version file of the main control card:
ZXAN#file upload version scxl.mvr ftp ipaddress 140.1.0.58 user zte password zte
Uploading file to host(140.1.0.58)
7-7
Related Commands
4.8 file-server boot-server
sdisk enable
Function
This command displays the configuration of the automatic saving function.
Parameters
None
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
ZXAN(config)#
Related Commands
7.1 auto-write
7-8
Function
This command displays information about files.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about files:
ZXAN#show file version
Files of version:
attribute size date time name
-rwx 524288 Jan-01-1970 00:07:17 scxn.bt
-rwx 4114701 Feb-11-2001 17:41:52 scxn.fw
-rwx 4904260 Feb-11-2001 18:10:44 gtghg.mvr
-rwx 183191 Feb-11-2001 23:59:44 gucd.fw
-rwx 2219352 Feb-10-2001 23:05:50 cick.mvr
-rwx 143250 Feb-11-2001 18:11:02 gtghg.fw
-rwx 2006408 Feb-12-2001 00:01:30 gucd.mvr
-rwx 16557345 Jul-04-2012 08:45:45 SMXA_LX.MVR
-rwx 43700 Jan-01-1970 00:01:15 sotest
-rwx 21032862 Jan-01-1970 00:02:11 scxn0.mvr
-rwx 14597905 Jan-01-1970 00:02:00 scxn1.mvr
Current directory 11 files total
Total disk size: 243269632 bytes (167247872 bytes free)
Related Commands
None
7-9
Function
This command displays the synchronization status.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the synchronization status:
ZXAN#show sync-status
Related Commands
None
7.10 write
Syntax
write
Function
This command saves the configuration of the equipment.
Parameters
None
Mode
Privileged mode: ZXAN#
7-10
Usage Guidelines
None
Examples
The following example shows how to save the configuration of the equipment:
ZXAN#write
Backuping old configuration into flash...
Collecting configuration into memory...
Writing configuration into flash...[OK]
ZXAN#
Related Commands
None
7-11
7-12
8.1 arp-broadcast
Syntax
arp-broadcast {enable |disable }
Function
This command enables or disables ARP broadcast from a super VLAN to all its
sub-VLANs/physical interfaces.
Parameters
Mode
SuperVLAN interface mode
Usage Guidelines
This command prevents the broadcast storm from decreasing the system processing
efficiency, and provides a configurable ARP broadcast function for users. To check the
configuration, run the show running-config command on a super VLAN interface.
8-1
Examples
The following example shows how to enable ARP broadcast from super VLAN 1 to all its
sub-VLANs:
ZXAN(config)#interface supervlan1
ZXAN(config-supervlan1)#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
Mode
SuperVLAN interface mode
Usage Guidelines
To check the configuration, run the show running-config command on a super VLAN
interface.
Examples
The following example shows how to enable the routing between sub-VLANs on super
VLAN 1:
ZXAN(config)#interface supervlan1
ZXAN(config-supervlan1)#inter-subvlan-routing enable
8-2
Related Commands
None
Function
This command binds a serial of IP addresses to a VLAN/physical interface.
Parameters
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
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-vlan4)#ip supervlan pool 192.168.1.1 192.168.1.128
Related Commands
8.5 show supervlan ip-pool
8.4 ip-pool-filter
Syntax
ip-pool-filter {enable |disable }
8-3
Function
This command enables or disables the super VLAN IP pool filtering function.
Parameters
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. To check the
configuration, run the show running-config command on a 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-supervlan1)#ip-pool-filter enable
Related Commands
8.3 ip supervlan pool
Function
This command displays all IP pools bound to a VLAN.
8-4
Parameters
Parameter Description Value
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all IP pools bound to a super VLAN:
ZXAN#show supervlan ip-pool
The supervlan ip pool count is 0
SN Address Address Internal External Subvport SupervlanID
begin end vlanid vlanid
Session-no
Related Commands
8.3 ip supervlan pool
Function
This command enables or disables routing between sub-VLANs.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
8-5
Usage Guidelines
To check the configuration, run the show running-config command on a super VLAN
interface.
Examples
The following example shows how to enable routing between sub-VLANs:
Related Commands
20.58 show supervlan
8-6
9.1 alarm
Syntax
alarm {enable |disable }
Function
This command enables or disables the alarm function.
Parameters
Mode
Configuration mode: ZXAN(config)#
9-1
Usage Guidelines
By default, the alarm function is enabled.
When the alarm function is disabled, alarms are not reported, added to the alarm pool or
deleted from the alarm pool.
Examples
l The following example shows how to enable the alarm function:
ZXAN(config)#alarm enable
Related Commands
9.11 show alarm configure
Function
This command configures an alarm profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure an alarm profile ddd:
ZXAN(config)#alarm alarm-profile ddd
ZXAN(config-almprofile)#
9-2
Related Commands
9.15 show alarm profile
9.6 alarm-index
9.7 alarm-profile-apply
no alarm confirm
Function
This command enables alarm confirmation.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l By default, alarm confirmation is enabled.
l 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
9.5 alarm trap-confirm
9-3
Function
This command configures a source alarm code and a destination alarm code (a
suppressed alarm code). When a suppressed alarm source occurs, the alarm codes
suppressed by the filtering function are discarded.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) This function is valid for alarms instead of notifications.
(2) This function does not work until a suppressed alarm source occurs. When the
suppressed alarm source is cleared, this function is inactive.
(3) This function is location-based, that is, alarms are downward filtered based on the
location (such as shelf number, slot number, port number, ONU number, and UNI number)
of a source alarm. For example, if the shelf number of a source alarm is 1, the destination
alarms that occurred on shelf 1 are all filtered.
(4) The filtered alarms are discarded without being stored to alarm logs or alarm pools.
Examples
The following example shows how to filter destination alarm 40713 with source alarm
33065:
Related Commands
9.13 show alarm filter
9-4
Function
This command sets the maximum number of trap retransmissions and the retransmission
interval for alarm confirmation.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l By default, trap retransmission is not disabled.
l 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
9.3 alarm confirm
9.11 show alarm configure
9.6 alarm-index
Syntax
alarm-index number1 {code number2 |cause number3 affect name1 } {severity name2 |status na
me3 }
9-5
no alarm-index number4
Function
This command configures alarm suppression rules for an alarm profile.
Parameters
Mode
ALARM_PROFILE configuration mode
Usage Guidelines
(1) Suppression rules for an alarm profile:
alarm cause + affect + admin status
alarm code + admin status
admin status:
NALARM permanent suppression
NALARM-QI inversion, an alarm does not be suppressed any longer after it is cleared.
(2) NALARM-QICD and NALARM-TI are not supported
9-6
(3) A rule can be added to suppress an alarm with a specific code (65535) or all alarms
with any codes.
(4) Multiple rules can be added in an alarm profile. An alarm code cannot be involved in
different rules.
(5) If a rule involves all alarm codes, other rules involving specific alarm codes are invalid.
Examples
The following example shows how to enter ALARM_PROFILE mode:
1) The following example shows how to add a permanent suppression rule for all alarms:
2) The following example shows how to add a permanent suppression rule for alarm 33065:
Related Commands
9.15 show alarm profile
9.7 alarm-profile-apply
9.7 alarm-profile-apply
Syntax
alarm-profile-apply {system |shelf number1 [slot number2 ] |port interface1 |onu interface2 }
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.
9-7
Parameters
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 1 slot 3
l The following example shows how to apply the alarm profile to all alarms with alarm
code 33065 in the entire system:
ZXAN(config-almprofile)#alarm-index 1 code 33065 status NALARM
ZXAN(config-almprofile)#alarm-profile-apply system
Related Commands
9.15 show alarm profile
9.2 alarm alarm-profile
9-8
9.6 alarm-index
Function
This command clears alarms in the alarm pool.
Parameters
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
9.14 show alarm pool
9-9
9.9 nms-hello-trap
Syntax
nms-hello-trap {enable |disable }
Function
This command enables or disables the function to send heartbeat traps to the NMS.
Parameters
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
9.10 nms-hello-trap interval
no nms-hello-trap interval
Function
This command sets an interval to send heartbeat traps to the NMS.
9-10
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The NMS trap function should be enabled before the NMS trap interval is set.
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
9.9 nms-hello-trap
Function
This command displays the alarm management configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
9-11
Examples
The following example shows how to display the configuration of alarm management
functions:
ZXAN#show alarm configure
alarm enable
nms-hello-trap disable
nms-hello-trap interval 120
ZXAN#
Related Commands
None
Function
This command displays alarm statistics, such as the number of the alarms reported from
a service, the number of the alarms successfully added to the alarm pool.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
The alarm counter can be emptied. When a new alarm occurs, it is added to a
corresponding statistical item.
Examples
The following example shows how to display alarm statistics:
ZXAN#show alarm counter
alarmReport: 42 alarmConfirm: 0
alarmNullPointer: 0 alarmInvalidMsgType: 0
alarmInvalidReportType: 0 alarmInvalidLevel: 0
alarmInvaideMibOid: 0 alarmInvalidAlarmId: 0
9-12
alarmInvalidRecNum: 0 alarmLogFuncNull: 0
alarmIdNotExist: 0 alarmRecordExist: 0
alarmPoolFull: 0 alarmPoolOverflow: 0
alarmInformPoolFull: 0 alarmInformPoolOverflow: 0
alarmPoolInsOk: 24 alarmGetRegIndexFail : 0
alarmSendToRosSuc: 42 alarmSendTrapSuc: 24
alarmSendToRosFail: 0 alarmSendTrapFail: 0
alarmGetAlarmRegSuc: 51 alarmGetStrFuncSuc: 0
alarmGetAlarmRegFail: 0 alarmGetStrFuncFail: 0
alarmAddToPoolSuc: 24 alarmInformSendTrapSuc: 3
alarmAddToPoolFail: 0 alarmInformSendTrapFail: 0
alarmGetLogFuncSuc: 54 alarmGetByAlarmIdOk: 0
alarmGetLogFuncFail: 0 alarmGetByAlarmIdFail: 0
alarmRestoreDelSuc: 0 alarmBadTypeFromRos: 0
alarmRestoreDelFail: 0 alarmRecvFromRos: 24
alarmInformRecvFromRos: 3 alarmRestoreRecvFromRos: 0
alarmRecordUpdate: 0 alarmGetRegInfoFail: 0
alarmCreateReqFail: 0 alarmBindValueFail: 0
alarmEncodeReqFail: 0 alarmAllocMemFail: 0
alarmUnsupportBindType: 0 alarmUnsupportMibVar: 0
alarmRecvDup: 0 alarmInformNotSendTrap: 0
ZXAN#
Related Commands
clear alarm counter
Function
This command displays filtered alarm items.
Parameters
None
Mode
All modes except user mode
9-13
Usage Guidelines
"alarm filter source-code 11 dest-code 12" is a default filtered item. The items listed under
it are valid filtering rules.
Examples
The following example shows how to display filtered alarm items:
Related Commands
9.4 alarm filter
Function
This command displays information about the alarms in the current alarm pool.
Parameters
Mode
All modes except user mode
Usage Guidelines
This command is used to query information about current alarms or all alarms in the system
in terms of alarm IDs.
9-14
Examples
(1) The following example shows how to display information about all the alarms in the
current alarm pool:
ZXAN#show alarm pool
Alarm records:
Alarm ID : 3
Alarm Code : 33065
Alarm Level : critical
Alarm Time : 01.01.2001-00:00:16-UTC
AlarmDesInfo: Sysctl alarm : board out of use in shelf 1 slot 0
Alarm ID : 4
Alarm Code : 33065
Alarm Level : critical
Alarm Time : 01.01.2001-00:00:16-UTC
AlarmDesInfo: Sysctl alarm : board out of use in shelf 1 slot 1
Alarm ID : 5
Alarm Code : 33065
Alarm Level : critical
Alarm Time : 01.01.2001-00:00:16-UTC
AlarmDesInfo: Sysctl alarm : board out of use in shelf 1 slot 2
Alarm ID : 6
Alarm Code : 33065
Alarm Level : critical
Alarm Time : 01.01.2001-00:00:16-UTC
AlarmDesInfo: Sysctl alarm : board out of use in shelf 1 slot 3
ZXAN#
(2) The following example shows how to display the total number of alarms in the alarm
pool:
ZXAN#show alarm pool summary
Current all msan alarm numbers : 4
(3) The following example shows how to display information about the alarm with the alarm
ID 6:
ZXAN#show alarm pool alarm-id 6
Alarm ID : 6
Alarm Code : 33065
Alarm Level : critical
Alarm Time : 01.01.2001-00:00:16-UTC
9-15
Related Commands
9.8 clear alarm pool
Function
This command displays a list of all available alarm profiles or the configuration of a specific
alarm profile.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
(1) 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
(2) The following example shows how to display the configuration of a specific alarm profile:
ZXAN(config-almprofile)#show alarm profile test
admin enable
All the alarm profile item(s):
alarm-index 1 code 65535 status NALARM
All the alarm profile apply item(s):
alarm-profile-apply system
9-16
ZXAN(config-almprofile)#
Related Commands
9.2 alarm alarm-profile
9.6 alarm-index
9.7 alarm-profile-apply
9-17
9-18
10-1
10-2
no debug all
Function
This command enables all the debug functions.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
By default, all the 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 form of this command.
10-3
Examples
The following example enables all the debug functions:
ZXAN#debug all
All possible debugging has been turned on
Related Commands
All the debug commands
10.98 terminal monitor
Function
This command enables the debug function of the Address Resolution Protocol (ARP).
Parameters
ip_addr1 IP address. -
trace Trace. -
ip_addr2 IP address. -
10-4
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function of ARP, use the no form of this command.
Examples
The following example shows how to enable all debug functions of ARP:
ZXAN#debug arp all
ARP debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables all the debug functions for the DHCP-Option82.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable all the debug functions for the DHCP-Option82, use the no form of this
command.
Examples
The following example shows how to enable all the debug functions for the
DHCP-Option82:
10-5
Related Commands
10.4 debug dhcpv4-l2-relay-agent data
10.5 debug dhcpv4-l2-relay-agent error
10.6 debug dhcpv4-l2-relay-agent event
Function
This command enables the debug function for the DHCP-Option82 data.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the DHCP-Option82 data, use the no form of this
command.
Examples
The following example shows how to enable the debug function for the DHCP-Option82
data:
debug dhcpv4-l2-relay-agent data gpon-onu_1/4/1:1
Related Commands
10.3 debug dhcpv4-l2-relay-agent all
10.5 debug dhcpv4-l2-relay-agent error
10-6
Function
This command enables the debug function for the DHCP-Option82 error packets received.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the DHCP-Option82 error packets received, use the no
form of this command.
Examples
The following example shows how to enable the debug function for the DHCP-Option82
error packets received:
debug dhcpv4-l2-relay-agent error gpon-onu_1/4/1:1
Related Commands
10.3 debug dhcpv4-l2-relay-agent all
10.4 debug dhcpv4-l2-relay-agent data
10-7
Function
This command enables the debug functions to trigger DHCP-Option82 status change.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug functions to trigger DHCP-Option82 status change, use the no form
of this command.
Examples
The following example shows how to enable all the debug functions to trigger
DHCP-Option82 status change:
debug dhcpv4-l2-relay-agent event gpon-onu_1/4/1:1
Related Commands
10.3 debug dhcpv4-l2-relay-agent all
10.4 debug dhcpv4-l2-relay-agent data
10.5 debug dhcpv4-l2-relay-agent error
10-8
Function
This command enables all the debug functions for the DHCP-Option18.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable all the debug functions for the DHCP-Option18, use the no form of this
command.
Examples
The following example shows how to enable all the debug functions for the
DHCP-Option18:
ZXAN#debug dhcpv6-l2-relay-agent all
Related Commands
10.8 debug dhcpv6-l2-relay-agent data
no debug dhcpv6-l2-relay-agent data interface1 [{vport number1 |pvc number2 |sport number3
}]
Function
This command enables the debug functions for the DHCP-Option18 data.
10-9
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug functions for the DHCP-Option18 data, use the no form of this
command.
Examples
The following example shows how to enable the debug functions for the DHCP-Option18
data:
Related Commands
10.7 debug dhcpv6-l2-relay-agent all
no debug dhcpv6-l2-relay-agent error interface1 [{vport number1 |pvc number2 |sport number3
}]
Function
This command enables the debug function for the DHCP-Option18 error packets received.
10-10
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the DHCP-Option18 error packets received, use the no
form of this command.
Examples
The following example shows how to enable the debug function for the DHCP-Option18
error packets received:
Related Commands
10.7 debug dhcpv6-l2-relay-agent all
no debug dhcpv6-l2-relay-agent event interface1 [{vport number1 |pvc number2 |sport number3
}]
Function
This command enables the debug functions to trigger DHCP-Option18 status change.
10-11
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug functions to trigger DHCP-Option18 status change, use the no form
of this command.
Examples
The following example shows how to enable the debug functions to trigger DHCP-Option18
status change:
Related Commands
10.7 debug dhcpv6-l2-relay-agent all
10.11 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
10-12
Mode
Privileged mode: ZXAN#, invisible configuration mode
Usage Guidelines
To disable the debug function of the IP protocol, use the no form of this 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
10.98 terminal monitor
Function
This command enables the IP protocol debug function for the specified destination
address, displays debug information about IP protocol processing and shows whether the
device is sending or receiving IP packets with the specified destination address.
Parameters
ip_addr1 IP address -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no for of this command.
Examples
The following example shows how to enable the IP protocol debug function for the
destination address 192.168.36.3:
10-13
Related Commands
10.98 terminal monitor
Function
This command enables the DHCP relay and DHCP server debug functions.
Parameters
ip_addr1 IP address -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the DHCP relay and DHCP server debug
functions:
10-14
ZXAN#debug ip dhcp
DHCP debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function of the ICMP protocol, 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 form of this 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
10.98 terminal monitor
10-15
Function
This command enables the debug function of the Internet Control Message Protocol
(ICMP), 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#
Usage Guidelines
To disable the detailed debug function of the ICMP protocol, use the no form of this
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
10.98 terminal monitor
Function
This command enables the debug function for the IP protocols that the specified interface
sends and receives, and displays the debug information about IP protocol processing.
10-16
Parameters
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 form of this command.
Examples
The following example shows how to enable the debug function for the IP protocols that
are sent or received on the interface loopback1:
Related Commands
terminal monitor
Function
This command enables the function to send back the debug information about OSPF
adjacent events.
Parameters
None
Mode
Privileged mode: ZXAN#
10-17
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 form of this 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
10.98 terminal monitor
Function
This command enables all the debug functions for Open Shortest Path First (OSPF)
information.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this 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
10-18
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for OSPF constraint-based shortest path
calculation.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is mainly used for the debug related to traffic engineering path calculation.
To disable the debug function for OSPF constraint-based shortest path calculation, use
the no form of this command.
Examples
The following example shows how to enable the debug function for OSPF constraint-based
shortest path calculation:
Related Commands
10.98 terminal monitor
10-19
Function
This command enables the function to send back the debug information about timer events
of the OSPF link status database.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this 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
10.98 terminal monitor
Function
This command enables the function to send back the debug information about OSPF major
events.
10-20
Parameters
None
Mode
Privileged mode: ZXAN#
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.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF major events:
Related Commands
10.98 terminal monitor
Function
This command enables the function to send back the debug information about OSPF
flooding events.
Parameters
None
Mode
Privileged mode: ZXAN#
10-21
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 form of this command.
Examples
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
10.98 terminal monitor
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 form of this command.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF LSA generation events:
10-22
Related Commands
10.98 terminal monitor
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.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF GR events:
Related Commands
10.98 terminal monitor
10-23
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.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this 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
10.98 terminal monitor
Function
This command enables the function to send back the debug information about OSPF
retransmission queue events.
10-24
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
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
10.98 terminal monitor
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.
10-25
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
Related Commands
10.28 debug ip ospf spf external
10.29 debug ip ospf spf inter
10.30 debug ip ospf spf intra
10.98 terminal monitor
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 form of this command.
Examples
The following example shows how to enable the function to send back the debug
information about external routes of an AS in the OSPF route calculation events:
10-26
Related Commands
10.27 debug ip ospf spf
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.
Examples
The following example shows how to enable the function to send back the debug
information about internal routes of an area in the OSPF route calculation events:
Related Commands
10.27 debug ip ospf spf
10-27
Function
This command enables the function to send back the debug information about intra-area
routes in the OSPF route calculation events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays major events that occur during OSPF intra-area route calculation.
Examples
The following example shows how to enable the function to send back the debug
information about intra-area routes in the OSPF route calculation events:
ZXAN#debug ip ospf spf intra
OSPF spf intra events debugging is on
Related Commands
10.27 debug ip ospf spf
10-28
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
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this 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
10.98 terminal monitor
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 form of this command.
10-29
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
10.98 terminal monitor
Function
This command traces the changes in 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 the changes in
the RIP routing table:
Related Commands
10.98 terminal monitor
10-30
Function
This command traces the events that are related to RIP, such as the interface status.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop event tracing, use the no form of this command.
Examples
The following example shows how to enable the debug function to trace the events that
are related to RIP:
ZXAN#debug ip rip events
RIP event debugging is on
Related Commands
10.98 terminal monitor
Function
This command traces RIP trigger events, such as timer timeout.
Parameters
None
10-31
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop event tracing, use the no form of this command.
Examples
The following example shows how to enable the debug function for tracing RIP trigger
events:
Related Commands
10.98 terminal monitor
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
ip_addr1 IP address -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the IP protocol debug function for the specified source address, use the no form
of this command.
10-32
Examples
The following example shows how to enable the IP protocol debug function for the source
address 192.168.6.6:
Related Commands
10.98 terminal monitor
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 form of this command.
Examples
The following example shows how to enable all the functions for TCP:
Related Commands
10.98 terminal monitor
10-33
Function
This command enables the debug function to display the information related to TCP
connections.
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:
Related Commands
10.98 terminal monitor
10-34
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 is 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 (25 by default).
After a user logs in to ZXAN, additional information about TCP events of BGP and FTP
(excluding telnet) is displayed.
After the debug function is disabled with the no form of this command, 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
10.98 terminal monitor
10-35
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.
After the debug function is disabled with the no form of this command, 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
10.98 terminal monitor
10-36
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.
After the debug function is disabled with the no form of this command, 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
10.98 terminal monitor
Function
This command enables the debug function for information such as the source and
destination of the sending and receiving UDP packets.
10-37
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.
Examples
The following example shows how to enable debug function for UDP packet information
(such as TCP state transition):
ZXAN#debug ip udp
UDP packet debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back AC events.
Parameters
None
Mode
Privileged mode: ZXAN#
10-38
Usage Guidelines
This command is used to display the binding events between the AC and L2VPN.
Examples
The following example shows how to enable the debug function to send back AC events:
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back L2VPN instance events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display such events as the creation and deletion of L2VPN
instances.
Examples
The following example shows how to enable the debug function to send back L2VPN
instance events:
10-39
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back the binding events between the
PW and L2VPN.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the binding and unbinding between PW and L2VPN
instances.
Examples
The following example shows how to enable the debug function to send back the binding
events between the PW and L2VPN:
Related Commands
10.98 terminal monitor
10-40
Function
This command enables the debug function to send back the binding events between the
L2VPN and LDP.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the binding events between the L2VPN instances and
LDP peer ends through a PW.
Examples
The following example shows how to enable the debug function to send back the binding
events between the L2VPN and LDP:
ZXAN#debug l2vpn pw-bind-to-ldp event
L2VPN PW bind to LDP event debugging is on
Jan 1 05:40:03: tick:2044279 PWID 2 bind INST 1 to LDP peer 2.2.2.1
Related Commands
10.98 terminal monitor
Function
This command enables all the debug functions for Link Aggregation Control Protocol
(LACP) information.
10-41
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable all LACP debug functions, use the no form of this command.
Examples
The following example shows how to enable all the debug functions for LACP:
ZXAN#debug lacp all
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for the LACP state machine.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
If no parameter is specified, this command is applied to the debug function for all the LACP
state machines.
10-42
To disable the debug function for the LACP state machine, use the no form of this
command.
Examples
The following example shows how to enable the debug function for the LACP state
machine:
ZXAN#debug lacp fsm
Related Commands
10.98 terminal monitor
Function
This command enables all the LACP debug functions.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
If no parameter is specified, this command is applied to of all the member interfaces of a
link aggregation group.
To disable all the LACP debug functions, use the no form of this command.
Examples
The following example shows how to enable the debug function for LACP packet receiving
and sending:
ZXAN#debug lacp packet
10-43
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back MPLS packets.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
With this function enabled, the received and sent packets with an MPLS tag can be
displayed.
Examples
The following example shows how to enable the debug function to send back MPLS
packets:
ZXAN#debug mpls label
MPLS label debugging is on
ZXAN#terminal monitor
ZXAN#
Jan 1 03:59:12: MPLS: vlan20 rx Len 62 Stack { 0 0 63 }
45 C0 00 3A 1F 6E 40 00 40 06 14 8C 02 02 02 01 01 01 01 01
81 FE 02 86 B4 71 8A AC 0E 16 BF 67 50 18 19 20 85 61 00 00
00 01 00 0E 02 02 02 01 00 00 02 01 00 04 00 00 73 FD
10-44
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back MPLS packets (including IP
protocols).
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
With this function enabled, the received and sent IP packets with an MPLS label can be
displayed.
Examples
The following example shows how to enable the debug function to send back MPLS
packets (including IP protocols):
10-45
Related Commands
10.98 terminal monitor
10.50 debug mpls label
Function
This command enables the debug function to send back LDP tags and address
advertisements.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display information about the addresses and tags advertised to
every neighbor.
Examples
The following example shows how to enable the debug function to send back LDP tags
and address advertisements:
ZXAN#debug mpls ldp advertisements
LDP label and address advertisements debugging is on
ZXAN#terminal monitor
ZXAN#
Jan 1 04:12:25: tagcon: peer 2.2.2.1:0 : advertise 1.1.1.1
Jan 1 04:12:25: tagcon: peer 2.2.2.1:0 : advertise 20.20.20.1
Jan 1 04:12:25: tagcon: peer 2.2.2.1:0 : advertise 1.1.1.1/32,label 0
Jan 1 04:12:25: tagcon: peer 2.2.2.1:0 : advertise 1.1.1.2/32,label 19
Jan 1 04:12:25: tagcon: peer 2.2.2.1:0 : advertise 2.2.2.1/32,label 18
Related Commands
10.98 terminal monitor
10-46
Function
This command enables the debug function to send back information about LDP operation.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display all the events that occurred during LDP operation.
Examples
The following example shows how to enable the debug function to send back information
about LDP operation:
ZXAN#debug mpls ldp all
All LDP debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back LDP tag binding.
Parameters
None
10-47
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the tag binding process.
Examples
The following example shows how to enable the debug function to send back LDP tag
binding:
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for batch synchronization to send back LDP
tags.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display batch synchronization of LDP tags.
10-48
Examples
The following example shows how to enable the debug function for batch synchronization
to send back LDP tags:
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for real-time synchronization to send back LDP
tags.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display real-time synchronization of LDP tags.
Examples
The following example shows how to enable the debug function for real-time
synchronization to send back LDP tags:
Related Commands
10.98 terminal monitor
10-49
Function
This command enables the debug function to send back L2VPN tag mapping messages.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the interaction of L2VPN tag mapping messages.
Examples
The following example shows how to enable the debug function to send back L2VPN tag
mapping messages:
ZXAN#debug mpls ldp l2vpn event
LDP L2VPN event debugging is on
Jan 1 04:35:50: l2vpn: Received label mapping msg
vc type 4, cbit 0, vc id 10, group id 1, vc label 16, mtu 1500, vccv 0
Jan 1 04:35:50: l2vpn: Sending label mapping msg
vc type 4, cbit 0, vc id 10, group id 0, vc label 17, mtu 1518, vccv 0
Related Commands
10.98 terminal monitor
10-50
Function
This command enables the debug function to send back information about the L2VPN
state machine.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the operating status and changes of the L2VPN state
machine.
Examples
The following example shows how to enable the debug function to send back information
about the L2VPN state machine:
ZXAN#debug mpls ldp l2vpn fsm
LDP L2VPN fsm debugging is on
Jan 1 04:40:48: L2VPN VPLS: L2VPN_Negotiate is OK!
Jan 1 04:40:48: L2VPN (128): VC creat! VCID: 10
Jan 1 04:40:50:
Pwe3 rcv ldp aii msg:nexthop 16843010
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back the messages received through
LDP.
Parameters
None
10-51
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the messages received through LDP, for example, the
keepalive message.
Examples
The following example shows how to enable the debug function to send back the messages
received through LDP:
ZXAN#debug mpls ldp messages received
LDP received messages debugging is on
Jan 1 04:47:18: ldp: Rcvd keepalive msg from 2.2.2.1:0
Jan 1 04:47:29: ldp: Rcvd keepalive msg from 2.2.2.1:0
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back the messages sent through LDP.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the messages sent through LDP, for example, the
keepalive message.
Examples
The following example shows how to enable the debug function to send back the messages
sent through LDP:
10-52
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back LDP session messages.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display LDP session messages.
Examples
The following example shows how to enable the debug function to send back LDP session
messages:
ZXAN#debug mpls ldp session io
LDP session I/O debugging is on
Jan 1 04:52:58: ldp: Sent keepalive msg to 2.2.2.1:0
Jan 1 04:52:58: baseMsg : uBit = 0; msgType = 0x201; msgLength = 4; msgId = 0x4d
Jan 1 04:52:59: ldp: Rcvd keepalive msg from 2.2.2.1:0
Jan 1 04:52:59: baseMsg : uBit = 0; msgType = 0x201; msgLength = 4; msgId = 0x79dd
Related Commands
10.98 terminal monitor
10-53
Function
This command enables the debug function to send back information about the LDP session
state machine.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the changes in the LDP session state machine and the
events resulting in the changes.
Examples
The following example shows how to enable the debug function to send back information
about the LDP session state machine:
ZXAN#debug mpls ldp session state-machine
LDP session state machine (low level) debugging is on
Jan 1 04:57:07: ldp: ptcl_adj:1.1.1.2:0: state 1, event: 0xe
Jan 1 04:57:13: ldp: ptcl_adj:2.2.2.1:0: state 1, event: 0xe
Jan 1 04:57:13: ldp: ptcl_adj:1.1.1.2:0: state 2, event: 0x200
Jan 1 04:57:13: ldp: ptcl_adj:1.1.1.2:0: state from 2 to 3, event: 0x200
Jan 1 04:57:13: ldp: ptcl_adj:1.1.1.2:0: state 3, event: 0x201
Jan 1 04:57:13: ldp: ptcl_adj:1.1.1.2:0: state from 3 to 5, event: 0x201
Related Commands
10.98 terminal monitor
10-54
Function
This command enables the debug function to send back information about the LDP
transport layer.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the interaction between the LDP transport layer and
neighbors.
Examples
The following example shows how to enable the debug function to send back information
about the LDP transport layer:
ZXAN#debug mpls ldp transport connections
LDP transport connection debugging is on
Jan 1 05:05:06: ldp: Opening listen port 646 for 2.2.2.1,2.2.2.1
Jan 1 05:05:09: ldp: ldp conn is up; 1.1.1.1:646<-->2.2.2.1:33299
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back LDP messages.
Parameters
None
Mode
Privileged mode: ZXAN#
10-55
Usage Guidelines
This command is used to display the process of LDP neighbor discovery and adjacency
relation establishment.
Examples
The following example shows how to enable the debug function to send back LDP
messages:
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back LSP PING errors.
Parameters
10-56
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display LSP PING errors.
Examples
The following example shows how to enable the debug function to send back LSP PING
errors:
ZXAN#debug mpls lspv error
LSP PING error debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back LSP PING events.
Parameters
10-57
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display LSP PING events.
Examples
The following example shows how to enable the debug function to send back LSP PING
events:
ZXAN#debug mpls lspv event
LSP PING event debugging is on
ZXAN#ping mpls ipv4 2.2.2.1 32
sending 5,100-byte MPLS echos to 2.2.2.1,timeout is 2 seconds.
Jan 1 05:46:50:
LSPV: Sender_handle:19947540, Event Echo Request Start
Related Commands
10.98 terminal monitor
Function
This command enables the debug function to send back LSP PING packets.
Parameters
10-58
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the detailed information about LSP PING packets.
Examples
The following example shows how to enable the debug function to send back LSP PING
packets:
ZXAN#debug mpls lspv packet
LSP PING packet debugging is on
ZXAN#ping mpls ipv4 2.2.2.1 32
sending 5,100-byte MPLS echos to 2.2.2.1,timeout is 2 seconds.
Jan 1 05:51:54:
LSPV: Echo Request Send
00 01 00 00 01 02 00 00 01 34 D2 5C 00 00 00 01
00 00 52 7A 01 42 2D 3A 00 00 00 00 00 00 00 00
00 01 00 0C 00 01 00 05 02 02 02 01 20 00 00 00
Related Commands
10.98 terminal monitor
10-59
Function
This command enables the debug function for the TLV to send back LSP PING packets.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to display the detailed information about LSP PING packets.
Examples
The following example shows how to enable the debug function for the TLV to send back
LSP PING packets:
Jan 1 05:58:13:
LSPV SEND: version:1,msg type:1,reply mode:2,return code:0,
return subcode:0,sender handle:20603740:,sequence number:1
LSPV :ipv4 prefix:2.2.2.1,ipv4 prefix length:32
.
Related Commands
10.98 terminal monitor
10-60
Function
This command enables the debug function for fast switchover negotiation of the Multiple
Spanning Tree Protocol (MSTP).
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for MSTP fast switchover
negotiation:
ZXAN#debug mstp agreement
Spanning-tree role transition agreement event debugging is on
Related Commands
10.98 terminal monitor
10-61
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 form of this command.
Examples
The following example shows how to enable all the debug functions for MSTP:
ZXAN#debug mstp all
Spanning-tree all debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for the received MSTP packets.
Parameters
Mode
Privileged mode: ZXAN#
10-62
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for the received MSTP
packets:
ZXAN#debug mstp bpdu-rx
Spanning-tree received BPDUs debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for the sent MSTP packets.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for the sent MSTP packets:
ZXAN#debug mstp bpdu-tx
Spanning-tree transmitted BPDUs debugging is on
Related Commands
10.98 terminal monitor
10-63
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 form of this command.
Examples
The following example shows how to enable the debug function for MSTP errors:
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for MAC address deletion in MSTP.
10-64
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for MAC address deletion
in MSTP:
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for MSTP state machine information.
Parameters
Mode
Privileged mode: ZXAN#
10-65
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for MSTP state machine
information:
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for the state machine information for MSTP
migration.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for the state machine
information for MSTP migration:
10-66
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for negotiation request information of MSTP
fast switchover.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for negotiation request
information of MSTP fast switchover:
ZXAN#debug mstp proposals
Spanning-tree role transition proposals event debugging is on
Related Commands
10.98 terminal monitor
10-67
Function
This command enables the debug function for state machine information of MSTP instance
calculation.
Parameters
Parameter Description Value
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for state machine
information of MSTP instance calculation:
ZXAN#debug mstp roles
Spanning-tree port roles select state machine debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for the port status synchronization information
about MSTP ports.
Parameters
Parameter Description Value
Mode
Privileged mode: ZXAN#
10-68
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for the port status
synchronization information about MSTP ports:
ZXAN#debug mstp state
Spanning-tree port state transition state machine debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for state machine information of MSTP topology
changes.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for state machine
information of MSTP topology changes:
ZXAN#debug mstp tc
Spanning-tree topology change state machine debugging is on
10-69
Related Commands
10.98 terminal monitor
Function
This command enables the debug function for information about the MSTP timer.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable this debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for information about the
MSTP topology state machine:
ZXAN#debug mstp timers
Spanning-tree timers event debugging is on
Related Commands
10.98 terminal monitor
Function
This command enables all the debug functions for NDP-LIO.
10-70
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable all the debug functions for NDP-LIO:
Related Commands
no debug ndp-lio data interface1 [{vport number1 |pvc number2 |sport number3 } ]
Function
This command enables the debug function for the NDP-LIO error packets received.
Parameters
interface1 - -
Mode
Privileged mode: ZXAN#
10-71
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for the NDP-LIO error
packets received:
ZXAN#debug ndp-lio data gpon-onu_1/4/1:1
Related Commands
Function
This command enables the debug function for NDP-LIO errors.
Parameters
interface1 - -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for NDP-LIO errors:
10-72
Related Commands
Function
This command enables the debug function for NDP-LIO status change errors.
Parameters
interface1 - -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no form of this command.
Examples
The following example shows how to enable the debug function for NDP-LIO status change
errors:
debug ndp-lio event gpon-onu_1/4/1:1
Related Commands
10-73
Function
This command enables all the debug functions for port identification configuration.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable all the debug functions for port identification configuration, use the no form of
this command.
Examples
The following example shows how to enable all the debug functions for port identification
configuration:
ZXAN#debug port-identification all
Related Commands
10.87 debug port-identification data
no debug port-identification data interface1 [{vport number1 |pvc number2 |sport number3 } ]
10-74
Function
This command enables the debug function for the port identification data.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the port identification data, use the no form of this
command.
Examples
The following example shows how to enable the debug function for the NDP-LIO error
packets received:
Related Commands
10.86 debug port-identification all
no debug port-identification error interface1 [{vport number1 |pvc number2 |sport number3 } ]
Function
This command enables the debug function for the port identification error packets received.
10-75
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the port identification error packets received, use the no
form of this command.
Examples
The following example shows how to enable the debug function for the port identification
error packets received:
ZXAN#debug port-identification error gpon-onu_1/4/1:1
Related Commands
10.86 debug port-identification all
10.87 debug port-identification data
10.89 debug port-identification event
Function
This command enables the debug function to trigger port identification status changes.
Parameters
10-76
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function to trigger port identification status changes, use the no form
of this command.
Examples
The following example shows how to enable the debug function to trigger port identification
status changes:
Related Commands
10.86 debug port-identification all
Function
This command enables all the debug functions for port identification profiles.
Parameters
None
Mode
Privileged mode: ZXAN#
10-77
Usage Guidelines
To disable all the debug functions for port identification profiles, use the no form of this
command.
Examples
The following example shows how to enable the debug functions for all the port
identification profiles:
Related Commands
10.93 debug portloc-profile event
no debug portloc-profile data interface1 [{vport number1 |pvc number2 |sport number3 } ]
Function
This command enables the debug function for the port location profile error packets
received.
Parameters
interface1 - -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the port location profile error packets received, use the
no form of this command.
10-78
Examples
The following example shows how to enable the debug function for the port location profile
error packets received:
ZXAN#debug portloc-profile data gpon-onu_1/4/1:1
Related Commands
10.90 debug portloc-profile all
10.93 debug portloc-profile event
10.92 debug portloc-profile error
Function
This command enables the debug function for port location profile errors.
Parameters
interface1 - -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for port location profile errors, use the no form of this
command.
Examples
The following example shows how to enable the debug function for port location profile
errors:
debug portloc-profile error gpon-onu_1/4/1:1
10-79
Related Commands
10.90 debug portloc-profile all
10.93 debug portloc-profile event
10.91 debug portloc-profile data
Function
This command enables the debug function for status change errors of port location profiles.
Parameters
interface1 - -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for status change errors of port location profiles, use the no
form of this command.
Examples
The following example shows how to enable the debug function for status change errors
of port location profiles:
debug portloc-profile event gpon-onu_1/4/1:1
Related Commands
10.90 debug portloc-profile all
10.92 debug portloc-profile error
10.91 debug portloc-profile data
10-80
Function
This command enables all the debug functions for the PPPoE-Plus.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable all the debug functions for the PPPoE-Plus, use the no form of this command.
Examples
The following example shows how to enable all the debug functions for the PPPoE-Plus:
Related Commands
10.97 debug pppoe-intermediate-agent event
no debug pppoe-intermediate-agent data interface1 [{vport number1 |pvc number2 |sport num
ber3 } ]
Function
This command enables the debug function for the PPPoE-Plus data.
10-81
Parameters
interface1 - -
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the PPPoE-Plus data, use the no form of this command.
Examples
The following example shows how to enable the debug function for the PPPoE-Plus data:
debug pppoe-intermediate-agent data gpon-onu_1/4/1:1
Related Commands
10.94 debug pppoe-intermediate-agent all
10.97 debug pppoe-intermediate-agent event
10.96 debug pppoe-intermediate-agent error
Function
This command enables the debug function for the PPPoE-Plus error packets received.
Parameters
interface1 - -
10-82
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the PPPoE-Plus error packets received, use the no form
of this command.
Examples
The following example shows how to enable the debug function for the PPPoE-Plus error
packets received:
debug pppoe-intermediate-agent error gpon-onu_1/4/1:1
Related Commands
10.94 debug pppoe-intermediate-agent all
10.97 debug pppoe-intermediate-agent event
10.95 debug pppoe-intermediate-agent data
Function
This command enables the debug function to trigger port identification status changes.
Parameters
Parameter Description Value
interface1 - -
10-83
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function to trigger port identification status changes, use the no form
of this command.
Examples
The following example shows how to enable the debug function for PPPoE-Plus events:
debug pppoe-intermediate-agent event gpon-onu_1/4/1:1
Related Commands
10.94 debug pppoe-intermediate-agent all
10.96 debug pppoe-intermediate-agent error
10.95 debug pppoe-intermediate-agent data
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 form of this command.
Examples
The following example shows how to output debug information to the current terminal:
ZXAN#terminal monitor
10-84
Related Commands
All the debug commands
10-85
10-86
no 1588-bind
Function
This command configures a VLAN to 1588 VLAN.
Parameters
None
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
To reset the configured VLAN to the common VLAN, use the no form of this command.
Examples
The following example shows how to configure VLAN 10 to 1588 VLAN:
ZXAN(config)#vlan 10
ZXAN(config-vlan10)#1588-bind
11-1
Related Commands
11.4.1 show 1588-vlan
11.1.2 default-vlan
Syntax
default-vlan name1
Function
This command enables or disables the global default-VLAN attribute.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, VLAN 1 is invalid even though it has been configured for a port.
Examples
The following example shows how to enable the global default-VLAN attribute:
ZXAN(config)#default-vlan enable
ZXAN(config)#
Related Commands
None
11.1.3 description
Syntax
description name1
no description
11-2
Function
This command provides a description for a VLAN.
Parameters
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
To delete the description, use the no form of this command.
Examples
The following example shows how to configure the description of VLAN 2 and VLAN 3 to
"dialing-network":
ZXAN(config)#vlan 2
ZXAN(config-vlan2)#description dialing-network
ZXAN(config-vlan2)#exit
ZXAN(config)#vlan 3
ZXAN(config-vlan3)#description dialing-network
Related Commands
None
11.1.4 ex-switch
Syntax
ex-switch vlan range1
no ex-switch vlan range1
Function
This command configures a VLAN to learn MAC addresses on the FPGA.
Parameters
11-3
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is used to configure VLAN-based MAC storage locations.
To delete this configuration and configure a VLAN to learn MAC addresses on the switching
chip, use the no form of this command.
Examples
The following example shows how to configure VLAN 200 to learn MAC addresses on the
FPGA:
Related Commands
11.4.2 show ex-switch vlan
11.1.5 multicast-packet
Syntax
multicast-packet name1
Function
This command configures the VLAN-based multicast packet flood type.
Parameters
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
By default, the VLAN-based multicast packet flood type is flood-unknown.
11-4
Examples
The following example shows how to set the multicast packet flood type for VLAN 2 to
drop-unknown:
ZXAN(config)#vlan 2
ZXAN(config-vlan2)#multicast-packet drop-unknown
Related Commands
11.4.8 show vlan
11.1.6 mvlan-translate
Syntax
mvlan-translate number1 to {number2 |untagged }
no mvlan-translate number1 to {number2 |untagged }
Function
This command configures PON-based MVLAN translation rules.
Parameters
untagged untagged -
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A multicast VLAN must be set before the translation items are configured.
This command supports the VLAN translation of downlink multicast data packets and
protocol packet.
This command does not support 1:N translation, but 1:1 translation instead.
Up to 16 translation items can be configured manually.
To cancel the configured translation rules, use the no form of this command.
Examples
The following example shows how to configure the rules for translation from MVLAN 100
to CVLAN 150:
11-5
Related Commands
11.4.4 show mvlan-translate
11.1.7 name
Syntax
name WORD1
no name
Function
This command configures a VLAN name.
Parameters
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
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
11.4.8 show vlan
11-6
11.1.8 tpid
Syntax
tpid outer name1 inner name2
Function
This command configures the global ingress TPID list.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If an egress TPID of a port is configured, it should be also added in the global ingress TPID
list.
Examples
The following example shows how to set the global outer TPID to 0x8100,0x9100 and inner
TPID to 0x8100:
Related Commands
11.2.14 switchport tpid
Function
This command configures the TPID for a VLAN.
11-7
Parameters
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
(1) When the egress TPID of a port is VLAN-based, the TPID of the VLAN is used to send
packets.
(2) The configured VLAN TPID should be included in the global TPID list.
Examples
The following example shows how to configure the TPID for VLAN 100:
ZXAN(config)#vlan 100
ZXAN(config-vlan100)#tpid 0x8100
Related Commands
11.4.8 show vlan
11.4.10 show vlan tpid
11.1.10 vlan
Syntax
vlan {number1 |name WORD1 }
no vlan {number1 |name WORD1 }
Function
This command creates a VLAN and enters the VLAN configuration mode.
Parameters
name VLAN-name -
11-8
by 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-vlan2)#
Related Commands
11.4.8 show vlan
Function
This command creates VLANs in batches.
Parameters
name Name -
11-9
Mode
VLAN_DB configuration mode: ZXAN(vlan)#
Usage Guidelines
The configured VLAN name can be used for a single VLAN. Multiple VLANs are not allowed
to share the same name.
When VLANs are deleted in batches, an error message will be displayed if one VLAN
is VLAN 1, or a layer-3 VLAN interface has been created, or IGMP Snooping has been
configured.
Examples
The following example shows how to create VLAN 2 through VLAN 100:
ZXAN(config)#vlan database
ZXAN(vlan)#vlan 2-100
Related Commands
Function
This command creates VLANs in batches.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To deleted the VLANs, use the no form of this command.
11-10
Examples
The following example shows how to create VLANs 2–100 in batches:
ZXAN(config)#vlan database
ZXAN(vlan)#vlan 2-100
Related Commands
11.1.13 vlan-reserve
Syntax
vlan-reserve name1 name2
Function
This command configures a reserved VLAN.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The available types of a reserved VLAN include gpon, in-voip, out-voip, pwe3-atm,
pwe3-cpu, pwe3-tdm, and vpn.
Examples
The following example shows how to configure a reserved VLAN:
Related Commands
11.4.12 show vlan-reserve
11-11
11.1.14 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
any Mode -
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 a subscriber VLAN.
The following functions are supported:
1. Striping of only an outer VLAN
2. Single-layer VLAN translation
11-12
Examples
The following example shows how to strip a single-layer VLAN:
ZXAN(config)#vlan-scb-action interface epon-olt_1/4/1 vlan-translate svlan 200 vlan
100 user-vlan 100
Related Commands
11.4.13 show vlan-scb-action
11.1.15 vlan-translate
Syntax
vlan-translate ingress-port interface1 {user-vlan number1 |user-outer-vlan number2 user-inne
r-vlan number3 } vlan number4 [svlan number5 ] [name1 ]
no vlan-translate {interface interface1 |ingress-port interface1 {user-vlan number1 |user-outer
-vlan number2 user-inner-vlan number2 } }
Function
This command configures VLAN translation rules based on a PON interface. The outer
VLAN is optional.
Parameters
11-13
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the VLAN translation rule based on a PON interface. The
configuration rules must be different from the service-port rules or Q-in-Q rules, and the
user VLAN must be different from the basic VLAN of an ONU interface under a PON
interface. The VLAN translation rules 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 a PON interface:
The following example shows how to delete a specified VLAN translation rule:
ZXAN(config)#no vlan-translate ingress-port gpon-olt_1/4/1 user-vlan 10
Related Commands
11.4.17 show vlan-translate
11.1.16 voip-bind
Syntax
voip-bind
no voip-bind
Function
This command configures a VLAN to a VOIP VLAN for the voice narrowband service.
Parameters
None
11-14
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
To reset the configured VLAN to the common VLAN, use the no form of this command.
Examples
The following example shows how to configure VLAN 20 to a VOIP VLAN:
ZXAN(config)#vlan 20
ZXAN(config-vlan20)#voip-bind
Related Commands
11.4.11 show vlan voip-bind
11.1.17 xconnect
Syntax
xconnect name1 [cvlan number1 ]
Function
This command configures a 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
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
This command is used to configure a 1:1 VLAN rule.
11-15
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.
The VLAN that has been configured with an xconnect rule can have only one uplink
interface and user interface.
To delete the rule, use the no form of this command.
Examples
The following example shows how to set an xconnect rule for VLAN 100:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 user-vlan 100 vlan 100
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#switchport vlan 100 tag
ZXAN(config)#vlan 100
ZXAN(config-vlan100)#xconnect enable
Related Commands
11.4.18 show vlan-xconnect detail
Function
This command enables or disables the ingress-filter attribute of a port.
Parameters
Mode
Layer 2 FEI interface mode, L2 GEI interface mode, 10G_Ether interface mode:
ZXAN(config-if)#
11-16
Usage Guidelines
If the ingress-filter attribute of a port is enabled, it is necessary to check whether the VLAN
of ingress packets match up with the port. If the ingress-filter attribute is disabled, such a
check is not required.
Examples
The following example shows how to enable the ingress-filter attribute of a port:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#ingress-filter enable
ZXAN(config-if)#
Related Commands
11.4.3 show ingress-filter interface
11.2.2 mvlan-translate
Syntax
mvlan-translate number1 to {number2 |untag } [pvc number3 ]
no mvlan-translate [pvc number3 ]
Function
This command configures MVLAN translation rules for a DSL port.
Parameters
untag Untag -
Mode
PTP interface mode, GPON ONU interface mode, and ADSL interface mode
Usage Guidelines
To cancel the configured translation rules, use the no form of this command.
Examples
The following example shows how to configure the rules for translation from MVLAN 100
to CVLAN 120 for the port vdsl_1/7/1:
11-17
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#mvlan-translate 100 to 120
Related Commands
11.4.5 show mvlan-translate interface
Function
This command adds a hybrid port to a default VLAN and modifies the PVID of the port. If
the VLAN does not exist, it will be created.
Parameters
name1 VLAN -
Mode
L2 FEI interface mode, L2 GEI interface mode, 10G_Ether interface mode:
ZXAN(config-if)#
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.
A port in access mode can be added to a VLAN only with this command.
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
11.4.9 show vlan port
11-18
Function
This command configures the VLAN port link mode for a port. By default, trunk is
configured for an Ethernet port and smartgroup, hybrid for a PON subscriber port, and
access for a DSL subscriber port.
Parameters
Mode
Layer-2 FEI interface mode, L2 GEI interface mode, 10G_Ether interface mode:
ZXAN(config-if)#
Usage Guidelines
A port in trunk mode receives only tagged packets, while a port in hybrid mode receives
both tagged and untagged packets. A port in trunk mode can be directly switched to hybrid
mode. For switching between other modes, the tagged or untagged VLAN where the port
is located should be deleted (except VLAN 1).
A port in access mode belongs to only one VLAN.
Examples
The following example shows how to set the VLAN link mode of a port to trunk:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport mode trunk
11-19
Related Commands
11.4.9 show vlan port
Function
This command configures the priority CVLAN mapping relationship for a port.
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
The priority VLAN mapping must be enabled before the priority CVLAN is configured.
Examples
The following example shows how to configure the priority CVLAN for a port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport priority-cvlan 1 cvlan 100
Related Commands
11.4.9 show vlan port
11-20
Function
This command configures the priority VLAN mapping relationship for a port.
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
The priority VLAN mapping must be enabled before the priority VLAN is configured.
Examples
The following example shows how to configure the priority VLAN for a port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport priority-vlan 1 vlan 100
Related Commands
11.4.9 show vlan port
Function
This command enables or disables the priority VLAN mapping attribute for a DSL port.
Parameters
11-21
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the priority VLAN mapping attribute for a DSL
port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport priority-vlan-mapping enable
Related Commands
11.4.9 show vlan port
Function
This command configures the protocol CVLAN mapping relationship for a port.
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
The protocol VLAN mapping must be enabled before the protocol CVLAN is configured.
11-22
Examples
The following example shows how to configure the protocol CVLAN for a port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport protocol-cvlan 0x0800 cvlan 100
Related Commands
11.4.9 show vlan port
Function
This command configures the protocol VLAN mapping relationship for a port.
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
The protocol VLAN mapping must be enabled before the protocol VLAN is configured.
Examples
The following example shows how to configure the protocol VLAN for a port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport protocol-vlan 0x0800 vlan 100
Related Commands
11.4.9 show vlan port
11-23
Function
This command enables or disables the protocol VLAN mapping attribute for a DSL port.
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the protocol VLAN mapping attribute for a
DSL port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport protocol-vlan-mapping enable
Related Commands
11.4.9 show vlan port
11.2.4 switchport mode
Function
This command configures QinQ translation rules for a DSL port.
11-24
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to configure QinQ translation rules for the port
vdsl_1/7/1:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport qinq vlan 10 svlan 200
Related Commands
11.4.9 show vlan port
11.2.4 switchport mode
Function
This command enables or disables the Transparent LAN Service (TLS) attribute for a port.
11-25
Parameters
Mode
L2 GEI interface mode and 10G_Ether interface mode: ZXAN(config-if)#, ADSL interface
mode
Usage Guidelines
For a port in access mode, the TLS remains disabled. For a port in trunk or hybrid mode,
when the attribute of the TLS is switched from enable to disable, the TLS VLAN is changed
to 1 automatically.
Examples
The following example shows how to enable the TLS attribute of a DSL port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport tls enable
Related Commands
11.4.9 show vlan port
Function
This command configures the TLS VLAN mapping relationship for a port. With the TLS
enabled, the default TLS VLAN of the user port is 1.
Parameters
11-26
Mode
L2 GEI interface mode and 10G_Ether interface mode: ZXAN(config-if)#, PTP interface
mode
Usage Guidelines
The TLS VLAN cannot be configured until the TLS is enabled. With the TLS VLAN
configured, all the TLS streams are tagged with the TLS VLAN.
Examples
The following example shows how to configure the TLS VLAN attribute for a DSL port:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport tls vlan 20
Related Commands
11.4.9 show vlan port
Function
This command configures the TPID attribute for a port.
Parameters
Mode
L2 FEI interface mode, L2 GEI interface mode, and 10G_Ether interface mode:
ZXAN(config-if)#
Usage Guidelines
The TPID value cannot be the values of some protocols, such as 0x0806 and 0x0800.
11-27
Examples
The following example shows how to configure the TPID attribute for the port gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport tpid 0x9100
Related Commands
11.4.9 show vlan port
Function
This command configures VLAN translation rules for a DSL port.
Parameters
Parameter Description Value
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
11-28
Usage Guidelines
None
Examples
The following example shows how to configure VLAN translation rules for the port
vdsl_1/7/1:
ZXAN(config)#interface vdsl_1/7/1
ZXAN(config-if)#switchport translate vlan 10 cvlan 100 svlan 200
Related Commands
11.4.9 show vlan port
11.2.4 switchport mode
Function
This command adds a port to a VLAN. If the VLAN does not exist, it will be created.
Parameters
Mode
L2 FEI interface mode, L2 GEI interface mode, and 10G_Ether interface mode:
ZXAN(config-if)#
Usage Guidelines
A port in trunk mode can be added to a VLAN only with a tag attached.
The mode for a port to add to a VLAN depends on the VLAN mode of the port.
This command cannot be used for a port in access mode.
11-29
To delete the port from the VLAN, use the no form of this command.
Examples
The following example shows how to configure the 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
11.4.9 show vlan port
11.2.4 switchport mode
Function
This command enables or disables the global smart Q-in-Q function.
Parameters
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.
11-30
Examples
The following example shows how to enable the global smart Q-in-Q function:
ZXAN(config)#vlan-smart-qinq enable
Related Commands
11.4.15 show vlan-smart-qinq global-status
Function
This command enables or disables the VLAN-smart-QinQ function of an interface.
Parameters
Mode
10G_Ether interface mode: ZXAN(config-if)#, PortChL2 interface mode, and GPON OLT
interface mode
Usage Guidelines
The global VLAN-smart-QinQ function must be enabled before the VLAN-smart-QinQ is
enabled for an interface. When the enabling status of the VLAN-smart-QinQ of a PON port
is changed from enable to disable, all the VLAN-smart-QinQ rules for this port are deleted.
Users should use this command with caution.
Examples
The following example shows how to enable the VLAN-smart-QinQ of the port
gpon-olt_1/5/1:
ZXAN(config)#interface gpon-olt_1/5/1
11-31
Related Commands
11.4.16 show vlan-smart-qinq port-status
Function
This command configures smart Q-in-Q VLAN rules.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A smart Q-in-Q rule supports seven modes:
l Based on a single CVLAN
l Based on a CVLAN range
l Based on a COS
l Based on an Ethernet type
l Based on single CVLAN+COS
l Based on single CVLAN+Ehternent
11-32
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 rules based on a CVLAN
range:
The following example shows how to configure smart Q-in-Q rules based on a priority:
The following example shows how to configure smart Q-in-Q rules based on an 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 rules based on CVLAN+
priority:
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan
20 to 20 cos 6 svlan 203
The following example shows how to configure smart Q-in-Q rules based on
CVLAN+Ethernet type:
The following example shows how to delete a configured smart Q-in-Q rule:
Related Commands
11.4.14 show vlan-smart-qinq
11-33
Function
This command displays all the 1588 VLANs created in the system.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the created 1588 VLANs:
ZXAN(config)#show 1588-vlan
All created 1588 vlan:
10
Related Commands
None
Function
This command displays the VLANs of which the MAC addresses are stored in the FPGA
chip.
Parameters
None
11-34
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the VLANs of which the MAC addresses are
stored in the FPGA chip:
ZXAN(config)#show ex-switch vlan
All External Switch Vlan Number: 102
Details are following:
10,101-200,300
Related Commands
None
Function
This command displays the ingress-filter attribute for a port.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the ingress-filter attribute for a port:
ZXAN(config-if)#show ingress-filter interface gei_1/19/1
11-35
Related Commands
None
Function
This command displays PON-based MVLAN translation rules.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display PON-based MVLAN translation rules:
ZXAN(config)#show mvlan-translate
Mvlan Cvlan
----------------------------------------
100 150
Related Commands
None
Function
This command displays MVLAN translation rules for a DSL port.
11-36
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display MVLAN translation rules for a DSL port:
ZXAN(config)#show mvlan-translate interface vdsl_1/7/1
Mvlan Cvlan
----------------------------------------
100 120
Related Commands
None
Function
This command displays the configured service ports (by slot number).
Parameters
Mode
All modes except user mode
11-37
Usage Guidelines
The slot number of the main control card cannot be designated.
Examples
The following example shows how to display the service ports by slot number:
Related Commands
None
Function
This command displays the configured service ports (by interface).
Parameters
Mode
All modes except user mode
Usage Guidelines
None
11-38
Examples
The following example shows how to display the service ports configured for the port
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 Filter Vlan C
os SVlan SCos Tls Mode Ingress Egress Queue Status Enable
--------------------------------------------------------------------------------
-----------------------------------------------------------
1 1 22 22 -- -- -- -- -- -- 22 -
- 22 -- -- 1:1 -- -- -- -- YES
Sport total number:
1
ZXAN(config)#
Related Commands
None
Function
This command displays the configuration of a specified VLAN.
Parameters
Mode
All modes except user mode
Usage Guidelines
This command displays information about the ports added to a VLAN.
Examples
The following example shows how to display the configuration of VLAN 22:
11-39
port(tagged):
gpon-onu_1/4/1:1:1
Related Commands
None
Function
This command displays layer-2 VLAN configuration information, including basic VLAN,
TLS, and TLS VLAN configuration.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the VLAN configuration of the interface
gpon-onu_1/4/1:1:
ZXAN(config-if)#show vlan port gpon-onu_1/4/1:1
PortMode Pvid CPvid Tpid/mode TLSStatus TLSVlan
11-40
-------------------------------------------------------
hybrid>=0 1 0 0x8100/PORT disable 0
UntaggedVlan:
1
TaggedVlan:
100
Related Commands
None
Function
This command displays the global TPID list.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global TPID list:
Related Commands
None
11-41
Function
This command displays all the VOIP VLANs created in the system.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the created VOIP VLANs:
ZXAN(config)#show vlan voip-bind
All created voip vlan:
20
Related Commands
None
Function
This command displays the configuration of a reserved VLAN.
Parameters
None
Mode
All modes except user mode
11-42
Usage Guidelines
None
Examples
The following example shows how to display the configuration of a reserved VLAN:
ZXAN(config)#show vlan-reserve
VlanId Status Purpose
-------------------------------------------------------------------------------
4091 used out-voip
4092 used in-voip
4094 used gpon
Related Commands
None
Function
This command displays the VLAN translation rules of downlink broadcast flood packets for
EPON cards.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the VLAN translation rules of downlink
broadcast flood packets for EPON cards:
ZXAN(config)#show vlan-scb-action
Interface Svlan Vlan User-vlan
------------------------------------------------------------------
11-43
Related Commands
None
Function
This command displays the smart Q-in-Q VLAN rules.
Parameters
Mode
All modes 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- End- EType Cos Svlan NewCos GroupId Status
Vid Vid
--------------------------------------------------------------------------------
epon-olt_1/4/3 22 22 ---- 3 22 -- -- OK
Related Commands
11.3.1 vlan-smart-qinq
11-44
Function
This command displays the global smart Q-in-Q status.
Parameters
None
Mode
All modes 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
11.3.1 vlan-smart-qinq
11.3.3 vlan-smart-qinq ingress-port
11.4.16 show vlan-smart-qinq port-status
Function
This command displays the VLAN smart Q-in-Q status of a specified interface.
Parameters
11-45
Mode
All modes 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
Related Commands
11.3.1 vlan-smart-qinq
11.3.3 vlan-smart-qinq ingress-port
11.4.15 show vlan-smart-qinq global-status
Function
This command displays all the VLAN translation rules or the VLAN translation rules of a
specified PON interface.
Parameters
Parameter Description Value
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all the VLAN translation rules:
ZXAN(config)#show vlan-translate
11-46
Related Commands
None
Function
This command displays the xconnect configuration rule.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the xconnect configuration details:
11-47
Related Commands
None
Function
This command displays all the VLANs configured with xconnect rules.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all the VLANs configured with xconnect rules:
ZXAN(config)#show vlan-xconnect summary
All Xconnect Vlan Number: 2
Details are following:
2000,3950
Related Commands
None
11-48
no service-port number1
Function
This command creates a service port under a designated port for ONU-based layer-2 VLAN
translation.
Parameters
Mode
GPON ONU and EPON ONU interface mode
Usage Guidelines
When an ONU is configured with a service port, the PON-based configuration (such as
QinQ, VLAN-translate) on the PON port does not work on the ONU, but instead the service
port rules.
11-49
Examples
The following example shows how to configure layer-2 VLAN translation rules under the
port gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 user-outer-vlan 100 user-inner-vlan 10 vlan 20 svlan 200
Related Commands
11.4.6 show service-port
Function
This command configures description information for a service port.
Parameters
Mode
GPON ONU and EPON ONU interface mode
Usage Guidelines
To delete the configured description information, use the no form of this command.
Examples
The following example shows how to describe service-port 1 under the port
gpon-onu_1/4/1:1 as "test":
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 description test
11-50
Related Commands
11.4.6 show service-port
Function
This command enables or disables a service port.
Parameters
Mode
GPON ONU and EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable service-port 1 under the port
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 enable
Related Commands
11.4.6 show service-port
11-51
no service-port number1
Function
This command creates a service port under a designated port for ONU-based QinQ rule
configuration.
Parameters
11-52
Mode
GPON ONU and EPON ONU interface mode
Usage Guidelines
When an ONU is configured with a service port, the PON-based configuration (such as
QinQ, VLAN-translate) on the PON port does not work on the ONU, but instead the service
port rules.
Examples
The following example shows how to configure QinQ rules under the port
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 user-vlan 20 to 30 user-priority 2 svlan 33
Related Commands
11.4.6 show service-port
Function
This command configures a TLS business scenario.
Parameters
Mode
GPON ONU and EPON ONU interface mode
11-53
Usage Guidelines
The TLS attribute of a service port is enabled by default before the TLS-VLAN of the service
port is configured.
To delete the configured TLS business scenario, use the no form of this command.
Examples
The following example shows how to configure a TLS business scenario:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 other-all tls-vlan 300
Related Commands
11.4.6 show service-port
Function
This command creates a service port under a designated port for ONU-based VLAN
translation.
Parameters
11-54
Mode
GPON ONU and EPON ONU interface mode
Usage Guidelines
When an ONU is configured with a service port, the PON-based configuration (such as
QinQ, VLAN-translate) on the PON port does not work on the ONU, but instead the service
port rules.
Examples
The following example shows how to configure VLAN translation rules under the port
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 user-vlan 20 user-priority 2 vlan 22
ZXAN(config-if)#service-port 2 user-vlan 30 user-etype user-define 0x9100 vlan 32
ZXAN(config-if)#service-port 3 user-vlan 40 vlan 42 svlan 50
Related Commands
11.4.6 show service-port
11-55
Function
This command creates a service port under a designated port for ONU-based transparent
transmission VLANs.
Parameters
Mode
GPON ONU and EPON ONU interface mode
Usage Guidelines
When an ONU is configured with a service port, the PON-based configuration (such as
QinQ, VLAN-translate) on the PON port does not work on the ONU, but instead the service
port rules.
Examples
The following example shows how to configure transparent transmission VLAN 20 to 30
under the port gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 user-vlan 20 to 30 transparent
Related Commands
11.4.6 show service-port
no service-port number1
11-56
Function
This command creates a service port under a designated port to add a device default VLAN
ID based on an ONU for untagged packets.
Parameters
Mode
GPON ONU and EPON ONU interface mode
Usage Guidelines
When an ONU is configured with a service port, the PON-based configuration (such as
QinQ, VLAN-translate) on the PON port does not work on the ONU, but instead the service
port rules.
Examples
The following example shows how to set the default VLAN to VLAN 10 under the port
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#service-port 1 user-vlan untagged vlan 10
Related Commands
11.4.6 show service-port
11-57
11-58
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
ZXAN(config-pon)#
12-1
Related Commands
None
Function
This command creates an ONU type and sets the properties related to the ONU type.
Parameters
12-2
all-includsive 224.0.0.0–239.255.255.255. -
name7 - -
12-3
Mode
pon global configuration mode
Usage Guidelines
There are default ONU types. Users cannot delete or modify the default types, and cannot
add or delete user interfaces to them. To distinguish GPON ONU 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
Related Commands
None
12.2.2 onu-type-if
Syntax
onu-type-if name1 name2
12-4
Function
This command adds a user interface for an ONU type.
Parameters
Mode
ZXAN(config-pon)#
Usage Guidelines
The default ONU types cannot be deleted or modified, and no user interface can be added
to or deleted from them.
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
Related Commands
12.2.4 show onu-type-if
12-5
Function
This command queries ONU type information.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query all ONU type information:
12-6
Related Commands
None
Function
This command queries the user interface information of an ONU type.
Parameters
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":
Related Commands
None
12-7
Function
This command sets the parameters related to OLT MAC performance alarms at the PON
interface.
Parameters
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 15-min low alarm 1000 restore 2000
Related Commands
None
12-8
Function
This command sets the parameters related to ONU MAC performance alarms at the PON
interface.
Parameters
Parameter Description Value
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 15-min low alarm 1000 restore 2000
Related Commands
None
12-9
Function
This command sets the parameters related to OLT Ethernet performance alarms at the
PON interface.
Parameters
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:
Related Commands
None
12-10
Function
This command sets the parameters related to ONU Ethernet performance alarms at the
PON interface.
Parameters
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 15-min low alarm 1000 restore 2000
Related Commands
None
12.3.5 perf-clear-current
Syntax
perf-clear-current name1 [name2 ]
Function
This command clears current performance statistics at the OLT PON interface.
12-11
Parameters
Mode
gpon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to clear current 15-minute Ethernet performance
statistics at an OLT interface:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#perf-clear-current eth 15min
Related Commands
None
Function
This command clears current performance statistics at the GEM port.
Parameters
Mode
gpon onu interface mode
Usage Guidelines
None
12-12
Examples
The following example shows how to clear current performance statistics at a GEM port:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#perf-clear-current gemport 1
Related Commands
None
Function
This command clears current performance statistics at the OLT ONU interface
Parameters
Mode
gpon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to clear current Ethernet performance statistics at an
ONU interface:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#perf-clear-current onu eth
Related Commands
None
12-13
Function
This command creates an alarm profile for Ethernet performance statistics at the OLT
interface, and the corresponding configuration mode is entered.
Parameters
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
12-14
Function
This command creates an alarm profile for Ethernet performance statistics at the ONU
interface, and the corresponding configuration mode is entered.
Parameters
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:
ZXAN(config)#
ZXAN(config)#perf-eth-onu profile zte
ZXAN(config-eth-perf-onu)#
Related Commands
None
Function
This command creates an alarm profile for MAC performance statistics at the OLT
interface, and the corresponding configuration mode is entered.
Parameters
12-15
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
Function
This command creates an alarm profile for MAC performance statistics at the ONU
interface, and the corresponding configuration mode is entered.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
12-16
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
12.3.12 perf-profile
Syntax
perf-profile name1 name2
no perf-profile name1
Function
This command applies a performance alarm profile to an PON OLT interface.
Parameters
Mode
gpon olt interface mode, epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to apply performance alarm profile to an PON OLT
interface:
ZXAN(config-if)#perf-profile eth abc apply
Related Commands
12.3.14 show perf-eth-olt
12.3.16 show perf-mac-olt
12-17
Function
This command applies an performance alarm profile on an ONU.
Parameters
Mode
gpon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to apply a performance alarm profile on an ONU:
Related Commands
12.3.15 show perf-eth-onu
Function
This command displays the OLT Ethernet performance statistics alarm profile.
12-18
Parameters
Mode
All modes except user mode
Usage Guidelines
Before query the profile, you need to create the profile using the command perf-eth-olt.
Examples
The following example shows how to query the OLT Ethernet performance statistics alarm
profile zte:
Related Commands
12.3.8 perf-eth-olt profile
Function
This command displays the ONU Ethernet performance statistics alarm profile.
Parameters
12-19
Mode
All modes except user mode
Usage Guidelines
Before query the profile, you need to create the profile using the command perf-eth-onu.
Examples
The following example shows how to query the ONU Ethernet performance statistics alarm
profile zte:
ZXAN#show perf-eth-onu profile zte
perf-eth-onu profile zte
--------------------------------------------------------------------------
item: tx-pkts 15-min high alarm 100000 restore 10000
ZXAN#show perf-eth-onu profile
perf-eth-onu profile
--------------------------------
NO.1 profile : p1
NO.2 profile : abc
NO.3 profile : 123
Related Commands
12.3.9 perf-eth-onu profile
Function
This command displays the OLT MAC performance statistics alarm profile.
Parameters
Mode
All modes except user mode
Usage Guidelines
Before query the profile, you need to create the profile using the command perf-mac-olt.
12-20
Examples
The following example shows how to query the OLT MAC performance statistics alarm
profile zte:
ZXAN#show perf-mac-olt profile zte
perf-mac-olt profile zte
--------------------------------------------------------------------------
item:crc-error-packets 15-min high alarm 1000000 restore 80000
ZXAN#show perf-mac-olt profile
perf-mac-olt profile
--------------------------------
NO.1 profile : p1
NO.2 profile : abc
NO.3 profile : 123
Related Commands
12.3.10 perf-mac-olt profile
Function
This command displays the ONU MAC performance statistics alarm profile.
Parameters
Mode
All modes except user mode
Usage Guidelines
Before query the profile, you need to create the profile using the command perf-mac-onu.
Examples
The following example shows how to query the ONU MAC performance statistics alarm
profile zte:
ZXAN#show perf-mac-onu profile zte
perf-mac-onu profile zte
12-21
--------------------------------------------------------------------------
item: crc-error-packets 15-min high alarm 1000000 restore 80000
ZXAN#show perf-mac-onu profile
perf-mac-onu profile
--------------------------------
NO.1 profile : p1
NO.2 profile : abc
NO.3 profile : 123
Related Commands
12.3.11 perf-mac-onu profile
Function
This command displays the performance statistics at the GEM port.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the the performance statistics at the GEM port:
Related Commands
None
12-22
Function
This command displays the performance statistics at the OLT interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the current performance statistics at the OLT
interface:
ZXAN#show performance pon-olt eth gpon-olt_1/3/1 current
Related Commands
None
12-23
Function
This command queries the performance statistics at the ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the current performance statistics at the ONU
interface:
Related Commands
None
12-24
Function
This command creates a protection group.
Parameters
Mode
pon global configuration mode
12-25
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.
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
Function
This command creates a member of a typeC/D protection group.
Parameters
Mode
pon global configuration mode
12-26
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 inter-NE protection mode, the onuList parameter represents the ONU ID of the PON
interface of the local NE.
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
Function
This command sets the property information of a protection group.
12-27
Parameters
Mode
ZXAN(config-pon)#
Usage Guidelines
None
Examples
The following example shows how to set properties of a protection group whose name is
ZTE:
ZXAN(config)#pon
Related Commands
None
Function
This command sets switching modes of the working interface and protective interface of a
protection group. There is no switching by default.
12-28
Parameters
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
Related Commands
None
12-29
Function
This command displays the information of a specified protection group.
Parameters
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
System model: self-contained
Peer host IP: N/A
Protection type : typeB
Work channel interface : gpon-olt_1/15/1
Protect channel interface: gpon-olt_1/15/2
Protection mode: non-revertive
Time to restore(s): 120
Active channel: work-channel
Alarm request:
Work channel: OLTSF
Protect channel: OLTSF
External request: no-request
Related Commands
None
12-30
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
Function
This command queries the optical power loss between the OLT and the ONU.
Parameters
Mode
All modes except user mode
12-31
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_1/6/1:1
OLT ONU Attenuation
--------------------------------------------------------------------------
up Rx :-22.672 Tx:1.250 23.922
Related Commands
None
Function
This command queries the receiving optical power at the OLT.
Parameters
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:
12-32
Related Commands
None
Function
This command queries the transmitting optical power at the OLT.
Parameters
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_1/3/1
Tx power: 2.106(dbm)
Related Commands
None
12-33
Function
This command queries the receiving optical power at the ONU.
Parameters
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:
Related Commands
None
Function
This command queries the transmitting optical power at the ONU.
12-34
Parameters
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#show pon power onu-tx gpon-onu_1/3/1:1
Onu Tx power
------------------------------------
gpon-onu_1/3/1:1 N/A
Related Commands
None
Function
This command displays the optical parameter threshold information of a specified PON
interface.
Parameters
12-35
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows ow to display eceiving optical power threshold of OLT:1/3/1:
ZXAN(config)#show pon transceiver-thresh gpon-onu_1/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
Related Commands
None
Function
This command configures the detection period for receiving optical power.
Parameters
Mode
pon global configuration mode
Usage Guidelines
None
12-36
Examples
The following example shows how to configure the detection period for receiving optical
power to 120 seconds:
ZXAN(config-pon)#transceiver detect-period gpon-onu_1/3/1:1 120
Related Commands
None
Function
This command sets the receiving optical module alarm thresholds for a specified PON.
Parameters
12-37
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.
ZXAN(config-pon)#transceiver-thresh rx-power gpon-onu_1/3/1:1 upper-alarm -5 upper-warning -10
lower-warning -15 lower-alarm -20
Related Commands
None
Function
This command sets the rogue ONU detection function.
Parameters
Mode
pon global configuration mode
12-38
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
12.6.2 rogue-onu-state
Syntax
rogue-onu-state name1 [duration {forever |number1 } ]
Function
This command sets the rogue ONU state.
Parameters
Mode
GPON ONU interface mode and EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to set the rogue ONU state:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#rogue-onu-state shutdown
12-39
Related Commands
None
Function
This command queries the rogue ONU detection configuration.
Parameters
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
12-40
Function
This command display detected information about the rogue ONU.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display detected information about the rogue ONU:
ZXAN(config-if)#show pon rogue-onu-info gpon-olt_1/3/1
Related Commands
None
no ip-pool name1
Function
This command creates an IP address pool.
12-41
Parameters
ip_addr4 IP address. -
ip_addr5 IP mask. -
ip_addr6 Gateway. -
Mode
ZXAN(config-pon)#
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
Related Commands
12.7.3 show pon ip-pool
12.7.2 ip-pool-bind
Syntax
ip-pool-bind interface1 name1
no ip-pool-bind interface1
12-42
Function
This command binds an IP address pool at the OLT PON interface.
Parameters
Mode
ZXAN(config-pon)#
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
12.7.4 show pon ip-pool-bind
Function
The command views an IP address pool.
Parameters
12-43
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to view the IP address pool whose name is "test":
ZXAN(config-pon)#show pon ip-pool
Related Commands
None
Function
This command views the information of the IP address pool bound at an interface.
Parameters
12-44
Mode
All modes except user mode
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:
OLT: gpon-olt_0/3/1
Related Commands
None
Function
This command updates the modified configuration of a profile to an ONU that uses the
profile.
Parameters
None
Mode
GPON line configuration mode
Usage Guidelines
None
12-45
Examples
None
Related Commands
None
12.8.2 onu-profile
Syntax
onu-profile name1 name2
no onu-profile name1 name2
Function
This command creates an EPON/GPON service configuration profile, and enters the
corresponding configuration profile mode.
Parameters
Mode
PON global configuration mode
Usage Guidelines
l The system supports only GPON profiles.
l After a profile is created successfully, users can execute ZXAN(config-if)#onu <onu
ID> profile to apply the configuration to a specific ONU.
l 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.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a GPON service configuration profile whose
name is "zte“. After the profile is created, the corresponding configuration mode is entered.
ZXAN(config-pon)#onu-profile gpon zte
ZXAN(config-gpon-line)#
12-46
Related Commands
12.8.1 commit
12.8.3 remote
Syntax
remote
Function
This command enters the remote profile configuration mode.
Parameters
None
Mode
GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to create a GPON service configuration profile with the
name zte and enter the remote configuration mode:
ZXAN(config-pon)#onu-profile gpon zte
ZXAN(config-gpon-line)#remote
ZXAN(config-gpon-remote)#
Related Commands
None
12.8.4 revert
Syntax
revert
Function
This command cancels the modified configuration applied on an ONU profile.
12-47
Parameters
None
Mode
gpon-line configuration mode
Usage Guidelines
None
Examples
None
Related Commands
None
Function
This command displays the information of the profiles associated with a PON ONU
interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of the profiles associated with
gpon-onu_1/3/1:1:
12-48
Related Commands
None
Function
This command displays all profiles.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all the profiles:
ZXAN(config-if)#show pon onu-profile gpon
ProfileName
----------------
int_line
test_line
12-49
f622_line
Related Commands
None
Function
This command configures the ONU blacklist on a PON interface.
Parameters
name1 ONU SN -
Mode
gpon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU blacklist on a PON interface:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#blacklist sn ZTEG00000001
Related Commands
None
12.9.2 clear
Syntax
clear interface1
12-50
Function
This command clears all data at a PON interface.
Parameters
Mode
ZXAN(config-pon)#
Usage Guidelines
Before configure the PON protection, you need to clear ONU configuration on the
protective PON port.
Examples
The following example shows how to clear ONU configuration 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
This command can also be used in OLT interface mode:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#clear
Function
This command clears all service configuration at an ONU interface.
12-51
Parameters
Parameter Description Value
Mode
ZXAN(config-pon)#
Usage Guidelines
None
Examples
The following example shows how to clear all service configuration at an ONU interface:
ZXAN(config)#pon
ZXAN(config-pon)#clear onu gpon-onu_1/3/1:1
Related Commands
This command can also be used in ONU interface mode:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#clear
Function
This command copies data between EPON PON interfaces.
Parameters
Parameter Description Value
Mode
ZXAN(config-pon)#
12-52
Usage Guidelines
None
Examples
The following example shows how to copy data from the epon-olt_1/6/1 interface to the
epon-olt_1/6/2 interface:
Related Commands
None
Function
This command copies data between EPON ONUs.
Parameters
Mode
ZXAN(config-pon)#
Usage Guidelines
None
Examples
The following example shows how to copy data from epon-onu_1/6/1:1 to
epon-onu_1/6/1:2:
12-53
Related Commands
None
Function
This command copies data between GPON PON interfaces.
Parameters
Mode
ZXAN(config-pon)#
Usage Guidelines
None
Examples
The following example shows how to copy data from the gpon-olt_1/3/1 interface to the
gpon-olt_1/3/2 interface:
ZXAN(config-pon)#copy gpon olt gpon-olt_1/3/1 gpon-olt_1/3/2
Related Commands
None
12-54
Function
This command copies data between GPON ONUs.
Parameters
Mode
ZXAN(config-pon)#
Usage Guidelines
None
Examples
The following example shows how to copy data from gpon-onu_1/3/1:1 to
gpon-onu_1/3/1:2:
Related Commands
None
Function
This command configures an ONU power saving profile.
12-55
Parameters
Mode
pon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to create an ONU power saving profile zte:
ZXAN(config)#pon
ZXAN(config-pon)#onu profile power-save test mode deep-sleep enable doze enable
cyclic-sleep enable max-sleep-interval 10 min-aware-interval 10 min-hold-interval 10
Related Commands
12.9.16 show pon onu profile power-save
12-56
Function
This command configures an ONU protocol control profile.
Parameters
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
Related Commands
13.4.75 proto-proc
12-57
Function
This command configures an ONU protocol rate-limit profile.
Parameters
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 rate-limit profile whose name
is "zte":
ZXAN(config)#pon
ZXAN(config-pon)#onu profile proto-limit zte arp 1000 pppoe 1000
12-58
Related Commands
13.4.75 proto-proc
12.9.11 pnp
Syntax
pnp name1
Function
This command enables or disables the automatic switchover offline ONU function.
Parameters
Mode
GPON OLT interface mode and EPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the automatic switchover offline ONU function:
ZXAN(config)#pon
ZXAN(config-pon)#auto-replace-offline-onu 3 enable
Related Commands
None
Function
This command displays the running configuration of a PON ONU interface.
12-59
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the running configuration of an ONU interface:
ZXAN#show onu running config gpon-onu_1/3/1:1
Related Commands
None
Function
This command displays the blacklist at a PON OLT interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
12-60
Examples
The following example shows how to display the blacklist at a PON OLT interface:
ZXAN(config)#show pon blacklist gpon-olt_1/3/1
mac-sn
----------
ZTEG00010002
ZTEG0001000A
ZTEG0001000B
ZTEG0001000C
ZTEG0001000D
ZTEG0001000E
Related Commands
None
Function
This command displays the global PON configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global PON configuration:
Related Commands
None
12-61
Function
This command displays the information about ONU power saving status.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about ONU power saving
status:
ZXAN(config-pon)#show pon onu power-save state gpon-onu_1/3/1:1
Related Commands
None
Function
This command displays the information about an ONU power saving profile.
Parameters
12-62
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about an ONU power saving
profile:
Related Commands
12.9.8 onu profile power-save
Function
This command displays the information of an ONU protocol control policy profile.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
12-63
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
IPTV age by DHCP lease: enable
Related Commands
12.9.9 onu profile proto-ctrl
Function
This command displays the information of the ONU protocol threshold policy profile.
Parameters
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
12-64
PPPoE: no limit
IGMP: no limit
CFM: no limit
ZXAN(config-pon)#
Related Commands
12.9.10 onu profile proto-limit
Function
This command displays the information of unconfigured ONUs.
Parameters
pw ONU password. -
Mode
All modes except user mode
12-65
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
Related Commands
12.9.23 uncfg-onu-display-info
12.9.21 show pon uncfg-onu-display-info
Function
This command displays the last three remote ONU alarms.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the last three remote ONU alarms:
ZXAN(config-if)#show pon remote-alarm gpon-onu_1/5/1:1
1: Alarm 36614,occurred at 11:26:32 05/15/2013 UTC,Gpon onu Battery Missing:
shelf 1 slot 5 olt 1 onu 1
12-66
Related Commands
None
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 :
RID :
ZXAN(config-pon)#
12-67
Related Commands
12.9.23 uncfg-onu-display-info
12.9.19 show pon onu uncfg
12.9.22 time-sync
Syntax
time-sync {disable |enable }
Function
This command disables or enables the time synchronization between OLT and ONU.
Parameters
Mode
ZXAN(config-pon)#
Usage Guidelines
None
Examples
The following example shows how to enable the time synchronization between OLT and
ONU:
ZXAN(config)#pon
ZXAN(config-pon)#time-sync enable
Related Commands
None
12-68
12.9.23 uncfg-onu-display-info
Syntax
uncfg-onu-display-info [{[mac ] [sn ] [pw ] [hexpw ] [loid ] [loidpw ] [model ] [version ] [rid ] }]
Function
This command sets the items of the unconfigured ONUs to be displayed.
Parameters
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
12.9.21 show pon uncfg-onu-display-info
12-69
12-70
Function
This command configures port auto-shutdown of Dynamic Host Configuration Protocol
(DHCP) anti-spoofing.
Parameters
Mode
Gigabit Passive Optical Network (GPON) global configuration mode
Usage Guidelines
None
13-1
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
13.1.2 gpon
Syntax
gpon
Function
This command enters GPON mode.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enter GPON mode:
ZXAN(config)#gpon
ZXAN(config-gpon)#
Related Commands
None
13.1.3 max-bandwidth
Syntax
max-bandwidth number1
13-2
Function
This command configures the maximum GPON bandwidth.
Parameters
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
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
13-3
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
Function
This command creates a dialing plan profile.
Parameters
Mode
GPON global configuration mode
13-4
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a dialing plan profile whose name is test. In
this example, the dialing plan rule is 1234|**##|x.T:
Related Commands
13.1.25 show gpon onu profile dial-plan
Function
This command creates a DSCP to P-bit mapping profile.
Parameters
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)#onu profile dscp abc dscp2pbit 0-7:0,8-15:1,16-23:2,24-31:3,
32-39:4,40-47:5,48-55:6,56-63:7
13-5
Related Commands
13.1.26 show gpon onu profile dscp
Function
This command creates a mapping rule profile for filtering the double-tagged frames of an
expanded VLAN.
Parameters
13-6
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 of inner VLAN 100. The mapping rule profile name is
test:
ZXAN(config-gpon)#onu profile filter-rule double-tag test inner-vlan 100
ZXAN(config-gpon)#
Related Commands
None
Function
This command creates a mapping rule profile for filtering the single-tagged frames of an
expanded VLAN.
Parameters
13-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 a mapping rule profile with the name of
single-tag-vid100 for filtering the single-tagged Ethernet frames of inner VLAN 100:
ZXAN(config-gpon)#onu profile filter-rule single-tag single-tag-vid100 inner-vlan 100
ZXAN(config-gpon)#
Related Commands
None
13-8
Function
This command creates a mapping rule profile for filtering the untagged frames of an
expanded VLAN.
Parameters
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:
Related Commands
None
13-9
Function
This command configures an Optical Network Unit (ONU) multicast profile.
Parameters
13-10
13-11
name14 Specifies the name for the correlated static 1–32 characters.
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
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
13-12
Related Commands
13.1.28 show gpon onu profile igmp
Function
This command creates an ONU IP profile.
Parameters
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 gateway 10.63.10.254
Related Commands
None
13-13
Function
This command creates an ONU Media Gateway Controller (MGC) profile.
Parameters
13-14
media Media. -
name14 User name for MGC server MD5 authentication 1–25 characters
13-15
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
13.1.30 show gpon onu profile mgc
Function
This command creates an ONU scheduling profile.
Parameters
13-16
Mode
GPON global configuration mode
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.
13-17
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 Scheduling mode: SP+WRR
l 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.
l 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
13.1.31 show gpon onu profile schedule
Function
This command configures an ONU Session Initiation Protocol (SIP) profile.
Parameters
13-18
media Media -
13-19
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 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
13.1.32 show gpon onu profile sip
Function
This command configures a Time Division Multiplexing (TDM) property profile.
13-20
Parameters
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.
13-21
Mode
GPON global configuration mode
13-22
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:
Related Commands
13.1.33 show gpon onu profile tdm
Function
This command creates an ONU traffic profile.
Parameters
13-23
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:
Related Commands
13.1.34 show gpon onu profile traffic
13-24
Function
This command creates an expanded VLAN processing rule profile.
Parameters
13-25
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
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.
Examples
The following example shows how to create an Ethernet frame processing rule profile with
the following configurations:
Related Commands
13.1.35 show gpon onu profile treat
13-26
Function
This command creates an ONU VLAN profile.
Parameters
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
Related Commands
None
13-27
Function
This command configures a Voice over Internet Protocol (VoIP) access code profile.
Parameters
Parameter Description Value
name9 PIN change for no disturb, which must be the 1–5 characters
following characters: 0..9, *, #.
13-28
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 cancel-call-waiting 12365
attend-call-transfer 12345
Related Commands
None
Function
This command configures a VoIP service profile.
Parameters
13-29
13-30
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:
Related Commands
None
13-31
number8 } ] |rtp [min-port number9 ] [max-port number10 ] [dscp-mark number11 ] [event [pig
gyback name9 ] [tone name10 ] [dtmf name11 ] [cas name12 ] ] } ]
no onu profile voip-media name1
Function
This command configures a VoIP media parameter profile.
Parameters
13-32
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
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
13.1.39 show gpon onu profile voip-media
13-33
Function
This command creates a GPON bandwidth property profile.
Parameters
1 Profile type 1 -
2 Profile type 2 -
3 Profile type 3 -
4 Profile type 4 -
5 Profile type 5 -
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
The configuration requirements of different T-CONT profiles are as follows:
1 Required - - -
13-34
2 - Required - -
4 - - Required -
Examples
The following example shows how to create a GPON bandwidth property profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#profile tcont T5-100M type 5 fix 10000 assured 100000 max 1000000
ZXAN(config-gpon)#
Related Commands
None
Function
This command creates a GPON traffic profile.
13-35
Parameters
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
Function
This command shows the GPON multicast model configuration information.
Parameters
None
Mode
Any mode except user mode
13-36
Usage Guidelines
None
Examples
The following example shows the GPON multicast model configuration information:
ZXAN#show gpon mop mode
mode: ctc
ZXAN#
Related Commands
None
Function
This command shows the detailed information about a network dialing plan.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about a network dialing plan:
ZXAN(config-if)#show gpon onu profile dial-plan
Profile name: aaa
Critical timeout:100
Partial timeout: 1000
Format: H.248
Digit map: X*.X.#|#X.*.X.##
2#X.*.X.T|#X.*.X.
#T
13-37
Related Commands
13.1.5 onu profile dial-plan
Function
This command shows the detailed information about a DSCP to 802.1p mapping profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the current DSCP profile:
Related Commands
13.1.6 onu profile dscp
Function
This command shows the detailed information about an expanded VLAN filtering rule
profile.
13-38
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the current expanded VLAN
filtering rule profile:
ZXAN(config-gpon)#show gpon onu profile filter-rule
Profile name: test
Tag num: 2
Ether type: IGMP
Inner priority: 8
Inner VID: 100
Inner TPID: mode0
Outer priority: 8
Outer VID: 200
Outer TPID: mode0
Related Commands
onu profile filter-rule
Function
This command shows the configuration information about the Optical Network Unit (ONU)
IGMP profile.
Parameters
13-39
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information about the ONU IGMP profile:
ZXAN(config-gpon)#show gpon onu profile igmp
Profile name: test
Version: v2
Work mode: snooping
Fast leave: disable
Robustness: copy-from-query
Proxy IP: 0.0.0.0
Query interval: 125
Query max resp: 100
Last query interval: 10
Nonmatch group: discard
Rate limit: 0
Up stream tag: transparent
Down stream tag: transparent
IPTV package dynamic1: cctv
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
13.1.10 onu profile igmp
Function
This command shows the detailed information about the IP profile.
13-40
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the IP profile:
ZXAN#
Related Commands
None
Function
This command shows the detailed information about the Media Gateway Controller (MGC)
profile.
Parameters
Mode
Any mode except user mode.
13-41
Usage Guidelines
None
Examples
The following example shows the detailed information about the MGC profile:
13-42
Related Commands
13.1.12 onu profile mgc
Function
This command shows the detailed information about the ONU scheduling profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the ONU scheduling profile:
Related Commands
None
13-43
Function
The following example shows the configuration information about the ONU Session
Initiation Protocol (SIP) profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information about the ONU SIP profile:
ZXAN(config-gpon)#show gpon onu profile sip
Profile name : test
Proxy server: 10.63.10.1
Outbound proxy: 10.63.10.1
Registrar: 10.63.10.1
Validation scheme: disable
UDP port: 5060
DSCP/TOS: 0
Media UDP port: 5060
Media DSCP/TOS: 0
DNS1: 0.0.0.0
DNS2: 0.0.0.0
Registration expiration time: 3600(s)
Re-registration time: 360(s)
User domain: zte.com.cn
Softswitch vendor: ZTE
Dial plan table name: N/A
Release timer: 10(s)
ROH timer: 15(s)
Link test: disable
Link test interval: N/A
Appsrv:
Accesscode:
Related Commands
13.1.14 onu profile sip
13-44
Function
This command shows the detailed information about the Time Division Multiplexing (TDM)
property profile.
Parameters
Mode
Any mode 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
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
13-45
Related Commands
13.1.15 onu profile tdm
Function
This command shows the detailed information about the ONU traffic profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the ONU traffic profile:
Related Commands
None
13-46
Function
This command shows the detailed information about the expanded VLAN processing rule
profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the current expanded VLAN
processing rule profile:
Related Commands
13.1.17 onu profile treat
13-47
Function
This command shows the detailed information about the VLAN profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the VLAN profile:
ZXAN#show gpon onu profile vlan
ZXAN#
Related Commands
None
Function
This command shows the detailed information about the VoIP access code profile.
Parameters
13-48
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the VoIP access code profile:
ZXAN(config-gpon)#show gpon onu profile voip-accesscode
Profile name: test
Cancel call waiting:
Call hold: *#06#
Call park: *#08#
CID activate:
CID deactivate:
No disturb activation:
No disturb deactivation:
No disturb pin change:
Emergency service num:
Intercom service:
Unattend blind call transfer:
Attend call transfer:
Related Commands
13.1.19 onu profile voip-accesscode
Function
This command shows the detailed information about the VoIP application service profile.
Parameters
Mode
Any mode except user mode.
13-49
Usage Guidelines
None
Examples
The following example shows the detailed information about the VoIP application service
profile:
ZXAN(config-gpon)#show gpon onu profile voip-appsrv
Profile name: test
Calling num: disable
Calling name: disable
CID blocking: disable
CID num permanent status: disable
CID name permanent status: disable
Anonymous CID blocking: disable
Call waiting: disable
CID announcement: disable
3way: disable
Call transfer: disable
Call hold: enable
Call park: disable
No disturb: disable
Emergency call flash: disable
Emergency originate hold: disable
6way: disable
Message waiting splash ring: disable
Message waiting special dial tone: disable
Message waiting visual indication: 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:
13-50
Realm:
Related Commands
13.1.20 onu profile voip-appsrv
Function
This command shows the detailed information about the VoIP media traffic profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the GPON VoIP media traffic
profile:
ZXAN(config-gpon)#show gpon onu profile voip-media
Profile name: test
Encoding:
1st - Codec: pcmu, Packet period: 10, Silence suppression: off
2nd - Codec: pcmu, Packet period: 10, Silence suppression: off
3rd - Codec: pcmu, Packet period: 10, Silence suppression: off
4th - Codec: pcmu, Packet period: 10, Silence suppression: off
Fax mode: passthru , OOB DTMF: enable
Service:
Announcement type: na
Jitter: fix, Buffer target=0, max=0
Echo cancel: on
Country code: 0
Signal 802.1p priority: no change
Media 802.1p priority: no change
13-51
RTP:
Port: min=50000, max=60000
DSCP mark: 46
Event: piggyback=disable, tone=disable, DTMF=disable, CAS=disable
Related Commands
13.1.21 onu profile voip-media
Function
This command shows the configuration information about the GPON profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information about the GPON T-CONT
profile:
Related Commands
None
13-52
Function
This command shows the configuration information about a specified GPON slot and the
DHCP anti-spoofing auto shutdown state.
Parameters
Parameter Description Value
Mode
Any mode except user mode
Usage Guidelines
None
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
Function
This command configures the default Optical Network Unit (ONU) auto-learning mode of
the PON interface. By default, it is disabled.
13-53
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the ONU auto-learning mode:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#auto-learning enable
Related Commands
None
Function
This command configures the aging time in auto learning mode.
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
None
13-54
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
13.2.3 ber-interval
Syntax
ber-interval number1
Function
This command configures the Bit Error Rate (BER) detection and reporting interval time of
an OLT interface.
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the BER interval time to 1000 ms:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#ber-interval 1000
Related Commands
None
13-55
13.2.4 clear
Syntax
clear
Function
This command clears all the ONU data of an OLT interface.
Parameters
None
Mode
GPON OLT interface mode
Usage Guidelines
For the creation of a protection group, the protective interface needs to have no ONU
configuration. In this case, you can use this command to delete the existing configurations.
Examples
The following example shows how to clear all the ONU configuration data from the PON
interface:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#clear
Related Commands
Commands for clearing PON interface configurations in PON global mode:
ZXAN(config)#pon
ZXAN(config-pon)#clear gpon-olt_1/3/1
13.2.5 cpl
Syntax
cpl {disable |enable [min name1 max name2 ] }
Function
This command enables or disables the automatic optical power adjustment function.
13-56
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the automatic optical power adjustment
function. In this example, the optical power range is -30dBm to -12dBm.
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#cpl enable min -30 max -12
Related Commands
None
13.2.6 discover-period
Syntax
discover-period new-onu number1 miss-onu number2
Function
This command configures the period of discovering new registered ONUs or offline ONUs.
Parameters
13-57
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
13.2.7 fec
Syntax
fec name1
Function
This command configures the Forward Error Correction (FEC) function of a GPON OLT
interface.
Parameters
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:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#fec downstream
13-58
Related Commands
None
13.2.8 multicast-encrypt
Syntax
multicast-encrypt name1
Function
This command enables or disables PON interface multicast encryption.
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
This example shows how to enable PON interface multicast encryption:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#multicast-encrypt enable
Related Commands
Commands for enabling or disabling ONU multicast encryption:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#multicast-encrypt enable
13.2.9 name
Syntax
name WORD1
no name
13-59
Function
This command configures the alias of an OLT interface.
Parameters
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
Related Commands
None
13.2.10 onu
Syntax
onu number1 {profile name1 |type name2 {sn name3 [vport-mode name4 ] |pw name5 [sn name6
] [vport-mode name7 ] |hpw name8 [sn name9 ] [vport-mode name10 ] |sn+pw name11 name12
[vport-mode name13 ] |sn+hpw name14 name15 [vport-mode name16 ] |loid name17 [sn name18
] [vport-mode name19 ] |loid+pw name20 name21 [sn name22 ] [vport-mode name23 ] |rid name
24 [sn name25 ] [vport-mode name26 ] |sn+rid name27 name28 [vport-mode name29 ] |loid+hpw
name30 name31 [sn name32 ] [vport-mode name33 ] } }
no onu number1 [profile ]
Function
This command registers a specified ONU to the current OLT interface.
13-60
Parameters
13-61
profile - -
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
13-62
Related Commands
None
13.2.11 onu-action
Syntax
onu-action name1
Function
This command enables or disables the ONU on an OLT interface.
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
None
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
13.2.12 onu-sn
Syntax
onu-sn {enable |disable }
Function
This command enables all the ONUs that are forbidden to get online on an OLT interface,
or disables all ONUs.
13-63
Parameters
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
13.2.13 range-mode
Syntax
range-mode number1 number2
Function
This command configures the distance measurement range of an OLT interface.
Parameters
Mode
GPON OLT interface mode
13-64
Usage Guidelines
None
Examples
The following example shows how to configure the distance measurement range of
gpon-olt_1/3/1 to 20–40 km:
ZXAN(config)#interface gpon-olt_1/3/1
Related Commands
None
13.2.14 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.
Parameters
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
13-65
Related Commands
None
13.2.15 scb-port
Syntax
scb-port number1
Function
This command configures the Single Copy Broadcast (SCB) port.
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
None
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
Function
This command shows the FEC configuration information on a GPON OLT interface.
13-66
Parameters
Mode
Any mode 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
Function
This command shows the GPON OLT interface configuration.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-67
Examples
The following example shows the GPON OLT interface configuration:
ZXAN(config)#show gpon olt config gpon-olt_1/3/1
OLT: gpon-olt_1/3/1 ONU: OLT-1
Discovering ONU: 10 Missing ONU: 5
Range mode(100m): 0 - 200
Uncfg ONU aging time: 300(s)
Auto learn: disable
SCB port: 4095
FEC: none
Resource ID assign mode: mode1
Multicast encryption: disable
Related Commands
None
Function
This command shows the configuration of the automatic optical adjustment of a PON
interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the automatic optical adjustment of the specified PON
interface:
ZXAN(config)#show gpon olt cpl gpon-olt_1/8/1
13-68
Related Commands
None
Function
This command shows the distance measurement configuration on an OLT interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the distance measurement configuration on an OLT
interface:
Related Commands
None
13-69
13.2.20 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
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
Function
This command specifies whether to send 1pps ToD messages to the ONU.
13-70
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to send 1pps ToD messages to the ONU:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#1pps-tod enable
Related Commands
None
13.3.2 action
Syntax
action name1
Function
This command enables or disables an Optical Network Unit (ONU).
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
None
13-71
Examples
The following example shows how to enable an ONU:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#action active
Related Commands
None
13.3.3 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
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
13-72
13.3.4 clear
Syntax
clear
Function
This command resets the service configuration of the ONU interface to the initial state.
Parameters
None
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to reset the service configuration of the ONU interface
to the initial state:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#clear
Related Commands
Commands for clearing ONU configuration data in PON global mode:
ZXAN(config)#pon
13.3.5 dba
Syntax
dba mode name1
Function
This command configures the GPON ONU Dynamic Bandwidth Allocation (DBA) mode.
13-73
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the ONU DBA mode to hybrid:
XAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#dba mode hybrid
Related Commands
None
13.3.6 description
Syntax
description WORD1
no description
Function
This command configures the ONU interface description information.
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
13-74
Examples
The following example shows how to configure the description information about an ONU
interface to onu1:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#description onu1
Related Commands
None
13.3.7 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
13.3.8 enable
13.3.8 enable
Syntax
enable
13-75
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
13.3.7 disable
13.3.9 encrypt
Syntax
encrypt number1 {enable [{downstream |bidirection } ] |disable }
Function
This command enables or disables GPON Encapsulation Method (GEM) port encryption
by the ONU.
Parameters
13-76
Mode
GPON ONU interface mode and GPON line configuration 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
Related Commands
None
13.3.10 fec
Syntax
fec {none |upstream }
Function
This command configures GPON ONU Forward Error Correction (FEC).
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable FEC for ONU:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#fec upstream
13-77
Related Commands
None
13.3.11 gemport
Syntax
gemport number1 {{[down-queue-map-id number2 ] [up-queue-map-id number3 ] }|state name1
|traffic-limit {[upstream name2 ] [downstream name3 ] }|[name name4 ] [portid number4 ] tcont
number5 [[queue number6 ] ] }
no gemport number1
Function
This command configures the GEM port properties.
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
You need to create the T-CONT first. To configure GEM port rate limiting, you need to
configure the rate limiting profile in global GPON mode. Using the default profile indicates
not to use rate limiting.
13-78
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 tcont 1
ZXAN(config-if)#gemport 1 traffic-limit upstream default downstream default
Related Commands
None
13.3.12 link-test
Syntax
link-test test-times number1
Function
This command tests the line status between the OLT and ONU.
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
None
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
13-79
13.3.13 multicast-encrypt
Syntax
multicast-encrypt name1
Function
This command enables or disables ONU multicast encryption.
Parameters
Mode
GPON ONU interface mode, GPON Line configuration mode
Usage Guidelines
The PON interface multicast encryption controls whether PON interface multicast data can
be encrypted. The ONU multicast encryption controls whether the ONU can decrypt and
receive encrypted multicast streams.
Examples
The following example shows how to enable ONU multicast encryption:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#multicast-encrypt enable
Related Commands
Commands for enabling PON interface multicast encryption:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#multicast-encrypt enable
13.3.14 name
Syntax
name WORD1
no name
Function
This command configures the ONU alias.
13-80
Parameters
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
Related Commands
None
13.3.15 omcc-bandwidth
Syntax
omcc-bandwidth name1
no omcc-bandwidth
Function
This command configures the ONU OMCI channel bandwidth.
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
Before configuring the ONU OMCI channel bandwidth, use the ZXAN(config-gpon)#profil
e tcont command to create a T-CONT profile.
13-81
Examples
The following example shows how to configure the ONU OMCI channel bandwidth:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#omcc-bandwidth tcont1
Related Commands
13.1.22 profile tcont
13.3.16 omcc-encrypt
Syntax
omcc-encrypt name1
Function
This command enables or disables the ONU Management and Control Channel (OMCC)
encryption function.
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the OMCC encryption function:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#omcc-encrypt enable
Related Commands
None
13-82
13.3.17 optical-line-number
Syntax
optical-line-number WORD1
no optical-line-number
Function
This command configures the number for an ONU optical line to facilitate network
management.
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to configure an ONU optical line number:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#optical-line-number No.889-BiboRd
Related Commands
None
Function
This command enables or disables GEM port performance statistics.
13-83
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to start GEM port performance statistics:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#performance gemport 1 start
Related Commands
None
Function
This command enables or disables VPORT performance statistics.
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
None
13-84
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
13.3.20 registration-method
Syntax
registration-method {sn name1 {[pw name2 ] |[hpw name3 ] } |pw name4 |hpw name5 |loid name6
{[pw name7 ] |[hpw name8 ] } }
Function
This command modifies the ONU registration mode.
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to modify the ONU registration mode to sn:
13-85
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#registration-method pw zte123
Related Commands
None
Function
This command shows the basic configuration information about a GPON ONU.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the basic configuration information about a GPON ONU:
Related Commands
None
13-86
Function
This command shows the information about an ONU based on the key information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the information about an ONU:
13-87
Related Commands
None
Function
This command shows the detailed information about a GPON ONU.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about a GPON ONU:
ZXAN(config)#show gpon onu detail-info gpon-onu_1/3/1:1
13-88
Related Commands
None
Function
This command shows the ONU distance.
Parameters
Mode
Any mode except user mode
13-89
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#
Related Commands
None
Function
This command shows the configuration information about a GPON GEM port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None.
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
13-90
ONU: 1
GEM port: 1
Name: gemport1
T-CONT: 1
Port ID: 129
GEM port direction: both
Encrypt status: disable
Default queue: 0
Down traffic profile name: default
Up traffic profile name: default
Status: active
Down queue map ID: 0
Up queue map ID: 0
Related Commands
None
Function
This command shows the next GEM port ID that can be obtained by the ONU.
Parameters
Mode
Any mode 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
13-91
4.
ZXAN#
Related Commands
None
Function
This command shows the GPON ONU state.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the state of the ONU on OLT interface 1 in slot 3 of shelf 1:
Related Commands
None
13-92
Function
This command shows the configuration information about the GPON T-CONT.
Parameters
Parameter Description Value
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information about the GPON T-CONT:
ZXAN(config-gpon)#show gpon onu tcont gpon-olt_1/3/1 1
Name: tcont1
OLT: gpon-olt_1/3/1
ONU: 1
T-CONT: 1
Alloc ID: 256
DBA gap mode: mode2
Using following bandwidth profile:
Profile name: default
Related Commands
None
13-93
Function
This command shows the unauthorized ONU information.
Parameters
Mode
Any mode 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:
Related Commands
None
Function
This command shows the GPON ONU VPORT information.
13-94
Parameters
Mode
Any mode 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:
Related Commands
None
13.3.31 shutdown
Syntax
shutdown
no shutdown
Function
This command shows how to enable or disable an interface. By default, it is enabled.
Parameters
None
13-95
Mode
GPON ONU interface mode
Usage Guidelines
None.
Examples
The following example shows how to enable interface gei_1/21/1:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#no shutdown
Related Commands
None
13.3.32 sn-bind
Syntax
sn-bind {enable [{sn |both } ] |disable |update-sn }
Function
This command enables or disables the SN binding of ONU authentication.
Parameters
sn SN binding. -
Mode
GPON ONU interface mode and GPON line configuration mode
13-96
Usage Guidelines
None
Examples
The following example shows how to enable the SN binding of ONU authentication:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#sn-bind enable
Related Commands
None
13.3.33 state
Syntax
state name1
Function
This command modifies the state of a specified ONU.
Parameters
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
13-97
13.3.34 tcont
Syntax
tcont number1 [name name1 ] [allocid number2 ] {gap name2 |profile name3 }
no tcont number1
Function
This command configures T-CONT properties.
Parameters
Mode
GPON ONU interface mode and GPON line configuration 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
13.3.35 type
Syntax
type name1
no type
13-98
Function
This command configures the ONU type.
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
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.
Examples
The following example shows how to modify an ONU type:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#type ZTE-F621
Related Commands
None
13.3.36 vport
Syntax
vport number1 [name name1 ] [map-type name2 ]
no vport number1
Function
This command creates an ONU VPORT.
13-99
Parameters
Parameter Description Value
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
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)#
Related Commands
None
13.3.37 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
13-100
Mode
GPON ONU interface mode and GPON line configuration 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)#
Related Commands
None
13.3.38 vport-mode
Syntax
vport-mode {onu |gemport |manual } [def-map-type name1 ]
Function
This command configures the ONU VPORT mode.
Parameters
Mode
GPON ONU interface mode and GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the ONU VPORT mode to ONU mode:
13-101
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#vport-mode onu
ZXAN(config-if)#
Related Commands
None
Function
This command configures the Optical Network Unit (ONU) auto shutdown function after
an ONU Ethernet port is looped.
Parameters
Mode
GPON ONU MNG mode, GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU auto shutdown function and set
the revert–time to 15 seconds:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#auto-shutdown revert-time 15
Related Commands
None
13-102
13.4.2 broadcast-limit
Syntax
broadcast-limit {cpu |ethuni name1 } number1
Function
This command configures ONU multicast packet rate limiting.
Parameters
cpu CPU -
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13.4.91 show gpon remote-onu broadcast-limit
13.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 } ] }
13-103
Function
This command configures a CFM Maintenance Association (MA) in the specified MD
and specifies the parameters such as name, CCM time interval, managed VLANs, MHF
creation policy, Sender ID TLV filling policy.
Parameters
Parameter Description Value
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 a CFM MA in the specified MD:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
13-104
Related Commands
None
13.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
Function
This command configures a CFM Maintenance Domain (MD) and specifies the parameters
such as name, level, MHF creation policy, Sender ID TLV filling policy.
Parameters
number1 MD ID 1–16
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 ONU MD:
13-105
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
Function
This command creates a Maintenance association End Point (MEP) that is correlated with
an ONU Ethernet user port, and specifies the parameters such as MEP Id, primary VLAN,
other correlated VLANs, CCM interval, and the associated MD name and level.
To simplify configurations, the first command is used to create an MEP. The parameters
not configured in the command use the default values. The second command is used to
modify the parameters of the created MEP.
Parameters
alarm Alarm. -
13-106
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.
Examples
The following example shows how to configure an MEP (MEP ID 111) that is correlated
with bridge port eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-107
13.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.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13.4.7 dhcp-option60
Syntax
dhcp-option60 {enable name1 |disable }
13-108
Function
This command configures the ONU DHCP option 60 function.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13.4.8 dot1p-map
Syntax
dot1p-map [flow number1 ] [{[unmark-option name1 ] [{dscp2prio name2 |ipp2pri name3 |tos2
pri name4 } ] [def-pri number2 ] }]
Function
This command configures the mapping properties of 802.1p service priorities.
13-109
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the mapping mode of 802.1p service
priorities to the default 0:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-110
13.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 ]
Function
This command configures ONU 802.1x properties.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-111
Usage Guidelines
None
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
Function
This command configures 802.1x properties of an Ethernet user port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
13-112
Examples
The following example shows how to configure the 802.1x properties of Ethernet user port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13.4.11 equip-mgmt
Syntax
equip-mgmt {battery-backup name1 |state name2 |sec-mode name3 }
Function
This command configures ONU equipment information.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU to enable the secondary battery
monitoring:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-113
13.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.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13-114
Related Commands
None
13.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
Function
This command configures the extended VLAN mapping items of an ONU.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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(config-
gpon)#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
13-115
Related Commands
None
13.4.14 file-server
Syntax
file-server name1 name2 username name3 password name4
no file-server
Function
This command configures the ONU configuration file server.
Parameters
password Password -
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU configuration file server:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#file-server 10.67.9.10 cfg.dat username zte password zte
Related Commands
None
13-116
13.4.15 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
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
13-117
Function
This command configures the firewall IP filter of an ONU.
Parameters
ingress Ingress. -
egress Egress. -
13-118
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the filter conditions or delete the filter, use the no form of this command.
Examples
The following example shows how to configure the firewall IP filter of an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
Function
This command configures the firewall MAC filtering of an ONU.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-119
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 of an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
13.4.18 firewall mac-filter-table
no firewall mac-filter-table
Function
This command configures the firewall MAC address filtering of an ONU.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
13-120
Examples
The following example shows how to configure the firewall MAC address filtering of an
ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
Function
This command configures ONU firewall port forwarding from a public network to a private
network.
Parameters
13-121
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the matching conditions or delete port forwarding, use the no form of this
command.
Examples
The following example shows how to configure firewall port forwarding:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13.4.20 flow
Syntax
flow number1 {{[pri number2 ] [vlan number3 ] }|[{switch name1 |ethuni name2 |eth-flow number4
|iphost number5 |down-multicast name3 } ] }
Function
This command configures or adds the Tag Control Information (TCI) items corresponding
to service flows.
13-122
Parameters
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.
number5 IP host ID. It indicates that the flow is the upstream 1–255
service flow mapped from the IP host through
802.1p.
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Related Commands
None
13-123
Function
This command configures the flow matching mode.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None.
Examples
The following example shows how to set the matching mode of flow 1 as follows:
Related Commands
None
13-124
13.4.22 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 } ]
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
downstream Downstream. -
upstream Upstream. -
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-125
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)#
Related Commands
None
Functions
This command allocates or releases an HTTP management port for the ONU.
Parameters
Format
GPON ONU interface mode and EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to allocate an HTTP management port for the ONU:
ZXAN(config-if)#http onu-mng-port alloc
ZXAN(config-if)#show mpnat onu-mng-port all
13-126
Related Commands
None
13.4.24 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 user port IGMP parameters and associate them with
an IGMP profile.
Parameters
13-127
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU Ethernet user port IGMP
parameters and associate them with an IGMP profile:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
Function
This command configures the ONU multicast monitoring function.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
13-128
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
Function
This command configures properties of a CES user port.
Parameters
13-129
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
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
Function
This command configures properties of an Ethernet user port.
Parameters
13-130
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Function
This command configures the BER thresholds of SF/SD alarms on the ONU PON port.
13-131
Parameters
name2 Minimum alarm threshold of the receiving optical -27 dBm to -8 dBm
rate, precision: 0.5 dBm.
name3 Maximum alarm threshold of the receiving optical -27 dBm to -8 dBm
rate, precision: 0.5 dBm.
name4 Minimum alarm threshold of the sending optical -0.5 dBm to -5 dBm
rate, precision: 0.5 dBm.
name5 Maximum alarm threshold of the sending optical -0.5 dBm to -5 dBm
rate, precision: 0.5 dBm.
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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 SF/SD alarms on the PON port
to -4 dB and -8 dB:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-132
Function
This command configures properties of a Plain Old Telephone Service (POTS) user port.
Parameters
name6 Sent signal gain, precision: 0.1 dB, default: 0 -12.0 dB to 6.0 dB
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the state of a POTS user port to lock:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-133
Function
This command configures properties of a video port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13-134
Function
This command configures the video Access Node Interface (ANI) of an ONU port.
Parameters
name3 Optical power lower threshold, granularity: 0.1 -12.0 dBm to 6.0 dBm
dB.
name4 Optical power upper threshold, granularity: 0.1 -12.0 dBm to 6.0 dBm
dB.
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the state of a video ANI 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
13-135
Function
This command configures the properties of a Wireless Fidelity (WiFi) port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the state of a WiFi port to lock:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13.4.33 ip route
Syntax
ip route ip_addr1 ip_addr2 {[ip_addr3 ] [output-port number1 ] }
Function
This command creates an ONU static route.
13-136
Parameters
Parameter Description Value
ip_addr1 Subnet ID -
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13.4.34 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 properties of an ONU IP host.
Parameters
Parameter Description Value
13-137
ip_addr1 IP address -
ip_addr2 IP mask -
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 IP host:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13.4.35 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 host and a service.
13-138
Parameters
host Host -
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
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 host
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
13.4.36 lct
Syntax
lct {disable |enable }
Function
This command configures the Local Craft Terminal (LCT) function for an ONU.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-139
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
13.4.37 loop-detect
Syntax
loop-detect ethuni name1 name2
Function
This command configures the loop-back detection function for an Ethernet port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable loop-back detection for an Ethernet port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-140
13.4.38 loopback
Syntax
loopback
no loopback
Function
This command enables ONU loop-back.
Parameters
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 enable loop-back:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#loopback
Related Commands
None
13.4.39 mac-filter
Syntax
mac-filter {ethuni name1 |flow number1 |iphost number2 } hexadecimal1 name2 [name3 ]
Function
This command creates MAC address filtering items on a user port.
13-141
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
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
Related Commands
None
13.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.
13-142
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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 MGC service:
ZXAN(gpon-onu-mng)#mgc-service pots_0/1 profile test1
Related Commands
None
13.4.41 mgmt-ip
Syntax
mgmt-ip ip_addr1 ip_addr2 vlan number1 priority number2 route ip_addr3 ip_addr4 ip_addr5
[host number3 ]
Function
This command configures the management IP address of a GPON ONU.
Parameters
ip_addr1 -
ip_addr2 -
number1 1–4094
number2 0–7
13-143
ip_addr3 -
ip_addr4 -
ip_addr5 -
number3 1–255
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configuration the management IP address of a GPON
ONU:
ZXAN(gpon-onu-mng)#mgmt-ip 10.2.3.4 255.0.0.0 vlan 3 priority 1 route 10.3.2.5
255.0.0.0 10.2.3.6 host 3
Related Commands
None
Function
This command configures auto assignment of management IP addresses from the address
pool by an ONU.
Parameters
Parameter Description Value
Mode
GPON ONU MNG mode
Usage Guidelines
None
13-144
Examples
The following example shows how to configure auto assignment of management IP
addresses from the address pool by an ONU:
Related Commands
None
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(gpon-onu-mng)#mgmt-ip release
Related Commands
None
13.4.44 mirror
Syntax
mirror ethuni name1 gemport number1 direction name2
13-145
Function
This command configures the ONU mirroring function.
This command configures the mirroring of the service data on a UNI interface at the
specified direction from a GEM port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the mirroring of the service data on a UNI
interface at the specified direction from a GEM port:
Related Commands
None
13.4.45 mvlan
Syntax
mvlan name1
Function
This command configures a GPON ONU multicast VLAN.
13-146
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a ONU multicast VLAN:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mvlan 100
Related Commands
None
Function
This command configures the downstream multicast VLAN tag processing policy under
the GPON ONU UNI port.
13-147
Parameters
Mode
GPON ONU MNG mode, GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable multicast VLAN tag removing for an Ethernet
port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mvlan tag eth_0/1 strip
Related Commands
None
13.4.47 name
Syntax
name name1
no name
13-148
Function
This command sets the ONU alias.
Parameters
Mode
GPON ONU MNG mode, GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the ONU alias:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#name ZTE
Related Commands
None
13.4.48 onu-vlan
Syntax
onu-vlan {ethuni name1 |iphost number1 |wifi name2 } [{[up-mode name3 ] [up-pri number2
up-vlan number3 ] [down-mode name4 ] }]
Function
This command configures the ONT VLAN properties.
Parameters
13-149
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13.4.49 password
Syntax
password name1
Function
This command configures the ONU password.
Parameters
Mode
GPON ONU MNG mode
13-150
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
Function
This command configures the ONU call control performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Related Commands
None
13-151
Function
This command configures 802.1x performance statistics for an ONU Ethernet UNI.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
None
13-152
Function
This command configures ONU Ethernet performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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 eth_0/1 start
Related Commands
None
Function
This command configures ONU FEC performance statistics.
13-153
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Function
This command configures ONU service flow performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
13-154
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
Function
This command configures ONU GEM port performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13-155
Function
This command configures ONU IP host performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Function
This command configures ONU MGC performance statistics.
13-156
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Function
This command configures ONU multicast performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-157
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
13.4.59 performance pw
Syntax
performance pw name1 name2
Function
This command configures ONU virtual circuit performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13-158
Function
This command configures ONU Remote Authentication Dial In User Service (RADIUS)
performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
None
13-159
Function
This command configures ONU RTP performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Function
This command enables ONU SIP performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-160
Usage Guidelines
None
Examples
The following example shows how to enable ONU SIP performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance sip 1 start
Related Commands
None
Function
This command configures ONU bridge port performance statistics.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13-161
Function
This command configures performance statistics for an ONU UNI bridge port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Function
This command configures performance statistics for an IP host bridge port.
13-162
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
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
Function
This command configures ONU VLAN performance statistics.
Parameters
13-163
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
ZXAN(gpon-onu-mng)#performance vlan ethuni eth_0/1 1 start
Related Commands
None
Function
This command starts or stops global performance statistics for the GPON ONU voice
quality.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
13-164
Examples
The following example shows how to start global performance statistics for the voice quality
of gpon-onu_1/3/1:1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance voice start
Related Commands
None
Function
This command starts or stops voice quality performance statistics for a GPON ONU voice
port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13-165
13.4.69 pkt-filter
Syntax
pkt-filter {ethuni name1 |flow number1 |iphost number2 } [{[ipv4-mcast name2 ] [ipv6-mcast
name3 ] [ipv4-broadcast 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
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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)#
13-166
Related Commands
None
13.4.70 pon-onu-mng
Syntax
pon-onu-mng interface1
Function
This command enters GPON ONU remote management mode.
Parameters
Mode
ZXAN (config)#
Usage Guidelines
Before entering remote configuration mode, register the ONU in GPON 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
13.4.71 power-save
Syntax
power-save profile name1
no power-save profile
13-167
Function
This command configures ONU power saving.
Parameters
Mode
GPON ONU MNG mode
Usage Guidelines
Before configuring power saving, enter PON global mode and use the onu profile power-s
ave command to create a power saving profile.
Examples
The following example shows how to configure ONU power saving through the profile
named test:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#power-save profile test
Related Commands
None
13.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 disables the specified services when the ONU uses the standby battery
due to external AC power failure. It helps reduce power consumption.
13-168
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-169
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to disable the specified service to reduce power
consumption:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#power-shedding restore-interval 23 data interval 23
Related Commands
None
13.4.73 pppoe
Syntax
pppoe [{[number1 ] [nat name1 ] [auth name2 ] [connect name3 ] [release-timer {internal |numb
er2 } ] [user name4 password name5 ] }]
no pppoe [number1 ]
Function
This command configures ONU PPPoE.
Parameters
Mode
GPON ONU MNG mode
13-170
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure ONU PPPoE:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pppoe 1 connect manual
Related Commands
None
Function
This command configures ONU Ethernet port protocol filtering.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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)#proto-filter ethuni eth_0/1 forward enable vlan 1-3
Related Commands
None
13-171
13.4.75 proto-proc
Syntax
proto-proc [ethuni name1 ] {[ctrl name2 ] [limit name3 ] }
Function
This command configures the ONU protocol processing policy.
Parameters
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
Related Commands
12.9.9 onu profile proto-ctrl
13-172
13.4.76 pw delete
Syntax
pw delete name1
Function
This command deletes a Pseudo Wire (PW).
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13.4.77 pw optional
Syntax
pw optional name1 {[service-type name2 ] [signalling name3 ] [arc name4 arc-interval number1
]}
Function
This command configures PW optional properties.
13-173
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
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
Function
This command creates a PW over Ethernet.
Parameters
13-174
name3 Loop-back -
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Related Commands
None
13.4.79 pw psn ip
Syntax
pw psn ip name1 near-end-ip number1 [host number2 ] far-end-ip name2 [dscp number3 ]
Function
This command creates a PW over IP.
13-175
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None.
Examples
The following example shows how to create a PW over IP.
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
Function
This command creates a PW over MPLS.
13-176
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
Before creating a PW over MPLS, use the ZXAN(config)#cip 1 command to create a CIP
and perform related configurations.
Examples
The following example shows how to create a PW over MPLS:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pw psn mpls ces_0/1 cip 1 channel 1-16
Related Commands
None
13.4.81 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.
Parameters
13-177
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure PW RTP properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pw rtp ces_0/1 payload-ssrc 2 signalling-ssrc 3 payload-ptype 4
signalling-ptype 0 expected-payload-ptype 0 expected-signalling-ptype 4
clock-reference 2 rtp-ts-mode absolute
Related Commands
None
13.4.82 pw tdm
Syntax
pw tdm name1 payload-size number1 [payload-delay number2 ] timing-mode name2 [tdm-pro
file name3 ]
Function
This command configures PW Time Division Multiplexing (TDM) properties.
13-178
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure PW TDM properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pw tdm ces_0/1 payload-size 32 timing-mode differential-timing
Related Commands
None
13.4.83 reboot
Syntax
reboot
Function
This command reboots the ONU.
Parameters
None
Mode
GPON ONU MNG mode
Usage Guidelines
None
13-179
Examples
The following example shows how to reboot the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#reboot
Related Commands
None
13.4.84 restore
Syntax
restore
Function
This command restores the ONU configuration data 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 configuration to the factory
default settings:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#restore
Related Commands
None
13-180
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
13.4.86 schedule
Syntax
schedule name1 profile name2
Function
This command configures ONU Ethernet user port scheduling, correlating the user port to
a scheduling profile.
13-181
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
13.4.87 security-ctrl
Syntax
security-ctrl {disable |enable psk name1 }
Function
This command enables security enhancement control.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
13-182
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
13.4.88 security-mgmt
Syntax
security-mgmt number1 [{[state name1 ] [mode name2 ] [ingress-type {name3 |iphost number2 }
] [start-src-ip ip_addr1 end-src-ip ip_addr2 ] [protocol {[web ] [ftp ] [telnet ] [ssh ] [https ] [snmp
] [tr069 ] }] }]
no security-mgmt number1
Function
This command configures ONU security management.
Parameters
13-183
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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-mgmt 1 mode forward
Related Commands
None
13.4.89 service
Syntax
service name1 gemport number1 [{ethuni name2 |iphost number2 } ] [{[cos name3 ] [vlan name4
] |[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
13-184
name3 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.
name4 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.
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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.
The service transparent mode, CoS mapping mode, VLAN mapping mode, CoS+VLAN
mapping mode, and port mapping mode are exclusive with each on an ONU.
Untagged services and tagged services (CoS mapping, VLAN mapping, and CoS+VLAN
mapping) can coexist on an ONU.
Examples
The following example shows how to map the VLAN 100 data of the ONU to gemport 1
and map the untag data to gemport 2:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-185
Function
This command shows the ONU auto shutdown configuration information.
Parameters
Mode
Any mode 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
Function
This command shows the ONU broadcast packet rate limiting information.
13-186
Parameters
Mode
Any mode 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
Interface: eth_0/1
Limit rate: 100
Interface: eth_0/2
Limit rate: 100
Interface: eth_0/3
Limit rate: 100
Interface: eth_0/4
Limit rate: 100
ZXAN#
Related Commands
13.4.2 broadcast-limit
13-187
Function
This command shows VoIP call records.
Parameters
Mode
Any mode 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
Function
This command shows the ONU capability.
Parameters
Mode
Any mode except user mode
13-188
Usage Guidelines
None
Examples
The following example shows the ONU capability:
Related Commands
None
Function
This command shows the ONU CFM MA configuration information.
13-189
Parameters
number1 MD ID 1–16
number2 MA ID 1–32
Mode
Any mode except user mode
Usage Guidelines
None
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
Primary VLAN: 0
Normal VLANs:
MHF creation: defer
Related Commands
None
Function
This command shows the ONU CFM MD configuration information.
13-190
Parameters
Parameter Description Value
number1 MD ID 1–16
Mode
Any mode except user mode
Usage Guidelines
None
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
Function
This command shows the ONU CFM Maintenance End Point (MEP) information.
Parameters
Parameter Description Value
number1 MD ID 1–16
number2 MA ID 1–32
13-191
Mode
Any mode 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
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)
Related Commands
None
Function
This command shows the DHCP IP address assignment mode on an ONU Ethernet port.
13-192
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the DHCP IP address obtaining method of an Ethernet user
port:
ZXAN(config)#show gpon remote-onu dhcp-ip ethuni gpon-onu_1/14/1:1
Interface: eth_0/1
DHCP IP obtain control mode:no control
Related Commands
dhcp-ip ethuni
Function
This command shows the ONU DHCP option 60 configuration.
Parameters
Mode
Any mode except user mode
13-193
Usage Guidelines
None
Examples
The following example shows the ONU DHCP option 60 configuration:
Related Commands
None
Function
This command shows the 802.1p mapper configuration information.
Parameters
Mode
Any mode 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
13-194
Related Commands
None
Function
This command shows the ONU 802.1x configuration information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU 802.1x configuration information:
Related Commands
None
13-195
Function
This command shows the 802.1x configuration information on an ONU UNI.
Parameters
Mode
Any mode 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
13-196
Function
This command shows the ONU device information, including administrative status, standby
battery status, security, device ID, OMCC version, start time, and system uptime.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU device information:
ZXAN(config)#show gpon remote-onu equip gpon-onu_1/3/1:1
13-197
Related Commands
None
Function
This command shows the extended VLAN tag configuration information on a specified
layer 2 bridge port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-198
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
Related Commands
None
Function
This command shows the extended VLAN tag configuration information on a specified
service flow.
Parameters
Mode
Any mode 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
13-199
DownMode: inverse-upstream
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the extended VLAN mapping item configuration on a layer 2 bridge
port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-200
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
Related Commands
None
Function
This command shows the extended VLAN mapping item configuration on a specified
service flow.
Parameters
Mode
Any mode 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
13-201
Filter: single-tag-vid100
Treat: add-outer-vid200
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU file server configuration.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU file server configuration:
ZXAN(gpon-onu-mng)#show gpon remote-onu file-server gpon-onu_1/3/1:1
File server: 10.1.1.1
File name: cfg.xml
Username: zte
Password: zte
Related Commands
None
13-202
Function
This command shows the ONU firewall configuration information.
Parameters
Mode
Any mode 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
Function
This command shows the IP filtering configuration information on the ONU firewall.
13-203
Parameters
Mode
Any mode 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
Function
This command shows the MAC filtering configuration information on the ONU firewall.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-204
Examples
The following example shows the MAC filtering configuration information on the ONU
firewall:
Related Commands
None
Function
This command shows the MAC filtering table configuration information on the ONU firewall.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the MAC filtering table configuration information on the ONU
firewall:
Related Commands
None
13-205
Function
This command shows the forward filtering configuration information on the ONU firewall.
Parameters
Mode
Any mode 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
Status: disable
IP Host: 1
Protocol: tcp
WAN IP: not filter
WAN port: 1-65535
LAN MAC: 1111.1111.1111
LAN port: 1-65535
Related Commands
None
13-206
Function
This command shows the flow information.
Parameters
Mode
Any mode 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: vlan-match
Untag filter: discard
TCI items:
Priority VID
----------------------------------
0 100
Flow ID: 2
Interface: switch_0/1
Tag filter: vlan-match
Untag filter: discard
TCI items:
Priority VID
----------------------------------
0 200
13-207
Related Commands
None
Function
This command shows the GEM port information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the GEM port information:
13-208
Related Commands
None
Function
This command shows the ONU multicast configuration information.
Parameters
Mode
Any mode 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 eth_0/1
Interface: eth_0/1
Max groups: 0
Max bandwidth: 0
13-209
Profile: test
Related Commands
None
Function
This command shows the ONU multicast monitoring configuration information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-210
Examples
The following example shows the ONU multicast monitoring configuration information:
ZXAN#show gpon remote-onu igmp monitor gpon-onu_1/3/1:1
Interface: eth_0/1
Current multicast bandwidth:0(kbps)
Join message counter:0
Bandwidth exceeded counter:0
Dynamic group number: 0
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the CES user port properties.
Parameters
Mode
Any mode 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
13-211
Function
This command shows the Ethernet user port properties.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
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)#
13-212
Related Commands
None
Function
This command shows the PON port properties.
Parameters
Mode
Any mode except user mode
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
Function
This command shows the Plain Old Telephone Service (POTS) user port properties.
13-213
Parameters
Mode
Any mode 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
Impedance : 0
Tx-path: fulltimeOnHook
Rx-gain: +0.0(db)
Tx-gain: +0.0(db)
ZXAN#
Related Commands
None
Function
This command shows the video user port properties.
13-214
Parameters
Mode
Any mode 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
Function
This command shows the video ANI port properties.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-215
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#
Related Commands
None
Function
This command shows the WiFi port properties.
Parameters
Mode
Any mode except user mode
13-216
Usage Guidelines
None
Examples
The following example shows the WiFi port properties:
Related Commands
None
Function
This command shows the ONU IP route information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU IP route information:
Related Commands
None
13-217
Function
This command shows the configuration information on the ONU host IP address.
Parameters
Mode
Any mode except user mode
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_0/3/1:1 1
Host ID: 1
Host name:
Identify:
IP addres: 10.1.1.1
Mask: 255.255.255.0
Gateway: 10.1.1.254
Primary DNS: 0.0.0.0
Second DNS: 0.0.0.0
DHCP enable: disable
Ping response: disable
Traceroute response:disable
MAC address: 0000.0000.0000
Current IP address: 0.0.0.0
Current mask: 0.0.0.0
Current gateway: 0.0.0.0
Current primary DNS:0.0.0.0
Current second DNS: 0.0.0.0
13-218
Domain name:
Related Commands
None
Function
This command shows the mapping information between an IP address and a service.
Parameters
Mode
Any mode 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
Related Commands
13.4.35 ip-service-map
13-219
Function
This command shows the configuration information on the ONU local maintenance terminal
function.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on the ONU local maintenance
terminal function:
Related Commands
None
Function
This command shows the ONU LOID information.
Parameters
13-220
Mode
Any mode 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
Function
This command shows the configuration information on the ONU UNI loop detection
function.
Parameters
Mode
Any mode 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
13-221
Related Commands
None
Function
This command shows the configuration information on the ONU loop-back function.
Parameters
Mode
Any mode 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
13-222
Function
This command shows the ONU UNI MAC address.
Parameters
Mode
Any mode 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
Related Commands
None
Function
This command shows the MAC address filtering configuration information on the layer 2
bridge port.
Parameters
13-223
Mode
Any mode 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:
Related Commands
None
Function
This command displays the POTS MGC service configuration.
Parameters
13-224
Mode
Any mode except user mode
Usage Guidelines
This command can be configured when the VoIP protocol is H.248 or MGCP. In addition,
the associated MGC profile must have been created.
Example
The following example shows how to display the POTS MGC service configuration:
Related Commands
None
Function
This command shows the ONU management IP configuration information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the management IP configuration information of the ONU:
ZXAN(gpon-onu-mng)#show gpon remote-onu mgmt-ip gpon-onu_1/3/1:1
IP: 1.1.1.1
Mask: 255.255.255.0
13-225
Vlan: 100
Priority: 0
Subnet: 0.0.0.0
Netmask: 0.0.0.0
Nexthop: 1.1.1.10
Related Commands
None
Function
This command shows the ONU mirroring configuration information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU mirroring configuration information:
Related Commands
None
13-226
Function
This command shows the ONU multicast VLAN stripping and translation information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU multicast VLAN stripping and translation
information:
Related Commands
None
Function
This command shows the ONU multicast VLAN configuration information.
13-227
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU multicast VLAN configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu mvlan gpon-onu_1/3/1:1
Multicast VLAN: 100
Related Commands
None
Function
This command shows the ONU alias.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-228
Examples
The following example shows the ONU alias:
ZXAN(gpon-onu-mng)#show gpon remote-onu name gpon-onu_1/3/1:1
Name:ZTE_HELLO
Related Commands
None
Function
This command shows the VLAN configuration information on an ONU Ethernet UNI.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN configuration information on an ONU Ethernet
UNI:
Related Commands
None
13-229
Function
This command shows the VLAN configuration information on an ONU IP host.
Parameters
Mode
Any mode 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
Function
This command shows the VLAN configuration information on an ONU WiFi port.
13-230
Parameters
Mode
Any mode 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
Function
This command shows the ONU call control performance statistics data.
Parameters
Mode
Any mode except user mode
13-231
Usage Guidelines
None
Examples
The following example shows the ONU call control performance statistics data:
Related Commands
None
Function
This command shows the ONU Ethernet UNI 802.1x performance statistics data.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU Ethernet UNI 802.1x performance statistics data:
Related Commands
None
13-232
Function
This command shows the ONU Ethernet performance statistics data.
Parameters
interface1 - -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU Ethernet performance statistics data:
Related Commands
None
Function
This command shows the ONU FEC performance statistics data.
13-233
Parameters
Mode
Any mode 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_1/3/1:1
Related Commands
None
Function
This command shows the ONU service flow performance statistics data.
Parameters
Mode
Any mode except user mode
13-234
Usage Guidelines
None
Examples
The following example shows the ONU service flow performance statistics data:
Related Commands
None
Function
This command shows the ONU GEM port statistics data.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU GEM port performance statistics data:
Related Commands
None
13-235
Function
This command shows the ONU IP host performance statistics data.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU IP host performance statistics data:
Related Commands
None
Function
This command shows the ONU MGC performance statistics data.
13-236
Parameters
Mode
Any mode 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
Function
This command shows the ONU multicast performance statistics data.
Parameters
13-237
Mode
Any mode 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_1/3/1:1 ethuni eth_0/1
Related Commands
None
Function
This command shows the ONU PW performance statistics data.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU PW performance statistics data:
13-238
Related Commands
None
Function
This command shows the ONU RADIUS performance statistics data.
Parameters
Mode
Any mode 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_1/3/1:1
Related Commands
None
Function
This command shows the ONU RTP performance statistics data.
13-239
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU RTP performance statistics data:
ZXAN#show gpon remote-onu performance rtp gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the ONU SIP performance statistics data.
Parameters
Mode
Any mode except user mode
13-240
Usage Guidelines
None
Examples
The following example shows the ONU SIP performance statistics data:
Related Commands
None
Function
This command shows the ONU bridge statistics data.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU bridge port statistics data:
Related Commands
None
13-241
Function
This command shows the ONU UNI bridge port statistics data.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU UNI bridge port statistics data:
Related Commands
None
Function
This command shows the IP host bridge port performance statistics data.
13-242
Parameters
Mode
Any mode 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
Function
This command shows the ONU VLAN performance statistics data.
Parameters
Mode
Any mode except user mode
13-243
Usage Guidelines
None
Examples
The following example shows the ONU VLAN performance statistics data:
ZXAN#show gpon remote-onu performance vlan gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the ONU voice quality statistics data.
Parameters
Mode
Any mode 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 voice quality statistics data:
ZXAN(gpon-onu-mng)#show gpon remote-onu performance voice gpon-onu_1/3/1:1
Related Commands
None
13-244
Function
This command shows the packet filtering configuration information on a layer 2 bridge.
Parameters
Mode
Any mode 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:
13-245
Related Commands
None
Function
This command shows the ONU port distribution information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU port distribution information:
ZXAN#show gpon remote-onu port-map gpon-onu_1/5/1:1
Related Commands
None
Function
This command shows the ONU power shedding information.
13-246
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU power shedding 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
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
Related Commands
None
13-247
Function
This command shows the ONU PPPoE configuration information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
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
Host ID: 1
NAT: disable
Mode: auto
Connect: always
Release timer: 1200 (s)
Username:
Password:
Status: unconfigured
Online duration: 0 (s)
Related Commands
None
13-248
Function
This command shows the ONU protocol processing policy.
Parameters
ethuni - -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU protocol processing policy:
ZXAN(config-pon)#sho gpon remote-onu proto-proc gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the PW configuration information.
13-249
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the PW configuration information:
ZXAN(config)#show gpon remote-onu pw gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the Ethernet port scheduling.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
13-250
Examples
The following example shows the Ethernet port scheduling:
ZXAN(gpon-onu-mng)#show gpon remote-onu schedule gpon-onu_1/3/1:1
Interface : eth_0/1
Schedule profile: N/A
Related Commands
None
Function
This command shows the ONU security enhancement control configuration information.
Parameters
Mode
Any mode 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
13-251
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU security management information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU security management information:
ZXAN(gpon-onu-mng)#
13-252
Related Commands
None
Function
This command shows the service mapping relations configured on the ONU.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the service mapping relations configured on the ONU:
ZXAN(gpon-onu-mng)#show gpon remote-onu service gpon-onu_1/8/1:1
Service name GEM port IfId CoS VLAN
--------------------------------------------------------
1 1 -- 0 100
2 2 -- 1 200
Related Commands
None
13-253
Function
This command shows the POTS SIP configuration information.
Parameters
Mode
Any mode except user mode
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
Related Commands
None
Function
This command shows the ONU time configuration information.
Parameters
Mode
Any mode except user mode
13-254
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
Function
This command shows the ONU SSID configuration information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU WiFi port configuration information:
13-255
Related Commands
None
Function
This command shows the layer 2 bridge configuration information.
Parameters
Mode
Any mode 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
13-256
Related Commands
None
Function
This command shows the configuration information on a layer 2 bridge port.
Parameters
iphost IP host -
Mode
Any mode except user mode
13-257
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
Interface name: eth_0/1
Switch port: switch_0/1
Priority: 0 Path cost: 1
STP: true Encap method: llc
LAN FCS: forward MAC address: 0000.0000.0000
Traffic limit: None
Address learn depth: 0
Related Commands
None
Function
This command shows the ONU system attributes.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU system attributes:
ZXAN(gpon-onu-mng)#show gpon remote-onu sys-attr gpon-onu_1/3/1:1
13-258
CPU usage: 0%
Memory usage: 0%
CPU usage threshold: 100%
Memory usage threshold:100%
Related Commands
None
Function
This command shows the ONU call simulation test result.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU call simulation test result:
ZXAN#show gpon remote-onu test-result call gpon-onu_1/3/1:1 pots_0/1
Status:
test not started
Port Status:
idle
Failure Reason:
other
delay:
0.0
13-259
Related Commands
None
Function
This command shows the ONU IP host test result.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU IP host test result:
ZXAN(gpon-onu-mng)#show gpon remote-onu test-result iphost gpon-onu_1/3/1:1 1
Test item:
Status:
test not started
Result:
Related Commands
None
13-260
Function
This command shows the ONU Internet Protocol over Ethernet (IPoE) emulation test result.
Parameters
Mode
Any mode 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_1/3/1:1 eth_0/1
Status:
test not started
Related Commands
None
Function
This command shows the ONU Internet Protocol Television (IPTV) emulation test result.
Parameters
13-261
Mode
Any mode 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
Status:
test not started
Related Commands
None
Function
This command shows the ONU MEP test result.
Parameters
number1 MD ID 1–16
number2 MA ID 1–32
Mode
Any mode except user mode
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
13-262
Related Commands
None
Function
This command shows the ONU MEP LM-DM test result.
Parameters
number1 MD ID 1–16
number2 MA ID 1–32
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU MEP LM-DM test result:
Related Commands
None
13-263
Function
This command shows the ONU POTS test result.
Parameters
Mode
Any mode 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_1/3/1:1 pots_0/1
Status:
test not started
Result:
Related Commands
None
Function
This command shows the ONU PPPoE emulation test result.
Parameters
13-264
Mode
Any mode 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_1/3/1:1 eth_0/1
Status:
test not started
Related Commands
None
Function
This command shows the ONU TR069 management and configuration information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU TR069 configuration of the interface
gpon-onu_1/3/1:1:
ZXAN(gpon-onu-mng)#show gpon remote-onu tr069-mgmt gpon-onu_1/3/1:1
13-265
VEIP ID: 1
Admin status: lock
ACS:
Validation scheme: disable
Tag: priority : 7, vlan : 4095
Related Commands
13.4.224 tr069-mgmt
Function
This command shows the ONU rate limiting information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the ONU rate limiting information:
Related Commands
None
13-266
Function
This command shows the configuration information on a virtual Ethernet interface.
Parameters
Mode
Any mode 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
Related Commands
None
13-267
Function
This command shows the ONU VLAN processing information.
Parameters
xdsl -
name4 xDSL port ID, format: xdsl_slot/port, where slot 1–31 characters
indicates the slot number and port indicates the
port number
13-268
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN processing information on ONU Ethernet port
eth_0/1;
ZXAN(gpon-onu-mng)#show gpon remote-onu vlan eth gpon-onu_1/3/1:1 eth_0/1
Interface Mode Def-VID Def-Prio Vlan-list
............................................................................
eth_0/1 tag 100 0 --
Related Commands
None
Function
This command shows the port VLAN translation rule.
Parameters
eth - -
wifi - -
veip - -
13-269
gemport - -
gemport-mcast - -
wan - -
xdsl -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the port VLAN translation rule:
Related Commands
None
13-270
Function
This command shows VLAN filtering items.
Parameters
iphost IP host -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN filtering items on Ethernet port eth_0/1:
ZXAN(gpon-onu-mng)#show gpon remote-onu vlan-filter ethuni gpon-onu_1/3/1:1 eth_0/1
Interface Priority VLAN ID
13-271
...................................................................
eth_0/1 0 100
Related Commands
None
Function
This command shows the VLAN filtering mode.
Parameters
iphost IP host -
Mode
Any mode except user mode
13-272
Usage Guidelines
None
Examples
The following example shows the VLAN filtering mode on Ethernet port eth_0/1:
ZXAN(gpon-onu-mng)#show gpon remote-onu vlan-filter-mode ethuni gpon-onu_1/3/1:1
Interface Name: eth_0/1
Tag filter mode: vlan-match
Untag filter mode:discard
Related Commands
None
Function
This command shows the VoIP configuration.
Parameters
Mode
Any mode except user mode
Usage Guidelines
Any mode except user mode
Examples
The following example shows the VoIP configuration:
ZXAN(gpon-onu-mng)#show gpon remote-onu voip gpon-onu_1/3/1:1
13-273
Related Commands
None
Function
This command shows the VoIP IP configuration.
Parameters
media Media -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the VoIP IP configuration:
ZXAN(gpon-onu-mng)#show gpon remote-onu voip-ip gpon-onu_1/3/1:1
Slot index: 0
Mode: DHCP
ONU identifier: zte
Ping response: enable
Traceroute response: disable
VLAN tag mode: tag
CVLAN: 10
13-274
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: 2
Related Commands
None
Function
This command shows the VoIP link status.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the VoIP link status:
ZXAN(gpon-onu-mng)#show gpon remote-onu voip-linestatus gpon-onu_1/3/1:1
Interface: pots_0/1
13-275
Related Commands
None
Function
This command shows the ONU WAN configuration information.
Parameters
Mode
Any mode 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/8/1:1
WAN index: 1
Service: Internet
Host ID: 1
PPPoE connect mode: always
PPPoE release timer: 1200 (s)
PPPoE proxy: disable
13-276
Related Commands
None
Function
This command shows the global WAN connection configuration parameters.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the global WAN connection configuration parameters:
ZXAN(config-if)#show gpon remote-onu wan ctrl gpon-onu_1/3/1:1
Max users: by ONU default
Related Commands
None
13-277
Function
This command shows the WAN IP configuration information.
Parameters
Mode
Any mode 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_1/3/1:1
WAN idex: 1
Mode: DHCP
ONU identifier: zte
Ping response: enable
Traceroute response: disable
VLAN tag mode: tag
CVLAN: 10
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
13-278
Function
This command shows the T-CONT queue weight.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows the T-CONT queue weight:
ZXAN#show gpon remote-onu weight gpon-onu_1/3/1:1
T-CONT Queue Weight
--------------------------------------
1 1 1
1 2 1
1 3 1
1 4 1
Related Commands
None
Function
This command shows the WiFi global parameter configuration.
13-279
Parameters
Mode
Any mode 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
13.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
13-280
Function
This command configures the POTS SIP service.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
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-expiration 7200
Related Commands
13.4.170 show gpon remote-onu sip-service
13-281
13.4.200 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 simple network time management properties.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the time zone to GMT+8, primary server
to 1.2.3.4, and secondary serer to 1.2.3.6 for gpon-onu_1/3/1:1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
13-282
Function
This command configures Wired Equivalent Privacy (WEP) encryption mode for a WiFi
port.
Parameters
13-283
13-284
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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 6
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
13.4.202 ssid auth wpa
13.4.203 ssid ctrl
13-285
Function
This command configures WPA encryption mode for a WiFi port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
The key is not entered when you switch the key length in WEP mode.
13-286
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
key 12345678 key-update-interval 200
Related Commands
13.4.201 ssid auth wep
13.4.203 ssid ctrl
Function
This command configures ONU WiFi port management.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
13-287
To enable or disable the WiFi service SSID, run the following command:
Examples
The following example shows how to configure ONU WiFi port properties:
ZXAN(gpon-onu-mng)#ssid ctrl wifi_0/1 name SSID1
hide disable user-isolation enable max-users 10
Related Commands
None
13.4.204 switch
Syntax
switch name1 {[stp name2 ] [learn name3 ] [local-switch name4 ] [pri number1 ] [max-age numb
er2 ] [hello-time number3 ] [forward-delay number4 ] [unknownMac-discard name5 ] [addr-le
arn-depth number5 ] [aging-time number6 ] }
Function
This command configures MAC bridge properties.
Parameters
13-288
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
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
Function
This command configures Ethernet UNI bridge port properties.
Parameters
13-289
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Function
This command configures flow bridge port properties.
13-290
Parameters
number3 Path loss from the port to the root bridge. 0–65535
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
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
Function
This command configures IP host bridge port properties.
Parameters
number3 Path loss from the port to the root bridge. 0–65535
13-291
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Related Commands
None
Function
This command configures VEIP bridge port properties.
Parameters
Parameter Description Value
13-292
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
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
13.4.209 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.
13-293
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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)#
Related Commands
None
13.4.210 snyn-time
Syntax
sync-time
Function
This command synchronizes all the performance statistics starting time points. All the
performance statistics values are reset to 0 and the statistics are restarted.
Parameters
None
Mode
GPON ONU MNG mode
13-294
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)#sync-time
ZXAN(gpon-onu-mng)#
Related Commands
None
13.4.211 sys-attr
Syntax
sys-attr {[cpu-thresh number1 ] [mem-thresh number2 ] }
Function
This command configures ONU system properties.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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-thresh 80 mem-thresh 80
13-295
Related Commands
None
Function
This command allocates or releases a TELNET management port of the ONU.
Parameters
Format
GPON ONU interface mode and EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to allocate a TELNET management port for the ONU:
ZXAN(config-if)#telnet onu-mng-port alloc
ZXAN(config-if)#show mpnat onu-mng-port all
onu-mng-port alloc num:1
Onu-Pos Mng-TcpPort Protocol-Type
-------------------------------------------------------------------------------
gpon-onu_1/3/1:1 20001 telnet
ZXAN(config-if)#telnet onu-mng-port free
ZXAN(config-if)#show mpnat onu-mng-port all
onu-mng-port alloc num:0
Onu-Pos Mng-TcpPort Protocol-Type
-------------------------------------------------------------------------------
ZXAN(config-if)#
13-296
Related Commands
None
13.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:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test
Related Commands
None
Function
This command tests the ONU called party.
13-297
Parameters
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
Function
This command tests the ONU calling party.
Parameters
13-298
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
Function
This command tests the ONU IP host.
Parameters
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
13-299
Related Commands
None
Function
This command implements the ONU IPoE test.
Parameters
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the IPoE test through the user name and
password:
13-300
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
Related Commands
None
Function
This command implements the ONU IPTV test.
Parameters
Mode
GPON ONU MNG mode
Usage Guidelines
l The ONU needs to configure a filtering rule for untagged packets and tag them.
l The ONU needs to configure a filtering rule for tagged packets and translate the VLAN
or transparently transmit them.
13-301
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
Function
This command tests ONU MEP line trace.
Parameters
number1 MD ID 1–16
number2 MA ID 1–32
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
13-302
Related Commands
None
Function
This command tests ONU MEP LM-DM.
Parameters
name1 LM type. -
name2 DM type. -
name4 Interval. -
name6 Interval. -
Mode
GPON ONU MNG mode
Usage Guidelines
None
13-303
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 pri 1
Related Commands
None
Function
This command tests the ONU MEP loop-back.
Parameters
number1 MD ID 1–16
number2 MA ID 1–32
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
13-304
Related Commands
None
Function
This command tests the ONU voice port.
Parameters
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
13-305
Function
This command tests ONU PPPoE.
Parameters
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
13.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 } ] ] }]
Function
This command configures the ONU TR069 management channel parameters.
13-306
Parameters
disable No authentication -
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU TR069 management channel
parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
13-307
Related Commands
13.4.184 show gpon remote-onu tr069-mgmt
13.4.225 traffic-limit
Syntax
traffic-limit name1 [pri number1 ] [vlan number2 ] [eth-type name2 ] cir number3 [pri1 number4
pri2 number5 ]
Function
This command configures rate limiting for an ONU Ethernet user port.
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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 pri1 1 pri2 2
13-308
Related Commands
None
13.4.226 type
Syntax
type name1
Function
This command configures the ONU type in the remote management profile.
Parameters
Mode
GPON remote ONU configuration mode
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 zte
ZXAN(config-gpon-line)#remote
ZXAN(config-gpon-remote)#type ZTE-F660
Related Commands
None
13.4.227 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 of an ONU.
13-309
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the virtual Ethernet interface of the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
None
no vlan gemport number1 {vlan name1 |translate vlan number2 [pri number3 ] |mode }
Function
This command configures the VLAN processing rule for a GEM port.
13-310
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
13-311
Examples
The following example shows how to configure the translation rule for a GEM port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan gemport 1 translate vlan 1 cvlan 2 svlan 3
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu vlan gemport
13.4.188 show gpon remote-onu vlan translate
Function
This command configures the VLN processing rule of a multicast GEM port.
Parameters
13-312
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the conversion rule of a multicast GEM
port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan gemport-mcast 1 translate vlan 1 cvlan 2 svlan 3
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu vlan gemport-mcast
13-313
no vlan port name1 {vlan name2 |translate vlan number1 [pri number2 ] |mode }
Function
This command configures a VLAN conversion rule.
Parameters
13-314
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a VLAN conversion rule for port eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
Related Commands
show gpon remote-onu vlan eth
show gpon remote-onu vlan wifi
13-315
no vlan wan number1 {vlan name1 |translate vlan number2 [pri number3 ] |mode }
Function
This command configures the VLAN processing rule of a WAN connection.
Parameters
13-316
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the translation rule of a WAN connection:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan wan 1 translate vlan 1 cvlan 2 svlan 3
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu vlan wan
13.4.232 vlan-filter
Syntax
vlan-filter {ethuni name1 |iphost number1 |wifi name2 |veip number2 } pri number3 vlan numb
er4
no vlan-filter {ethuni name1 |iphost number1 |wifi name2 |veip number2 } priority number3 vlan
number4
Function
This command creates a VLAN filtering item.
13-317
Parameters
Parameter Description Value
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Related Commands
None
13.4.233 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
13-318
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
Related Commands
None
Function
This command configures VoIP global parameters.
Parameters
13-319
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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
validate basic username zte password zte
Related Commands
None
Function
This command configures the VoIP protocol.
13-320
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
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.
l The IP distribution modes are described as follows:
à 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(gpon-
onu-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
13-321
Related Commands
13.4.236 voip-ip
13.4.236 voip-ip
Syntax
voip-ip [media ] {ping-response name1 traceroute-response name2 |mode {pppoe [auth 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 ] } }
Function
This command configures the VoIP IP protocol.
Parameters
media Media. -
13-322
ip_addr1 IP address. -
ip_addr2 Mask. -
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
The parameters for this command are described as follows:
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.
l 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.
l 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.
l The media and signaling under the same ONU can only use the same mode, PPPoE,
static, or DHCP.
l When using the no form of this command, delete the voice service configuration first.
Examples
The following example shows how to set the VoIP IP protocol to static:
ZXAN(config-gpon)#onu profile ip test gateway 1.2.3.1
13-323
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
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
Related Commands
None
13.4.237 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
name2 SSID list correlated with the WAN, range: 1–38 characters
1–16
voip VoIP -
tr069 TR069 -
13-324
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
The parameters for this command are described as follows:
l The mtu, ethuni, and ssid optional parameters must be configured before the service
is specified.
l If there are other service types besides the Internet service, the Internet service should
be configured after the other services.
l 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.
l 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 the Internet service and the host is specified:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#wan 1 ethuni 1-16 ssid 1-16 mtu 2000 service internet host 1
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 2 ethuni 1,3,5 mtu 1000 ssid 2,4,6 service internet
13-325
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 3 ethuni 1 ssid 3 service other mvlan 1000
Related Commands
None
Function
This command configures the global ONU WAN connection parameters.
Parameters
no-limit No limitation. -
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the maximum number of users to be
connected to the WAN:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#wan ctrl max-users 10
Related Commands
None
13-326
13.4.239 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 [auth name7 ] username name8 password name9
vlan-profile name10 [host number4 ] } }
no wan-ip [number1 ]
Function
This command configures the ONU IP properties.
Parameters
ip_addr1 IP address. -
ip_addr2 Mask. -
13-327
Mode
GPON ONU MNG mode and GPON remote ONU configuration 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:
The following example shows how to set the allocation mode to static:
The following example shows how to set the allocation mode to PPPoE:
Related Commands
13.1.11 onu profile ip
13.4.240 weight
Syntax
weight tcont number1 queue number2 number3
Function
This command configures the T-CONT queue weight.
13-328
Parameters
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the T-CONT queue weight:
ZXAN(gpon-onu-mng)#weight tcont 1 queue 1 30
Related Commands
None
13.4.241 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 ]
Function
This command configures the WiFi global parameters.
Parameters
13-329
name7 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
name9 Sending power, unit: %, default: 100. 100, 80, 60, 40, 20
13-330
Mode
GPON ONU MNG mode and GPON remote ONU configuration mode
Usage Guidelines
l When the registration zone is set to Brazil, the working mode can only be set to
802.11b.
l When the registration zone is set to Canada or USA, the channel can only be set to
0–11.
l 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:
Related Commands
None
13-331
13-332
Function
This command configures the frame attributes of a card.
Parameters
Parameter Description Value
unframed Unframed -
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
The card configured with this command must support the switch between framed and
unframed mode (including CTUB).
Examples
The following example shows how to set the frame mode of the CTUB card in slot 3 to
"framed master":
ZXAN(config)#ces
ZXAN(config-ces)# card-frametype slotno 3 framed master
14-1
Related Commands
14.1.2 ces
Syntax
ces
Function
This command enters global CES configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enter global CES configuration mode:
ZXAN(config)#ces
ZXAN(config-ces)#
Related Commands
None
14.1.3 interface-speed
Syntax
interface-speed slotno number1 name1
Function
This command configures the SDH interface rate.
14-2
Parameters
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
Only SDH (including CTLA) cards can be configured with this command.
For the CTLA card, two optical interfaces are available when the rate is set to 155M
(STM-1), but only one optical interface is available when the rate is set to 622M (STM-4).
Examples
The following example shows how to set the interface rate of the CTLA card in slot 15 to
622M (STM-4):
ZXAN(config)#ces
ZXAN(config-ces)# interface-speed slotno 15 622M
Related Commands
14.3.8 show ces interface
14.1.4 ip-address
Syntax
ip-address ipv4 ip_addr1 name1
no ip-address
Function
This command configures a source IP address and its type.
Parameters
ip_addr1 IP address -
Mode
CES global configuration mode: ZXAN(config-ces)#
14-3
Usage Guidelines
A PDH card (including CTBB, CTTB, and CTUB) has only one IP address.
An SDH card (including CTLA) has two IP addresses, corresponding to two user interfaces
respectively.
A source IP address or its type cannot be modified when a PW link exists in the
corresponding slot.
By default, the source IP address is in the format of 192.192.192.x with the type of IPv4,
where X is "slot number × 2" or "slot number × 2 + 1".
Examples
The following example shows how to configure a source IP address to 192.168.0.10:
ZXAN(config)#ces
ZXAN(config-ces)#ip-address ipv4 192.168.0.10 5/1
Related Commands
14.1.12 show ces global-prop
14.1.5 line-coding
Syntax
line-coding slotno number1 name1
Function
This command configures the code type of a PDH interface.
Parameters
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
Only PDH interface cards (including CTBB, CTTB, and CTUB) can be configured with this
command.
This command is used to configure the code type of all the PDH interfaces on one card.
14-4
For E1 interface cards (including CTBB and CTUB), the default code type is HDB3.
Another optional code type is AMI.
For T1 interface cards (including CTTB), the default code type is B8ZS. Another optional
code type is 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
14.3.8 show ces interface
14.1.6 mac-address
Syntax
mac-address hexadecimal1 name1
Function
This command configures a source MAC address.
Parameters
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
A PDH card (including CTBB, CTTB, and CTUB) has only one MAC address.
An SDH card (including CTLA) has two MAC addresses, corresponding to two user
interfaces respectively.
A source MAC address cannot be modified when a PW link exists in the corresponding
slot.
By default, the source MAC address is in the format of 0015.EB72.X, where X is "slot
number × 2" or "slot number × 2 + 1".
14-5
Examples
The following example shows how to configure a source MAC address to 0015.EB72.003A:
ZXAN(config)#ces
ZXAN(config-ces)#mac-address 0015.EB72.003A 5/1
Related Commands
14.1.12 show ces global-prop
14.1.7 perf-clear-current
Syntax
perf-clear-current name1 {15-min |data }
Function
This command clears CES PW performance data.
Parameters
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
This command clears PW performance data in the current 15 minutes or all PW
performance data.
When the PW performance data in the current 15 minutes is cleared, the history
performance data is not cleared.
When all the PW performance data is cleared, both the performance data in the current
15 minutes and the history performance data are cleared.
CES PW performance data includes wanport performance data.
Examples
The following example shows how to clear the PW performance data in the current 15
minutes for pw_1/4/1:
14-6
ZXAN(config)#ces
ZXAN(config-ces)#perf-clear-current pw_1/4/1 15-min
Related Commands
14.1.8 pw
Syntax
pw name1
no pw name1
Function
This command creates a PW service and enters CES-PW configuration mode.
Parameters
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
Make sure that the PW service does not have a duplicate name.
To exit ces-pw configuration mode, use the exit command.
To delete a PW service, use the no form of this command.
Examples
The following example shows how to create the PW service pw_1/12/1 and enter ces-pw
configuration mode:
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/12/1
ZXAN(config-ces-pw)#
Related Commands
14.2.6 show ces pw count
14.2.7 show ces pw prop detail
14-7
14.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
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
Only SDH interfaces can be configured with this command.
Before using this command, make sure that the two SDH interfaces to be configured do
not belong to other protection groups.
The inline interfaces corresponding to the two configured SDH interfaces should be added
to the same VLAN.
Only 1+1 protection for the SDH interfaces between two cards is supported.
To delete the configured SDH protection groups, use the no form of this command.
Examples
The following example shows how to create the SDH protection group sdhprotect:
ZXAN(config)#ces
ZXAN(config-ces)#sdhprot group sdhprotect worksdhport tdm_1/3/1 protectsdhport tdm_1/4/1 1plus1
Related Commands
14.1.13 show ces sdhprot group count
14.1.14 show ces sdhprot group prop
14-8
Function
This command initiates a protection switching.
Parameters
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
When this command initiates a forcible switching, the current working card does not
respond to any other switching command or switching request triggered by alarms 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.
To cancel the switching configuration, use the no form of this command.
Examples
The following example shows how to initiate a forcible protection switching from the
working port to the protection port:
ZXAN(config)#ces
14-9
Related Commands
14.1.15 show ces sdhprot request
Function
This command displays the frame attribute information of a CES card.
Parameters
Mode
All modes except user mode
Usage Guidelines
This command can be used to display the frame information (including slot number, frame
type, clock mode, and card type) of the CES card in one slot or all the CES cards in one
shelf.
Examples
The following example shows how to display the frame information of the CTUB card in
slot 6:
Related Commands
14-10
Function
This command displays the global CES configuration.
Parameters
Mode
All modes except user mode
Usage Guidelines
This command can be used to display the global CES configuration (including slot number,
port number, source MAC address, and destination MAC address) of the CES card in one
slot or all the CES cards in one shelf.
Examples
The following example shows how to display the global CES configuration:
ZXAN(config)#show ces global-prop
Slot/Port SourceMAC Source IP
----------------------------------------------------------------
5/1 0015.EB72.000A 192.192.192.10
5/2 0015.EB72.000B 192.192.192.11
6/1 0015.EB72.000C 192.192.192.12
17/1 0015.EB72.0022 192.192.192.34
17/2 0015.EB72.0023 192.192.192.35
Related Commands
14.1.6 mac-address
14.1.4 ip-address
14-11
Function
This command displays the number and names of the existing SDH protection groups.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command does not display detailed information about a protection group.
Examples
The following example shows how to display the number and names of the existing SDH
protection groups:
Related Commands
14.1.9 sdhprot
Function
This command displays the details of an SDH protection group.
Parameters
Mode
All modes except user mode
14-12
Usage Guidelines
None
Examples
The following example shows how to display the details of an SDH protection group:
Related Commands
14.1.9 sdhprot
Function
This command displays all the requests for an SDH protection group, including alarm
requests and external switching requests.
Parameters
Mode
All modes except user mode
Usage Guidelines
This command can be used to display the alarm information with the highest level, external
configuration commands, and the request resulting in SDH protection group changeover.
14-13
Examples
The following example shows how to display all the requests for the SDH protection group
"zte":
ZXAN(config)#show ces sdhprot request
Name: zte
Protect interface: tdm_1/17/1
Work interface: tdm_1/5/1
Alarm request:
WorkChannel: LOS
ProtectChannel: LOS
External request: no-request
Highest local request: no-request
Related Commands
14.1.10 sdhprot switch-command
Function
This command displays the switching commands related to specified SDH protection
groups.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the switching commands related to all the
SDH protection groups:
ZXAN(config)#show ces sdhprot switch-command
Group name Switch-mode
14-14
..........................................................................
zte no-request
Related Commands
14.1.10 sdhprot switch-command
Function
This command displays the details of configured TDM profiles.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the details of all TDM profiles:
Related Commands
14.1.19 tdm-profile
14-15
Function
This command displays CES performance.
Parameters
ms ms performance -
b3 b3 performance -
rs rs performance -
wanport PW performance -
name3 PW name -
Mode
All modes except user mode
14-16
Usage Guidelines
This command is used to display the performance data of b3, b3rei, ms, msrei, rs, v5, v5rei,
and wanport.
For SDH cards (CTLA), all the performance data can be displayed.
For PDH cards (CTBB, CTTB, and CTUB), only wanport performance data can be
displayed.
The wanport for PW performance cannot be displayed until after the PW is configured.
SDH performance (b3, b3rei, ms, msrei, rs, v5, and v5rei) can be displayed at any time.
Examples
The following example shows how to display the wanport performance of pw_1/5/1:
Related Commands
None
14.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.
14-17
Parameters
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
The TDM attributes configured with this command cannot be modified. If a TDM profile is
applied to a PW, this profile cannot be deleted.
TDM profiles applied to the same slot must have the same RTP ENABLE and RTP SSRC.
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
14-18
Related Commands
14.1.17 show ces tdm-profile
Function
This command configures a PW alias.
Parameters
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 the PW alias "zte":
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/5/1
ZXAN(config-ces-pw)#name zte
Related Commands
None
14-19
Function
This command configures the Ethernet packet attributes at the PW packet switching side.
Parameters
Mode
CES-PW configuration mode
Usage Guidelines
One PW item is configured by using the tdm-service command together with one of the
following commands: psn ethernet, psn ip, psn mef8, and psn mpls-double.
When the TDM interface bound with the PW is added to a protection group, the cvlan
parameter of this command is not specified. In that case, the value of this parameter is
generated automatically; otherwise, the protection does not work.
The PW service places great demands on networks, it is therefore recommend to specify
a higher value for the priority parameter.
Examples
The following example shows how to configure the PSN Ethernet attributes for 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
14-20
Related Commands
14.2.3 psn ip
14.2.8 tdm-service
14.2.6 show ces pw count
14.2.7 show ces pw prop detail
14.2.3 psn ip
Syntax
psn ip number1 number2 ipv4 ip_addr1 dst-mac hexadecimal1 vlan number3 [cvlan number4 ]
[priority number5 ]
Function
This command configures the IP packet attributes at the PW packet switching side.
Parameters
Parameter Description Value
ip_addr1 IP address -
Mode
CES-PW configuration mode
Usage Guidelines
One PW item is configured by using the tdm-service command together with one of the
following commands: psn ethernet, psn ip, psn mef8, and psn mpls-double.
When the TDM interface bound with the PW is added to a protection group, the cvlan
parameter of this command is not specified. In that case, the value of this parameter is
generated automatically; otherwise, the protection does not work.
14-21
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
14.2.2 psn ethernet
14.2.8 tdm-service
14.2.6 show ces pw count
14.2.7 show ces pw prop detail
Function
This command configures the MEF8 packet attributes at the PW packet switching side.
Parameters
14-22
Mode
CES-PW configuration mode
Usage Guidelines
One PW item is configured by using the tdm-service command together with one of the
following commands: psn ethernet, psn ip, psn mef8, and psn mpls-double.
When the TDM interface bound with the PW is added to a protection group, the cvlan
parameter of this command is not specified. In that case, the value of this parameter is
generated automatically; otherwise, the protection does not work.
Examples
The following example shows how to configure the PSN MEF8 attributes for pw_1/5/1:
ZXAN(config)#ces
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
14.2.2 psn ethernet
14.2.3 psn ip
14.2.8 tdm-service
14.2.6 show ces pw count
Function
This command configures the attributes of the MPLS double-tagged packets at the PW
packet switching side.
14-23
Parameters
Mode
CES-PW configuration mode
Usage Guidelines
One PW item is configured by using the tdm-service command together with one of the
following commands: psn ethernet, psn ip, psn mef8, and psn mpls-double.
When the TDM interface bound with the PW is added to a protection group, the cvlan
parameter of this command is not specified. In that case, the value of this parameter is
generated automatically; otherwise, the protection does not work.
The PW service places great demands on networks, it is therefore recommend to specify
a higher value for the priority parameter.
Examples
The following example shows how to configure the attributes of the MPLS double-tagged
packets for 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
14.2.2 psn ethernet
14.2.3 psn ip
14-24
14.2.8 tdm-service
Function
This command queries the existing PWs.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command displays only the names of the currently created PW. The detailed
configurations are not displayed.
After this 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 the existing PWs:
Related Commands
56.2.21 pw
14-25
Function
This command displays the detailed configuration information about a PW.
Parameters
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
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 :0x1102 OutboundLable :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
14-26
Related Commands
56.2.21 pw
14.2.8 tdm-service
Syntax
tdm-service type name1 rate number1 {name2 |name3 |name4 } [timeslot name5 ] [tdm-profile-
name name6 ]
Function
This command configures the attributes of a PW at the user side.
Parameters
Mode
CES-PW configuration mode
14-27
Usage Guidelines
One PW item is configured by using the thsi command together with one of the following
commands: psn ethernet, psn ip, psn mef8, and psn mpls-double.
The RTP attribute of all the TDM attribute profiles associated to the PW in one slot must
be the same.
For the framed PW configuration, the timeslot parameter must be configured. For the
unframed PW configuration, this parameter is not be configured.
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
Related Commands
14.2.2 psn ethernet
14.2.3 psn ip
Function
This command enables or disables the administration for user ports.
Parameters
14-28
Mode
TDM interface mode
Usage Guidelines
For a PDH interface, if it is not bound with the PW, the user interface is shut down, and
this command does not work.
For an SDH interface, the user interface is always open, and this command works.
Examples
The following example shows how to enable the administration for tdm_1/5/1 in slot 5:
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#admin-status enable
Related Commands
14.3.8 show ces interface
14.3.2 au-3
Syntax
au-3 name1
Function
This command enters au-3 configuration mode.
Parameters
Mode
TDM interface mode
Usage Guidelines
Only SDH (including CTLA) cards can be configured with this command.
14-29
In AU-3 configuration mode, the mapping type of the SDH is changed to AU-3-TU-11 from
a mapping type other than AU-3.
Only when none of the time slots of all the interfaces in one slot is bound with the 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
14.3.8 show ces interface
14.3.3 au-4 tug-3
Function
This command starts au-4 tug-3 configuration mode.
Parameters
Mode
TDM interface mode
Usage Guidelines
Only SDH (including CTLA) cards can be configured with this command.
14-30
In AU-4 TUG-3 configuration mode, the mapping type of the SDH is changed to
AU-4-TU-12 from a mapping type other than AU-4.
Only when none of the time slots of all the interfaces in one slot is bound with the 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
14.3.8 show ces interface
14.3.2 au-3
14.3.4 clock-source
Syntax
clock-source name1
Function
This command configures the transmit clock source recovery mode for a TDM interface.
Parameters
Mode
TDM interface mode
Usage Guidelines
Only PDH (including CTBB, CTTB, and CTUB) cards can be configured with this command.
If an interface is associated with the PW, the transmit clock source recovery mode is not
allowed to be modified.
14-31
Examples
The following example shows how to configure the transmit clock source recovery mode
for TDM interface 1 in slot 6 to "differential":
ZXAN(config)#interface tdm_1/6/1
ZXAN(config-if)#clock-source differential
Related Commands
14.3.8 show ces interface
14.3.5 loopback
Syntax
loopback name1
Function
This command configures the loopback type of a TDM interface.
Parameters
Mode
TDM interface mode
Usage Guidelines
For SDH interfaces, all the SDH interfaces are configured. For a PDH interface, the PDH
interface is configured.
The loopback type of a TDM interface can be set to noLoop, lineloop, or inwardloop.
Examples
The following example shows how to set the loopback type of CTLA interface 1 in slot 5 to
"inwardLoop":
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#loopback inwardLoop
Related Commands
14.3.8 show ces interface
14-32
14.3.6 perf-clear-current
Syntax
perf-clear-current {ms |rs |msrei |b3 name1 |b3rei name2 } {15-min |data }
Function
This command clears the SDH performance data.
Parameters
ms ms performance point -
rs rs performance point -
b3 b3 performance point -
Mode
TDM interface mode
Usage Guidelines
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 is not
cleared.
When all the SDH performance data is cleared, both the SDH performance data within the
15 minutes and the history data are cleared.
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 current 15
minutes for the CTLA 1 port in slot 5:
14-33
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#perf-clear-current rs 15-min
Related Commands
14.3.7 range
Syntax
range
Function
This command displays the port range in a mode.
Parameters
None
Mode
10G_Ether interface mode: ZXAN(config-if)#, PTP interface mode, and GPON OLT
interface mode
Usage Guidelines
None
Examples
The following example shows how to display the port range:
ZXAN(gpon-onu-mng)#range
Portlist of the range: gpon-onu_1/2/1:1
Related Commands
None
Function
This command displays the configurations of an interface or a list of interfaces.
14-34
Parameters
Mode
All modes except user mode
Usage Guidelines
When this command is used for a PDH card, only the PDH interface configuration
information is displayed.
When this command is used for an SDH card, the SDH interface configuration information
is displayed. In addition, the SDH time slot information is displayed for the mapping type
other than "other".
Examples
The following example shows how to display the configurations 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 : noLoop Impedance :75 Ohm
Related Commands
14.3.1 admin-status
14.3.4 clock-source
14.3.5 loopback
14-35
14-36
Function
This command configures a clock source for a card.
Parameters
Mode
Clock global configuration mode
Usage Guidelines
l This command can be used to modify the clock source of a card.
l If a card already has a clock source, the clock source will be modified by this command
when the card is restarted.
l If a card has no clock source or the clock source of the card is deleted by the no form
of this command, the selection of clock source depends on the default running status
of the card version.
15-1
Examples
The following example shows how to select the backplane clock (clock from the main
control card) as the system clock of the CTLA card in slot 5:
ZXAN(config)#clock
ZXAN(config-clock)#card-clock slotno 5 backplane
Related Commands
15.1.10 show card-clock
15.1.2 clock
Syntax
clock
Function
This command enters clock configuration mode. Clock-related functions can only be
configured in clock configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enter clock configuration mode:
ZXAN(config)#clock
ZXAN(config-clock)#
Related Commands
None
15-2
15.1.3 clock-mode
Syntax
clock-mode name1
Function
This command configures the clock source selection mode: QL-enabled or QL-disabled.
Parameters
Mode
Clock global configuration mode
Usage Guidelines
This command is used to modify the QL-based clock source selection mode. It determines
whether the clock system selects a clock source based on QL. If the selection mode is set
to ql-disable, the input clock quality will not be considered during clock source selection.
Examples
The following example shows how to configure the clock mode to QL-disabled:
ZXAN(config)#clock
ZXAN(config-clock)#clock-mode ql-disable
Related Commands
15.1.11 show clock config
15.1.4 dpll-adjust
Syntax
dpll-adjust {[range name1 number1 ] [offset name2 number2 ] }
Function
This command adjusts the size and benchmark of the window for pull-in and pull-out of
clock signals.
15-3
Parameters
Mode
Clock global configuration mode
Usage Guidelines
l This command is used to adjust the window size and benchmark for pull-in and pull-out
of clock signals. It is a debugging command that will not be saved.
l If the command is executed two times consecutively, the second adjustment is based
on the previous adjustment result instead of the initial window size and benchmark.
Examples
The following example shows how to move the clock pull-in and pull-out benchmark 10
ppm in the left direction and increase the window size by 10 ppm:
ZXAN(config)#clock
ZXAN(config-clock)#dpll-adjust offset left 10 range add 10
Related Commands
None
15.1.5 external-clock
Syntax
external-clock {balance |unbalance }
Function
This command selects a port for the input and output of an external clock.
15-4
Parameters
Parameter Description Value
Mode
Clock global configuration mode
Usage Guidelines
l This command is used to select a port for the input and output of an external clock
based on impedance attribute.
l This command must be configured in accordance with the actually required port type.
For example, if the balanced port of a CICK card is configured for the input and output
of an external clock, the unbalanced port of the card cannot be used for external
clocks.
Examples
The following example shows how to select the balanced port of a CICK card for the input
and output of external clocks:
ZXAN(config)#clock
ZXAN(config-clock)#external-clock balance
Related Commands
15.1.11 show clock config
15.1.6 external-input
Syntax
external-input name1 ssm name2 mode name3
Function
This command configures the attributes of an input external clock.
Parameters
Parameter Description Value
15-5
Mode
Clock global configuration mode
Usage Guidelines
l This command is used to configure the attributes of an input external clock, including
the priority and signal type.
l Before using this command, execute the source command to configure the input
external clock source.
Examples
The following example shows how to configure the priority of the input clock of the CICK
card in slot 20 to 11 and the signal type to bits:
ZXAN(config)#clock
ZXAN(config-clock)#source 1/20/1 type external priority 1
ZXAN(config-clock)#external-input 1/20/1 ssm qlsec mode bits
Related Commands
15.1.17 source
15.1.7 external-output
Syntax
external-output {{[minssm name1 ] [mode name2 ] }|name3 }
no external-output
Function
This command configures the output attributes of an external clock.
Parameters
15-6
Mode
Clock global configuration mode
Usage Guidelines
l This command is used to configure the output attributes of an external clock, including
the signal type of the external clock and the threshold for outputting the external clock.
l The output mode parameter (open, close, or auto) specified in the command is used
for debugging, which will not be saved. In auto mode, the external clock is output only
when the quality level of the system clock is higher than the specified threshold.
Examples
The following example shows how to configure the threshold for outputting an external
clock to 11 and configure the signal type of the external clock to “bits”:
ZXAN(config)#clock
ZXAN(config-clock)#external-output minssm qlsec mode bits
Related Commands
15.1.11 show clock config
15.1.8 internal-output
Syntax
internal-output slot number1 port name1 name2
Function
This command configures one or more clock switches on the main control card for a card
in a slot or the cards in all slots.
Parameters
Mode
Clock global configuration mode
15-7
Usage Guidelines
l This command is used to adjust the clock switch on the main control card for a specific
slot or adjust the clock switches for all slots.
l This command is used for debugging and will not be saved.
l The system enables the clocks of all types for all slots by default.
Examples
The following example shows how to turn on the clock switches corresponding to all clock
types on the main control card for the CICK card in slot 20:
ZXAN(config)#clock
ZXAN(config-clock)#internal-output slot 20 port all on
Related Commands
None
15.1.9 set
Syntax
set {[wtr number1 ] [holdofftime number2 ] }
Function
This command configures the alarm WTR time and alarm hold-off time.
Parameters
Mode
Clock global configuration mode
Usage Guidelines
This command is used to modify the alarm WTR time and alarm hold-off time.
l The WTR time refers to a time period that the system must wait before acknowledging
a detected alarm.
15-8
l The hold-off time refers to a time period that the system must wait before
acknowledging the clearing of an alarm.
Examples
The following example shows how to set the alarm WTR time to 500 ms and the alarm
hold-off time to 10 minutes:
ZXAN(config)#clock
ZXAN(config-clock)#set holdofftime 500 wtr 10
Related Commands
15.1.11 show clock config
Function
This command displays the clock source information of a card.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command is used to query the clock source information of a card, including the
configured clock source and the actual clock source in use.
Examples
The following example shows how to query the clock source information of the CTLA card
in slot 5:
15-9
Related Commands
15.1.1 card-clock
Function
This command displays the input clock source and output clock configuration.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command is used to query the configuration of input clock sources and output clocks.
The command result contains the port number, clock source type, clock source priority,
quality level, external clock mode, current clock source selection, remarks, WTR time,
hold-off time, QL mode, and the selection of input and output ports. The remarks in
the result indicate the external command for clock source selection and whether the
corresponding clock is an input or output clock.
Examples
The following example shows how to display the configuration of input clock sources and
output clocks:
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
15-10
Related Commands
15.1.3 clock-mode
15.1.5 external-clock
15.1.6 external-input
15.1.7 external-output
15.1.9 set
15.1.17 source
15.1.19 ssm-set
Function
This command displays the ESMC information on a port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
Use this command to query the ESMC information, including the corresponding port, port
type, and whether the ESMC is enabled.
Examples
The following example shows how to display the ESMC information on a port:
ZXAN(config)#show clo interface esmc
interface port_type esmc
.............................................
1/22/1 synce enable
Related Commands
15.1.20 switch
15-11
Function
This command displays the configured SSM in packets sent through a port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
Use this command to display the SSM configured in packets that are sent through a port.
The command results contain the port number, port type, and the configured SSM.
Examples
The following example shows how to display the configured SSM in packets sent through
a port:
Related Commands
15.1.18 ssm-send
Function
This command displays the attributes of output clocks.
15-12
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Use this command to display the attributes of output clocks. The command results contain
the priority threshold for outputting a clock, clock signal type (bits or hz), and the status of
the output configuration switch.
Examples
The following example shows how to display the attributes of output clocks:
Related Commands
15.1.7 external-output
Function
This command displays the current SEC reference clock in use.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Use this command to display the current clock source of the system. The command
results contain the corresponding port, clock type, quality level, and working status of the
clock source, and indicate the existence of any input clock source warning and external
command.
15-13
Examples
The following example shows how to display the information of the current clock source
used by the system:
ZXAN(config)#show clock source active
interface : 1/10/0
type : internal
ssm-ql : qldnu
status : free_run
warning : loss of timing inputs
operation : none
Related Commands
15.1.17 source
15.1.20 switch
Function
This command displays alarms related to the input clock source.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Use this command to query alarms related to the input clock source. The command results
contain the port, type, and priority of the input clock source, the received SSM, and the
alarm type.
Examples
The following example shows how to query alarms related to the input clock source:
ZXAN(config)#show clock source alarm
interface type priority ssm-received alarm
...........................................................................
1/20/1 external 1 undef loss of signal
15-14
Related Commands
15.1.17 source
15.1.17 source
Syntax
source name1 {type name2 priority number1 |priority number2 }
no source {priority number3 |id name1 }
Function
This command adds or modifies a clock source.
Parameters
Mode
Clock global configuration mode
Usage Guidelines
l Use this command to add a clock source or modify the attributes of a clock source.
l The port number, clock source type, and priority must be specified when this command
is used to add a clock source.
l Only the priority of a clock source can be modified by this command.
l To configure an input external clock, the external-input command must be used in
addition to the source command.
l To delete a clock source, use the no form of this command.
Examples
The following example shows how to add an input external clock source in bits mode. The
corresponding port is port 1 of the CICK card in slot 20, and the quality level is 11.
ZXAN(config)#clock
ZXAN(config-clock)#source 1/20/1 type external priority 1
ZXAN(config-clock)#external-input 1/20/1 ssm qlsec mode bits
15-15
Related Commands
15.1.6 external-input
15.1.11 show clock config
15.1.18 ssm-send
Syntax
ssm-send name1 name2
no ssm-send name1
Function
This command configures the SSM byte in transmitted packets.
Parameters
Mode
Clock global configuration mode
Usage Guidelines
Use this command to modify the SSM byte in transmitted packets. After this command
is executed, the SSM byte is set to the configured value in all packets sent through the
specified port.
Examples
The following example shows how to set the SSM byte to 11 for packets sent through port
1 of the HUVQ card in slot 21:
ZXAN(config)#clock
ZXAN(config-clock)#ssm-send 1/21/1 qlsec
Related Commands
15.1.13 show clock interface ssm-send
15-16
15.1.19 ssm-set
Syntax
ssm-set name1 name2
no ssm-set name1
Function
This command configures the SSM byte of a clock source.
Parameters
Mode
Clock global configuration mode
Usage Guidelines
l Use this command to specify the SSM value for a clock source.
l Use the source command to add the clock source first before using the ssm-set
command to configure the SSM value.
l After this command is executed, the system selects a clock source based on the
configured SSM value regardless of the actual SSM value in the received clock source.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the SSM value to 11 for the clock source
input from port 1 of the CICK card in slot 20:
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 qlsec
Related Commands
15.1.17 source
15.1.6 external-input
15-17
15.1.20 switch
Syntax
switch {name1 name2 name3 |name4 name5 }
Function
This command configures an external command for clock source selection and the ESMC
switch.
Parameters
Mode
Clock global configuration mode
Usage Guidelines
Use this command to configure an external command for clock source selection and the
ESMC switch.
This command can be used to select a clock source forcibly, select a clock source manually,
disable a clock source, set a clock source as an internal clock forcibly, or hold on the clock
source, and enable or disable the ESMC.
Examples
The following example shows how to forcibly set the clock source input through port 1 of
the CICK card in slot 20 as the current system clock:
ZXAN(config)#clock
ZXAN(config-clock)#switch force set 1/20/1
Related Commands
15.1.11 show clock config
15.1.15 show clock source active
15-18
no 1pps name2
Function
This command configures a 1PPS clock source for the main control card.
Parameters
Mode
PTP configuration mode
Usage Guidelines
l Use this command when a main control card requires a 1PPS clock source.
15-19
l This command is only applicable to a CICK card, meaning that only a CICK card
provides an input of 1PPS clock source.
l This command cannot be used if a ptp command has been executed.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the input from port 1 of the CICK card in
slot 20 as a 1PPS clock source with a priority of 1:
ZXAN(config)#ptp
ZXAN(config-ptp)#1pps priority 1 1pps reference 422 20/1
Related Commands
15.2.16 show time 1pps
15.2.2 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 configures the PTP mode.
Parameters
15-20
Mode
PTP configuration mode
Usage Guidelines
l The PTP mode must be configured for 1588 synchronization. This command is only
applicable to a main control card that uses a 9510 chip.
l The domain specified in this command must be the same domain of the PTP master.
l Only one PTP slave can be configured.
l If the unicast mode is used for time synchronization, the ptp-source command must
be configured.
l If the synchronous Ethernet mode is used, the source command must be used to
configure the clock source from the synchronous Ethernet.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the PTP mode to the layer-2 multicast
synchronous Ethernet mode:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp slave mac packet-type multicast sync-hybrid
Related Commands
15.1.17 source
15.2.12 ptp-source
15.2.3 ptp-add-port
Syntax
ptp-add-port name1
15-21
no ptp-add-port name1
Function
This command adds a PTP master port.
Parameters
Parameter Meaning Value
Mode
PTP configuration mode
Usage Guidelines
l A physical port supports the PTP master only after it is configured as a PTP master
port.
l To delete a PTP master port, use the no form of this command.
Examples
The following example shows how to configure port 1 of the FTGKB card in slot 5 as a
PTP master port:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-add-port 5/1
Related Commands
15.2.18 show time ptp-port-cfg
15.2.4 ptp-adjust
Syntax
ptp-adjust number1 [slotno number2 ]
Function
This command calibrates the phase of a 1PPS output.
Parameters
Parameter Meaning Value
15-22
Mode
PTP configuration mode
Usage Guidelines
l This command supports phase calibration in two modes: global phase calibration and
card-based phase calibration. If no slot number is specified in the command, the
phase calibration is implemented on a global basis. If a slot number is specified in the
command, the phase calibration is implemented on the card in the slot.
l The adjustment amount must be determined in accordance with the value measured
by an instrument.
Examples
The following example shows how to advance the output phase of the GTGOE card in slot
5 with an amount of 100 ns:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-adjust 100 slotno 5
Related Commands
None
15.2.5 ptp-annnounce-interval
Syntax
ptp-annnounce-interval number1
Function
This command configures the rate for sending global announcement messages.
Parameters
Mode
PTP configuration mode
15-23
Usage Guidelines
l The announcement message rate is two raised by the exponent specified in the
command. For example, if the exponent is set to –4 in the command, the message
rate is two raised by the exponent –4. The default message rate is 0.
l After this command is executed, the rate for sending announcement messages
through each master port on the device is set to the configured value.
Examples
The following example shows how to set the rate of sending announcement messages to
16 per second:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-annnounce-interval -4
Related Commands
None
15.2.6 ptp-delay-interval
Syntax
ptp-delay-interval number1 name1
Function
This command configures the rate for sending delay request messages.
Parameters
Mode
PTP configuration mode
Usage Guidelines
The delay request message rate is two raised by the exponent specified in the command.
For example, if the exponent is set to –4 in the command, the message rate is two raised
by the exponent –4.
The default exponent is –4.
15-24
Examples
The following example shows how to set the rate for sending delay request messages on
port 1 of the FTGKB card in slot 5 to 16 per second:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-delay-interval -4 5/1
Related Commands
15.2.18 show time ptp-port-cfg
15.2.7 ptp-destination
Syntax
ptp-destination ip_addr1 name1
Function
This command adds a slave node address (layer 2 or layer 3) to a port in unicast mode.
Parameters
Mode
PTP configuration mode
Usage Guidelines
l The slave node added by this command is only available in unicast mode.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to add a slave node address (192.168.0.110) to port 1
of the FTGKB card in slot 5:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-destination 192.168.0.110 5/1
Related Commands
None
15-25
15.2.8 ptp-enable
Syntax
ptp-enable name1
no ptp-enable name1
Function
This command enables the PTP master function of a PTP master port.
Parameters
Mode
PTP configuration mode
Usage Guidelines
This command serves as an functional switch of the PTP master port. It is used to enable
the PTP master function for a PTP master port. To cancel the setting, use the no form of
this command.
Examples
The following example shows how to enable the PTP master function for port 1 of the
FTGKB board in slot 5:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-enable 5/1
Related Commands
15.2.18 show time ptp-port-cfg
15.2.9 ptp-network-protocol
Syntax
ptp-network-protocol name1 name2
Function
This command configures the message encapsulation type of the PTP master.
15-26
Parameters
Mode
PTP configuration mode
Usage Guidelines
Use this command to configure the message encapsulation type of the PTP master. Two
types are supported: IEEE 802.3 (layer 2) and IPv4 (layer 3). The default encapsulation
type is IPv4 (layer 3).
Examples
The following example shows how to configure the master message encapsulation type
on port 1 of the FTGKB card in slot 5 to IEEE 802.3 (layer 2):
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-network-protocol ieee802.3 5/1
Related Commands
15.2.18 show time ptp-port-cfg
15.2.10 ptp-priority1
Syntax
ptp-priority1 number1
Function
This command globally configures the priority 1 field in announce messages sent by the
PTP master.
Parameters
15-27
Mode
PTP configuration mode
Usage Guidelines
Use this command to modify the value of the priority 1 field in announce messages
globally for the master. After this command is executed, the priority 1 field in all announce
messages sent by the master of the device is set to the configured value.
Examples
The following example shows how to globally configure the priority 1 field value to 1 for the
master:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-priority1 1
Related Commands
None
15.2.11 ptp-priority2
Syntax
ptp-priority2 number1
Function
This command globally configures the priority 21 field in announce messages sent by the
PTP master.
Parameters
Mode
PTP configuration mode
Usage Guidelines
Use this command to modify the value of the priority 2 field in announce messages
globally for the master. After this command is executed, the priority 2 field in all announce
messages sent by the master of the device is set to the configured value.
15-28
Examples
The following example shows how to globally configure the priority 2 field value to 1 for the
master:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-priority2 1
Related Commands
None
15.2.12 ptp-source
Syntax
ptp-source {ip ip_addr1 |mac hexadecimal1 } [adjust number1 ]
Function
This command configures the MAC address or IP address for a 1588 clock source.
Parameters
Mode
PTP configuration mode
Usage Guidelines
l Use this command to configure the MAC address or IP address for the 1588
clock source when the unicast mode is used for 1588 clock synchronization. The
encapsulation type specified by the ptp command determines whether MAC address
(layer–2 encapsulation) or IP address (layer-3 encapsulation) should be specified in
this command.
15-29
l Before using this command, execute the ptp command to configure the PTP mode. To
delete the PTP source, use the no form of this command to delete the MAC address
or IP address first, and then execute the no ptp command.
Examples
The following example shows how to configure the MAC address of the 1588 clock source
to 1234.1234.1234 when the layer-2 encapsulation type is configured:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-source mac 1234.1234.1234
Related Commands
15.2.2 ptp
15.2.19 show time ptp-source
15.2.13 ptp-sync-interval
Syntax
ptp-sync-interval number1 name1
Function
This command configures the rate for sending synchronization messages.
Parameters
Mode
PTP configuration mode
Usage Guidelines
The synchronization message rate is two raised by the exponent specified in the command.
For example, if the exponent is set to –4 in the command, the synchronization message
rate is two raised by the exponent –4. The default exponent is –4.
Examples
The following example shows how to set the synchronization message rate on port 1 of
the FTGKB card in slot 5 to 16 per second:
15-30
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-sync-interval -4 5/1
Related Commands
15.2.18 show time ptp-port-cfg
15.2.14 ptp-two-step
Syntax
ptp-two-step name1
Function
This command globally configures one-step mode or two-step mode.
Parameters
Mode
PTP configuration mode
Usage Guidelines
l If the two-step mode is disabled, the PTP uses the one-step mode. If the two-step
mode is enabled, the PTP uses the two-step mode.
l After this command is executed, the one-step mode or two-step mode is applied to all
master ports on the device.
l The PTP uses the one-step mode by default.
Examples
The following example shows how to enable the PTP two-step mode on a global basis:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-two-step disable
Related Commands
None
15-31
15.2.15 ptp-unicast-enable
Syntax
ptp-unicast-enable name1
no ptp-unicast-enable name1
Function
This command configures the addressing type on a port to multicast or unicast.
Parameters
Mode
PTP configuration mode
Usage Guidelines
l The default addressing type is multicast. After this command is executed, the
addressing type is set to unicast.
l To cancel the setting and restore the default addressing type (multicast), use the no
form of this command.
Examples
The following example shows how to set the addressing type on port 1 of the FTGKB card
in slot 5 to unicast:
ZXAN(config)#ptp
ZXAN(config-ptp)#ptp-unicast-enable 5/1
Related Commands
15.2.18 show time ptp-port-cfg
Function
This command displays the configuration and status of the transparent 1PPS clock.
15-32
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current configuration and status of the
1PPS clock:
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
15.2.1 1pps
Function
This command displays the PTP configuration and state.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Use this command to query the PTP configuration and state. The 1588 state and UTC
time are also displayed in the command result.
15-33
Examples
The following example shows how to display the PTP configuration and state:
Related Commands
15.2.2 ptp
15.2.12 ptp-source
Function
This command displays the configuration of a PTP master port.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Use this command to display the configuration of a PTP master port. The command result
contains the attributes of the PTP master port, including the slot number/port number,
15-34
Examples
The following example shows how to display the configuration of the PTP master port:
ZXAN(config-ptp)#show time ptp-port-cfg
Related Commands
15.2.3 ptp-add-port
15.2.13 ptp-sync-interval
15.2.8 ptp-enable
15.2.9 ptp-network-protocol
15.2.6 ptp-delay-interval
15.2.15 ptp-unicast-enable
Function
This command displays the configuration of PTP sources.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the PTP source configuration:
ZXAN(config)#show time ptp-source
addr adjust layer2
................................
10.10.10.12 0 n
time source count: 1
15-35
Related Commands
None
Function
This command displays the TOD configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Use this command to query the TOD configuration. The command result contains the
format and time of the current input TOD.
Examples
The following example shows how to display the TOD configuration:
ZXAN(config)#show time tod
slot/port mode utc
........................................................................
20/1 china-mobile 2105-01-15 10:03:44
TOD input configure count: 1
Related Commands
15.2.22 tod
Function
This command displays the leap seconds between UTC time and GPS time.
15-36
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Use this command to query the leap seconds between UTC time and GPS time.
Examples
The following example shows how to display the leap seconds between UTC time and
GPS time:
ZXAN(config)#show time utc-offset
UTC = GPS+20s
Related Commands
15.2.23 utc-offset
15.2.22 tod
Syntax
tod name1 name2
no tod name2
Function
This command configures the TOD format of transparent clocks.
Parameters
Mode
PTP configuration mode
Usage Guidelines
l This command must be used when transparent transport of TOD is configured.
l This command is only applicable to TOD messages input by a CICK card.
l To cancel the setting, use the no form of this command.
15-37
Examples
The following example shows how to set the format of TOD messages input by the CICK
card in slot 20 to the China Mobile format:
ZXAN(config)#ptp
ZXAN(config-ptp)#tod china-mobile 20/1
Related Commands
15.2.20 show time tod
15.2.23 utc-offset
Syntax
utc-offset number1
Function
This command configures the leap seconds between UTC and GPS time.
Parameters
Mode
PTP configuration mode
Usage Guidelines
Use this command to configure the leap seconds between UTC time and GPS time for
calibration.
Examples
The following example shows how to configure the leap seconds between UTC time and
GPS time to 20 seconds:
ZXAN(config)#ptp
ZXAN(config-ptp)#utc-offset 20
Related Commands
15.2.21 show time utc-offset
15-38
Function
This command configures the status, VPI, and VCI for a PVC.
16-1
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l This command is only valid for an interface in ATM mode.
l The VPI and VCI of a PVC must be consistent with those configured on the Modem.
l This command cooperates with the PVC switch to determine the validity of PVC
configuration. The configuration is valid only when the PVC switch is turned on,
meaning the PVC is enabled.
l The VCI must be greater than or equal to 32 when VPI is 0.
Examples
The following example shows how to set the status, VPI, and VCI for a PVC (pvc1) of an
ADSL port:
ZXAN(config)#interface adsl_1/2/1
ZXAN(config-if)#atm pvc 1 vpi 100 vci 200
Related Commands
show running-config interface
16.2 bandwidth-util
Syntax
bandwidth-util {out-thresh number1 |in-thresh number2 }
Function
This command sets bandwidth utilization thresholds.
16-2
Parameters
Parameter Description Value
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
None
Examples
The following example shows how to set the threshold of downlink bandwidth utilization
for an interface:
ZXAN(config)#interface gei_1/3/1
zxan(config-if)#bandwidth-util in-thresh 50
Related Commands
show running-config interface
16.3 byname
Syntax
byname name1
no byname
Function
This command sets an alias for an interface.
Parameters
Parameter Description Value
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
16-3
Usage Guidelines
l To delete the alias name, use the no form of this command.
l After an alias is set for an interface, you 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/3/1) to ether1 and
use this alias to enter the configuration mode of this interface:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#byname ether1
ZXAN(config-if)#exit
ZXAN(config)#interface byname ether1
ZXAN(config-if)#
Related Commands
16.16 show interface
16.4 data-path-mode
Syntax
data-path-mode name1
Function
This command configures the working mode of a port.
Parameters
Parameter Description Value
Mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
The mode is changed in interface mode of the VD card.
When the working mode of a port changes, all related data of the port is cleared, including
VLAN information. You need to re-configure the port for successful service provisioning.
16-4
The default working mode is AUTO. If a port does not support AUTO, the default mode is
ATM.
Examples
The following example shows how to set the working mode of a port to ATM:
ZXAN(config)#interface vdsl_1/2/1
ZXAN(config-if)#data-path-mode atm
Related Commands
show running-config interface
16.5 description
Syntax
description LINE1
no description
Function
This command adds a description for an interface.
Parameters
Mode
l Layer–2 gei interface mode and 10G Ethernet interface mode: ZXAN(config-if)#
l GPON OLT interface mode
Usage Guidelines
To delete the interface description, use the no form of this command.
Examples
The following example shows how to add a description for a GE interface:
ZXAN(config)#interface gei_1/3/1
Related Commands
show running-config interface
16-5
16.6 duplex
Syntax
duplex {half |full }
no duplex
Function
This command configures the duplex mode of an interface.
Parameters
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l To restore the default setting, use the no form of this command.
l FE/GE electrical interfaces support both half duplex and full duplex modes; while
FE/GE/10GE optical interfaces support only full duplex mode.
l Before configuring the duplex mode of an interface, disable auto-negotiation on the
interface. It is not allowed to configure the duplex mode of an interface when the
auto-negotiation is enabled.
Examples
The following example shows how to set the duplex mode of the interface gei_1/3/1 to full
duplex:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#duplex full
Related Commands
show running-config interface
16-6
16.7 encapsulation
Syntax
encapsulation name1 [pvc number1 ]
Function
This command sets the encapsulation mode for a PVC port.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
The default encapsulation mode for PVC8 is MODEM_MNG. The default encapsulation
mode for the other PVCs is EOA_LLC.
Examples
The following example shows how to set the encapsulation mode to EOA_VC_MUX for
pvc1:
ZXAN(config)#interface adsl_1/2/1
ZXAN(config-if)#encapsulation EOA_VC_MUX
Related Commands
show running-config interface
16-7
16.8 fcs
Syntax
fcs thresh number1
Function
This command sets the FCS error threshold for a port.
Parameters
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
None
Examples
The following example shows how to set the FCS error threshold for a port:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#fcs 200
Related Commands
show running-config interface
16.9 flowcontrol
Syntax
flowcontrol {enable |disable }
no flowcontrol
Function
This command enables or disables flow control for an Ethernet interface.
16-8
Parameters
Mode
l Layer–2 gei interface mode and 10G Ethernet interface mode: ZXAN(config-if)#
l PTP interface mode
Usage Guidelines
l To disable flow control, use the no flowcontrol or flowcontrol disable command.
l By default, the flow control function of an Ethernet interface is disabled.
Examples
The following example shows how to disable flow control on the Ethernet interface
gei_1/3/1:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#flowcontrol disable
Related Commands
show running-config interface
16.10 hybrid-attribute
Syntax
hybrid-attribute {fiber |copper }
Function
This command configures the media attribute of a GE interface: fiber or copper.
Parameters
fiber Fiber -
copper Copper -
Mode
l PTP interface mode
l Layer-2 gei interface mode
16-9
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/3/1) to
copper:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#hybrid-attribute copper
Related Commands
show running-config interface
16.11 linktrap
Syntax
linktrap {disable |enable }
Function
This command configures the warning methods for interface linkup or interface linkdown.
Parameters
Mode
l 10G Ethernet interface mode: ZXAN(config-if)#
l PTP interface mode
l GPON OLT interface mode
16-10
Usage Guidelines
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
The following example shows how to set the linktrap warning method of interface gei_1/3/1
to alarm.
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#linktrap alarm
Related Commands
show running interface
16.12 lock
Syntax
lock
no lock
Function
This command locks a PON port.
Parameters
None
Mode
l GPON OLT interface mode
l EPON OLT interface mode
l ADSL interface mode
Usage Guidelines
l To unlock a PON port, use the no form of this command.
l Each port is unlocked by default.
l After a PON port is locked, ONU alarms at this port are not reported while OLT alarms
are reported.
l After a port is unlocked, the port status changes to active (no shutdown).
16-11
Examples
The following example shows how to lock PON port 1 in slot 2:
ZXAN(config)#interface gpon-olt_1/2/1
ZXAN(config-if)# lock
Related Commands
show running-config interface
Function
This command enables auto-negotiation for an Ethernet interface.
Parameters
None
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l To disable auto-negotiation, use the no form of this command.
l By default, auto-negotiation is enabled for each Ethernet interface.
l The speed of an Ethernet interface can be forcibly set to 10 Mbps, 100 Mbps,
or 1000 Mbps. Before setting the speed for an interface, you must disable
auto-negotiation of this interface. When the auto-negotiation of an interface is
enabled, you cannot forcibly set a speed for the interface.
Examples
The following example shows how to enable auto-negotiation for the interface gei_1/3/1:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)# negotiation auto
Related Commands
show running-config interface
16-12
16.14 phy-attribute
Syntax
phy-attribute {lan |wan }
Function
This command configures the physical layer attribute of an interface.
Parameters
lan LAN -
wan WAN -
Mode
l 10G Ethernet interface mode: ZXAN(config-if)#
l 40G Ethernet interface mode
Usage Guidelines
This command is only applicable to interfaces that support 10G Ethernet. The default
physical layer attribute is LAN.
Examples
ZXAN(config-if)#phy-attribute wan
Related Commands
ZXAN(config-if)#sho running-config interface
16.15 reset
Syntax
reset
Function
This command resets a PON OLT interface.
Parameters
None
16-13
Mode
l GPON OLT interface mode
l EPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to reset a PON interface:
ZXAN(config-if)#reset
Related Commands
None
Function
This command displays the attributes and statistical information of an interface.
Parameters
Mode
Any mode except user name
Usage Guidelines
If the interface name is unknown, use a question mark (?) in the command to obtain the
name information of all interfaces.
Examples
l The following example shows how to display the information of a loopback interface
with a name of “loopback1”:
ZXAN(config)#show interface loopback1
loopback1 is up, line protocol is up
Description is none
16-14
l The following example shows how to display the information of an interface with a
name of “null1”:
ZXAN(config)#show interface null1
null1 is up, line protocol is up
Description is none
Keepalive set:10 sec BW 10000000 Kbits
l The following example shows how to display the information of an interface with a
name of “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
l The following example shows how to display the information of an interface with a
name of “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
l The following example shows how to display the information of an interface with a
name of “gei_1/21/1”:
ZXAN#show interface gei_1/21/1
gei_1/21/1 is down, line protocol is down
Description is none
Keepalive set:10 sec
The port is optical
Duplex full
scramble payload-enable
VLAN mode is access, pvid 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 0 Bps
16-15
Parameter Description
Duplex Indicates the working mode of the port: full duplex or half
duplex.
The port is electric Indicates whether the port is an electrical port or an optical
port.
Related Commands
None
16-16
Function
This command displays the basic attributes of an Ethernet interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the basic attributes of the Ethernet interface
“gei_1/21/4”:
Related Commands
None
16-17
Function
This command displays the capacity configuration of a port.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the capacity configuration of a port:
ZXAN(config)#show port-license
License Capability :100000
Configuration Capability :2
Related Commands
None
16.19 shutdown
Syntax
shutdown
no shutdown
Function
This command enables or disables an interface.
Parameters
None
16-18
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l By default, each interface is enabled.
l The shutdown command disables all the functions of an interface. But it does not
influence the physical status (up or down) of the interface.
l After an interface is disabled, the Admin status of the interface changes to “deactive”
and the Link status changes to “down”.
l The shutdown and lock commands are mutually excluded. You can only use the shut
down or no shutdown command on an interface in “unlock” status.
Examples
The following example shows how to shut down the uplink port gei_1/3/1:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#shutdown
Related Commands
show running-config interface
16.20 speed
Syntax
speed {10 |100 |1000 }
no speed
Function
This command configures the speed of an interface to 10 Mbps, 100 Mbps, 1000 Mbps,
or 10000 Mbps.
Parameters
16-19
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l To restore the default interface speed, use the no form of this command.
l Disable the auto-negotiation function before using this command. 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/3/1 to 1000 Mbps:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#speed 1000
Related Commands
16.16 show interface
16-20
Function
This command creates or modifies an optical module alarm profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Use this command to create an optical module alarm profile, or modify an existing optical
module alarm profile.
To delete an optical module alarm profile, use the no form of this command.
Before deleting a profile, ensure that the profile is not loaded by any port.
The default optical module alarm profile cannot be deleted.
17-1
Examples
The following example shows how to create an optical module alarm profile with a name
of “prf”:
Related Commands
17.3.3 show optical-module-alarm-profile
Function
This command configures the startup time, shutdown time, and the shutdown delay time
due to LOS for an optical port.
Parameters
number1 - 50–20000
number2 - 20–2000
number3 - 5–50
enable - -
disable - -
Mode
l Layer-2 gei interface mode and 10G_Ether interface mode: ZXAN(config-if)#
l PTP interface mode
Usage Guidelines
Use this command in interface mode to configure the startup time, shutdown time, and the
shutdown delay time due to LOS for an optical interface. This command is applicable to
three types of optical interfaces, such as GPON EPON uplink optical interfaces.
17-2
Examples
ZXAN(config)#interface gei_1/19/3
ZXAN(config-if)#als CloseTime 20 OpenTime 50 LosCloseTime 10
Related Commands
17.3.2 show interface port-als
17.2.2 optical-module-alarm-profile
Syntax
optical-module-alarm-profile {name1 }
no optical-module-alarm-profile {name1 }
Function
This command configures an optical module alarm profile for a port.
Parameters
Mode
l 10G_Ether interface mode: ZXAN(config-if)#
l PTP interface mode
l GPON OLT interface mode
Usage Guidelines
This command is applicable to GPON interface cards, EPON interface cards, and uplink
cards.
Examples
The following examples shows how to configure the optical module alarm profile with a
name of “opt_prf1” for the uplink port 1/13/1:
ZXAN(config)#interface gei_1/19/3
ZXAN(config-if)#optical-module-alarm-profile opt_prf1
Related Commands
17.3.3 show optical-module-alarm-profile
17-3
Function
This command displays the optical module information of an optical port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config-if)#Show interface optical-module-info gei_1/8/1
Optical module information:gei_1/8/1
Basic-info:
Vendor-Name : N/A Vendor-Pn : N/A
Vendor-Sn : N/A Version-Lev : N/A
Production-Date: N/A Module-Type : N/A
Wavelength : N/A Connector : N/A
Fiber-Type : N/A
Material-Number: N/A
Register-Data : N/A
Diagnostic-info:
RxPower : N/A TxPower : N/A
Bias-Current : N/A Laser-Rate : N/A
Temperature : N/A Supply-Vol : N/A
Alarm-thresh:
RxPower-Upper : 3 (dbm) RxPower-Lower : -34(dbm)
TxPower-Upper : 9 (dbm) TxPower-Lower : -14(dbm)
Bias-Upper : 131(mA) Bias-Lower : 0 (mA)
Voltage-Upper : 7 (v) Voltage-Lower : 0 (v)
Temperature-Upper: 90 (c) Temperature-Lower: -45(c)
17-4
ZXAN(config-if)#
Related Commands
None
Function
This command displays the ALS configuration, including the startup time, shutdown time,
and the shutdown delay time due to LOS.
Parameters
Mode
Any mode except user mode
Usage Guidelines
Use this command to query the ALS configuration on an optical interface. Specify the port
name of the optical interface in the command.
Examples
ZXAN(config-if)#show interface port-als gei_1/19/3
-----------------------------------------------------------------
Port(100ms) Opentime(T1) CloseTime(T2) LosCloseTime(T3)
-----------------------------------------------------------------
gei_1/19/3 50 20 10
Related Commands
17.2.1 als
17-5
Function
This command displays the names of all existing global optical module alarm profiles or
the details of a specific profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in the command, the names of all existing optical module
alarm profiles will be listed in the command result.
If a profile name is specified in the command, the detailed information of this profile will be
displayed.
Examples
show optical-module-alarm-profile
ZXAN(config)#show optical-module-alarm-profile
NOTE! DEFAULT_ALARM_PROFILE can't be modified or deleted.
Related Commands
17.1.1 optical-module alarm-profile
17-6
18-1
no eth-switch broadcast-limit
Function
This command configures a limit on global broadcast packets.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command can only be used in global configuration mode.
To cancel the limit on global broadcast packets, use the no form of this command.
Examples
The following example shows how to set the number of allowable broadcast packets per
second to 200 pps:
Related Commands
18.22 show eth-switch
18-2
Function
This command configures an L2CP entry.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can only be used in global configuration mode.
To delete an L2CP entry, use the no form of this command.
Examples
The following example shows how to create an L2CP entry with a valid VLAN ID and mask,
valid MAC address (starting with 0180.c2) and MAC mask, and with transparent forwarding
mode:
ZXAN(config)#eth-swith l2cpl vlan 4094 0xfff mac 00d0.d023.1258 ffff.ffff.ffff forward
Related Commands
18.23 show eth-switch l2cp
18-3
no eth-switch max-frame-length
Function
This command configures the maximum length of transmission frames globally.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To disable the limit on the length of transmission frames globally, use the no form of this
command.
Examples
The following example shows how to disable the limit on the length of transmission frames
globally:
ZXAN(config)#no eth-switch max-frame-length
Related Commands
18.22 show eth-switch
Function
This command configures a limit on global multicast packets.
Parameters
Parameter Description Value
18-4
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command can only be used in global configuration mode.
To cancel the limit on global multicast packets, use the no form of this command.
Examples
The following example shows how to set the number of allowable multicast packets per
second to 100 pps:
ZXAN(config)#eth-switch multicast-limit 100
Related Commands
18.22 show eth-switch
Function
This command configures a limit on unknown packets.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command can only be used on global configuration mode.
To cancel the limit on unknown packets, use the no form of this command.
Examples
The following example shows how to set the limit on unknown packets to 1000 pps:
18-5
Related Commands
18.22 show eth-switch
18.6 port-protect
Syntax
port-protect {enable |disable }
Function
This command configures the user isolation (port protection) function for uplink ports.
Parameters
Parameter Description Value
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
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 for an uplink port:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#port-protect enable
Related Commands
None
18-6
Function
This command configures the global IPv6 packet filtering function.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#security ipv6-filter vlan 100 0xfff
Related Commands
ZXAN(config)#show security ipv6-filter
Function
This command configures the limit on PVC-based MAC address learning, meaning the
maximum number of learned for a PVC.
18-7
Parameters
Command
ADSL interface mode
Usage Guidelines
The maximum number of MAC addresses that can be learned depends on the card type
and hardware solution.
Examples
The following example shows how to set the maximum number of MAC addresses that
can be learned on PVC 1 of an ADSL port to 100:
ZXAN(config)#interface adsl_1/5/1
ZXAN(config-if)#security max-mac-learn 100 pvc 1
Related Commands
18.25 show security interface max-mac-learn
Function
This command configures the maximum number of allowable learned MAC address on a
PVC of an VDSL port or a VLAN of an SHDSL port.
18-8
Parameters
Mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l The port-based limit and the VLAN-based limit on the number of learned MAC
addresses cannot be configured at the same time.
l An SHDSL card does not support the coexistence of ATM configuration and PTM
configuration. A VDSL card supports the coexistence of ATM and PTM configurations.
Examples
The following example shows how to set the maximum number of learned MAC addresses
for VLAN 100 of a VDSL port to 26:
ZXAN(config)#interface vdsl_1/16/1
ZXAN(config-if)#security max-mac-learn 26 vlan 100
Related Commands
18.25 show security interface max-mac-learn
18-9
Function
This command configures the maximum number of allowable learned MAC addresses on
a vport of a GPON ONU interface.
Parameters
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
l Before configuring the maximum number of allowable MAC addresses on a vport,
ensure that the vport has been created.
l The maximum number of allowable learned MAC addresses that can be configure
depends on the card type.
Examples
The following example shows how to set the maximum number of allowable learned MAC
addresses on vport 1 of a GPON ONU interface to 25:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#security max-mac-learn 25 vport 1
Related Commands
18.25 show security interface max-mac-learn
18-10
Function
This command configures the port-based or VLAN-based limit on the number of allowable
learned MAC addresses for a P2P interface.
Parameters
Mode
PTP interface mode
Usage Guidelines
Only one of the port-based and the VLAN-based limit on the number of allowable learned
MAC addresses can be configured.
Examples
The following example shows how to set the port-based maximum number of allowable
learned MAC addresses for a P2P interface to 10:
ZXAN(config-if)#security max-mac-learn 10
Related Commands
18.25 show security interface max-mac-learn
Function
This command configures a protocol-based packet rate limit.
18-11
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
Use this command in interface mode to configure a protocol-based packet rate limit for an
interface.
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#security packet-limit dhcpv4 rate 40 direction ingress pvc 2
Related Commands
18.26 show security interface packet-limit
Function
This command configures a protocol-based packet rate limit for a GPON ONU interface.
Parameters
18-12
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
Use this command in GPON ONU interface mode to configure a protocol-based packet
rate limit for an interface.
Examples
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#security packet-limit dhcpv4 rate 20 direction ingress vport 1
Related Commands
18.26 show security interface packet-limit
Function
This command configures a protocol-based packet rate limit.
Parameters
Mode
PTP interface mode
18-13
Usage Guidelines
Use this command in PTP interface mode to configure a protocol-based packet rate limit
on an interface.
Examples
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#security packet-limit dhcpv4 rate 40 direction ingress
Related Commands
18.26 show security interface packet-limit
Function
This command configures the global port protection function.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the global port protection function:
Related Commands
18.29 show security port-protect
18-14
Function
This command configures a packet rate limit for storm control in port mode.
Parameters
Mode
PTP interface mode
Usage Guidelines
Two rate limiting modes can be configured: rate limiting on a port, and rate limiting on a
port and a VLAN.
18-15
Examples
The following example shows how to configure a packet rate limit for storm control on the
port gei_1/8/1 of the FTGKB card:
ZXAN(config)#interface gei_1/8/1
Related Commands
18.27 show security interface storm-control
Function
This command configures a protocol-based packet rate limit for storm control on a port of
a DSL card.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
Use this command in interface mode to configure a packet limit rate for storm control on
an interface.
18-16
Examples
ZXAN(config)#interface adsl_1/4/1
ZXAN(config-if)#security storm-control broadcast rate 100 direction ingress pvc 2
Related Commands
18.27 show security interface storm-control
Function
This command configures a rate limit on multicast packets for storm control on a GPON
OLT port.
Parameters
Mode
GPON OLT interface mode
Usage Guidelines
Use this command in GPON OLT interface mode to configure a rate limit on multicast
packets for an OLT interface.
To cancel the setting, use the no form of this command.
Examples
ZXAN(config-if)#security storm-control multicast rate 876 direction egress ?
<cr>
Related Commands
18.18 security storm-control multicast
18-17
Function
This command configures the global VLAN interworking function.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enable the global VLAN interworking function:
Related Commands
show security usercommunication
Function
This command configures a global VLAN interworking entry.
18-18
Parameters
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.
Related Commands
18.30 show security user-communication
Function
This command configures a global VLAN-based rate limit policy.
Parameters
18-19
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l This command is used for global configuration.
l A valid rate limit is a multiple of the granularity 64 kbps. For example, if the rate limit
is set to 65 kbps, the actual valid rate limit is 64 kbps.
l If the downstream direction is specified in the command, the rate limit policy will apply
to all uplink ports. If the upstream direction is specified in the command, the rate limit
policy will apply to all inner ports except uplink ports.
Examples
The following example shows how to configure a VLAN-based rate limit policy:
ZXAN(config)#security vlan-limit vlan 200 rate 64 upstream
Related Commands
18.32 show security vlan-limit
Function
This command displays the global packet rate limit and port protection configuration.
Parameters
None
Mode
Any mode except user mode
18-20
Usage Guidelines
None
Examples
The following example shows how to display the global packet rate limit and port protection
configuration:
ZXAN#show eth-switch
Related Commands
None
Function
This command queries L2CP configuration entries.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show eth-switch l2cp
Related Commands
18.23 show eth-switch l2cp
18-21
Function
This command queries the global default L2CP configuration entries.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show eth-switch l2cp-default
Related Commands
18.24 show eth-switch l2cp-default
Function
This command displays the maximum number of allowable learned MAC addresses
configured on a port.
Parameters
Mode
Any mode except user mode
18-22
Usage Guidelines
The parameter vport is required when the interface is an ONU interface.
Examples
The following example shows how to display the maximum number of allowable learned
MAC addresses configured for a VDSL interface:
show security interface max-mac-learn vdsl_1/4/1
Related Commands
18.11 security max-mac-learn
Function
This command displays the protocol-based rate limit configuration on an interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show security interface packet-limit vdsl_1/4/1
protocol :ingress egress
arp :unsupported unsupported
bpdu :unlimited unsupported
cfm :unsupported unsupported
dhcpv4 :unlimited unsupported
dhcpv6 :unlimited unsupported
18-23
Related Commands
18.14 security packet-limit
Function
This command displays the store control configuration on a port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query the storm control configuration of a PTP card:
Related Commands
18.27 show security interface storm-control
18-24
Function
This command displays the configured IPv6 packet filter entries.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
ZXAN(config)#show security ipv6-filter
Examples
ZXAN(config)#sho security ipv6-filter
Related Commands
show security ipv6-filter
Function
This command displays whether the global port protection function is enabled.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
18-25
Examples
ZXAN(config)#show security port-protect
Global port protect enable
Related Commands
18.15 security port-protect
Function
This command queries global VLAN interworking configuration entries.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show security user-communication
vlan-communication item:
Svlan Cvlan
-------------
Related Commands
18.20 security user-communication svlan
18-26
Function
This command displays whether the global VLAN interworking function is enabled.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show security usercommunication-control
User-communication: Disable
Related Commands
18.19 security user-communication control
Function
This command displays the information of global VLAN-based rate limit policies.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(conifg)#show security vlan-limit
the total vlan-limit rule numbers : 0
18-27
Related Commands
18.32 show security vlan-limit
18.33 uplink-isolate
Syntax
uplink-isolate {enable |disable }
Function
This command configures the port isolation function.
Parameters
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
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
18-28
19-1
Function
This command clears statistics of a port.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to clear statistics of only Ethernet ports.
Examples
The following example shows how to clear statistics of interface gei_1/3/1:
ZXAN#clear counter ethernet gei_1/3/1
Related Commands
16.16 show interface
Function
This command clears the statistic data of a PON interface.
Parameters
19-2
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the statistic data of a PON interface:
ZXAN#clear counter olt gpon-olt_1/12/1
Related Commands
None
Function
This command clears the statistic data of the ONU.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the statistic data of the ONU:
Related Commands
16.16 show interface
19-3
Function
This command clears the statistic data of a service port on a PON board.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the statistic data of service port 1 on
epon-onu_1/5/1:1:
ZXAN#clear counter pon-sport epon-onu_1/5/1:1 sport 1
Related Commands
None
Function
This command clears statistics of a VPORT of a GPON board.
19-4
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear statistics of VPORT 1 of GPON-ONU_1/2/1:1:
ZXAN#clear counter pon-vport gpon-onu_1/2/1:1 vport 1
Related Commands
show performance pon-vport
Function
This command clears the statistics of the specified interface and VLAD.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Only ports of the FTGKB card support this command.
19-5
Examples
ZXAN(config)#clear statistics interface gei_1/10/1 vlan 100
Related Commands
ZXAN(config)#show statistics interface port-vlan
Function
This command clears the global VLAN statistics.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to clear the global VLAN statistics:
ZXAN(config)#clear vlan-statistics svlan 100
Related Commands
ZXAN(config)#show statistics vlan svlan 100
19.8 item
Syntax
item name1 name2 name3 alarm number1 restore number2
no item name1 name2 name3
19-6
Function
This command configures the items in an alarm template, such as thresholds for alarm
raising and clearing.
Parameters
Mode
PROFILE_IF configuration mode
Usage Guidelines
None
Examples
ZXAN(config)#perf-eth-if profile eth
ZXAN(config-perf-if)#item in_bcast_pks 15min highest alarm 4444 restore 3333
Related Commands
19.20 show perf-eth-if
Function
This command configures the items in an alarm template, such as thresholds for alarm
raising and clearing.
19-7
Parameters
Mode
PROFILE_IF configuration mode
Usage Guidelines
Before using this command, ensure that the alarm template to be configured is available.
Examples
ZXAN(config)#perf-brg-if profile brg-prf
ZXAN(config-perf-brgport)#item IN_OCTETS 15m HIGH alarm 9917 restore 8888
Related Commands
19.19 show perf-brg-if
Function
This command creates an alarm template for bridge port performance statistics.
Parameters
Mode
Configuration mode: ZXAN(config)#
19-8
Usage Guidelines
l To delete the alarm template, use the no form of this command.
l Before deleting the alarm template, unload the template from all related bridge ports.
Examples
The following example shows how to create an alarm template in global mode:
Related Commands
19.19 show perf-brg-if
Function
This command cancels performance collection on a vport.
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
ZXAN(config)# interface gpon-onu_1/2/1:1
ZXAN(config-if)# perf-clear-current vport 1
Related Commands
show performance pon-vport
19-9
19.12 perf-clear-current
Syntax
perf-clear-current [name1 ]
no perf-clear-current
Function
This command cancels performance collection on an uplink port.
Parameters
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
None
Examples
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)# perf-clear-current
Related Commands
16.16 show interface
Function
This command creates an alarm profile for uplink port performance statistics.
19-10
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To delete the alarm profile, use the no form of this command.
l Before deleting the alarm profile, unload the profile from all related uplink ports.
Examples
The following example shows how to create an alarm profile (name: eth) in global mode:
Related Commands
19.20 show perf-eth-if
no perf-profile eth-if
Function
This command loads an alarm profile to an uplink port.
Parameters
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
To unload the alarm profile from an uplink port, use the no form of this command.
19-11
Examples
The following example shows how to load an existing profile (name: eth) to an uplink port
(gei_1/3/1):
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)# perf-profile eth-if eth
Related Commands
1.26 show running-config
19.15 perf-profile
Syntax
perf-profile pvc number1 {name1 }
no perf-profile pvc number1
Function
This command loads an alarm profile to an ADSL, VDSL, or SHDSL interface.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
Before using this command, ensure that the alarm profile to be loaded is available.
Examples
The following example shows how to load an existing alarm profile:
ZXAN(config)#interface adsl_1/3/1
ZXAN(config-if)# perf-profile pvc 1 profile
Related Commands
show running-config interface
19-12
Function
This command disables performance collection on a PVC.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/2/1
ZXAN(config-if)#performance disable pvc 1
Related Commands
1.26 show running-config
Function
This command enables performance collection on a PVC.
Parameters
19-13
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/2/1
ZXAN(config-if)#performance enable pvc 1
Related Commands
1.26 show running-config
Function
This command starts or stops performance statistics on a vport.
Parameters
Mode
l GPON ONU interface mode
l GPON line configuration mode
Usage Guidelines
None
Examples
The following example shows how to start vport performance statistics on an ONU
interface:
19-14
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#performance vport 1 start
Related Commands
None
Function
This command displays the configuration of an alarm profile used for bridge port
performance statistics.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(config-perf-brgport)#show perf-brg-if profile
PM-BRGPORT alarm profile:
----------------------------------------
NO.1 profile : brg-prf
Related Commands
19.10 perf-brg-if profile
19-15
Function
This command displays the configuration of an alarm profile used for uplink port
performance statistics.
Parameters
Parameter Description Value
Mode
All modes except user mode
Usage Guidelines
If the profile name is not specified in this command, only the profile name will be displayed
in the command result.
If the profile name is specified in this command, the detailed information of the profile will
be displayed in the command result.
Examples
ZXAN(config-perf-if)#show perf-eth-if profile
PM-ETHPORT alarm profile:
-------------------------------------
NO.1 profile : eth
Related Commands
19.13 perf-eth-if profile
Function
This command displays performance statistics on a bridge port.
Parameters
Parameter Description Value
interface1 Interface -
19-16
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(config-if)#show performance dsl-pvc vdsl_1/2/1 pvc 1 current
-----------------------------------------------------------
Input:
Byte :0 UcastPkts :0
McastPkts :0 BcastPkts :0
Output:
Byte :0 UcastPkts :0
McastPkts :0 BcastPkts :0
Related Commands
19.10 perf-brg-if profile
19.8 item
19.17 performance enable
19.16 performance disable
Function
This command displays performance statistics on an Ethernet port.
19-17
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(config-if)#show performance eth-if gei_1/3/1 current
----------------------------------------------------------------
Input:
Byte :279990596 Packets :275686
UcastPkts :0 McastPkts :0
BcastPkts :270889 OversizePkts :0
FcsErrors :4797 AlignErrs :0
UndersizePkts:0
Output:
Byte :0 Packets :0
UcastPkts :0 McastPkts :0
BcastPkts :0 PausePkts :0
DiscardPkts :0 Collisions :0
SingColls :0 MultiColls :0
Related Commands
19.13 perf-eth-if profile
19.8 item
19-18
Function
This command displays the statistics of a sport of a PON interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistics of a sport of a PON interface:
ZXAN(config)#sho statistics interface gpon-onu_1/12/1:1 sport 1
Related Commands
None
Function
This command displays the statistics of the specified port and VLAN.
Parameters
Mode
All modes except user mode
19-19
Usage Guidelines
Only ports of the FTGKB card support this command.
Examples
ZXAN(config)#sho statistics interface port-vlan gei_1/5/1 vlan 100
Related Commands
None
Function
This command displays the statistics of a multicast group.
Parameters
Mode
All modes except user mode
Usage Guidelines
Use the ZXAN(config)#sho statistics multicast-group command to check the index of the
multicast group.
Then, use the ZXAN(config)#sho statistics multicast-group 1 command to check the
statistics.
The configuration of multicast-group statistics.
num groupIp vlan
—————————
1 224.1.1.1 100
2 224.1.1.2 100
Examples
The following example shows how to display the statistics of a multicast group:
19-20
Related Commands
None
Function
This command displays the global VLAN statistics.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global VLAN statistics:
19-21
Related Commands
None
19.27 statistics
Syntax
statistics vlan number1
Function
This command configures the statistical items based on port and VLAN.
Parameters
Mode
l Layer 2 gei interface mode and 10G_Ether interface mode: ZXAN(config-if)#
l VDSL interface mode
Usage Guidelines
Only FTGKB cards support this command.
Examples
ZXAN(config-if)#statistics vlan 100
Related Commands
ZXAN(config-if)#sho statistics interface port-vlan gei_1/5/1 vlan 100
19-22
Function
This command configures the multicast groups on which to collect statistics.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Configure the multicast groups on which to collect statistics. Then, check the related rate
information.
Examples
ZXAN(config)#statistics multicast-group 224.1.1.2 vlan 100
Related Commands
ZXAN(config)#show statistics multicast-group
—————————
1 224.1.1.1 100
2 224.1.1.2 100
Function
This command starts or stops the statistics on a service port.
19-23
Parameters
Mode
l GPON ONU interface mode
l EPON ONU mode
Usage Guidelines
None
Examples
The following example shows how to start statistics on service port 1:
ZXAN(config)#interface gpon-onu_1/15/1:1
ZXAN(config-if)#statistics service-port 1 start
Related Commands
None
Function
This command configures the statistical items based on VLAN.
Parameters
Mode
Configuration mode: ZXAN (config)#
19-24
Usage Guidelines
In global mode, configure the VLAN items on which to collect statistics, then, check the
statistics based on VLAN.
Examples
ZXAN(config)#statistics vlan svlan 100
Related Commands
ZXAN(config)#show statistics vlan
svlan cvlan
—————————
100
19-25
19-26
20-1
no arp learn
20-2
Function
This command enables dynamic ARP entry learning.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l supervlan interface mode
Usage Guidelines
After the dynamic ARP learning is enabled, the ARP learns and adds dynamic ARP entries.
After the dynamic ARP learning is disabled, the ARP no longer learns and adds dynamic
ARP entries.
Examples
The following example shows how to enable dynamic ARP entry learning:
Related Commands
20.35 show arp
Function
This command configures an ARP protection mode (based on interface or the whole) and
sets the threshold for ARP protection.
20-3
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
After the ARP protection mode and threshold are configured, a packet will be discarded if
the ARP threshold is reached, and an alarm message will be printed.
Examples
The following example shows how to configure the ARP protection mode and set the
protection threshold to 2000:
Related Commands
20.35 show arp
no arp source-filtered
Function
This command enables the source-based ARP filtering.
Parameters
None
20-4
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l supervlan interface mode
Usage Guidelines
When the ARP filtering function is enabled on an interface, the interface filters ingress ARP
packets by source address. If the source address in an ARP packet does not belong to
the network segment of the interface, this packet will not be processed.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the source-based ARP filtering on an
interface:
ZXAN(config-if-vlan200)#arp source-filtered
Related Commands
20.35 show arp
Function
This command configures the aging time of ARP entries in the ARP cache.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l supervlan interface mode
Usage Guidelines
This command is neglected on non-Ethernet interfaces.
To view the configured aging time of ARP entries, use the show running-config command.
20-5
To restore the default aging time, use the no form of this command.
Examples
The following example shows how to configure the aging time of ARP entries in the ARP
cache to 10000 seconds:
ZXAN(config)#interface vlan 100
ZXAN(config-if-vlan100)#arp timeout 10000
Related Commands
20.35 show arp
Function
This command enables automatic binding of dynamic ARP entries in the ARP cache.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
When the automatic binding is enabled, all dynamic ARP entries are bound to TS IDs of
the corresponding static ARP entries.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable automatic binding of ARP dynamic entries in
the ARP cache:
ZXAN(config)#arp to-static
Related Commands
20.35 show arp
20-6
no arp to-static
Function
This command enables automatic binding of dynamic ARP entries in the ARP cache.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l supervlan interface mode
Usage Guidelines
When the automatic binding is enabled, all dynamic ARP entries in the ARP cache of the
interface are converted into static ARP entries marked with TS.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable automatic binding of dynamic ARP entries in
the ARP cache:
ZXAN(config-if-vlan11)#arp to-static
Related Commands
20.35 show arp
Function
This command clears all dynamic ARP entries in the ARP cache on an interface.
20-7
Parameters
Parameter Description Value
ip_addr1 IP address -
ip_addr2 IP address -
Mode
Privileged mode: ZXAN#
Usage Guidelines
If no parameter is specified in the command, the dynamic ARP entries in the ARP cache
on all the interfaces will be cleared. If an interface name is specified in the command, the
dynamic ARP entries in the ARP cache on the specified interface will be cleared.
Examples
The following example shows how to clear the dynamic ARP entries in the ARP cache on
the interface “vlan2”:
ZXAN#clear arp-cache interface vlan 2
Related Commands
20.35 show arp
Function
This command clears information about IP transmission.
Parameters
None
20-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command clears the statistics of transmitted IP packets.
Examples
The following example shows how to clear information about IP transmission:
ZXAN#clear ip traffic
Related Commands
20.52 show ip traffic
Function
This command clears TCP connections, such as Telnet, FTP, and BGP connections.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
20-9
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
Function
This command clears a TCP connection (Telnet connection only).
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear a Telnet connection:
Related Commands
None
20-10
Function
This command clears the statistics of TCP packets.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the statistics of TCP packets:
ZXAN#clear tcp statistics
Related Commands
None
Function
This command clears a TCP connection (a Telnet, FTP, or BGP connection) corresponding
to a certain transmission control module.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
20-11
Examples
The following example shows how to clear a TCP connection:
ZXAN#clear tcp tcb 3261896
Related Commands
None
Function
This command clears a TCP connection (Telnet connection only) corresponding to a certain
control terminal.
Parameters
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
20-12
Function
This command clears a TCP connection (Telnet connection only) corresponding to a certain
virtual terminal.
Parameters
Parameter Description Value
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear a Telnet connection:
ZXAN#clear tcp vty 0
Related Commands
None
20.15 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
20-13
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback 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 route 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
255.255.255.255 or subnet.ones is set as the broadcast address, the subnet.ones/32
broadcast route 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.
Examples
The following example shows how to set the IP address of the interface “VLAN 100” to
168.1.10.100 and the subnet mask to 255.255.0.0:
ZXAN(config)#interface vlan 100
ZXAN(config-if-vlan100)#ip address 168.1.10.100 255.255.0.0
Related Commands
20.40 show ip interface
20-14
Function
This command enables dynamic ARP DHCP inspection for a VLAN.
Parameters
WORD1 VLAN ID -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
When ARP DHCP inspection is enabled for an interface VLAN, the VLAN inspects ingress
ARP packets and discards unmatched packets.
Examples
The following example shows how to enable dynamic ARP inspection for VLAN 100:
Related Commands
ZXAN(config)#show ip arp inspection vlan
Function
This command configures a trust port for dynamic ARP DHCP inspection.
Parameters
None
Mode
10G Ethernet interface mode: ZXAN(config-if)#
20-15
Usage Guidelines
If a port is configured as a trust port, this port will not perform DHCP inspection on ingress
ARP packets.
Examples
The following example shows how to configure the port gei_1/4/3 as a trust port:
ZXAN(config)#interface gei_1/4/3
ZXAN(config-if)#ip arp inspection trust
Related Commands
20.36 show ip arp inspection vlan
20.18 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
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
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 of the interface “vlan 100” to 1000:
20-16
Related Commands
20.40 show ip interface
20.19 ip proxy-arp
Syntax
ip proxy-arp
no ip proxy-arp
Function
This command enables the proxy ARP function for an interface.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l supervlan interface mode
Usage Guidelines
If proxy ARP 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 proxy ARP function is disabled. In the same network segment, the proxy
ARP function is only available for users in layer-2 isolation scenario.
To disable this function, use the no form of this command.
Examples
The following example shows how to enable the proxy ARP function for the interface “vlan
100”:
ZXAN(config)#interface vlan 100
ZXAN(config-if-vlan100)#ip proxy-arp
Related Commands
20.40 show ip interface
20-17
20.20 ip redirect
Syntax
ip redirect
no ip redirect
Function
This command enables a router to send redirect messages.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback 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
redirect 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 from sending redirect messages, use the no form of this command.
Examples
The following example shows how to enable the redirect message sending function for the
interface “vlan 2”:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip redirect
Related Commands
20.40 show ip interface
20.21 ip route
Syntax
ip route {mng ip_addr1 ip_addr2 ip_addr3 |[vrf name1 ] ip_addr4 ip_addr5 {ip_addr6 |interface1
[ip_addr7 ] } } [{[global ] [number1 ] [tag number2 ] [slave ] }]
20-18
no ip route {mng ip_addr1 |[vrf name1 ] ip_addr1 } ip_addr2 [number1 ] [tag number2 ]
Function
This command configures a static route.
Parameters
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.
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.
If the egress interface is set to null1, L3 data stream matching the corresponding route
entry is discarded.
20-19
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
20.46 show ip route
20.22 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
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
20-20
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
no ip tcp finwait-time
Function
This command configures the waiting time for TCP disconnection.
Parameters
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 as 400 seconds for TCP
disconnection:
20-21
Related Commands
None
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
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:
Related Commands
None
no ip tcp synwait-time
20-22
Function
This command configures the waiting time for new TCP connection attempt. It works for
later established TCP connection.
Parameters
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:
Related Commands
None
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.
Parameters
20-23
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
20.27 ip telnet-server
Syntax
ip telnet-server name1
Function
This command enables or disables telnet login to the NE.
Parameter
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
If telnet to the NE is disabled, all existing telnet connections will be disconnected from the
NE.
Examples
l The following example shows how to enable telnet login to the NE:
ZXAN(config)#ip telnet-server enable
l The following example shows how to disable telnet login to the NE:
ZXAN(config)#ip telnet-server disable
20-24
Related Commands
None
20.28 ip unreachable
Syntax
ip unreachable
no ip unreachable
Function
This command enables the sending of ICMP unreachable messages.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
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:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip unreachable
Related Commands
20.40 show ip interface
20.29 ip vrf
Syntax
ip vrf name1
no ip vrf name1
20-25
Function
This command configures a VPN instance and enters VRF configuration mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The VRF name is locally valid and will be used when an interface is bound to the VPN.
To delete a VPN instance, use the no form of this command.
Examples
The following example shows how to configure a VPN instance whose name is zte:
ZXAN(config)#ip vrf zte
Related Commands
20.53 show ip vrf
Function
This command associates a VRF with an interface.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l loopback interface mode
l supervlan interface mode
20-26
Usage Guidelines
This command re-configures the IP address after deleting the original IP address of the
interface. By default, the global routing table is associated with the interface.
To cancel the association, use the no form of this command.
Examples
The following example shows how to associate a VPN instance whose name is zte with
the interface VLAN 100:
ZXAN(config)#interface vlan 100
ZXAN(config-if-vlan100)#ip vrf forwarding zte
Related Commands
20.29 ip vrf
Function
This command configures the aging time of ND entries in stale state.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
RFC specifies the aging time (24 hours) of ND entries in stale state. This command allows
you to change the aging time as required.
Examples
The following example shows how to configure the aging time to 20 hours:
ZXAN(config)#ipv6 nd stale-time 1200
20-27
Related Commands
show nd6 cache
Function
This command configures an IPv6 static route with an administrative distance.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
If the next-hop address of a static route is the local address of a link, the interface name
must be specified in the command for successfully route configuration.
Two static routes with the same destination network number and mask length are not
allowed. If the egress interface is set to null1, L3 data stream matching the corresponding
route is discarded.
20-28
l If the next hop information is not specified, the no ipv6 route command will delete
the static route with matching destination network number and mask length. If no
matching static route is located, no prompt will be displayed.
l If the next hop information is specified, the no ipv6 route command will delete the
static route with matching destination network number, mask length, and next hop
information. If no matching static route is located, an error message will be displayed.
Examples
The following example shows how to configure a static route to 2000::0/60 with the
administrative distance of 100. The next hop of this route is 3000::2.
Related Commands
54.23 show ipv6 route
Function
This command enables fast reroute for IPv6 static routes.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
When fast reroute is enabled for IPv6 static routes, the system can perform primary/backup
route switching as required.
Examples
The following example shows how to enable fast reroute for IPv6 static routes:
20-29
Related Commands
54.23 show ipv6 route
Function
This command binds an IP address to a MAC address.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l supervlan interface mode
Usage Guidelines
This command is neglected on non-Ethernet interfaces. To view the binding between
IP address and MAC address on an Ethernet interface, use the show running-config
command.
Examples
The following example shows how to bind an IP address (168.10.1.1) to a MAC address
(000a.010c.e2c6) on a VLAN 2 interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#set arp static 168.10.1.1 000a.010c.e2c6
Related Commands
20.35 show arp
20-30
Function
This command displays ARP entries on a layer-3 interface.
Parameters
Mode
Any mode except user mode
20-31
Usage Guidelines
If no parameter is specified in this command, the corresponding relations between the IP
address and MAC address in the ARP cache of all the Ethernet interfaces will be displayed.
If an interface name is specified in the command, the ARP table of the corresponding
Ethernet interface will be displayed.
The following explains the regular expression:
l begin: The information from the line that contains the specified character or character
string is displayed.
l exclude: The information of lines that do not contain the specified character or
character string is displayed.
l include: The information of lines that contain the specified character or character string
is displayed.
Examples
The following example shows how to display the ARP tables of all interfaces:
ZXAN#show arp
ARP protect whole is disabled
The count is 1
IP Hardware External Internal
Address Age(min) Address Interface VlanID VlanID
--------------------------------------------------------------------------------
1.2.3.4 - 00d0.d012.ab33 vlan11 11 N/A
Related Commands
20.7 clear arp-cache
Function
This command displays a list of VLANs with dynamic ARP DHCP inspection enabled
and/or disabled.
Parameters
20-32
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display VLANs with dynamic ARP DHCP inspection
enabled and disabled:
ZXAN#sho ip arp inspection vlan
VLAN Inspection --------------------
1 disable
30 disable
100 enable
200 disable
300 disable
Related Commands
ip arp inspection vlan
Function
This command displays all primary and backup routes.
Parameters
20-33
Mode
Any mode except user mode
Usage Guidelines
This command displays the configuration information of primary routes (M) and backup
routes (S).
Examples
The following example shows how to display the configured primary routes and backup
routes:
Related Commands
20.21 ip route
Function
This command displays primary and backup routes in a VRF.
Parameters
Mode
Any mode except user mode
20-34
Usage Guidelines
A VRF name must be specified in the command for displaying primary and backup routes
in the VRF.
Examples
The following example shows how to display primary and backup routes in a VRF whose
name is zte:
show ip backup route vrf zte
IPv4 Backup Routing Table:
Dest Mask Gw Interface Owner Pri Met M/S
1.1.1.0 255.255.255.0 192.168.100.2 vlan100 static 1 0 M
255.255.255.0 192.168.40.2 vlan400 static 5 0 S
Related Commands
20.49 show ip route vrf
Function
This command displays the header information in IP packets recently received by the
device.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the header information in IP packets recently
received by the device:
ZXAN(config)#sho ip header logging
tick if_index protocol src_ip dst_ip src_port dst_port ttl vpnId
34293482 3 6 10.63.79.148 10.63.198.70 3389 4621 125 0
20-35
Related Commands
ip header logging
Function
This command displays information about the interface status and configuration.
Parameters
Parameter Description Value
name1 Syntax -
Mode
Any mode except user 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.
20-36
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
vlan1 unassigned unassigned up up up
vlan2 10.1.1.1 255.255.0.0 up up down
vlan100 unassigned unassigned up up down
Related Commands
show running interface
Function
This command displays the brief information of an interface.
Parameters
name1 Syntax -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the brief information of the interface vlan 100:
ZXAN#show ip interface brief
Interface IP-Address Mask Admin Phy Prot Description
vlan100 192.168.100.1 255.255.255.0 up up up none
vlan200 192.168.200.1 255.255.255.0 up up up none
vlan300 192.168.30.1 255.255.255.0 up up down none
20-37
Related Commands
20.40 show ip interface
Function
This command displays information about protocol stack routes.
Parameters
ip_addr1 Subnet -
Mode
Any mode except user mode
Usage Guidelines
l If no parameter is specified in the command, the information about all the protocol
stack routes will be displayed.
l If a subnet ID is specified in the command, the information about the protocol stack
routes matching the subnet will be displayed.
l If a subnet ID and a subnet mask are specified in the command, the information about
the protocol stack routes matching both the subnet ID and mask will be displayed.
Examples
The following example shows how to display information about protocol stack routings:
ZXAN#show ip protocol routing
Protocol routes:
Status codes: *-valid, >-best, i-internal, s-stale
Related Commands
20.46 show ip route
20-38
Function
This command displays the counts of routes by protocols.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the counts of routes that comply with different
protocols:
ZXAN#show ip protocol routing summary
Route Source count
connected : 0
static: 0
ospf: 0
rip: 0
bgp: 0
isis: 0
Total: 0
Related Commands
20.46 show ip route
Function
This command displays route entries in a VRF.
20-39
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the route entries in a VRF whose name is
abc:
Related Commands
20.49 show ip route vrf
Function
This command displays the statistics of route entries in a VRF.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the statistics of different protocol route entries in a specific VRF.
20-40
Examples
The following example shows how to display the statistics of route entries in a VRF whose
name is abc:
show ip protocol routing vrf-summary abc
Related Commands
show ip route vrf-summary abc
Function
This command displays the global routing table.
Parameters
Mode
Any mode except user 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 the global routing table:
20-41
ZXAN#show ip route
Total number of routes: 3
IPv4 Routing Table:
Dest Mask Gw Interface Owner Pri Metric
0.0.0.0 0.0.0.0 10.63.198.254 mng1 static 1 0
10.63.198.0 255.255.255.0 10.63.198.68 mng1 direct 0 0
10.63.198.68 255.255.255.255 10.63.198.68 mng1 address 0 0
Related Commands
None
Function
This command displays the global routing table of the management interface.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global routing table of the management
interface:
Related Commands
None
20-42
Function
This command displays the route information in all VPN instances.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the route information in all VPN instances:
Related Commands
None
Function
This command displays the route information in a VRF.
20-43
Parameters
Mode
Usage Guidelines
This command displays specific routes in a VPN.
Examples
The following example shows how to display the route information in a VRF whose name
is zte:
Related Commands
20.29 ip vrf
Function
This command displays the count of routes in a VRF.
20-44
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the count of routes in a specific VPN.
Examples
The following example shows how to display the count of routes in a VRF whose name is
zte:
ZXAN(config)#sho ip route vrf-summary zte
The total route of this VPN is 3
Related Commands
20.49 show ip route vrf
Function
This command displays the created TCP/UDP listening ports.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#sho ip se
ZXAN(config)#sho ip security-audit
20-45
Related Commands
None
Function
This command displays statistical information about IP transmission.
Parameters
None
Mode
Any mode except user 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:
20-46
ZXAN#show ip traffic
IP statistics:
Rcvd: 7091 total, 1322 local destination
format errors checksum errors bad hop count
0 0 0
unknown protocol
0
Frags:reassembled timeouts couldn't reassemble
0 0 0
fragmented couldn't fragment
0 0
Bcast:received sent
53 44
Sent: generated forwarded encapsulation failed no route
990 0 0 0
ICMP statistics:
Rcvd: 0 total
format errors redirects unreachable echo
0 0 0 0
echo reply mask requests mask replies quench
0 0 0 0
timestamp request timestamp reply time exceeded
0 0 0
parameter problem
0
Sent: 0 total
format errors redirects unreachable echo
0 0 0 0
echo reply mask requests mask replies quench
0 0 0 0
timestamp request timestamp reply time exceeded
0 0 0
parameter problem
0
UDP statistics:
Rcvd: 53 total, 0 checksum errors, 1 no port
Sent: 0 total
TCP statistics:
Rcvd: 1269 total, 0 checksum errors
Sent: 983 total
ARP statistics:
Rcvd: requests replies
13 41
Sent: requests replies
41 10
20-47
Related Commands
None
Function
This command displays the information of created VRFs.
Parameters
Mode
Any mode except user mode
Usage Guidelines
By default, the information of all created VRFs are displayed.
Examples
ZXAN(config)#sho ip vrf
* Being deleted
Name Default RD Interfaces
zte 1:1 vlan100
Related Commands
20.29 ip vrf
20-48
Function
This command displays the details of a VRF.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the details of a VRF and related interfaces, including the
information of ingress and egress packets.
Examples
ZXAN(config)#show ip vrf detail
VPN zte; default RD 1:1
Flow Statistic:
InPktsHigh :0 InBytesHigh :0
InPkts :0 InBytes :0
OutPktsHigh :0 OutBytesHigh :0
OutPkts :0 OutBytes :0
Interfaces:
vlan100
Connected addresses are not in global routing table
No export VPN route-target communities
No import VPN route-target communities
No import route-map
No export route-map
VRF label allocation mode: per-prefix
No static outlabel configuration
Related Commands
20.53 show ip vrf
20-49
Function
This command displays the information of interfaces associated with a VRF.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the information of interfaces associated with a VRF, such as
interface state.
Examples
ZXAN(config)#show ip vrf interfaces
Interface IP-Address VRF Protocol
vlan100 192.168.100.1 zte up
Related Commands
20.53 show ip vrf
Function
This command displays a summary of VRFs.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
This command displays a summary of VRFs, such as the number of created VRFs.
20-50
Examples
ZXAN(config)#sho ip vrf summary
1 VPN have been configured(MAX VPN:128).
Related Commands
20.53 show ip vrf
Function
This command displays the NTP configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
This command displays the basic NTP configuration. This command does not display the
NTP authentication related information (such as password) and multicast/broadcast mode
configuration.
Examples
The following example shows how to display the current NTP configuration:
Related Commands
33.7 ntp server
20-51
Function
This command displays the configuration of a super VLAN.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no super VLAN ID is specified in this command, the configuration information of all super
VLAN interfaces will be displayed.
Examples
The following example shows how to display the configuration of all super VLANs:
ZXAN#show supervlan
interface supervlan1
inter-subvlan-routing enable
arp-broadcast disable
ip-pool-filter enable
Related Commands
20.68 supervlan
8.6 supervlan inter-subvlan-routing
Function
This command displays parameters of all TCP connections.
20-52
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display parameters of all TCP connections:
ZXAN#show tcp
tty 67,virtual tty from host 10.63.10.208
Connection state is ESTAB, I/O status: 1, unread input
bytes: 1
Local host: 10.63.173.100, Local port: 23
Foreign host: 10.63.10.208, Foreign port: 2852
Enqueued packets for retransmit: 0, input: 70
mis-ordered: 0 (0 bytes)
20-53
Related Commands
None
20-54
Function
This command displays brief information about all TCP connections.
Parameters
None
Mode
Any mode except user 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
Function
This command displays the basic TCP configuration.
Parameters
None
Mode
Any mode except user mode
20-55
Usage Guidelines
This command displays the TCP configuration, such as window size and the maximum
TCP queue size.
Examples
The following example shows how to display the TCP configuration:
show tcp configuration
TCP SYNWAIT: 30
TCP FINWAIT: 600
TCP QUEUEMAX: 5
TCP WINDOWSIZE: 2144
Related Commands
ip tcp
Function
This command displays parameter information about a TCP connection specified in a line.
Parameters
Mode
Any mode except user 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
20-56
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)
Related Commands
None
Function
This command displays statistical information about the TCP layer.
20-57
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display statistical information about the TCP layer:
Related Commands
None
20-58
Function
This command displays parameter information about the connection corresponding to a
specified TCB.
Parameters
Mode
Any mode except user 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
mis-ordered: 0 (0 bytes)
20-59
timeout
Related Commands
None
Function
This command displays parameter information about the connection corresponding to a
TTY terminal.
Parameters
Mode
Any mode except user mode
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.172
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 10.63.196.240, Local port: 23
Foreign host: 10.63.10.172, Foreign port: 1431
Enqueued packets for retransmit: 3, input: 260
mis-ordered: 0 (0 bytes)
20-60
Related Commands
None
Function
This command displays parameter information about the connection corresponding to a
VTY terminal and information about a TCP connection through Telnet.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
20-61
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)
Related Commands
None
20.67 shutdown
Syntax
shutdown
no shutdown
Function
This command starts or shuts down an interface.
20-62
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l E1 controller configuration mode
Usage Guidelines
By default, an interface is started.
After an interface is shut down, all interface functions are disabled. However, the physical
status (up or down) of the interface does not change.
Examples
The following example shows how to shut down the interface vlan 100:
ZXAN(config)#interface vlan 100
ZXAN(config-if-vlan100) shutdown
Related Commands
show ip interface vlan
20.68 supervlan
Syntax
supervlan number1
no supervlan
Function
This command binds a VLAN/real port to a super VLAN.
Parameters
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
20-63
Usage Guidelines
A VLAN can only be bound to one super VLAN. A maximum of 4094 sub-VLANs can be
bound to a super VLAN. It is not allowed to configure a layer-3 interface to a super VLAN.
To cancel the binding, use the no form of this command.
Examples
The following example shows how to bind vlan 2 to supervlan 1:
ZXAN(config)#vlan 2
ZXAN(config-vlan2)#supervlan 1
Related Commands
None
20.69 trace
Syntax
trace ip_addr1 [source ip_addr2 ]
Function
This command traces the route to a destination.
Parameters
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 "*".
20-64
Examples
The following example shows how to trace the route to 168.1.10.100:
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]
Parameter Description
168.1.10.100 IP address of a hop in the route. The last address is the destination
IP address.
Related Commands
None
20.70 vlan
Syntax
vlan {number1 |name WORD1 }
no vlan {number1 |name WORD1 }
Function
This command configures VLAN attributes for an EPON ONU Ethernet port.
Parameters
Parameter Description Value
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l E1 controller configuration mode
Usage Guidelines
None
20-65
Examples
The following example shows how to configure the VLAN mode to translation for the
Ethernet port of ONU 1 under OLT interface 1 in slot 7 of shelf 1:
ZXAN(config)#pon-onu-mng epon-onu_1/7/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
Related Commands
None
20-66
21-1
Function
This command starts VRF address mode.
Parameters
Mode
Router RIP mode: ZXAN(config-router)#
Usage Guidelines
The RIP extension supports VRF address mode. To configure the address mode, you
need to enter the corresponding address configuration mode.
Use the ip vrf <vrf-name> command to create a VRF and ensure that a RD is configured
for the VRF before using the address-family ipv4 vrf <vrf-name> command.
When a VRF instance is deleted, the address-family ipv4 vrf configuration bound to the
VRF instance is also deleted.
To exit VRF address mode, use the exit-address-family command.
To delete VRF address configuration mode, use the no form of this command.
Examples
The following example shows how to enter the address configuration mode of vpn1:
ZXAN(config)#router rip
ZXAN(config-router)#address-family ipv4 vrf vpn1
21-2
Related Commands
20.29 ip vrf
exit-address-family
21.2 auto-summary
Syntax
auto-summary
no auto-summary
Function
This command enables sending only summarized natural-network and super-network
routes in case of RIPv2.
Parameters
None
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
By default, the system sends only summarized natural-network and super-network routes.
The route summarization reduces the amount of route information to be sent.
To cancel the setting and restore sending all RIP routes, use the no form of this command.
Examples
The following example shows how to enable sending only summarized natural-network
and super-network routes:
ZXAN(config)#router rip
ZXAN(config-router)#auto-summary
Related Commands
None
21-3
no debug ip rip
Function
This command turns on the debugging switch for tracing the sending and receiving of RIP
packets.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To cancel the tracing, use the no form of this command.
Examples
The following example shows how to turns on the debugging switch to trace the sending
and receiving of RIP packets:
ZXAN#debug ip rip
RIP protocol debugging is on
Related Commands
10.98 terminal monitor
Function
This command turns on all RIP debugging switches.
21-4
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To turn off all RIP debugging switches, use the no form of this command.
Examples
The following example shows how to turn on all RIP debugging switches:
ZXAN#debug ip rip all
All RIP debugging has been turned on
Related Commands
10.98 terminal monitor
Function
This command turns on the debugging switch to trace changes in the RIP routing table.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To cancel the tracing, use the no form of this command.
Examples
The following example shows how to turn on the debugging switch to trace changes in the
RIP routing table:
21-5
Related Commands
10.98 terminal monitor
Function
This command turns on the debugging switch to trace RIP related events, such as interface
state.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To cancel the tracing, use the no form of this command.
Examples
The following example shows how to turn on the debugging switch to trace RIP related
events:
ZXAN#debug ip rip events
RIP event debugging is on
Related Commands
10.98 terminal monitor
21-6
Function
This command turns on the debugging switch to trace RIP trigger events, such as timer
timeout.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To cancel the tracing, use the no form of this command.
Examples
The following example shows how to turn on the debugging switch to trace RIP trigger
events:
ZXAN#debug ip rip trigger
RIP trigger debugging is on
Related Commands
10.98 terminal monitor
21.8 default-metric
Syntax
default-metric number1
no default-metric
Function
This command configures the default metric that is used for redistributing routes from other
protocols to the RIP.
21-7
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
This command is used together with the redistribute command to allow the current routing
protocol to use the same metric value for all redistributed routes.
The default metric helps solve route redistribution problems that are caused by different
metric values. If the metric is not changed, the default metric provides a reasonable
alternative method to facilitate the redistribution.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the default metric to 6:
ZXAN(config)#router rip
ZXAN(config-router)#default-metric 6
Related Commands
21.31 redistribute
Function
This command disables an interface and stops running the RIP on the interface.
Parameters
21-8
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
This command does not change the configuration parameter database, but only stops
running the RIP on the interface.
Examples
The following example shows how to stop running the RIP on an interface whose IP
address is 10.1.1.1:
ZXAN(config)#router rip
ZXAN(config-router)#disable interface 10.1.1.1
Related Commands
21.11 enable interface
21.10 distance
Syntax
distance number1
no distance
Function
This command specifies the administrative distance for RIP routes.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
The administrative distance is specified for RIP routes to change the selection of the
optimal route in the global routing table.
To restore the default, use the no form of this command.
21-9
Examples
The following example shows how to set the administrative distance of RIP routes to 122:
ZXAN(config)#router rip
ZXAN(config-router)#distance 122
Related Commands
None
Function
This command starts running the RIP on an interface.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
This command does not change the configuration parameter database.
Examples
The following example shows how to start running the RIP on an interface whose IP
address is 10.20.1.20:
ZXAN(config)#router rip
ZXAN(config-router)#enable interface 10.20.1.20
Related Commands
21.9 disable interface
21-10
21.12 flash-update-threshold
Syntax
flash-update-threshold number1
no flash-update-threshold
Function
This command sets the RIP flash timer.
Parameters
Mode
Router RIP mode: ZXAN(config-router)#
Usage Guidelines
The RIP flash timer can be modified according to the actual situation.
To restore the default, use the no form of this command.
Examples
The following example shows how to set the RIP flash timer to 10 seconds:
ZXAN(config)#router rip
ZXAN(config-router)#flash-update-threshold 10
Related Commands
None
21.13 ip poison-reverse
Syntax
ip poison-reverse
no ip poison-reverse
Function
This command enables the poison-reverse mechanism.
21-11
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
By default, the poison-reverse mechanism is disabled.
When the poison-reverse mechanism is enabled, the metric of a route must be configured
to infinite (Metric = 16) to avoid routing loops before the route is sent back to the router
that originally advertises this route. Because the poison-reverse mechanism may increase
network traffic, it is recommended to disable the mechanism when the network load is
heavy.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the poison-reverse mechanism for the layer-3
interface VLAN2:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip poison-reverse
Related Commands
None
Function
This command configures a simple text authentication key for an interface.
Parameters
Parameter Description Value
21-12
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
By default, an interface has no simple text authentication key and no authentication is
required on the interface.
This command is used in combination with the ip rip authentication mode text command.
To remove the key, use the no form of this command.
Examples
The following example shows how to set the simple text authentication key of the layer-3
interface VLAN 2 to zxan:
ZXAN(config)#interface vlan 2
Related Commands
21.16 ip rip authentication mode
Function
This command configures an MD5 authentication key chain for an interface.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
21-13
Usage Guidelines
By default, no MD5 authentication key chain is set for an interface.
This command is used in combination with the ip rip authentication mode md5 command.
Examples
The following example shows how to configure key 1 in the MD5 authentication key-chain
to abcd for the layer-3 interface VLAN2 and then remove the key:
ZXAN(config)#interface vlan 2
Related Commands
21.16 ip rip authentication mode
Function
This command specifies the authentication mode for RIPv2 packets.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
21-14
Usage Guidelines
By default, no authentication mode is configured. Authentication is not supported for RIPv1
packets.
To cancel the authentication, use the no form of this command.
Examples
The following example shows how to enable the MD5 authentication mode for the L3
interface VLAN 2:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip rip authentication mode md5
Related Commands
21.14 ip rip authentication key
ip
rip authentication key-chain
Function
This command configures the mode of sending and receiving route information for an
interface.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
21-15
Usage Guidelines
This command can be used to reduce the occupation of the network bandwidth.
The ip rip interface passive command is usually used in combination with the neighbor
command to enable the router to only send routes to the specified neighbor and thus reduce
the occupation of the network bandwidth.
The ip rip interface active command is usually used when the LAN only needs to report the
route information in its subnet to the upper-layer server.
The ip rip interface passive and ip rip interface active commands are mutually excluded. If
the ip rip interface active command is executed on an interface and then the ip rip interf
ace passive command, the interface will be set to passive mode, meaning to only receive
RIP route update information.
To cancel the setting and restore the default, use the no form of this command.
Examples
The following example shows how to configure the mode to passive for the L3 interface
VLAN 2:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip rip interface passive
Related Commands
21.22 ip rip receive version
21.43 version
no ip rip neighbor-restrict
Function
This command enables an interface to enter RIP neighbor restricted mode.
Parameters
None
21-16
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
To restore the default, use the no form of this command.
After entering neighbor restricted mode, the interface can discover neighbors if no neighbor
is configured. However, it does not send unicast packets to the discovered neighbors but
still sends only multicast packets. The interface can receive packets from the discovered
neighbors.
If a neighbor is configured, the interface will delete the previously discovered neighbors
and cannot discover neighbors any longer. It sends unicast packets to the configured
neighbor. The interface can receive packets only from the configured neighbor, and will
discard packets from other sources.
After entering neighbor unrestricted mode (no ip rip neighbor-restrict), neighbors can
be discovered no matter whether neighbors are configured on the interface or not. The
interface only sends unicast packets to the configured neighbors but not the discovered
ones. It can receive packets from both the configured neighbors and the discovered ones.
Examples
The following example shows how to enter RIP neighbor restricted mode on the L3
interface VLAN2:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip rip neighbor-restrict
Related Commands
21.27 neighbor
Function
This command enables an interface to advertise the default route when the default route
exists on the router.
21-17
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the L3 interface VLAN 2 to advertise the
default route:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip rip notify default route
Related Commands
21.21 ip rip originate default route
no ip rip only-send-subnet
Function
This command enables an interface to advertise only the subnet information of the network
corresponding to the interface.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
21-18
Usage Guidelines
When this command is executed on an interface, the interface only sends RIP routes
that are not in the same subnet as the interface but belong to the same natural network
segment as the interface address. The routes not in the same natural network segment
are shielded.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the L3 interface VLAN 2 to only advertise
subnet information related to the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip only-send-subnet
Related Commands
None
Function
This command originates a default route on an interface and forcibly advertise the default
route.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
This command originates a default route on the interface, and forcibly advertise the route.
But this default route is not added to the routing table of the router.
To cancel the setting, use the no form of this command.
21-19
Examples
The following example shows how to originate and forcibly advertise a default route on the
L3 interface VLAN 2:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip rip originate default route
Related Commands
21.19 ip rip notify default route
Function
This command specifies the version of RIP packets to be received on an interface.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
The default value depends on the version command. If the version command is not
configured, the default value will be used, meaning that both RIPv1 and RIPv2 packets
will be received. The ip rip receive version command is applicable to a specific interface.
If this command is used, the interface will receive RIP packets according to the version
specified by this command but not the version command.
The ip rip receive version command has a higher priority than the version command. If
the ip rip receive version command is not used for an interface, the interface will receive
RIP packets based on the version information specified by the version command. If the
ip rip receive version command is used to specify the version information for the interface,
21-20
the interface will receive packets of the specified version no matter whether the version
command has been configured in router mode.
To restore to the global version configuration status, use the no form of this command.
Examples
The following example shows how to enable the L3 interface VLAN 2 to receive only RIPv1
packets by specifying the RIP version:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip rip receive version 1
Related Commands
21.43 version
Function
This command specifies the version of RIP packets to be sent by an interface.
Parameters
21-21
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
The ip rip receive version command is applicable to a specific interface. If this command
is used, the interface will send RIP packets according to the version specified by this
command but not the default version specified by the version command.
When using this command, the RIP default status specified by the version command can
be ignored, but is only applied on the configured interface. The default value depends on
the version command. If the version command is not configured, use the default value,
meaning sending version 2.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the L3 interface VLAN 2 to send RIPv2
multicast packets:
ZXAN(config)#interface vlan 2
ZXAN(config-if)ip rip send version 2 multicast
Related Commands
21.43 version
21.24 ip split-horizon
Syntax
ip split-horizon
no ip split-horizon
Function
This command enables the split horizon mechanism.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
21-22
Usage Guidelines
To disable the mechanism, use the no form of this command.
It is not recommended to change the default status of the ip split-horizon command, unless
the default status must be changed in the system to ensure correct route advertisement.
If the split horizon mechanism is disabled on a serial interface that is connected to the
packet switching network, the mechanism must be disabled for all the routers and access
servers in the relevant multicast groups on the network.
For a network containing X.25 packet switching network links, the neighbor command can
be used to change the split-horizon feature, which can clearly specify theno ip split-horizon
command as an alternative in the configuration. But in this way, split horizon must be
disabled for all the routers in relevant multicast groups on that network.
Examples
The following example shows how to disable the split horizon mechanism on the L3
interface VLAN 2:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#no ip split-horizon
Related Commands
None
Function
This command starts IPv6 RIP process configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
21-23
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enter IPv6 RIP process configuration mode:
ZXAN(config)#ipv6 router rip
Related Commands
None
21.26 maximum-paths
Syntax
maximum-paths number1
no maximum-paths
Function
The command configures the maximum number of supported routes for load balancing.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
This command adjusts the number of the same valid routes received through the RIP for
load balancing.
To cancel the setting and restore the default, use the no form of this command.
Examples
The following example shows how to set the maximum number of supported routes for
load balancing to 2:
ZXAN(config)#router rip
ZXAN(config-router)#maximum-paths 2
21-24
Related Commands
None
21.27 neighbor
Syntax
neighbor ip_addr1
no neighbor ip_addr1
Function
This command specifies a neighbor router with which the route exchanges route
information.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
This command allows point-to-point exchange (non-multicast) of RIP routes. Once a
neighbor is specified for the router, the interfaces in the same network as the router
interface will not exchange RIP routes in broadcast (multicast) mode. If the neighbor
command is used after the ip rip interface passive command, which enables the interface
to only receive but not send routes, the router can still exchange routes with this neighbor
through this interface.
Multiple neighbor commands can be used to specify additional neighbor routers or peer
routers. A maximum of 255 neighbors can be discovered or configured for the router.
Examples
The following example shows how to configure a neighbor router 10.10.10.2 for the router:
ZXAN(config)#router rip
ZXAN(config-router)#neighbor 10.10.10.2
21-25
Related Commands
21.18 ip rip neighbor-restrict
ip rip interface passive
21.28 network
Syntax
network ip_addr1 ip_addr2
Function
This command specifies a network for RIP route selection.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
The network command can be repeatedly used to specify multiple networks. RIP route
update messages can only be sent and received through the interfaces of these networks.
If the network of an interface is not specified, the router will fail to receive a RIP update
advertisement when a RIP update message is sent to the interface.
Examples
The following example shows how to specify a network for RIP route selection:
ZXAN(config)#router rip
ZXAN(config-router)#network 202.102.3.0 0.0.0.255
21-26
Related Commands
21.39 show ip rip networks
21.29 offset-list
Syntax
offset-list number1 name1 number2 [interface interface1 ]
Function
This command configures a metric offset for specific routes that are sent or received.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
If an interface name is specified in this command, the metric offset is only applicable to the
specified interface. If the ACL corresponding to the specified access-list-number does
not exist, the metric offset is applicable to all routes received by the interface. If no interface
name is specified in this command, the metric offset is applicable to all routes received by
all RIP interfaces.
21-27
Examples
The following example shows how to set the metric offset to 2 for the received RIP routes
that match ACL 3:
ZXAN(config)#router rip
ZXAN(config-router)#offset-list 3 in 2
Related Commands
None
21.30 output-delay
Syntax
output-delay number1 number2
no output-delay
Function
This command set the delay between packets in a multiple-packet RIP update sent to other
routers.
Parameters
Mode
Router RIP mode: ZXAN(config-router)#
Usage Guidelines
By default, a five-packet RIP update is sent with a delay of 100 ms between packets.
If packets are sent from a high-speed router to a low-speed router, the low-speed router
cannot receive the packets in high speed. In this case, use this command to prevent
information loss in the routing table.
21-28
Examples
The following example shows how to set a 580–packet RIP update with a delay of 10 ms
between packets:
ZXAN(config)#router rip
ZXAN(config-router)#output-delay 580 10
Related Commands
None
21.31 redistribute
Syntax
redistribute name1 [{[metric number1 ] [route-map name2 ] } ]
no redistribute name1 [{[metric ] [route-map ] } ]
Function
This command redistributes routes from a routing domain to the RIP routing domain.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
21-29
Usage Guidelines
This command redistributes other protocol routes with a specific metric value to the RIP
routing domain. The RIP deems the received routes as its own routes and sends these
routes with the specified metric value. This command can greatly improve the capacity of
RIP route acquisition, and improve the RIP performance.
To cancel the route redistribution, use the no form of this command.
Examples
The following example shows how to set the default metric and redistribute OSPF external
routes to the RIP routing domain:
ZXAN(config)#router rip
ZXAN(config-router)#default-metric 5
ZXAN(config-router)#redistribute ospf-ext
Related Commands
21.8 default-metric
Function
This command starts RIP process configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
By default, the RIP is not started.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enter RIP process configuration mode:
ZXAN(config)#router rip
21-30
Related Commands
None
Function
This command displays the basic running information of the RIP.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
The output information of this command can be used for verifying the configuration and
diagnosing IP faults
Examples
The following example shows how to display the basic running information of the RIP. In
this example, the RIP is in running status.
ZXAN#show ip rip
router rip
auto-summary
default-metric 1
distance 120
validate-update-source
version 2
flash-update-threshold 5
maximum-paths 2
output-delay 580 10
timers basic 30 180 180 240
neighbor
10.10.10.2
network
202.102.3.0 0.0.0.255
21-31
Related Commands
None
Function
This command displays the route entries generated by the RIP.
Parameters
Mode
Any mode except user mode
Usage Guidelines
By viewing the output information of this command, you can determine whether the RIP
routing table is correct.
Examples
The following example shows how to display the route entries generated by the RIP:
21-32
Related Commands
None
Function
This command displays the route entries generated by the RIP in a VRF.
Parameters
Mode
Any mode except user mode
Usage Guidelines
By viewing the output information of this command, you can determine whether the current
RIP routing table is correct.
Examples
The following example shows how to display the route entries generated by the RIP in a
VRF:
ZXAN(config-router)#show ip rip database vrf zte
Related Commands
None
21-33
Function
This command displays the information of a RIP interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the information of the interface on which the RIP is started.
Examples
The following example shows how to displays the RIP information of an L3 interface:
ZXAN(config)#show ip rip interface vlan3
ip address:
10.10.30.4
receive version 1 2
send version 2
split horizon is effective
Related Commands
None
Function
This command displays the information of RIP neighbors.
Parameters
None
21-34
Mode
Any mode except user mode
Usage Guidelines
This command displays the information of neighbor routers learned from received RIP
packets and those configured by commands.
Examples
The following example shows how to display RIP neighbor routers learned from received
RIP packets:
ZXAN#show ip rip neighbors
neighbor address interface
10.1.1.15 vlan3
Related Commands
neighbors
Function
This command displays the information of RIP neighbor routes in a VRF instance.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the information of neighbor routers learned from received RIP
packets and those configured by commands in a VRF instance.
Examples
The following example shows how to display the information of neighbor routers learned
from received RIP packets in a VRF instance:
21-35
Related Commands
neighbors
Function
This command displays the networks configured for the RIP.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the networks configured for the RIP:
Related Commands
21.28 network
Function
This command displays the network configured for the RIP in a VRF instance.
21-36
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the networks configured for the RIP in a VRF
instance:
ZXAN(config)#show ip rip networks vrf zte
Related Commands
21.28 network
Function
This command sets the basic RIP network timers.
Parameters
21-37
Mode
Router RIP mode: ZXAN(config-router)#
Usage Guidelines
The RIP basic timers are adjustable. Because the RIP executes a distributed
asynchronous routing algorithm, the timer settings must be consistent for all routers and
access servers in the network.
A too short update period may cause congestion on low-speed serial cables, but does not
cause great problem on the high-speed serial cables in a high-speed Ethernet. If there are
many routes to be updated, a long time period is required for the router to process update
messages.
To restore the default timer settings, use the no form of this command.
Examples
The following example shows how to adjusts the RIP network timers. In this example,
the system broadcasts update messages every 5 seconds. If the router does not receive
update information in 15 seconds, it marks the route as unreachable, and suppresses the
other information in the next 15 seconds. When the hold-down period expires, the route is
deleted from the routing table.
ZXAN(config)#router rip
ZXAN(config-router)#timers basic 5 15 15 30
Related Commands
None
21-38
21.42 validate-update-source
Syntax
validate-update-source
no validate-update-source
Function
This command enables verifying the validity of source IP addresses in received RIP update
packets.
Parameters
None
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
After the source IP address verification is enabled, the router verifies the validity of source
IP address in each RIP update packet received through an interface. If the source IP
address and the interface address belong to the same subnet, the router determines that
the update packet is valid. Or else, the router discards the update packet.
To disable the verification, use the no form of this command.
Examples
The following example shows how to disable the router from verifying the source IP
addresses in received RIP update:
ZXAN(config)#router rip
ZXAN(config-router)#network 128.105.0.0
ZXAN(config-router)#no validate-update-source
Related Commands
None
21.43 version
Syntax
version number1
no version
21-39
Function
This command specifies the RIP version for the router on a global basis.
Parameters
Mode
l Router RIP mode: ZXAN(config-router)#
l VPF-RIP configuration mode
Usage Guidelines
The default RIP version is RIPv2. To specify the RIP version for a specific interface, use
the ip rip receive version and ip rip send version commands.
Examples
The following example shows how to set the RIP version to RIPv2:
ZXAN(config)#router rip
ZXAN(config-router)#version 2
Related Commands
21.22 ip rip receive version
21-40
22-1
22-2
22.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
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
22.4 area nssa
22.7 area stub
22-3
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
Mode
Router OSPF mode: ZXAN(config-router)#
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
22.32 ip ospf authentication
22-4
Function
This command filters the network routing information between OSPF areas.
Parameters
ip_addr1 -
number1 0–4294967295
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
If the area does not exist, it will be created automatically.
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
23.49 ip prefix-list
22-5
Function
This command configures an area as a Not-So-Stubby Area (NSSA) area.
Parameters
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.
22-6
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
Related Commands
None
Function
This command configures the summary address range of an area.
Parameters
22-7
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:
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 summary-link advertise
Related Commands
None
22-8
Function
This command creates a link between two PE routers for transferring OSPF packets
through MPLS VPN.
Parameters
Parameter Description Value
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
The following five conditions must be met to establish a sham-link in up status:
l sham-link is configured.
l source-address and destination-address correspond to an interface.
l destination-address corresponds to a BGP route.
l The sham-link is configured in an OSPF VRF instance.
l The redistribute bgp command is available in the OSPF instance.
The sham-link is used in the following scenarios:
l The VPN sites of two PEs are located in the same OSPF area.
l The two VPN sites have private links that are also in the same area.
The loopback interface addresses used by the sham-link must be bound to the
corresponding VRF.
Switching between VPN link and private link can be implemented by changing the
sham-link cost.
The sham-link must use the area where the VPN site is located. The area will be
automatically created if it does not exist.
22-9
Examples
The following example shows how to configures a sham-link in area 1 for the router. This
sham-link uses the local loopback interface address 10.22.1.1 and remote destination
address 10.22.1.1. The sham-link cost is 100.
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 sham-link 10.22.1.1 10.22.1.2 cost 100
Related Commands
redistribute bgp-int
Function
This command sets an area as a stub area.
Parameters
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 <area-id> stub no-summary command is used to allow the ABR to send the
summary route information to the stub area.
The no area <area-id> stub default-cost command is used to reset the default route cost
advertised to the stub area to the default 1.
22-10
The no area <area-id> 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
Function
This command adds the host route advertised by the stub router in an area.
Parameters
22-11
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
The no area <area-id> stub-host <ip-address> command is used delete the host route
advertised by the router in an area.
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
Function
This command configures an OSPF virtual link.
22-12
Parameters
22-13
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l No virtual link can be configured in area 0, stub area, or nssa area.
l The authentication on the virtual link is effective only when the authentication mode
has been configured in area 0, and <key> and <cryptkey> are not null.
l The parameters <key> and <cryptkey> allows the following characters: 0123456
789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*-=~!@
#$%^&()_+[]{}|;':,./<>\\
l If the specified area does not exist, it will be automatically created.
l The parameter dead-delay has different meanings for the restarting router and helper
router. For the restart router, dead-delay indicates that the router exits the NSF if no
neighbor of the virtual link is detected before the delay time expires. For the helper
router, dead-delay indicates that the router does not attempt to help the neighbor if
no HELLO packet is received from the restarting router before the delay time expires,
and the neighbor state changes to DOWN.
l To delete an OSPF virtual link, use the no form of this command.
22-14
Examples
The following example shows how to configure a virtual link between two
directly-connected routers (router ID: 15.15.15.15 and 16.16.16.16) in area 1:
ZXAN_01(config)#router ospf 1
ZXAN_01(config-router)#area 1 virtual-link 15.15.15.15
ZXAN_02(config)#router ospf 1
ZXAN_02(config-router)#area 1 virtual-link 16.16.16.16
Related Commands
None
22.10 auto-cost
Syntax
auto-cost reference-bandwidth number1
no auto-cost reference-bandwidth
Function
This command modifies the reference bandwidth of the OSPF process.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l 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.
l The reference bandwidth takes effect immediately after the command is successfully
executed.
l To restore the default, use the no form of this command.
Examples
The following example shows how to modify the reference bandwidth to 10000 Mbps:
22-15
ZXAN(config)#router ospf 1
ZXAN(config-router)#auto-cost reference-bandwidth 10000
Related Commands
22.35 ip ospf cost
22.11 bfd-all-interface
Syntax
bfd-all-interface
no bfd-all-interface
Function
This command configures all OSPF interfaces to support BFD.
Parameters
None
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
After this command is executed, BFD is supported on all OSPF real interfaces of the
instance, instead of virtual link interfaces and sham-link interfaces.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure all interfaces of OSPF instance 1 to support
BFD:
ZXAN(config)#router ospf 1
ZXAN(config-router)#bfd-all-interface
Related Commands
22.34 ip ospf bfd
22-16
no capability opaque
Function
This command enables a route to support opaque LSAs.
Parameters
None
Mode
Router OSPF mode: ZXAN(config-router)#
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.
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
22.63 show ip ospf database
no capability vrf-lite
22-17
Function
This command configures the router to disable routing loop prevention using tag and down
bit for a VRF instance. Routing loop prevention is enabled when this command is not
configured.
Parameters
None
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
The routing loop prevention can only be configured in a VRF instance.
If the capability vrf-lite is not configured in a VRF instance, the router will not calculate the
route when the lower 16 bits of the tag in LSA type 5 or type 7 is the same as the AS ID of
the local BGP, or the down bit is set.
If the capability vrf-lite is not configured in a VRF instance, the router will not calculate the
route when the down bit in LSA type 3 is set.
Examples
The following example shows how to disable VRF-lite for the router:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no capability vrf-lite
Related Commands
None
Function
This command restarts an OSPF process.
Parameters
22-18
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
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
Function
This command clears the redistribution of an OSPF process.
Parameters
Parameter Description Value
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
22-19
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
22.17 debug
Syntax
debug
no debug
Function
This command enables the debug information an OSPF process.
22-20
Parameters
None
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 running-
config 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
22.18 default-metric
Syntax
default-metric number1
no default-metric
Function
This command configures the default metric after a redistribution.
Parameters
22-21
Mode
Router OSPF mode: ZXAN(config-router)#
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
Function
This command disables an existing area.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
None
22-22
Examples
The following example shows how to disable area 1:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable area 1
Related Commands
22.26 enable area
Function
This command disables the OSPF interfaces in a specified range. It is not applicable to
invalid interfaces.
Parameters
ip_addr1 IP address -
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
22.27 enable interface
22-23
Function
This command disables an OSPF protocol process. It is only applicable to valid OSPF
processes.
Parameters
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
22.28 enable ip ospf
Function
This command defines the OSPF route administrative distances based on route type.
22-24
Parameters
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, 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
22.23 distribute-list
Syntax
distribute-list {{number1 {in |out } |number2 {in |out } |access-list name1 {in |out } |gateway
name2 in |prefix name3 {in |out |gateway name4 in } } |route-map name5 in }
no distribute-list {{number1 {in |out } |number2 {in |out } |access-list name1 {in |out } |gateway
name2 in |prefix name3 {in |out |gateway name3 in } } |route-map name5 in }
Function
The distribute-list in command filters routes with OSPF owner.
The distribute-list out command controls importing external routes to the OSPF domain
after LSA type 5 and type 7 are generated. This command is a supplement of redistribute.
22-25
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l The parameters gateway and route-map are only required in the distribute-list in
command.
l If the profile does not exist, the routes matching acl, gateway, and route-map are
permitted and all the other routes are denied.
l By default, the profile denies all routes. To deny specific routes, add permit all in the
command to permit all the other routes.
l The set entry does not exist when route-map is specified in the distribute-list in
command. The router only matches route prefix, metric, next ho, and tag iin LSA
type 5 and type 7 with the route map.
22-26
l The correlation between OSPF routes must be considered when the distribute-list in
command is used for route filtering. The following provides the recommendations for
using this command:
à Filtering routes corresponding to LSA type 2 is not recommended because the
missing of such routes may cause an uncomplete network topology.
à Ensure that the corresponding ABR routes exist when permitting type 3 routes
to the domain. If the ABR routes do no exist, set the profile to permit the
corresponding routes.
à Ensure that forwarding address routes exist when permitting type 5 routes to the
domain. If the forwarding address routes do no exist, set the profile to permit the
corresponding routes.
Examples
The following example shows how to configure an ACL profile to deny the OSPF route
12.1.1.0 and permit all the other routes:
ZXAN(config)#acl standard name zxr10
ZXAN(config-std-acl)#rule 1 deny 12.1.1.0
ZXAN(config-std-acl)#rule 1 permit any
ZXAN(config)#router ospf 1
ZXAN(config-router)#distribute-list access-list zxr10 in
Related Commands
22.56 redistribute
22.30 filter
filter-list
22.24 domain-id
Syntax
domain-id ip_addr1
no domain-id
Function
This command specifies the domain ID for a router.
Parameters
22-27
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
This command configures a VPN domain for an OSPF instance. Two instance with the
same domain ID or compatible IDs (the domain ID of a router is one of another router’s
domain IDs) are considered in the same domain.
Examples
The following example shows how to set the domain ID of a router to 0.0.0.100:
ZXAN(config)#router ospf 1
ZXAN(config-router)#domain-id 0.0.0.100
Related Commands
None
22.25 domain-tag
Syntax
domain-tag number1
no domain-tag
Function
This command specifies the domain tag for OSPF.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
After the domain tag is configured, the tag of the external LSA generated during BGP
redistribution will be set to the same value as the domain tag. This command can also
be used to modify the tag on a PE to avoid improper route filtering during routing loop
protection on the peer PE.
22-28
Examples
The following example shows how to set the local domain tag to 1200:
ZXAN(config)#router ospf 1
ZXAN(config-router)#domain-tag 1200
Related Commands
22.56 redistribute
Function
This command enables a specified area.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
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
22.19 disable area
22-29
Function
This command enables ineffective OSPF interfaces in a specified range. This command
is invalid for effective interfaces.
Parameters
ip_addr1 IP address -
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
22.20 disable interface
Function
This command enables an OSPF protocol process. It is only applicable to invalid OSPF
processes.
22-30
Parameters
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
22.21 disable ip ospf
22.29 fast-reroute
Syntax
fast-reroute alternate-protect-type {default |down-stream-path }
no fast-reroute
Function
This command configures the route backup mode.
Parameters
22-31
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the route backup mode for basic link
protection:
ZXAN(config)#router ospf 1
ZXAN(config-router)#fast-reroute alternate-protect-type default
Related Commands
None
22.30 filter
Syntax
filter [exact ] ip_addr1 ip_addr2 number1
Function
This command controls whether to import the routes generated by external LSAs to the
routing table for and the import priorities.
22-32
Parameters
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.
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
22.31 grace-period
Syntax
grace-period number1
no grace-period [number1 ]
22-33
Function
This command configures the Non-Stop Forwarding (NSF) grace period.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l To restore the period to the default, use the no form of this command.
l The grace period setting must ensure that the NSF can complete after the time expires.
Otherwise, NSF will exit before completion due to timeout.
l A longer NSF grace period is recommended in an NSF environment with virtual links
configured.
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
22.12 capability opaque
22.54 nsf
no ip ospf authentication
Function
This command configures the authentication mode for an interface.
22-34
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
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-vlan2)#ip ospf authentication message-digest
Related Commands
None
no ip ospf authentication-key
22-35
Function
This command sets a password for interfaces using the simple password authentication
mode.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
The characters that can be used for password setting are:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*-
=~!@#$%^&()_+[]{}|;':,./<>\\
By default, no password is specified.
Examples
The following example shows how to set the password ZXAN for the interface VLAN 2:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip ospf authentication-key ZXAN
Related Commands
None
Function
This command enables the BFD function on an OSPF interface.
22-36
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Super VLAN interface mode
Usage Guidelines
l The ip ospf bfd disable and ip ospf bfd commands are mutually exclusive. If one of
the two commands is used, you must use the no form of the command to cancel the
setting before using the other command.
l The ip ospf bfd disable command is a supplement of the bfd-all-interface command.
After the bfd-all-interface command is executed, you can use the ip ospf bfd disable
command to disable the BFD function on a specific interface.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable BFD on an interface:
ZXAN(config)#interface vlan3
ZXAN(config-if-vlan3)#ip ospf bfd
Related Commands
22.11 bfd-all-interface
no ip ospf cost
Function
This command configures the explicit interface cost.
Parameters
22-37
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
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, 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-vlan2)#ip ospf cost 10
Related Commands
22.10 auto-cost
Function
This command configures the dead interval of neighbors on an interface.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
22-38
Usage Guidelines
l The dead-interval is normally configured to four times the hello interval.
l To restore the interval to the default, use the no form of this command.
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-vlan2)#ip ospf dead-interval 80
Related Commands
22.38 ip ospf hello-interval
Function
This command configures OSPF route backup for the output interface of a router.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
l The ip ospf fast-reroute command enables route backup on the local interface by
default.
l The no ip ospf fast-reroute command disables router backup on the local interface.
l The ip ospf fast-reroute backup-interface <interface-name> command enables the local
interface to back up routes for the backup-interface.
22-39
Examples
The following example shows how to disable OSPF route backup on the interface vlan3
and then enable vlan3 to back up routes for the interface vlan30:
ZXAN(config-if-vlan3)#no ip ospf fast-reroute
ZXAN(config-if-vlan3)#ip ospf fast-reroute backup-interface vlan30
Related Commands
22.38 ip ospf hello-interval
Function
This command configures the time interval for a specified interface to send Hello
messages.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
l The hello interval is normally configured to one fourth of the dead interval.
l To restore the setting to the default, use the no form of this command.
Examples
The following example shows how to configure the time interval for sending hello messages
to 20 seconds:
22-40
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip ospf hello-interval 20
Related Commands
22.36 ip ospf dead-interval
Function
This command configures the password serial number pair for the interface with message
digest authentication type.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
l If the delay keyword is used, the protocol data packets are not sent temporarily for the
specified time (unit: minutes), but the interface can receive messages.
l The allowable characters in the authentication password are:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ
`*-=~!@#$%^&()_+[]{}|;':,./<>\\
l By default, no password is specified.
l To delete the configured OSPF password, use the no form of this command.
22-41
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-vlan2)#ip ospf message-digest-key 2 md5 ZXAN
Related Commands
None
no ip ospf mtu-ignore
Function
This command ignores the OSPF MTU detection on exchanging DD packets.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
l 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.
l By default, MTU check mismatch detection is enabled during DD packet exchange.
l 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:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip ospf mtu-ignore
22-42
Related Commands
None
Function
This command configures the interface type.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
l By default, the interface type depends on the network type. Point-to-multipoint type
needs configuration.
l 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:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ip ospf network point-to-point
22-43
Related Commands
None
Function
This command enables statistics of OSPF packets received and sent on an interface.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
This command must be used in combination with the protocol-count enable command. The
OSPF packet statistics on an interface will be performed only when the protocol statistics
is also enabled.
To disable the packet statistics, use the no form of this command.
Examples
The following example shows how to enable OSPF packet statistics in interface mode:
ZXAN(config-if-vlan3)#ip ospf packet-statistic
Related Commands
protocol-count enable
22-44
Function
This command configures the interface priority.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
l The router whose interface priority is configured to 0 cannot be act as DR or BDR.
l To restore the setting to the default, 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-vlan2)#ip ospf priority 10
Related Commands
None
no ip ospf retransmit-interval
Function
This command specifies the time interval for the specified interface to retransmit LSAs.
Parameters
22-45
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
To restore the setting to the default, use the no form of this command.
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-vlan2)#ip ospf retransmit-interval 10
Related Commands
None
no ip ospf transmit-delay
Function
This command configures the delay for the interface to transmit a link status update packet.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l loopback interface mode
Usage Guidelines
To restore the setting to the default, use the no form of this command.
22-46
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-vlan2)#ip ospf transmit-delay 2
Related Commands
None
Function
This command starts IPv6 OSPF route configuration mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enter IPv6 OSPF route configuration mode:
Related Commands
None
22-47
22.47 max-metric
Syntax
max-metric router-lsa [on-startup {wait-for-bgp |number1 } ]
no max-metric router-lsa
Function
This command configures a PE router to prevent blackhole routes.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l When this command takes effect, the transit-link of the local router-lsa will be set to
65535.
l If the on-startup option is set in the command, this command takes effect after the
rack or OSPF is restarted.
l If on-startup wait-for-bgp is specified in the command, the LSA will be restored
when the waiting time (60 seconds or the default 600 seconds) expires after BGP
convergence. The transit-link will not be set to 65535.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the router to prevent blackhole routes and
set the waiting time after restart to 50 seconds:
ZXAN(config)#router ospf 1
ZXAN(config-router)#max-metric router-lsa on-startup 50
Related Commands
None
22-48
22.48 maximum-paths
Syntax
maximum-paths number1
no maximum-paths
Function
This command configures the maximum number of routes supported in OSPF load
balancing.
Parameters
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 16 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
22-49
Related Commands
None
Function
This command configures the device to generate and flood its TE information to a specific
area.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
This command must be configured before an area is enabled to support traffic engineering.
Examples
The following example shows how to configure the OSPF area 1 to support traffic
engineering:
ZXAN(config)#router ospf 1
ZXAN(config-router)#mpls traffic-eng area 1
Related Commands
None
22-50
Function
This command specifies the traffic engineering router ID.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l In MPLS TE, a traffic engineering ID is required for each router and the destination
address of the tunnel must be set to the traffic engineering router ID of a traffic
engineering router.
l This command must be configured to enable a router to support traffic engineering.
It is recommended to specify a loopback interface that has been configured with an
address in the command. The configuration will fail if the specified interface does not
exist or the interface has no address.
l The traffic engineering router id is not the router ID of a router. It is recommended to
configure a traffic engineering router ID same as the router ID.
Examples
The following example shows how to configure the OSPF traffic engineering router ID to
the IP address of the interface loopback 1:
ZXAN(config)#router ospf 1
ZXAN(config-router)#mpls traffic-eng router-id loopback1
Related Commands
None
22.51 neighbor
Syntax
neighbor ip_addr1 [{[priority number1 ] [poll-interval number2 ] [cost number3 ] }]
22-51
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
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l By default, no neighbor router is defined. In addition, the cost of a point-to-multipoint
neighbor is automatically calculated by default.
l This configuration is only required for a point-to-multipoint network or NBMA network.
l If the neighbor cost is not configured, the cost configuration of the corresponding
interface or the default cost will be used. If both the neighbor cost and the cost of
the connected interface are configured, the neighbor cost will be used.
l The neighbor priority is used for DR and BDR election. If the priority is 0, the neighbor
will not participate in the DR and BDR election. After link establishment, the advertised
priority in hello messages sent by the neighbor is determined as the actual neighbor
priority. You are recommended to set the neighbor priority to the actual priority of the
neighbor.
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
Related Commands
None
22-52
22.52 network
Syntax
network ip_addr1 ip_addr2 area {number1 |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
ip_addr1 IP address -
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.
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.
22-53
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-vlan2)#ip address 10.10.1.1 255.255.255.0
ZXAN(config-if-vlan2)#exit
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.10.1.0 0.0.0.255 area 0
Related Commands
None
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.
22-54
Parameters
name1 Specifies the name of the route map used to 1–64 characters
generate the default 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.
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
Related Commands
None
22-55
22.54 nsf
Syntax
nsf
no nsf
Function
This command configures the Non-Stop Forwarding (NSF) capacity.
Parameters
None
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l NSF is supported in broadcast networks, NBMA networks, and networks configured
with virtual links or MD5.
l Ensure that the area virtual-link dead-delay is properly configured when configuring
NSF in an environment configured with virtual links.
l Before using this command, ensure that the running OSPF instance supports opaque
LSA.
l By default, the NSF capacity is not supported.
l To disable NSF, 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
22.12 capability opaque
22.31 grace-period
22.55 passive-interface
Syntax
passive-interface {default |interface1 }
no passive-interface {default |interface1 }
22-56
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
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
The passive-interface default command indicates that all interfaces are configured as
passive interfaces.
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
22-57
22.56 redistribute
Syntax
redistribute {ospf number1 |name1 } [{[as number2 ] [peer ip_addr1 ] [tag number3 ] [metric
number4 ] [metric-type name2 ] [route-map name3 ] }]
no redistribute {ospf number1 |name1 } [{[as ] [peer ] [tag ] [metric ] [metric-type ] [route-map
] }]
Function
This command configures a filtering policy for other protocols to advertise routes to IS-IS
Parameters
name3 Name of the route map for the protocol route 1–16 characters
redistribution.
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l To cancel the redistribution, use the no form of this command.
22-58
l If level-1 or level-2 is not specified in this command, routes will be redistributed to the
level-2 database.
l In metric-style narrow mode, the metric-value range is 0–63. In metric-style wide
mode, the metric-value range is 0–426142864.
Examples
The following example shows how to configure a filtering policy for BGP to advertise routes
to IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#redistribute bgp
ZXAN(config-router)#redistribute bgp level-1
ZXAN(config-router)#redistribute bgp level-2
ZXAN(config-router)#redistribute bgp level-1 metric 20
ZXAN(config-router)#redistribute bgp level-1 metric 20 metric-type internal
ZXAN(config-router)#redistribute ospf level-1 metric 20
Related Commands
None
Function
This command starts the OSPF protocol and enters the OSPF protocol configuration mode.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l To cancel the OSPF protocol process, use the no form of this command.
l 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
22-59
protocol is started and it is enabled, the system directly enters the OSPF protocol
configuration mode.
l The global OSPF and the OSPF under the VRFs use different process IDs.
l 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.
l The OSPF protocol is disabled by default.
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
22.58 router-id
Syntax
router-id ip_addr1
no router-id
Function
This command specifies the router ID for an OSPF process.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l To delete a route ID, use the no form of this command.
l 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.
l This configuration route ID takes effect after the router restarts or the OSPF process
is manually restarted by the clear ip ospf process command.
l By default, the OSPF router ID used by an OSPF process is automatically selected.
22-60
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
22.59 sequence-backup
Syntax
sequence-backup number1
no sequence-backup
Function
This command configures the sequence number in the latest DBD packet that is backed
up during graceful restart.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the sequence number in the latest DD packet
that is backed up during graceful restart to 256600:
ZXAN(config)#router ospf 1
ZXAN(config-router)#sequence-backup 256600
22-61
Related Commands
None
Function
This command displays OSPF database information of a specific router. This command
can be specified in different formats to display LSAs based on different summarizations.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information related to the OSPF database
of a specific router:
l show ip ospf database
ZXAN#show ip ospf database
22-62
LS age: 98
Options: (No TOS-capability, No DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 0.0.0.0 (Summary Network Number)
Advertising Router: 192.168.2.1
LS Seq Number: 0x80000002
Checksum: 0x717f
Length: 28
Network Mask: /0
TOS: 0 Metric: 1
Related Commands
None
22-63
Function
This command displays the information of the internal OSPF routing to an Area Border
Router (ABR) and Autonomous System Boundary Router (ASBR).
Parameters
Mode
Any mode except user 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
22-64
Function
This command displays the routes on the backup route of the active router.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about OSPF process 1:
ZXAN(config)# show ip ospf border-lfas process 1
Related Commands
None
Function
This command displays the related information about the OSPF database of the OSPF
database for a specific router.
Parameters
22-65
Mode
Any mode except user 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:
Related Commands
22.64 show ip ospf database asbr-summary
22-66
Function
This command displays the ASBR summary LSA list in the OSPF database for a specific
router.
Parameters
Mode
Any mode except user mode
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)
22-67
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
22.63 show ip ospf database
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
Mode
Any mode
Usage Guidelines
None
22-68
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:
Related Commands
22.63 show ip ospf database
22-69
Function
This command displays the type-5 external LSA list in the OSPF database for a specific
router.
Parameters
Mode
Any mode except user 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
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
22-70
Related Commands
22.63 show ip ospf database
Function
This command displays the network LSA list in the OSPF database for a specific router.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
22-71
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
22.63 show ip ospf database
Function
This command displays the type-7 external LSA list in the OSPF database for a specific
router.
Parameters
22-72
Mode
Any mode except user 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
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)
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
22-73
Related Commands
22.63 show ip ospf database
Function
This command displays the opaque-area LSA list in the OSPF database for a specific
router.
Parameters
22-74
Mode
Any mode except user 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
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
LS Seq Number: 80000003
Checksum: 0x5aa5
Length: 28
Fragment number : 0
Number of Links : 0
22-75
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
Related Commands
22.63 show ip ospf database
Function
This command displays the opaque-link LSA list in the OSPF database for a specific router.
22-76
Parameters
Mode
Any mode except user 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
LS age: 1269
Options: (No TOS-capability,No DC)
LS Type: Opaque Link-local
Link State ID: 3.0.0.0
Opaque Type: 3
Opaque ID: 0
Advertising Router: 5.5.5.46
LS Seq Number: 80000001
22-77
Checksum: 0x6b4c
Length: 44
Fragment number: 0
Related Commands
22.63 show ip ospf database
Function
This command displays the router LSA list in the OSPF database for a specific router.
Parameters
22-78
Mode
Any mode except user 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:
Related Commands
22.63 show ip ospf database
Function
This command displays the network summary LSA list in the OSPF database for a specific
router.
22-79
Parameters
Mode
Any mode except user 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:
22-80
Related Commands
22.63 show ip ospf database
Function
This command displays the OSPF interface information.
Parameters
Mode
Any mode except user 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
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
22-81
Function
This command displays information about the OSPF traffic engineering link.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the OSPF traffic
engineering link:
ZXAN#show ip ospf mpls traffic-eng link
Related Commands
None
Function
This command displays the OSPF neighbor information.
22-82
Parameters
ip_addr1 Neighbor ID -
Mode
Any mode except user 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 gei_7/1 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
Function
This command displays the OSPF NSF information.
Parameter
None
22-83
Mode
Any mode except user mode
Usage Guidelines
l The result of using this command on the restarting device is the NSF execution details
of the restarting device.
l The result of using this command on the helper is the NSF execution details of the
helper.
Examples
l 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 (134.1.1.200) (Process ID 200)
OSPF instance is in normal state
l 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
via interface gei_7/1 134.1.1.201
Neighbor is DR
State 2WAY
Item Description
via interface fei_1/1 Type, ID, and IP address of the interface on the helper router
22-84
Item Description
l 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
Item Description
via interface gei_7/1 Type, ID, and IP address of the interface on the restarting
router
Start time Start time when the router enters helper mode
Time to leave Remaining time before the router leaves helper mode
Related Commands
None
Function
This command displays a list of all LSAs requested by the specified router.
22-85
Parameters
Mode
Any mode except user 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:
Related Commands
None
Function
This command displays a list of all LSAs to be retransmitted by the specified router.
22-86
Parameters
Mode
Any mode except user mode
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:
Related Commands
None
22.79 summary-address
Syntax
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.
22-87
Parameters
ip_addr1 IP address -
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
l To cancel the setting, use the no form of this command.
l 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.
l By default, no aggregate address is set for the OSPF.
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
no timers fast-reroute
Function
This command configures the minimum interval between two consecutive IP FRR SPF
calculations.
22-88
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting and restore the default, use the no form of this command.
Examples
The following example shows how to set the minimum interval between two consecutive
IP FRR SPF calculations to eight seconds:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers fast-reroute 8
Related Commands
None
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
22-89
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To restore the default, 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
no timers spf
Function
This command configures the minimum time interval between two consecutive SPF
computations.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To restore the setting to the default, use the no form of this command.
22-90
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
Function
This command configures the delay time parameters for OSPF route calculation.
Parameters
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
22-91
Examples
The following example shows how to set the delay time before SPF calculation to 10 ms,
the hold interval to 20 ms, and the maximum hold time to 60 ms:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers throttle spf 10 20 60
Related Commands
None
22-92
23-1
23-2
23-3
Function
This command enters IPv4 VRF address family configuration mode.
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
BGP extension supports multiple address modes. To configure an address mode, enter
its corresponding address configuration mode.
To enter a dynamic address configuration mode, such as VRF, create the configuration
mode first and then enter the corresponding configuration mode.
To delete an IPv4 VRF address family configuration mode, use the no form of this
command.
Examples
The following example shows how to enter IPv4 VRF address family configuration mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 vrf vpn1
Related Commands
20.29 ip vrf
exit-address-family
Function
This command enters IPv4 multicast address family configuration mode.
23-4
Parameters
None
Mode
Router 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
Function
This command enters IPv6 address family configuration mode.
Parameters
None
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
BGP extension supports multiple address modes. To configure an address mode, enter
its corresponding address configuration mode.
23-5
Examples
The following example shows how to enter IPv6 address family configuration mode.
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv6
Related Commands
exit-address-family
Function
This command enters VPNv4 address family configuration mode.
Parameters
None
Mode
Router 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 VPNv4 address family configuration mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family vpnv4
Related Commands
exit-address-family
23.5 aggregate-address
Syntax
aggregate-address ip_addr1 ip_addr2 {subnet ip_addr3 ip_addr4 |[{[count number1 ] [as-set ]
[summary-only ] [strict ] } ] }
23-6
Function
This command creates an aggregation strategy in the BGP routing selection table.
Parameters
Mode
Router 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
23-7
ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 2
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet 10.1.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet 10.2.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet 10.3.0.0 255.255.0.0
ZXAN(config)#router 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
Function
This command creates an address aggregation policy in the BGP routing table.
23-8
Parameters
Mode
VPF-BGP configuration mode
Usage Guidelines
When configuring an aggregation policy, you need to configure sub-policies and associate
the sub-policies with Count.
Examples
The following example shows how to add an aggregation policy that generates an
aggregate route 10.0.0.0/8 when a 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
The following example shows how to add an aggregation policy that generates an
aggregate route 10.0.0.0/8 when any two of the subnets 10.1.0.0/16, 10.2.0.0/16, and
10.3.0.0/16. A fuzzy matching rule is used to detect the subnets matching sub-policies.
For example, the route 10.1.1.0/24 is considered as a subnet matching the sub-policy
10.1.0.0/16.
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
23-9
The following example shows an improper aggregate policy that fails to generate aggregate
routes because 10.1.1.0 and 10.1.2.0 are located in 10.1.0.0. These two sub-policies are
equivalent to “subnet 10.1.0.0 255.255.0.0”.
ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 2
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet 10.1.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet 10.1.1.0 255.255.255.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet 10.1.2.0 255.255.255.0
Related Commands
aggregate-address (vrf)
no bgp advertisement-time
Function
This command configures the BGP route advertisement interval parameters.
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, BGP routes are advertised at a normal rate. In a special network environment,
the rate for sending BGP routes need to be adjusted. In this case, two interval parameters
in this command can be modified to adjust the advertisement rate.
23-10
Examples
The following example shows how to adjust two interval parameters to 10 and 20
respectively in BGP configuration mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp advertisement-time 10 20
Related Commands
None
no bgp always-compare-med
Function
This command compares Multi-Exit Discriminators (MEDs) of neighbor paths in different
autonomous systems (ASs).
Parameters
None
Mode
Router 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.
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
23-11
Related Commands
reset ip bgp
23.9 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
Mode
Router 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.
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
23-12
Function
This command sets client-to-client reflection.
Parameters
None
Mode
Router 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
23.69 neighbor route-reflector-client
Function
This command sets the cluster ID of a route reflector.
23-13
Parameters
Parameter Description Value
Mode
Router 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
23.69 neighbor route-reflector-client
Function
This command sets an ID for a confederation.
Parameters
Parameter Description Value
Mode
Router BGP mode: ZXAN(config-router)#
23-14
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
23.13 bgp confederation peers
Function
This command sets the AS number for a confederation peer.
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
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.
23-15
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
23.12 bgp confederation identifier
no bgp dampening
Function
This command enables the BGP route dampening or modifies BGP route dampening
factors.
Parameters
23-16
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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
23-17
Function
This command controls BGP support of the IPv4 address capability.
Parameters
None
Mode
Router 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
Function
This command sets a local-preference for routes that are advertised by BGP.
23-18
Parameters
Mode
Router 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
Function
This command controls BGP filtering on the route target attribute.
Parameters
None
Mode
Router BGP mode: ZXAN(config-router)#
23-19
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
Function
This command configures BGP to send extended community type for compatibility with old
community type of Cisco.
Parameters
None
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure BGP to send extended community type:
23-20
ZAN(config)#router bgp 1
ZXAN(config-router)#bgp ext-community-type-compatible
Related Commands
None
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
Router BGP mode: ZXAN(config-router)#
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
23-21
Related Commands
None
Function
This command configures the BGP FRR function.
Parameters
None
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the BGP FRR function:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp frr
Related Commands
None
23-22
no bgp graceful-restart
Function
This command configures the capability of activating graceful restart for BGP instances,
and sets the restart time and stale time.
Parameters
None
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the capability of activating graceful restart
for BGP instances:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart
Related Commands
None
Function
This command configures the capability of activating graceful restart for BGP instances
and set the restart time.
Parameters
23-23
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the capability of activating graceful restart
and set the restart time to 60 seconds:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart restart-time 60
Related Commands
None
Function
This command configures the capability of activating graceful restart and sets the stale
time for BGP instances.
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
23-24
Examples
The following example shows how to configure the capability of activating graceful restart
and set the stale time to 60 seconds:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart stalepath-time 60
Related Commands
None
Function
This command configures BPG rapid convergence.
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
This command can be used to increase the rate of sending routes. The parameter in this
command can be adjusted to improve the speed of processing received packets. The
default capability level is 1. If a greater level is set, the packet processing rate will be a
multiple of the basic processing rate corresponding to level 1.
Examples
The following example shows how to configure BGP rapid convergence:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp rapid-convergence 2
Related Commands
None
23-25
Function
This command sets a BGP router ID manually.
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, no router ID is configured.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the 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
Function
This command configures the update delay timer of BGP.
23-26
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
To restore the default setting, use the no form of this command.
Examples
The following example shows how to configure the update delay timer time of BGP to 300
seconds:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp update-delay 300
Related Commands
None
Function
This command clears statistics of flapping routes in the VPNv4 routing table.
Parameters
23-27
Mode
Privileged mode: ZXAN#
Usage Guidelines
If the IP address of a neighbor is specified in the command, the router will clear the statistics
of flapping routes received from this PE neighbor.
If no parameter or keyword is specified in the command, the router will clear the statistics
of flapping routes received from all PE neighbors.
Examples
l The following example shows how to clear the statistics of flapping routes received
from the PE neighbor 1.1.1.1:
ZXAN#clear bgp vpnv4 unicast 1.1.1.1 flap-statistics
l The following example shows how to clear the statistics of flapping routes received
from all PE neighbors:
ZXAN#clear bgp vpnv4 unicast flap-statistics
Related Commands
23.14 bgp dampening
Function
This command clears the historical dampening information learned from PEs from the
VPNv4 routing table and cancel suppression on damped routes.
Parameters
23-28
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear historical dampening information learned from
PEs from the VPNv4 routing table and cancel suppression on damped routes:
Related Commands
23.14 bgp dampening
Function
This command clears statistical information of flapping routes in the VPNv4 routing table.
Parameters
23-29
Mode
Privileged mode: ZXAN#
Usage Guidelines
If the IP address of a neighbor is specified in the command, the router will clear the
statistical information of flapping routes received from this PE neighbor.
If no parameter or keyword is specified in the command, the router will clear the statistics
of flapping routes from all PE neighbors.
Examples
l The following example shows how to clear the statistics of flapping routes received
from the PE neighbor 1.1.1.1:
ZXAN#clear bgp vpnv4 unicast 1.1.1.1 flap-statistics
l The following example shows how to clear the statistics of flapping routes received
from all PE neighbors:
ZXAN#clear bgp vpnv4 unicast flap-statistics
Related Commands
23.14 bgp dampening
Function
This command clears the flapping statistics and historical route dampening information
learned from CEs in the VRF routing table to cancel suppression on damped routes.
23-30
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to remove historical dampening information learned
from CEs from the VRF routing table and cancel the suppression on damped routes:
ZXAN#clear bgp vpnv4 unicast vrf zte dampening
Related Commands
23.14 bgp dampening
23-31
Function
This command clears the statistics of BGP route flaps.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
If the IP address of a neighbor is specified in this command, the router will clear the flap
statistics on routes of this neighbor.
If no parameter or keyword is specified in this command, the router will clear the flap
statistics on all routes.
Examples
l 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
l The following example shows how to clear the statistics of all route flaps:
ZXAN#clear ip bgp flap-statistics
Related Commands
None
23-32
Function
This command clears the BGP route dampening information and removes suppression on
routes.
Parameters
Parameter Description Value
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:
ZXAN#clear ip bgp dampening
Related Commands
None
Function
This command clears the statistics of BGP flaps.
23-33
Parameters
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
Related Commands
23.14 bgp dampening
Function
This command softly resets a connection related to BGP.
23-34
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to softly reset the BFP neighbor (1.1.1.1) in vpn1:
ZXAN#clear ip bgp vrf vpn1 1.1.1.1
Related Commands
None
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
23-35
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
10.98 terminal monitor
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
23-36
Related Commands
10.98 terminal monitor
Function
This command traces, displays, and processes information related to BGP route
dampening.
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.
Related Commands
10.98 terminal monitor
23-37
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.
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
10.98 terminal monitor
Function
This command enables the debug function for tracing and displaying the packets that are
received by BGP.
Parameters
None
Mode
Privileged mode: ZXAN#
23-38
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
10.98 terminal monitor
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
23-39
Related Commands
10.98 terminal monitor
Function
This command traces and displays the packets that are sent by BGP.
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
10.98 terminal monitor
no default-information originate
23-40
Function
This command enables re-assignment of the default route to BGP.
Parameters
None
Mode
Router 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
Related Commands
23.77 redistribute
23.43 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.
23-41
Parameters
Parameter Description Value
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
For BGP, the default MED metric value of the re-assigned routes is 0.
To restore the default value, use the no form of this 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
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.
23-42
Examples
The following example shows how to stop a BGP session temporarily:
ZXAN(config)#disable ip bgp
Related Commands
23.46 enable ip bgp
reset ip bgp
Function
This command changes the priorities for the routes that are advertised by external/internal
neighbors.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
l IPv4 multicast-BGP address mode
23-43
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
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.
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
23-44
Related Commands
None
Function
This command defines an access list related to BGP.
Parameters
Mode
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.
23-45
Examples
None
Related Commands
23.109 show ip as-path-access-list
23.48 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 }
Function
This command creates a community list for BGP and controls access to the community
list.
Parameters
23-46
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 form of this command.
Examples
The following example shows how to allow routes excepts routes of communities 5 and 10
or communities 10 and 15:
Related Commands
23.114 show ip community-list
23.49 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 } ]
23-47
Function
This command creates a prefix list for BGP and controls access to the prefix list.
Parameters
23-48
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, no prefix list is defined.
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
23.115 show ip prefix-list
route-map
match ip address
23.50 maximum-paths
Syntax
maximum-paths number1
no maximum-paths
Function
This command sets the maximum number of supported routes in the case of load balancing
among external BGP neighbors.
23-49
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
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 form of this command.
Examples
The following example shows how to set the maximum number of supported routes in the
case of load balancing of external BGP neighbors to 5:
ZXAN(config)#router bgp 1
ZXAN(config-router)#maximum-paths 5
Related Commands
None
no maximum-paths ibgp
Function
This command sets the maximum number of routes when load-balancing is achieved
among BGP neighbors.
23-50
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
Usage Guidelines
This command takes effect automatically without manual intervene when the time-sharing
processing is completed after a certain time.
To restore the default value, use the no form of this command.
Examples
The following example shows how to set the maximum number of routes during load
balancing to 5:
ZXAN(config)#router bgp 1
ZXAN(config-router)#maximum-paths ibgp 5
Related Commands
None
23.52 neighbor
Syntax
neighbor {ip_addr1 |ipv6_addr1 |name1 }
Function
This command defines a neighbor router that exchanges route information with the local
router.
23-51
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
To delete the adjacent router, use the no form of this command.
Examples
The following example shows how to activate a neighbor router whose address is
10.10.10.2:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 10.10.10.2 activate
Related Commands
None
Function
This command activate the address capability of a neighbor and a neighbor peer group.
23-52
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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.
To invalidate the attribute, use the no form of this command.
Examples
The following example shows how to activate the VPNv4 capability of a BGP neighbor
1.1.1.1 in a VPNv4 address family:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family vpnv4
ZXAN(config-router-af)#neighbor 1.1.1.1 activate
Related Commands
None
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.
23-53
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
None
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 seconds:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 advertisement-interval 20
Related Commands
23.62 neighbor originate-interval
23-54
Function
Usually, if a received Update message 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.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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
23-55
Function
This command enables BGP to send the default route to a neighbor or neighbor peer
group.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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
23.42 default-information originate
23-56
Function
This command sets a description for a neighbor or neighbor peer group.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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
23-57
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.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
None
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
23-58
Function
This command enables the BFD link fall-over detection mechanism.
Parameters
Parameter Description Value
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the BFD link fall-over detection mechanism:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 fall-over bfd
Related Commands
None
23-59
Function
This command sets the maximum number of routes that can be received from a neighbor.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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 intervene.
If warning-threshold-value is configured, a warning is raised when the number of received
routes reaches the warning-threshold-value. If drop-routes is configured, new routes will
23-60
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
Function
This command forces the local device as the next hop of the advertised route, usually in
an Non-Broadcast Multiple Access (NBMA) network.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
This command is invalid for advertising IBGP route to IBGP neighbors.
To cancel the setting, use the no form of this command.
23-61
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
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
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
23-62
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 seconds:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 originate-interval 5
Related Commands
23.54 neighbor advertisement-interval
Function
This command configures a neighbor to set up a link in passive mode.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
Usage Guidelines
To invalidate the function, use the no form of this command.
23-63
Examples
The following example shows how to configure BGP neighbor 1.1.1.1 to set up a link in
passive mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 passive
Related Commands
None
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
23-64
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode,
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the authentication password to “3FE&@1” for
establishing BGP connection to the BGP neighbor 1.1.1.1:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 password 3FE&@1
Related Commands
None
Function
This command creates a peer group or configures a neighbor into a peer group.
Parameters
23-65
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
Before using this command, first use the neighbor <peer-group-name> 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 <ip-address> peer-group <gro
up-name> command to add the neighbor into the peer group.
Examples
The following example shows how to create a peer group (name: zte) and add the BGP
neighbor 1.1.1.1 to 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.1.1 peer-group zte
Related Commands
23.113 show ip bgp peer-group
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.
23-66
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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:
Related Commands
None
23-67
Function
This command removes private ASs before advertising routes to a neighbor or neighbor
peer group.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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.
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
23-68
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
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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
23-69
Function
This command sets a neighbor or neighbor peer group to the client peer of a route reflector.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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
23-70
Related Commands
23.10 bgp client-to-client reflection
23.11 bgp cluster-id
Function
This command configures to send community attributes when advertising routes to a
neighbor or neighbor peer group.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
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
23-71
Function
This command configures to send MED attributes when advertising routes to a neighbor
or neighbor peer group.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
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
23-72
Function
This command configures a neighbor or neighbor peer group so that it is in the disabled
management state.
Parameters
Parameter Description Value
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure BGP neighbor 1.1.1.1 so that it is in the
disabled management status:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 shut-down
Related Commands
None
23-73
Function
This command configures a neighbor or neighbor peer group so that it supports soft
reconfiguration.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
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.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure BGP neighbor 1.1.1.1 so that it supports
soft reconfiguration:
23-74
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 soft-reconfiguration
Related Commands
None
Function
This command configures holdtime and keepalive timers of a neighbor or neighbor peer
group.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
Usage Guidelines
To restore the default inherited BGP timers, use the no form of this command.
23-75
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
23.118 timers bgp
Function
This command makes it possible to set up a BGP session through any available TCP
connection interface.
Parameters
Mode
l Router BGP mode: ZXAN(config-router)#
l VPN-BGP configuration mode
l VPF-BGP configuration mode
23-76
Usage Guidelines
To cancel the setting and restore the optimal local interface address, use the no form of
this command.
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
23.76 network
Syntax
network ip_addr1 ip_addr2 [[route-map name1 ] ]
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
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
l IPv4 multicast-BGP address mode
23-77
Usage Guidelines
By default, no network is specified.
To delete a record, use the no form of this command.
Examples
The following example shows how to advertise a local route 2.2.2.2/32 to neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#network 2.2.2.2 255.255.255.255
Related Commands
23.77 redistribute
23.77 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
23-78
Mode
l Router BGP mode: ZXAN(config-router)#
l VPF-BGP configuration mode
l IPv4 multicast-BGP address mode
Usage Guidelines
To cancel the redistribution, use the no form of this command.
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
23.76 network
Function
This command configures a BGP module on the router.
Parameters
23-79
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the BGP module is not configured.
Examples
The following example shows how to configure a BGP module with the AS ID 1:
ZXAN(config)#router bgp 1
ZXAN(config-router)#
Related Commands
None
Function
This command displays information about a BGP neighbor.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
23-80
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
23-81
Connections established 0
No tcp connection
Related Commands
None
Function
This command displays the configuration information of the BGP module.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration information of the BGP
instance:
ZXAN#show bgp all 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
23-82
Related Commands
None
Function
This command displays the statuses of all BGP neighbor connections.
Parameters
None
Mode
Any mode 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
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
Parameter Description
MsgRcvd Total number of packets that are received by the neighbor. The
number is cleared each time the neighbor enters the Established state.
23-83
Parameter Description
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.
Related Commands
None
Function
This command displays an item in the route selection table of the BGP IPv4 multicast
address family.
Parameters
None
Mode
Any mode except user mode
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
23-84
Parameter Description
Path As-path sequence and the Origin attribute in the Update packet
Related Commands
None
Function
This command displays the detailed information of an entry in the BGP IPv4 multicast
address family routing table.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
23-85
Examples
The following example shows how to display the details of an entry in the
BGP IPv4 multicast address family routing table:
ZXAN(config)#show bgp ipv4 multicast detail 1.1.1.1 255.255.255.0
Related Commands
None
Function
This command displays information about a BGP neighbor which is in the IPv4 multicast
address family.
Parameters
Mode
Any mode 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
23-86
Connections established 0
No tcp connection
The following example shows how to display the information of routes received from a
neighbor:
The following example shows how to display the information of routes sent to a neighbor:
Related Commands
23.79 show bgp all neighbor
23-87
Function
This command displays the information of all routes that are received from a BGP IPv4
multicast address family neighbor.
Parameters
Mode
Any mode 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:
Related Commands
23.79 show bgp all neighbor
Function
This command displays the information of all routes that are advertised to a BGP IPv4
multicast address family neighbor.
23-88
Parameters
Mode
Any mode 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:
Related Commands
23.79 show bgp all neighbor
Function
This command displays the connection statuses of all IPv4 multicast address family BGP
neighbors.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
23-89
Examples
The following example shows how to display the connection statuses of all IPv4 multicast
address family BGP neighbors:
ZXAN#show bgp ipv4 multicast summary
Related Commands
23.81 show bgp all summary
Function
This command displays the entries in the BGP IPv4 unicast address family routing table.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no parameter is specified in this command, all valid BGP routes will be displayed. If a
network number is specified, matching networks in the routing table will be displayed. If a
network number and network mask are specified, all routes matching these two parameters
will be displayed.
To display the details of all routes, use the show bgp ipv4 unicast detail command.
Examples
The following example shows how to display valid BGP IPv4 unicast address family routes:
ZXAN#show bgp ipv4 unicast
Routes of bgp:
status codes: *valid, gt;best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
23-90
Field Description
Dest Route
Field Description
Dest Route
23-91
The command results indicate from which neighbors the route is learned, whether the route
is imported from other routing protocol, and to which neighbors the route is advertised. For
a BGP route, all attributes in the Update message are displayed. For a route imported from
another protocol, only the Origin and Nexthop attributes are displayed.
as path [100 200] <10> {65543} (65542 65544): <> indicates the AS-SET type
of AS-PATH, [] indicates the AS-SQUENCE type of AS-PATH, () indicates the
AS_CONFED_SEQUENCE type of AS-PATH, and {} indicates the AS_CONFED_SET
type of AS-PATH.
unknown attribute type 11 flag ff len 20: The flag field is displayed in hexadecimal notation.
The other fields are displayed in decimal notation.
Related Commands
23.79 show bgp all neighbor
Function
This command displays BGP routes with specific community attribute.
Parameters
23-92
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display routes with the community attribute 1.1.1.1:
ZXAN(config)#ip community-list 499 permit 1.1.1.1
ZXAN(config)#show bgp ipv4 unicast community-list 499
Related Commands
show ip bgp community-list
Function
This command displays all damped routes during BGP route flapping.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display all routes damped during BGP route flapping:
ZXAN#show ip bgp dampened-paths
Related Commands
None
23-93
Function
This command displays the statistics of damped BGP flapping routes.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no parameter or keyword is specified in this command, the router will display the
statistics of all flapping routes. If only the IP address and network mask are specified in
the command, the router will only display the statistics of flapping routes matching these
two parameters. If the longer-prefixes parameter is specified in the command, the router
will display the statistics of flapping routes in fuzzy match with the entered keyword.
Examples
The following example shows how to display the statistics of damped BGP flapping routes:
ZXAN#show bgp ipv4 unicast dampening flap-statistics
Related Commands
23.14 bgp dampening
23.90 show bgp ipv4 unicast dampening dampened-paths
23-94
Function
This command displays the information of a BGP IPv4 unicast address family neighbor.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a BGP IPv4 unicast address
family neighbor:
ZXAN#show bgp ipv4 unicast neighbor 168.1.70.111
BGP neighbor is 168.1.70.111, remote AS 200, external link
BGP version 4, remote router ID 168.1.70.111
BGP state = Established, up for 1d20h
Last read update 1d20h, hold time is 90 seconds, keepalive interval is 30 seco
nds
Neighbor capabilities:
Route refresh: advertised
Address family IPv4 Unicast: advertised
All received 5254 messages
1 updates, 0 errs
1 opens, 0 errs
5252 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
After last established received 5252 messages
1 updates, 0 errs
0 opens, 0 errs
5251 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
All sent 5253 messages
0 updates, 1 opens, 5252 keepalives
23-95
The following example shows how to display the route information received by the
neighbor:
ZXAN#show ip bgp neighbor in 2.2.2.1
Routes Learned From This neighbor:
status codes: *valid, gt;best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest NextHop Metric LocPrf RoutePrf Path
*gt;i 111.1.1.2/32 2.2.2.1 0 12345678 200 100?
*gt;i 111.1.1.3/32 2.2.2.1 0 12345678 200 100?
The following example shows how to display the route information sent to the neighbor:
Related Commands
23.79 show bgp all neighbor
23-96
Function
This command displays all routes that are received from a specific BGP IPv4 unicast
address family neighbor.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of routes received from a
neighbor:
ZXAN#show bgp ipv4 unicast neighbor in 2.2.2.1
Related Commands
23.79 show bgp all neighbor
show ip bgp neighbor
Function
This command displays all routes that are advertised to a specific BGP IPv4 unicast
address family neighbor.
Parameters
23-97
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of routes advertised to a
specific neighbor:
ZXAN#show bgp ipv4 unicast neighbor out 2.2.2.2
Related Commands
23.79 show bgp all neighbor
show ip bgp neighbor
Function
This command displays BGP routes with specific as-path attribute.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display BGP routes whose as-path attribute is 200:
23-98
Related Commands
show ip bgp regexp
Function
This command displays the connection statuses of all BGP IPv4 unicast address family
neighbors.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to the connection statuses of all BGP IPv4 unicast
address family neighbors:
Field Description
AS AS ID.
23-99
Field Description
Related Commands
None
Function
This command displays all entries in the BGP VPNv4 unicast address family routing table.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
The show bgp vpnv4 unicast command without any parameter displays all valid BGP routes.
The show bgp vpnv4 unicast detail command displays the details of a specific route.
Examples
The following example shows how to display all valid BGP VPNv4 unicast address family
routes:
ZXAN#show bgp vpnv4 unicast
Related Commands
23.107 show bgp vpnv4 unicast vrf
23-100
Function
This command displays damped routes in the flapping routes that are received from the
PE.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
This command displays all damped routes.
Examples
The following example shows how to display all damped routes in flapping BGP routes:
Related Commands
23.14 bgp dampening
Function
This command displays the statistical information of all flapping routes in the VPNv4 routing
table.
23-101
Parameters
Mode
Any mode except user mode
Usage Guidelines
l If no parameter or keyword is specified in the command, the router will display the
statistics of all flapping routes.
l If only the first two parameters (route ID and IP address) are specified in the command,
only the statistics of flapping routes matching the specified network will be displayed.
l If the keyword (longer-prefixes) is specified, the statistics of flapping routes with
longer prefixes matched masks will be displayed.
Examples
The following example shows how to display the statistical information of flapping BGP
routes:
ZXAN#show bgp vpnv4 unicast dampening flap-statistics
Related Commands
23.14 bgp dampening
Function
This command displays VPNv4 route dampening parameters.
23-102
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display VPNv4 route dampening parameters:
ZXAN#show bgp vpnv4 unicast dampening parameters
Related Commands
23.14 bgp dampening
Function
This command displays the details of an entry in the BGP VPNv4 unicast address family
routing table.
Parameters
Mode
Any mode except user mode
23-103
Usage Guidelines
The show bgp vpnv4 unicast command requires no parameter. It displays all valid BGP
routes. The show bgp vpnv4 unicast detail command displays the details of a specific
route.
Examples
The following example shows how to display the details of a route:
Related Commands
23.107 show bgp vpnv4 unicast vrf
Function
This command displays labels learned from the routing table by the VPNv4 unicast address
family.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display labels learned by the VPNv4 unicast address
family:
Related Commands
None
23-104
Function
This command displays the information related to a BGP VPNv4 address family neighbor.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a neighbor:
ZXAN0#show bgp vpnv4 unicast neighbor 3.3.3.3
Related Commands
23.79 show bgp all neighbor
Function
This command displays the route information received from a BGP VPNv4 address family
neighbor.
23-105
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the route information received from a
neighbor:
ZXAN#show bgp vpnv4 unicast neighbor in 2.2.2.1
Related Commands
23.79 show bgp all neighbor
Function
This command displays the route information sent to a BGP VPNv4 address family
neighbor.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
23-106
Examples
The following example shows how to display the route information sent to a neighbor:
ZXAN#show bgp vpnv4 unicast neighbor out 2.2.2.1
Related Commands
23.79 show bgp all neighbor
Function
The following displays the connection statuses of all VPNv4 unicast address family BGP
neighbors.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the connection statuses of all VPNv4 unicast
address family BGP neighbors:
ZXAN#show bgp vpnv4 unicast summary
Related Commands
23.81 show bgp all summary
23-107
Function
This command displays the information of the VRF routing table.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display valid routes in a VPNv4 unicast address
family VRF routing table:
ZXAN# show bgp vpnv4 unicast vrf vpn1
Related Commands
23.97 show bgp vpnv4 unicast
23-108
Function
This command displays routing information that is received by a BGP IPv6 unicast address
family neighbor.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display routing information received by a neighbor:
ZXAN#show bgp ipv6 unicast neighbor in 2.2.2.1
Related Commands
23.79 show bgp all neighbor
Function
This command displays the contents of all or a specified regular expression access list.
23-109
Parameters
Mode
Any mode except user mode
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
23.47 ip as-path access-list
Function
This command displays detailed information about keepalive packets received from a BGP
neighbor.
Parameters
Mode
Any mode except user mode
23-110
Usage Guidelines
None
Examples
The following example shows how to display detailed information about keepalive packets
received from BGP neighbors:
Related Commands
23.79 show bgp all neighbor
Function
This command displays all routes received by a neighbor in a specific VRF address mode.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display all routes received by a neighbor in a specific
VRF address mode:
ZXAN(config)#show ip bgp neighbor vrf-in 1.1.1.1 zte
23-111
Related Commands
23.79 show bgp all neighbor
23.92 show bgp ipv4 unicast neighbor
Function
This command displays all routes advertised to a neighbor in a specific VRF address mode.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display all routes advertised to a neighbor in a specific
VRF address mode:
ZXAN(config)#show ip bgp neighbor vrf-out 1.1.1.1 zte
Related Commands
23.79 show bgp all neighbor
23.92 show bgp ipv4 unicast neighbor
23-112
Function
This command displays the information about a BGP neighbor peer group.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no peer group name is specified, the information about all peer groups will be displayed.
Examples
The following example shows how to display the information about a BGP neighbor peer
group:
ZXAN#show ip bgp peer-group
Related Commands
23.65 neighbor peer-group
show ip bgp neighbor
Function
This command displays the contents of all community lists or the specified community list.
Parameters
Mode
Any mode except user mode
23-113
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
23.48 ip community-list
Function
This command displays the contents of all prefix lists or the specified prefix list.
Parameters
Mode
Any mode except user mode
23-114
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 2 entries
seq 5 deny 20.0.0.0/8
seq 10 deny 20.20.20.0/24
ip prefix-list test 1 entries
seq 5 permit 100.1.1.0/24
Related Commands
23.49 ip prefix-list
23.116 synchronization
Syntax
synchronization
no synchronization
Function
This command makes BGP and IGP to synchronize.
Parameters
None
Mode
Router 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.
23-115
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
23.117 table-map
Syntax
table-map name1
no table-map
Function
This command configures route QoS parameters based on ip-precedence and
qos-group-id in a route map.
Parameters
Mode
Router BGP mode: ZXAN(config-router)#
Usage Guidelines
None
Examples
The following example shows how to set route QoS parameters in accordance with
ip-precedence and qos-group-id obtained from the route map whose name is abc:
ZXAN(config)#route-map abc
ZXAN(config-route-map)#set ip precedence 6
ZXAN(config-route-map)#set ip qos-group 2
ZXAN(config)#router bgp 1
ZXAN(config-router)#table-map abc
23-116
Related Commands
route-map
no timers bgp
Function
This command adjusts the BGP network timer.
Parameters
Mode
Router 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
Related Commands
None
23-117
23-118
Function
This command clears the alarm logs of four different alarm types.
Parameters
24-1
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command clears four types of alarms, including current alarms, historical alarms,
notifications, and unrecoverable alarms. After the alarms of a type are cleared with this
command, the alarm logs of this type are not displayed by using the show logging alarm
command. If the alarm buffer has been emptied, no logs are displayed with this command.
Examples
The following example shows how to clear the alarm logs of a type. In this example, a
notification log is cleared, then a message displayed indicates that the notification log does
not exist by using the show logging alarmlog notify command.
Related Commands
logging alarmlog
no logging level
Function
This command configures the alarm level of alarm messages recorded in a log file.
24-2
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command should be used together with the logging alarmlog enable command.
To clear the configured alarm level, use the no form of this command.
Examples
The following example shows how to set the alarm level of alarm messages recorded in a
log file to level 3 or below:
ZXAN(config)#logging level indeterminate
Related Commands
logging alarmlog
Function
This command displays the configuration commands that fail to be loaded from a
configuration file.
Parameters
None
24-3
Mode
All modes except user mode
Usage Guidelines
Some commands in a configuration file may fail to be identified by the OAM of the current
NE due to command errors or version differences. This command is used to display such
commands.
Examples
The following example shows how to display the configuration commands that fail to be
loaded from a configuration file:
ZXAN#show config-load-fail
Error cmd line 18:'diffserv-domain 5p3d'
Error cmd line 20:'diffserv-domain default'
Error cmd line 44:'port-identification rackno 1 frameno 1'
Error cmd line 62:' ip vrf forwarding vpn_mng'
Related Commands
None
Function
This command displays the alarm logs that occurred within a specified time period and
with specified levels, including current alarms, recovery alarms, and notifications.
Parameters
24-4
Mode
All modes except user mode
Usage Guidelines
Run the logging alarmlog enable command before using this command. There must be
alarm logs available in the alarm pool; otherwise, the alarm logs cannot be displayed.
Examples
The following example shows how to display the recovery alarms that occurred from
00:00:00, Oct. 22, 2012 to 23:59:59, Oct. 23, 2012 with the alarm levels at or above
warnings (or with a value equal to or less than 3):
ZXAN(config)#show logging alarmlog history-alarm level warnings start-date 10-22-2012
end-date 10-23-2012
Related Commands
logging alarmlog
24-5
Function
This command displays command logs.
Parameters
Mode
All modes except user mode
Usage Guidelines
There must be command logs available in the command logging buffer; otherwise, the
command logs cannot be displayed.
Examples
The following example shows how to display the command logs that occurred from
00:00:00, Oct. 22, 2012 to 23:59:59, Oct. 23, 2012 on a serial port with the IP address
1.1.1.1 and login user name zte:
ZXAN(config)#show logging cmdlog link 0 ipaddress 1.1.1.1 username zte start-time
10-22-2012 00:00:00 end-time 10-23-2012 11:59:59
24-6
Related Commands
logging cmdlog
Function
This command displays the configuration of the logging modules.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of the logging modules:
Related Commands
logging alarmlog
logging cmdlog
logging debuglog
logging snmplog
24-7
Function
This command displays information about the Syslog configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the Syslog configuration:
Related Commands
24.8 syslog facility
no syslog facility
Function
This command configures the global facility of the system logs.
24-8
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configured global syslog facility only works on the prihead structure and type of the
reported alarm logs.
Examples
The following example shows how to set the global facility of the system logs to local3:
Related Commands
None
Function
This command configures the address and port ID of the destination syslog server where
alarm messages are sent.
24-9
Parameters
24-10
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 set the alarm level of the alarm logs to a level above
cleared (with the value less than 5), and the IP address of the destination syslog server
where the SNMP logs for get and set operations are sent to 10.10.10.10:
24-11
Related Commands
None
Function
This command saves the alarm logs as a file from the alarm buffer to the flash in the
directory of flash:data/log.dat.
Parameters
Parameter Description Value
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command writes the alarm information with the following alarm levels from the alarm
buffer to a file:
1: MAJOR
2: MINOR
3: WARNINGS
4: INDETERMINATE
24-12
5: CLEARED
6: NOTIFICATIONS
Examples
The following example shows how to save the logs of the alarms occurred in the alarm
buffer during 7-28-2013 10:00:00 to 7-29-2013 10:00:00 as a file:
Related Commands
None
Function
This command saves the command logs as a file from the alarm buffer to the flash in the
directory of flash:data/cmdlog.dat.
Parameters
24-13
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to save the logs of the commands occurred in the
command buffer during 7-28-2013 10:00:00 to 7-29-2013 10:00:00 as a file:
Related Commands
None
Function
This command saves the SNMP logs as a file from the alarm buffer to the flash in the
directory of flash:data/snmplog.dat.
24-14
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to save the SNMP logs generated in the SNMP log
buffer during 7-28-2013 10:00:00 to 7-29-2013 10:00:00 as a file:
Related Commands
None
24-15
24-16
Function
This command configures the AAA accounting parameters.
Parameters
25-1
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, first enable the TACACS+ function, and then:
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.4 tacacs enable
26.1 server
25-2
Function
This command configures authentication list for enable, by which the user is authenticated
on entering privilege mode.
Use the no form command to delete the authentication list.
Parameters
none No authentication -
Mode
ZXAN(config)#
Usage Guidelines
When user-authentication-type aaa is configured but AAA authentication list is not
configured, the system uses the local authentication by default.
Examples
The following examples show how to configure the authentication list for enable:
l Use the local authentication first; if the local authentication is unavailable, use the
TACACS+ server group abc for authentication.
ZXAN(config)#aaa authentication enable default local group abc
l Use the TACACS+ authentication first; if the TACACS+ server group abc is
unavailable, use the local authentication.
ZXAN(config)#aaa authentication enable default group abc local
Related Commands
26.4 tacacs enable
25-3
Function
This command configures authentication list for login, by which the user is authenticated
on logging in.
Use the no form command to delete the authentication list.
Parameters
Parameter Description Value
none No authentication -
Mode
ZXAN(config)#
Usage Guidelines
When user-authentication-type aaa is configured but AAA authentication list is not
configured, the system uses the local authentication by default.
Examples
The following example shows how to use TACACS+ server group zte for AAA
authentication and authorization:
ZXAN(config)#user-authentication-type aaa
ZXAN(config)#user-authorization-type aaa
ZXAN(config)#tacacs enable
25-4
Related Commands
26.4 tacacs enable
26.3 tacacs disable
26.6 tacacs-client
26.7 tacacs-server host
26.8 tacacs-server key
26.10 tacacs-server packet
26.11 tacacs-server timeout
25.4 aaa authorization
25.8 aaa group-server tacacs+
26.1 server
Function
This command configures the login authorization list, by which a telnet user authorized on
logging in.
Parameters
25-5
none No authorization -
Mode
ZXAN(config)#
Usage Guidelines
When user-authorization-type aaa is configured but AAA authorization list is not
configured, the system does not perform authorization and the login user privilege is 1.
Examples
The following example shows how to use TACACS+ server group abc for AAA
authentication and authorization:
ZXAN(config)#user-authentication-type aaa
ZXAN(config)#user-authorization-type aaa
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
ZXAN(config)#aaa authorization exec default group zte
Related Commands
26.4 tacacs enable
26.3 tacacs disable
26.6 tacacs-client
26.7 tacacs-server host
26.8 tacacs-server key
25-6
26.1 server
Function
This command authorizes user to use commands in configuration mode.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
When aaa authorization commands is configured and aaa authorization config-commands
is configured, user are authorized to use commands in configuration mode.
Examples
The following example shows how to authorizes user to use commands in configuration
mode:
ZXR10(config)#aaa authorization config-commands
Related Commands
26.4 tacacs enable
25-7
Function
This command create a RADIUS accounting server group.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
The NE supports maximum 100 RADIUS accounting server groups. Each group supports
maximum 16 server IP addresses.
Examples
The following example shows how to create RADIUS accounting server group named 2
and configure the server IP address 1.2.3.4:
ZXAN(config)#aaa group-server radius-account 2
ZXAN(config-acctgrp-2)#server 1 1.2.3.4 key zte
Related Commands
25.7 aaa group-server radius-authen
26.1 server
27.24 show radius-server all
27.23 show radius-server accounting-group
25-8
Function
This command create a RADIUS authentication server group.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
The NE supports maximum 100 RADIUS authentication server groups. Each group
supports maximum 16 server IP addresses.
Examples
The following example shows how to create RADIUS authentication server group named
2 and configure the server IP address 2.2.3.4:
Related Commands
25.11 user-authentication-type
Function
This command creates a TACACS+ server group.
Parameters
25-9
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
using 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 2.3.4.5 to the group:
Related Commands
26.4 tacacs enable
26.1 server
Function
This command displays alarm configurations.
Parameters
None
Mode
All modes except user mode
25-10
Usage Guidelines
A list of AAA authentication, AAA authorization, and AAA accounting that have been
configured is displayed.
Examples
The following example shows how to display the current configurations. In this example,
the command line operation record of a user with privilege level 15 is written to a server in
the TACACS server group zte:
ZXAN(config)#show aaa configuration
aaa authentication login default group zte
aaa authorization exec default group zte
aaa accounting commands 15 default stop-only group zte
Related Commands
25.3 aaa authentication login
25.4 aaa authorization
25.1 aaa accounting
Function
This command displays the authentication type and authorization type when a user logs
in the NE.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the authentication type and authorization type
when a user logs in the NE:
25-11
ZXAN(config)#show user-authen-type
user-authentication-type aaa
user-authorization-type aaa
Related Commands
25.11 user-authentication-type
25.12 user-authorization-type
25.11 user-authentication-type
Syntax
user-authentication-type {local |aaa [{chap |pap |ascii |zte-ascii } ] }
Function
This command configures the authentication type for a telnet user to log in. The default
type is local authentication. The default protocol is CHAP.
Parameters
Mode
ZXAN(config)#
25-12
Usage Guidelines
For local authentication, the user name and password should be configured on the NE.
For AAA authentication, the authentication server should be configured with AAA service
(TACplus or RADIUS) enabled.
Examples
The following example shows how to set the authentication type for a telnet user to AAA:
ZXAN(config)#user-authentication-type aaa
Related Commands
25.12 user-authorization-type
25.12 user-authorization-type
Syntax
user-authorization-type {local |aaa }
Function
This command configures the authorization type for a telnet user to log in. The default
type is local authorization.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
The NE supports either local or AAA (TACplus or RADIUS) authorization for a telnet user.
Examples
The following example shows how to set the authorization type for a telnet user to AAA:
ZXAN(config)#user-authorization-type aaa
25-13
Related Commands
1.31 telnet
25.11 user-authentication-type
25-14
26.1 server
Syntax
server [vrf name1 ] ip_addr1 [port number1 ]
Function
This command configures a TACACS+ server.
Parameters
Mode
ZXAN(config-sg)#
26-1
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,
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.4 tacacs enable
Function
This command displays the TACACS+ configuration.
Parameters
None
26-2
Mode
All modes 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+ configuration
tacacs enable
tacacs-server timeout 5
tacacs-server packet 1024
tacacs-server host 1.2.3.4
Related Commands
26.4 tacacs enable
26.3 tacacs disable
26.11 tacacs-server timeout
26.10 tacacs-server packet
26.7 tacacs-server host
25.8 aaa group-server tacacs+
Function
This command disables the TACACS+ function. By default, the TACACS+ function is
disabled.
Parameters
Parameter Description Value
26-3
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.4 tacacs enable
Function
This command enables the TACACS+ function.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
The TACACS+ function is disabled by default.
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
26-4
Related Commands
26.3 tacacs disable
25.8 aaa group-server tacacs+
no tacacs key-encrypt
Function
This command disable or enable TACACS+ key encrypted display function. The function
is disabled by default.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
When the key encrypted display function is enabled, all configured TACACS+ plain-text
keys are converted to encrypted keys.
When the key encrypted display function is disabled, the converted keys are still displayed
in encrypted text; the new configured plain-text keys are displayed in plain text.
Examples
The following example shows how to enable TACACS+ key encrypted display function.
ZXR10(config)#tacacs key-encrypt
26-5
Related Commands
26.4 tacacs enable
26.3 tacacs disable
26.6 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.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
When the TACACS+ client is not configured, the NE select one automatically.
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.
The TACACS+ client configuration is optional. When the TACACS+ client is not configured,
the NE will select an IP address and port number automatically.
26-6
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.4 tacacs enable
26.3 tacacs disable
26.7 tacacs-server host
26.2 show tacacs+ configuration
Function
This command configures the IP address, port number, key for communication with the
TACACS+ server, and timeout value of a TACACS+ host server.
Parameters
Mode
ZXAN(config)#
26-7
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.
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.4 tacacs enable
no tacacs-server key
Function
This command configures the global TACACS+ server key.
26-8
Parameters
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.
Examples
The following example shows how to configure the TACACS+ key to test:
Related Commands
26.2 show tacacs+ configuration
Function
This command configures a TACACS+ key.
Parameters
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.
26-9
Examples
The following example shows how to set TACACS+ key to aabbcc:
ZXAN(config)#tacacs-server key clear aabbcc
Related Commands
26.4 tacacs enable
26.3 tacacs disable
26.2 show tacacs+ configuration
Function
This command sets the maximum size of a TACACS+ packet.
Parameters
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.4 tacacs enable
26.3 tacacs disable
26.7 tacacs-server host
26-10
Function
This command sets the timeout interval for the TACACS+ server.
Use the no form command to restore the default setting.
Parameters
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.4 tacacs enable
26.3 tacacs disable
26.7 tacacs-server host
26.2 show tacacs+ configuration
26-11
26-12
27.1 algorithm
Syntax
algorithm {first |round-robin }
27-1
Function
This command sets the algorithm for selecting the RADIUS server.
Parameters
Mode
bras-authgroup mode
Usage Guidelines
By default, the current valid server is selected as the new user authentication server.
Examples
The following example shows how to set the algorithm for selecting servers in RADIUS
group 1 to round-robin:
Related Commands
27.24 show radius-server all
Function
This command selects an algorithm for determining a RADIUS authentication server.
27-2
Parameters
Mode
bras-authgroup mode
Usage Guidelines
Two algorithms are available: first (default) and round-robin.
l first: The first available server is always selected as the RADIUS authentication server.
l round-robin: The next available server is always selected as the RADIUS
authentication server.
Examples
The following example shows how to select the round-robin algorithm for selecting a
RADIUS authentication server in the server group 1:
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#algorithm round-robin
Related Commands
25.7 aaa group-server radius-authen
27.3 alias
Syntax
alias name1
no alias
Function
This command sets the alias of a RADIUS accounting server group.
27-3
Parameters
Mode
bras-acctgroup mode
Usage Guidelines
None
Examples
The following example shows how to set the alias of the accounting server group 1 to
acc_grp1:
ZXR10(config)#aaa group-server radius-account 1
ZXR10(config-acctgrp-1)#alias acc_grp1 ZXR10(config-acctgrp-1)#
Related Commands
27.24 show radius-server all
Function
This command sets the alias of a RADIUS authentication server group.
Parameters
27-4
Mode
bras-authgroup mode
Usage Guidelines
None
Examples
The following example shows how to set the alias of an authentication server group to
authen_grp1:
Related Commands
25.7 aaa group-server radius-authen
27.19 server
27.24 show radius-server all
27.5 deadtime
Syntax
deadtime number1
no deadtime
Function
This command sets the dead time for the RADIUS server.
Parameters
Mode
bras-authgroup mode
27-5
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.
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.24 show radius-server all
Function
This command sets the authentication server deadtime.
Parameters
Mode
bras-authgroup mode
Usage Guidelines
l An OLT determines that an authentication server is unavailable during a time period
when the OLT does not receive any response after sending authentication request to
the server for several times. This command is used to set the time period. The OLT
will attempt to access the authentication server after the time period if necessary.
27-6
l If the authentication server group has only one server, the deadtime 0 is
recommended. If the authentication server group has multiple servers, the default
deadtime is recommended.
Examples
The following example shows how to set the authentication server deadtime to 3 minutes:
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#deadtime 3
Related Commands
25.7 aaa group-server radius-authen
27.7 ip mng
Syntax
ip mng
no ip mng
Function
This command enables a RADIUS authentication server group to use the management
port for user authentication.
Parameters
None
Mode
bras-authgroup mode
Usage Guidelines
The management port is not used for authentication by default. This command must be
executed if you want to use the management port for user authentication.
Examples
The following example shows how to enable a RADIUS authentication server group to use
the management port for user authentication:
27-7
Related Commands
27.24 show radius-server all
27.8 ip vrf
Syntax
ip vrf name1
no ip vrf
Function
This command associates an accounting server group with a VRF.
Parameters
Mode
bras-acctgroup mode
Usage Guidelines
l After a RADIUS accounting server group is associated with a VRF, the server group
uses resources defined in the VRF.
l If a RADIUS accounting server group is not associated with a VRF, the server group
belongs to the global routing domain.
l To cancel the association, use the no form of this command.
Examples
The following example shows how to associate a RADIUS accounting server group with a
VRF (vrf1):
ZXR10(config)#aaa group-server radius-account 1
ZXR10(config-acctgrp-1)#ip vrf vrf1
Related Commands
27.24 show radius-server all
27-8
Function
This command associates a RADIUS authentication server group with a VRF.
Parameters
Mode
bras-authgroup mode
Usage Guidelines
l After a RADIUS authentication server group is associated with a VRF, the server group
uses resources defined in the VRF. If a RADIUS authentication server group is not
associated with a VRF, the server group belongs to the global routing domain.
l To cancel the association, use the no form of this command.
Examples
The following example shows how to associate a RADIUS authentication server group with
a VRF (vrf1):
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#ip vrf vrf1
Related Commands
27.24 show radius-server all
27.10 local-buffer
Syntax
local-buffer {enable |disable }
27-9
Function
This command enables or disables the local buffer for an accounting server group.
Parameters
Mode
bras-acctgroup mode
Usage Guidelines
This command enables or disables the local buffer for an accounting server group.
Examples
The following example shows how to enable the local buffer for an accounting server group:
ZXR10(config)#aaa group-server radius-account 1
ZXR10(config-acctgrp-1)#local-buffer enable
Related Commands
27.24 show radius-server all
27.11 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.
27-10
Parameters
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.
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.24 show radius-server all
Function
This command sets the maximum number of retransmissions that may be retried on a
RADIUS authentication server due to timeout.
Parameters
27-11
Mode
bras-authgroup mode
Usage Guidelines
The maximum number of retries is the maximum number of times that an OLT retransmits
authentication requests to the RADIUS authentication server because no response is
received from the server.
Examples
The following example shows how to set the maximum number of retries on a RADIUS
authentication server to 10:
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#max-retries 10
Related Commands
25.7 aaa group-server radius-authen
27.24 show radius-server all
27.13 nas-ip-address
Syntax
nas-ip-address ip_addr1
no nas-ip-address
Function
This command sets the NAS IP address for a RADIUS accounting server. The NAS IP
address corresponds to the NAS-IP field and source IP address in RADIUS accounting
packets.
Parameters
Mode
bras-acctgroup mode
Usage Guidelines
This command sets the NAS IP address for a RADIUS accounting server. The NAS IP
address corresponds to the NAS-IP field and source IP address in protocol packets.
27-12
Examples
The following example shows how to set the NAS IP address of a RADIUS accounting
server to 192.168.70.2:
ZXR10(config)#aaa group-server radius-account 1
ZXR10(config-acctgrp-1)#nas-ip-address 192.168.70.2
Related Commands
27.24 show radius-server all
Function
This command sets the RADIUS NAS-IP. The NAS IP address corresponds to the NAS-IP
field in protocol packets.
Parameters
Mode
bras-authgroup mode
Usage Guidelines
This command sets the NAS IP address for a RADIUS authentication server. The NAS ID
address corresponds to the NAS-IP field in protocol packets.
Examples
The following example shows how to set the NAS IP address of a RADIUS authentication
server to 192.168.70.1:
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#nas-ip-address 192.168.70.1
Related Commands
25.7 aaa group-server radius-authen
27.24 show radius-server all
27-13
27.15 nas-ipv6-address
Syntax
nas-ipv6-address ipv6_addr1
no nas-ipv6-address
Function
This command sets the NAS IPv6 address for a RADIUS authentication server.
Parameters
Mode
bras-authgroup mode
Usage Guidelines
NAS IPv4 address and NAS IPv6 address cannot coexist in the same authentication server
group. The NAS IP address must be of the same type as the IP address of the RADIUS
authentication server.
Examples
The following example shows how to set the NAS IPv6 address of a RADIUS authentication
server to 11:11::11:
ZXR10(config)#aaa group-server radius-account 1
ZXR10(config-acctgrp-1)#nas-ipv6-address 11:11::11
Related Commands
27.24 show radius-server all
Function
This command enables or disables port validation check on RADIUS packets.
27-14
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l This command enables or disables port validation check on RADIUS packets. The
port validity check is enabled by default.
l During the validity check, the NE compares the destination port in the RADIUS packet
(UDP) sent to the RADIUS server with the source port in the UDP packet responded
by the RADIUS server. If the source port and the destination port are the same, the
responded packet is valid. If the source port and the destination port are different, the
responded packet is invalid.
l The RADIUS authentication server uses port 1812. The RADIUS accounting server
uses port 1813.
Examples
The following example shows how to enable the port validity check on packets responded
by the RADIUS server:
ZXAN(config)#radius server-port-check on
ZXAN(config)#show configuration radius server-port-check
Check ports of all radius servers on
Related Commands
27.22 show configuration radius server-port-check
27.17 retry-timeout
Syntax
retry-timeout number1
no retry-timeout
27-15
Function
This command sets the timeout for sending accounting requests.
Parameters
Mode
bras-acctgroup mode
Usage Guidelines
None
Examples
The following example shows how to set the timeout value to 5 seconds for a RADIUS
accounting server:
Related Commands
27.24 show radius-server all
no retry-timeout
Function
This command sets the authentication timeout for a RADIUS server.
27-16
Parameters
Mode
bras-authgroup mode
Usage Guidelines
After sending an authentication message to the RADIUS server, the OLT retransmits an
authentication message if no response is received from the RADIUS server when the
timeout expires.
Examples
The following example shows how to set the authentication timeout to 5 seconds for a
RADIUS server:
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#retry-timeout 5
Related Commands
25.7 aaa group-server radius-authen
27.19 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.
27-17
Parameters
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
Related Commands
27.24 show radius-server all
no server number1
Function
This command configures a RADIUS server.
27-18
Parameters
Mode
bras-authgroup mode
Usage Guidelines
Create a RADIUS server group before using this command to configure a RAIUS server.
Examples
The following example shows how to configure a RADIUS server as a primary server. The
index number is 1, the IP address is 192.168.70.5, the shared encryption key is zte, and
the port number is 1812.
Related Commands
25.7 aaa group-server radius-authen
Function
This command displays the configurations related to all RADIUS accounting server groups
and authentication server groups.
27-19
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
This command displays the configurations related to all RADIUS accounting server
groups and authentication server groups. No information will be displayed if there is no
configuration data.
Examples
The following example shows how to display the configurations related to all RADIUS
authentication server groups and accounting server groups:
ZXR10(config)#show configuration radius all
!
aaa group-server radius-authen 1
server 1 192.168.70.5 master key zte port 1812
algorithm first
timeout 5
max-retries 10
deadtime 5
calling-station-format 1
nas-ip-address 192.168.70.1
user-name-format strip-domain
vendor disable
!
!
aaa group-server radius-account 1
alias acc_grp1
ip vrf vrf1
server 1 192.168.70.5 master key zte port 1813
algorithm first
timeout 5
max-retries 10
deadtime 3
calling-station-format 2
nas-ip-address 192.168.70.2
user-name-format include-domain
vendor enable
local-buffer enable
!
ZXR10(config)#
27-20
Related Commands
25.6 aaa group-server radius-account
25.7 aaa group-server radius-authen
Function
This command displays whether the port validity check is enabled for RADIUS servers.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the setting of the port validity check:
ZXAN(config)#radius server-port-check on
ZXAN(config)#show configuration radius server-port-check
Check ports of all radius servers on
Related Commands
27.16 radius server-port-check
Function
This command displays all configurations of a RADIUS accounting group.
27-21
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display all configurations of a RADIUS accounting
server group:
ZXAN(config-acctgrp-1)#show radius-server accounting-group 1
Related Commands
25.6 aaa group-server radius-account
25.7 aaa group-server radius-authen
Function
This command displays the configurations of all RADIUS servers.
Parameters
None
27-22
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configurations of all RADIUS servers:
ZXAN(config)#show radius-server all
Radius authentication-group 1 server number: 1
Server 1 6.6.6.200 slave
Key:zte
Port:1812
State:active current Server
Radius authentication-group 3 server number: 1
Server 1 6.6.6.100 slave
Key:zteRad
Port:1812
State:active current Server
Related Commands
25.6 aaa group-server radius-account
Function
This command displays all configurations of a RADIUS authentication server group.
Parameters
Mode
Any mode except user mode
27-23
Usage Guidelines
None
Examples
The following example shows how to display all configurations of a RADIUS authentication
server group:
ZXAN(config-authgrp-1)#show radius-server authentication-group 1
Related Commands
25.6 aaa group-server radius-account
25.7 aaa group-server radius-authen
27.26 user-name-format
Syntax
user-name-format {include-domain |strip-domain }
Function
This command sets the required format for the username field sent to the RADIUS server
by the OLT.
Parameters
Mode
bras-acctgroup mode
27-24
Usage Guidelines
This command is used to set the format of the username field sent to the RADIUS server
by the BRAS.
Examples
The following example shows how to set the format of the username field to
include-domain:
ZXR10(config)#aaa group-server radius-account 1
ZXR10(config-acctgrp-1)#user-name-format include-domain
Related Commands
27.24 show radius-server all
Function
This command sets the required format for the username field sent to the RADIUS server
by the OLT.
Parameters
Mode
bras-authgroup mode
27-25
Usage Guidelines
This command sets the required format for the username field sent to the RADIUS server
by the OLT. The default format is strip-domain, meaning that the username sent to the
RADIUS server does not include the domain name.
For example, suppose the actual username of a user is xxx@local.
l If the username format is set to include-domain, xxx@local is sent to the authentication
server.
l If the username format is set to strip-domain, xxx is sent to the authentication server.
Examples
The following example shows how to set the format of the username field to strip-domain:
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#user-name-format strip-domain
Related Commands
25.7 aaa group-server radius-authen
27.24 show radius-server all
27.28 vendor
Syntax
vendor {enable |disable }
Function
This command enables or disables sending vendor-specific attributes with RADIUS
accounting packets.
Parameters
Mode
bras-acctgroup mode
Usage Guidelines
By default, vendor-specific attributes are sent with RADIUS accounting packets.
27-26
Examples
The following example shows how to enable sending vendor-specific attributes with
RADIUS packets:
ZXR10(config)#aaa group-server radius-account 1
ZXR10(config-acctgrp-1)#vendor enable
Related Commands
27.24 show radius-server all
Function
This command enables or disables sending vendor-specific attributes with RADIUS
packets.
Parameters
Mode
bras-authgroup mode
Usage Guidelines
By default, vendor-specific attributes are sent with RADIUS packets.
Examples
The following example shows how to disable sending vendor-specific attributes with
RADIUS packets:
ZXR10(config)#aaa group-server radius-authen 1
ZXR10(config-authgrp-1)#vendor disable
Related Commands
25.7 aaa group-server radius-authen
27-27
27-28
Function
This command displays the statistical information about SNMP packets.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
28-1
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
Function
This command displays all SNMP configurations.
Parameters
None
Mode
Any mode except user mode
28-2
Usage Guidelines
None
Examples
The following example shows how to display all SNMP configurations:
Related Commands
None
Function
This command displays the identification of the local SNMP engine.
28-3
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 except user 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
snmp-server engine-id
Function
This command displays the local SNMP groups.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
28-4
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.10 snmp-server group
Function
This command displays the local SNMP user.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
28-5
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.15 snmp-server user
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
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l To cancel the setting, use the no form of this command.
l Use the acl standard command to create an ACL before apply the ACL on SNMP.
Examples
The following example shows how to apply ACL 1 to control the host address which
accesses the system over the SNMP:
28-6
ZXAN(config)#snmp-server access-list 1
ZXAN(config)#
Related Commands
42.1.4 acl standard
Function
This command sets the SNMP message community string.
Parameters
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:
28-7
ZXAN(config)#
Related Commands
28.16 snmp-server view
Function
This command configures the contact information of the person in charge of the MIB object
system.
Parameters
Parameter Description Value
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:
Related Commands
None
28-8
Function
This command enables the agent to generate an engine ID based on the MAC address.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enable the agent to generate an engine ID based on
the MAC address:
ZXAN(config)#snmp-server engine-id mode mac
ZXAN(config)#show snmp engine-id
Related Commands
28.3 show snmp engine-id
Function
This command configures a new SNMP group, namely, maps SNMP users to SNMP views.
Parameters
28-9
Mode
Configuration mode: ZXAN (config)#
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.15 snmp-server user
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.
28-10
Parameters
version Version. -
number1 UDP port number of the trap server for receiving 0–65535
traps.
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command configures the server for receiving SNMP traps or informs. The following
describes the procedure for SNMPv2 and SNMPv3 trap reporting:
1. Use the snmp-server view command to create an SNMP view. The default view is
“AllView”. The show snmp configuration command can be used to query the created
SNMP view.
2. For SNMPv2 trap reporting, use the snmp-server community3 command to create a
community. The default community name is “public”. The show snmp configuration
command can be used to query the created community.
3. For SNMPv3 trap reporting, use the snmp-server user and snmp-server group
commands to create an SNMP v3 user name and group.
28-11
Examples
l The following example shows how to set the destination IP address of the SNMP
v2 trap server. The default community name “public” is used.
ZXAN(config)#snmp-server host 100.100.100.30 version 2c public enable
notifications target-addr-name zte
l The following example shows how to set the destination IP address of the SNMP
v3 trap server. The first two commands below creates an SNMP v3 user and an SNMP
v3 user group.
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 100.100.100.30 version 3 noauth zte enable notifications
target-addr-name zte
Related Commands
28.15 snmp-server user
no snmp-server location
Function
This command sets the physical location of a node.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
28-12
Examples
The following example shows how to set the physical location of a node:
ZXAN(config)#snmp-server location this is 5200 in china
Related Commands
None
Function
This command configures the maximum length of SNMP packets.
Parameters
Parameter Description Value
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-13
Function
This command sets the source IP address for SNMP traps.
Parameters
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
Function
This command creates an SNMPv3 user, associates the user to a group, and set the
authentication mode, encryption mode, and password for the user.
Parameters
28-14
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l By default, the encrypted parameter is not specified in the command, meaning the
key set in this command is a clear text.
l To delete an SNMPv3 user, use the no form of this command.
l An SNMP v3 user is only required when SNMP v3 is used. The system first verifies
the user in accordance with the configured authentication mode and encryption mode,
and then determines the views that can be accessed by the user depending on the
associated group.
If the authentication mode or encryption mode is not set in the command, the user
accesses the allowable views without authentication and encryption by default.
Examples
The following example shows how to create an SNMP user named user1, with the
MD5 authentication password as 12345678 and the CBC-DES encryption password as
12345678, and associate the user to group 1:
ZXAN(config)#snmp-server user user1 group1 v3 auth md5 12345678 priv des56 12345678
Related Commands
28.5 show snmp user
28-15
Function
This command defines an SNMPv2 view.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l To delete a view, use the no form of this command.
l Directly enter this command in global configuration mode.
l The subtree-id is an OID like 1.2.3.4.5, or a node name of MIB subtree, such as
internet.
Examples
The following example shows how to define an SNMPv2 view with the name myViewName:
Related Commands
28.7 snmp-server community
28-16
Function
This command enables the DHCP client function for an interface.
Parameters
29-1
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), mng interface mode
Usage Guidelines
If client-id is configured for an interface, the DHCP client packets contain the MAC address
of this interface.
To disable the DHCP client function for an interface and delete the related configurations,
use the no form of this command.
Examples
The following example shows how to enable the DHCP client function for the interface
vlan1:
ZXAN(config-if)#ip address dhcp client-id vlan1 hostname zxr10@zte.com
Related Commands
1.14 ip address
Function
This command sets the broadcast flag for the DHCP client.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The broadcast flag is contained in the DHCP client packets after it is configured.
To cancel this configuration, use the no form of this command.
Examples
The following example shows how to configure the DHCP client broadcast flag:
29-2
Related Commands
29.1.1 ip address dhcp
Function
This command configures a class ID for the DHCP client.
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), mng interface mode
Usage Guidelines
A class ID is an option in DHCP request packets.
Examples
The following example shows how to configure a DHCP client class ID:
Related Commands
29.1.1 ip address dhcp
29-3
Function
This command configures a client ID for the DHCP client.
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), mng interface mode
Usage Guidelines
If a client ID is configured for an interface, the DHCP client packets contain the MAC
address of this interface.
Examples
The following example shows how to configure a client ID for the DHCP client:
Related Commands
29.1.1 ip address dhcp
Function
This command configures a host name for the DHCP client.
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), mng interface mode
29-4
Usage Guidelines
A host name is an option in DHCP request packets.
Examples
The following example shows how to configure a DHCP client host name:
zxan(config-if)#ip dhcp client hostname zxr10@zte.com.cn
Related Commands
None
Function
The command configures the lease time that a DHCP client requests.
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), mng interface mode
Usage Guidelines
The lease time of the obtained IP address is determined by the DHCP server.
Examples
The following example shows how to configure DHCP client lease time:
zxan(config-if)#ip dhcp client lease 1 2 3
Related Commands
29.1.1 ip address dhcp
29-5
Function
This command configures the parameter request list for the DHCP client.
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), mng interface mode
Usage Guidelines
By default, the request list contains all the options.
Examples
The following example shows how to configure the DHCP client request list:
zxan(config-if)#no ip dhcp client request router
Related Commands
29.1.1 ip address dhcp
29.1.8 release
Syntax
release dhcp interface1
29-6
Function
This command releases the network parameters obtained by an interface.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
The DHCP client function should be enabled for the interface before this command is
executed.
If the interface already obtains the network parameters (for example, IP address), the
obtained parameters are released after this command is executed.
Examples
The following example shows how to release the network parameters obtained by the
interface VLAN 1:
zxan#release dhcp vlan1
Related Commands
29.1.9 renew
29.1.9 renew
Syntax
renew dhcp interface1
Function
This command reobtains the network parameters for an interface.
Parameters
29-7
Mode
Privileged mode: ZXAN#
Usage Guidelines
The DHCP client function should be enabled for the interface before this command is
executed.
If the interface already obtains the network parameters (for example, IP address), the
system starts the DHCP request process again after this command is executed.
Examples
The following example shows how to reobtain the network parameters for the interface
VLAN1:
zxan#renew dhcp vlan1
Related Commands
29.1.8 release
no dhcp-pool
Function
This command binds a DHCP pool to a DHCP policy.
Parameters
Mode
ZXAN(config-dhcp-policy)#
29-8
Usage Guidelines
The DHCP policy configuration should be consistent with the actual networking. A DHCP
pool must match the type of the interface which the corresponding policy is bound to.
Binding a DHCP pool to a wrong DHCP policy may cause an address assignment failure.
To delete the binding, use the no form of this command.
Examples
The following example shows how to bind dpool1 to policy1:
zxan(config)#ip dhcp policy policy1 2
zxan(config-dhcp-policy)#dhcp-pool dpool1
Related Commands
29.2.5 show ip dhcp policy
Function
This command creates a DHCP policy and enters DHCP policy configuration mode.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
You can use this command to configure different priority levels for the policies with the
same name.
The DHCP POLICY function allows users to fully configure and control the DHCP user
accessible policies to achieve powerful controllability, flexibility, and expandability of
the DHCP controllable access service. Therefore, the normal operation, flexibility, and
controllability of the policies depend on the correct user configurations.
29-9
Examples
The following example shows how to enter DHCP policy configuration mode:
zxan(config)#ip dhcp policy policy1 2
Related Commands
29.2.5 show ip dhcp policy
Function
This command binds a DHCP policy to an interface.
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), supervlan interface mode, and mng
interface mode
Usage Guidelines
The DHCP pool must match the type of the interface which the policy is bound to.
Otherwise, errors may occur. For example, if the DHCP policy corresponding to different
interfaces is added to one DHCP POLICY set, and this policy is bound to multiple
interfaces, the DHCP pool unrelated to the interfaces may fail to assign addresses.
Examples
The following example shows how to bind policy1 to VLAN 100:
zxan(config)#interface vlan100
29-10
Related Commands
None
29.2.4 relay-agent
Syntax
relay-agent ip_addr1
no relay-agent
Function
This command configures the IP address of a relay agent.
Parameters
Mode
ZXAN(config-dhcp-policy)#
Usage Guidelines
If a user is connected to a DHCP server directly, a relay agent is unnecessary. If the user
is connected to a DHCP server through a relay, a relay agent must be configured.
In a DHCP policy, the relay agent is only configured when users request IP addresses
through a relay agent.
IP addresses are assigned based on the priorities of DHCP pools. The DHCP pool/IP pool
has higher priority than the VRF and relay agent.
To delete the configuration, use the no form of this command.
Examples
The following example shows how to set the IP address of the relay agent to 2.2.2.253:
ZXR10(config)#ip dhcp policy policy1 2
zxan(config-dhcp-policy)#relay-agent 2.2.2.253
Related Commands
29.2.5 show ip dhcp policy
29-11
Function
This command displays information about a DHCP policy.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the DHCP policy p1:
zxan#show ip dhcp policy p1
Related Commands
29.2.2 ip dhcp policy
29.2.6 vrf-instance
Syntax
vrf-instance name1
no vrf-instance
Function
This command configures the VRF for a DHCP pool.
Parameters
29-12
Mode
ZXAN(config-dhcp-policy)#
Usage Guidelines
This command is used to assign a DHCP pool to a VPN.
To delete the configuration, use the no form of this command.
Examples
The following example shows how to configure vrf-instance to vpn1:
zxan(config)#ip dhcp policy policy1 2
zxan(config-dhcp-policy)#vrf-instance vpn1
Related Commands
29.2.5 show ip dhcp policy
Function
This command binds an IP address to an MAC.
To delete the configuration, use the no form of this command.
Parameters
Parameter Description Value
ip_addr1 IP address -
Mode
ZXAN(config-dhcp-pool)#
Usage Guidelines
This command is used to allocate an IP address to a specified client.
29-13
Examples
The following example shows how to bind the IP address 2.2.2.36 to the MAC address
001B.0000.0001:
Related Commands
29.3.8 show ip dhcp pool
29.3.2 default-router
Syntax
default-router ip_addr1 [ip_addr2 [ip_addr3 [ip_addr4 [ip_addr5 [ip_addr6 [ip_addr7 [ip_addr8
[] ] ] ] ] ] ] ]
Function
The command configures the default route gateway.
Parameters
ip_addr1 IP address -
ip_addr2 IP address -
ip_addr3 IP address -
ip_addr4 IP address -
ip_addr5 IP address -
ip_addr6 IP address -
ip_addr7 IP address -
ip_addr8 IP address -
Mode
ZXAN(config-dhcp-pool)#
Usage Guidelines
Up to eight default route items can be configured with this command.
29-14
Examples
The following example shows how to set the default route to 1.1.1.58:
zxan(config)#ip dhcp pool dhcppool1
zxan(config-dhcp-pool)#default-router 1.1.1.58
Related Commands
29.3.8 show ip dhcp pool
29.3.3 dns-server
Syntax
dns-server ip_addr1 [ip_addr2 [ip_addr3 [ip_addr4 [ip_addr5 [ip_addr6 [ip_addr7 [ip_addr8 [] ]
]]]]]]
no dns-server ip_addr1 [ip_addr1 [ip_addr1 [ip_addr1 [ip_addr1 [ip_addr1 [ip_addr1 [ip_addr1
[] ] ] ] ] ] ] ]
Function
This command configures the IP address of the DNS server for DHCP users.
Parameters
ip_addr1 IP address -
ip_addr2 IP address -
ip_addr3 IP address -
ip_addr4 IP address -
ip_addr5 IP address -
ip_addr6 IP address -
ip_addr7 IP address -
ip_addr8 IP address -
Mode
ZXAN(config-dhcp-pool)#
Usage Guidelines
To delete the configuration, use the no form of this command.
Examples
The following example shows how to set the IP address of the DNS server to 2.2.2.253:
29-15
Related Commands
29.3.8 show ip dhcp pool
Function
This command creates a DHCP pool and enters DHCP-POOL configuration mode.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
A DHCP pool must be bound to a corresponding DHCP policy. Otherwise, the IP address
allocation and DHCP parameter configuration may fail.
To delete the configured DHCP pool, use the no form of this command.
Examples
The following example shows how to create the DHCP pool dhcppool1:
zxan(config)#ip dhcp pool dhcppool1
Related Commands
29.3.8 show ip dhcp pool
29.3.5 ip-pool
Syntax
ip-pool name1
29-16
no ip-pool
Function
This command binds an IP pool to a DHCP pool.
Parameters
Mode
ZXAN(config-dhcp-pool)#
Usage Guidelines
To delete the configuration, use the no form of this command.
Examples
The following example shows how to bind pool1 to dhcppool1:
zxan(config)#ip dhcp pool dhcppool1
zxan(config-dhcp-pool)#ip-pool pool1
ZXR10(config-dhcp-pool)#
Related Commands
29.3.8 show ip dhcp pool
29.3.6 lease-time
Syntax
lease-time {number1 number2 number3 |infinite }
no lease-time
Function
This command configures the lease time of an IP address.
Parameters
29-17
infinite Infinite -
Mode
ZXAN(config-dhcp-pool)#
Usage Guidelines
To restore the default setting, use the no form of this command.
Examples
The following example shows how to configure the lease time to 2 days and 10 hours:
Related Commands
29.3.8 show ip dhcp pool
29.3.7 option
Syntax
option number1 {ascii name1 |hex number2 |ip ip_addr1 }
no option number1
Function
This command configures the DHCP options.
Parameters
ip_addr1 IP address -
Mode
ZXAN(config-dhcp-pool)#
29-18
Usage Guidelines
There are too many options in the DHCP protocol for a command line to list. Therefore,
users can use this command to configure the options as required.
To delete the configuration, use the no form of this command.
Examples
The following example shows how to configure the DHCP options with the option code of
15:
zxan(config)#ip dhcp pool dhcppool1
zxan(config-dhcp-pool)#option 15 ascii zte.com
Related Commands
29.3.8 show ip dhcp pool
Function
This command displays the configuration of a DHCP pool.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of dhcppool1:
zxan#show ip dhcp pool dhcppool1
Related Commands
29.3.4 ip dhcp pool
29-19
Function
This command releases the conflicting IP addresses in a conflict chain.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
Conflicting IP address are released either automatically through a timeout mechanism or
manually by using this command.
Examples
The following example shows how to release a conflicting IP address manually:
Related Commands
ip loacl pool conflict-ip
29-20
Function
This command deletes IP pool statistics.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command can delete the statistics of a specific IP pool or all IP pools.
Examples
The following example shows how to delete statistics of the IP pool "zte":
ZXAN#clear ip pool statistics zte
Related Commands
ZXAN#show ip local pool statistics
29.4.3 conflict-time
Syntax
conflict-time number1
no conflict-time
Function
This command configures the duration when a conflicting IP address stays in conflict chain.
Parameters
Mode
ZXAN(config-ip-pool)#
29-21
Usage Guidelines
When a conflicting IP address appears, it is added to the conflict chain. Then it cannot be
allocated until the conflict duration expires.
Examples
The following example shows how to set the conflict duration to 40 minutes:
Related Commands
29.3.4 ip dhcp pool
29.4.4 exclude
Syntax
exclude ip_addr1 [ip_addr2 ]
Function
The command filters specified IP addresses from an IP address pool.
Parameters
Mode
ZXAN(config-ip-pool)#
Usage Guidelines
The filtered IP addresses cannot be allocated to DHCP clients.
Examples
The following example shows how to filter the IP addresses from 10.1.1.1 to 10.1.1.3 from
an IP address pool:
29-22
Related Commands
29.3.4 ip dhcp pool
Function
This command configures an IP pool for the DHCP server.
Parameters
mask1 Mask -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure an IP pool for the DHCP server:
ZXAN(config)#ip local pool test 10.1.1.1 10.1.1.255 255.255.0.0
Related Commands
None
29.4.6 ip pool
Syntax
ip pool name1
no ip pool name1
29-23
Function
This command creates an IP pool and enters IP pool configuration mode.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to creates an IP pool:
ZXAN(config)#ip pool zte
ZXAN(config-ip-pool)#
Related Commands
None
29.4.7 network
Syntax
network ip_addr1 ip_addr2
Function
This command configures an IP pool for a network segment.
Parameters
ip_addr1 IP address -
ip_addr2 Mask -
Mode
ZXAN(config-ip-pool)#
29-24
Usage Guidelines
None
Examples
The following example shows how to configure an IP pool for a network segment:
ZXAN(config)#ip pool pool1
ZXAN(config-ip-pool)#network 20.1.1.0 255.255.255.0
Related Commands
29.3.4 ip dhcp pool
Function
This command specifies an IP address pool for an interface.
Parameters
Mode
supervlan interface mode: ZXAN(config-if)#
Usage Guidelines
To delete the configuration, use the no form of this command.
Examples
The following example shows how to specify an IP address pool for an interface:
ZXAN(config)#interface supervlan2
ZXAN(config-if)#peer default ip pool test
Related Commands
29.4.5 ip local pool
29.4.10 show ip local pool
29-25
29.4.9 range
Syntax
range ip_addr1 ip_addr2 mask1
no range ip_addr3 ip_addr2 mask1
Function
This command configures the IP address range of an IP pool.
Parameters
mask1 Mask -
ip_addr3 - -
Mode
ZXAN(config-ip-pool)#
Usage Guidelines
When the DHCP server is configured, the IP address range of the IP pool must be
configured to allocate addresses for DHCP clients.
Examples
The following example shows how to configure the IP address range of an IP pool:
ZXAN(config)#ip pool pool1
ZXAN(config-ip-pool)#range 10.1.1.1 10.1.1.100 255.255.255.0
Related Commands
29.3.4 ip dhcp pool
Function
This command displays information about a local IP pool.
29-26
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about a local IP pool:
ZXAN#show ip local pool configure zte
ZXAN(config)#show ip local pool configure zte
PoolName Begin End Mask Free Used
zte 2.2.1.1 2.2.1.5 24 5 0
Total: 1
Related Commands
29.4.5 ip local pool
Function
The command displays information about conflicting IP addresses in an IP local pool.
Parameters
Mode
All modes except user mode
29-27
Usage Guidelines
None
Examples
The following example shows how to display information about conflicting IP addresses:
ZXAN(config)#show ip local pool conflict-ip zte
PoolName Conflict-time(m) Conflict-ip Time-stamp(m)
zte 30
Total: 0
Related Commands
29.4.1 clear ip pool conflict-ip
ip local pool conflict-ip
Function
This command displays the unavailable IP addresses in an IP local pool.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the unavailable IP addresses in an IP local
pool:
ZXAN(config-ip-pool)#show ip local pool exclude-ip zte
PoolName Begin End
zte 10.1.1.10 10.1.1.20
Total: 1
29-28
Related Commands
29.4.4 exclude
Function
This command displays the IP address allocation statistics of an IP local pool.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the IP address allocation statistics of an IP
pool:
ZXAN#show ip local pool statistics zte
IPPOOL zte STATISTIC INFO:
SUCCEED FAILED TOTAL
GET ADDRESS : 0 0 0
FREE ADDRESS : 0 0 0
ZXAN#
The following example shows how to display the IP address allocation statistics of all IP
local pools:
ZXAN#show ip local pool statistics zte
IPPOOL zte STATISTIC INFO:
SUCCEED FAILED TOTAL
GET ADDRESS : 0 0 0
FREE ADDRESS : 0 0 0
ZXAN#
29-29
Related Commands
None
Function
This command displays the used IP addresses in an IP local pool.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the used IP addresses in an IP local pool:
ZXAN(config)#show ip local pool used-ip zte
PoolName Used-ip Conflict:(*)
zte
Total: 0
Related Commands
ip local pool
29-30
Function
This command configures the algorithm that a DHCP relay server forwards DHCP request
packets.
Parameters
Mode
ZXAN(config-dhcp-relay-server)#
Usage Guidelines
The system supports the following algorithms:
l All-server
Request packets are sent to all severs.
l Active/standby
When the active server is available, the relay receives a request packet and forwards
it to the active server.
If the active server does not respond, and the maximum number of retry times reaches,
the active server is set to dead and the subsequent request packets are forwarded to
an available standby server.
When the dead time expires, the active server is available again.
l Round-robin
Request packets are sent to the active and standby servers alternately.
Examples
The following example shows how to set the algorithm for the DHCP relay server to
active/standby mode:
29-31
zxan(config-dhcp-relay-server)#algorithm first
Related Commands
29.5.33 show ip dhcp relay server group
29.5.2 bridge-dhcp-relay
Syntax
bridge-dhcp-relay {vlan number1 } {source-interface-vlan number2 }
no bridge-dhcp-relay {vlan number1 }
Function
This command enables the DHCP relay function on the network side.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
When a bridge port is configured on the user side, it is necessary to use this command to
enable the DHCP relay function on the network side by modifying the bridge VLAN to a
network VLAN.
Examples
The following example shows how to enable the DHCP relay function on the network side:
ZXAN(config)#bridge-dhcp-relay vlan 10 source-interface-vlan 100
Related Commands
29.5.29 show bridge-dhcp-relay
29-32
Function
This command creates a cable IP bundle and enters cable IP-bundle configuration mode.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The IP addresses in an IP bundle can be configured in cable IP-bundle configuration mode.
The DHCP relay selects a gateway from the IP bundle based on the IP addresses allocated
by the server.
Examples
The following example shows how to create a cable IP-bundle and enter cable IP-bundle
configuration mode:
ZXAN(config)#cable ip-bundle aaa
Related Commands
None
Function
This command enables the Cable IP-Bundle function for a VLAN.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
29-33
Usage Guidelines
If the Cable IP-Bundle function is enabled for a VLAN, a UE will select an IP from the
configured IP bundle based on the IP addresses allocated by the server as a gateway
address.
Examples
The following example shows how to enable the Cable IP-Bundle function for a VLAN:
ZXAN(config-if-vlan3)#cable ip-bundle
Related Commands
None
29.5.5 deadtime
Syntax
deadtime number1
no deadtime
Function
This command configures the unavailable duration of a DHCP relay server when it fails to
respond.
Parameters
Mode
ZXAN(config-dhcp-relay-server)#
Usage Guidelines
In active/standby mode, if the active server is available, the relay receives a request packet
and forward it to the active server.
If the active server does not respond, and the maximum number of retry times reaches,
the active server is set to dead and the subsequent request packets are forwarded to an
available standby server.
When the dead time expires, the active server is available again.
29-34
Examples
The following example shows how to configure the dead time for the DHCP relay server:
zxan(config-dhcp-relay-server)#deadtime 80
Related Commands
29.5.33 show ip dhcp relay server group
29.5.6 description
Syntax
description name1
no description
Function
This command configures the description for a DHCP relay server group.
Parameters
Mode
ZXAN(config-dhcp-relay-server)#
Usage Guidelines
None
Examples
The following example shows how to configure the description for the relay server group:
ZXAN(config-dhcp-relay-server)#description ok
Related Commands
29.5.33 show ip dhcp relay server group
29-35
no ip dhcp enable
Function
This command enables the built-in DHCP process.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
When the built-in DHCP process is enabled, the system processes the DHCP requests for
IP address on the user interface where the interface attributes have been configured.
When the DHCP process is enabled, the DHCP server and DHCP relay functions are
enabled.
To disable the DHCP process, use the no form of this command.
Examples
The following example shows how to enable the built-in DHCP process:
Related Commands
29.5.30 show ip dhcp configuration
Function
This command enables the interface to select a DHCP server according to the VClass ID
(option 60).
Parameters
None
29-36
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber)#, SuperVLAN interface mode
Usage Guidelines
When the VClass ID is configured, the relay selects a DHCP server according the option
60 field in the DHCP request packets.
By default, the interface uses the server configured by the is the ip dhcp relay server group
command.
Examples
The following example shows how to enable the interface to select a DHCP server
according to option 60 in relay/proxy mode:
ZXAN(config)#interface vlan 100
ZXAN(config-if-vlan100)#ip dhcp helper-address policy vclass-id
Related Commands
29.5.20 ip dhcp relay server policy group
Function
This command enables the DHCP logging function.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
When DHCP logging is enabled, the logs of DHCP users who go online are recorded.
To disable DHCP logging, use the no form of this command.
Examples
The following command shows how to enable DHCP logging:
29-37
Related Commands
None
no ip dhcp mode
Function
This command enables a DHCP working mode for an interface.
Parameters
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber)#, SuperVLAN interface
mode, and MNG interface configuration mode
Usage Guidelines
When the built-in DHCP relay process is enabled, the system processes IP address
requests from DHCP clients on the interface and dynamically allocates IP addresses to
DHCP clients through the external DHCP server configured for the interface.
When the built-in DHCP server process is enabled, the system processes IP address
requests from DHCP clients on the interface and dynamically allocates IP addresses to
DHCP clients. The DHCP server allocates IP addresses to either direct-connected clients
or the clients forwarded by a DHCP relay.
l For direct-connected clients, the DHCP server uses the policy bound to a DHCP
interface to search IP pools for IP address allocation.
l For the clients forwarded by a DHCP relay, the DHCP server selects the matched IP
addresses from the global address pool and allocates them.
When the built-in DHCP proxy process is enabled, the system processes IP address
requests from DHCP clients on the interface and dynamically allocates IP addresses to
DHCP clients through the external DHCP server configured for the interface.
29-38
When the DHCP clients send renewal request, if the long lease time configured by the
DHCP server for the DHCP proxy does not expired, the DHCP proxy responds to DHCP
client directly, without sending the renewal request to the external DHCP server.
The DHCP server and DHCP relay functions are exclusive of each other, that is, they
cannot run at the same time.
Examples
The following example shows how to enable the DHCP relay function for the interface
vlan100:
zxan(config)#interface vlan100
zxan(config-if-vlan100)#ip dhcp mode relay
Related Commands
29.5.30 show ip dhcp configuration
Function
This command configures the lease time for DHCP clients on in DHCP proxy mode.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
DHCP proxy, an extension of DHCP relay, can fast detect the offline of clients.
The proxy maintains a short lease time T1 between clients and itself, and a long lease time
T2 between the sever and itself.
Examples
The following example shows how to set the short lease time in proxy mode to 1000
seconds:
29-39
Related Commands
29.5.30 show ip dhcp configuration
Function
This command configures the IP address of a DHCP relay agent.
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanId)#, SuperVLAN interface mode
Usage Guidelines
The IP address of a DHCP relay agent is one of the IP addresses of the interface where
the DHCP client is located.
The external DHCP server allocates IP address to the client according to the IP address
of the relay agent, so that the client and agent are in the same network segment.
The response packets from the external DHCP server are forwarded by the relay agent,
thus a route is required between the sever and the subnet of the agent.
Examples
The following example shows how to set the IP address of the DHCP relay agent to
192.200.100.254:
29-40
Related Commands
29.5.18 ip dhcp relay server group
29.5.17 ip dhcp relay security client server-id
29.5.30 show ip dhcp configuration
Function
This command sets the source IP address of the request packets forwarded by DHCP
relay.
Parameters
Parameter Description Value
ip_addr1 IP address -
Mode
VLAN interface mode: ZXAN(config-if-vlanId)#, SuperVLAN interface mode
Usage Guidelines
By default, when the relay forwards the client request packets, the source IP of the packets
is the IP address of the corresponding layer 3 interface.
Examples
The following example show how to set the source IP address of the request packets to
10.1.1.1:
zxan (config)#int vlan100
ZXR10(config-if-vlan100)#ip dhcp relay forward ip 10.1.1.1
Related Commands
None
29-41
Function
This command enables DHCP relay to transparently forward ACK packets to clients without
checking the renewal request.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
Usually, DHCP clients initiate the renewal requests. If a DHCP client does not initiate
the renew request, but an ACK packet is received from the DHCP server, the relay
transparently forwards the packet to the client.
To restore the default setting, use the no form of this command.
Examples
The following example shows how to enable DHCP relay to transparently forward ACK
packets to clients:
zxan(config)#ip dhcp relay forward reply unrestricted
Related Commands
29.5.30 show ip dhcp configuration
Function
This command sets the maximum user number for DHCP Relay.
Parameters
29-42
Mode
ZXAN(config)#
Usage Guidelines
The maximum user number can be configured or deleted only when DHCP is disabled.
Examples
The following example shows how to set the maximum user number to 1120:
ZXAN(config)#ip dhcp relay max-user 1120
Related Commands
29.5.30 show ip dhcp configuration
Function
This command sets the priority of the packets forwarded by DHCP relay/proxy.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
If the priority is set to 7, when DHCP relay/proxy receives a DHCP request packet with
VLAN priority 4, DHCP relay/proxy modifies the priority to 7 and forwards the packet. When
DHCP relay/proxy receives response from DHCP server, DHCP relay/proxy modifies the
priority of response packet to 4 and forwards it to the client.
Examples
The following example shows how to set the priority of the packets forwarded by DHCP
relay/proxy to 7:
ZXAN(config)#ip dhcp relay pbit 7
29-43
Related Commands
29.5.30 show ip dhcp configuration
Function
This command configures the IP address of server ID that a DHCP relay responds to clients
.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
In security mode, this command is used for a DHCP relay to respond clients with the server
ID.
Examples
The following example shows how to set the IP address of the server ID to
192.200.100.254:
Related Commands
29.5.12 ip dhcp relay agent
29-44
Function
This command creates a DHCP relay server group and enters group configuration mode.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
This command is used to select relay server for DHCP the relay/proxy function.
Examples
The following example shows how to create DHCP relay server group 1:
zxan(config)#ip dhcp relay server group 1
Related Commands
29.5.33 show ip dhcp relay server group
Function
This command binds a DHCP relay server group to an interface.
29-45
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanId)#
Usage Guidelines
When a server group is bound to an interface, DHCP relay/proxy forwards packets to the
server in the group.
Examples
The following example shows how to bind a server group to a layer 3 interface:
Related Commands
29.5.33 show ip dhcp relay server group
Function
This command creates a DHCP relay server policy group and enters policy group
configuration mode.
Parameters
Mode
ZXAN(config)#
29-46
Usage Guidelines
This command is used to configure VClass ID and server IP when a DHCP relay/proxy
uses option 60 to select a server.
Examples
The following example shows how to create DHCP relay server policy group 1:
Related Commands
29.5.34 show ip dhcp relay server policy
Function
This command enables global synchronization for DHCP relay.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
To disable the function, use the no form of this command.
Examples
The following example shows how to enable global synchronization for DHCP relay:
Related Commands
None
29-47
Function
This commands sets the maximum number of clients for the DHCP server.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
The maximum number of clients can be configured or deleted only when DHCP is disabled.
Examples
The following example shows how to set the maximum number of clients for the DHCP
server to 1120:
ZXAN(config)#ip dhcp server max-user 1120
Related Commands
29.5.30 show ip dhcp configuration
Function
This command configures the destination UDP port ID for DHCP server reply packets.
29-48
Parameters
Mode
VLAN interface mode: ZXAN(config-if-vlanId)#
Usage Guidelines
When a DHCP client send a request packet to a DHCP server directly, the destination UDP
port of the corresponding reply packet is 68, which is specified by RFC.
When a DHCP client sends a request packet to a DHCP server via a DHCP relay, the
destination UDP port of the corresponding reply packets can be set to 67 or 68. If not
specified, the destination UDP port is the source UDP port of the request packet.
Examples
The following example shows how to set the destination UDP port to 68:
zxan(config-if-vlan1)#ip dhcp server relay destination udp port 68
Related Commands
None
Function
This command kicks off the specified online users in DHCP relay mode.
Parameters
ip_addr1 IP address -
ip_addr2 IP mask -
29-49
Mode
Privileged mode: ZXAN#
Usage Guidelines
In DHCP relay mode, you can kick off specified users to control the network.
It is recommended to use this command carefully.
Examples
The following example shows how to kick off the user whose MAC address is
00c0.0000.0001:
zxan#kick-off ip dhcp relay user mac 00c0.0000.0001
Related Commands
29.5.36 show ip dhcp relay user
Function
This command kicks off the specified online users in DHCP server mode.
Parameters
29-50
ip_addr1 IP address -
Mode
ZXAN#
Usage Guidelines
In DHCP server mode, you can kick off specified users to control the network.
It is recommended to use this command carefully.
Examples
The following example shows how to kick off the user whose MAC address is
00c0.0000.0001:
Related Commands
29.5.37 show ip dhcp server user
29.5.26 max-retry
Syntax
max-retry number1
no max-retry
Function
The command sets the maximum number of retry times when a DHCP relay sends
requests to a DHCP server.
Parameters
29-51
Mode
ZXAN(config-dhcp-relay-server)#
Usage Guidelines
In DHCP relay server active/standby mode, if the active server is available, the relay
receives the request packet and forward it to the active server.
If the active server does not respond, and the maximum number of retry times reaches,
the active server is set to dead. The subsequent request packets are forwarded to the
standby server.
Examples
The following example shows how to set the maximum number of retry times to 20:
zxan(config-dhcp-relay-server)#max-retry 20
Related Commands
29.5.33 show ip dhcp relay server group
29.5.27 server
Syntax
server number1 ip_addr1 {name1 } [master ]
no server number1
Function
This command configures a DHCP relay server.
Parameters
Mode
ZXAN(config-dhcp-relay-server)#
29-52
Usage Guidelines
A DHCP relay forwards the request packets from a DHCP client to the configured DHCP
server.
Examples
The following example shows how to configure a DHCP relay server:
zxan(config-dhcp-relay-server)#server 1 10.1.2.2 security master
Related Commands
29.5.18 ip dhcp relay server group
29.5.33 show ip dhcp relay server group
29.5.28 server-group
Syntax
server-group number1
no server-group
Function
This command binds a DHCP relay server group for a policy group.
Parameters
Mode
ZXAN(dhcp-policy-group-config)#
Usage Guidelines
None
Examples
The following example shows how to bind DHCP relay server group 1:
zxan(config-dhcp-relay-policy)#server-group 1
Related Commands
29.5.34 show ip dhcp relay server policy
29-53
Function
This command displays bridge VLAN information.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display bridge VLAN information:
ZXAN(config)#show bridge-dhcp-relay
bridge-dhcp-relay vlan 10 source-interface-vlan 100
Related Commands
29.5.2 bridge-dhcp-relay
Function
This command displays DHCP process configuration parameters.
Parameters
None
Mode
All modes except user mode
29-54
Usage Guidelines
None
Examples
The following example shows how to display DHCP configuration parameters:
zxan#show ip dhcp configure
DHCP process state information
process state :enable(running)
logging flag : off
DHCP server configure:
server support max user: 5120
DHCP relay configure:
not insert relay information in BOOTREQUEST.
relay retry times to server: 10
relay support max user: 5120
Related Commands
show run
Function
This command displays the short lease time for clients in DHCP proxy mode.
Parameters
None
29-55
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the short lease time for clients in DHCP proxy
mode:
zxan#show ip dhcp proxy client
DHCP client configure information in proxy mode:
leasetime :60 seconds
Related Commands
29.5.11 ip dhcp proxy client leasetime
Function
This command displays the server ID address that a DHCP relay replies to DHCP clients.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the server ID address that a DHCP relay
replies to DHCP clients.
zxan(config)#show ip dhcp relay security client
DHCP client configure information in security forward mode:
DHCP server ID :100.1.1.1
29-56
Related Commands
29.5.17 ip dhcp relay security client server-id
Function
This command displays the configuration of a DHCP relay server group.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of a DHCP relay server
group:
Related Commands
29.5.18 ip dhcp relay server group
Function
This command displays the configuration of a DHCP relay server policy group.
29-57
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of DHCP relay server policy
group 1:
Related Commands
ip dhcp relay server policy group
Function
This command displays the sever state of a DHCP relay server group.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
29-58
Examples
The following command shows how to display the sever state of DHCP relay server group
1 on line card 1:
zxan#show ip dhcp relay server state group 1
DHCP relay server state of group 1:
-----------------------------------------------------------
index: 1 addr: 10.1.2.1 state: live
index: 2 addr: 0.0.0.0 state: -
index: 3 addr: 0.0.0.0 state: -
index: 4 addr: 0.0.0.0 state: -
index: 5 addr: 0.0.0.0 state: -
index: 6 addr: 0.0.0.0 state: -
index: 7 addr: 0.0.0.0 state: -
index: 8 addr: 0.0.0.0 state: -
-----------------------------------------------------------
Related Commands
29.5.18 ip dhcp relay server group
Function
This command displays the number of online users on a DHCP relay.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of online users on a DHCP relay:
zxan(config)#show ip dhcp relay user vlan100
29-59
Related Commands
None
Function
This command displays the number of online users on a DHCP server.
Parameters
Mode
Usage Guidelines
None
Examples
The following example shows how to display the number of online users on a 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.5.38 vclass-id
Syntax
vclass-id {cm |stb |mta |all |user-defined1 }
no vclass-id
29-60
Function
This command configures the option 60 field of a DHCP relay server.
Parameters
cm Cable modem -
Mode
ZXAN(config-dhcp-relay-policy)#
Usage Guidelines
When the VClass ID is configured, a DHCP relay selects the DHCP server according to
the option 60 field in the request packet.
Examples
The following example shows how to set the option 60 field of a DHCP relay server to
1234567890:
zxan(config-dhcp-relay-policy)#vclass-id 1234567890
Related Commands
29.5.34 show ip dhcp relay server policy
no algorithm
Function
This command configures the algorithm for a DHCPv6 relay server to forward DHCPv6
packets.
29-61
Parameters
Mode
ZXAN(config-relay-svr-grp)#
Usage Guidelines
The system supports the following algorithms:
l Standard
Request packets are sent to all severs.
l Active/standby
When the active server is available, the relay receives a request packet and forwards
it to the active server.
If the active server does not respond, and the maximum number of retry times reaches,
the active server is set to dead and the subsequent request packets are forwarded to
an available standby server.
When the dead time expires, the active server is available again.
l Round-robin
Request packets are sent to the active and standby servers alternately.
To restore the default setting, use the no form of this command.
Examples
The following example shows how to set the algorithm for the DHCPv6 relay server to
active/standby mode:
ZXAN(config-server-group)#algorithm first
Related Commands
29.6.19 show ipv6 dhcp relay server
29.6.2 deadtime
Syntax
deadtime number1
no deadtime
29-62
Function
This command configures the unavailable duration of a DHCPv6 relay server when it fails
to respond.
Parameters
Mode
ZXAN(config-server-group)#
Usage Guidelines
In active/standby mode, if the active server is available, the relay receives a request packet
and forward it to the active server.
If the active server does not respond, and the maximum number of retry times reaches,
the active server is set to dead and the subsequent request packets are forwarded to an
available standby server.
When the dead time expires, the active server is available again.
Examples
The following example shows how to configure the dead time for the DHCPv6 relay server:
zxan(config-dhcp-relay-server)#deadtime 80
Related Commands
29.6.19 show ipv6 dhcp relay server
29.6.3 default
Syntax
default {server-group } number1
no default {server-group }
Function
This command configures the default DHCPv6 relay server group for a DHCPv6 relay
policy.
29-63
Parameters
Mode
ZXAN(config-relay-policy)#
Usage Guidelines
If a DHCPv6 relay policy does not specify the priority condition, or the relay fails to find a
matched DHCPv6 relay server group, the relay uses the default server group.
Examples
The following example shows how to configure the default DHCPv6 relay server group for
a DHCPv6 relay policy:
zxan(config)#ipv6 dhcp relay policy zte
zxan(config-relay-policy)#default server-group 1
Related Commands
29.6.18 show ipv6 dhcp relay policy
29.6.4 description
Syntax
description name1
no description
Function
This command configures the description for a DHCPv6 relay server group.
Parameters
Mode
ZXAN(config-server-group)#
29-64
Usage Guidelines
None
Examples
The following example shows how to configure the description for a DHCPv6 relay server
group:
ZXAN(config-server-group)#description ok
Related Commands
29.6.19 show ipv6 dhcp relay server
Function
This command enables or disables the DHCPv6 process.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
When the DHCPv6 process is enabled, the system processes the DHCPv6 request for
IPv6 address/prefix on the user interface.
Examples
The following example shows how to enable the DHCPv6 function:
zxan(config)#ipv6 dhcp enable
Related Commands
29.6.16 show ipv6 dhcp configure
29-65
Function
This command sets a DHCPv6 working mode for an interface. At present, only the relay
function is available.
Parameters
Parameter Description Value
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber)#
Usage Guidelines
When the DHCPv6 relay process is enabled, the system processes the DHCPv6 request
for IPv6 address/prefix on the user interface and allocates IPv6 address/prefix through the
external DHCPv6 sever.
Examples
The following example shows how to enable the DHCPv6 relay function on an interface:
zxan(config)#interface vlan100
zxan(config-if-vlan100)#ipv6 dhcp mode relay
ZXR10(config-if)#
Related Commands
29.6.16 show ipv6 dhcp configure
29.6.17 show ipv6 dhcp interface
29-66
Function
This command configures IP address of a DHCPv6 relay agent.
Parameters
Mode
ZXAN(config-if-vlanNumber)#
Usage Guidelines
The IP address of a DHCPv6 relay agent is one of the IP addresses of the link where the
DHCPv6 client is located.
Examples
The following example shows how to set the IP address of a DHCPv6 relay agent to 101::1:
zxan(config)#interface vlan100
zxan(config-if-vlan100)#ipv6 enable
zxan(config-if-vlan100)#ipv6 address 101::1/64
zxan(config-if-vlan100)#ipv6 dhcp relay agent 101::1
Related Commands
29.6.5 ipv6 dhcp
Function
This command configures forwarding parameters of DHCPv6 relay.
29-67
Parameters
interface Interface -
Mode
ZXAN(config-if-vlanNumber)#
Usage Guidelines
If there is no dhcpv6 relay policy configured on a layer 3 interface, you can use this
command to configure the destination forwarding address.
Examples
The following example shows how to configure the forwarding IP address of DHCPv6 relay:
ZXAN(config)#interface vlan100
ZXAN(config-if-vlan100)#ipv6 dhcp relay destination 3000::1
Related Commands
None
Function
This command configures forwarding mode of IPv6 DHCP relay.
Parameters
29-68
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example set the forwarding mode of DHCPv6 relay to fast-forward mode:
ZXAN(config)#ipv6 dhcp relay forward mode fast-forward
Related Commands
29.6.16 show ipv6 dhcp configure
Function
This command creates a DHCPv6 relay policy and enters policy configuration mode.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
The DHCPv6 POLICY function allows users to fully configure and control the DHCP
user accessible policies to achieve powerful controllability, flexibility, and expandability of
the DHCP controllable access service. Therefore, the normal operation, flexibility, and
controllability of the policies depend on the correct user configurations.
Examples
The following example shows how to create a DHCPv6 relay policy and enter policy
configuration mode:
zxan(config)#ipv6 dhcp relay policy zte
29-69
Related Commands
29.6.18 show ipv6 dhcp relay policy
29.6.16 show ipv6 dhcp configure
Function
This command applies a DHCPv6 relay policy to an interface.
Parameters
Mode
ZXAN(config-if-vlanId)#
Usage Guidelines
You need to apply a DHCPv6 relay policy to an interface to implement the DHCPv6 relay
function.
Examples
The following example shows how to apply a DHCPv6 relay policy to a VLAN interface:
ZXAN(config)#int vlan100
ZXAN(config-if-vlan100)#ipv6 dhcp relay policy zte
Related Commands
29.6.17 show ipv6 dhcp interface
show run
29-70
Function
This command creates a DHCPv6 relay server group and enters group configuration mode.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
The system supports up to eight server groups and five DHCPv6 servers in each group.
Examples
The following example shows how to create a DHCPv6 relay server group and enter group
configuration mode:
zxan(config)#ipv6 dhcp relay server group 1
Related Commands
29.6.19 show ipv6 dhcp relay server
29.6.13 max-retry
Syntax
max-retry number1
no max-retry
Function
The command sets the maximum number of retry times when a DHCPv6 relay sends
requests to a DHCPv6 server.
29-71
Parameters
Mode
ZXAN(config-server-group)#
Usage Guidelines
In DHCPv6 relay server active/standby mode, if the active server is available, the relay
receives the request packet and forward it to the active server.
If the active server does not respond, and the maximum number of retry times reaches,
the active server is set to dead. The subsequent request packets are forwarded to the
standby server.
To restore the default setting, use the no form of this command.
Examples
The following example shows how to set the maximum number of retry times to 20:
ZXAN(config-server-group)#max-retry 20
Related Commands
29.6.19 show ipv6 dhcp relay server
29.6.14 prior
Syntax
prior condition {vlan }
no prior condition
Function
This command configures priority condition of a DHCPv6 relay policy.
Parameters
vlan VLAN -
Mode
ZXAN(config-relay-policy)#
29-72
Usage Guidelines
When the priority condition of a DHCPv6 relay policy is configured, the relay selects the
matched server group according to the condition. The priority condition is VLAN.
Examples
The following example shows how to configure the priority condition of a DHCPv6 relay
policy:
Related Commands
29.6.18 show ipv6 dhcp relay policy
29.6.15 server
Syntax
server number1 ipv6_addr1 [interface interface1 ] [master ]
no server number1
Function
This command configures a DHCPv6 relay server.
Parameters
Mode
ZXAN(config-server-group)#
Usage Guidelines
A DHCPv6 relay forwards the request packets from a DHCPv6 client to the configured
DHCPv6 server.
29-73
Examples
The following example shows how to configure a DHCPv6 relay server:
ZXAN(config-server-group)#server 1 101::1 interface vlan 10 master
Related Commands
29.6.19 show ipv6 dhcp relay server
Function
This command displays the DHCPv6 configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
At present, this command only displays global DHCPv6 process state and DHCPv6 relay
configuration.
Examples
The following example shows how to display the DHCPv6 configuration:
Related Commands
29.6.5 ipv6 dhcp
29-74
Function
This command displays the DHCPv6 configuration of an interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DHCPv6 configuration of an interface:
ZXAN(config)#show ipv6 dhcp interface vlan100
IPv6 DHCP interface state information
work mode : relay
DHCP relay configure:
relay agent address: not configured
relay policy name: not configured
forward destination: 0 items
no forward destination here
Related Commands
None
Function
This command displays the configuration of a DHCPv6 relay policy.
29-75
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of a DHCPv6 relay policy:
ZXAN(config-relay-policy)#show ipv6 dhcp relay policy zte
IPv6 DHCP relay policy name zte
Prior condition: not configured
Default server group number: not configured
No vlan server group items configured
Related Commands
None
Function
This command displays the configuration of a DHCPv6 server group.
Parameters
Mode
All modes except user mode
29-76
Usage Guidelines
None
Examples
The following example shows how to display the configuration of a DHCPv6 server group:
ZXAN(config-server-group)#show ipv6 dhcp relay server group 1
IPv6 DHCP relay server group 1
Description: dddd
Algorithm: first(master-slave)
Dead time: 34 seconds
Max retry times: 6 times
Forward server items:
Number Address Interface Master
1 2001::1 not configured master
2 2002::2 not configured ----
3 2003::3 not configured ----
4 2003::4 not configured ----
5 2004::1 vlan100 ----
Related Commands
None
Function
This command displays information about online DHCPv6 relay users.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about online DHCPv6 relay users:
29-77
Related Commands
None
29.6.21 vlan
Syntax
vlan range number1 number2 {server-group } number3
no vlan range number1 number2 {server-group } number3
Function
This command configures VLAN items for a DHCPv6 relay policy.
Parameters
Mode
ZXAN(config-relay-policy)
Usage Guidelines
When the priority condition of a DHCPv6 relay policy is configured, the relay selects the
matched server group according to the condition. The priority condition is VLAN.
When a DHCP relay receives a request packet from a DHCPv6 client, it looks for the VLAN
ID of the packet in the VLAN items and find corresponding server group. If there is no
matched VLAN item, the relay forwards the packet to the default server group.
Examples
The following example shows how to configure the VLAN items for a DHCPv6 relay policy:
29-78
Related Commands
29.6.18 show ipv6 dhcp relay policy
Function
This command saves the DHCP snooping entries to the flash, so that the dynamic user
information can be restored when the NE restarts.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
When the system is to be reset, you can use this command to save the dynamic user
information acquired by DHCP snooping.
After the system restarts, the user information can be read only after PON cards and ONUs
are properly configured. The DHCP file in flash is be deleted after the system restarts.
Examples
The following example shows how to save the DHCP snooping entries to the flash:
ZXAN(config)#ip dhcp database write
Related Commands
29.7.2 ip dhcp snooping
29-79
Function
This command configures the DHCP snooping function on a VLAN.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
This command takes effect only when the global DHCP snooping function is enabled.
To disable the DHCP snooping function on a VLAN, use the no form of this command.
Examples
The following example shows how to enable DHCP snooping function on VLAN 100:
ZXAN(config)#ip dhcp snooping vlan l00
Related Commands
29.7.7 ip dhcp snooping enable
no ip dhcp snooping
Function
This command configures the DHCP snooping function on a VLAN.
Parameters
None
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
29-80
Usage Guidelines
This command takes effect only when the global DHCP snooping function is enabled.
To disable the DHCP snooping function on a VLAN, use the no form of this command.
Examples
The following example shows how to enable DHCP snooping function on VLAN 100:
ZXAN(config)#vlan 100
ZXAN(config-vlan100)#ip dhcp snooping
Related Commands
None
Function
This command enables or disables the DHCP snooping function on an interface.
Parameters
Parameter Description Value
Mode
P2P interface mode: ZXAN(config-if)#
pon-onu interface mode: ZXAN(config-if)#
Usage Guidelines
The ip dhcp snooping enable command takes effect only when the global DHCP snooping
function is enabled.
Examples
The following example shows how to enable the DHCP snooping function on an interface.
ZXAN(config)interface epon-onu_1/4/1:1
ZXAN(config-if)#ip dhcp snooping enable
Related Commands
29.7.7 ip dhcp snooping enable
29-81
Function
This command deletes a DHCP snooping entry.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to delete a DHCP snooping entry:
Related Commands
29.7.13 show ip dhcp snooping dynamic database
Function
This command deletes all DHCP snooping entries on a slot.
Parameters
29-82
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to delete all DHCP snooping entries on slot 3:
Related Commands
29.7.13 show ip dhcp snooping dynamic database
Function
This command enables or disables the global DHCP snooping function.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example show how to enable the global DHCP snooping function:
Related Commands
29.7.20 show ip dhcp snooping global
29-83
Function
This command sets the maximum number of DHCP sessions for DHCP snooping on an
interface.
Parameters
Mode
P2P interface mode, GPON ONU interface mode, and EPON ONU interface mode
Usage Guidelines
To cancel the limit, use the no form of this command.
Examples
The following example shows how to set the maximum number of DHCP sessions for
DHCP snooping to 100:
ZXAN(config)interface epon-onu_1/4/1:1
ZXAN(config-if)#ip dhcp snooping quota 100
Related Commands
None
Function
This command configures the number of DHCP Snooping users on a DSL interface.
29-84
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
This command is used to limit the number of DHCP Snooping users on an interface.
Examples
The following example shows how to set the maximum number of DHCP sessions on the
DSL interface adsl_1/4/1 to 100:
ZXAN(config)interface adsl_1/4/1
ZXAN(config-if)#ip dhcp snooping quota 100
Related Commands
29.7.21 show ip dhcp snooping port quota dsl
Function
This command clears the statistics for the DHCP packets on a specified DSL interface.
Parameters
Mode
Configuration mode: ZXAN (config)#
29-85
Usage Guidelines
This command is used to clear the existing statistics and build up a new count when it is
necessary to recount up the DHCP packets.
Examples
The following example shows how to clear the statistics for the DHCP packets on the
interface adsl_1/5/1:
Related Commands
29.7.17 show ip dhcp snooping dynamic port statistics dsl
Function
This command clears the statistics of DHCP protocol packets on a P2P interface.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
You can use this command before restarting the statistics on DHCP protocol packets.
Examples
The following example shows how to clear the statistics of DHCP protocol packets on a
P2P interface:
Related Commands
29.7.18 show ip dhcp snooping dynamic port statistics p2p
29-86
Function
This command clears the statistics of DHCP protocol packets on an ONU interface.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
You can use this command before restarting the statistics on DHCP protocol packets.
Examples
The following example shows how to clear the statistics of DHCP protocol packets on an
ONU interface:
ZXAN(config)#ip dhcp snooping statistics clear pon gpon-onu_1/3/1:1
Related Commands
29.7.19 show ip dhcp snooping dynamic port statistics pon
Function
This command displays all dynamic DHCP snooping entries.
Parameters
None
29-87
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all dynamic DHCP snooping entries:
ZXAN(config)#show ip dhcp snooping dynamic database
Related Commands
29.7.2 ip dhcp snooping
29.7.7 ip dhcp snooping enable
Function
This command displays the number of DHCP Snooping sessions on a DSL interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of DHCP Snooping sessions on
a DSL interface:
ZXAN(config)#sho ip dhcp snooping dynamic port dsl adsl_1/2/1
Current online users are 0.
Index MAC addr IP addr VLAN State Interface Expiration
29-88
Related Commands
29.7.2 ip dhcp snooping
29.7.7 ip dhcp snooping enable
Function
This command displays the DHCP snooping entries on a P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DHCP snooping entries on a P2P
interface.
Related Commands
29.7.2 ip dhcp snooping
29-89
Function
This command displays the DHCP snooping entries on an ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DHCP snooping entries on an ONU
interface:
ZXAN(config)#sho ip dhcp snooping dynamic port pon gpon-onu_1/2/1:1 sport 1
Current online users are 0.
Index MAC addr IP addr VLAN State Interface Expiration
Related Commands
29.7.2 ip dhcp snooping
29.7.7 ip dhcp snooping enable
Function
This command displays the statistics for the DHCP packets on a specified DSL interface.
Parameters
29-90
Mode
All modes except user mode
Usage Guidelines
When the numbers of all DHCP packets are 0, echo does not take place.
Examples
The following example shows how to display the statistics for the DHCPv6 packets on the
interface adsl_1/5/3:
Related Commands
29.7.10 ip dhcp snooping statistics clear dsl
Function
This command displays the statistics of DHCP protocol packets on a P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
When the statistics is 0, there is no information displayed.
Examples
The following example shows how to display the statistics of DHCP protocol packets on a
P2P interface:
29-91
Related Commands
29.7.11 ip dhcp snooping statistics clear p2p
Function
This command displays the statistics of DHCP protocol packets on an ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
When the statistics is 0, there is no information displayed.
Examples
The following example shows how to display the statistics of DHCP protocol packets on
an ONU interface.
ZXAN(config)#show ip dhcp snooping dynamic port statistics pon gpon-onu_1/3/1:1
DHCP SNOOPING PORT STATISTICS:
Related Commands
29.7.12 ip dhcp snooping statistics clear pon
Function
This command displays the status of the global DHCP snooping function.
29-92
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of the global DHCP snooping
function:
Related Commands
29.7.7 ip dhcp snooping enable
Function
This command displays the maximum number of DHCP Snooping sessions on the a
specified interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
This command is used to display the number of DHCP Snooping users on every interface.
29-93
Examples
The following example shows how to display the maximum number of DHCP Snooping
sessions on the interface adsl_1/3/1:
Related Commands
None
Function
This command displays the maximum number of DHCP sessions for DHCP snooping on
a P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the maximum number of DHCP sessions for
DHCP snooping on a P2P interface:
Related Commands
29.7.8 ip dhcp snooping quota
29-94
Function
This command displays the maximum number of DHCP sessions for DHCP snooping on
an ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the maximum number of DHCP sessions for
DHCP snooping on an ONU interface:
Related Commands
29.7.8 ip dhcp snooping quota
Function
This command displays information about the VLANs with DHCP snooping enabled.
29-95
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the VLANs with DHCP
snooping enabled:
Related Commands
29.7.2 ip dhcp snooping
Function
This command saves the DHCPv6 snooping entries to the flash, so that the dynamic user
information can be restored when the NE restarts.
29-96
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
When the system is to be reset, you can use this command to save the dynamic user
information acquired by DHCPv6 snooping.
After the system restarts, the user information can be read only after PON cards and ONUs
are properly configured. The DHCPv6 file in flash is be deleted after the system restarts.
Examples
The following example shows how to save the DHCPv6 snooping entries to the flash:
ZXR10(config)#ipv6 dhcp database write
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
7.8 show file
Function
This command enables or disables the global DHCPv6 snooping function.
Parameters
Mode
ZXAN(config)#
29-97
Usage Guidelines
When both the global DHCPv6 snooping function and VLAN DHCPv6 snooping function
are enabled, DHCPv6 snooping on the NE is available.
Examples
The following example show how to enable the global DHCPv6 snooping function:
Related Commands
29.8.10 ipv6 dhcp snooping vlan
Function
This command configures the DHCPv6 snooping function on a VLAN.
Parameters
None
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
This command takes effect only when the global DHCPv6 snooping function is enabled.
To disable the DHCPv6 snooping function on a VLAN, use the no form of this command.
Examples
The following example shows how to enable DHCPv6 snooping function on VLAN 100:
ZXAN(config)#vlan 100
ZXAN(config-vlan100)#ipv6 dhcp snooping
29-98
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.22 show ipv6 dhcp snooping vlan
Function
This command deletes a DHCPv6 Snooping item for a PON line card.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete a DHCPv6 Snooping item for the interface
gpon-onu_1/3/1:1:
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29-99
Function
This command deletes all DHCPv6 snooping entries on a slot.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to delete all DHCPv6 snooping entries on slot 3:
ZXAN(config)#show ipv6 dhcp snooping database
Current online users are 1.
Index MAC addr IP/Prefix DUID IAID VLAN State Interface Expiration
Related Commands
29.8.2 ipv6 dhcp snooping
29-100
Function
This command sets the maximum number of DHCPv6 sessions for DHCPv6 snooping on
an interface.
Parameters
Mode
P2P interface mode, GPON ONU interface mode, and EPON ONU interface mode
Usage Guidelines
To cancel the limit, use the no form of this command.
Examples
(1) The following example shows how to set the maximum number of DHCPv6 sessions
for DHCPv6 snooping to 10:
ZXR10(config)#interface gpon-onu_1/7/1:1
ZXR10(config-if)#ipv6 dhcp snooping quota 10 vport 1
(2) The following example shows how to delete the DHCPv6 session limit for DHCPv6
snooping:
ZXR10(config)#interface gpon-onu_1/7/1:1
ZXR10(config-if)#no ipv6 dhcp snooping quota vport 1
Related Commands
29.8.19 show ipv6 dhcp snooping quota dsl
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29-101
Function
This command clears the statistics on the DHCPv6 packets on a specified DSL interface.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is used to clear the existing statistics and build up a new count when it is
necessary to recount up the DHCPv6 packets.
Examples
The following example shows how to clear the statistics for the DHCPv6 packets on the
interface adsl_1/5/1:
SOLICIT :1
ADVERTISE :2
REQUEST :1
CONFIRM :0
RENEW :0
REBIND :0
REPLY :1
RELEASE :0
DECLINE :0
RECONFIGURE :0
INFORMATION :0
RELAY_FORW :0
RELAY_REPL :0
ZXAN(config)#ipv6 dhcp snooping statistics clear dsl adsl_1/5/1
Related Commands
29.8.2 ipv6 dhcp snooping
29-102
Function
This command clears the statistics of DHCPv6 protocol packets on a P2P interface.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
You can use this command before restarting the statistics on DHCPv6 protocol packets.
Examples
None
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29.8.17 show ipv6 dhcp snooping port statistics p2p
Function
This command clears the statistics of DHCPv6 protocol packets on a PON ONU interface.
Parameters
29-103
Mode
ZXAN(config)#
Usage Guidelines
You can use this command before restarting the statistics on DHCPv6 protocol packets.
Examples
The following example shows how to clear the statistics of DHCPv6 protocol packets on a
PON ONU interface:
ZXAN(config)#show ipv6 dhcp snooping port statistics pon gpon-onu_1/3/1:1
DHCPV6 SNOOPING PORT STATISTICS:
SOLICIT :2
ADVERTISE :4
REQUEST :2
CONFIRM :0
RENEW :0
REBIND :0
REPLY :1
RELEASE :0
DECLINE :0
RECONFIGURE :0
INFORMATION :0
RELAY_FORW :0
RELAY_REPL :0
ZXAN(config)#ipv6 dhcp snooping statistics clear pon gpon-onu_1/3/1:1
ZXAN(config)#show ipv6 dhcp snooping port statistics pon gpon-onu_1/3/1:1
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29.8.18 show ipv6 dhcp snooping port statistics pon
Function
This command configures the DHCPv6 snooping function on a VLAN.
29-104
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command takes effect only when the global DHCPv6 snooping function is enabled.
To disable the DHCPv6 snooping function on a VLAN, use the no form of this command.
Examples
The following example shows how to enable the DHCPv6 snooping function on VLAN 100:
ZXAN(config)#ipv6 dhcp snooping vlan l00
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.22 show ipv6 dhcp snooping vlan
Function
This command displays the status of the global DHCPv6 snooping function.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of the global DHCPv6 snooping
function:
29-105
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29.8.12 show ipv6 dhcp snooping database
Function
This command displays all dynamic DHCPv6 snooping entries.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all dynamic DHCPv6 snooping entries:
ZXAN(config)#show ipv6 dhcp snooping database
Current online users are 2.
Index MAC addr IP/Prefix DUID IAID VLAN State Interface Expiration
29-106
C85
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
Function
This command displays the number of DHCPv6 Snooping sessions on a DSL interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of DHCPv6 Snooping sessions
on the interface vdsl_1/3/1:
ZXAN(config)#show ipv6 dhcp snooping dynamic port dsl vdsl_1/3/1 pvc 1
Current online users are 1.
Index MAC addr IP/Prefix DUID IAID VLAN State Expiration
Related Commands
29.8.2 ipv6 dhcp snooping
29-107
Function
This command displays the DHCPv6 snooping entries on a P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DHCPv6 snooping entries on a P2P
interface:
ZXAN(config)#show ipv6 dhcp snooping dynamic port p2p gei_1/5/1
Current online users are 1.
Index MAC addr IP/Prefix DUID IAID VLAN State Expiration
Related Commands
29.8.2 ipv6 dhcp snooping
29-108
Function
This command displays the DHCPv6 snooping entries on an ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DHCPv6 snooping entries on an ONU
interface:
ZXAN(config)#show ipv6 dhcp snooping dynamic port pon gpon-onu_1/3/1:1 sport 1
Current online users are 2.
Index MAC addr IP/Prefix DUID IAID VLAN State Expiration
Related Commands
29.8.2 ipv6 dhcp snooping
29-109
Function
This command displays the statistics for the DHCPv6 packets on a specified DSL interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
When the numbers of all DHCPv6 packets are 0, echo does not take place.
Examples
The following example shows how to display the statistics for the DHCPv6 packets on the
interface adsl_1/5/3:
ZXAN(config)#show ipv6 dhcp snooping port statistics dsl adsl_1/5/3
DHCPV6 SNOOPING PORT STATISTICS:
SOLICIT :1
ADVERTISE :2
REQUEST :1
CONFIRM :0
RENEW :0
REBIND :0
REPLY :1
RELEASE :0
DECLINE :0
RECONFIGURE :0
INFORMATION :0
RELAY_FORW :0
29-110
RELAY_REPL :0
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29.8.7 ipv6 dhcp snooping statistics clear dsl
Function
This command displays the statistics of DHCPv6 protocol packets on a P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
When the statistics is 0, there is no information displayed.
Examples
The following example shows how to display the statistics of DHCPv6 protocol packets on
a P2P interface:
ZXAN(config)#show ipv6 dhcp snooping port statistics dsl adsl_1/5/3
DHCPV6 SNOOPING PORT STATISTICS:
SOLICIT :1
ADVERTISE :2
REQUEST :1
CONFIRM :0
RENEW :0
REBIND :0
REPLY :1
RELEASE :0
DECLINE :0
29-111
RECONFIGURE :0
INFORMATION :0
RELAY_FORW :0
RELAY_REPL :0
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29.8.8 ipv6 dhcp snooping statistics clear p2p
Function
This command displays the statistics of DHCPv6 protocol packets on an ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
When the statistics is 0, there is no information displayed.
Examples
The following example shows how to display the statistics of DHCPv6 protocol packets on
an ONU interface:
ZXAN(config)#show ipv6 dhcp snooping port statistics pon gpon-onu_1/3/1:1
DHCPV6 SNOOPING PORT STATISTICS:
SOLICIT 2
ADVERTISE 4
REQUEST :2
CONFIRM :0
RENEW :0
29-112
REBIND :0
REPLY :2
RELEASE :0
DECLINE :0
RECONFIGURE :0
INFORMATION :0
RELAY_FORW :0
RELAY_REPL :0
Related Commands
29.8.2 ipv6 dhcp snooping
Function
This command displays the limit on the DHCPv6 packets on a specified DSL interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the limit on the DHCPv6 packets on the
interface adsl_1/5/1:
ZXAN(config-if)#show ipv6 dhcp snooping quota dsl adsl_1/5/1 pvc 1
Port PVC Quota
adsl_1/5/1 1 10
29-113
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
Function
This command displays the limit on the DHCPv6 packets on a specified P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the limit on the DHCPv6 packets on the
interface gei_1/6/2:
ZXAN(config-if)#show ipv6 dhcp snooping quota p2p gei_1/6/2
Port Quota
gei_1/6/2 6
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29-114
Function
This command displays the limit on the DHCPv6 packets on a specified ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the limit on the DHCPv6 packets on the
interface gpon-onu_1/4/1:1:
ZXAN(config-if)#show ipv6 dhcp snooping quota pon gpon-onu_1/4/1:1
Port Vport Quota
gpon-onu_1/4/1:1 1 20
Related Commands
29.8.2 ipv6 dhcp snooping
29.8.10 ipv6 dhcp snooping vlan
29.8.9 ipv6 dhcp snooping statistics clear pon
Function
This command displays information about the VLANs with DHCPv6 snooping enabled.
29-115
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the VLANs with DHCPv6
snooping enabled:
ZXAN(config)#show ipv6 dhcp snooping vlan
DHCPV6 snooping state on vlans
Vlan State
-------------------------------
10 enable
20 enable
300 enable
400 enable
Related Commands
29.8.10 ipv6 dhcp snooping vlan
29.8.2 ipv6 dhcp snooping
29.8.11 show ipv6 dhcp snooping
Function
This command enables or disables the ND Snooping VLAN function.
The function is disabled by default.
29-116
Parameters
Mode
ZXAN(config)#
Usage Guidelines
This command does not control the extraction of ND packets. To enable the extraction of
ND packets, use the ndp-lio command.
After the global extraction of ND packets is enabled, the port location function can be used
only when the ndp-lio function in port mode is enabled.
Examples
The following example shows how to enable the global ND snooping function:
ZXAN(config)#ipv6 nd snooping vlan 10
ZXAN(config)#show ipv6 nd snooping vlan
Related Commands
29.9.17 show ipv6 nd snooping vlan
29.9.10 show ipv6 nd snooping database
Function
This command deletes an ND Snooping item for a DSL line card.
Parameters
29-117
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete an ND Snooping item for the interface
adsl_1/5/1:
ZXAN(config)#ipv6 nd snooping clear dsl 0001.0002.0003 adsl_1/5/1
Related Commands
29.9.1 ipv6 nd snooping
29.9.9 ipv6 nd snooping vlan
29.9.11 show ipv6 nd snooping port dsl
Function
This command deletes an ND snooping entry on a P2P interface.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to delete an ND snooping entry on the P2P interface
gei_1/5/1:
29-118
Related Commands
29.9.1 ipv6 nd snooping
Function
This command deletes an ND snooping entry on a PON interface.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to delete an ND snooping entry on a PON interface:
Related Commands
29.9.1 ipv6 nd snooping
29-119
Function
This command deletes all ND snooping entries on a slot.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to delete all ND snooping entries on slot 3:
ZXAN(config)#show ipv6 nd snooping database
Current bind users are 1.
Index MAC addr IP addr VLAN Interface Expiration
1 000F.3D82.CAFA 2000::/64 10 gpon-onu_1/3 00:38:44 01/31/2001
/1:1
ZXAN(config)#ipv6 nd snooping clear slot 3
ZXAN(config)#show ipv6 nd snooping database
Current bind users are 0.
Index MAC addr IP addr VLAN Interface Expiration
Related Commands
29.9.1 ipv6 nd snooping
29.9.9 ipv6 nd snooping vlan
29.9.10 show ipv6 nd snooping database
29-120
Function
This command clears the statistics for the ND packets on a specified DSL interface.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is used to clear the existing statistics and build up a new count when it is
necessary to recount up the ND packets.
Examples
The following example shows how to clear the statistics for the ND packets on the interface
adsl_1/3/1:
Related Commands
29.9.1 ipv6 nd snooping
Function
This command clears the statistics of ND protocol packets on a P2P interface.
29-121
Parameters
Mode
ZXAN(config)#
Usage Guidelines
This command is used to clear the existing statistics and build up a new count when it is
necessary to recount up the ND packets.
Examples
The following example shows how to clear the statistics of ND protocol packets on a P2P
interface:
ZXAN(config)#show ipv6 nd snooping port statistics p2p gei_1/6/1
ND SNOOPING PORT STATISTICS:
-----------------------------------------------
RS :2
RA :2
ZXAN(config)#ipv6 nd snooping statistics clear p2p gei_1/6/1
Related Commands
29.9.1 ipv6 nd snooping
29.9.9 ipv6 nd snooping vlan
29.9.15 show ipv6 nd snooping port statistics p2p
Function
This command clears the statistics of ND protocol packets on a PON interface.
Parameters
29-122
Mode
ZXAN(config)#
Usage Guidelines
This command is used to clear the existing statistics and build up a new count when it is
necessary to recount up the ND packets.
Examples
The following example shows how to clear the statistics of ND protocol packets on a PON
interface:
Related Commands
Function
This command enables the VLAN-based ND snooping function.
Parameters
Mode
ZXAN(config)#
29-123
Usage Guidelines
When both the global ND snooping function and VLAN ND snooping function are enabled,
the ND snooping function on the NE is available.
Examples
The following example shows how to enable the ND snooping function on a VLAN:
Related Commands
29.9.1 ipv6 nd snooping
Function
This command displays all dynamic ND snooping entries.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all dynamic ND snooping entries:
29-124
Related Commands
29.9.1 ipv6 nd snooping
29.9.9 ipv6 nd snooping vlan
Function
This command displays information about ND Snooping sessions on a DSL interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about ND Snooping sessions on
the interface vdsl_1/3/1:
ZXAN(config)#show ipv6 nd snooping port dsl vdsl_1/3/1 pvc 1
Current online users are 1.
Index MAC addr IP/Prefix DUID IAID VLAN State Expiration
Related Commands
29.9.1 ipv6 nd snooping
29.9.9 ipv6 nd snooping vlan
29-125
Function
This command displays information about ND Snooping sessions on a P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about ND Snooping sessions on
a P2P interface:
Related Commands
29.9.1 ipv6 nd snooping
29-126
Function
This command displays information about ND Snooping sessions on an ONU interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about ND Snooping sessions on
an ONU interface:
Related Commands
29.9.1 ipv6 nd snooping
29-127
Function
This command displays the statistics for the ND packets on a specified DSL interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistics for the ND packets on the
interface adsl_1/5/3:
ZXAN(config)#show ipv6 nd snooping port statistics dsl adsl_1/3/1
ND SNOOPING PORT STATISTICS:
-----------------------------------------------
RS :2
RA :2
Related Commands
29.9.1 ipv6 nd snooping
29-128
Function
This command displays the statistics of ND protocol packets on a P2P interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistics of ND protocol packets on a
P2P interface:
Related Commands
29.9.1 ipv6 nd snooping
Function
This command displays the statistics of ND protocol packets on a PON interface.
29-129
Parameters
Parameter Description Value
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistics of ND protocol packets on a
PON interface:
ZXAN(config)#show ipv6 nd snooping port statistics pon gpon-onu_1/3/1:1
ND SNOOPING PORT STATISTICS:
-----------------------------------------------
RS :2
RA :2
Related Commands
29.9.1 ipv6 nd snooping
29.9.9 ipv6 nd snooping vlan
29.9.8 ipv6 nd snooping statistics clear pon
Function
This command displays information about the VLANs with ND snooping enabled.
Parameters
Parameter Description Value
Mode
All modes except user mode
29-130
Usage Guidelines
None
Examples
The following example shows how to display information about the VLANs with ND
snooping enabled:
Related Commands
29.9.9 ipv6 nd snooping vlan
Function
This command configures a static IP Source Guard entry.
Parameters
ip_addr1 IP address -
Mode
GPON ONU interface mode
29-131
Usage Guidelines
None
Examples
The following example shows how to configure a static IP Source Guard entry:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#ip dhcp snooping binding 1.1.1.1 sport 1
Related Commands
29.10.19 show ip dhcp snooping static database
Function
This command configures a static IP Source Guard entry.
Parameters
ip_addr1 IP address -
Mode
P2P interface mode
Usage Guidelines
None
Examples
The following example shows how to configure a static IP Source Guard entry:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ip dhcp snooping binding 1.1.1.1 sport 1
Related Commands
29.10.19 show ip dhcp snooping static database
29-132
Function
This command configures a static IP Source Guard entry.
Parameters
ip_addr1 IP address -
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to configure a static IP Source Guard entry:
ZXAN(config)#interface adsl_1/3/1
ZXAN(config-if)#ip dhcp snooping binding 1.1.1.1 pvc 1
Related Commands
29.10.19 show ip dhcp snooping static database
Function
This command deletes a static IP source guard entry.
29-133
Parameters
ip_addr1 IP address -
Mode
GPON ONU interface mode
EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to delete a static IP Source Guard entry:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#ip dhcp snooping clear 1.1.1.1 sport 1
Related Commands
None
Function
This command deletes a static IP Source Guard entry.
Parameters
ip_addr1 IP address -
Mode
P2P interface mode
Usage Guidelines
None
29-134
Examples
The following example shows how to delete a static IP Source Guard entry:
ZXAN(config)#interface geil_1/3/1
ZXAN(config-if)#ip dhcp snooping clear 1.1.1.1 sport 1
Related Commands
29.10.19 show ip dhcp snooping static database
Function
This command deletes a static IP Source Guard entry.
Parameters
ip_addr1 IP address -
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to delete a static IP Source Guard entry:
ZXAN(config)#interface adsl_1/3/1
ZXAN(config-if)#ip dhcp snooping clear 1.1.1.1 pvc 1
Related Commands
29.10.19 show ip dhcp snooping static database
29-135
29.10.7 ip-source-guard
Syntax
ip-source-guard name1
Function
This command enables or disables the global IP Source Guard function.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
The IP Source Guard function for an interface should be enabled together with the IP
Source Guard function for global configuration.
Examples
The following example shows how to enable the global IP Source Guard function:
ZXAN(config)#ip-source-guard enable
Related Commands
29.10.20 show ip-source-guard
Function
This command enables or disables the IP Source Guard function on an interface.
29-136
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
The IP Source Guard function for an interface should be enabled together with the IP
Source Guard function for global configuration.
Examples
The following example shows how to enable the IP Source Guard function on an interface:
ZXAN(config)#interface gpon-onu_0/4/1:1
ZXAN(config-if)#ip-source-guard enable sport 1
Related Commands
29.10.25 show ip-source-guard port pon
Function
This command enables the IP Source Guard function for an interface.
Parameters
29-137
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
The IP Source Guard function for an interface should be enabled together with the IP
Source Guard function for global configuration.
Examples
The following example shows how to enable the IP Source Guard function for the interface
adsl_1/4/1:
ZXAN(config)#interface adsl_1/4/1
ZXAN(config-if)#ip-source-guard enable pvc 1
Related Commands
29.10.23 show ip-source-guard port dsl
Function
This command enables or disables the IP Source Guard function on an interface.
Parameters
Mode
p2p interface mode
Usage Guidelines
The IP Source Guard function for an interface should be enabled together with the IP
Source Guard function for global configuration.
29-138
Examples
The following example shows how to enable the IP Source Guard function on an interface:
ZXAN(config)#interface geil_1/3/1
ZXAN(config-if)#ip-source-guard enable sport 1
Related Commands
None
Function
This command sets the bind type of IP Source Guard to IP + MAC.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
By default, the bind type is IP.
To restore the default setting, use the no form of this command.
Examples
The following example shows how to set the bind type of IP Source Guard to IP + MAC:
ZXAN(config)#ip-source-guard bind-type ip+mac
Related Commands
29.10.21 show ip-source-guard bind-type
29-139
Function
This command deletes IP spoofing log records.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to delete IP spoofing log records:
ZXAN(config)#ip-source-guard ip-spoofing-log clear
Related Commands
29.10.22 show ip-source-guard ip-spoofing-log
Function
This command configures the interval to display the same IP Source Guard alarm.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
29-140
Examples
The following example shows how to configure the interval to display the same IP Source
Guard alarm:
Related Commands
29.10.22 show ip-source-guard ip-spoofing-log
Function
This command enables or disables the traffic shutdown for illegal ports.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enable the traffic shutdown for illegal ports:
Related Commands
29.10.26 show ip-source-guard port-auto-shutdown
29-141
Function
This command configures a static IPv6 Source Guard entry.
Parameters
Mode
P2P interface mode, GPON ONU interface mode, and EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to configure a static IPv6 Source Guard entry:
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ipv6 dhcp snooping binding 2000::1 ipv6-mask 128 sport 1
Related Commands
29.10.27 show ipv6 dhcp snooping static database
Function
This command configures a static IP Source Guard entry.
29-142
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to configure a static IP Source Guard entry:
ZXAN(config)#interface adsl_1/3/1
ZXAN(config-if)#ipv6 dhcp snooping binding 2000::1 ipv6-mask 128 pvc 1
Related Commands
29.10.27 show ipv6 dhcp snooping static database
Function
This command deletes a static IPv6 Source Guard entry.
Parameters
Mode
P2P interface mode, GPON ONU interface mode, and EPON ONU interface mode
29-143
Usage Guidelines
None
Examples
The following example shows how to delete a static IPv6 Source Guard entry:
ZXAN(config)#interface geil_1/3/1
ZXAN(config-if)#ipv6 dhcp snooping clear 2000::1 sport 1
Related Commands
29.10.27 show ipv6 dhcp snooping static database
Function
This command deletes a static IP Source Guard entry.
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to delete a static IP Source Guard entry:
ZXAN(config)#interface adsl_1/3/1
ZXAN(config-if)#ipv6 dhcp snooping clear 2000::1 sport 1
Related Commands
29.10.27 show ipv6 dhcp snooping static database
29-144
Function
This command displays all static IP Source Guard entries.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all static IP Source Guard entries:
Related Commands
29.10.2 ip dhcp snooping binding
Function
This command displays the status of the global IP Source Guard function.
Parameters
None
29-145
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of the global IP Source Guard
function:
ZXAN(config)#show ip-source-guard
Related Commands
29.10.7 ip-source-guard
Function
This command displays the bind type of IP Source Guard.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the bind type of IP Source Guard:
ZXAN(config)#show ip-source-guard bind-type
Related Commands
29.10.11 ip-source-guard bind-type ip+mac
29-146
Function
This command displays the alarm logs of IP Source Guard.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the alarm logs of IP Source Guard:
ZXAN(config)#show ip-source-guard ip-spoofing-log
Related Commands
None
Function
This command displays the IP Source Guard configuration of an interface.
Parameters
Mode
All modes except user mode
29-147
Usage Guidelines
None
Examples
The following example shows how to display the IP Source Guard configuration of the
interface adsl_1/3/1:
Related Commands
None
Function
This commands displays the status of the IP Source Guard function on an interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of the IP Source Guard function
on an interface:
ZXAN(config)#show ip-source-guard port p2p gei_1/3/1
Port Sport ip-source-guard status
gei_1/3/1 1 disable
29-148
Related Commands
None
Function
This commands displays the status of the IP Source Guard function on an interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of the IP Source Guard function
on an interface:
ZXAN(config)#show ip-source-guard port pon gpon-onu_1/3/1:1
Port Sport ip-source-guard status
gpon-onu_1/3/1:1 1 disable
Related Commands
None
Function
This command displays the status of port auto-shutdown of the IP Source Guard function.
29-149
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of port auto-shutdown of the IP
Source Guard function:
ZXAN(config)#show ip-source-guard port-auto-shutdown
Related Commands
29.10.14 ip-source-guard port-auto-shutdown
Function
This command displays all static IPv6 Source Guard entries.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all static IPv6 Source Guard entries:
ZXAN(config)#sho ipv6 dhcp snooping static database
IPv6-addr Mask MAC-addr Port Sport/Pvc
2000::11 128 0000.0000.0000 gpon-onu_1/2/1:1 1
29-150
Related Commands
29.10.15 ipv6 dhcp snooping binding
29-151
29-152
Function
This command displays information about the system configuration that has taken effect.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the system configuration that has taken effect:
ZXAN(config)#show ssh
SSH configuration:
SSH enable-flag configuration : disable
SSH version : ver2.0
SSH only configuration : disable
SSH init server key : not initialized
30-1
Related Commands
None
Function
This command sets the SSH server authentication mode.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the SSH server authentication mode to local:
Related Commands
None
30-2
Function
This command sets the SSH server authentication type.
Parameters
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
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.
30-3
Examples
The following example shows how to enable the SSH server:
ZXAN(config)#ssh server enable
Related Commands
None
Function
This command sets the SSH server to generate an RSA key pair when the SSH server
operates in protocol version 1.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The RSA key pair needs to be generated only when the SSH server uses protocol version
1. For protocol version 2, it is unnecessary to calculate this key pair.
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
30-4
Function
This command sets the SSH server as the unique safe configuration access mode and
disables Telnet mode.
Parameters
None
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:
Related Commands
None
Function
This command sets the SSH server protocol version.
Parameters
Mode
Configuration mode: ZXAN (config)#
30-5
Usage Guidelines
The SSH server supports two protocol versions.
Examples
The following example shows how to set the SSH server protocol version number to 1:
Related Commands
None
30-6
Function
This command enables or disables the history performance alarm function.
Parameters
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 enabling this command.
Examples
The following example shows how to enable the history performance alarm function:
31-1
Related Commands
31.3 his-performance sample
Function
This function enables or disables the auto-upload function for a history performance file.
Parameters
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 enabling this command.
Examples
The following example shows how to enable the auto-upload function for a history
performance file:
ZXAN(config)#his-performance auto-upload enable
Related Commands
31.3 his-performance sample
Function
This command enables or disables history performance data sampling.
31-2
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is a global switch for performance data sampling.
Examples
The following example shows how to enable the history performance data sampling
function:
Related Commands
None
Function
This command organizes the history performance data that was stored in the NE in CSV
format for the last 1 day, and uploads the file through FTP.
Parameters
Mode
Configuration mode: ZXAN (config)#
31-3
Usage Guidelines
The NE always stores 1-day history performance data for the last 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 file for the latest 1-day history performance
data:
Related Commands
None
Function
This command organizes the history performance data that was stored in the NE in CSV
format for the last 15 minutes, and uploads the file through FTP.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The NE always stores 15-minute history performance data for the last period.
31-4
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 file for the latest 15-minute history
performance data:
Related Commands
None
31-5
31-6
32.1 anti-dos
Syntax
anti-dos name1
Function
This command enables or disables the anti-DoS attack function.
32-1
Parameters
Mode
Control panel configuration mode
Usage Guidelines
This command ensures the NE to respond to services normally in case of Denial of Service
(DoS) attacks.
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
None
Function
This command sets the blacklist refreshing period for anti-DoS attacks.
Parameters
Mode
Control panel configuration mode:
32-2
Usage Guidelines
This command ensures the NE to respond to services normally in case of Denial of Service
(DoS) attacks.
Examples
The following example shows how to set the blacklist refreshing period for anti-DoS attacks
to 300 seconds:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos blocking-time 300
Related Commands
None
Function
This command enables or disables packet dropping.
Parameters
Mode
Control panel configuration mode
Usage Guidelines
This command ensures the NE to respond to services normally in case of Denial of Service
(DoS) attacks.
Examples
The following example shows how to enable packet dropping:
ZXAN(config)#control-panel
32-3
Related Commands
None
Function
This command enables or disables driver rate limiting.
Parameters
Mode
Control panel configuration mode
Usage Guidelines
This command ensures the NE to respond to services normally in case of Denial of Service
(DoS) attacks.
Examples
The following example shows how to enable driver rate limiting:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos drv-limit enable
Related Commands
None
32-4
Function
This command sets the rate limit for the packets matching up with the anti-DoS blacklist.
Parameters
Mode
Control panel configuration mode
Usage Guidelines
This command ensures the NE to respond to services normally in case of Denial of Service
(DoS) attacks.
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
None
Function
This command sets the shutdown time for a vport.
Parameters
Mode
Control panel configuration mode
32-5
Usage Guidelines
If a user is added to the black list, the virtual port where the user is located will be shut
down until the shut-down time expires.
0 indicates the virtual port is not shut down.
Only GPON cards are supported.
Examples
The following example shows how to shut down the virtual port for one minute:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos shutdown-time 1
Related Commands
32.14 show control-panel configure
Function
This command clears the statistics for CPU queues.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
When it is necessary to recount up CPU queues, run this command to clear the current
statistics.
Examples
The following example shows how to clear the statistics for CPU queues:
ZXAN#clear cpu queue statistics
Related Commands
32.16 show control-panel cpu queue statistics
32-6
Function
This command clears statistics of rate-limited packets.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command is used to clear statistical packet information generated by the packet limit
command.
Examples
The following example shows how to clear statistics of rate-limited packets:
ZXAN#clear packet-statistics
Related Commands
None
32.9 control-panel
Syntax
control-panel
Function
This command enters control-panel mode.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
32-7
Usage Guidelines
None
Examples
The following example shows how to enter control-panel mode:
ZXAN(config)#control-panel
ZXAN(control-panel)#
Related Commands
None
32.10 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
0 Queue ID -
1 Queue ID -
2 Queue ID -
3 Queue ID -
4 Queue ID -
32-8
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.
Examples
The following example shows how to set the packet receiving rate of queue 0 to 267 pps:
Related Commands
show cpu queue
show cpu queue statistics
32.11 packet-limit
Syntax
packet-limit {all number1 |arp number2 |icmp number3 |ssh number4 |other number5 |igmp nu
mber6 |dhcp number7 |pppoe number8 |snmp number9 |telnet number10 |bfd number11 |zesr
number12 |stp number13 |lacp number14 |lldp number15 |bpdu_other number16 |rip number17
|bgp number18 |ospf number19 |isis number20 |ldp number21 |cfm number22 |ipv6_rs number2
3 |ipv6_ra number24 |ipv6_ns number25 |ipv6_na number26 |ipv6_icmp number27 |ipv6_dhcp
number28 |r-aps number29 }
no packet-limit {all |arp |icmp |ssh |other |igmp |dhcp |pppoe |snmp |telnet |bfd |zesr |stp |lacp
|lldp |bpdu_other |rip |bgp |ospf |isis |ldp |cfm |ipv6_rs |ipv6_ra |ipv6_ns |ipv6_na |ipv6_icmp
|ipv6_dhcp |r-aps }
Function
This command sets a rate limit for the packets of a specific type.
32-9
Parameters
32-10
Mode
Control panel configuration mode:
Usage Guidelines
This command ensures the NE to respond to services normally in case of Denial of Service
(DoS) attacks.
32-11
Examples
The following example shows how to set the rate limit of ARP packets to 10 pps:
ZXAN(config)#control-panel
ZXAN(control-panel)#packet-limit arp 10
Related Commands
None
Function
This command displays blacklist information.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command is used to display blacklist information about the main control card and the
other cards.
Examples
The following example shows how to display blacklist information:
----------------------------NP BLACK-TABLE------------------------------------
mac-address port onu-sn state PktIn Drop
-------------------------------------------------------------------------------
Related Commands
None
32-12
Function
This command displays the blacklist of a card in a specified slot.
Parameters
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 the
blacklist function, an error message is displayed.
Examples
The following example shows how to display the blacklist of the card in slot 5:
Related Commands
None
Function
This command displays the basic configuration of the control panel.
Parameters
None
32-13
Mode
All modes except user mode
Usage Guidelines
This command is used to display the basic configuration of the packet-limit and the anti-dos
commands only.
Examples
The following example shows how to display the basic configuration of the control panel:
Related Commands
show cpu queue
Function
This command displays the rate limit of CPU queues.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
32-14
Examples
The following example shows how to display the rate limit of CPU queues:
ZXAN(config)#sho control-panel cpu queue
------------------------------------------------------------------------
QueueId Ratelimit
0 256
1 300
2 300
3 100
4 300
5 300
6 300
7 300
------------------------------------------------------------------------
Related Commands
32.10 cpu
Function
This command displays statistical packet information about CPU queues.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command displays information about CPU queues, such as packet receiving rate,
peak values, and the time when a peak value occurs.
Examples
The following example shows how to display the packet receiving rate:
show control-panel cpu queue statistics
queueId pps ppsPeak peakTime
32-15
0 0 2 17:17:59 12/13/2012
1 0 4 13:38:22 12/16/2012
2 0 8 17:03:40 12/13/2012
3 0 0 -
4 0 0 -
5 0 4 22:24:33 12/14/2012
6 0 7 14:24:06 12/17/2012
7 0 0 -
Related Commands
32.15 show control-panel cpu queue
Function
This command displays statistical information about in-band protocol packets.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command does not display statistical information about layer-2 packets but instead
the rate-limiting enabled protocol packets that are received by the CPU.
Examples
The following example shows how to display statistical information about in-band protocol
packets:
ZXAN(control-panel)#show control-panel packet-limit statistics inband
pktType pktTotal pktDrop pps ppsPeak dropSec peakTime
all 192 0 0 0 0 -
arp 33 0 0 2 0 13:38:21
12/16/2012
icmp 0 0 0 0 0 -
ssh 0 0 0 0 0 -
other 0 0 0 0 0 -
32-16
igmp 39 0 0 4 0 22:23:48
12/14/2012
dhcp 0 0 0 0 0 -
pppoe 0 0 0 0 0 -
snmp 0 0 0 0 0 -
telnet 35 0 0 8 0 14:23:59
12/17/2012
bfd 0 0 0 0 0 -
zesr 0 0 0 0 0 -
stp 0 0 0 0 0 -
lacp 0 0 0 0 0 -
lldp 0 0 0 0 0 -
bpdu_other 0 0 0 0 0 -
rip 0 0 0 0 0 -
bgp 0 0 0 0 0 -
ospf 0 0 0 0 0 -
isis 0 0 0 0 0 -
ldp 0 0 0 0 0 -
cfm 0 0 0 0 0 -
ipv6_rs 31 0 0 2 0 15:08:49
12/13/2012
ipv6_ra 0 0 0 0 0 -
ipv6_ns 27 0 0 4 0 16:52:12
12/13/2012
ipv6_na 17 0 0 2 0 16:52:56
12/13/2012
ipv6_icmp 10 0 0 2 0 16:52:12
12/13/2012
ipv6_dhcp 0 0 0 0 0 -
r-aps 0 0 0 0 0 -
Related Commands
32.14 show control-panel configure
Function
This command displays statistical information about out-of-band protocol packets.
32-17
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command is used to display statistical information about the rate-limiting enabled
protocol packets, including:
1. arp
2. icmp
3. ssh
4. other packets with types not displayed
Examples
The following example shows how to display statistical information about out-of-band
protocol packets:
ZXAN(control-panel)#show control-panel packet-limit statistics outband
pktType pktTotal pktDrop pps ppsPeak dropSec peakTime
all 31281822 0 0 0 0 -
arp 4906848 1513 12 961 5 13:59:23
12/16/2012
icmp 97594 0 0 39 0 13:59:23
12/16/2012
ssh 35 0 0 2 0 17:10:53
12/13/2012
other 26277345 5205852 10 122593 13390 13:59:23
12/16/2012
Related Commands
32.14 show control-panel configure
Function
This command displays the packet statistics of the card in a specific slot.
32-18
Parameters
Mode
All modes except user mode
Usage Guidelines
If the specified card is out of service or does not support the function, an error message is
displayed.
Examples
The following example shows how to display the statistics of the packets of the card in slot
5:
Related Commands
show control-panel packet-limit statistics
32-19
32-20
Function
This command enables NTP authentication.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
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.
33-1
Examples
The following example shows how to enable NTP authentication:
ZXAN(config)#ntp authenticate
Related Commands
33.4 ntp enable
33.10 show ntp status
Function
This command configures the NTP authentication key.
Parameters
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.
Examples
The following example shows how to configure the NTP authentication key:
33-2
Related Commands
33.4 ntp enable
33.10 show ntp status
no ntp broadcast-client
Function
This command enables the NTP broadcast client function.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface
mode
Usage Guidelines
With this function enabled, the NE listens passively to the NTP broadcast messages from
the NTP server in a subnet, learns the address of the server, and interacts with the server
through the NTP protocol. By default, the source IP address of the NTP messages from
the NE is the primary IP address of the corresponding VLAN interface, and the destination
address is the learned address of the NTP broadcast server. The route involved must be
available.
Examples
The following example shows how to enable the NTP broadcast client function on interface
VLAN 100:
Related Commands
33.10 show ntp status
33-3
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 the 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
33.7 ntp server
no ntp multicast-client
Function
This command enables the NTP multicast client function.
33-4
Parameters
Parameter Description Value
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface
mode
Usage Guidelines
With this function enabled, the NE listens passively to the NTP multicast messages from
the NTP server in a subnet, learns the address of the server in a specified group, and
interacts with the server through the NTP protocol. By default, the source IP address of
the NTP messages from the NE is the primary IP address of the corresponding VLAN
interface, and the destination address is the learned address of the NTP multicast server.
The route involved must be available.
To disable the function, use the no form of this command.
Examples
The following example shows how to enable the NTP multicast client function on interface
VLAN 100 with the multicast group address 224.1.1.1:
ZXAN(config)#interface vlan 100
ZXAN(config-if-vlan100)#ntp multicast-client 224.1.1.1
Related Commands
33.10 show ntp status
show running-config interface vlan (vlanid)
Function
This command configures the interval for NTP synchronization.
Parameters
Parameter Description Value
33-5
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the synchronization interval for the time server. If the ntp enable
and ntp server commands have been configured, time is synchronized from the time server
immediately.
Note: A power exponent of 2 is configured in this command, with 4 corresponding to 16
seconds, 5 to 32, 6 to 64, and so on.
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 for NTP synchronization:
ZXAN(config)#ntp poll-interval 4
Related Commands
33.4 ntp enable
33.10 show ntp status
Function
This command configures the IP address of the time server to be synchronized, and the
version of the NTP protocol.
Parameters
Parameter Description Value
33-6
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Time is synchronized only from one time server currently. If multiple synchronizations are
configured, the latter overwrites the former.
With this command configured, time cannot be synchronized from the time server until the
ntp enable command is configured.
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
33.4 ntp enable
33.10 show ntp status
Function
This command configures the source address from which NTP packets are sent.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
33-7
Examples
The following example shows how to configure the source interface vlan100 from which
NTP packets are sent:
ZXAN(config)#ntp source vlan100
Related Commands
33.4 ntp enable
33.7 ntp server
show ntp status
Function
This command configures a trusted key.
Parameters
Mode
Configuration mode: ZXAN (config)#
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 ID:
ZXAN(config)#ntp trusted-key 10
Related Commands
33.4 ntp enable
33.10 show ntp status
33-8
Function
This command displays the running status of the NTP.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the running status of the NTP:
Related Commands
33.4 ntp enable
33-9
33-10
Function
This command creates a CoS-to-CoS profile. The profile specifies the CoS-to-CoS
mapping table, which is used for modifying CoS values in packets as required.
Parameters
Parameter Description Value
34-1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l To delete a CoS-to-CoS profile, use the no form of this command.
l Create a CoS-to-CoS profile before applying the profile to an interface.
l The default CoS values corresponding to CoS 0–7 are 0, 1, 2, 3, 4, 5, 6, 7 respectively.
Examples
The following example shows how to create a CoS-to-CoS profile whose name is TEST.
This profile will modify the CoS value of each packet with CoS 0 to 2.
Related Commands
34.5.1 show qos cos-to-cos-profile
Function
This command creates a CoS-to-TC profile. The profile specifies a CoS-to-TC mapping
table, which is used for modifying TC priority in packets as required.
Parameters
34-2
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l A CoS-to-TC profile is required for the MPLS function.
l Create a CoS-to-TC profile before applying the profile to an interface.
l To delete a CoS-to-TC profile, use the no form of this command.
l The default TC values corresponding to CoS 0–7 are 0, 1, 2, 3, 4, 5, 6, and 7
respectively.
Examples
The following example shows how to create a CoS-to-TC profile whose name is TEST.
This profile will modify the TC value of each packet with CoS 0 to 5.
ZXAN(config)#qos cos-to-tc-profile test cos0 5
Related Commands
34.5.2 show qos cos-to-tc-profile
Function
This command creates a DSCP-to-CoS profile. The profile specifies a DSCP-to-CoS
mapping table, which is used for modifying CoS values in accordance with DSCP values
in packets. The DSCP-to-CoS profile is applicable to Ethernet interfaces, GPON ONU
interfaces, and DSL interfaces.
34-3
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l Create a DSCP-to-CoS profile before applying the profile to an interface.
l The default DSCP-to-CoS mapping table is as follows:
DSCP CoS
Examples
The following example shows how to create a DSCP-to-CoS profile whose name is TEST.
This profile will modify the CoS value in each packet with DSCP 0–8 to 2.
ZXAN(config)#qos dscp-to-cos-profile test 0-8 to 2
Related Commands
34.5.3 show qos dscp-to-cos-profile
34-4
Function
This command creates a DSCP-to-Drop profile. The profile specifies a DSCP-to-Drop
precedence mapping table, which is used for modifying drop precedence values in packets
in accordance with DSCP values.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l Create a DSCP-to-Drop profile before applying the profile to an interface.
l The default drop precedence value corresponding to all DSCP values (0–63) is 0.
l To delete a DSCP-to-Drop profile, use the no form of this command.
Examples
The following example shows how to create a DSCP-to-Drop profile whose name is TEST.
This profile will modify the drop precedence value in each packet with DSCP 1 to 2.
Related Commands
34.5.4 show qos dscp-to-drop-profile
34-5
Function
This command creates a DSCP-to-DSCP profile. The profile specifies a DSCP-to-DSCP
remark table, which is used to modify DSCP values in packets. The DSCP-to-DSCP profile
is only applicable to Ethernet interfaces.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l Create a DSCP-to-DSCP profile before applying the profile to an interface.
l The default DSCP values corresponding to DSCP 0–63 are 0 to 63 respectively.
l To delete a DSCP-to-DSCP profile, use the no form of this command.
Examples
The following example shows how to create a DSCP-to-DSCP profile whose name is TEST.
This profile will remark DSCP 1-10 to DSCP 15:
ZXAN(config)#qos dscp-to-dscp-profile test 1-10 to 15
Related Commands
34.5.5 show qos dscp-to-dscp-profile
no qos eth-cos-local-map
Function
This command configures the mapping table between Ethernet CoS and local priority.
34-6
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l This command is used in global configuration mode.
l By default, CoS 0–7 correspond to local priority 0–7 respectively.
l To restore the default mapping table between CoS and local priority, use the no form
of this command.
Examples
The following example shows how to configure the mapping table between CoS and local
priority in global configuration mode. In this example, CoS 0 is mapped to priority 7, CoS 1
is mapped to priority 7, and the other CoS values are mapped to the corresponding default
priorities.
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
34.5.6 show qos eth-cos-local-map
34-7
Function
This command creates a queue-block profile, which specifies the number of queues, the
queue scheduling mode, and the depth of each queue.
Parameters
2 Two queues -
4 Four queues -
8 Eight queues -
34-8
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Queue management is used to manage the number of queues, queue scheduling mode,
and queue depth.
l Number of queues
The number of queues is set in global configuration mode. Three options are
available: 2, 4, or 8 (default). The following table describes the available queues
when different numbers are set:
2 Queue 0–1
4 Queue 0–3
8 Queue 0–7
34-9
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 SP 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 an
appropriate depth value.
To delete a queue-block 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 12 and queue depth is 12:
ZXAN(config)#qos queue-block-profile test queue0 12 12
Related Commands
34.5.8 show qos queue-block-profile
Function
This command creates a queue-map profile. The profile configures the queuing mode,
such as CoS-based queuing (default) and service-port based queuing. The system
supports CoS-based queuing in this version.
Parameters
2 Two queues -
4 Four queues -
34-10
8 Eight queues -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l A queue-map profile can be used by an interface only when this profile is created in
global configuration mode.
l The queuing mode must be specified. When the queuing mode is set to
“cos-queue-type”, the number of queues can be configured to 2, 4, or 8. The default
number of queues is 8.
l To delete a queue-map profile, use the no form of this command.
Examples
The following example shows how to create a queue-map profile whose name is TEST. In
this profile, the queuing mode is set to “cos-queue type”.
ZXAN(config)#qos queue-map-profile test cos-queue-type
Related Commands
34.5.9 show qos queue-map-profile
34-11
Function
This command creates a queue-shape profile, which specifies the number of queues, and
CIR, CBS, EIR, EBS, and color mode of each queue.
Parameters
2 Two queues. -
4 Four queues. -
8 Eight queues. -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l Create a queue-shape profile in global configuration mode.
l In the profile, the number of queues can be set to 2, 4, or 8. The default is 8.
l The default CIR, CBS, EIR, and EBS of each queue are 0, meaning that there is no
restriction on the queue.
l The EIR must be greater than or equal to the CIR, and the EBS must be greater than
or equal to the CBS.
Examples
ZXAN(config)#qos queue-shape-profile TEST queue0 cir 10000 cbs 1000 eir 10000 ebs 1000 color-mode bli
Related Commands
34.5.10 show qos queue-shape-profile
34-12
no qos tc-queue-map
Function
This command configures the mapping table between TC values and local priorities in
global configuration mode. This command is used for MPLS functions. It is not applicable
to ordinary traffic.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l By default, local priority 0–7 correspond to TC 1–7 respectively.
l To restore the default TC to local priority mapping table, use the no form of this
command.
34-13
Examples
The following example shows how to configure the mapping table between TC values and
local priorities. In the mapping table, local priority 7 corresponds to TC 0, local priority 5
correspond to TC1, and the default priorities correspond to the other TC values.
ZXAN(config)#qos tc-queue-map tc0 7 tc1 5 tc2 2 tc3 3 tc4 4 tc5 5 tc6 6 tc7 7
Related Commands
34.5.11 show qos tc-queue-map
Function
This command creates a TC-to-CoS profile. The profile specifies a TC-to-CoS mapping
table, which is used for modifying CoS values in accordance with TC values in packets.
Parameters
Parameter Description Value
34-14
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l Create a TC-to-CoS profile before applying the profile to an interface.
l The TC-to-CoS profile is used for MPLS functions.
l By default, TC 0–7 correspond to CoS 0–7 respectively.
l To delete a TC-to-CoS profile, use the no form of this command.
Examples
The following example shows how to create a TC-to-CoS profile whose name is TEST.
The profile will modify the CoS value of each packet with TC 0 to 5.
Related Commands
34.5.12 show qos tc-to-cos-profile
Function
This command enables or disables the two rate three color marker (trTCM).
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command is used to enable or disable the trTCM in global configuration mode. When
the trTCM is enabled, you can determine whether to enable remarking DSCP values.
The trTCM function is available only when the corresponding card supports this function.
34-15
Examples
The following example shows how to enable trTCM and enable DSCP remarking in global
configuration mode:
ZXAN(config)#qos trtcm enable dscp-remark enable
Related Commands
34.5.13 show qos trtcm
Function
This command specifies the default CoS priority for the current interface. The default CoS
priority is used for marking the CoS priority of untagged packets. The configuration is only
applicable to the specified interface.
Parameters
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l Set the default CoS priority and apply the priority to an interface in configuration mode
of this interface.
l To restore the default CoS priority (0), use the no form of this command.
Examples
The following example shows how to set the default CoS priority to 7 for the Ethernet
interface 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos cos default-cos 7
34-16
Related Commands
34.5.7 show qos interface
Function
This command applies a DSCP-to-CoS profile to an interface, meaning the CoS marking
on the interface depends on the settings in the profile. This command is valid only when
trust DSCP is enabled.
Parameters
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l Before using this command, ensure that the DSCP-to-CoS profile has been created.
l To cancel the setting and restore the default profile for the interface, use the no form
of this command.
Examples
The following example shows how to apply the DSCP-to-CoS profile (TEST) to the Ethernet
interface 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos cos dscp-remark TEST
Related Commands
34.5.7 show qos interface
34-17
no qos drop-procedence
Function
This command applies a DSCP-to-Drop profile to an Ethernet interface. This command is
valid only when trust DSCP is enabled.
Parameters
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l Before using this command, ensure that the DSCP-to-Drop profile has been created.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a DSCP-to-Drop profile (TEST) to the Ethernet
interface 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos drop-procedence TEST
Related Commands
34.5.7 show qos interface
34-18
Function
This command applies a DSCP-to-DSCP profile to an Ethernet interface for DSCP
remarking. This command is valid only when trust DSCP is enabled.
Parameters
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l Before using this command, ensure that the DSCP-to-DSCP profile has been created.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a DSCP-to-DSCP profile (TEST) to the Ethernet
interface 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos dscp dscp-remark TEST
Related Commands
34.5.7 show qos interface
no qos queue-block-profile
Function
This command applies a queue-block profile to an interface.
34-19
Parameters
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l Before using this command, ensure that the queue-block profile has been created.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a queue-block profile (TEST) to the Ethernet
interface 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos queue-block-profile TEST
Related Commands
34.5.7 show qos interface
34.2.5 qos queue-block-profile
Function
This command configures a traffic shaping policy for an interface.
Parameters
34-20
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
l Use this command directly under the interface.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a traffic shaping policy for an interface. In
this example, the policy sets the limit rate to 1024 kbps and sets the bucket size to 2048
kbytes.
Related Commands
42.4.6 show traffic-statistics
Function
This command sets the trust mode for priority marking on an Ethernet port, trust CoS mode
or trust DSCP mode. By default, an Ethernet port is in the trust CoS mode.
Parameters
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#
Usage Guidelines
Configure the trust mode directly under the interface mode.
34-21
Examples
The following example shows how to set the trust mode to trust DSCP for the Ethernet
interface 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos trust dscp
Related Commands
34.5.7 show qos interface
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
Mode
l GPON ONU interface mode
l 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):
34-22
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos cos-remark TEST vport 1
Related Commands
34.5.7 show qos interface
34.1.1 qos cos-to-cos-profile
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
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
l Use this command to configure the default CoS and applies the default value to a port.
l To cancel the setting and restore the default CoS to 0, use the no form of this
command.
Examples
The following example shows how to forcibly change the CoS value of vport1 under
gpon-onu_1/16/1:1 to 6:
34-23
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos default-cos 6 override vport 1
Related Commands
34.5.7 show qos interface
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
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
This command is configured for XPON 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
34-24
Related Commands
34.5.7 show qos interface
34.1.3 qos dscp-to-cos-profile
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.
Parameters
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
Create a vport under the XPON-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
34.5.7 show qos interface
34-25
Function
This command remarks the CoS-to-CoS profile for a vport in egress direction. The
prerequisite is that the DSCP-to-CoS profile has been created.
Parameters
Mode
l GPON ONU interface mode
l 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
34.5.7 show qos interface
34-26
Function
This command marks the default priority of the egress on the specified interface. It is used
for forcibly modifying the egress priority.
Parameters
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
Before using this command, create the vport under the XPON-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
34.5.7 show qos interface
34-27
Function
This command remarks the DSCP-to-CoS profile for a vport in egress direction. The
prerequisite is that the DSCP-to-CoS profile has been created.
Parameters
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
This command is applicable to XPON 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
34.5.7 show qos interface
34.1.3 qos dscp-to-cos-profile
34-28
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.
Parameters
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
Before using this command, create a queue-block profile and then apply it on the interface.
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
34.5.7 show qos interface
34-29
Function
This command applies a queue-block profile to a port. The queue-block profile specifies
the number of queues, queue scheduling mode, and queue depth.
Parameters
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
Before using this command to apply a queue-block profile to a port, ensure that the profile
has been created.
Examples
ZXAN(config-if)#qos queue-block-profile asd vport 1
Related Commands
34.5.7 show qos interface
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.
34-30
Parameters
Mode
l GPON ONU interface mode
l EPON ONU interface mode
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
34.5.7 show qos interface
Function
This command applies a queue-map profile to a port. In the queue-map profile, either of
CoS-based queuing mode (default) or service port based queueing mode is specified. The
system supports CoS-based queueing in this version.
Parameters
34-31
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
l Before using this command to apply a queue-map profile to a port, ensure that the
profile has been created.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a queue-map profile whose name is TEST to
the GPON ONU port 1/6/1:1:
ZXAN(config)#interface gpon-onu_1/6/1:1
ZXAN(config-if)#qos queue-map-profile adf vport 1
Related Commands
34.5.7 show qos interface
34-32
Function
This command creates a queue-wred profile, which specifies the weight and guaranteed
bit rate for each queue.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to create a queue-wred profile. In this example, queue0
weight is 20 and queue depth is 25:
34-33
Related Commands
34.5.8 show qos queue-block-profile
34-34
Function
This command configures a traffic shaping policy for an interface.
Parameters
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.
Examples
The following example shows how to set the rate limit to 1024 kbps and set the bucket size
to 2048 kbytes for traffic shaping on an interface:
ZXAN(config-if)#qos traffic-shape rate-limit 1024 bucket-size 2048
Related Commands
42.4.6 show traffic-statistics
34.5.7 show qos interface
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,
34-35
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
Mode
l GPON ONU interface mode
l EPON ONU interface mode
Usage Guidelines
Configure the trust mode of a port in interface configuration mode.
Examples
ZXAN(config-if)#qos trust cos vport 1
Related Commands
34.5.7 show qos interface
Function
This command applies a CoS-to-CoS profile to a PVC under a port.
34-36
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l This command is used for XDSL interface configuration.
l After a profile is applied to a PVC, the PVC remarks CoS in accordance with the
mapping table in the profile.
l The profile takes effect only when the trust CoS mode is enabled for the PVC and the
default CoS override is not enabled.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a CoS-to-CoS profile whose name is TEST to
PVC4 of the port adsl_1/16/1:
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos cos cos-remark TEST pvc 4
Related Commands
34.5.7 show qos interface
Function
This command configures the default priority for marking ingress untagged packets on a
port. The default priority is used by the CoS-filter function to determine whether to discard
a packet. In addition, if the override mode of the port is enabled, the system modifies the
34-37
original CoS value to the default CoS priority during CoS marking. The override mode has
a higher priority than the CoS-remark mode.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l If no PVC ID is set in this command, the configuration will be applied to PVC 1 by
default.
l If a port on a VDSL or SHDSL card is not in ATM mode, the default CoS is not set by
default, or you can only set the default CoS for PVC 1.
l To cancel the setting and restore the default priority to 0, use the no form of this
command.
Examples
The following example shows how to forcibly modify the CoS value of each ingress packet
on PVC 2 of the interface adsl_1/16/1 to 6:
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos cos default-cos 6 override pvc 2
Related Commands
34.5.7 show qos interface
34-38
Function
This command applies a DSCP-to-CoS profile to a PVC under a port.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l This command specifies the profile for DSCP-to-CoS remark on a PVC of an XDSL
interface. The profile is valid when trust DSCP is enabled on the PVC.
l To cancel the setting and use the default DSCP-to-CoS mapping table, use the no
form of this command.
Examples
The following example shows how to apply a DSCP-to-CoS profile whose name is TEST
to PVC 3 of the interface adsl_1/16/1:
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos cos dscp-remark TEST pvc 3
Related Commands
34.5.7 show qos interface
34.1.3 qos dscp-to-cos-profile
Function
This command enables or disables the CoS filter function for a port. When the CoS filter
function is enabled, the port permits traffic whose priority is consistent with the default
priority of the port. Or else, the ingress packets are discarded.
34-39
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l If no PVC ID is specified, this command enables the CoS filter function for PVC 1 by
default.
l For a port on a VDSL or SHDSL card, the CoS filter function can only be enabled on
PVC 1 or disabled by default if the port is not in ATM mode.
Examples
The following example shows how to enable the CoS filter function of PVC 3 under the
port adsl_1/16/1:
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos cos-filter enable pvc 3
Related Commands
34.5.7 show qos interface
Function
This command applies a CoS-to-CoS profile to a PVC under a port for remarking inner
CoS.
34-40
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l This command is used for configuring XDSL interfaces. The specified profile is valid
when trust CoS is enabled on the PVC while the inner-cos override mode is not
enabled.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a CoS-to-CoS profile whose name is TEST to
PVC 4 of the interface adsl_1/16/1:
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos inner-cos cos-remark TEST pvc 4
Related Commands
34.5.7 show qos interface
Function
This command configures the default inner CoS, which is used for overriding inner CoS
values of ingress packets on a port. The port remarks the inner CoS of each ingress packet
with the configured default CoS when the override option is configured on the port.
34-41
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
If no PVC ID is specified in this command, the configuration is applied to PVC 1 by default.
For a port on a VDSL or SHDSL card, the default CoS can only be configured for PVC 1
or not configured by default when the port is not in ATM mode.
Examples
The following example shows how to configure the default CoS to 6 for CoS override on
PVC 2 of the port adsl_1/16/1:
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos inner-cos default-cos 6 override pvc 2
Related Commands
34.5.7 show qos interface
Function
This command applies a DSCP-to-CoS profile to a PVC of a port for remarking inner CoS.
34-42
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l This command is used for configuring XDSL interfaces. The DSCP-to-CoS profile for
remarking inner CoS on the PVC is valid only when the PVC is DSCP trusted.
l To cancel the setting and use the default DSCP-to-CoS mapping table, use the no
form of this command.
Examples
The following example shows how to apply a DSCP-to-CoS profile whose name is TEST
to PVC 3 of the port adsl_1/16/1:
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos inner-cos dscp-remark TEST pvc 3
Related Commands
34.5.7 show qos interface
no qos queue-block-profile
Function
This command applies a queue-block profile to a port. The queue-block profile specifies
the number of queues, queue scheduling mode, and queue depth.
34-43
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
Before using this command, ensure that the queue-block profile has been created.
Examples
ZXAN(config-if)#qos queue-block-profile asd
Related Commands
34.5.7 show qos interface
34.4.8 qos queue-block-profile
Function
This command applies a queue-map profile to a port for queuing traffic based on CoS
(cos-queue) or service port (service-type). By default, traffic queueing is based on CoS.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
34-44
Usage Guidelines
l Ensure that the queue-map profile has been created before using this command.
l By default, CoS 0–7 are mapped to queue 0–7 respectively.
If the number of queues is set to 2, CoS 0–1 are mapped to queue 0–1 while CoS 2–7
are mapped to queue 1.
If the number of queues is set to 4, CoS 0–3 are mapped to queue 0–3 while CoS 4–7
are mapped to queue 3.
Examples
ZXAN(config-if)#qos queue-map-profile adf
Related Commands
34.5.7 show qos interface
34.4.9 qos queue-map-profile
Function
This command sets the trust mode for a PVC of a DSL port, CoS trusted or DSCP trusted.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
l The remarking settings vary with different trust mode.
34-45
When a port is CoS trusted, the port processes and remarks CoS values in ingress
packets based on override setting, cos-remark setting, or trust setting in descending
order of priority.
When a port is DSCP trusted, the port remarks CoS according to the configured
DSCP-to-CoS mapping table.
Examples
ZXAN(config)#interface adsl_1/16/1
ZXAN(config-if)#qos trust cos pvc 3
Related Commands
34.5.7 show qos interface
Function
This command displays the configuration information of a CoS-to-CoS profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
CoS-to-CoS profiles.
34-46
Examples
The following example shows how to display the information of the CoS-to-CoS profile
whose name is 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
34.1.1 qos cos-to-cos-profile
Function
This command displays the configuration information of a CoS-to-TC profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
CoS-to-TC profiles.
Examples
l The following example shows how to display the information of all CoS-to-TC profiles:
ZXAN(config)#show qos cos-to-tc-profile
NOTE! _DEFAULT_COS_TO_TC_PROFILE can't be modified or deleted.
---------------------------------------------------------
No. 1 profile : _DEFAULT_COS_TO_TC_PROFILE
34-47
---------------------------------------------------------
No. 2 profile : TEST
ZXAN(config)#
l The following example shows how to display the information of a specific CoS-to-TC
profile:
ZXAN(config-if)#show qos cos-to-tc-profile cttp
------------------------------------------------------------------------------
profile name : CTTP
profile detail :
----------------------------------------------------------------------------
---- cos : 0 1 2 3 4 5 6 7
---- tc : 7 1 2 3 4 5 6 7
Related Commands
34.1.2 qos cos-to-tc-profile
Function
This command displays the information of a DSCP-to-CoS profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
DSCP-to-CoS profiles.
Examples
The following example shows how to display the information of the DSCP-to-CoS profile
whose name is DTCP:
ZXAN(config-if)#show qos dscp-to-cos dtcp
34-48
------------------------------------------------------------------------------
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
34.1.3 qos dscp-to-cos-profile
Function
This command displays the information of a DSCP-to-Drop profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
DSCP-to-Drop profiles.
34-49
Examples
The following example shows how to display the information of the DSCP-to-Drop profile
whose name is CTDP:
Related Commands
34.1.4 qos dscp-to-drop-profile
Function
This command displays the information of a DSCP-to-DSCP profile.
Parameters
Mode
Any mode except user mode
34-50
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
DSCP-to-DSCP profiles.
Examples
The following example shows how to display the information of a DSCP-to-DSCP profile
whose name is 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
34.1.5 qos dscp-to-dscp-profile
Function
This command displays the Ethernet CoS to local priority mapping table.
Parameters
None
Mode
Any mode except user mode
34-51
Usage Guidelines
None
Examples
The following example shows how to display the Ethernet CoS to local priority mapping
table:
Related Commands
34.1.6 qos eth-cos-local-map
Function
This command displays the QoS information of an interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
show qos interface {port-name}
Examples
The following example shows how to display the QoS information:
34-52
Related Commands
All QoS configuration commands
Function
This command displays the configuration information of a queue-block profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
queue-block profiles.
Examples
l The following example shows how to display the name list of all queue-block profiles:
ZXAN(config)#show qos queue-block-profile
l The following example shows how to display the information of a specific queue-block
profile:
ZXAN(config)#show qos queue-block-profile qbp
----------------------------------------------------------------------
profile name : QBP
profile detail :
----------------------------------------
34-53
queue-number : 8
queue-weight : 0 0 0 0 0 0 0 0
queue-depth : 12 24 0 0 0 0 0 0
----------------------------------------
profile used by :
Related Commands
34.1.7 qos queue-block-profile
Function
This command displays the information of a queue-map profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
queue-map profiles.
Examples
l The following example shows how to display the name list of all queue-map profiles:
ZXAN(config)#show qos queue-map-profile
34-54
l The following example shows how to display the information of a specific queue-map
profile:
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
34.1.8 qos queue-map-profile
Function
This command displays the configuration information of a queue-shape profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
queue-shape profiles.
Examples
l The following example shows how to display the name list of all queue-shape profiles:
-----------------------------------------------------------------
NOTE! _DEFAULT_QUEUE_SHAPING_PROFILE can't be modified or deleted.
34-55
-----------------------------------------------------------------
No. 1 profile : _DEFAULT_QUEUE_SHAPING_PROFILE
l The following example shows how to display the information of a specific queue-shape
profile:
-----------------------------------------------------------------
profile name : TEST
profile detail :
-----------------------------------------------------------------
queue-number : 8
cir : 10000 0 0 0 0 0 0 0
cbs : 1000 0 0 0 0 0 0 0
eir : 10000 0 0 0 0 0 0 0
ebs : 1000 0 0 0 0 0 0 0
Related Commands
34.1.9 qos queue-shape-profile
Function
This command displays the mapping table between TC values and local priorities.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show qos tc-queue-map
-----------------------------------
tc value : 0 1 2 3 4 5 6 7
queue index : 0 1 2 3 4 5 6 7
ZXAN(config)#
34-56
Related Commands
34.1.10 qos tc-queue-map
Function
This command displays the information of a TC-to-CoS profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no profile name is specified in this command, the system will display a name list of all
TC-to-CoS profiles.
Examples
l The following example shows how to display the name list of all TC-to-CoS profiles:
ZXAN(config-if)#show qos tc-to-cos-profile
-----------------------------------------------------------------
NOTE! DFTPRF can't be deleted.
-----------------------------------------------------------------
No. 1 profile : TEST
-----------------------------------------------------------------
No. 2 profile : DFTPRF
l The following example shows how to display the information of a specific TC-to-CoS
profile:
ZXAN(config-if)#show qos tc-to-cos-profile test
-----------------------------------------------------------------
profile name : TEST
profile detail :
-----------------------------------------------------------------
tc-value : 0 1 2 3 4 5 6 7
cos-value : 5 1 2 3 4 5 6 7
34-57
ZXAN(config-if)#
Related Commands
34.1.11 qos tc-to-cos-profile
Function
This command displays the status of the trTCM, enabled or disabled.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show qos trtcm
--------------------------------------------
trtcm : enable dscp-remark : enable
Related Commands
34.1.12 qos trtcm
34-58
Function
This command creates a traffic profile.
Parameters
35-1
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 with a name of “TEST”:
ZXAN(config)#traffic-profile test ip cir 1000 cbs 1000 pir 1000 pbs 1000
Related Commands
35.3.1 show traffic-profile
Function
This command applies a traffic profile to a PTP interface.
Parameters
name2 Direction -
Mode
PTP interface mode
Usage Guidelines
None
35-2
Examples
The following example shows how to apply a traffic profile vlan 100 of the PTP interface
1/6/1 in egress direction:
ZXAN(config)#interface gei_1/6/1
ZXAN(config-if)#traffic-profile test vlan 100 direction egress
Related Commands
35.2.1 traffic-profile
35.3.1 show traffic-profile
Function
This command applies a traffic profile to a DSL interface.
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to apply a traffic profile to egress traffic on PVC 1 of the
ADSL interface 1/6/1:
ZXAN(config)#interface adsl_1/6/1
35-3
Related Commands
35.2.1 traffic-profile
Function
This command applies a traffic profile to a GPON OLT interface.
Parameters
name2 Direction -
Mode
GPON OLT interface mode
Usage Guidelines
Before using this command to apply a traffic profile to a GPON OLT interface, ensure that
the traffic profile has been created.
Examples
The following example shows how to apply a traffic profile whose name is TEST to the
GPON OLT interface 1/6/1:
ZXAN(config)#interface gpon-olt_1/6/1
ZXAN(config-if)#traffic-profile test direction egress
Related Commands
35.2.1 traffic-profile
35.3.1 show traffic-profile
35-4
Function
This command applies a traffic profile to an ONU interface.
Parameters
name2 Direction -
Mode
GPON ONU interface mode
Usage Guidelines
Before using this command to apply a traffic profile to a port, ensure that the profile has
been created.
Examples
The following example shows how to apply a traffic profile to an ONU interface:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#traffic-profile pf1 vport 1 direction ingress
Related Commands
None
35-5
Function
This command displays the configuration information of a traffic profile.
Parameters
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.
If the interface type is specified, the configured traffic profiles under the interface are
displayed.
Examples
l The following example shows how to display the information of all traffic profiles:
ZXAN(config-if)#show traffic-profile
-----------------------------------------------------------------
No. 1 profile : 123
-----------------------------------------------------------------
No. 2 profile : TEST
l The following example shows how to display the contents of a traffic profile whose
name is “test”:
ZXAN(config-if)#show traffic-profile test
-----------------------------------------------------------------
profile name : TEST
profile detail :
-----------------------------------------------------------------
basic traffic type : ip
committed information rate : 1000 kbps
committed burst size : 102 kbytes
peak information rate : 1000 kbps
peak burst size : 122 kbytes
discard mode : no distinction
color mode : blind
-----------------------------------------------------------------
profile used by :
35-6
gpon-olt_1/15/1
gpon-onu_1/15/1:1:1
Related Commands
show traffic-profile interface
35-7
35-8
36-1
isis tag....................................................................................................................36-35
lsp-mtu ...................................................................................................................36-36
lsp-refresh-time ......................................................................................................36-36
max-lsp-lifetime ......................................................................................................36-37
maximum-paths......................................................................................................36-38
metric-style.............................................................................................................36-39
mpls traffic-eng.......................................................................................................36-40
mpls traffic-eng router-id.........................................................................................36-40
passive-interface ....................................................................................................36-41
redistribute .............................................................................................................36-42
redistribute (IPV6_ISISADDRS Mode)....................................................................36-44
restart enable .........................................................................................................36-45
restart t2-timer........................................................................................................36-46
restart t3-timer........................................................................................................36-46
route-leak ...............................................................................................................36-47
router isis ...............................................................................................................36-48
set-overload-bit ......................................................................................................36-49
set-overload-bit (IPV6_ISISADDRS Mode) .............................................................36-50
show isis adjacency................................................................................................36-51
show isis adjacency up-time ...................................................................................36-52
show isis circuits ....................................................................................................36-53
show isis database .................................................................................................36-54
show isis database verbose....................................................................................36-57
show isis fast-reroute-topology ...............................................................................36-57
show isis hostname ................................................................................................36-58
show isis mesh-groups ...........................................................................................36-59
show isis nsf...........................................................................................................36-60
show isis topology ..................................................................................................36-61
spf-interval .............................................................................................................36-62
summary-address ..................................................................................................36-63
system-id................................................................................................................36-65
Function
This command starts IPv6 ISIS address family configuration mode.
Parameters
None
36-2
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
Special IS-ISv6 configuration commands are only available in IPv6 ISIS address family
configuration mode.
To exit IPv6 ISIS address family configuration mode and return to router ISIS mode, use
the exit command.
Examples
The following example shows how to enter IPv6 ISIS address family configuration mode:
ZXAN(config)#router isis
ZXAN(config-router)#address-family ipv6
ZXAN(config-router-af)#
Related Commands
36.53 router isis
36.2 area
Syntax
area hexadecimal1
no area hexadecimal1
Function
This command configures an IS-IS area address.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
A maximum of three IS-IS area addresses can be configured.
To cancel the configuration, use the no form of this command.
36-3
Examples
The following example shows how to configure IS-IS area addresses:
ZXAN(config)#router isis
ZXAN(config-router)#area 11
ZXAN(config-router)#area 11.1111.1111
Related Commands
None
36.3 authentication
Syntax
authentication {encrypt name1 |name2 } [{level-1 |level-2 } ]
Function
This command configures IS-IS LSP authentication.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If neither level-1 nor level-2 is specified is this command, the authentication will apply to
both Level 1 and Level 2 LSPs.
When this command is used, the same authentication is configured for SNP packets.
To cancel the configuration, use the no form of this command.
36-4
Examples
The following example shows how to configure IS-IS LSP authentication:
ZXAN(config)#router isis
ZXAN(config-router)#authentication zte
ZXAN(config-router)#authentication zte level-1
ZXAN(config-router)#authentication zte level-2
Related Commands
36.12 enable-snp-authentication
36.7 disable-snp-authentication
36.4 authentication-type
Syntax
authentication-type {md5 |text } [{level-1 |level-2 } ]
Function
This command configures the IS-IS LSP authentication type.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If neither level-1 nor level-2 is specified in the command, the authentication type applies to
both Level 1 and Level 2 LSPs.
By default, the clear text authentication is used.
36-5
Examples
The following example shows how to configure the IS-IS LSP authentication type:
ZXAN(config)#router isis
ZXAN(config-router)#authentication-type MD5
ZXAN(config-router)#authentication-type MD5 level-1
ZXAN(config-router)#authentication-type MD5 level-2
ZXAN(config-router)# authentication-type TEXT
ZXAN(config-router)# authentication-type TEXT level-1
ZXAN(config-router)# authentication-type TEXT level-2
Related Commands
None
Function
This command configures a policy for generating a default route.
Parameters
36-6
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If this command is not configured, the system will not advertise the default route in the
redistributed routes.
In metric-style narrow mode, the metric value range is 0–63. In metric-style wide mode,
the metric value range is 0–4261412864.
If the with parameter is specified in the command, a default route in the routing table can
be advertised when the route matches the configured ip-prefix and ip-mask.
If the route-map parameter is specified in the command, a default route in the routing table
can be advertised when the route matches the route map.
When the routing table contains more than 50, 000 routes, the with parameter
is recommended for matching a specific route. The route-map parameter is not
recommended.
36-7
Examples
The following example shows how to configure a policy that allows the system to generate
and advertise a default route no matter whether a default route exists in redistributed
routes:
ZXAN(config)#router isis
ZXAN(config-router)#default-information originate
Related Commands
None
36.6 disable
Syntax
disable
Function
This command stops the IS-IS instance and clears the running status.
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
This command is used to stop the running of the IS-IS instance and clear the running
status.
To restart the IS-IS instance, use the enable command.
Examples
The following example shows how to disable the IS-IS instance and clear the running
status:
ZXAN(config)#router isis
ZXAN(config-router)#disable
Related Commands
36.11 enable
36-8
36.7 disable-snp-authentication
Syntax
disable-snp-authentication
Function
This command disables the authentication for SNP packets.
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
By default, the authentication for SNP packets is enabled when the LSP authentication is
configured.
To enable the authentication for SNP packets, use the enable-snp-authentication command.
Examples
The following example shows how to disable the authentication for SNP packets:
ZXAN(config)#router isis
ZXAN(config-router)#disable-snp-authentication
Related Commands
36.12 enable-snp-authentication
36.8 distance
Syntax
distance number1
no distance
Function
This command configures the priority for IS-IS routes.
36-9
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
This command is applied to both Level 1 and Level 2 at the same time.
To restore the default priority, use the no form of this command.
Examples
The following example shows how to configure the priority for IS-IS routes:
ZXAN(config)#router isis
ZXAN(config-router)#distance 120
Related Commands
None
no distance
Function
This command configures the priority for IS-IS routes.
Parameters
Mode
IPV6_ISISADDRS mode
36-10
Usage Guidelines
This command is applied to both Level 1 and Level 2 at the same time.
To restore the default priority, use the no form of this command.
Examples
The following example shows how to configure the priority for IS-IS routes:
ZXAN(config)#router isis
ZXAN(config-router)#distance 120
Related Commands
None
36.10 distribute-list
Syntax
distribute-list route-map name1 in
no distribute-list
Function
This command configures a policy for adding routes.
Parameters
in Ingress direction -
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a policy for adding ISIS IPv4 routes:
ZXAN(config)#router isis
ZXAN(config-router)#distribute-list route-map kk in
36-11
Related Commands
None
36.11 enable
Syntax
enable
Function
This command restarts the IS-IS instance.
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
When the IS-IS instance stops running, this command can be used to restart the instance.
To stop the running IS-IS instance and clear the running status, use the disable command.
Examples
The following example shows how to restart the IS-IS instance:
ZXAN(config)#router isis
ZXAN(config-router)#enable
Related Commands
36.6 disable
36.12 enable-snp-authentication
Syntax
enable-snp-authentication
Function
This command enables the authentication for SNP packets.
36-12
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The authentication for SNP packets is automatically enabled when the LSP authentication
is configured.
Examples
The following example shows how to enable the authentication for SNP packets:
ZXAN(config)#router isis
ZXAN(config-router)#enable-snp-authentication
Related Commands
36.7 disable-snp-authentication
no fast-reroute alternate-type
Function
This command configures a policy for selecting backup paths. In the policy, the
DownStream Path or LFAs detection method can be used for backup path selection.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
36-13
Usage Guidelines
By default, the LFAs detection method is used in the backup path selection policy.
Examples
The following example shows how to configure the backup path selection policy:
ZXAN(config)#router isis vrf vpn-name
ZXAN(config-router)# fast-reroute alternate-type down-stream-path
Related Commands
36.14 fast-reroute enable
Function
This command enables the IS-IS Fast Reroute (FRR) function.
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
After the FFR is enabled on a global basis, the FRR is enabled on all interfaces with IS-IS
enabled by default.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the IS-IS fast reroute function:
ZXAN(config)#router isis
ZXAN(config-router)#fast-reroute enable
Related Commands
36.13 fast-reroute alternate-type
36-14
Function
This command enables hello PDU padding.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
To cancel the hello PDU padding, use the no form of this command.
Examples
The following example shows how to enable padding point-to-point hello PDUs to 1499
bytes:
ZXAN(config)#router isis
ZXAN(config-router)#hello padding point-to-point
Related Commands
None
36.16 hostname
Syntax
hostname {dynamic }
no hostname {dynamic }
36-15
Function
This command configures an IS-IS hostname.
Parameters
Parameter Description Value
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
To delete the IS-IS hostname, use the no form of this command.
Examples
The following example shows how to configure an IS-IS hostname for authentication:
ZXAN(config)#router isis
ZXAN(config-router)#hostname dynamic
Related Commands
None
36.17 i-spf
Syntax
i-spf
no i-spf
Function
This command configures the IS-IS instance to support incremental SFP calculation.
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
36-16
Examples
The following example shows how to configure the IS-IS instance to support incremental
SPF calculation:
ZXAN(config)#router isis
ZXAN(config-router)#i-spf
Related Commands
None
36.18 ignore-lsp-errors
Syntax
ignore-lsp-errors
no ignore-lsp-errors
Function
This command configures IS-IS to discard of ISPs with checksum errors.
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
By default, LSP with checksum errors are not discarded and the checksum errors are
ignored.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure to IS-IS to discard LSPs with checksum
errors:
ZXAN(config)#router isis
ZXAN(config-router)#ignore-lsp-errors
Related Commands
None
36-17
no ip router isis
Function
This command adds a port to the IS-IS instance.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
To delete a port from the IS-IS instance, use the no form of this command.
Examples
The following example shows how to add a port to the IS-IS instance:
Related Commands
None
36.20 is-type
Syntax
is-type {level-1 |level-1-2 |level-2-only }
no is-type
Function
This command configures the IS-IS instance to run at Level 1, Level 1–2, or Level 2.
36-18
Parameters
level-1 Level 1 -
level-2-only Level 2 -
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
By default, the IS-IS instance runs at Level 1–2.
To restore the default, use the no form of this command.
Examples
The following example shows how to configure the level of the IS-IS instance:
ZXAN(config)#router isis
ZXAN(config-router)#is-type level-1
ZXAN(config-router)#is-type level-1-2
Related Commands
None
Function
This command configures the authentication for hello packets.
Parameters
36-19
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
If neither level-1 nor level-2 is specified in the command, the authentication will be
configured for both Level 1 and Level 2 hello packets.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the authentication for hello packets:
ZXAN(config-if-vlan3)#isis authentication zte level-1
Related Commands
None
Function
This command configures the IS-IS hello packet authentication type.
Parameters
36-20
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
The default authentication type is clear text authentication.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the IS-IS hello packet authentication type:
ZXAN(config-if-vlan3)#isis authentication-type MD5 level-1
Related Commands
None
Function
This command enables the IS-IS BFD function.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Super VLAN interface mode
36-21
Usage Guidelines
None
Examples
The following example shows how to enable the IS-IS BFD function:
ZXAN(config-if-vlan3)#isis bfd-enable
Related Commands
None
no isis circuit-type
Function
This command configures the type of adjacency that is allowed on a port.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
To cancel the setting and restore the default, use the no form of this command.
Examples
The following example shows how to configure the adjacency type on a port to Level 1:
36-22
Related Commands
None
Function
This command configures the interval for sending CSNP packets.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
If neither level-1 nor level-2 is specified in the command, the configured interval will apply
to both Level 1 and Level 2 CSNP packets.
36-23
Examples
The following example shows how to configure the interval for sending CSNP packets:
ZXAN(config-if-vlan3)#isis csnp-interval 5 level-1
Related Commands
None
Function
This command configures the interval for sending hello packets on a port.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
The interval for sending hello packets on a DIS port is 3 seconds, which will not be changed
by this command.
The parameters level-1 and level-2 are available for configuring the hello packet interval
on point-to-point links.
To restore the default, use the no form of this command.
36-24
Examples
The following example shows how to configure the interval for sending hello packets on a
port:
Related Commands
None
Function
This command configures the hello multiplier between the neighbor holding time and the
hello packet interval on a port.
The hello multiplier indicates the number of hello packets that have not been received from
a neighbor router before the corresponding adjacency is considered invalid. The multiplier
is advertised to all neighbor routers of the port. The neighbor holding time is the product
of the hello packet interval and the multiplier on the port.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
36-25
Usage Guidelines
The parameters level-1 and level-2 are not available for point-to-point links.
To restore the default, use the no form of this command.
Examples
The following example shows how to configure the hello multiplier on a port:
ZXAN(config-if-vlan3)#isis hello-multiplier 3 level-1
Related Commands
None
no isis ignore-mtu
Function
This command configures IS-IS to ignore the length verification when an IS-IS packet can
be received on an interface even if the packet size is greater than the MTU size on the
interface.
Parameters
None
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
This command is invalid when a received packet is not completely forwarded due to too
large size. In this case, the packet length will still be verified.
Examples
The following example shows how to configure IS-IS to ignore packet length verification
on an interface:
ZXAN(config-if-vlan3)#isis ignore-mtu
36-26
Related Commands
None
Function
This command configures the interval for sending LSPs.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
If neither level-1 nor level-2 is specified in the command, the configured interval will apply
to both Level 1 and Level 2 LSPs.
Examples
The following example shows how to configure the interval for sending LSPs to one second:
Related Commands
None
36-27
Function
This command configures the maximum number of LSPs that can be sent at a time.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
To restore the default, use the no form of this command.
Examples
The following example shows how to set the maximum number of LSPs that can be sent
at a time to 50:
ZXAN(config-if-vlan3)#isis max-burst 50
Related Commands
None
Function
This command configures the IS-IS mesh group function for an interface.
36-28
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the IS-IS mesh group function for an
interface:
ZXAN(config-if-vlan3)#isis mesh-group 1
Related Commands
None
Function
This command configures the metric value on a port.
36-29
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l TUNNEL configuration mode
l Loopback interface mode
Usage Guidelines
In metric-style narrow mode, the metric value range is 1–63. In metric-style wide mode,
the metric value range is 0–426142864.
To restore the default, use the no form of this command.
Examples
The following example shows how to configure the metric value for a port:
ZXAN(config-if-vlan3)#isis metric 20 level-1
Related Commands
None
Function
This command simulates the point-to-point function on a broadcast port.
36-30
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Super VLAN interface mode
Usage Guidelines
This command only applies to broadcast links.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the network type of a port as point-to-point:
ZXAN(config-if-vlan3)#isis network point-to-point
Related Commands
None
Function
This command configures the priority of a port for selecting DIS.
Parameters
36-31
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Super VLAN interface mode
Usage Guidelines
This command is only valid on broadcast links.
To restore the default, use the no form of this command.
Examples
The following example shows how to configure the port priority for selecting DIS:
ZXAN(config-if-vlan3)#isis priority 20 level-1
Related Commands
None
Function
This command configures the interval for sending PSNP packets.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
36-32
Usage Guidelines
If neither level-1 nor level-2 is specified in the command, the configured interval will apply
to both Level 1 and Level 2 PSNP packets.
Examples
The following example shows how to set the interval for sending PSNP packets to two
seconds:
Related Commands
None
Function
This command configures the number of times that the timer t1 for IS-IS graceful restart
is reset.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Super VLAN interface mode
36-33
Usage Guidelines
If the router is selected as a DIS router on a broadcast link and this command is executed
to configure the number of t1 resets, the isis hello-multiplier command is recommended
on the interface to properly increase the hello multiplier on the interface.
The default value is recommended for an interface without adjacency.
Examples
The following example shows how to set the number of times that the restart timer t1 is
reset to 20:
Related Commands
None
Function
This command configures the graceful restart timer (t1) for IS-IS.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Super VLAN interface mode
36-34
Usage Guidelines
If the router is selected as a DIS router on a broadcast link and this command is executed to
configure the graceful restart interval, the isis hello-multiplier command is recommended
on the interface to properly increase the hello multiplier on the interface.
The default value is recommended for an interface without adjacency.
Examples
The following example shows how to set the graceful restart timer (t1) to 50 seconds:
Related Commands
None
no isis tag
Function
This command configures the tag value on an interface.
Parameters
Mode
l VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
l Loopback interface mode
l Super VLAN interface mode
Usage Guidelines
None
Examples
The following example shows how to set the tag value on an IS-IS interface to 20:
ZXAN(config-if-vlan3)#isis tag 20
36-35
Related Commands
None
36.39 lsp-mtu
Syntax
lsp-mtu number1
no lsp-mtu
Function
This command configures the LSP MTU size.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The default LSP MTU size on a broadcast link is 1497 bytes. This command can be used
to change the LSP MTU size to a value in the range of 512 to 7680 bytes.
This command is not recommended unless specially required.
Examples
The following example shows how to configure the LSP size to 1000:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-mtu 1000
Related Commands
None
36.40 lsp-refresh-time
Syntax
lsp-refresh-time number1
no lsp-refresh-time
36-36
Function
This command configures the LSP refresh interval.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If the maximum LSP lifetime (max-lsp-lifetime) is less than or equal to the LSP refresh
interval (lsp-refresh-time), the LSP refresh interval will be automatically set to 70% of the
maximum LSP lifetime.
To restore the default LSP refresh interval, use the no form of this command.
Examples
The following example shows how to set the LSP refresh interval to 300 seconds:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-refresh-time 300
Related Commands
None
36.41 max-lsp-lifetime
Syntax
max-lsp-lifetime number1
no max-lsp-lifetime
Function
This command configures the maximum lifetime of LSP.
Parameters
36-37
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The maximum LSP lifetime must be longer than the LSP refresh interval.
To restore the default maximum LSP lifetime, use the no form of this command.
Examples
The following example shows how to configure the maximum LSP lifetime to 500 seconds:
ZXAN(config)#router isis
ZXAN(config-router)#max-lsp-lifetime 500
Related Commands
None
36.42 maximum-paths
Syntax
maximum-paths number1
no maximum-paths
Function
This command configures the maximum number of equivalent routes supported by the
IS-IS.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If maximum-paths is not specified, the default number of supported equivalent routes is 1,
meaning that only one equivalent route is supported.
36-38
Examples
The following example shows how to configure the maximum number of supported
equivalent routes to 2:
ZXAN(config)#router isis
ZXAN(config-router)#maximum-paths 2
Related Commands
None
36.43 metric-style
Syntax
metric-style {narrow |wide }
no metric-style
Function
This command configures the IS-IS metric type.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
By default, the metric type is narrow.
This command applies to both Level 1 and Level 2 areas. If the metric type changes, the
redistribution policy, summary policy, and the metric and default route on the interface will
be deleted.
To restore the default metric type, use the no form of this command.
Examples
The following example shows how to configure the IS-IS metric type:
ZXAN(config)#router isis
ZXAN(config-router)#metric-style narrow
ZXAN(config-router)#metric-style wide
36-39
Related Commands
None
Function
This command configures MPLS traffic engineering for IS-IS.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The metric style must be set to wide before IS-IS traffic engineering configuration.
Examples
The following example shows how to enable traffic engineering of Level 1 IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#mpls traffic-eng level-1
Related Commands
None
36-40
Function
This command configures a router ID for MPLS traffic engineering with IS-IS.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The metric style must be set to wide before IS-IS traffic engineering configuration.
Examples
The following example shows how to enable traffic engineering and configure a router ID
for Level 1 IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#mpls traffic-eng level-1
ZXAN(config-router)#mpls traffic-eng router-id loopback1
Related Commands
None
36.46 passive-interface
Syntax
passive-interface {default |interface1 }
Function
This command configures an interface as an IS-IS passive interface that does not send
IS-IS hello packets or receive any IS-IS packets. No adjacency can be established
between the passive interface and other routers.
36-41
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If there is only one interface with IS-IS enabled, this interface can still be configured as a
passive interface. By default, all interfaces are passive interfaces.
Examples
The following example shows how to configure the interface VLAN 2 as a passive interface:
ZXAN(config)#router isis
ZXAN(config-router)#passive-interface vlan 2
Related Commands
None
36.47 redistribute
Syntax
redistribute name1 [{[{level-1 |level-1-2 |level-2 } ] [metric number1 ] [metric-type name2 ] [rou
te-map name3 ] }]
no redistribute name1
Function
This command configures a filter policy for redistributing routes from another routing
protocol to IS-IS.
Parameters
name1 Specifies the source of routes to connect, static, rip, ospf, or bgp
be redistributed.
36-42
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If neither level-1 nor level-2 is specified, this command redistributes routes to Level-2
database.
If the metric style is set to narrow, the metric value range is 0–63. If the metric style is set
to wide, the metric value range is 0–4261412864.
Examples
The following example shows how to configure a filter policy for redistributing routes from
another protocol to IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#redistribute bgp
ZXAN(config-router)#redistribute bgp level-1
ZXAN(config-router)#redistribute bgp level-2
ZXAN(config-router)#redistribute bgp level-1 metric 20
ZXAN(config-router)#redistribute bgp level-1 metric 20 metric-type internal
ZXAN(config-router)#redistribute ospf level-1 metric 20
Related Commands
None
36-43
Function
This command configures a filter policy for redistributing routes from another routing
protocol to IS-IS.
Parameters
name1 Specifies the source of routes to connect, static, rip, ospf, or bgp
be redistributed.
Mode
IPV6_ISISADDRS mode
Usage Guidelines
If neither level-1 nor level-2 is specified, this command redistributes routes to Level-2
database.
If the metric style is set to narrow, the metric value range is 0–63. If the metric style is set
to wide, the metric value range is 0–4261412864.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a filter policy for redistributing routes from
another protocol to IS-IS:
36-44
ZXAN(config)#router isis
ZXAN(config-router)#redistribute bgp
ZXAN(config-router)#redistribute bgp level-1
ZXAN(config-router)#redistribute bgp level-2
ZXAN(config-router)#redistribute bgp level-1 metric 20
ZXAN(config-router)#redistribute bgp level-1 metric 20 metric-type internal
ZXAN(config-router)#redistribute ospf level-1 metric 20
Related Commands
None
Function
This command enables the IS-IS graceful-restart.
Parameters
None
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
If a specific is-type is configured for the router, neighbors supporting the is-type must exist
for successful database synchronization.
By default, the timer t2 is set to 60 seconds and the timer t3 is set to 65535 seconds. The
timer settings are adjusted in accordance with the settings in hello packets received from
neighbors.
Examples
The following example shows how to enable the IS-IS graceful restart:
ZXAN(config)#router isis
ZXAN(config-router)#restart enable
Related Commands
None
36-45
Function
This command configures the timer t2 for the ISIS graceful restart.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
By default, the timer t2 is set to 60 seconds. The timer is adjusted in accordance with the
holding time in hello packets received from neighbors.
Examples
The following example shows how to configure the timer t2 for the IS-IS graceful restart:
ZXAN(config)#router isis
ZXAN(config-router)#restart t2-timer 60
Related Commands
None
36-46
no restart t3-timer
Function
This command configures the timer t3 for the IS-IS graceful restart.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The timer t3 is set to 65535 by default. The timer is adjusted in accordance with the settings
in hello packets received from neighbors.
Examples
The following example shows how to configure the timer T3 for the IS-IS graceful restart:
ZXAN(config)#router isis
ZXAN(config-router)#restart t3-timer manual 60
Related Commands
None
36.52 route-leak
Syntax
route-leak {level-2 } into {level-1 } route-map name1
36-47
Function
This command configures IS-IS route leaking from Level 2 to Level 1.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure IS-IS IPv4 route leaking from Level 2 to
Level 1:
ZXAN(config)#router isis
ZXAN(config-router)#route-leak level-2 into level-1 route-map 66
Related Commands
None
no router isis
Function
This command starts the IS-IS routing process and enters configuration mode of the
process.
36-48
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
By default, the IS-IS protocol is disabled.
To delete the IS-IS routing process, use the no form of this command.
Examples
The following example shows how to enter IS-IS routing process configuration mode:
ZXAN(config)#router isis
ZXAN(config-router)#
Related Commands
None
36.54 set-overload-bit
Syntax
set-overload-bit [on-start-up {number1 |auto [number2 ] |wait-for-bgp [number3 ] } ] [suppress
{interlevel |external |all } ]
no set-overload-bit
Function
This command sets the overload (OL) flag for the IS-IS.
Parameters
36-49
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
To cancel the setting, use the no form of this command.
If the current OL flag is set automatically due to limited protocol memory, the no form of
this command will not clear the current OL flag setting.
Examples
The following example shows how to set the OL flag for the IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#set-overload-bit
Related Commands
None
no set-overload-bit
36-50
Function
This command sets the OL flag for the IS-IS.
Parameters
None
Mode
IPV6_ISISADDRS mode
Usage Guidelines
To cancel the setting, use the no form of this command.
If the current OL flag is set automatically due to limited protocol memory, the no form of
this command will not clear the current OL flag setting.
Examples
The following example shows how to set the OL flag for the IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#set-overload-bit
Related Commands
None
Function
This command displays information about current adjacencies.
Parameters
Parameter Description Value
36-51
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about current adjacencies:
ZXAN#show isis adjacency
Interface System id State Lev Holds SNPA(802.2) Pri
gei_1/21/1 0000.0a0a.0a0a UP L1 9 802.2 00:e0:63:06:05:c0 64
Field Description
State UP or INIT
Related Commands
None
Function
This command displays the up time of the current adjacency.
36-52
Parameters
Mode
Any mode except user mode
Usage Guidelines
The parameter level-1 or level-2 must be specified in the command if up_time is specified.
Examples
The following example shows how to display the up time of the current adjacency:
ZXAN(config)#show isis adjacency up-time level-1
Related Commands
None
Function
This command displays information about the current IS-IS port.
Parameters
Mode
Any mode except user mode
36-53
Usage Guidelines
If a VRF name is specified in the command, the circuit information in the IS-IS VPN instance
will be displayed.
Examples
The following example shows how to display information about the current IS-IS port:
Field Description
Related Commands
None
Function
This command displays information about the current IS-IS database.
36-54
Parameters
Parameter Description Value
Mode
Any mode except user mode
Usage Guidelines
If a VRF name is specified in the command, the LSP database information in the IS-IS
VPN instance will be displayed.
Examples
l The following example shows how to display information about the current IS-IS
database:
ZXAN#show isis database
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
1921.6800.5080-00-00 0x00000025 0x34E3 1078 0/0/0
1921.6800.5081-00-00 0x00000020 0Xd301 1103 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0
1921.6800.5081-00-00 0x00000022 0Xd2A1 1103 1/0/0
Field Description
36-55
l The following example shows how to display detailed information about the current
IS-IS database:
ZXAN#show isis database detail
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.2232.1111-01
Metric 10 IS neighbor 1001.AC32.11D1-02
3421.68AC.0010-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.0755.1111-01
Metric 10 IS neighbor 1001.AC32.0063-02
Field Description
IS neighbor IS neighbor
Hostname Hostname
Related Commands
None
36-56
Function
This command displays LSP information, including route tag information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If a VRF name is specified in the command, the LSP database information in the IS-IS
VPN instance will be displayed.
Examples
The following example shows how to display LSP information:
Related Commands
None
36-57
Function
This command displays the fast reroute topology.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current IS-IS fast reroute topology:
ZXAN#show isis fast-reroute-topology level-1 vrf vpn-name
Related Commands
None
Function
This command displays the IS-IS hostname.
Parameters
36-58
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current IS-IS hostname:
ZXAN(config)#show isis hostname
Related Commands
None
Function
This command displays information about IS-IS mesh groups.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about IS-IS mesh groups:
36-59
Related Commands
None
Function
This command displays current values of IS-IS NSF parameters.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command can be used to display related parameters during graceful restart of the
router.
Examples
The following example shows how to display current values of IS-IS NSF parameters:
ZXAN#show isis nsf
IS-IS NSF information:
NSF is ENABLE
NSF mode is Normal
NSF L1 active interface: 1
NSF L2 active interface: 1
NSF L1 T2 remaining: 20 seconds
NSF L2 T2 remaining: 20 seconds
NSF T3 using Adjacency
NSF T3 remaining: 10 seconds
Interface:gei_0/1/1
NSF L1 restart state: restart
36-60
Related Commands
None
Function
This command displays the topology of the current IS-IS.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the topology of the current IS-IS:
ZXAN#show isis topology
IS-IS paths to level-1 routers
System id Metric Next-Hop Interface SNPA
0000.0000.0002 10 0000.0000.0002 gei_1/21/1 0000.0c03.6bc5
36-61
0000.0000.0005 --
0000.0000.0053 10 0000.0000.0053 gei_1/21/1 0060.3e58.ccde
Field Description
Related Commands
None
36.66 spf-interval
Syntax
spf-interval number1 [{level-1 |level-2 } ]
no spf-interval [{level-1 |level-2 } ]
Function
This command configures the SPF calculation interval.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
36-62
Usage Guidelines
If neither level-1 nor level-2 is specified, this command applies to both Level-1 and Level-2
areas.
To restore the default SPF calculation interval, use the no form of this command.
Examples
The following example shows how to set the SPF calculation interval to 10 seconds:
ZXAN(config)#router isis
ZXAN(config-router)#spf-interval 10
ZXAN(config-router)#spf-interval 10 level-1
ZXAN(config-router)#spf-interval 10 level-2
Related Commands
None
36.67 summary-address
Syntax
summary-address ip_addr1 ip_addr2 [{[metric number1 ] [tag number2 ] [{level-1 |level-1-2 |lev
el-2 } ] }]
no summary-address ip_addr3 ip_addr2
Function
This command configures the IS-IS address summarization.
Parameters
36-63
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The port address is summarized to the Level-2 summary address instead of the Level-1
summary address.
If the metric style is narrow, the metric value range is 0–63. If the metric style is wide, the
metric value range is 0–4261412864.
To cancel the address summarization, use the no form of this command.
Examples
ZXAN(config)#router isis
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10 level-1
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10 level-2
Related Commands
None
36-64
36.68 system-id
Syntax
system-id hexadecimal1 [range number1 ]
no system-id
Function
This command configures the system ID of the IS-IS instance.
Parameters
Mode
Router ISIS mode: ZXAN(config-router)#
Usage Guidelines
The IS-IS protocol cannot be enabled if the system ID is not configured.
Before changing the system ID, use the no form of this command to delete the old system
ID.
To delete the system ID, use the no form of this command.
Examples
The following example shows how to configure the system ID of the IS-IS instance:
ZXAN(config)#router isis
ZXAN(config-router)#system-id 1111.1111.1111
ZXAN(config-router)#system-id 1111.1111.1111 range 32
Related Commands
None
36-65
36-66
37-1
37.1 instance
Syntax
instance number1 vlans range1
no instance number1 [vlans range1 ]
Function
This command creates an instance in MSTP mode, and maps it to the corresponding VLAN
table.
Parameters
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
37.2 name
37.3 revision
37.25 spanning-tree mst configuration
37-2
37.2 name
Syntax
name [name1 ]
no name
Function
This command configures an MSTP domain name.
Parameters
Mode
MSTP mode: ZXAN(config-mstp)#
Usage Guidelines
When setting STP mode to 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.
By default, an MSTP domain name is a character string matching an in-band MAC address.
Examples
The following example shows how to set the MSTP domain name to zte:
ZXAN(config-mstp)#name zte
Related Commands
37.1 instance
37.3 revision
37.25 spanning-tree mst configuration
37.7 show spanning-tree mst configuration
37.3 revision
Syntax
revision number1
37-3
no revision
Function
This command sets an MSTP configuration version number.
Parameters
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
37.1 instance
37.2 name
37.25 spanning-tree mst configuration
37.7 show spanning-tree mst configuration
Function
This command displays information about the ports that are protected by the root port or
blocked by loopback.
37-4
Parameters
None
Mode
All modes except user mode
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:
Related Commands
37.5 show spanning-tree instance
Function
This command displays information about an instance and its associated port.
Parameters
Mode
All modes except user mode
37-5
Usage Guidelines
A port joins the VLAN that matches the port-associated instance and establishes a link. If
the link is disconnected, information about the instance and port will not be displayed even
though the port joins a VLAN that matches specified instance.
Examples
The following example shows how to display information about instance 0:
MST00
Spanning tree enabled protocol MSTP
Root ID: Priority 32768; Address 00d0.d082.5005
Hello-Time 2 sec; Max-Age 20 sec
Forward-Delay 15 sec;
Interface Prio.Nbr
Name Port ID Cost Sts Role LinkType Bound
--------------------------------------------------------------------------
gei_1/19/4 128.50 20000 Forward Designated p2p MSTP
Related Commands
37.6 show spanning-tree interface
Function
This command displays information about all the instances of a specified port.
37-6
Parameters
Mode
All modes except user mode
Usage Guidelines
If the link has been established, when a port joins a VLAN that matches a port-associated
instance, information about the instance will be displayed.
Examples
The following example shows how to display information about all the instances of the port
gei_1/21/1:
Related Commands
37.5 show spanning-tree instance
Function
This command displays configurations in MSTP mode.
Parameters
None
Mode
All modes except user mode
37-7
Usage Guidelines
None
Examples
The following example shows how to display configuration information about the current
MST:
Related Commands
37.5 show spanning-tree instance
Function
This command displays the statistics for an STP port.
Parameters
Mode
Any mode
37-8
Usage Guidelines
None
Examples
The following example shows how to display the statistics for the port gei_1/21/1:
ZXAN(config)#show spanning-tree statistics gei_1/21/1
statistics of port gei_1/21/1
--------------------------------------------------------------
BPDU-related parameters
--------------------------------------------------------------
port spanning-tree Enabled
edge_port Disabled
state(instance 0) Learn
port_priority(instance 0) 0x80
port_number 0x01
path cost (instance 0) 20000
designated_root 00-d0-d0-92-80-12
designated_ext_cost 0
designated_int_cost 0
designated_bridge 00-d0-d0-92-80-12
designated_port 0x8001
--------------------------------------------------------------
Port based information & statistics
--------------------------------------------------------------
all BPDU xmitted 9
all BPDU received 0
MST BPDU xmitted 9
MST BPDU received 0
RST BPDU xmitted 0
RST BPDU received 0
config BPDU xmitted 0
config BPDU received 0
TCN BPDU xmitted 0
TCN BPDU received 0
discard BPDU 0
--------------------------------------------------------------
Bridge based information
--------------------------------------------------------------
spanning-tree type ieee
multicast mac address 01-80-c2-00-00-00
bridge priority 32768
bridge mac address 00-d0-d0-92-80-12
bridge hello time 2 sec
bridge forward delay 15 sec
37-9
Related Commands
37.6 show spanning-tree interface
Function
This command displays the current status of the STP transparent transmission flag.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
With this configuration, the chip does not transmit the received BPDU packets to the CPU,
but instead broadcasts them in the VLAN.
Examples
The following example shows how to display the current status of the STP transparent
transmission flag:
ZXAN(config)#show spanning-tree transparent
Spanning-tree transparent is disabled
Related Commands
37.33 spanning-tree transparent
37-10
Function
This command configures a port's BPD guard for BPDU packets.
Parameters
Mode
Layer-2 FEI, Layer-2 GEI, and 10G_Ether interface mode
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/21/1, and the port is shut
down.
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#spanning-tree bpduguard action shutdown
Related Commands
None
Function
This command enables or disables participation of a port in spanning tree calculation.
Parameters
None
37-11
Mode
Layer-2 FEI, Layer-2 GEI, and PortCh interface mode
Usage Guidelines
By default, the interface configuration mode is enable.
With this configuration, the port does not forward BPDU packets, or participate in spanning
tree calculation, or transmit protocol packets. When the port establishes a link, it changes
its status to forwarding immediately. When the link is disconnected, it changes its status
to disable immediately.
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
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:
37-12
ZXAN(config)#spanning-tree disable
Related Commands
None
Function
This command enables or disables an edged STP port.
Parameters
Mode
Layer-2 FEI, Layer-2 GEI, and PortCh interface mode
Usage Guidelines
The port connected to a computer can be set as an edged port by using this command.
Then the specified port is in forwarding state or switches to the forwarding state quickly.
Examples
The following example shows how to set the port gei_1/21/1 as an edge port:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#spanning-tree edged-port enable
Related Commands
None
37-13
Function
This command enables or disables an edged STP port.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
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.
When this command is used without the interface1 parameter, all the uplink ports are
configured as edged ports in batches.
Examples
The following example shows how to set all the ports to edged ports:
Related Commands
None
37-14
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 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
Function
This command enables STP.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global configuration mode is disable.
37-15
Examples
The following example shows how to enable the global STP protocol:
ZXAN(config)#spanning-tree enable
Related Commands
None
no spanning-tree forward-delay
Function
This command configures the forwarding delay time of the STP protocol.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The relationship among the parameter values of forward-delay, hello-time, and max-age
is as follows:
Users should ensure the configuration relationship because the system does not check
the code validity.
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 set the forwarding delay time to 16 seconds:
ZXAN(config)#spanning-tree forward-delay 16
37-16
Related Commands
37.31 spanning-tree mst max-hops
37.20 spanning-tree hello-time
Function
This command sets the STP guard type of a port as loop.
Parameters
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 set 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
37-17
Function
This command sets the STP guard type of a port as root.
Parameters
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 set 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
Function
This command configures the STP hello time (the interval for sending BPDU packets).
Parameters
Mode
Configuration mode: ZXAN (config)#
37-18
Usage Guidelines
The relationship among the parameter values of forward-delay, hello-time, and max-age
is as follows:
Examples
The following example shows how to set the interval for sending BPDU packets to 3
seconds:
ZXAN(config)#spanning-tree hello-time 3
Related Commands
37.31 spanning-tree mst max-hops
37.17 spanning-tree forward-delay
Function
This command configures the link type of a port.
Parameters
Mode
Layer-2 FEI, Layer-2 GEI, and PortCh interface mode
37-19
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.
For the type auto, the real link type of a port depends on its transmission mode, share for
half-duplex and p2p for duplex.
Examples
The following example shows how to set the link type of the port gei_1/21/1 to P2P:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#spanning-tree linktype p2p
Related Commands
37.32 spanning-tree packet-type
Function
This command configures the maximum active time of STP BPDU packets.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The relationship among the parameter values of forward-delay, hello-time, and max-age
is as follows:
2 × (forward-delay - 1.0 seconds) >= max-age
max-age >= 2 × (hello-time + 1.0 seconds)
Users should ensure the configuration relationship because the system does not check
the code validity.
37-20
To reset the configured time to the default value, use the no form of this command.
Examples
The following example shows how to set the maximum active time of STP BPDU packets
to 21 seconds:
ZXAN(config)#spanning-tree max-age 21
Related Commands
37.31 spanning-tree mst max-hops
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
Examples
The following example shows how to configure STP check for the interface gei_1/21/1:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#spanning-tree mcheck
Related Commands
None
37-21
Function
This command configures the current mode of the STP protocol.
Parameters
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 set the current mode of the STP protocol to RSTP:
Related Commands
37.7 show spanning-tree mst configuration
Function
This command enters MSTP configuration mode.
37-22
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:
Related Commands
37.7 show spanning-tree mst configuration
Function
This command configures the digest value.
Parameters
cisco CISCO -
huawei HUAWEI -
Mode
Configuration mode: ZXAN (config)#
37-23
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's switches before
users interface ZTE's switches with CISCO's or HUAWEI's 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:
Related Commands
37.28 spanning-tree mst hmd5-key
Function
This command updates the Hmd5 value automatically. By default, this function is disabled.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The hmd5-key used by CISCO does not meet IEEE standards, and therefore the
hmd5-digest value generated by CISCO's equipment is different from that by ZTE's even
with the same instance configuration. With this command, when users interface ZTE's
equipment with CISCO's, the system share the same digest value as its peer equipment
by automatically acquiring the digest value in the BPDU packets from the peer CISCO's
equipment.
To reset the configured value to the default value, use the no form of this command.
37-24
Examples
The following example shows how to update the Hmd5 value automatically:
ZXAN(config)#spanning-tree mst hmd5-digest auto-update
Related Commands
None
Function
This command configures the Hmd5 key value for the digest of the mst_config_id.
Parameters
cisco CISCO -
huawei HUAWEI -
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:
37-25
Related Commands
37.26 spanning-tree mst hmd5-digest
Function
This command configures the path cost for an MST port.
Parameters
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 based on the port rate.
For a nonzero instance, its real priority equals the priority configuration value plus instance
number.
Rate–Path Mapping Table
Rate Suggested value Suggested range
<=100 Kb/s 200 000 000 20 000 000-200 000 000
1Mb/s 20 000 000 2 000 000-200 000 000
10Mb/s 2 000 000 200 000-20 000 000
100M/s 200 000 20 000-2 000 000
1Gb/s 20 000 2 000-200 000
37-26
Examples
The following example shows how to set the path cost of instance 0 for the port gei_1/21/1
to 30000:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000
Related Commands
37.5 show spanning-tree instance
Function
This command configures the priority of a bridge in an established instance.
Parameters
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. For a nonzero
instance, its real priority equals the priority configuration value plus instance number.
Examples
The following example shows how to set the priority of the bridge in instance 0 to 4096:
37-27
Related Commands
37.5 show spanning-tree instance
Function
This command configures the maximum effective hop count of a BPDU packet in the MST
area.
Parameters
Mode
Configuration mode: ZXAN (config)#
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 set the maximum effective hop count to 23:
Related Commands
37.5 show spanning-tree instance
37-28
Function
This command configures the BPDU packet type for an MSTP port.
Parameters
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.
Examples
The following example shows how to set the BPDU packet type for the MSTP port
gei_1/21/1 to CISCO:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#spanning-tree packet-type CISCO
Related Commands
37.21 spanning-tree linktype
37-29
Function
This command enables or disables the current transparent STP transmission.
Parameters
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
37.9 show spanning-tree transparent
37-30
Function
This command clears the counter of received and transmitted LACP packets.
Parameters
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:
38-1
(2) The following example shows how to clear the counter of the interfaces in all the
aggregation groups:
ZXAN# clear lacp counters
Related Commands
38.5 show lacp
Function
This command configures the LACP port priority.
Parameters
Mode
Layer-2 GEI interface mode, 10G_Ether interface mode: ZXAN(config-if)#, and PTP
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 set the LACP port priority to 100:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#lacp port-priority 100
Related Commands
38.5 show lacp
38-2
no lacp protection
Function
This command configures 1:1 protection for an LACP interface.
Parameters
None
Mode
L2 GEI interface mode and 10G_Ether interface mode: ZXAN(config-if)#, ptp interface
mode
Usage Guidelines
(1) The 1:1 protection of an interface can be configured only in On mode.
(2) The 1:1 protection can be configured only when the number of the member interfaces
in an aggregation group is less than 2.
(3) In an aggregation group, only one member interface can be configured to 1:1 protection.
(4) To check whether the configuration takes effect, run the show lacp interface command
to verify that the Backup attribute is backup.
(5) For two active interfaces, the one that is configured with 1:1 protection becomes
inactive. When the active interface is ineffective, the inactive interface becomes active.
(6) The remote interface does not need to join an aggregation group.
Examples
The following example shows how to configure 1:1 protection for the interface gei_1/21/1:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#lacp protection
Related Commands
38.5 show lacp
38-3
Function
This command configures the LACP timeout mode for an interface.
Parameters
Mode
Layer-2 GEI interface mode, 10G_Ether interface mode: ZXAN(config-if)#, and PTP
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 short timeout mode for the
interface gei_1/21/1:
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#lacp timeout short
Related Commands
38.5 show lacp
38-4
Function
This command displays the current LACP configuration and state.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
38-5
Examples
(1) The following example shows how to display aggregator information of aggregation
group 1:
(2) 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
(3) The following example shows how to display detailed interface information of a group
member gei_1/21/1:
(4) The following example shows how to display the aggregation state of member
interfaces in aggregation group 1:
(5) The following example shows how to display the peer end configuration in aggregation
group 1:
(6) The following example shows how to display the global system ID of the aggregation
groups:
(7) The following example shows how to display the system ID of aggregation group 1:
ZXAN#show lacp 1 sys-id
Related Commands
38.6 smartgroup
38.6 smartgroup
Syntax
smartgroup number1 mode {passive |active |on }
no smartgroup
38-6
Function
This command adds an interface to a link aggregation group, and sets the link aggregation
mode for the interface.
Parameters
Mode
Layer-2 GEI interface mode, 10G_Ether interface mode: ZXAN(config-if)#, and PTP
interface mode
Usage Guidelines
(1) VLAN configurations, uplink and downlink attributes, 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.
(2) The mode in which a member interface joins an aggregation group must be the same as
the aggregation mode configured for the group. Otherwise, the member interface cannot
join the group.
(3) 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.
38-7
(4) All the member interfaces must be set to dynamic or static aggregation. Otherwise, the
interface later added cannot join the aggregation group.
(5) Both ends must be set to 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) To delete an interface from a link aggregation group, use the no form of this command.
Examples
The following example shows how to add the interface gei_1/21/1 to aggregation group 1:
Related Commands
38.5 show lacp
no smartgroup load-balance
Function
This command configures the load balance mode for a link aggregation group.
Parameters
Mode
PortChL2 interface mode
38-8
Usage Guidelines
An aggregation group balances data flows based on a configured load-balance mode. The
following six modes are supported:
Examples
The following example shows how to set the load balance mode for link aggregation group
1 to src-mac:
Related Commands
38.5 show lacp
no smartgroup mode
Function
This command configures the aggregation mode of a link aggregation group.
Parameters
Mode
PortChL2 interface mode
38-9
Usage Guidelines
(1) The system supports two aggregation modes, on (for static aggregation) and 802.3ad
(for dynamic aggregation).
(2) The aggregation mode of a link aggregation group cannot be modified until all the
member interfaces are removed from the group.
(3) The mode in which a member interface joins an aggregation group must be the same as
the aggregation mode configured for the group. Otherwise, the member interface cannot
join the group.
(4) To reset the default aggregation mode, use the no form of this command.
Examples
The following example shows how to set the aggregation mode of aggregation group 1 to
802.3ad:
ZXAN(config)#interface smartgroup1
ZXAN(config-smartgroup1)#smartgroup mode 802.3ad
Related Commands
38.6 smartgroup
Function
This command configures the system MAC of a link aggregation group.
Parameters
Mode
PortChL2 interface mode
Usage Guidelines
(1) The system MAC of a link aggregation group can be configured only in 802.3ad mode.
38-10
(2) This command is used to modify the actor system mac contained in LACP packets
for dynamic aggregation.
(3) To reset the default system MAC, use the no form of this command.
Examples
The following example shows how to configure the system MAC of aggregation group 1:
ZXAN(config)# interface smartgroup1
ZXAN(config-smartgroup1)# smartgroup sys-mac 1234.1234.1234
Related Commands
38.8 smartgroup mode
Function
This command configures the system priority of an aggregation group.
Parameters
Mode
PortChL2 interface mode
Usage Guidelines
(1) The system priority of an aggregation group can be configured only in 802.3ad mode.
(2) The local end selects the interfaces that join the link aggregation group based on the
system priority configured by the peer end.
(3) To reset the default priority, use the no form of this command.
Examples
The following example shows how to set the system priority of aggregation group 1 to 100:
ZXAN(config)# interface smartgroup1
38-11
Related Commands
38.5 show lacp
38-12
39.1 bfd
Syntax
bfd next-hop ip_addr1 vlan number1
no bfd next-hop
Function
This command configures BFD for UAPS.
Parameters
Mode
uaps-group configuration mode
Usage Guidelines
Static IP BFD must be enabled on the remote device.
39-1
Examples
ZXAN(cfg-uaps-1)#bfd next-hop 100.1.2.3 vlan 100
Related Commands
None
39.2 interval-link-detect
Syntax
interval-link-detect number1
Function
This command sets the interval for detecting links.
Parameters
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:
ZXAN(cfg-uaps-1)#interval-link-detect 10
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control : disable
PortLight control : disable
Protect-time : 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 Link status : connected or NA
Switch-type : common port
39-2
Related Commands
39.3 next-hop
39.3 next-hop
Syntax
next-hop ip_addr1 [link-type name1 ]
no next-hop
Function
This command sets the next hop IP address of the UAPS service.
Parameters
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.
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 control : disable
Protect-time : 10s
Next-hop : 0.0.0.0
39-3
The following example shows how to delete the next hop of the UAPS service:
ZXAN(cfg-uaps-1)#no next-hop
Protect-time : 10s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
gei_1/21/1 : up
39-4
gei_1/21/2 : up
Related Commands
None
39.4 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
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.
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 control : disable
Protect-time : 300s
Next-hop : 0.0.0.0
Bfd next_hop : 0.0.0.0
Link-type : normal
39-5
Link-detect-retry : 5
Link-detect-interval : 3
Link status : connected or NA
Bfd Link status : connected or NA
Switch-type : common port
Master ports status : forwarding
gei_1/21/1 : up
The following example shows how to delete active and standby ports from UAPS group1:
Related Commands
None
39.5 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.
39-6
Parameters
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:
Protect-time : 300s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
39-7
gei_1/21/1 : up
Related Commands
None
39.6 protect-time
Syntax
protect-time number1
no protect-time
Function
This command sets the protection time.
Parameters
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.
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
39-8
Protect-time : 10s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
gei_1/21/1 : up
gei_121/2 : up
Related Commands
None
39.7 retry-link-detect
Syntax
retry-link-detect number1
Function
This command sets the number of link detection times.
39-9
Parameters
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 control : disable
Protect-time : 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 Link status : connected or NA
Switch-type : common port
Master ports status : forwarding
gei_1/21/1 : up
Related Commands
39.3 next-hop
39.8 revertive
Syntax
revertive name1
39-10
Function
This command sets whether the active/standby status of a UAPS group can be
automatically restored.
Parameters
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
Protect-time : 300s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
39-11
gei_1/21/1 : up
gei_1/21/2 : up
Related Commands
None
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.
The show uaps groupid <id> command displays the configuration of a specified UAPS
group.
Examples
l The following example shows how to display all configured UAPS groups:
ZXAN(config)#show uaps
Group List :
39-12
---------------------------------------
1 2
l The following example shows how to display the configuration of a UAPS group:
ZXAN(cfg-uaps-1)#show uaps groupid 1
Protect-time : 300s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
gei_0/3/1 : up
gei_0/3/2 : up
Related Commands
None
39-13
39.10 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:
Protect-time : 300s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
39-14
gei_1/21/1 : up
gei_1/21/2 : up
ZXAN(cfg-uaps-1)#swap
Protect-time : 300s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
gei_1/21/1 : up
39-15
gei_1/21/2 : up
Related Commands
None
39.11 switch-type
Syntax
switch-type name1
Function
This command configures the switchover type of a UAPS group.
Parameters
Mode
uaps-group configuration mode
Usage Guidelines
In 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.
In 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.
In max-ports-switch mode, ports in UP status are counted for the active and standby UAPS
groups. The group with the maximum number of UP ports is set to forwarding status.
Examples
The following example shows how to set to UAPS group 1 to the trunking-port mode:
ZXAN(config)#interface smartgroup1
39-16
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
Protect-time : 300s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
39-17
gei_1/21/1 : up
gei_1/21/2 : up
gei_1/21/3 : up
gei_1/21/4 : up
Related Commands
None
39.12 uaps-group
Syntax
uaps-group number1
no uaps-group number1
Function
This command adds or deletes a UAPS group.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
After a UAPS group is deleted, the originally blocked port is shut down to avoid loops.
39-18
Examples
The following example shows how to create UAPS group 1:
ZXAN(config)#uaps-group 1
Protect-time : 300s
Next-hop : 0.0.0.0
Link-type : normal
Link-detect-retry : 5
Link-detect-interval : 3
ZXAN(config)#no uaps-group 1
ZXAN(config)#show uaps
39-19
Group List :
---------------------------------------
No UAPS group!
Related Commands
None
39-20
40.1 clear
Syntax
clear
Function
This command clears forcible/manual switching, or change the ring network from pending
to idle status on the owner node.
Parameters
None
40-1
Mode
ERPS configuration mode
Usage Guidelines
To clear forcible/manual switching, you must execute this command on the corresponding
configuration node.
Examples
ZXAN(cfg-erps-1)#forced-switch port0
Please show erps to see the result.
ZXAN(cfg-erps-1)#clear
Please show erps to see the result.
ZXAN(cfg-erps-1)#show erps instance 1
InstanceId: 1 RingId: 50 ProtectInstance: 1
State: pending
Mode: revertive
NodeRole :common
Raps-channel:vlan:100 mel:7 priority: 7
Port0 : gei_1/3/3(common) Portstate: block / up
Monitor--
Port1 :gei_1/4/3(common) Portstate: forward / up
Monitor --
Wtr-timer : 1 min State : stop
Wtb-timer : 6 s State : stop
Guard-timer :500 ms State: stop
Switch-times: 2
40-2
Related Commands
None
Function
This command clears ERPS statistical information.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
ZXAN#clear erps-stat
Related Commands
None
Function
This command turns on all ERPS debug switches.
40-3
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
ZXAN#debug erps all
Related Commands
10.98 terminal monitor
Function
This command turns on the debug switch for printing transmitted and/or received ERPS
packets.
Parameters
Mode
Privileged mode: ZXAN#
40-4
Usage Guidelines
This command prints raw ERPS packets.
Examples
ZXAN#debug erps bytes
Erps bytes debugging is on
Nov 1 01:43:14:
ERPS:packet direction in, instance 1
01 19 A7 00 00 32 00 D0 D0 99 88 77 81 00 E0 64
89 02 E1 28 00 20 00 A0 00 D0 D0 99 88 77 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00
Related Commands
10.98 terminal monitor
Function
This command turns on the debug switch for printing ERPS error messages.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
ZXAN#debug erps error
40-5
Related Commands
10.98 terminal monitor
Function
This command turns on the debug switch for printing ERPS events.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
ZXAN#debug erps event
Related Commands
10.98 terminal monitor
Function
This command turns on the debug switch for printing transmitted and/or received ERPS
packets.
40-6
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
The command prints parsed ERPS packets.
Examples
ZXAN#debug erps packet
Erps packet debugging is on
ZXAN#
ZXAN#
Oct 11 00:09:59:
ERPS:packet direction in, instance 1
packet ethernet header info:
srcMac:00d0.d099.8877
dstMac:0119.a700.0032
vlan:100 pri:7
Erps packet header info:
mel:7, version:1 operCode:40 tlv-offset:32
Erps packet data info:
request state:0,subCode:0,RB:1,DNF:0,BPR:1
node id:00d0.d099.8877
Related Commands
10.98 terminal monitor
40.7 erps-instance
Syntax
erps-instance number1
no erps-instance number1
40-7
Function
This command configures an ERPS instance.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command creates an ERPS instance and enters ERPS configuration mode.
Examples
The following example shows how to create ERPS instance 1:
ZXAN(config)#erps-instance 1
ZXAN(cfg-erps-1)#
Related Commands
None
40.8 erps
Syntax
erps {enable |disable }
Function
This command is a global switch to enable or disable ERPS functions.
Parameters
Mode
Configuration mode: ZXAN(config)#
40-8
Usage Guidelines
ERPS functions are available only after you enable ERPS functions. ERPS functions are
unavailable after you disable ERPS functions.
Examples
l The following example shows how to enable ERPS functions:
ZXAN(config)#erps enable
Related Commands
None
40.9 forced-switch
Syntax
forced-switch {port0 |port1 }
Function
This command blocks a port forcibly.
Parameters
Mode
ERPS configuration mode
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#show erps instance 1
InstanceId: 1 RingId: 50 ProtectInstance: 1
State: idle
Mode: revertive
NodeRole :common
40-9
ZXAN(cfg-erps-1)#forced-switch port0
Please show erps to see the result.
ZXAN(cfg-erps-1)#show erps instance 1
InstanceId: 1 RingId: 50 ProtectInstance: 1
State: force-switch
Mode: revertive
NodeRole :common
Raps-channel:vlan:100 mel:7 priority: 7
Port0 : gei_1/3/3(common) Portstate: block / up
Monitor--
Port1 :gei_1/4/3(common) Portstate: forward / up
Monitor --
Wtr-timer : 1 min State : stop
Wtb-timer : 6 s State : stop
Guard-timer :500 ms State: stop
Switch-times: 4
Related Commands
None
40.10 guard-timer
Syntax
guard-timer number1
Function
This command sets the guard timer.
40-10
Parameters
Mode
ERPS configuration mode
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#guard-timer 1000
Related Commands
None
40.11 manual-switch
Syntax
manual-switch {port0 |port1 }
Function
This command blocks a port manually.
40-11
Parameters
Mode
ERPS configuration mode
Usage Guidelines
This command is invalid when a fault or another forcibly/manually blocked port exists in
the ring network.
Examples
ZXAN(cfg-erps-1)#show erps instance 1
InstanceId: 1 RingId: 50 ProtectInstance: 1
State: idle
Mode: revertive
NodeRole :common
Raps-channel:vlan:100 mel:7 priority: 7
Port0 : gei_1/3/3(common) Portstate: forward / up
Monitor--
Port1 :gei_1/4/3(common) Portstate: forward / up
Monitor --
Wtr-timer : 1 min State : stop
Wtb-timer : 6 s State : stop
Guard-timer :500 ms State: stop
Switch-times: 7
ZXAN(cfg-erps-1)#manual-switch port0
Please show erps to see the result.
ZXAN(cfg-erps-1)#show erps instance 1
InstanceId: 1 RingId: 50 ProtectInstance: 1
State: mannual-switch
Mode: revertive
NodeRole :common
Raps-channel:vlan:100 mel:7 priority: 7
Port0 : gei_1/3/3(common) Portstate: block / up
Monitor--
Port1 :gei_1/4/3(common) Portstate: forward / up
Monitor --
Wtr-timer : 1 min State : stop
Wtb-timer : 6 s State : stop
40-12
Related Commands
None
40.12 mode
Syntax
mode {revertive |non-revertive }
Function
This command configures the ERPS mode.
Parameters
Mode
ERPS configuration mode
Usage Guidelines
l In revertive mode, the ring network recovers automatically and blocks the RPL after
the network problem is resolved.
l In non-revertive mode, the ring network keeps its status unchanged and does not
block the RPL after the network problem is resolved.
Examples
ZXAN(cfg-erps-1)#mode revertive
Related Commands
None
40.13 monitor
Syntax
monitor {port0 |port1 } md number1 ma number2 lmep number3 rmep number4
40-13
Function
This command configures ERPS-related CCM detection.
Parameters
Mode
ERPS configuration mode
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#monitor port1 md 1 ma 1 lmep 8191 rmep 8190
Related Commands
None
40.14 port0
Syntax
port0 interface1 [{rpl-owner |rpl-neighbor |rpl-next-neighbor } ]
no port0
Function
This command configures ERPS port 0.
40-14
Parameters
Mode
ERPS configuration mode
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#port0 gei_1/3/3
Related Commands
40.15 port1
40.15 port1
Syntax
port1 interface1 [{rpl-owner |rpl-neighbor |rpl-next-neighbor } ]
no port1
Function
This command configures ERPS port 1.
Parameters
Mode
ERPS configuration mode
40-15
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#port1 gei_1/4/3
Related Commands
40.14 port0
40.16 raps-channel
Syntax
raps-channel vlan number1 [{[mel number2 ] [priority number3 ] }]
no raps-channel
Function
This command configures the R-APS channel.
Parameters
Mode
ERPS configuration mode
Usage Guidelines
The R-APS VLAN must be configured in the instance related to traffic-channel.
Examples
ZXAN(cfg-erps-1)#raps-channel vlan 100
Related Commands
None
40-16
40.17 ring-id
Syntax
ring-id number1
no ring-id
Function
This command sets the ring network ID.
Parameters
Mode
ERPS configuration mode
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#ring-id 50
Related Commands
None
Function
This command displays brief information of all ERPS instances.
Parameters
None
Mode
Any mode except user mode
40-17
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#show erps brief
Ethernet Ring Protection Switching is enable
InstanceId: 1 ProtectInstance: 1
NodeRole Port0 Port1 State SwitchTimes
common gei_1/3/3 gei_1/4/3 mannual-switch 8
Related Commands
None
Function
This command displays the information of an ERPS instance.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#show erps instance 1
InstanceId: 1 RingId: 50 ProtectInstance: 1
State: mannual-switch
Mode: revertive
NodeRole :common
Raps-channel:vlan:100 mel:7 priority: 7
Port0 : gei_1/3/3(common) Portstate: block / up
Monitor--
40-18
Related Commands
None
40.2 tcn-sending
Syntax
tcn-sending {port0 |port1 }
no tcn-sending {port0 |port1 }
Function
This command enables the tcn function for a port.
Parameters
Mode
ERPS configuration mode
Usage Guidelines
To disable the tcn function for a port, use the no form of this command.
Examples
ZXAN(cfg-erps-1)tcn-sending port0
Related Commands
40.19 show erps instance
40-19
40.20 traffic-channel
Syntax
traffic-channel instance number1
no traffic-channel
Function
This command configures the traffic channel.
Parameters
Mode
ERPS configuration mode
Usage Guidelines
The related instance must be created on the MSTP and associated with a VLAN.
Examples
ZXAN(cfg-erps-1)#traffic-channel instance 1
Related Commands
None
40.21 wtr-timer
Syntax
wtr-timer number1
Function
This command sets the wtr timer.
Parameters
40-20
Mode
ERPS configuration mode
Usage Guidelines
None
Examples
ZXAN(cfg-erps-1)#wtr-timer 1
Related Commands
None
40-21
40-22
41.1 bfd
Syntax
bfd interval number1 min-rx number2 multiplier number3
no bfd
Function
This command configures the BFD session parameters that are based on static IP
addresses in the current VLAN.
Parameters
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), supervlan interface
mode
41-1
Usage Guidelines
None
Examples
The following example shows how to configure the BFD session parameters that are based
on static IP addresses in the current VLAN:
ZXAN(config-if-vlan100)#bfd interval 100 min-rx 100 multiplier 5
Related Commands
None
41.2 ip static-bfd
Syntax
ip static-bfd ip_addr1 ip_addr2
no ip static-bfd ip_addr1 ip_addr2
Function
This command creates or deletes a static IP-based BFD session.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to create a static IP-based BFD session with the local
IP address of 100.1.1.6 and remote IP address of 100.1.1.4:
ZXAN(config)#ip static-bfd 100.1.1.6 100.1.1.4
ZXAN(config)#show bfd ipv4 neighbors detail
OurAddr NeighAddr LD RD Hold State Int
100.1.1.6 100.1.1.4 1 0 0 DOWN vlan100
----------------------------------------------------------------------------
41-2
Related Commands
None
Function
This command displays brief information about a BFD session.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
41-3
Examples
The following example shows how to display brief information about a BFD session:
ZXAN#show bfd neighbors brief
OurAddr NeighAddr LD RD Hold State Int
10.10.10.1 10.10.10.2 2 16 150 UP vlan100
Related Commands
None
Function
This command displays detailed information about a BFD session.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display detailed information about a BFD session:
ZXAN(config)#show bfd ipv4 neighbors detail
OurAddr NeighAddr LD RD Hold State Int
100.1.1.6 100.1.1.4 1 0 0 DOWN vlan100
----------------------------------------------------------------------------
Local Diag: 0 Demand mode: 0 Poll bit: 0
MinTxInt: 2458 MinRxInt: 2458 Multiplier: 3
Received MinRxInt: 0 Received Multiplier: 0 Holdown : 0
Rx Count: 0 Rx Interval (ms) min/max/avg: 0 /0 /0
Tx Count: 0 Tx Interval (ms) min/max/avg: 0 /0 /0
Registered protocols: STATIC
Session name: N/A
Uptime: 0 DAYS,0 HOURS,0 MINUTES
41-4
Related Commands
None
41-5
41-6
Function
This command creates an extended ACL and enters extended ACL configuration mode.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l To delete an extended ACL, use the no acl extended command.
l This command enters extended ACL configuration mode directly when the specified
ACL already exists.
42-1
Examples
The following example shows how to create an extended ACL:
ZXAN(config)#acl extended number 101
ZXAN(config-ext-acl)#
Related Commands
42.4.2 show acl
Function
This command creates a hybrid ACL and enters hybrid ACL configuration mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To delete a hybrid ACL, use the no acl hybrid command.
l This command enters hybrid ACL configuration mode directly when the specified ACL
already exists.
Examples
The following example shows how to create a hybrid ACL and start hybrid ACL
configuration mode:
ZXAN(config)#acl hybrid number 300
ZXAN(config-hybd-acl)#
Related Commands
42.4.2 show acl
42-2
Function
This command creates a layer-2 ACL and enters layer-2 ACL configuration mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To delete a layer-2 ACL, use the no acl link command.
l This command enters layer-2 ACL configuration mode directly when the specified ACL
already exists.
Examples
The following example shows how to create a layer-2 ACL and enter layer-2 ACL
configuration mode:
ZXAN(config)#acl link number 200
ZXAN(config-link-acl)#
Related Commands
42.4.2 show acl
42-3
Function
This command creates a standard ACL and enters standard ACL configuration mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To delete a standard ACL, use the no acl standard command.
l This command enters the standard ACL configuration mode directly when the
specified ACL already exists.
Examples
The following example shows how to create a standard ACL and enter standard ACL
configuration mode:
ZXAN(config)#acl standard number 10
ZXAN(config-std-acl)#
Related Commands
42.4.2 show acl
Function
This command creates an IPv6 hybrid ACL and enters IPv6 hybrid ACL configuration
mode.
42-4
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To delete an IPv6 hybrid ACL, use the no acl6 hybrid command.
l This command enters IPv6 hybrid ACL configuration mode directly when the specified
ACL already exists.
Examples
The following example shows how to create an IPv6 hybrid ACL and enter IPv6 hybrid
ACL configuration mode:
ZXAN(config)#acl6 hybrid number 600
ZXAN(config-hybd-acl6)#
Related Commands
42.4.2 show acl
42.1.6 name
Syntax
name name1
no name
Function
This command sets an alias for an ACL.
Parameters
Mode
l acl-basic configuration mode: ZXAN(config-std-acl)#
l acl-ext configuration mode: ZXAN(config-ext-acl)#
l acl-link configuration mode: ZXAN(config-link-acl)#
42-5
Usage Guidelines
l To cancel the setting, use the no form of this command.
l Create the ACL before setting its alias.
l The alias can only be set for an ACL specified by a name. No alias can be set for an
ACL specified by a number.
l The alias cannot start with a numeric or a numeric preceded by a plus or minus sign.
Examples
The following example shows how to set the alias of a standard ACL to zte:
Related Commands
42.4.2 show acl
42.1.7 rule
Syntax
rule number1 {permit |deny } {ip_addr1 [mask1 ] |any } [time-range name1 ]
Function
This command adds a rule to a standard ACL.
Parameters
42-6
Mode
acl-basic configuration mode: ZXAN(config-std-acl)#
Usage Guidelines
l To delete a standard ACL rule, use the no form of this command.
l Create a standard ACL before adding a rule to the standard ACL.
l A standard ACL rule can only be added or modified in acl-basic configuration mode.
Examples
The following example shows how to add a rule to a standard ACL (ACL number: 1):
ZXAN(config)#acl standard number 1
ZXAN(config-std-acl)#rule 1 permit 1.1.1.1
Related Commands
42.4.2 show acl
Function
This command adds a rule to an extended ACL.
Parameters
42-7
icmp ICMP. -
ip Any IP protocol. -
42-8
udp UDP. -
42-9
Mode
acl-ext configuration mode: ZXAN(config-ext-acl)#
Usage Guidelines
l To delete an extended ACL rule, use the no form of this command.
l Create an extended ACL before adding a rule to the extended ACL.
l An extended ACL rule can only be configured in acl-ext configuration mode.
Examples
The following example shows how to add a rule to an extended ACL (ACL number: 100).
ZXAN(config)#acl extended number 101
ZXAN(config-ext-acl)#rule 1 permit ip 1.1.1.1 0.0.0.0 any
Related Commands
42.4.2 show acl
Function
This command adds a rule to a Layer 2 ACL.
Parameters
42-10
Mode
acl-link configuration mode: ZXAN(config-link-acl)#
Usage Guidelines
l To delete a layer-2 ACL rule, use the no form of this command.
l Create a layer-2 ACL before adding a rule to the layer-2 ACL.
l A layer-2 ACL rule can only be configured in acl-link configuration mode.
Examples
The following example shows how to add a rule to a layer-2 ACL (ACL number: 202):
ZXAN(config)#acl link number 202
ZXAN(config-link-acl)#rule 1 permit any cos 2 ingress any egress any
Related Commands
42.4.2 show acl
42-11
Function
This command adds a rule to a hybrid ACL.
Parameters
tcp TCP. -
42-12
udp UDP. -
42-13
Mode
acl-hyb configuration mode: ZXAN(config-hybd-acl)#
Usage Guidelines
l To delete a hybrid ACL rule, use the no form of this command.
l Create a hybrid ACL before adding a rule to the hybrid ACL.
l A hybrid ACL rule can only be configured in acl-hyb configuration mode.
Examples
The following example shows how to add two rules (rule 1 and rule 2) to a hybrid ACL
(ACL number: 300):
ZXAN(config)#acl hybrid number 300
ZXAN(config-hybd-acl)#rule 1 permit any 1.1.1.1 0.0.0.0 any any ingress any egress any
ZXAN(config-hybd-acl)#rule 2 permit ospf 1.1.1.3 0.0.0.0 any any
Related Commands
42.4.2 show acl
42-14
|name8 } ] {ip_addr6 mask6 |v6mask8 |any } [name9 {range4 |name10 } ] } [{{[flow-label number5 ]
[traffic-class number6 ] }|{[precedence number7 ] [tos number8 ] }|dscp number9 } ] {hexadecimal1
|name11 |any } [{[cos number10 ] [vlan-id name12 range5 ] }] [ingress {hexadecimal2 hexadecim
al3 |any } ] [egress {hexadecimal4 hexadecimal5 |any } ] [double-tag {[cos number11 ] [vlan-id
name13 range6 ] }] [time-range name14 ]
no rule {number1 |all }
Function
This command adds a rule to an IPv6 hybrid ACL.
Parameters
tcp TCP. -
42-15
udp UDP. -
42-16
Mode
ipv6-acl-hyb configuration mode
Usage Guidelines
l To delete an IPv6 hybrid ACL rule, use the no form of this command.
l Create an IPv6 hybrid ACL before adding a rule to the IPv6 hybrid ACL.
l An IPv6 hybrid ACL rule can only be configured in ipv6-acl-hyb configuration mode.
Examples
The following example shows how to add a rule for an IPv6 hybrid ACL (ACL number:
600):
The created rule (rule 1) permits TCP traffic that matches the following conditions:
42-17
Related Commands
42.4.2 show acl
42.1.12 time-range
Syntax
time-range name1 {time1 to time2 name2 |from time3 date1 [to time4 date2 ] }
no time-range name1
Function
This command defines a time range.
Parameters
to To -
Mode
Configuration mode: ZXAN(config)#
42-18
Usage Guidelines
l 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.
à 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.
Examples
The following example shows how to define an absolute time range with the name
“ztetimer”. The time range is from 10:00:00 on Jan. 1, 2006 to 11:00:00 on Jun.2, 2006.
Related Commands
42.4.4 show time-range
Function
This command clears traffic statistics information.
Parameters
Mode
Privileged mode: ZXAN#
42-19
Usage Guidelines
This command is used in privileged mode to clear the traffic statistics information.
Examples
The following example shows how to clear the traffic statistics information related to rule
1 of ACL 300:
ZXAN#clear traffic-statistics in 300 rule-id 1
Related Commands
42.4.6 show traffic-statistics
42.2.2 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
Mode
Configuration mode: ZXAN(config)#
42-20
Usage Guidelines
l To cancel the priority marking configuration, use the no form of this command.
l Ensure that the ACL and the ACL rule have been created before using this command.
Examples
The following example shows how to configure a priority marking policy that marks the
DSCP value to 4 for the traffic matching rule 1 of ACL 333:
Related Commands
42.4.3 show qos
42.2.3 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
42-21
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To cancel the setting of traffic redirection, use the no form of this command.
l Ensure that the ACL and the ACL rule have been created before using this command.
Examples
The following example shows how to redirect traffic that matches ACL 300 rule 1 to the
uplink port gei_1/3/1:
Related Commands
42.4.3 show qos
42.2.4 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 ] } ]
Function
This command configures ACL rule-based traffic limiting.
Parameters
42-22
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To cancel the traffic limiting, use the no form of this command.
l Ensure that the ACL and ACL 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.4.3 show qos
42.2.5 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 ] } ] ] }
Function
This command configures ACL-based traffic mirroring in configuration mode.
42-23
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To cancel the traffic mirroring, use the no form of this command.
l Ensure that the ACL and ACL rule have been created before using this command.
42-24
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_1/3/1:
Related Commands
42.4.3 show qos
42.2.6 traffic-statistics
Syntax
traffic-statistics in {number1 |name1 } rule-id number2 pkt-type name2 statistics-type name3
Function
This command configures ACL rule-based traffic statistics.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To cancel the traffic statistics, use the no form of this command.
l Ensure that the ACL and ACL rule have been created before using this command.
42-25
Examples
The following example shows how to configure traffic statistics for counting green packets
that matches rule 127 of ACL 199:
ZXAN(config)#traffic-statistics in 199 rule-id 127 pkt-type green
statistics-type packet
Related Commands
42.4.3 show qos
42.4.6 show traffic-statistics
42.2.1 clear traffic-statistics
42.2.7 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
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l To cancel the modification, use the no form of this command.
l Ensure that the ACL and ACL rule have been created before using this command.
Examples
The following example shows how to modify the VLAN ID of traffic that matches rule 1 of
ACL 100 to 2:
42-26
Related Commands
42.4.3 show qos
Function
This command binds an ACL to a VLAN interface.
Parameters
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
Usage Guidelines
To remove the binding relationship between an ACL and a VLAN interface, use the no form
of this command.
Examples
The following shows how to bind ACL 100 to VLAN 100:
Related Commands
42.4.1 show access-list bound
42-27
Function
This command binds an ACL to the ingress or egress direction of an interface.
Parameters
Mode
Layer-2 fei interface mode, Layer-2 gei interface mode, and 10G_Ether interface mode:
ZXAN(config-if)#
Usage Guidelines
l To cancel the binding relationship between an ACL and a port, use the no form of this
command.
l To bind an ACL to a PVC of any DSL port, specify the PVC ID (pvc xxx) in this
command.
l To bind an ACL to an EPON ONU or GPON ONU interface, specify the vport number
(vport xxx) in this command.
Examples
l The following example shows how to bind ACL 300 to an Ethernet interface
(gei_1/3/1):
ZXAN(config)#interface gei_1/3/1
ZXAN(config-if)#ip access-group 300 in
l The following example shows how to bind ACL 300 to a GPON ONU interface:
ZXAN(config)#interface gpon_onu_1/2/1:1
ZXAN(config-if)#ip access-group 300 in vport 1
Related Commands
1.26 show running-config
42-28
Function
This command binds a hybrid ACL to a port in GPON ONU or EPON ONU mode.
Parameters
Mode
EPON ONU/GPON ONU interface mode
Usage Guidelines
Before binding a hybrid ACL in GPON ONU or EPON ONU mode, ensure that the hybrid
ACL has been created.
Examples
The following example shows how to bind a hybrid ACL in GPON ONU mode:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#ip access-group 300 in vport 1
Related Command
show access-list bound
42-29
Function
This command displays the ACL bound to a specific interface or all interfaces.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of ACLs bound to all
interfaces:
Related Commands
42.3.1 ip access-group
Function
This command displays the contents in all ACLs or a specific ACL.
42-30
Parameters
Mode
Any mode 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 99
rule 1 permit 2.2.2.2 0.0.0.0
acl hybrid number 300
name zte
rule 1 permit tcp 1.1.1.1 0.0.0.0 any precedence 2 any
ZXAN(config)#
Related Commands
42.1.4 acl standard
42.1.1 acl extended
42.1.3 acl link
42.1.2 acl hybrid
42.1.5 acl6 hybrid
Function
This command displays ACL-based QoS configuration.
Parameters
None
42-31
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display ACL-based QoS configuration:
ZXAN(config)#show qos
traffic-statistics in 300 rule-id 1 pkt-type all statistics-type packet
redirect in 300 rule-id 1 interface gei_1/3/1
Related Commands
42.2.2 priority-mark
42.2.3 redirect
13.4.225 traffic-limit
42.2.5 traffic-mirror
42.2.7 vlan-mark
42.4.6 show traffic-statistics
Function
This command displays the configuration of a time range.
Parameters
Mode
Any mode except user mode
Usage Guidelines
The parameter time-range name is optional. If this parameter is not set, the configurations
of all time ranges will be displayed.
42-32
Examples
The following example shows how to display the configuration of a time range:
ZXAN(config)#show time-range
Current time is 21:06:04 01-04-2001 Thursday
Time-range: ztetimer
from 10:00:00 01-01-2006 to 11:00:00 06-02-2006
ZXAN(config)#
Related Commands
42.1.12 time-range
Function
This command displays information related to traffic mirroring.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
If the configured traffic mirroring mode is ERSPAN, the displayed traffic mirroring
information contains the next hop information, which is not available in the result of the
show qos command.
Examples
None
Related Commands
42.2.5 traffic-mirror
42-33
Function
This command displays traffic statistics configuration and statistical information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
l Ensure that the specified ACL has been assigned to a port.
l The parameter rule-id is optional.
If the rule ID is specified in this command, ensure that you have used the traffic-stati
stics command to configure the traffic statistics function for the ACL and the ACL rule.
If the rule ID is not specified in this command, ensure that at least one rule of the ACL
is configured with the traffic statistics function.
Examples
The following example shows how to display traffic statistics configuration and statistical
information of ACL 345 rule 1:
Related Commands
42.2.6 traffic-statistics
42-34
Function
This command disables Ethernet OAM functions on a global basis.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l Ethernet OAM functions are unavailable under each port after Ethernet OAM is
disabled on a global basis.
l To display the Ethernet OAM configuration, use the show ethernet-oam command.
Examples
ZXAN(config)#set ethernet-oam disable
Related Commands
43.3.1 show ethernet-oam
43-1
Function
This command enables Ethernet OAM functions on a global basis.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l Ethernet OAM functions are available under each port only after Ethernet OAM is
enabled on a global basis.
l To display the Ethernet OAM configuration, use the show ethernet-oam command.
Examples
ZXAN(config)#set ethernet-oam enable
Related Commands
43.3.1 show ethernet-oam
Function
This command sets the remote loopback timeout for Ethernet OAM.
Parameters
43-2
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To display the configuration result, use the show ethernet-oam command.
Examples
ZXAN(config)#set ethernet-oam remote-loopback time-out 5
Related Commands
43.3.1 show ethernet-oam
Function
This command disables Ethernet OAM functions on a port.
Parameters
None
Mode
l Layer-2 gei interface mode
l 10G Ethernet interface mode: ZXAN(config-if)#
l 40G Ethernet interface mode
Usage Guidelines
After using this command to disable Ethernet OAM functions on a port, you can use the
show ethernet oam command to view the configuration result on the port, for example:
show ethernet-oam gei_1/4/3 discovery
Examples
ZXAN#configure terminal
ZXAN(config)#interface gei_1/4/3
ZXAN(config-if)#set ethernet-oam disable
43-3
Related Commands
show ethernet-oam gei_1/4/3 discovery
Function
This command enables Ethernet OAM functions on a port.
Parameters
None
Mode
l Layer-2 gei interface mode
l 10G Ethernet interface mode: ZXAN(config-if)#
l 40G Ethernet interface mode
Usage Guidelines
After using this command to enable Ethernet OAM functions on a port, you can use the
show ethernet-oam command to view the configuration result on the port, for example:
show ethernet-oam gei_1/4/3 discovery
Examples
ZXAN#configure terminal
ZXAN(config)#interface gei_1/4/3
ZXAN(config-if)#set ethernet-oam enable
Related Commands
show ethernet-oam gei_1/4/3 discovery
43-4
Function
This command configures parameters related to the link monitoring function in
Ethernet OAM, for example, enables or disables the link monitoring function, and sets
error frame event parameters.
Parameters
43-5
Mode
l Layer-2 gei interface mode
l 10G Ethernet interface mode: ZXAN(config-if)#
l 40G Ethernet interface mode
Usage Guidelines
The show ethernet-oam command can be used to display the configuration result, for
example:
show ethernet-oam gei_1/4/3 link-monitor
Examples
l The following example shows how to enable the link monitoring function:
ZXAN(config-if)#set ethernet-oam link-monitor enable
l The following example shows how to disable the link monitoring function:
ZXAN(config-if)#set ethernet-oam link-monitor disable
Related Commands
show ethernet-oam gei_1/4/3 link-monitor
Function
This command configures the Ethernet OAM mode, active or passive.
43-6
Parameters
Mode
l Layer-2 gei interface mode
l 10G Ethernet interface mode: ZXAN(config-if)#
l 40G Ethernet interface mode
Usage Guidelines
None
Examples
l The following example shows how to set the Ethernet OAM mode to active:
ZXAN(config-if)#set ethernet-oam period 2 timeout 3 mode active
l The following example shows how to set the Ethernet OAM mode to passive:
ZXAN(config-if)#set ethernet-oam period 2 timeout 3 mode passive
Related Commands
show ethernet-oam gei_1/4/3 discovery
Function
This command starts or stops remote loopback for Ethernet OAM.
43-7
Parameters
Mode
l Layer-2 gei interface mode
l 10G Ethernet interface mode: ZXAN(config-if)#
l 40G Ethernet interface mode
Usage Guidelines
After the remote loopback function is started, the remote device sends data packets to
the local device for loopback. You can use the show ethernet-oam command to view the
configuration result.
Examples
l The following example shows how to start remote loopback:
ZXAN(config-if)#set ethernet-oam remote-loopback start
Related Commands
show ethernet-oam gei_1/4/3 discovery
Function
This command displays the global configuration of Ethernet OAM.
43-8
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show ethernet-oam
Related Commands
43.1.1 set ethernet-oam disable
Function
This command clears global ETH OAM configuration and port configuration.
43-9
Parameters
None
Mode
l Privileged mode: ZXAN#
l Implicit configuration mode
Usage Guidelines
After this command is executed, all default configurations are restored.
Examples
ZXAN#clear ethernet-oam all
Related Commands
ZXAN#show ethernet-oam
Function
This command clears ETH OAM statistics.
Parameters
None
Mode
l Privileged mode: ZXAN#
l Implicit configuration mode
Usage Guidelines
After this command is executed, the statistics obtained by link monitor is cleared.
Examples
ZXAN#clear ethernet-oam statistics
43-10
Related Commands
ZXAN#show ethernet-oam xxx link-monitor (where xxx indicates the actual port, such as
gei_1/3/3)
Function
This command clears the EFM performance statistics during the current time period.
Parameters
interface1 Port -
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
ZXAN#clear perf ethernet-oam link-monitor gei_1/3/1 15min
Related Commands
ZXAN(config-if)#show performance ethernet-oam link-monitor gei_1/3/1 current-15min
43-11
Function
This command displays EFM performance data statistics.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config-if)#show performance ethernet-oam link-monitor gei_1/3/1 current-15min
Error Symbol Period Event:
Total Error Symbols : 0
Local Total Error Events : 0
Remote Total Error Events : 0
43-12
Related Commands
ZXAN#clear perf ethernet-oam link-monitor gei_1/3/1 15min
43-13
43-14
44.1 ATMPING
44.1.1 atm oam
Syntax
atm oam manage loopback interface1 deny
Function
This command determines whether to discard ATM ping cells (F4 and F5 loopback cells)
sent by a remote end.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The atm oam manage loopback xxx deny command enables an interface to discard ATM
ping cells sent by the remote end without processing these cells.
The no atm oam manage loopback xxx deny command enables an interface to process ATM
ping cells sent by the remote end instead of discarding these cells.
The related VP and VC must be in active state to ensure that the NE can normally respond
to the remote end.
44-1
Examples
The following example shows how to enable an interface to process ATM ping cells initiated
by remote ends without discarding the cells:
ZXAN(config)#no atm oam manage loopback adsl_1/3/1 deny
Related Commands
44.1.2 ping atm
Function
This command initiates an ATM ping (F4 and F5 loopback) for verifying that the VP and
VC to the CPE are normal.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
If a PVC ID is specified in the command, an F5 loopback will be initiated. If a VPI is
specified in the command, an F4 loopback will be initiated.
Examples
The following example shows how to initiate an F5 loopback for verifying the VP and VC
to the CPE:
ZXAN#ping atm interface adsl_1/2/1 pvc 1 2 3
44-2
Related Commands
44.1.1 atm oam
Function
This command displays the loopback status of an interface for responding ATM ping.
The “deny” status indicates that the interface does not respond to ATM pings from remote
ends. The “no deny” status indicates that the interface can normally respond to ATM pings
from remote ends.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show atm oam manage loopback adsl_1/3/1
Atm oam manage loopback status:no deny.
Related Commands
44.1.1 atm oam
44-3
Function
This command controls the loopback detection switch of a physical interface.
Parameters
Mode
l PTP interface mode
l GPON OLT interface mode
l EPON OLT interface mode
Usage Guidelines
The loopback detection function can be enabled for a specific interface only when both the
global loopback detection switch and the port loopback detection switch are turned on.
Examples
The following example shows how to turn on the loopback detection switch for a PON
interface:
ZXAN(config)#interface gpon-olt_1/5/1
Related Commands
44.2.6 show loop-detection interface
44.2.2 pon-loopback-auto-check-time
Syntax
pon-loopback-auto-check-time number1
44-4
Function
This command configures a period for automatically repeating the loopback detection.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
When loopback is detected on a port, the periodic loopback detection is started on the port
to check whether the loopback is cancelled. If loopback is not detected in three contiguous
periods, it is determined that the loopback is cancelled. The periodic loopback detection
will not be started if loopback is not detected.
Examples
The following example shows how to configure the automatic detection period to 45
seconds:
ZXAN(config)#pon-loopback-auto-check-time 45
Related Commands
44.2.5 show loop-detection global
44.2.3 pon-loopback-auto-shutdown
Syntax
pon-loopback-auto-shutdown {name1 }
Function
This command configures the switch for automatically shutting down uplink traffic on a port.
Parameters
Mode
Configuration mode: ZXAN(config)#
44-5
Usage Guidelines
When the auto-shutdown switch is enabled for a port, uplink traffic of the ONU will be shut
down if loopback is detected on the port.
When the auto-shutdown switch is disabled for a port, uplink traffic will not be shut down
if loopback is detected on the port.
This command is not valid for a port on which loopback has already been detected,
meaning uplink traffic will not be influenced by the command.
Examples
ZXAN(config)#pon-loopback-auto-shutdown enable/disable
Related Commands
44.2.5 show loop-detection global
44.2.4 pon-loopback-detection
Syntax
pon-loopback-detection {name1 }
Function
This command controls the global loopback detection switch.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
All of the global loopback detection switch, the port loopback detection swtich, and the
MAC flapping notification switch must be turned on to enable loopback detection.
Examples
The following example shows how to turn on the global loopback detection switch:
ZXAN(config)#pon-loopback-detection enable
Related Commands
44.2.5 show loop-detection global
44-6
Function
This command displays the global configuration of loopback detection.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show loop-detection global
LoopDetectSwitch:enable
AutoShutdownSwitch:enable
AutoCheckTime:100(s)
Related Commands
44.2.4 pon-loopback-detection
44.2.3 pon-loopback-auto-shutdown
44.2.2 pon-loopback-auto-check-time
Function
This command displays the loopback detection switch status of a PON interface.
44-7
Parameters
interface1 Interface -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show loop-detection interface gpon-olt_1/15/1
-----------------------------------------------------------------------------
Port Status
-----------------------------------------------------------------------------
gpon-olt_1/15/1 enable
Related Commands
44.2.1 loopback-detection
Function
This command displays the information of detected loopbacks.
Parameters
interface1 Interface -
Mode
Any mode except user mode
Usage Guidelines
None
44-8
Examples
The following command shows how to display the information of detected loopbacks:
ZXAN(config)#show pon-loopback-detection
Related Commands
44.2.4 pon-loopback-detection
44.2.3 pon-loopback-auto-shutdown
44.2.2 pon-loopback-auto-check-time
Function
This command displays a port mirroring session.
Parameters
Parameter Description Value
number1 Session ID 1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display a port mirroring session:
ZXAN(config)#show monitor session 1
Session 1
44-9
----------
Source Ports:
Port: gei_1/3/1 Monitor Direction: rx
Destination Port:
Port: gei_1/4/1
Related Commands
44.3.2 monitor session
Function
This command has the following functions:
Parameters
44-10
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
44-11
Examples
The following example shows how to configure the mirroring destination and set the
mirroring mode to SPAN:
The following example shows how to set the mirroring mode to RSPAN:
The following example shows how to set the mirroring mode to ERSPAN:
Related Commands
44.3.1 show monitor session
44-12
Function
This command configures the rack number and shelf number for port location.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
45-1
Examples
The following example shows how to configure the rack number and shelf number for port
location:
Related Commands
45.1.19 show port-identification global
Function
This command enables or disables the access-loop-tag for a port.
Parameters
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
(1) This command works on only in the common port location mode.
Examples
The following example shows how to enable the access-loop-tag for a port:
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#port-identification access-loop-characteristics enable
45-2
Related Commands
45.1.25 show port-identification port
port-identification add-Access-Loop-tag
Function
This command configures the type of the access-node-identifier.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) If the access-node-id-type is set to access-node-name, the value of the
access-node-id parameter in port location information is specified by the port-identifica
tion access-node-name<WORD> command.
(2) If the access-node-id-type is set to inband-mac, the value of the access-node-id
parameter in port location information is the inband MAC address of the NE.
Examples
The following example shows how to set the type of the access-node-identifier to
access-node-name:
ZXAN(config)#port-identification access-node-id-type access-node-name
Related Commands
45.1.4 port-identification access-node-name
45-3
no port-identification access-node-name
Function
This command configures the value of the variable access-node-name in port location
information.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the access-node-name value is deleted by using the no form of this command, the
access-node-name is ZXAN by default.
Examples
The following example shows how to set the access-node-name in port location information
to ztetest:
Related Commands
port-identification access-node-id-type access-node-name
no port-identification access-node-slave-id
45-4
Function
This command configures the value of the variable access-node-slave-id in port location
information.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete the configured value, use the no form of this command.
Examples
The following example shows how to set the access-node-slave-id in port location
information to slavetest:
Related Commands
45.1.19 show port-identification global
Function
This command configures the value of the variable Access-Loop-tag in port location
information.
45-5
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete the configured value, use the no form of this command.
Examples
The following example shows how to add the Access-Loop-tag to DHCP port location
information:
Related Commands
45.1.26 show port-identification tag-config
Function
This command configures the value of the variable PPP-tag in port location information
from PPPOA/PPPOE packets.
45-6
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete the configured value, use the no form of this command.
Examples
The following example shows how to configure the value of the variable PPP-tag in port
location information from PPPOA/PPPOE packets:
Related Commands
45.1.26 show port-identification tag-config
Function
This command creates a new format profile or configures an existing format profile.
Parameters
Mode
Configuration mode: ZXAN (config)#
45-7
Usage Guidelines
(1) If the profile name does not exist, this command creates a new profile with 1–32
characters as the profile name.
(2) If the profile name exists, the system enters format profile configuration mode.
Examples
The following example shows how to create the format profile testfortprf:
ZXAN(config)#port-identification format-profile testfortprf
Related Commands
45.1.18 show port-identification format-profile
Function
This command configures a format profile used by a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
This command works on only when profile mode is set as the port location mode.
Examples
The following example shows how to set the format profile used by a port to dsl-forum-pon:
ZXAN(config)#interface gpon-onu_1/3/1:1
45-8
Related Commands
45.1.18 show port-identification format-profile
no port-identification mode
Function
This command configures a port location mode.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) If profile mode is configured, the newly added port location information depends on the
operator profile in use when the port location module processes the port location message.
(2) If common mode is configured, the newly added port location information depends on
the configured format profile when the port location module processes the port location
message.
Examples
The following example shows how to set the port location mode to profile mode:
Related Commands
45.1.20 show port-identification mode
45-9
Function
This command configures an operator profile used globally.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete the application, use the no form of this command.
Examples
The following example shows how to configure the operator profile used globally to ztetest:
ZXAN(config)#port-identification operator-profile global ztetest
Related Commands
45.1.21 show port-identification operator-profile global
Function
This command configures an operator profile used by a VLAN.
45-10
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete the configured profile, use the no form of this command.
Examples
The following example shows how to configure the operator profile used by a VLAN to
ztetest:
Related Commands
45.1.23 show port-identification operator-profile vlan
Function
This command creates a new operator profile or configures an existing operator profile.
Parameters
Mode
Configuration mode: ZXAN (config)#
45-11
Usage Guidelines
(1) If the profile name does not exist, this command creates a new profile with 1-32
characters as the profile name.
(2) If the profile name exists, the system enters operator profile configuration mode.
Examples
The following example shows how to create the operator profile ztetest:
ZXAN(config)#port-identification operator-profile ztetest
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures an operator profile used by a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
(1) This command works on only when profile mode is set as the port location mode.
(2) To delete the operator profile used, use the no form of this command.
Examples
The following example shows how to configure the operator profile used by a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
45-12
Related Commands
45.1.24 show port-identification operator-profile
45.1.22 show port-identification operator-profile port
Function
This command configures a format profile for the Remote-ID of a interface.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the format profile for the Remote-ID of the
interface gpon-onu_1/3/1:1 to china-netcom-dsl:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.1.17 port-identification sub-option remote-id
45-13
Function
This command configures the Remote ID for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the Remote ID for a port to ZTEzte:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.1.17 port-identification sub-option remote-id
45.1.25 show port-identification port
Function
This command enables or disables the Remote ID of a port.
45-14
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
Port location information contains the Circuit ID and Remote ID.
(1) When the Remote ID is enabled, port location information contains the Remote ID value.
The value of the Remote ID can be configured with the port-identification sub-option
remote-id name command.
(2) When the Remote ID is disabled, port location information does not contain the Remote
ID value.
Examples
The following example shows how to enable the Remote ID of a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.1.16 port-identification sub-option remote-id name
Function
This command displays configuration information about a format profile.
45-15
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
(1) The following example shows how to display all the information about a format profile:
show port-identification format-profile
(2) The following example shows how to display configuration information about a format
profile:
Related Commands
45.1.8 port-identification format-profile
Function
This command displays the global configuration for port location.
Parameters
None
Mode
All modes except user mode
45-16
Usage Guidelines
None
Examples
The following example shows how to display the global configuration for port location:
Related Commands
45.1.1 port-identification
Function
This command displays a port location mode.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
show port-identification mode
Related Commands
45.1.10 port-identification mode
45-17
Function
This command displays configuration information about an operator profile globally used.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about an operator
profile globally used:
show port-identification operator-profile global
Related Commands
45.1.11 port-identification operator-profile global
Function
This command displays configuration information about an operator profile used by a port.
Parameters
45-18
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about an operator
profile used by a port:
Related Commands
45.1.13 port-identification operator-profile
Function
This command displays configuration information about an operator profile used by a
VLAN.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
45-19
Examples
The following example shows how to display configuration information about an operator
profile used by a VLAN:
Related Commands
45.1.12 port-identification operator-profile vlan
Function
This command displays configuration information about an operator profile.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
(1) The following example shows how to display all the information about an operator
profile:
show port-identification operator-profile
Related Commands
45.1.13 port-identification operator-profile
45-20
Function
This command displays the port configuration for port location.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the port configuration of port location:
Related Commands
45.1.9 port-identification format
Function
This command displays the access-loop and ppp-tag configuration for port location.
45-21
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the access-loop and ppp-tag configuration
for port location:
show port-identification tag-config
Related Commands
port-identification add-Access-Loop-tag
port-identification add-PPP-tag
Function
This command configures a DHCP Option82 trust policy for a port.
Parameters
Parameter Description Value
Mode
PTP, GPON ONU, and EPON ONU interface mode
45-22
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without port location information, the port location module adds a new port location
message for them.
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
(2) If the trust policy is false add, the port location module adds a new Option82 following
the existing Option82.
Examples
The following example shows how to set the DHCP Option82 trust policy to false add for
a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.2.7 show dhcpv4-l2-relay-agent port
Function
This command configures a DHCP Option82 trust policy for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
45-23
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without port location information, the port location module adds a new port location
message for them.
(1) If the trust policy is true keep, the port location module keeps the existing Option82
unchanged.
(2) If the trust policy is true replace, the port location module replaces the existing
Option82 with a new one.
Examples
The following example shows how to set the DHCP Option82 trust policy to true keep for
a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.2.7 show dhcpv4-l2-relay-agent port
Function
This command enables or disables the extraction of the DHCPv4 packets with a specific
VLAN ID.
Parameters
Mode
Configuration mode: ZXAN (config)#
45-24
Usage Guidelines
(1) When this function is enabled, the CPU extracts the DHCPv4 packets with a specific
VLAN ID.
(2) When this function is disabled, the CPU does not extract the DHCPv4 packets with a
specific VLAN ID.
Examples
The following example shows how to enable the extraction of the DHCPv4 packets with a
specific VLAN ID:
ZXAN(config)# dhcpv4-l2-relay-agent vlan 100 enable
Related Commands
45.2.8 show dhcpv4-l2-relay-agent vlan all
45.2.4 dhcpv4-l2-relay-agent
Syntax
dhcpv4-l2-relay-agent name1
Function
This command enables or disables the global extraction of DHCPv4 packets.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) When this function is enabled, the CPU extracts DHCPv4 packets.
(2) When this function is disabled, the CPU does not extract DHCPv4 packets.
Examples
The following example shows how to enable the global extraction of DHCPv4 packets:
ZXAN(config)# dhcpv4-l2-relay-agent enable
45-25
Related Commands
45.2.6 show dhcpv4-l2-relay-agent global
Function
This command enables or disables the DHCP Option82 function for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information
to the uplink DHCP Option82 packets, and strips the port location message out of the
downlink Option82 packets.
(2) When this function is disabled, the port location module keeps the existing DHCP
Option82 packets unchanged.
Examples
The following example shows how to enable the DHCP Option82 function for a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.2.7 show dhcpv4-l2-relay-agent port
45-26
Function
This command displays the global configuration of the DHCP Option82 function.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global configuration of the DHCP
Option82 function:
ZXAN#show dhcpv4-l2-relay-agent global
Related Commands
dhcpv4-l2-relay-agent {enable|disable}
Function
This command displays the port configuration of the DHCP Option82 function.
Parameters
45-27
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the port configuration of the DHCP Option82
function:
Related Commands
dhcpv4-l2-relay-agent {enable|disable} (PTP, GPON ONU, and EPON ONU interface
mode)
Function
This command displays the configuration for the extraction of the DHCP Option82 packets
with a specific VLAN ID.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
45-28
Examples
The following example shows how to display the configuration for the extraction of the
DHCP Option82 packets with a specific VLAN ID:
Related Commands
45.2.3 dhcpv4-l2-relay-agent vlan
Function
This command configures a PPPoE+ trust policy for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
This command works on the uplink PPPoE+ packets with port location information. For
the packets without this information, the port location module adds new port location
information for them.
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
(2) If the trust policy is false add, the port location module adds new port location
information after the existing one.
45-29
Examples
The following example shows how to set the PPPoE+ trust policy to false add for a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.3.7 show pppoe-intermediate-agent port
Function
This command configures a PPPoE+ trust policy for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
This command works on the uplink PPPoE+ packets with port location information. For
the packets without this information, the port location module adds new port location
information for them.
(1) If the trust policy is true keep, the port location module keeps the existing port location
information unchanged.
(2) If the trust policy is true replace, the port location module replaces the existing port
location information with new information.
45-30
Examples
The following example shows how to set the PPPoE+ trust policy to true keep for a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.3.7 show pppoe-intermediate-agent port
Function
This command enables or disables the extraction of the PPPOA/PPPOE packets with a
specific VLAN ID.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) When this function is enabled, the CPU extracts the PPPOA/PPPOE packets with a
specific VLAN ID.
(2) When this function is disabled, the CPU does not extract the PPPOA/PPPOE packets
with a specific VLAN ID.
Examples
The following example shows how to enable the extraction of the PPPOA/PPPOE packets
with a specific VLAN ID:
ZXAN(config)#pppoe-intermediate-agent vlan 100 enable
45-31
Related Commands
45.3.8 show pppoe-intermediate-agent vlan all
45.3.4 pppoe-intermediate-agent
Syntax
pppoe-intermediate-agent name1
Function
This command enables or disables the global extraction of PPPOA/PPPOE packets.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) When this function is enabled, the CPU extracts PPPOA/PPPOE packets.
(2) When this function is disabled, the CPU does not extract PPPOA/PPPOE packets.
Examples
The following example shows how to enable the global extraction of PPPOA/PPPOE
packets:
ZXAN(config)#pppoe-intermediate-agent enable
Related Commands
45.3.6 show pppoe-intermediate-agent global
45-32
Function
This command enables or disables the PPPoE+ function for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information
to the uplink PPPoE+ packets, and strips port location information out of the downlink
PPPoE+ packets.
(2) When this function is disabled, the port location module keeps the existing PPPoE+
packets unchanged.
Examples
The following example shows how to enable the PPPoE+ function for the port
gpon-onu_1/3/1:1:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.3.7 show pppoe-intermediate-agent port
Function
This command displays the global status of PPPoE+.
45-33
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global status of PPPoE+:
Related Commands
45.3.4 pppoe-intermediate-agent
Function
This command displays the port configuration for PPPoE+.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
45-34
Examples
The following example shows how to display the port configuration for PPPoE+:
ZXAN(config)#show pppoe-intermediate-agent port gpon-onu_1/3/1:1 vport 1
Related Commands
pppoe-intermediate-agent {enable | disable}(PTP, GPON ONU, and EPON ONU interface
mode)
Function
This command displays the configuration for the extraction of the DHCP Option82 packets
with a specific VLAN ID.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration for the extraction of the
PPPOE+ packets with a specific VLAN ID:
Related Commands
pppoe-intermediate-agent vlan 100 {enable|disable}
45-35
Function
This command configures a DHCPv6 Option18 trust policy for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without port location information, the port location module adds a new port location
message for them.
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
(2) If the trust policy is false add, the port location module adds a new Option18 following
the existing Option18.
Examples
The following example shows how to set the DHCP Option18 trust policy to false add for
a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
45-36
Related Commands
45.4.8 show dhcpv6-l2-relay-agent port
Function
This command configures a DHCPv6 Option18 trust policy for a port.
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without port location information, the port location module adds a new port location
message for them.
(1) If the trust policy is true keep, the port location module keeps the existing Option18
unchanged.
(2) If the trust policy is true replace, the port location module replaces the existing
Option18 with a new one.
Examples
The following example shows how to set the DHCP Option18 trust policy to true keep for
a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
45-37
Related Commands
45.4.8 show dhcpv6-l2-relay-agent port
Function
This command enables or disables the extraction of the DHCPv6 packets with a specific
VLAN ID.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) When this function is enabled, the CPU extracts the DHCPv6 packets with a specific
VLAN ID.
(2) When this function is disabled, the CPU does not extract the DHCPv6 packets with a
specific VLAN ID.
Examples
The following example shows how to enable the extraction of the DHCPv6 packets with a
specific VLAN ID:
ZXAN(config)#dhcpv6-l2-relay-agent vlan 100 enable
Related Commands
45.4.9 show dhcpv6-l2-relay-agent vlan all
45-38
45.4.4 dhcpv6-l2-relay-agent
Syntax
dhcpv6-l2-relay-agent name1
Function
This command enables or disables the global extraction of DHCPv6 packets.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) When this function is enabled, the CPU extracts DHCPv6 packets.
(2) When this function is disabled, the CPU does not extract DHCPv6 packets.
Examples
The following example shows how to enable the global extraction of DHCPv6 packets:
Related Commands
45.4.7 show dhcpv6-l2-relay-agent global
Function
This command enables or disables the DHCP Option18 function for a port.
45-39
Parameters
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information
to the uplink DHCP Option18 packets, and strips the port location message out of the
downlink Option18 packets.
(2) When this function is disabled, the port location module keeps the existing DHCP
Option18 packets unchanged.
Examples
The following example shows how to enable the DHCP Option18 function for a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.4.8 show dhcpv6-l2-relay-agent port
45.4.6 dhcpv6-l2-relay-mode
Syntax
dhcpv6-l2-relay-mode name1
Function
This command configures the mode of port location for DHCPv6 packets.
Parameters
45-40
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) l2_mode, an actual mode. In this mode, the port location module processes port
location information, and then has relay encapsulation of DHCPV6 packets. For the details
of relay encapsulation, refer to <rfc6221 Lightweight DHCPv6 Relay Agent>.
(2) without_RFC6221, a test mode. In this mode, the port location module processes port
location messages, but does not have relay encapsulation of DHCPV6 packets.
Examples
The following example shows how to configure the mode of port location for DHCPv6
packets:
ZXAN(config)# dhcpv6-l2-relay-mode without_RFC6221
Related Commands
45.4.10 show dhcpv6-l2-relay-mode global
Function
This command displays the global configuration of the DHCPv6 Option18 function.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global configuration of the DHCPv6
Option18 function:
ZXAN#show dhcp6-option18 global
45-41
Related Commands
dhcp6-option18
Function
This command displays the port configuration of the DHCPv6 Option18 function.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the port configuration of the DHCPv6
Option18 function:
ZXAN(config)#show dhcpv6-l2-relay-agent port gpon-onu_1/3/1:1 vport 1
Related Commands
dhcp6-option18{enable|disable} (GPON ONU, and EPON ONU interface mode)
45-42
Function
This command displays the configuration for the extraction of the DHCP Option18 packets
with a specific VLAN ID.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration for the extraction of the
DHCP Option18 packets with a specific VLAN ID:
ZXAN#show dhcpv6-l2-relay-agent vlan all
Related Commands
dhcpv6-l2-relay-agent vlan 100 {enable|disable}
Function
This command displays the port location mode of the DHCPv6 Option18 function.
Parameters
None
Mode
All modes except user mode
45-43
Usage Guidelines
None
Examples
The following example shows how to display the port location mode of the DHCPv6
Option18 function:
ZXAN#show dhcpv6-l2-relay-mode global
Related Commands
45.4.6 dhcpv6-l2-relay-mode
Function
This command configures an ND LIO option trust policy for a port.
Parameters
Mode
PTP interface mode and GPON ONU interface mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without port location information, the port location module adds a new port location
message for them.
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
45-44
(2) If the trust policy is false add, the port location module adds a new LIO option following
the existing LIO option.
Examples
The following example shows how to set the ND LIO option trust policy to false add for a
port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.5.7 show ndp-lio port
Function
This command configures an ND LIO option trust policy for a port.
Parameters
Mode
PTP interface mode and GPON ONU interface mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without port location information, the port location module adds a new port location
message for them.
(1) If the trust policy is true keep, the port location module keeps the existing LIO option
unchanged.
45-45
(2) If the trust policy is true replace, the port location module replaces the existing LIO
option with a new one.
Examples
The following example shows how to set an ND LIO option trust policy to true keep for a
port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.5.7 show ndp-lio port
Function
This command enables or disables the extraction of the ND packets with a specific VLAN
ID.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) When this function is enabled, the CPU extracts the ND packets with a specific VLAN
ID.
(2) When this function is disabled, the CPU does not extract the ND packets with a specific
VLAN ID.
45-46
Examples
The following example shows how to enable the extraction of the ND packets with a specific
VLAN ID:
Related Commands
45.5.8 show ndp-lio vlan all
45.5.4 ndp-lio
Syntax
ndp-lio name1
Function
This command enables or disables the global extraction of ND packets.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) When this function is enabled, the CPU extracts ND packets.
(2) When this function is disabled, the CPU does not extract ND packets.
Examples
The following example shows how to enable the global extraction of ND packets:
ZXAN(config)#ndp-lio enable
Related Commands
45.5.6 show ndp-lio global
45-47
Function
This command enables or disables the ND LIO function for a port.
Parameters
Mode
PTP interface mode and GPON ONU interface mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information
to the uplink ND LIO packets, and strips port location information out of the downlink LIO
packets.
(2) When this function is disabled, the port location module keeps the existing ND LIO
packets unchanged.
Examples
The following example shows how to enable the ND LIO function for a port:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
45.5.7 show ndp-lio port
45-48
Function
This command displays the global extraction of ND packets.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global extraction of ND packets:
ZXAN#show ndp-lio global
Related Commands
45.5.4 ndp-lio
Function
This command displays the port configuration of the ND LIO option.
Parameters
Mode
All modes except user mode
45-49
Usage Guidelines
None
Examples
The following example shows how to display the port configuration of the ND LIO option:
Related Commands
ndp-lio {enable | disable} (PTP, GPON ONU, and EPON ONU interface mode)
Function
This command displays the extraction configuration of the ND packets with specific VLAN
IDs.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the extraction configuration of the ND packets
with specific VLAN IDs:
Related Commands
ndp-lio vlan 100 {enable|disable}
45-50
Function
This command adds a delimiter to a format profile.
Parameters
Mode
Portloc Format mode
Usage Guidelines
(1) This command adds only one type of delimiter, blank space, to a format profile.
(2) The optional parameter index specifies a location where an element is added. When
this command is used without this parameter, an element is added behind the existing
maximum index by default.
Examples
The following example shows how to add a delimiter to a format profile:
ZXAN(config)#port-identification format-profile testprf
ZXAN(config-portloc-format-profile)#port-identification add delimiter space
Related Commands
show port-identification format-profile info
45-51
Function
This command adds a character string to a format profile.
Parameters
Mode
Portloc Format mode
Usage Guidelines
(1) The character string added to a format profile with this command cannot contain
delimiters.
(2) The optional parameter index specifies a location where an element is added. When
this command is used without this parameter, an element is added behind the existing
maximum index by default.
Examples
The following example shows how to add a character string to a format profile:
ZXAN(config)#port-identification format-profile testprf
ZXAN(config-portloc-format-profile)#port-identification add string teststr
Related Commands
show port-identification format-profile info
Function
This command adds a variable to a format profile.
45-52
Parameters
45-53
name1 - -
Mode
Portloc Format mode
Usage Guidelines
(1) The optional parameter width specifies the number of output bytes of a variable.
(2) The optional parameter index specifies a location where an element is added. When
this command is used without this parameter, an element is added behind the existing
maximum index by default.
(3) Configurable variables:
access-mode: subscriber access mode (LN, EP, and GP), corresponding to DSL, EPON,
and GPON access mode respectively
access-node-id: subscriber identifier, obtained from the in-band MAC or specifically named
access-node-type: subscriber access mode (am, ptm, and pon), corresponding to ADSL,
VDSL, and PON access mode respectively
chassis: 0
cvlan: inner VLAN for subscriber access
ethernet-priority: link priority for subscriber access
frame: physical frame number for subscriber access
gem-port: PON port for subscriber access in PON access mode
45-54
Examples
The following example shows how to add a variable to a format profile:
Related Commands
show port-identification format-profile info
Function
This command deletes an element from a format profile.
Parameters
45-55
Mode
Portloc Format mode
Usage Guidelines
The optional parameter index specifies an index of the element to be deleted.
Examples
The following example shows how to delete an element from a format profile:
ZXAN(config)#port-identification format-profile testprf
ZXAN(config-portloc-format-profile)#port-identification delete index 2
Related Commands
show port-identification format-profile info
Function
This command configures a DHCP Option82 trust policy for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without this information, the port location module adds new port location information for
them.
45-56
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
(2) If the trust policy is false add, the port location module adds a new Option82 after the
existing one.
Examples
The following example shows how to set the DHCPv4 trust policy to false add for an
operator profile:
ZXAN(config)#port-identification operator-profile testprf
ZXAN(config-portloc-operator-profile)#dhcpv4-l2-relay-agent trust false add
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures a DHCP Option82 trust policy for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without this information, the port location module adds new port location information for
them.
(1) If the trust policy is true keep, the port location module keeps the existing Option82
unchanged.
45-57
(2) If the trust policy is true replace, the port location module replaces the existing
Option82 with a new one.
Examples
The following example shows how to set the DHCPv4 trust policy to true keep for an
operator profile:
ZXAN(config)#port-identification operator-profile testprf
ZXAN(config-portloc-operator-profile)#dhcpv4-l2-relay-agent trust true keep
Related Commands
45.1.24 show port-identification operator-profile
45.7.3 dhcpv4-l2-relay-agent
Syntax
dhcpv4-l2-relay-agent {enable |disable }
Function
This command enables or disables the DHCP Option82 function for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information to
the uplink DHCP Option82 packets, and strips port location information out of the downlink
Option82 packets.
(2) When this function is disabled, the port location module keeps the existing DHCP
Option82 packets unchanged.
Examples
The following example shows how to enable the DHCP Option82 function for an operator
profile:
45-58
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures a DHCPv6 Option18 trust policy for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without this information, the port location module adds new port location information for
them.
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
(2) If the trust policy is false add, the port location module adds a new Option18 after the
existing one.
Examples
The following example shows how to set the DHCPv6 trust policy to false add for an
operator profile:
ZXAN(config)#port-identification operator-profile testprf
ZXAN(config-portloc-operator-profile)#dhcpv6-l2-relay-agent trust false add
45-59
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures a DHCPv6 Option18 trust policy for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without this information, the port location module adds new port location information for
them.
(1) If the trust policy is true keep, the port location module keeps the existing Option18
unchanged.
(2) If the trust policy is true replace, the port location module replaces the existing
Option18 with a new one.
Examples
The following example shows how to set the DHCPv6 trust policy to true keep for an
operator profile:
ZXAN(config)#port-identification operator-profile testprf
ZXAN(config-portloc-operator-profile)#dhcpv6-l2-relay-agent trust true keep
Related Commands
45.1.24 show port-identification operator-profile
45-60
45.7.6 dhcpv6-l2-relay-agent
Syntax
dhcpv6-l2-relay-agent {enable |disable }
Function
This command enables or disables the DHCP Option18 function for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information to
the uplink DHCP Option18 packets, and strips port location information out of the downlink
Option18 packets.
(2) When this function is disabled, the port location module keeps the existing DHCP
Option18 packets unchanged.
Examples
The following example shows how to enable the DHCP Option18 function for an operator
profile:
Related Commands
45.1.24 show port-identification operator-profile
45-61
Function
This command configures an ND LIO option trust policy for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without this information, the port location module adds new port location information for
them.
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
(2) If the trust policy is false add, the port location module adds a new LIO option after the
existing one.
Examples
The following example shows how to set the ND LIO option trust policy to false add for
an operator profile:
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures an ND LIO option trust policy for an operator profile.
45-62
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink packets with port location information. For the packets
without this information, the port location module adds new port location information for
them.
(1) If the trust policy is true keep, the port location module keeps the existing LIO option
unchanged.
(2) If the trust policy is true replace, the port location module replaces the existing LIO
option with a new one.
Examples
The following example shows how to set the ND LIO option trust policy to true keep for
an operator profile:
ZXAN(config)#port-identification operator-profile testprf
ZXAN(config-portloc-operator-profile)#ndp-lio trust true keep
Related Commands
45.1.24 show port-identification operator-profile
45.7.9 ndp-lio
Syntax
ndp-lio {enable |disable }
Function
This command enables or disables the ND LIO function for an operator profile.
45-63
Parameters
Mode
Portloc Operator mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information to
the uplink ND packets, and strips port location information out of the downlink ND packets.
(2) When this function is disabled, the port location module keeps the existing ND packets
unchanged.
Examples
The following example shows how to enable the ND LIO function for an operator profile:
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures the value of the variable Access-Loop-tag in an operator profile.
45-64
Parameters
Mode
Portloc Operator mode
Usage Guidelines
To delete the configured value, use the no form of this command.
Examples
The following example shows how to configure the value of the variable Access-Loop-tag
in an operator profile:
ZXAN(config-portloc-operator-profile)#port-identification add-Access-Loop-tag DHCP subopt81
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures the value of the variable PPP-tag in an operator profile.
Parameters
45-65
Mode
Portloc Operator mode
Usage Guidelines
To delete the configured value, use the no form of this command.
Examples
The following example shows how to configure the value of the variable PPP-tag in port
location information from PPPOA/PPPOE packets:
ZXAN(config-portloc-operator-profile)#port-identification add-PPP-tag DSLF_IWF_PPPOE
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures the format profiles bound with different port modes for an
operator profile.
Parameters
45-66
Mode
Portloc Operator mode
Usage Guidelines
None
Examples
The following example shows how to set the ATM port mode to DSL forum format:
ZXAN(config)#port-identification add-Access-Loop-tag DHCP subopt81
ZXAN(config-portloc-operator-profile)#port-identification format atm dsl-forum-atm
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures a PPPoE+ trust policy for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink PPPoE+ packets with port location information. For
the packets without this information, the port location module adds new port location
information for them.
(1) If the trust policy is false discard, the port location module discards the packets
immediately.
45-67
(2) If the trust policy is false add, the port location module adds new port location
information after the existing one.
Examples
The following example shows how to set the PPPOE+ trust policy to false add for an
operator profile:
ZXAN(config)#port-identification operator-profile testprf
ZXAN(config-portloc-operator-profile)#pppoe-intermediate-agent trust false add
Related Commands
45.1.24 show port-identification operator-profile
Function
This command configures a PPPoE+ trust policy for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
This command works on the uplink PPPoE+ packets with port location information. For
the packets without this information, the port location module adds new port location
information for them.
(1) If the trust policy is true keep, the port location module keeps the existing port location
information unchanged.
(2) If the trust policy is true replace, the port location module replaces the existing port
location information with new information.
45-68
Examples
The following example shows how to set the PPPOE+ trust policy to true keep for an
operator profile:
Related Commands
45.1.24 show port-identification operator-profile
45.7.15 pppoe-intermediate-agent
Syntax
pppoe-intermediate-agent {enable |disable }
Function
This command enables or disables the PPPoE+ function for an operator profile.
Parameters
Mode
Portloc Operator mode
Usage Guidelines
(1) When this function is enabled, the port location module adds port location information
to the uplink PPPoE+ packets, and strips port location information out of the downlink
PPPoE+ packets.
(2) When this function is disabled, the port location module keeps the existing PPPoE+
packets unchanged.
Examples
The following example shows how to enable the PPPoE+ function for an operator profile:
45-69
Related Commands
45.1.24 show port-identification operator-profile
45-70
Function
This command adds a permanent MAC address item.
46-1
Parameters
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 configured
permanent MAC address.
Examples
The following example shows how to add a permanent MAC address (000a.010c.e2c6)
for the Ethernet port gei_1/22/1:
Related Commands
46.3 mac delete
46-2
Function
This command configures the dynamic MAC address aging time.
Parameters
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 set the dynamic MAC address aging time to 180
seconds:
Related Commands
46.12 show mac aging-time
Function
This command deletes an MAC address item.
46-3
Parameters
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 an MAC address (000a.010c.e2c6) and all the
MAC addresses for the Ethernet port gei_1/22/1:
Related Commands
46.1 mac add
46-4
Function
This command deletes all the MAC address items.
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
46.1 mac add
46.17 show mac-real-time
Function
This command deletes dynamic MAC address items.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete dynamic MAC address items:
46-5
Related Commands
46.1 mac add
46.17 show mac-real-time
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
46.1 mac add
46.17 show mac-real-time
Function
This command deletes all the MAC address items within a VLAN.
46-6
Parameters
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
46.1 mac add
46.17 show mac-real-time
Function
This command configures a monitoring period for MAC learning.
Parameters
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.
46-7
Examples
The following example shows how to set the monitoring period for MAC learning to 5
minutes:
ZXAN(config)#mac monitor-period 5
Related Commands
46.13 show mac monitor-info
Function
This command configures an MAC address pool.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
(1) Up to eight MAC address pools can be created and up to 1024 addresses can be added
to one address pool.
(2) To delete the configured MAC address pools, use the no form of this command.
(3) In interface mode, if the encapsulation type of an interface is configured to IPOA or
PPPOA, an MAC address will be applied for as user's MAC address for the IPOA and
PPPOA services. When the encapsulation type is changed to the types other than IPOA
or PPPOA, the MAC address is released.
(4) An MAC address pool can be deleted only when it is not referenced.
46-8
Examples
The following example shows how to configure MAC address pool 2 containing 1024 MAC
addresses with the starting address of 000a.010c.e2c6:
Related Commands
46.14 show mac pool
Function
This command configures the alarm threshold of MAC usage. An alarm notice is generated
when the MAC item number reaches the threshold.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the alarm threshold of MAC usage to 10%:
ZXAN(config)#mac usage-threshold 10
Related Commands
46.13 show mac monitor-info
46.15 show mac running
46-9
Function
This command displays MAC address items.
Parameters
Mode
All modes except user mode
46-10
Usage Guidelines
The show mac command displays all the MAC address items, including the MAC addresses
of the FPGAs on all the line cards and the MAC addresses learned by the ROS (excluding
the inline port) on the main control card.
The show mac dynamic command displays all the MAC addresses learned dynamically.
The show mac permanent command displays all the permanent MAC addresses.
The show mac vlan vlanID command displays all the MAC address items with 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.
Examples
The following example shows how to display all the MAC address items:
ZXAN#show mac
Total mac address : 1
Related Commands
46.1 mac add
46.3 mac delete
Function
This command displays the aging time of dynamic MAC addresses for a switch.
Parameters
None
Mode
All modes except user mode
46-11
Usage Guidelines
None
Examples
The following example shows how to display the aging time of the dynamic MAC addresses
for a switch:
ZXAN(config)#show mac aging-time
Related Commands
46.12 show mac aging-time
Function
This command displays monitoring information about MAC address learning in the current
time period.
Parameters
None
Mode
All modes 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
46-12
Related Commands
None
Function
This command displays the configuration information about an MAC address pool.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration information about an MAC
address pool:
Related Commands
46.9 mac pool
46-13
Function
This command displays the MAC address-related configurations of a switch.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
If there are no MAC address-related configurations available, all parameters are kept as
defaults. This command displays only the configurations that are written to a library.
Examples
The following example shows how to display the MAC address-related configurations:
ZXAN(config)#show mac running
MAC monitor-period 10
MAC usage-threshold 70
Related Commands
46.11 show mac
46.12 show mac aging-time
Function
This command displays the MAC addresses of the inband and outband EMS.
46-14
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the MAC addresses of the inband and
outband EMS:
Related Commands
None
Function
This command displays MAC address items. For GPON/EPON subscriber cards, the MAC
address items are queried from line cards with an asynchronous message.
Parameters
46-15
Mode
All modes except user mode
Usage Guidelines
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 ports) in
the ROS on the main control 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 within
a specified VLAN ID.
The show mac-real-time gpon/epon/eth command displays the MAC address of a port.
Any one of the above-listed commands followed by statistic displays statistical information
about the MAC items that match the specific conditions.
Examples
The following example shows how to display all the MAC address items:
ZXAN#show mac-real-time
Total mac address : 2
46-16
----------------------------------------------------------------------------
0000.0001.0001 100 Permanent gpon-onu_1/3/1:1 vport 1 ---
0000.0001.0002 100 Permanent gpon-onu_1/3/1:2 vport 1 ---
Related Commands
46.1 mac add
46-17
46-18
Function
This command clears information about spoofing records.
Parameters
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
47-1
Related Commands
show security mac-spoofing-log
Function
This command enables or disables the MAC address anti-spoofing function.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the MAC address anti-spoofing function is enabled.
Examples
The following example shows how to disable the MAC address anti-spoofing function:
ZXAN(config)#security mac-anti-spoofing disable
Related Commands
47.6 show security mac-anti-spoofing configuration
Function
This command enables or disables the anti-spoofing uplink port protection for MAC
addresses.
47-2
Parameters
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
47.6 show security mac-anti-spoofing configuration
Function
This command enables or disables MAC address anti-spoofing reporting.
47-3
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
1) Anti-spoofing reporting is associated to loopback detection. Make sure to enable
spoofing reporting 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 NMS 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 anti-spoofing is enabled, the disabled spoofing event does not report a spoofing
notice to the NMS.
Examples
The following example shows how to enable MAC address anti-spoofing reporting:
ZXAN(config)#security mac-move-report enable
Related Commands
47.6 show security mac-anti-spoofing configuration
44.2.4 pon-loopback-detection
47.7 show security mac-move-log
Function
This command configures the interval for MAC address spoofing reporting.
47-4
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When an MAC address spoofing event is detected for the first time, an alarm is raised.
The same MAC address spoofing alarm is reported again when this time interval expires.
Examples
The following example shows how to configure the interval for MAC address spoofing
reporting to five minutes:
Related Commands
47.6 show security mac-anti-spoofing 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
All modes except user mode
Usage Guidelines
None
47-5
Examples
The following example shows how to display the current anti-spoofing configurations of
the system:
Related Commands
47.2 security mac-anti-spoofing
Function
This command displays the record information about MAC address spoofing and internal
processing when spoofing occurs.
Parameters
None
Mode
All modes 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
with such information as spoofing the MAC and VLAN, spoofing source port, and spoofing
destination port saved in the spoofing record.
Examples
The following example shows how to display the record information about MAC address
spoofing and internal processing when spoofing occurs:
Related Commands
47.1 clear security mac-move-log
47-6
Function
This command enables or disables IGMP bandwidth control.
Parameters
Mode
Configuration mode: ZXAN (config)#
48-1
Usage Guidelines
A user's join request is rejected when the bandwidth of the multicast group which the user
attempts to join exceeds the remaining bandwidth of the current physical channel. This is
called "bandwidth control".
The bandwidth of a multicast group is configured with the igmp mvlan group bandwidth
command.
The bandwidth control of a multicast group is currently supported on user ports and PON
OLT ports.
Examples
The following example shows how to enable IGMP bandwidth control:
ZXAN(config)#igmp bandwidth-control enable
Related Commands
48.4.1 show igmp
Function
This command enables or disables the global IGMP protocol.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the global IGMP protocol:
48-2
ZXAN(config)#igmp enable
Related Commands
48.4.1 show igmp
Function
This command enables or disables the general IGMP leave function.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The general IGMP leave function is used to delete the data of a subscriber from all the
multicast groups that the subscriber joins. For certain restarts initiated by a subscriber
(STB), a general leave request packet with the IGMP multicast group address 0.0.0.0 is
sent to the NE, and then the NE transmits a group-specific query packet to the subscriber. If
the subscriber does not respond, all the data of the subscriber is deleted from the multicast
groups that the subscriber joins.
Examples
The following example shows how to enable the general IGMP leave function:
ZXAN(config)#igmp general-leave enable
Related Commands
48.4.1 show igmp
48-3
Function
This command enables or disables IGMP host tracking control.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A user on a bridge interface records the information (mainly IP addresses) about all users
on this interface when accessing a multicast group. This is called "host-tracking".
Many families have more than one TV sets; therefore, there might be multiple terminals
ordering programs at the same time.
Examples
The following example shows how to enable IGMP host tracking control:
Related Commands
48.4.1 show igmp
Function
This command enables or disables IGMP logging.
48-4
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable IGMP logging:
ZXAN(config)#igmp log enable
Related Commands
48.4.1 show igmp
48.4.7 show igmp log
Function
This command clears the error information about the IGMP main control card driver.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
48-5
Examples
The following example shows how to clear the error information about the IGMP main
control card driver:
ZXAN(config)#igmp mux-error-info clear
Related Commands
48.4.11 show igmp mux-error-info
Function
This command configures the IGMP pre-join interval.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the IGMP pre-join interval to 200 seconds:
ZXAN(config)#igmp prejoin-interval 200
Related Commands
48.4.1 show igmp
48-6
Function
This command configures the mode in which IGMP packets are forwarded by a line card
in the downstream direction.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, IGMP packets are forwarded by a line card in the downstream direction in uni
cast mode.
Examples
The following example shows how to configure the mode in which IGMP packets are
forwarded to "broadcast":
Related Commands
48.4.1 show igmp
Function
This command enables or disables IGMP multicast across VLANs.
48-7
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Multicast across VLANs indicates that a user can establish a group member in a multicast
VLAN when the user VLAN is different from the multicast VLAN.
Examples
The following example shows how to enable IGMP multicast across VLANs:
Related Commands
48.4.1 show igmp
Function
This command clears the IGMP packet statistics for global configuration, a specified
MVLAN, or a specified interface.
Parameters
48-8
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to clear the packet statistics for IGMP MVLAN 100:
ZXAN(config)#igmp statistics clear mvlan 100
Related Commands
48.4.19 show igmp statistics
48.4.10 show igmp mp-statistics
Function
This command creates an IGMP MVLAN.
Parameters
48-9
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an IGMP MVLAN, use the no form of this command.
Examples
The following example shows how to create IGMP MVLAN 100:
ZXAN(config)#igmp mvlan 100
Related Commands
48.4.12 show igmp mvlan
Function
This command enables or disables the IGMP protocol for an MVLAN.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable IGMP packets receiving and processing for
MVLAN 100:
ZXAN(config)#igmp mvlan 100 enable
48-10
Related Commands
48.4.12 show igmp mvlan
Function
This command adds or deletes an IGMP group filtering address (segment) for a specified
MVLAN group.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure MVLAN 1000 with the IGMP group filtering
address segment from 224.1.1.1 to 225.1.1.1:
ZXAN(config)#igmp mvlan 1000 group 224.1.1.1 to 225.1.1.1
Related Commands
48.4.14 show igmp mvlan group-filter
48-11
Function
This command configures the bandwidth of specified IGMP multicast groups.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The bandwidth control function determines whether to accept the current join request by
comparing the total bandwidth (an accumulated value based on configurations) with the
real physical bandwidth of the port.
Examples
The following example shows how to configure the bandwidth of IGMP multicast groups
from 224.1.1.1 to 224.1.1.3 in MVLAN 1000 to 6000 Kbps:
ZXAN(config)#igmp mvlan 1000 group 224.1.1.1 to 224.1.1.3 bandwidth 6000
Related Commands
48.4.13 show igmp mvlan group-bandwidth
Function
This command enables or disables pre-join for the specified IGMP multicast groups (group
and source).
48-12
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Pre-join is to direct the multicast data stream to the uplink port of the OLT equipment
beforehand to save time for forwarding data from a multicast source to the OLT equipment,
to reduce streaming-on-demand delay, and to improve user experience.
Examples
The following example shows how to enable pre-join for IGMP multicast group 224.1.1.1
and source 192.168.1.1 in MVLAN 1000:
ZXAN(config)#igmp mvlan 1000 group 224.1.1.1 source 192.168.1.1 prejoin enable
Related Commands
48.4.15 show igmp mvlan group-prejoin
Function
This command adds or deletes a static user port for IGMP MVLAN multicast.
48-13
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To configure a static multicast group member, direct the specific multicast data stream to
an OLT user port without controlling user's multicast requests.
Examples
The following example shows how to configure the user port gpon-onu_1/2/5:1:1 to a static
port with IGMP multicast group 224.1.1.1 and source 192.168.1.1 in MVLAN 1000:
Related Commands
48.4.18 show igmp static-member
Function
This command enables or disables group filtering for an IGMP MVLAN.
48-14
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If group filtering is enabled, it is necessary to check whether the group address is
configured for IGMP join packets.
Examples
The following example shows how to enable group filtering for IGMP MVLAN 100:
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the host IP address for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN (config)#
48-15
Usage Guidelines
The ip_addr is the IP address of the host where the report/leave packets are sent in proxy
mode.
Examples
The following example shows how to set the host IP address to 10.1.1.1 for IGMP MVLAN
1000:
ZXAN(config)#igmp mvlan 1000 host-ip 10.1.1.1
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the host version for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The host version type of an IGMP MVLAN determines the version type of the report packet
that the OLT sends to the uplink device.
Examples
The following example shows how to set the host version to v2 for IGMP MVLAN 1000:
48-16
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the query count of the last member for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the query count of the last member for IGMP
MVLAN 1000 to 3:
ZXAN(config)#igmp mvlan 1000 last-query-count 3
Related Commands
48.4.12 show igmp mvlan
48-17
Function
This command configures the query interval of the last member for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the query interval of the last member for IGMP
MVLAN 1000 to 2 seconds:
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the priority of protocol packets in Proxy or SPR mode.
Parameters
48-18
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the priority of protocol packets to 7 for IGMP
MVLAN 1000:
ZXAN(config)#igmp mvlan 1000 priority 7
Related Commands
48.4.12 show igmp mvlan
Function
This command configures a common query interval for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the common query interval for IGMP MVLAN
1000 to 100 seconds:
ZXAN(config)#igmp mvlan 1000 query-interval 100
48-19
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the maximum response time to a common query for an IGMP
MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the maximum response time to a common query
for IGMP MVLAN 1000 to 5 seconds:
ZXAN(config)#igmp mvlan 1000 query-max-resp 50
Related Commands
48.4.12 show igmp mvlan
48-20
Function
This command configures the latest version of common query packets transmitted by an
IGMP MVLAN.
Parameters
v1 IGMP v1 -
v2 IGMP v2 -
v3 IGMP v3 -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The version of common query packets transmitted by an IGMP MVLAN is the earlier one
of the latest version configured for common query packets and the latest protocol version
supported by the system.
Examples
The following example shows how to configure the latest version of common query packets
transmitted by IGMP MVLAN 1000 to "v2":
ZXAN(config)#igmp mvlan 1000 query-version v2
Related Commands
48.4.12 show igmp mvlan
Function
This command adds or deletes a receiving port for an IGMP MVLAN.
48-21
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
pvc-id PVC ID of a specified DSL interface for the interface Range: 1–10
type DSL
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A receiving port is used to connect a user.
Examples
The following example shows how to configure the user port gpon-onu_1/3/1:1:1 to the
receiving port for IGMP MVLAN 1000:
Related Commands
48.4.12 show igmp mvlan
Function
This command configures a robustness level for an IGMP MVLAN.
Parameters
48-22
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the robustness level for IGMP MVLAN 1000 to 3:
ZXAN(config)#igmp mvlan 1000 robustness 3
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the routing IP address for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the routing IP address for IGMP MVLAN 1000 to
192.168.2.15:
48-23
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the aging time of the group members of an IGMP MVLAN in
Snooping mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the aging time of the group members of IGMP
MVLAN 1000 to 500 seconds:
ZXAN(config)#igmp mvlan 1000 snooping-aging-time 500
Related Commands
48.4.12 show igmp mvlan
48-24
Function
This command configures the filtering mode of source addresses for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the filtering mode of source addresses for
IGMP MVLAN 1000 to ssmonly:
ZXAN(config)#igmp mvlan 1000 source-filter-mode ssmonly
Related Commands
48.4.12 show igmp mvlan
Function
This command adds or deletes a source port for an IGMP MVLAN.
Parameters
48-25
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A source port is used to connect a multicast source. Only uplink ports and uplink
aggregation groups can be configured to source ports currently.
Examples
The following example shows how to configure the uplink port gei_1/19/1 to the source
port for IGMP MVLAN 1000:
ZXAN(config)#igmp mvlan 1000 source-port gei_1/19/1
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the SSM group range for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the SSM group range for IGMP MVLAN
100 to 224.0.0.0 with the IP address of 224.1.1.1 and mask of 225.0.0.0:
48-26
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the number of startup queries for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When a receiving port is being configured or the ONU goes online, the line card sends
packets actively.
Examples
The following example shows how to set the number of startup queries for IGMP MVLAN
1000 to 3:
Related Commands
48.4.12 show igmp mvlan
48-27
Function
This command configures a startup query interval for an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
When a receiving port is being configured or the ONU goes online, the line card sends
packets actively.
This command works only on GPONs currently.
Examples
The following example shows how to set the startup query interval for IGMP MVLAN 1000
to 60 seconds:
ZXAN(config)#igmp mvlan 1000 startup-query-interval 60
Related Commands
48.4.12 show igmp mvlan
Function
This command sets the interval for an IGMP MVLAN to initiate unsolicited reporting in
Proxy mode.
48-28
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the interval for IGMP MVLAN 1000 to initiate
unsolicited reporting to 15 seconds:
ZXAN(config)#igmp mvlan 1000 unsolicited-report-interval 15
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the highest IGMP version supported by an MVLAN.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
48-29
Usage Guidelines
None
Examples
The following example shows how to set the highest IGMP version supported by MVLAN
1000 to v3:
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the work mode of an IGMP MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
In Proxy mode, an IGMP MVLAN agents the router on the user side, and the host on the
network side. This is the default work mode of an IGMP MVLAN.
In Snooping mode, all valid report and/or query packets are forwarded transparently.
In SPR mode, an IGMP MVLAN agents user's report request, while the downlink common
query packets are forwarded transparently.
48-30
In Router mode, a router is simulated to terminate the IGMP request packets from
subscribers.
Examples
The following example shows how to configure the work mode of IGMP MVLAN 1000 to
snooping:
ZXAN(config)#igmp mvlan 1000 work-mode snooping
Related Commands
48.4.12 show igmp mvlan
Function
This command configures the maximum bandwidth of a multicast group for an interface.
Parameters
vport-id Virtual port ID for a specified ONU for the Range: 1–128
interface type GPON or EPON
pvc-id PVC ID for a specified DSL interface for the Range: 1–10
interface type DSL
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
None
48-31
Examples
The following example shows how to configure the maximum IGMP multicast group
bandwidth for the interface gpon-onu_1/4/1:1 to 204800 kbps:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#igmp bandwidth 204800 vport 1
Related Commands
48.4.4 show igmp interface
Function
This command enables or disables the IGMP protocol for an interface.
Parameters
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
None
Examples
The following example shows how to enable the IGMP protocol for the interface
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#igmp enable vport 1
48-32
Related Commands
48.4.4 show igmp interface
Function
This command enables or disables the IGMP fast-leave function for an interface.
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
With the IGMP fast-leave function enabled, the group members are deleted immediately
once the leave packet is received.
With the IGMP fast-leave function disabled, the group members are not deleted when the
leave packet is received. In Proxy mode, a number of special query packets are sent. If
no response is received, the group members are deleted. In Snooping mode, nothing can
be done but wait for aging.
Examples
The following example shows how to enable the IGMP fast-leave function for the interface
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#igmp fast-leave enable vport 1
48-33
Related Commands
48.4.4 show igmp interface
Function
This command configures the maximum number of IGMP multicast groups an interface to
join at the same time.
Parameters
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
For the GPON, the maximum number of IGMP multicast groups for a PON interface to join
can be set.
Examples
The following example shows how to configure the maximum number of IGMP multicast
groups for the interface gpon-onu_1/4/1:1 to join to 4000:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#igmp max-groups 4000 vport 1
Related Commands
48.4.4 show igmp interface
48-34
Function
This command configures the latest IGMP version supported by an interface.
Parameters
v1 IGMP version v1 -
v2 IGMP version v2 -
v3 IGMP version v3 -
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
If the version of the IGMP packets received on an interface is greater than the latest
version, the packets will be discarded.
Examples
The following example shows how to configure the latest IGMP version supported by the
interface gpon-onu_1/4/1:1 to v2:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#igmp version v2 vport 1
Related Commands
48.4.4 show igmp interface
48-35
Function
This command displays information about the global IGMP configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the global IGMP
configuration:
ZXAN(config)#show igmp
IGMP global parameters:
----------------------------------------------------
IGMP is globally enable.
Span vlan is disable.
Host tracking is disable.
Bandwidth control is disable.
IGMP log is disable.
General query gemport mode is unicast.
Prejoin interval is 120(second).
General leave is disable.
Related Commands
48.1.2 igmp enable
48.1.9 igmp span-vlan
48.1.4 igmp host-tracking
48.1.1 igmp bandwidth-control
48-36
Function
This command displays information about the line card-based dynamic IGMP group
members.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the active line cards-based
dynamic IGMP group members:
ZXAN(config)#show igmp dynamic-member
Total active group number: 2
-----------------------------------------------------
mvlan: 1000 group: 224.1.1.1
active port num of group: 1
48-37
-----------------------------------------------------
mvlan: 1000 group: 224.1.1.2
active port num of group: 1
Related Commands
None
Function
This command displays a line card-based IGMP multicast forwarding table.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the active line card-based IGMP multicast
forwarding table:
ZXAN(config)#show igmp forwarding-table
--------------------------------------------------------------------------------
48-38
1000 224.1.1.1 * 1 3 1
1000 225.1.1.1 192.168.1.1 1 3 1
Related Commands
None
Function
This command displays configuration information about an IGMP interface.
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about the IGMP
interface gpon-onu_1/2/5:1:
ZXAN(config)#show igmp interface gpon-onu_1/2/5:1
IGMP interface gpon-onu_1/2/5:1 vport 1 parameters:
----------------------------------------------------
IGMP status is enable.
IGMP version is v3.
Fast leave is disable.
Max concurrent group num is 8192.
48-39
Bandwidth is 102400(kbps).
Related Commands
48.3.2 igmp enable
48.3.5 igmp version
48.3.3 igmp fast-leave
48.3.4 igmp max-groups
48.3.1 igmp bandwidth
Function
This command displays the address information about the active groups which an IGMP
interface joins dynamically.
Parameters
vport-id Virtual port ID of a specified ONU for the interface type Range: 1–128
GPON or EPON
pvc-id PVC ID of a specified DSL interface for the interface type Range: 1–10
DSL
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the address information about the active
groups which the IGMP interface gpon-onu_1/3/1:1 joins:
ZXAN(config)#show igmp interface gpon-onu_1/3/1:1 dynamic-group-list
-----------------------------------------------------
mvlan: 1000 group: 226.1.1.1 host-ip: 10.63.78.13
48-40
host-mac: 00d0.b03c.cc55
192.168.1.1, 192.168.1.2,
-----------------------------------------------------
mvlan: 1000 group: 226.1.1.2 host-ip: 10.63.78.13
host-mac: 00d0.b03c.cc55
192.168.1.1, 192.168.1.2,
Related Commands
None
Function
This command displays the address information about the active groups which an IGMP
interface configures statically.
Parameters
vport-id Virtual port ID of a specified ONU for the interface type Range: 1–128
GPON or EPON
pvc-id PVC ID of a specified DSL interface for the interface type Range: 1–10
DSL
Mode
All modes except user mode
48-41
Usage Guidelines
None
Examples
The following example shows how to display the address information about the active
groups which the IGMP interface gpon-onu_1/2/5:1 configures statically:
Related Commands
None
Function
This command displays information about IGMP logs.
Parameters
48-42
Mode
All modes except user mode
Usage Guidelines
None
Examples
1. The following example shows how to display the logging information about the IGMP
multicast group 224.1.1.1:
2. The following example shows how to display the detailed information about IGMP Log
2:
48-43
Related Commands
48.1.5 igmp log
Function
This command displays a main control card-based IGMP multicast forwarding table.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the active main control card-based IGMP
multicast forwarding table:
Related Commands
None
48-44
Function
This command displays information about the main control card-based dynamic IGMP
group members.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the active main control
card-based dynamic IGMP group members:
Related Commands
None
48-45
Function
This command displays the statistical information about the IGMP packets processed by
the main control cards.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistical information about the IGMP
packets processed by the main control cards:
ZXAN#show igmp mp-statistics
Total Statistics:
------------------------------------------
RxTotal : 9861
TxTotal : 10016
Rx Statistics:
------------------------------------------
RxGeneralQuery : 0
RxGroupSpecialQuery : 0
RxGroupSourceSpecialQuery : 0
RxV1Report : 0
RxV2Report : 0
RxV3Report : 9861
RxLeave : 0
RxUnknown : 0
Rx Statistics:
------------------------------------------
48-46
RxErrorIpTTL : 0
RxErrorIpRouterAlert : 0
RxErrorPktSize : 0
RxErrorIpCheckSum : 0
RxErrorIgmpCheckSum : 0
RxErrorDestMac : 0
RxErrorDestIp : 0
RxErrorSourceIp : 0
RxErrorIpLenth : 0
RxErrorGroupIp : 0
Tx Statistics:
------------------------------------------
TxGeneralQuery : 209
TxGroupSpecialQuery : 0
TxGroupSourceSpecialQuery : 0
TxV1Report : 0
TxV2Report : 0
TxV3Report : 9807
TxLeave : 0
Drop Statistics:
------------------------------------------
DropRxGeneralQuery : 0
DropRxGroupSpecialQuery : 0
DropRxGroupSourceSpecialQuery : 0
DropRxV1Report : 0
DropRxV2Report : 0
DropRxV3Report : 0
DropRxLeave : 0
DropRxUnknown : 0
Related Commands
48.1.10 igmp statistics
Function
This command displays the error information about the IGMP main control card driver.
48-47
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the error information about the IGMP main
control card driver:
Total num is :2
--------------------------------------------------------------------------------
mvlan Group source error-code Time
--------------------------------------------------------------------------------
1000 226.1.13.196 * Hash-Conflict 2013-01-28 23:34:31
1000 226.1.14.100 * Hash-Conflict 2013-01-28 23:34:31
Related Commands
48.1.6 igmp mux-error-info
Function
This command displays information about IGMP MVLANs.
Parameters
Mode
All modes except user mode
48-48
Usage Guidelines
None
Examples
1. The following example shows how to display information about all the IGMP MVLANs
created currently:
Total Num is 2.
VID Status Work-mode GroupFilter Filter-mode ActGroups HostVersion QryVersion
-------------------------------------------------------------------------------
2. The following example shows how to display the detailed information about IGMP
MVLAN 1000:
ZXAN(config)#show igmp mvlan 1000
Protocol packet's priority is 0 (in proxy/spr mode)
Act Port is 0.
Host ip is 192.168.2.14.
Proxy ip is 192.168.2.14.
Igmp v1 mode is accept.
Igmp v2 mode is accept.
Igmp v3 mode is accept.
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 1(second).
Startup query interval is 30(second).
Startup query count is 2.
Snooping aging time is 300(second).
-------------------------------------------------------------------------------
Source Port HostCompatibleMode HostConfigMode V1TimeOut V2TimeOut
-------------------------------------------------------------------------------
gei_1/3/3 v3 auto 0 0
Receive Port
48-49
----------------------------
gpon-onu_1/2/5:1:1
Related Commands
48.2.1 igmp mvlan
48.2.2 igmp mvlan enable
48.2.7 igmp mvlan group-filter
48.2.21 igmp mvlan source-port
48.2.16 igmp mvlan receive-port
48.2.8 igmp mvlan host-ip
48.2.9 igmp mvlan host-version
48.2.10 igmp mvlan last-query-count
48.2.11 igmp mvlan last-query-interval
48.2.12 igmp mvlan priority
48.2.13 igmp mvlan query-interval
48.2.14 igmp mvlan query-max-resp
48.2.15 igmp mvlan query-version
48.2.17 igmp mvlan robustness
48.2.19 igmp mvlan snooping-aging-time
48.2.20 igmp mvlan source-filter-mode
48.2.18 igmp mvlan router-ip
48.2.22 igmp mvlan ssm-address-range
48.2.23 igmp mvlan startup-query-count
48.2.24 igmp mvlan startup-query-interval
48.2.25 igmp mvlan unsolicited-report-interval
48.2.26 igmp mvlan version-mode
48.2.27 igmp mvlan work-mode
48-50
Function
This command displays the bandwidth configuration information about the IGMP multicast
groups of a specified MVLAN.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the bandwidth configuration information about
the multicast groups of IGMP MVLAN 1000:
Total Num is 3.
Mvlan Group-IP BW(kbps)
-----------------------------------
Related Commands
48.2.4 igmp mvlan group bandwidth
48-51
Function
This command displays the filter configuration information about the IGMP multicast
groups of a specified MVLAN.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the filter configuration information about the
multicast groups of IGMP MVLAN 1000:
ZXAN(config)#show igmp mvlan 1000 group-filter
configured filter group address
-------------------------------------------
224.1.1.1 - 225.1.1.1
Related Commands
48.2.3 igmp mvlan group
Function
This command displays the configuration information about the IGMP pre-join multicast
groups of a specified MVLAN.
48-52
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration information about the
pre-join multicast groups of IGMP MVLAN 1000:
Total Num is 3.
Mvlan Group-IP Source-IP Prejoin
----------------------------------------------------
Related Commands
48.2.5 igmp mvlan group prejoin
Function
This command displays the statistical information about the IGMP packets processed by
the line cards.
48-53
Parameters
Parameter Description Value
vport-id Virtual port ID of a specified ONU for the interface type Range: 1–128
GPON or EPON
pvc-id PVC ID of a specified DSL interface for the interface Range: 1–10
type DSL
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistical information about the IGMP
packets processed by the line cards:
ZXAN(config)#show igmp np-statistics
Total Statistics:
------------------------------------------
RxTotal : 5063
TxTotal : 9949
Rx Statistics:
------------------------------------------
RxGeneralQuery : 193
RxGroupSpecialQuery : 0
RxGroupSourceSpecialQuery : 0
RxV1Report : 0
RxV2Report : 2
RxV3Report : 4866
RxLeave : 2
RxUnknown : 0
Rx Statistics:
------------------------------------------
RxErrorIpTTL : 0
RxErrorIpRouterAlert : 0
RxErrorPktSize : 0
RxErrorIpCheckSum : 0
RxErrorIgmpCheckSum : 0
48-54
RxErrorDestMac : 0
RxErrorDestIp : 0
RxErrorSourceIp : 0
RxErrorIpLenth : 0
RxErrorGroupIp : 0
Tx Statistics:
------------------------------------------
TxGeneralQuery : 4
TxGroupSpecialQuery : 2
TxGroupSourceSpecialQuery : 0
TxV1Report : 0
TxV2Report : 0
TxV3Report : 9943
TxLeave : 0
Drop Statistics:
------------------------------------------
DropRxGeneralQuery : 0
DropRxGroupSpecialQuery : 0
DropRxGroupSourceSpecialQuery : 0
DropRxV1Report : 0
DropRxV2Report : 1
DropRxV3Report : 5
DropRxLeave : 0
DropRxUnknown : 0
Related Commands
48.1.10 igmp statistics
Function
This command displays the number of dynamic groups and users on an IGMP PON port.
48-55
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of dynamic IGMP groups and
users on the interface gpon-olt_1/2/5:
Related Commands
None
Function
This command displays information about static IGMP group members.
Parameters
Mode
All modes except user mode
48-56
Usage Guidelines
None
Examples
The following example shows how to display information about static IGMP group
members:
Related Commands
48.2.6 igmp mvlan group static-port
Function
This command displays the statistical information about IGMP packets.
Parameters
Mode
All modes except user mode
48-57
Usage Guidelines
None
Examples
The following example shows how to display the statistical information about the IGMP
packets for MVLAN 1000:
Related Commands
48.1.10 igmp statistics
Function
This command enables or disables MLD bandwidth control.
48-58
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A user's join request is rejected when the bandwidth of the multicast group which the user
attempts to join exceeds the remaining bandwidth of the current physical channel. This is
called "bandwidth control". The bandwidth of a multicast group is configured with the mld
mvlan group bandwidth command.
The bandwidth control of a multicast group is currently supported on user ports and PON
OLT ports.
Examples
The following example shows how to enable MLD bandwidth control:
ZXAN(config)#mld bandwidth-control enable
Related Commands
48.8.1 show mld
Function
This command enables or disables the global MLD protocol.
Parameters
Parameter Description Value
48-59
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enable the global MLD protocol:
ZXAN(config)#mld enable
Related Commands
48.8.1 show mld
Function
This command enables or disables the general MLD leave function.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The general MLD leave function is used to delete the data of a subscriber from all the
multicast groups that the subscriber joins. For certain restarts initiated by a subscriber
(STB), a general leave request packet with the MLD multicast group address 0.0.0.0 is sent
to the NE, and then the NE transmits a group-specific query packet to the subscriber. If the
subscriber does not respond, all the data of the subscriber is deleted from the multicast
groups that the subscriber joins.
48-60
Examples
The following example shows how to enable the general MLD leave function:
ZXAN(config)#mld general-leave enable
Related Commands
48.8.1 show mld
Function
This command enables or disables MLD host tracking control.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A user on a bridge interface records the information (mainly IP addresses) about all users
on this interface when accessing a multicast group. This is called "host-tracking". Many
families have more than one TV sets; therefore, there might be multiple terminals ordering
programs at the same time.
Examples
The following example shows how to enable MLD host-tracking control:
ZXAN(config)#mld host-tracking enable
Related Commands
48.8.1 show mld
48-61
Function
This command enables or disables MLD logging.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enable MLD logging:
Related Commands
48.8.1 show mld
Function
This command clears the error information about the MLD main control card driver.
Parameters
None
48-62
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to clear the error information about the MLD main control
card driver:
Related Commands
48.8.11 show mld mux-error-info
Function
This command configures the MLD pre-join interval.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the MLD pre-join interval to 200 seconds:
ZXAN(config)#mld prejoin-interval 200
48-63
Related Commands
48.8.1 show mld
Function
This command configures the mode in which MLD packets are forwarded by a line card in
the downstream direction.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
By default, MLD packets are forwarded by a line card in the downstream direction in
unicast mode.
Examples
The following example shows how to configure the mode in which MLD packets are
forwarded to "broadcast":
Related Commands
48.8.1 show mld
48-64
Function
This command enables or disables MLD multicast across VLANs.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Multicast across VLANs indicates that a user can establish a group member in a multicast
VLAN when the user VLAN is different from the multicast VLAN.
Examples
The following example shows how to enable MLD multicast across VLANs:
ZXAN(config)#mld span-vlan enable
Related Commands
48.8.1 show mld
Function
This command clears the MLD packet statistics for global configuration, a specified
MVLAN, or a specified interface.
48-65
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to clear the packet statistics for MLD MVLAN 100:
ZXAN(config)#mld statistics clear mvlan 100
Related Commands
48.8.19 show mld statistics
48.8.10 show mld mp-statistics
Function
This command creates or deletes an MLD MVLAN.
48-66
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to create MLD MVLAN 100:
Related Commands
48.8.12 show mld mvlan
Function
This command enables or disables the MLD protocol for an MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
48-67
Examples
The following example shows how to enable MLD packets receiving and processing for
MVLAN 100:
Related Commands
48.8.12 show mld mvlan
Function
This command adds or deletes an MLD group filtering address (segment) for a specified
MVLAN group.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure MVLAN 1000 with the MLD group filtering
address segment from ff1e::1 to ff1e::33:
Related Commands
48.8.14 show mld mvlan group-filter
48-68
Function
This command configures the bandwidth of specified MLD multicast groups.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The bandwidth control function determines whether to accept the current join request by
comparing the total bandwidth (an accumulated value based on configurations) with the
real physical bandwidth of the port.
Examples
The following example shows how to configure the bandwidth of MLD multicast groups
from ff1e::1 to ff1e::3 in MVLAN 1000 to 6000 Kbps:
Related Commands
48.8.13 show mld mvlan group-bandwidth
48-69
Function
This command enables or disables pre-join for the specified MLD multicast groups (group
and source).
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Pre-join is to direct the multicast data stream to the uplink port of the OLT equipment
beforehand to save time for forwarding data from a multicast source to the OLT equipment,
to reduce streaming-on-demand delay, and to improve user experience.
Examples
The following example shows how to enable pre-join for MLD multicast group ff1e::1 and
source fe80::a in MVLAN 1000:
Related Commands
48.8.15 show mld mvlan group-prejoin
Function
This command adds or deletes a static user port for MLD MVLAN multicast.
48-70
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
pvc-id PVC ID of a specified DSL interface for the interface Range: 1–10
type DSL
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To configure a static multicast group member, direct the specific multicast data stream to
an OLT user port without controlling user's multicast requests.
Examples
The following example shows how to configure the user port gpon-onu_1/2/5:1:1 to a static
port with MLD multicast group ff1e::1 and source fe80::3 in MVLAN 1000:
Related Commands
48.8.18 show mld static-member
Function
This command enables or disables group filtering for an MLD MVLAN.
48-71
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
If group filtering is enabled, it is necessary to check whether the group address is
configured for MLD join packets.
Examples
The following example shows how to enable group filtering for MLD MVLAN 1000:
Related Commands
48.8.12 show mld mvlan
Function
This command configures the host IP address for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
48-72
Usage Guidelines
The ip_addr is the IP address of the host where the report/leave packets are sent in proxy
mode.
Examples
The following example shows how to set the host IP address to fe80::c0a8:20e for MLD
MVLAN 1000:
ZXAN(config)#mld mvlan 1000 host-ip fe80::c0a8:21e
Related Commands
48.8.12 show mld mvlan
Function
This command configures the host version for an MLD MVLAN.
Parameters
auto The host version type depends on the query packet type -
sent by the uplink port.
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The host version type of an MLD MVLAN determines the version type of the report packet
that the OLT sends to the uplink device.
Examples
The following example shows how to set the host version to v2 for MLD MVLAN 1000:
ZXAN(config)#mld mvlan 1000 host-version v2
48-73
Related Commands
48.8.12 show mld mvlan
Function
This command configures the query count of the last member for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the query count of the last member for MLD
MVLAN 1000 to 3:
ZXAN(config)#mld mvlan 1000 last-query-count 3
Related Commands
48.8.12 show mld mvlan
48-74
Function
This command configures the query interval of the last member for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the query interval of the last member for MLD
MVLAN 1000 to 2 seconds:
Related Commands
48.8.12 show mld mvlan
Function
This command configures the priority of protocol packets in Proxy or SPR mode.
Parameters
48-75
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the priority of protocol packets to 7 for MLD
MVLAN 1000:
ZXAN(config)#mld mvlan 1000 priority 7
Related Commands
48.8.12 show mld mvlan
Function
This command configures a common query interval for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the common query interval for MLD MVLAN 1000
to 100 seconds:
ZXAN(config)#mld mvlan 1000 query-interval 100
48-76
Related Commands
48.8.12 show mld mvlan
Function
This command configures the maximum response time to a common query for an MLD
MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the maximum response time to a common query
for MLD MVLAN 1000 to 5 seconds:
ZXAN(config)#mld mvlan 1000 query-max-resp 50
Related Commands
48.8.12 show mld mvlan
48-77
Function
This command configures the latest version of common query packets transmitted by an
MLD MVLAN.
Parameters
v1 MLD v1 -
v2 MLD v2 -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The version of common query packets transmitted by an MLD MVLAN is the earlier one
of the latest version configured for common query packets and the latest protocol version
supported by the system.
Examples
The following example shows how to configure the latest version of common query packets
transmitted by MLD MVLAN 1000 to "v2":
ZXAN(config)#mld mvlan 1000 query-version v2
Related Commands
48.8.12 show mld mvlan
Function
This command adds or deletes a receiving port for an MLD MVLAN.
48-78
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
pvc-id PVC ID of a specified DSL interface for the interface Range: 1–10
type DSL
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A receiving port is used to connect a user.
Examples
The following example shows how to configure the user port gpon-onu_1/3/1:1:1 to the
receiving port for MLD MVLAN 1000:
Related Commands
48.8.12 show mld mvlan
Function
This command configures a robustness level for an MLD MVLAN.
Parameters
48-79
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the MLD robustness level for MLD MVLAN 1000
to 3:
ZXAN(config)#mld mvlan 1000 robustness 3
Related Commands
48.8.12 show mld mvlan
Function
This command configures the routing IP address for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the routing IP address for MLD MVLAN 1000 to
fe80::c0a8:22e:
ZXAN(config)#mld mvlan 1000 router-ip fe80::c0a8:22e
48-80
Related Commands
48.8.12 show mld mvlan
Function
This command configures the aging time of the group members of an MLD MVLAN in
Snooping mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the aging time of the group members of MLD
MVLAN 1000 to 500 seconds:
ZXAN(config)#mld mvlan 1000 snooping-aging-time 500
Related Commands
48.8.12 show mld mvlan
48-81
Function
This command configures the filtering mode of source addresses for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the filtering mode of source addresses for
MLD MVLAN 1000 to ssmonly:
ZXAN(config)#mld mvlan 1000 source-filter-mode ssmonly
Related Commands
48.8.12 show mld mvlan
Function
This command adds or deletes a source port for an MLD MVLAN.
Parameters
48-82
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A source port is used to connect a multicast source. Only uplink ports and uplink
aggregation groups can be configured to source ports currently.
Examples
The following example shows how to configure the uplink port gei_1/19/1 to the source
port for MLD MVLAN 1000:
ZXAN(config)#mld mvlan 1000 source-port gei_1/19/1
Related Commands
48.8.12 show mld mvlan
Function
This command configures the SSM group range for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the SSM group range for MLD MVLAN 100
to :: with the mask of :: and IP address of ff1e::1:
48-83
Related Commands
48.8.12 show mld mvlan
Function
This command configures the number of startup queries for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When a receiving port is being configured or the ONU goes online, the line card sends
packets actively.
Examples
The following example shows how to set the number of startup queries for MLD MVLAN
1000 to 3:
Related Commands
48.8.12 show mld mvlan
48-84
Function
This command configures a startup query interval for an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
When a receiving port is being configured or the ONU goes online, the line card sends
packets actively.
This command works only on GPONs currently.
Examples
The following example shows how to set the startup query interval for MLD MVLAN 1000
to 60 seconds:
ZXAN(config)#mld mvlan 1000 startup-query-interval 60
Related Commands
48.8.12 show mld mvlan
Function
This command sets the interval for an MLD MVLAN to initiate unsolicited reporting in Proxy
mode.
48-85
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the interval for MLD MVLAN 1000 to initiate
unsolicited reporting to 15 seconds:
ZXAN(config)#mld mvlan 1000 unsolicited-report-interval 15
Related Commands
48.8.12 show mld mvlan
Function
This command configures the highest MLD version supported by an MVLAN.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN(config)#
48-86
Usage Guidelines
None
Examples
The following example shows how to set the highest MLD version supported by MVLAN
1000 to v2:
Related Commands
48.8.12 show mld mvlan
Function
This command configures the work mode of an MLD MVLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
In Proxy mode, an MLD MVLAN agents the router on the user side, and the host on the
network side. This is the default work mode of an MLD MVLAN.
In Snooping mode, all valid report and/or query packets are forwarded transparently.
In SPR mode, an MLD MVLAN agents user's report request, while the downlink common
query packets are forwarded transparently.
48-87
In Router mode, a router is simulated to terminate the MLD request packets from
subscribers.
Examples
The following example shows how to configure the work mode of MLD MVLAN 1000 to
snooping:
ZXAN(config)#mld mvlan 1000 work-mode snooping
Related Commands
48.8.12 show mld mvlan
Function
This command configures the maximum bandwidth of a multicast group for an interface.
Parameters
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
None
48-88
Examples
The following example shows how to configure the maximum MLD multicast group
bandwidth for the interface gpon-onu_1/4/1:1 to 204800 kbps:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#mld bandwidth 204800 vport 1
Related Commands
48.8.4 show mld interface
Function
This command enables or disables the MLD protocol for an interface.
Parameters
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
None
Examples
The following example shows how to enable the MLD protocol for the interface
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#mld enable vport 1
48-89
Related Commands
48.8.4 show mld interface
Function
This command enables or disables the MLD fast-leave function for an interface.
Parameters
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
With the MLD fast-leave function enabled, the group members are deleted immediately
once the leave packet is received.
With the MLD fast-leave function disabled, the group members are not deleted when the
leave packet is received. In Proxy mode, a number of special query packets are sent. If
no response is received, the group members are deleted. In Snooping mode, nothing can
be done but wait for aging.
Examples
The following example shows how to enable the MLD fast-leave function for the interface
gpon-onu_1/4/1:1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#mld fast-leave enable vport 1
48-90
Related Commands
48.8.4 show mld interface
Function
This command configures the maximum number of MLD multicast groups an interface to
join at the same time.
Parameters
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
For the GPON, the maximum number of MLD multicast groups for a PON interface to join
can be set.
Examples
The following example shows how to configure the maximum number of MLD multicast
groups for the interface gpon-onu_1/4/1:1 to join to 4000:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#mld max-groups 4000 vport 1
Related Commands
48.8.4 show mld interface
48-91
Function
This command configures the latest MLD version supported by an interface.
Parameters
v1 MLD version v1 -
v2 MLD version v2 -
Mode
Interface configuration mode: ZXAN(config-if)#
Usage Guidelines
If the version of the MLD packets received on an interface is greater than the latest version,
the packets will be discarded.
Examples
The following example shows how to configure the latest MLD version supported by the
interface gpon-onu_1/4/1:1 to v1:
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#mld version v1 vport 1
Related Commands
48.8.4 show mld interface
48-92
Function
This command displays information about the global MLD configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
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.
Span vlan is disable.
Host tracking is disable.
Bandwidth control is disable.
MLD log is disable.
General query gemport mode is unicast.
Prejoin interval is 120(second).
General leave is disable.
Related Commands
48.5.2 mld enable
48.5.9 mld span-vlan
48.5.4 mld host-tracking
48.5.1 mld bandwidth-control
48-93
Function
This command displays information about the line card-based dynamic MLD group
members.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the active line cards-based
dynamic MLD group members:
ZXAN(config)#show mld dynamic-member
Total active group number: 2
-----------------------------------------------------
mvlan: 1000 group: ff1e::1
active port num of group: 1
48-94
-----------------------------------------------------
mvlan: 1000 group: ff1e::2
active port num of group: 1
Related Commands
None
Function
This command displays a line card-based MLD multicast forwarding table.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the active line card-based MLD multicast
forwarding table:
ZXAN(config)#show mld forwarding-table
--------------------------------------------------------------------------------
48-95
--------------------------------------------------------------------------------
Related Commands
None
Function
This command displays configuration information about an MLD interface.
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about the MLD
interface gpon-onu_1/2/5:1:
ZXAN(config)#show mld interface gpon-onu_1/2/5:1
MLD interface gpon-onu_1/2/5:1 vport 1 parameters:
----------------------------------------------------
MLD status is enable.
MLD version is v2.
Fast leave is disable.
48-96
Related Commands
48.7.2 mld enable
48.7.5 mld version
48.7.3 mld fast-leave
48.7.4 mld max-groups
48.7.1 mld bandwidth
Function
This command displays the address information about the active groups which an MLD
interface joins dynamically.
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the address information about the active
groups which the MLD interface gpon-onu_1/3/1:1 joins:
ZXAN(config)#show mld interface gpon-onu_1/3/1:1 dynamic-group-list
-----------------------------------------------------
48-97
-----------------------------------------------------
mvlan: 1000 group: ff1e::2 host-ip: fe80::97ff:fe89:2277
host-mac: 00d0.b03c.cc55
Related Commands
None
Function
This command displays the address information about the active groups which an MLD
interface configures statically.
Parameters
vport-id Virtual port ID of a specified ONU for the interface Range: 1–128
type GPON or EPON
Mode
All modes except user mode
Usage Guidelines
None
48-98
Examples
The following example shows how to display the address information about the active
groups which the MLD interface gpon-onu_1/2/5:1 configures statically:
ZXAN(config)#show mld interface gpon-onu_1/2/5:1 static-group-list
Total static group-src number: 2
MVLAN ID Group IP SourceIp
--------------------------------------------
Related Commands
None
Function
This command displays information about MLD logs.
Parameters
48-99
Mode
All modes except user mode
Usage Guidelines
None
Examples
1. The following example shows how to display the logging information about the MLD
multicast group ff1e::1:
2. The following example shows how to display the detailed information about MLD Log 1:
ZXAN(config)#show mld log 1
Interface : gpon-onu_1/3/1:1:1
Mvlan : 100
GroupIp : ff1e::1
SourceIp : ::ffff:ffff
HostMac : 01:02:03:04:05:01
HostIp : fe80::11
JoinTime : 2000-12-28 22:08:33
LeaveTime : 2001-01-01 00:08:53
Related Commands
48.5.5 mld log
48-100
Function
This command displays a main control card-based MLD multicast forwarding table.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the active main control card-based MLD
multicast forwarding table:
Related Commands
None
48-101
Function
This command displays information about the main control card-based dynamic MLD
group members.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the active main control
card-based dynamic MLD group members:
Related Commands
None
48-102
Function
This command displays the statistical information about the MLD packets processed by
the main control cards.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistical information about the MLD
packets processed by the main control cards:
ZXAN#show mld mp-statistics
Total Statistics:
------------------------------------------
RxTotal : 5
TxTotal : 5
Rx Statistics:
------------------------------------------
RxGeneralQuery : 2
RxGroupSpecialQuery : 0
RxGroupSourceSpecialQuery : 0
RxV1Report : 0
RxV2Report : 3
RxLeave : 0
RxUnknown : 0
Rx Statistics:
------------------------------------------
RxErrorIpTTL : 0
RxErrorIpRouterAlert : 0
RxErrorPktSize : 0
RxErrorIpCheckSum : 0
RxErrorMldCheckSum : 0
RxErrorDestMac : 0
RxErrorDestIp : 0
48-103
RxErrorSourceIp : 0
RxErrorIpLenth : 0
RxErrorGroupIp : 0
Tx Statistics:
------------------------------------------
TxGeneralQuery : 2
TxGroupSpecialQuery : 0
TxGroupSourceSpecialQuery : 0
TxV1Report : 0
TxV2Report : 3
TxLeave : 0
Drop Statistics:
------------------------------------------
DropRxGeneralQuery : 0
DropRxGroupSpecialQuery : 0
DropRxGroupSourceSpecialQuery : 0
DropRxV1Report : 0
DropRxV2Report : 0
DropRxLeave : 0
DropRxUnknown : 0
ZXAN#
Related Commands
48.5.10 mld statistics
Function
This command displays the error information about the MLD main control card driver.
Parameters
None
Mode
All modes except user mode
48-104
Usage Guidelines
None
Examples
The following example shows how to display the error information about the MLD main
control card driver:
Total num is :2
--------------------------------------------------------------------------------
mvlan Group source error-code Time
--------------------------------------------------------------------------------
1000 ff1e::33 ::ffff:ffff Hash-Conflict 2013-01-28 23:34:33
1000 ff1e::49 ::ffff:ffff Hash-Conflict 2013-01-28 23:34:33
Related Commands
48.5.6 mld mux-error-info
Function
This command displays information about MLD MVLANs.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
48-105
Examples
1. The following example shows how to display information about all the MLD MVLANs
created currently:
Total Num is 2.
VID Status Work-mode GroupFilter Filter-mode ActGroups HostVersion QryVersion
-------------------------------------------------------------------------------
2. The following example shows how to display the detailed information about MLD MVLAN
1000:
gei_1/3/3 v2 auto 0
Receive Port
----------------------------
gpon-onu_1/2/5:1:1
48-106
Related Commands
48.6.1 mld mvlan
48.6.2 mld mvlan enable
48.6.7 mld mvlan group-filter
48.6.21 mld mvlan source-port
48.6.16 mld mvlan receive-port
48.6.8 mld mvlan host-ip
48.6.9 mld mvlan host-version
48.6.10 mld mvlan last-query-count
48.6.11 mld mvlan last-query-interval
48.6.12 mld mvlan priority
48.6.13 mld mvlan query-interval
48.6.14 mld mvlan query-max-resp
48.6.15 mld mvlan query-version
48.6.17 mld mvlan robustness
48.6.19 mld mvlan snooping-aging-time
48.6.20 mld mvlan source-filter-mode
48.6.18 mld mvlan router-ip
48.6.22 mld mvlan ssm-address-range
48.6.23 mld mvlan startup-query-count
48.6.24 mld mvlan startup-query-interval
48.6.25 mld mvlan unsolicited-report-interval
48.6.26 mld mvlan version-mode
48.6.27 mld mvlan work-mode
48-107
Function
This command displays the bandwidth configuration information about the MLD multicast
groups of a specified MVLAN.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the bandwidth configuration information about
the multicast groups of MLD MVLAN 1000:
ZXAN(config)#show mld mvlan 1000 group-bandwidth
Total Num is 4.
Mvlan Group-IP BW(kbps)
-----------------------------------
Related Commands
48.6.4 mld mvlan group bandwidth
Function
This command displays the filter configuration information about the MLD multicast groups
of a specified MVLAN.
48-108
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the filter configuration information about the
multicast groups of MLD MVLAN 1000:
ff1e::1 - ff1e::2a
Related Commands
48.6.3 mld mvlan group
Function
This command displays the configuration information about the MLD pre-join multicast
groups of a specified MVLAN.
Parameters
Mode
All modes except user mode
48-109
Usage Guidelines
None
Examples
The following example shows how to display the configuration information about the
pre-join multicast groups of MLD MVLAN 1000:
ZXAN(config)#show mld mvlan 1000 group-prejoin
Total Num is 3.
Mvlan Group-IP Source-IP Prejoin
----------------------------------------------------
Related Commands
48.6.5 mld mvlan group prejoin
Function
This command displays the statistical information about the MLD packets processed by
the line cards.
Parameters
vport-id Virtual port ID of a specified ONU for the interface type Range: 1–128
GPON or EPON
pvc-id PVC ID of a specified DSL interface for the interface Range: 1–10
type DSL
Mode
All modes except user mode
48-110
Usage Guidelines
None
Examples
The following example shows how to display the statistical information about the MLD
packets processed by the line cards:
ZXAN#show mld np-statistics
Total Statistics:
------------------------------------------
RxTotal : 4
TxTotal : 4
Rx Statistics:
------------------------------------------
RxGeneralQuery : 2
RxGroupSpecialQuery : 0
RxGroupSourceSpecialQuery : 0
RxV1Report : 0
RxV2Report : 2
RxLeave : 0
RxUnknown : 0
Rx Statistics:
------------------------------------------
RxErrorIpTTL : 0
RxErrorIpRouterAlert : 0
RxErrorPktSize : 0
RxErrorIpCheckSum : 0
RxErrorMldCheckSum : 0
RxErrorDestMac : 0
RxErrorDestIp : 0
RxErrorSourceIp : 0
RxErrorIpLenth : 0
RxErrorGroupIp : 0
Tx Statistics:
------------------------------------------
TxGeneralQuery : 2
TxGroupSpecialQuery : 0
TxGroupSourceSpecialQuery : 0
TxV1Report : 0
TxV2Report : 2
TxLeave : 0
48-111
Drop Statistics:
------------------------------------------
DropRxGeneralQuery : 0
DropRxGroupSpecialQuery : 0
DropRxGroupSourceSpecialQuery : 0
DropRxV1Report : 0
DropRxV2Report : 0
DropRxLeave : 0
DropRxUnknown : 0
Related Commands
48.5.10 mld statistics
Function
This command displays the number of dynamic groups and users on an MLD PON port.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of dynamic MLD groups and
users on the interface gpon-olt_1/2/5:
48-112
Related Commands
None
Function
This command displays information about static MLD group members.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about static MLD group members:
Related Commands
48.6.6 mld mvlan group static-port
48-113
Function
This command displays the statistical information about MLD packets.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistical information about the MLD
packets for MVLAN 1000:
ZXAN(config)#show mld statistics mvlan 1000
Mld Statistics of Mvlan : 1000
--------------------------------------------------
Active group num : 2
Joins receive from users : 4
Successful joins from users : 4
Unsuccessful joins : 0
Leave from users : 2
General-query to users : 4
General-query from net : 0
Group-special-query to users : 2
Group-source-sprcial-query to users : 0
48-114
Related Commands
48.5.10 mld statistics
Function
This command enables or disables the Channel Access Control (CAC) function.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the CAC function:
Related Commands
48.11.5 show iptv control
48-115
Function
This command enables or disables the IPTV CDR function.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the CDR function:
Related Commands
None
Function
This command clears IPTV CDR records.
Parameters
None
48-116
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to clear IPTV CDR records:
ZXAN(config)#iptv cdr clear
Related Commands
48.11.1 show iptv cdr
Function
This command configures the regular CDR recording period for a "Permit" user who
watches programs for a long time.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
0 indicates the period when no CDR records are generated.
Examples
The following example shows how to set the regular CDR recording period to 30 minutes
for a "Permit" user who watches programs for a long time:
ZXAN(config)#iptv cdr create-period 30
Related Commands
48.11.1 show iptv cdr
48-117
Function
This command enables or disables CDR recording for a "Deny" user.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable CDR recording for a "Deny" user:
Related Commands
48.9.8 iptv cdr prw-right
Function
This command configures the maximum number of CDR records.
48-118
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the maximum number of CDR records to 6000:
ZXAN(config)#iptv cdr max-records 6000
Related Commands
48.9.10 iptv cdr report-interval
48.9.9 iptv cdr report
48.9.5 iptv cdr deny-right
48.9.8 iptv cdr prw-right
Function
This command enables or disables CDR recording in case that the number of "Preview"
users exceeds the limit.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
48-119
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
Related Commands
48.9.8 iptv cdr prw-right
48.11.1 show iptv cdr
Function
This command enables or disables CDR recording for a "Preview" user.
Parameters
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
48.9.5 iptv cdr deny-right
48-120
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:
Related Commands
48.9.10 iptv cdr report-interval
Function
This command configures the interval for regular CDR reporting by line cards.
48-121
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the interval to 10 minutes for regular CDR
reporting by line cards:
Related Commands
48.9.9 iptv cdr report
48.9.6 iptv cdr max-records
48.9.5 iptv cdr deny-right
Function
This command configures the threshold for CDR reporting by line cards.
Parameters
Mode
Configuration mode: ZXAN (config)#
48-122
Usage Guidelines
None
Examples
The following example shows how to set the threshold to 300 for CDR reporting by line
cards:
Related Commands
48.9.10 iptv cdr report-interval
Function
This command configures IPTV channels globally.
Parameters
48-123
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
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
Related Commands
48.11.4 show iptv channel
Function
This command configures the highest priority for channel access.
48-124
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the highest priority for channel access to "watch":
ZXAN(config)#iptv highest-priority watch
ZXAN(config)#
Related Commands
48.11.5 show iptv control
Function
This command configures IPv6 channel information globally.
Parameters
48-125
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to create an IPv6 channel:
Related Commands
None
48-126
no iptv ipv6 package name6 [channel {range1 |mvlan number2 group ipv6_addr4 [to ipv6_addr1
] [source-address ipv6_addr3 ] |name4 } ]
Function
This command creates an IPv6 multicast package.
Parameters
48-127
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Both package ID and package name are unique. If the package ID is not specified, the
system will assign a package ID.
Examples
The following example shows how to create an IPv6 multicast package:
Related Commands
48.11.7 show iptv package
Function
This command configures the IPv6 address of the Service Management System (SMS)
server.
48-128
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the IPv6 address of the SMS server to 2e4b::5ab4:
ZXAN(config)#iptv ipv6 sms-server 2e4b::5ab4
Related Commands
48.11.5 show iptv control
no iptv package name6 [channel {range1 |mvlan number2 group ip_addr1 [to ip_addr2 ] [sourc
e-address ip_addr3 ] |name4 } ]
Function
This command adds a channel to a multicast package and configures the channel access
rights.
Parameters
48-129
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete a channel from a multicast package, use the no form of this command.
Examples
(1) The following example shows how to add a channel to a multicast package and set the
channel access rights to "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
48-130
(2) The following example shows how to delete a channel from the multicast package:
Related Commands
48.11.7 show iptv package
Function
This command enables or disables the IPTV preview function.
Parameters
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
48.11.8 show iptv prw
48-131
Function
This command configures the IP address of the SMS server.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the IP address of the SMS server to 10.61.97.156:
ZXAN(config)#iptv sms-server 10.61.97.156
Related Commands
48.11.5 show iptv control
Function
This command configures the minimum interval (iptv duration) for IPTV preview.
48-132
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the minimum interval for IPTV preview to 20
seconds:
Related Commands
None
Function
This command configures the IPTV attributes for an ONU user port.
48-133
Parameters
Mode
L2 FEI interface mode and 10G_Ether interface mode: ZXAN(config-if)#, PTP interface
mode
Usage Guidelines
None
48-134
Examples
The following example shows how to configure the connection mode of the interface
gpon-onu_1/4/1:1 to "package":
ZXAN(config)#interface gpon-onu_1/4/1:1
ZXAN(config-if)#iptv right-mode package
ZXAN(config-if)#
Related Commands
48.11.6 show iptv interface
Function
This command displays information about IPTV CDR configuration.
Parameters
None
Mode
All modes 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 : enable
CDR current-state : idle
CDR socket-status : close
CDR deny-right : enable
CDR prw-right : enable
CDR prw-over-count : enable
CDR recog-time : 4(second)
CDR create-period : 30(minute)
48-135
Max-records : 6000
Report-interval : 10(minute)
Report-threshold : 300
Records in cache : 0
ZXAN(config)#
CDR prw-over- CDR recording for a "Preview over count" user. enable/disable
count
CDR recog-time CDR recording recognition time for a user to watch a 0–1000
program (sec).
CDR create-Period CDR recording period for a "Permit" user (minute). 0 0–1440
indicates no periodic records are generated.
Related Commands
None
Function
This command displays CDR record content.
Parameters
None
Mode
All modes except user mode
48-136
Usage Guidelines
None
Examples
The following example shows how to display CDR record content:
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.
--Vid : multicast vlan id.
--SourceIP : source ip in IGMPv3.0,it is 0.0.0.0 when the device
-- can't support IGMPv3.0.
--GroupIP : multicast group ip.
--Validility : indicate if the access is valid.
-- '1' is valid and '2' is invalid.
--Type : the type of access.
-- 1 -- 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
Function
This command displays information about CDR records.
Parameters
None
48-137
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about CDR records:
ZXAN#show iptv cdr records
Total CDR records number: 0
V&T&R : Valid & Type & Reason, Duration unit: second
--------------------------------------------------------------------------------
Index TimeStamp Port Vlan Group Source V&T&R Duration
--------------------------------------------------------------------------------
ZXAN#
ZXAN#
Related Commands
None
Function
This command displays detailed information about IPTV channels.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
48-138
Examples
The following example shows how to display the detailed information about IPTV channel
001:
ZXAN(config)#show iptv channel chname001
id :1
mvlan :100
group :224.1.1.2
source :255.255.255.255
CDR :enable
-------view info-------
viewprofile :DEFVAL.PRF
max-view-count :3
view-duration :120(s)
blackout-interval :60(s)
view-reco-time :4(s)
ZXAN(config)#
Related Commands
None
Function
This command displays global configurations of the IPTV.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display global configurations of the IPTV:
ZXAN#show iptv control
48-139
CAC : disable
SMS : 192.168.0.119
Related Commands
48.9.19 iptv sms-server
Function
This command displays information about an IPTV interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
If this command is used with the keyword channel, information about the channels which
the port has configured is displayed.
If this command is used with the keyword package, information about the packages which
the port has configured is displayed.
If this command is used with neither parameter, control information about the port is
displayed.
Examples
(1) The following example shows how to display user information:
ZXAN(config)#show iptv interface gpon-onu_1/15/2:1 vport 1
auth-mode : auth
right-mode: package
cdrstatus : enable
service : IN_SERVICE
48-140
ZXAN(config)#
ZXAN(config)#
Related Commands
None
Function
This command displays information about IPTV packages.
Parameters
Mode
All modes except user mode
48-141
Usage Guidelines
If this command is used without parameters, the names of all the configured packages are
displayed.
If this command is used with a package name, a list of all the channels in the package is
displayed.
If this command is used with a package name and the keyword users, a list of all the users
in the package is displayed.
Examples
(1) The following example shows how to display all the package names:
(2) The following example shows how to display information about the package "cctv":
(3) The following example shows how to display information about the users in the package
"cctv":
ZXAN(config)#
48-142
Related Commands
None
Function
This command displays global configuration information about IPTV preview.
Parameters
None
Mode
All modes 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 : enable
PrwAutoResetTime : 00:00:00
ZXAN(config)#
Related Commands
None
Function
This command displays information about preview profiles.
48-143
Parameters
Mode
All modes 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
(1) The following example shows how to display all the preview profile names:
(2) The following example shows how to display information about the preview profile "test":
Related Commands
48.9.20 iptv view-profile
48-144
Function
This command configures the ID for a VLAN with arp-agent enabled for IPOA module
interaction.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Only the VLAN ID needs to be configured. For a VLAN ID with arp-agent enabled, ARP
anti-spoofing and MFF are disabled.
Examples
ZXAN(config) #arp-agent vlan 200
49-1
Related Commands
49.2.1 show arp-agent
Function
This command displays the configuration of the arp-agent command.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command is used together with the arp-agent command.
Examples
ZXAN(config)#show arp-agent
Related Commands
49.1.1 arp-agent
Function
This command enables or disables the ARP anti-spoofing function of the NE.
49-2
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
ZXAN(config)#ip-service arp-anti-spoofing enable
Related Commands
49.4.2 show ip-service arp-anti-spoofing
Function
This command enables a specified VLAN to perform anti-spoofing checks on ARP packets.
Parameters
Mode
Configuration mode: ZXAN (config)#
49-3
Usage Guidelines
None
Examples
The following example shows how to enable VLAN 200 to perform anti-spoofing checks
on upstream ARP packets
Related Commands
49.4.2 show ip-service arp-anti-spoofing
Function
This command enables or disables the NE to forward ARP packets with the request IP
address matching the gateway address to the gateway.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
None
Related Commands
49.4.3 show ip-service arp-direct-to-gateway-config
49-4
Function
This command configures a VLAN to determine the port where a destination subscriber of
the ARP packets in the VLAN is located.
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command works on only downlink packets. When the gateway initiates a request, the
equipment does not broadcast but instead forwards the packets based on the port where
the destination subscriber of the request is located.
Examples
The following example shows how to configure filtering items for VLAN 200:
Related Commands
49.4.4 show ip-service arp-filter
Function
This command enables or disables the MFF function.
49-5
Parameters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The MFF function should be enabled before the proxy gateway items and information can
be configured.
Examples
The following example shows how to enable MFF:
Related Commands
49.4.6 show ip-service mac-forced-forwarding
Function
This command configures the IP/MAC address of the gateway that enables the MFF
function for a VLAN.
Parameters
ip_addr2 Mask -
49-6
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The system configures the MFF gateway data of up to eight VLANs currently.
To delete the configuration, use the no form of this command.
Examples
The following example shows how to configure MFF gateway information for a VLAN:
ZXAN(config)#ip-service mac-forced-forwarding vlan 217 gateway 217.1.1.254
Related Commands
49.4.6 show ip-service mac-forced-forwarding
49.4.5 show ip-service gateway
Function
This command configures a VLAN to determine the port where a destination subscriber of
the ND packets in the VLAN is located.
Parameters
Parameter Description Value
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command works on only downlink packets. When the gateway initiates a request, the
equipment does not broadcast but instead forwards the packets based on the port where
the destination subscriber of the request is located.
Examples
The following example shows how to configure filtering items for VLAN 200:
49-7
Related Commands
49.4.7 show ip-service nd-filter
Function
This command displays the information about the ARP mapping table used for MMF.
Parameters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about an ARP mapping table:
ZXAN(config)#show ip-service arp
Total arp: 5
Vlan Internet Address Physical Address Type Port
-----------------------------------------------------------------------
49-8
Related Commands
ip-service ip-fixed-user
Function
This command displays the configuration information about the ARP anti-spoofing function.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command displays the global enabling status of the ARP anti-spoofing function and
configured VLAN data.
Examples
The following example shows how to display the information about the currently configured
ARP anti-spoofing:
ZXAN(config)#show ip-service arp-anti-spoofing
Arp Anti-Snoofing status:Enabled.
vlan direction
___________________
211 all
212 user-port
Related Commands
49.3.1 ip-service arp-anti-spoofing
49-9
Function
This command displays the configuration of the ARP packets with the request gateway IP
address.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show ip-service arp-direct-to-gateway-config
Related Commands
49.3.3 ip-service arp-direct-to-gateway
Function
This command displays all the configured ARP filtering items.
Parameters
None
Mode
All modes except user mode
49-10
Usage Guidelines
None
Examples
ZXAN#show ip-service arp-filter
Related Commands
49.3.4 ip-service arp-filter vlan
Function
This command displays MFF gateway information for the VLANs.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display MFF gateway configuration information for
the VLANs:
ZXAN(config)#show ip-service gateway
Vlan Gateway IP Gateway MAC Type
__________________________________________________
210 21.1.1.254 0000.0000.0000 invalid
211 22.1.1.254 00d0.d0c4.07c2 dynamic-600s
Related Commands
49.3.5 ip-service mac-forced-forwarding
49-11
Function
This command displays the global enabling status of MFF.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global enabling status of MFF:
Related Commands
49.3.5 ip-service mac-forced-forwarding
Function
This command displays all the configured ND filtering items.
Parameters
None
Mode
All modes except user mode
49-12
Usage Guidelines
None
Examples
ZXAN#show ip-service nd-filter
Related Commands
49.3.7 ip-service nd-filter vlan
49-13
49-14
Function
This command configures NS anti-spoofing entries.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
NS anti-spoofing requires matching of VLAN and direction. A maximum of 16 NS
anti-spoofing entries can be configured.
Examples
The following example shows how to configure an NS anti-spoofing entry for VLAN 100
and user side (uplink direction):
50-1
Related Commands
50.2.2 show ipv6 ns-anti-spoofing
Function
This command displays NS entries.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays NS entries, including entries learned by DHCPv6 and ND and
static entries configured by the ip userguard module.
Examples
ZXAN(config)#show ipv6 ns
Total ns: 1
Vlan Physical Address Internet Address Type Port Sport
--------------------------------------------------------------------------------
-
100 1cbd.b989.9e6e 2001::10/64 DHCPv6 gpon-onu_/1/3/1:1 vport 1
ZXAN(config)#
50-2
Related Commands
None
Function
This command displays NS anti-spoofing entries.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configured NS anti-spoofing entries:
Related Commands
None
50-3
50-4
Function
This command creates or modifies an ADSL alarm profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#adsl alarm-profile test
AtucThresh15MinLofs(0..900s):[0]
AtucThresh15MinESs(0..900s):[0]
51-1
AtucThresh15MinLoss(0..900s):[0]
AtucThresh15MinLprs(0..900s):[0]
AtucThresh15MinLols(0..900s):[0]
AtucThreshFastRateUp(0..65535):[0]
AtucThreshInterleaveRateUp(0..65535):[0]
AtucThreshFastRateDown(0..65535):[0]
AtucThreshInterleaveRateDown(0..65535):[0]
AturThresh15MinLofs(0..900s):[0]
AturThresh15MinESs(0..900s):[0]
AturThresh15MinLoss(0..900s):[0]
AturThresh15MinLprs(0..900s):[0]
AturThreshFastRateUp(0..65535):[0]
AturThreshInterleaveRateUp(0..65535):[0]
AturThreshFastRateDown(0..65535):[0]
AturThreshInterleaveRateDown(0..65535):[0]
AtucInitFailureTrapEnable(1-enable,2-disable):[2]
AtucThreshold15MinFailedFastR(0..900s):[0]
AtucThreshold15MinSesL(0..900s):[0]
AtucThreshold15MinUasL(0..900s):[0]
AturThreshold15MinSesL(0..900s):[0]
AturThreshold15MinUasL(0..900s):[0]
AtucConnRateTolerance(0..100%):[0]
ThreshAtucConnRate(0..100000 kbps):[0]
AturConnRateTolerance(0..100%):[0]
ThreshAturConnRate(0..100000 kbps):[0]
OverThreshTrapEnable(1-enable,2-disable):[2]
Related Commands
51.1.8 show adsl alarm-profile
Function
This command creates or modifies an ADSL alarm profile.
Parameters
Parameter Description Value
51-2
Mode
ADSL interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to modify an ADSL alarm profile with a name of "test":
ZXAN(config)#adsl alarm-profile test
AtucThresh15MinLofs(0..900s):[0]
AtucThresh15MinESs(0..900s):[0]
AtucThresh15MinLoss(0..900s):[0]
AtucThresh15MinLprs(0..900s):[0]
AtucThresh15MinLols(0..900s):[0]
AtucThreshFastRateUp(0..65535):[0]
AtucThreshInterleaveRateUp(0..65535):[0]
AtucThreshFastRateDown(0..65535):[0]
AtucThreshInterleaveRateDown(0..65535):[0]
AturThresh15MinLofs(0..900s):[0]
AturThresh15MinESs(0..900s):[0]
AturThresh15MinLoss(0..900s):[0]
AturThresh15MinLprs(0..900s):[0]
AturThreshFastRateUp(0..65535):[0]
AturThreshInterleaveRateUp(0..65535):[0]
AturThreshFastRateDown(0..65535):[0]
AturThreshInterleaveRateDown(0..65535):[0]
AtucInitFailureTrapEnable(1-enable,2-disable):[2]
AtucThreshold15MinFailedFastR(0..900s):[0]
AtucThreshold15MinSesL(0..900s):[0]
AtucThreshold15MinUasL(0..900s):[0]
AturThreshold15MinSesL(0..900s):[0]
AturThreshold15MinUasL(0..900s):[0]
AtucConnRateTolerance(0..100%):[0]
ThreshAtucConnRate(0..100000 kbps):[0]
AturConnRateTolerance(0..100%):[0]
ThreshAturConnRate(0..100000 kbps):[0]
OverThreshTrapEnable(1-enable,2-disable):[2]
Related Commands
51.1.8 show adsl alarm-profile
51-3
Function
This command configures the power management state for an ADSL port.
Parameters
Mode
ADSL interface mode
Usage Guidelines
None
Examples
The following example shows how to set the power management state of an ADSL port to
"L0_FullOn":
ZXAN(config-if)#adsl power 1
Related Commands
None
Function
This command creates or modifies an ADSL profile.
Parameters
51-4
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#adsl profile zte
This profile do not exist. Would you like to create? [y/n][y]y
ZXAN(config)#
Related Commands
51.1.19 show adsl profile
no adsl profile
Function
This command creates or modifies an ADSL profile.
Parameters
Mode
ADSL interface mode
Usage Guidelines
To delete an ADSL profile, use the no form of this command.
Examples
The following example shows how to create an ADSL profile with a name of "zte":
ZXAN(config)# adsl profile zte This profile do not exist. Would you like to create?
[y/n][y]y
ZXAN(config)#
51-5
Related Commands
51.1.19 show adsl profile
Function
This command configures the line transmission mode of a port.
Parameters
None
Mode
ADSL interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the line transmission mode of a port to
"Adsl2 Adsl2+ G.dmt ReAdsl2":
ZXAN(config-if)#adsl trans-mode
Preferred modes:
[1] T1.413 G.dmt
[2] T1.413 G.dmt g.lite
[3] Adsl2 Adsl2+ G.dmt ReAdsl2
[4] Adsl2 Adsl2+ G.dmt ReAdsl2 AnnexM
[5] Adsl2 Adsl2+ G.dmt ReAdsl2 T1.413
[6] Adsl2 Adsl2+ G.dmt ReAdsl2 T1.413 AnnexM
[7] AnnexB T1.413
[8] Custom
[9] Transcap-All
Please choose one transmode to change to (1-9):[3]3
ZXAN(config-if)#
Related Commands
None
51-6
51.1.7 adsl-trans-mode
Syntax
adsl-trans-mode {[name1 ] [name2 ] [name3 ] [name4 ] [name5 ] [name6 ] [name7 ] [name8 ] [name9
] [name10 ] [name11 ] [name12 ] [name13 ] [name14 ] [name15 ] }
Function
This command configures the line transmission mode of a port.
Parameters
Mode
ADSL interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the line transmission mode of a port to
“Adsl2 Adsl2+ G.dmt ReAdsl2”:
ZXAN(config-if)#adsl trans-mode
51-7
Preferred modes:
[1] T1.413 G.dmt
[2] T1.413 G.dmt g.lite
[3] Adsl2 Adsl2+ G.dmt ReAdsl2
[4] Adsl2 Adsl2+ G.dmt ReAdsl2 AnnexM
[5] Adsl2 Adsl2+ G.dmt ReAdsl2 T1.413
[6] Adsl2 Adsl2+ G.dmt ReAdsl2 T1.413 AnnexM
[7] AnnexB T1.413
[8] Custom
[9] Transcap-All
Please choose one
Related Commands
None
Function
This command displays all existing ADSL alarm profiles or the details of a specific ADSL
alarm profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the names of all existing ADSL alarm profiles if no profile name
is specified. If a profile name is specified in the command, the contents in the specified
ADSL alarm profile are displayed.
Examples
The following example shows how to display all ADSL alarm profiles in the system:
ZXAN#show adsl alarm-profile
All Existing Alarm Profiles
---------------------
51-8
DEFVAL.PRF
TEST
Related Commands
None
Function
This command displays the channel-layer performance statistics on a port during a
historical time slice (a 15-minute period).
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the channel-layer performance statistics on
port 1/16/1 during a historical time slice:
ZXR10# show adsl chan-interval adsl_1/16/1
ADSL AtucChanIntervalEntry Table :
IntervalRecBlks : 54887
IntervalTransBlks : 55504
IntervalCorrBlks : 0
IntervalUncorrBlks : 0
IntervalValidData : 1
ADSL AturChanIntervalEntry Table :
IntervalRecBlks : 55504
IntervalTransBlks : 54887
IntervalCorrBlks : 0
51-9
IntervalUncorrBlks : 0
IntervalValidData : 1
Related Commands
None
Function
This command displays the channel-layer performance statistics table of an ADSL port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the channel-layer performance statistics table
of the ADSL port 1/16/1:
ZXAN#show adsl chan-perf adsl_1/16/1
ADSL AtucChanPerfDataEntry Table :
ChanReceivedBlks : 1178584
ChanTransmittedBlks : 1191824
ChanCorrectedBlks : 0
UncorrectBlks : 0
PerfValidInter : 22
PerfInvalidInter : 0
PerfCurr15MinTimeElap : 484
PerfCurr15MinReceivedBlks : 29517
PerfCurr15MinTransBlks : 29848
PerfCurr15MinCorrBlks : 0
PerfCurr15MinUncorrBlks : 0
PerfCurr1DayTimeElap : 19384
51-10
PerfCurr1DayRecBlks : 1178584
PerfCurr1DayTransBlks : 1191824
PerfCurr1DayCorrBlks : 0
PerfCurr1DayUncorrBlks : 0
PerfPrev1DayMoniSecs : 0
PerfPrev1DayRecBlks : 0
PerfPrev1DayTransBlks : 0
ADSL AturChanPerfDataEntry Table :
ChanReceivedBlks : 1191824
ChanTransmittedBlks : 1178584
ChanCorrectedBlks : 0
UncorrectBlks : 0
PerfValidInter : 22
PerfInvalidInter : 0
PerfCurr15MinTimeElap : 484
PerfCurr15MinReceivedBlks : 29848
PerfCurr15MinTransBlks : 29517
PerfCurr15MinCorrBlks : 0
PerfCurr15MinUncorrBlks : 0
PerfCurr1DayTimeElap : 19384
PerfCurr1DayRecBlks : 1191824
PerfCurr1DayTransBlks : 1178584
PerfCurr1DayCorrBlks : 0
PerfCurr1DayUncorrBlks : 0
PerfPrev1DayMoniSecs : 0
PerfPrev1DayRecBlks : 0
PerfPrev1DayTransBlks : 0
Related Commands
None
Function
This command displays the channel parameters table of an ADSL port.
Parameters
51-11
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the channel parameters table of the ADSL
port 1/16/1:
ZXAN# show adsl channel adsl_1/16/1
ADSL AtucChanEntry Table :
ChanInterDelay : 15
ChanCurrTxRate(kbps) : 1021
ChanPrevTxRate(kbps) : 8791
ChanCrcBlockLen : 2139
AtucChanRsSymbols : 47
AtucChanRsDepth : 64
AtucChanRsRedundancy : 16
ADSL AturChanEntry Table :
ChanInterDelay : 16
ChanCurrTxRate(kbps) : 509
ChanPrevTxRate(kbps) : 1246
ChanCrcBlockLen : 1064
AturChanRsSymbols : 144
AturChanRsDepth : 8
AturChanRsRedundancy : 16
Related Commands
None
Function
This command displays the extension information table of an ADSL port.
Parameters
Parameter Description Value
51-12
Mode
Any mode except user mode
Usage Guidelines
This command is only applicable to ADSL2 ports.
Examples
The following example shows how to display the ADSL extension information table of port
1/16/1:
Related Commands
None
51-13
Function
This command displays the physical-layer performance statistics on a port during a
historical time slice (a 15-minute period).
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the physical-layer performance statistics on
the ADSL port 1/16/1 during a historical time slices:
51-14
Related Commands
None
Function
This command displays the physical-layer performance statistics table of an ADSL port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the physical-layer performance statistics table
of the ADSL port 1/16/1:
ZXAN#show adsl perf adsl_1/16/1
ADSL AtucPerfDataEntry Table :
PerfLofs : 0
PerfLoss : 0
PerfLols : 0
PerfLprs : 0
PerfESs : 46
PerfInits : 2
PerfValidIntervals : 22
PerfInvalidIntervals : 0
PerfCurr15MinTimeElap : 459
PerfCurr15MinLofs : 0
PerfCurr15MinLoss : 0
PerfCurr15MinLols : 0
PerfCurr15MinLprs : 0
PerfCurr15MinESs : 0
PerfCurr15MinInits : 0
51-15
PerfCurr1DayTimeElap : 19359
PerfCurr1DayLofs : 0
PerfCurr1DayLoss : 46
PerfCurr1DayLols : 46
PerfCurr1DayLprs : 0
PerfCurr1DayESs : 46
PerfCurr1DayInits : 2
PerfPrev1DayMoniSec : 0
PerfPrev1DayLofs : 0
PerfPrev1DayLoss : 0
PerfPrev1DayLols : 0
PerfPrev1DayLprs : 0
PerfPrev1DayESs : 0
AtucPerfStatFastR : 0
AtucPerfStatFailedFastR : 0
AtucPerfStatSesL : 46
AtucPerfStatUasL : 46
AtucPerfCurr15MinFastR : 0
AtucPerfCurr15MinFailedFastR : 0
AtucPerfCurr15MinSesL : 0
AtucPerfCurr15MinUasL : 0
AtucPerfCurr1DayFastR : 0
AtucPerfCurr1DayFailedFastR : 0
AtucPerfCurr1DaySesL : 46
AtucPerfCurr1DayUasL : 46
AtucPerfPrev1DayFastR : 0
AtucPerfPrev1DayFailedFastR : 0
AtucPerfPrev1DaySesL : 0
AtucPerfPrev1DayUasL : 0
ADSL AturPerfDataEntry Table :
PerfLofs : 0
PerfLoss : 0
PerfLprs : 0
PerfESs : 46
PerfValidIntervals : 22
PerfInvalidIntervals : 0
PerfCurr15MinTimeElap : 459
PerfCurr15MinLofs : 0
PerfCurr15MinLoss : 0
PerfCurr15MinLprs : 0
PerfCurr15MinESs : 0
PerfCurr1DayTimeElap : 19359
PerfCurr1DayLofs : 0
PerfCurr1DayLoss : 46
PerfCurr1DayLprs : 0
51-16
PerfCurr1DayESs : 46
PerfPrev1DayMoniSec : 0
PerfPrev1DayLofs : 0
PerfPrev1DayLoss : 0
PerfPrev1DayLprs : 0
PerfPrev1DayESs : 0
AturPerfStatSesL : 46
AturPerfStatUasL : 46
AturPerfCurr15MinSesL : 0
AturPerfCurr15MinUasL : 0
AturPerfCurr1DaySesL : 46
AturPerfCurr1DayUasL : 46
AturPerfPrev1DaySesL : 0
AturPerfPrev1DayUasL : 0
Related Commands
None
Function
This command displays the ADSL physical-layer port statistics.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show adsl physical adsl_1/16/1
ADSL AtucPhysEntry Table:
AtucInvSerialNumber : 16l v06.05.17, 2007-01-16
AtucInvVendorID : BDCM 0x4d54
51-17
AtucInvVersionNumber : VE_6_5_17
AtucCurrSnrMgn : 268
AtucCurrAtn : 0
AtucCurrStatus : noDefect
AtucOutputPwr : -99
AtucAttainableRate(kbps): 23116
AtucDMTState : steadystate
AtucDMTBinBits : 00 00 00 00 00 00 00 00 03 04 04 05 06 06 06 07
07 07 07 07 07 08 08 08 08 07 07 06 06 05 04 03
AtucDMTBinSNR : 00 00 00 00 00 00 00 00 27 31 2D 2F 33 33 32 34
34 34 34 35 35 38 37 37 37 34 34 31 31 2E 2A 27
AtucDMTBinAtn : 1D 46 60 60 60 41 14 09 01 00 00 00 00 00 00 00
00 00 00 00 00 00 00 01 02 03 04 05 06 06 07 08
AtucPrevSnrMgn : 113
AtucPrevAtn : 0
AtucPrevAttainableRate : 8792
ADSL AturPhysEntry Table:
AturInvSerialNumber :
AturInvVendorID : BDCM
AturInvVersionNumber : A2pB021c
AturCurrSnrMgn : 359
AturCurrAtn : 0
AturCurrStatus : noDefect
AturOutputPwr : 71
AturAttainableRate(kbps): 1198
AturDMTState : steadystate
AturDMTBinBits :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 01 00 01 01 01 00 01
03 01 02 02 01 02 02 02 01 02 02 02 02 02 02 02
02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
02 02 02 02 02 02 01 02 02 02 02 02 02 02 02 02
02 01 02 02 02 02 02 02 02 02 01 02 02 02 02 02
02 01 02 02 02 02 02 02 02 01 02 02 02 02 02 02
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 02 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
AturDMTBinSNR : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 2C 00 2D 2E 2E 00 2E
51-18
2F 2F 2F 2F 2F 2F 30 2F 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 2F 30 30 30 2F 30 30 30
30 30 2F 30 30 30 30 30 30 30 30 30 30 30 30 30
30 2F 30 30 30 30 2F 30 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 2F 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 2F 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30
30 2F 30 30 30 2F 30 2F 30 30 30 30 30 30 30 2F
AturDMTBinAtn : 4D 27 2A 28 2A 2A 2D 2A 30 2D 30 30 30 30 30 30
30 36 36 37 4D 32 2D 28 25 22 20 1D 1A 18 15 13
11 0E 0C 0A 08 06 05 04 03 03 02 02 02 02 02 01
01 01 01 01 01 01 01 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Related Commands
None
Function
This command displays the configuration status of an ADSL port.
Parameters
Mode
Any mode except user mode
51-19
Usage Guidelines
None
Examples
The following example shows how to display the configuration status of the ADSL port
1/16/1:
ZXAN(config)#show adsl port-config adsl_1/16/1
LineConfProfile : DEFVAL.PRF
AlarmConfProfile : DEFVAL.PRF
AdslLinePMConfPMSF : L0_FullOn
AdslLineTransMode : | g.dmt | annex a | fdm |
| adsl2 | annex a | fdm |
| adsl2 | annex l | fdm |
| adsl2+ | annex a | fdm |
Related Commands
None
Function
This command displays the link setup and configuration status of an ADSL port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of the ADSL port 1/16/1:
ZXAN(config)#show adsl port-info adsl_1/16/1
Port Link Speed LinkRetrain LineProfile AlarmProfile FAST/
51-20
Related Commands
None
Function
This command displays the line statuses of multiple ADSL ports.
Parameters
name1 Parameter 1 -
name2 Parameter 2 -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the line statuses of the ADSL ports 1/16/1 to
1/16/10:
ZXAN(config)#show adsl port-status adsl_1/8/1-16 local entire
Port Link Speed Curr. SNR Attenuation TX Power Attainable Rate
ADM/OPR UP/DOWN UP/DOWN UP/DOWN UP/DOWN UP/DOWN
(kbps) (0.1db) (0.1db) (0.1dBm) (kbps)
-------------------------------------------------------------------------------
8/01 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/02 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/03 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/04 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/05 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
51-21
8/06 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/07 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/08 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/09 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/10 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/11 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/12 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/13 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/14 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/15 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
8/16 down/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
Related Commands
None
Function
This command displays all existing ADSL profiles or the details of a specific ADSL profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the names of all existing ADSL profiles if no profile name is
specified. If a profile name is specified in the command, the contents in the specified
ADSL profile are displayed.
Examples
l The following example shows how to display all ADSL profiles in the system:
ZXAN# show adsl profile
All Existing Line Profiles
---------------------
DEFVAL.PRF
51-22
DEF8M.PRF
DEF2M.PRF
DEF1M.PRF
DEFHM.PRF
TEST.PRF
l The following example shows how to display the contents in the ADSL profile with a
name of "test.prf":
ZXAN# show adsl profile test.prf
AtucConfRateMode :adaptAtStartup
AtucConfRateChanRatio :100
AtucConfTargetSnrMgn :80
AtucConfMaxSnrMgn :310
AtucConfMinSnrMgn :0
AtucConfDownshiftSnrMgn :0
AtucConfUpshiftSnrMgn :0
AtucConfMinUpshiftTime :0
AtucConfMinDownshiftTime :0
ConfProfileLineType :interleaved-only
AtucChanConfFastMaxTxRate:1024
AtucChanConfFastMinTxRate:32
AtucChanConfIntlvMaxTxRt :1024
AtucChanConfIntlvMinTxRt :32
AtucChanConfMaxIntlvDelay:8
AturConfRateMode :adaptAtStartup
AturConfRateChanRatio :0
AturConfTargetSnrMgn :80
AturConfMaxSnrMgn :310
AturConfMinSnrMgn :0
AturConfDownshiftSnrMgn :0
AturConfUpshiftSnrMgn :0
AturConfMinUpshiftTime :0
AturConfMinDownshiftTime :0
AturChanConfFastMaxTxRate:512
AturChanConfFastMinTxRate:32
AturChanConfIntlvMaxTxRt :512
AturChanConfIntlvMinTxRt :32
AturChanConfMaxIntlvDelay:8
AtucDMTConfFreqBins :FF FF FF FF FF FF FF FF
AturDMTConfFreqBins :FF FF FF FF FF FF FF FF
:FF FF FF FF FF FF FF FF
:FF FF FF FF FF FF FF FF
:FF FF FF FF FF FF FF FF
:FF FF FF FF FF FF FF FF
51-23
:FF FF FF FF FF FF FF FF
:FF FF FF FF FF FF FF FF
:FF FF FF FF FF FF FF FF
LineDMTConfEOC :byte
LineDMTConfTrellis :on
AtucConfMaxBitsPerBin :15
AtucConfTxStartBin :6
AtucConfTxEndBin :511
AtucConfRxStartBin :6
AtucConfRxEndBin :31
AtucConfUseCustomBins :off
AtucConfDnBitSwap :off
AtucConfUpBitSwap :off
AtucConfREADSL2Enable :off
AtucConfPsdMaskType :ADSL2_PSD_MSK
AtucConfPMMode :DISABLE
AtucConfPML0Time :240
AtucConfPML2Time :120
AtucConfPML2ATPR :3
AtucConfPML2Rate :512
AtucConfMinINP :INP_AUTO
AturConfMinINP :INP_AUTO
Related Commands
None
Function
This command creates or modifies a VDSL2 extension profile.
Parameters
Parameter Meaning Value
51-24
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#vdsl2 e
ZXAN(config)#vdsl2 ext-prf test
This extprofile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 ext-prf test
zxAnXdsl2LConfInmInpEqModeUs(0..4):[0]
zxAnXdsl2LConfInmInpEqModeDs(0..4)[0]
zxAnXdsl2LConfInmIatoUs(3..511):[3]
zxAnXdsl2LConfInmIatoDs(3..511):[3]
zxAnXdsl2LConfInmIatsUs(0..7):[0]
zxAnXdsl2LConfInmIatsDs(0..7):[0]
zxAnXdsl2LConfInmCcUs(0..64):[0]
zxAnXdsl2LConfInmCcDs(0..64):[0]
zxAnXdsl2LConfInpMinEtrUs(0..200000(kbps)):[0]
zxAnXdsl2LConfInpMinEtrDs(0..200000(kbps)):[0]
zxAnXdsl2LConfInpMaxEtrUs(0..200000(kbps)):[0]
zxAnXdsl2LConfInpMaxEtrDs(0..200000(kbps):[0]
zxAnXdsl2LConfInpMaxNatUs(0..200000(kbps)):[0]
zxAnXdsl2LConfInpMaxNatDs(0..200000(kbps)):[0]
zxAnXdsl2LConfInpShineRatioUs(0..255):[0]
zxAnXdsl2LConfInpShineRatioDs(0..255):[0]
zxAnXdsl2LConfInpMinReinUs(0..13(0.5symbol)):[0]
zxAnXdsl2LConfInpMinReinDs(0..13(0.5symbol)):[0]
zxAnXdsl2LConfInpIaReinFlagUs(1..2([1] hz100,[2] hz120)):[1]
zxAnXdsl2LConfInpIaReinFlagDs(1..2([1] hz100,[2] hz120)):[1]
zxAnXdsl2LConfInpMinDelayUs(0..63(ms)):[0]
zxAnXdsl2LConfInpMinDelayDs(0..63(ms)):[0]
zxAnXdsl2LConfInpRetxFlagUs(0..1([0] enable,[1] disable)):[1]
zxAnXdsl2LConfInpRetxFlagDs(0..1([0] enable,[1] disable)):[1]
ZXAN(config)#
Related Commands
show vdsl2 ext-prf
51-25
Function
This command creates or modifies a VDSL2 extension profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#adsl ext-profile zzz
zxAnXdsl2LConfInpMinEtrUs(0..200000(kbps)):[32]
zxAnXdsl2LConfInpMinEtrDs(0..200000(kbps)):[32]
zxAnXdsl2LConfInpMaxEtrUs(0..200000(kbps)):[120000]zxAnXdsl2LConfInpMaxEtrDs(0..
200000(kbps)):[120000]
zxAnXdsl2LConfInpMaxNetUs(0..200000(kbps)):[120000]
zxAnXdsl2LConfInpMaxNetDs(0..200000(kbps)):[120000]zxAnXdsl2LConfInpShineRatioUs
(0..100 0.001):[0]
zxAnXdsl2LConfInpShineRatioDs(0..100 0.001):[0]zxAnXdsl2LConfInpMinReinUs(0..13(
0.5symbol)):[3]
zxAnXdsl2LConfInpMinReinDs(0..13(0.5symbol)):[0]
zxAnXdsl2LConfInpMinDelayUs(0..63(ms)):[0]zxAnXdsl2LConfInpMinDelayDs(0..63(ms))
:[0]
51-26
zxAnXdsl2LConfChanInitPolicyDs(0..255):[0]zxAnXdsl2LFextCancelNotReqBandDs:
There are 0 bands been set, please to choose (0-no change, 1-modify the bands, 2
-delete all bands):[0]
zxAnXdsl2LFextCancelNotReqBandUs:
There are 0 bands been set, please to choose (0-no change, 1-modify the bands, 2
-delete all bands):[0]zxAnXdsl2LConfInpMinShineUs (0..63)DMT symbol:[0]
zxAnXdsl2LConfInpMinShineDs (0..63)DMT symbol:[0]
zxAnXdsl2LConfInpMin8ShineUs (0..127)DMT symbol:[0]
zxAnXdsl2LConfInpMin8ShineDs (0..127)DMT symbol:[0]
zxAnXdsl2LConfInpMin8ReinUs (0..13)DMT symbol:[0]
zxAnXdsl2LConfInpMin8ReinDs (0..13)DMT symbol:[0]
Related Commands
show vdsl2 ext-prf
Function
This command displays all existing VDSL2 extension profiles or the details of a specific
VDSL2 extension profile.
Parameters
Mode
Any mode except user mode
51-27
Usage Guidelines
None
Examples
ZXAN#show vdsl ext-prf
All Existing Ext-Profiles
---------------------
TEST
VEXTDEFVAL.PRF
ZXAN#show vdsl ext-prf test
InmInpEqModeUs : 0
InmInpEqModeDs : 0
InmIatoUs : 3
InmIatoDs : 3
InmIatsUs : 0
InmIatsDs : 0
InmCcUs : 0
InmCcDs : 0
InpMinEtrUs : 0
InpMinEtrDs : 0
InpMaxEtrUs : 0
InpMaxEtrDs : 0
InpMaxNatUs : 0
InpMaxNatDs : 0
InpShineRatioUs : 0
InpShineRatioDs : 0
InpMinReinUs : 0
InpMinReinDs : 0
InpIaReinFlagUs : hz100
InpIaReinFlagDs : hz100
InpMinDelayUs : 0
InpMinDelayDs : 0
InpRetxFlagUs : disable
InpRetxFlagDs : disable
ZXAN#
Related Commands
51.2.66 vdsl2 ext-prf
51-28
Function
This command displays all existing VDSL2 extension profiles or the details of a specific
VDSL2 extension profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl ext-prf
All Existing Ext-Profiles
---------------------
TEST
VEXTDEFVAL.PRF
ZXAN#show vdsl ext-prf test
InmInpEqModeUs : 0
InmInpEqModeDs : 0
InmIatoUs : 3
InmIatoDs : 3
InmIatsUs : 0
InmIatsDs : 0
InmCcUs : 0
InmCcDs : 0
InpMinEtrUs : 0
InpMinEtrDs : 0
InpMaxEtrUs : 0
InpMaxEtrDs : 0
InpMaxNatUs : 0
InpMaxNatDs : 0
InpShineRatioUs : 0
InpShineRatioDs : 0
InpMinReinUs : 0
InpMinReinDs : 0
InpIaReinFlagUs : hz100
InpIaReinFlagDs : hz100
InpMinDelayUs : 0
51-29
InpMinDelayDs : 0
InpRetxFlagUs : disable
InpRetxFlagDs : disable
ZXAN#
Related Commands
51.2.66 vdsl2 ext-prf
Function
This command displays the link initialization information of a VDSL2 port during a
15-minute period.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 15min-init vdsl_1/4/1
PMLHistInit15MMonitoredTime(s) :900
PMLHistInit15MFullInits :0
PMLHistInit15MFailedFullInits :0
PMLHistInit15MShortInits :0
PMLHistInit15MFailedShortInits :0
PMLHistInit15MValidInterval :1
ZXAN#
Related Commands
None
51-30
Function
This command displays the link performance information of a VDSL2 port during a
15-minute interval.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 15min-interval vdsl_1/4/1
VDSL2 XtucLine15min Tabel:
PMLHist15MMonitoredTime(s) :900
PMLHist15MFecs(s) :0
PMLHist15MEs(s) :900
PMLHist15MSes(s) :900
PMLHist15MLoss(s) :900
PMLHist15MUas(s) :900
PMLHist15MValidInterval :1
VDSL2 XturLine15min Tabel:
PMLHist15MMonitoredTime(s) :900
PMLHist15MFecs(s) :0
PMLHist15MEs(s) :900
PMLHist15MSes(s) :900
PMLHist15MLoss(s) :900
PMLHist15MUas(s) :900
PMLHist15MValidInterval :1
ZXAN#
51-31
Related Commands
None
Function
This command displays the link initialization information of a VDSL2 port during a one-day
period.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 1day-init vdsl_1/4/1
PMLHistInit1DMonitoredTime(s) :86400
PMLHistInit1DFullInits :0
PMLHistInit1DFailedFullInits :0
PMLHistInit1DShortInits :0
PMLHistInit1DFailedShortInits :0
PMLHistInit1DValidInterval :1
ZXAN#
Related Commands
None
51-32
Function
This command displays the link setup information of a VDSL2 port during a one-day period.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 1day-interval vdsl_1/4/1
VDSL2 XtucLine1day Tabel:
PMLHist1DMonitoredTime(s) :86400
PMLHist1DFecs(s) :0
PMLHist1DEs(s) :86400
PMLHist1DSes(s) :86400
PMLHist1DLoss(s) :86400
PMLHist1DUas(s) :86400
PMLHist1DValidInterval :1
VDSL2 XturLine1day Tabel:
PMLHist1DMonitoredTime(s) :86400
PMLHist1DFecs(s) :0
PMLHist1DEs(s) :86400
PMLHist1DSes(s) :86400
PMLHist1DLoss(s) :86400
PMLHist1DUas(s) :86400
PMLHist1DValidInterval :1
ZXAN#
Related Commands
None
51-33
Function
This command displays all existing VDSL2 alarm profiles or the details of a specific VDSL2
alarm profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show vdsl2 alarm-prf
All Existing Alarm-Profiles
---------------------
A
DRT
QWE
VDEFVAL.PRF
Related Commands
None
Function
This command displays all existing VDSL2 alarm profiles or the details of a specific VDSL2
alarm profile.
51-34
Parameters
Mode
Usage Guidelines
None
Examples
ZXAN(config)#show vdsl2 alarm-profile
All Existing Alarm-Profiles
---------------------
A
DRT
QWE
VDEFVAL.PRF
Related Commands
51.2.45 vdsl2 alarm-profile
Function
This command applies a VDSL2 basic profile to a port.
Parameters
Mode
Any mode except user mode
51-35
Usage Guidelines
To cancel the setting and restore the default basic profile (vbasedef.prf) on a port, use
the no form of this command.
Examples
The following example shows how to apply a VDSL2 basic profile to a port:
ZXAN(config-if)#vdsl2 base-profile test
Related Commands
51.2.28 show vdsl2 port-config
Function
This command displays the historical channel-layer performance data of a VDSL2 line
during a 15-minute period.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the historical channel-layer performance data
of a VDSL2 line during a 15-minute period:
ZXAN(config)#show vdsl2 15min-interval vdsl_1/4/1
VDSL2 XtucLine15min Tabel:
PMLHist15MMonitoredTime(s) :900
PMLHist15MFecs(s) :0
PMLHist15MEs(s) :900
51-36
PMLHist15MSes(s) :900
PMLHist15MLoss(s) :900
PMLHist15MUas(s) :900
PMLHist15MValidInterval :1
VDSL2 XturLine15min Tabel:
PMLHist15MMonitoredTime(s) :900
PMLHist15MFecs(s) :0
PMLHist15MEs(s) :900
PMLHist15MSes(s) :900
PMLHist15MLoss(s) :900
PMLHist15MUas(s) :900
PMLHist15MValidInterval :1
Related Commands
None
Function
This command displays the historical channel-layer performance data of a VDSL2 line
during a one-day period.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the historical channel-layer performance data
of a VDSL2 line during a one-day period:
ZXAN(config)#show vdsl2 chan-1day-interval vdsl_1/4/1
51-37
Related Commands
None
Function
This command displays the current channel-layer performance data of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current channel-layer performance data
of a VDSL2 line:
ZXAN(config)#show vdsl2 chan-curr vdsl_1/4/1
VDSL2 XtucLineChanCurrent Tabel:
PMChCurr15MValidIntervals :97
PMChCurr15MInvalidIntervals :0
PMChCurr15MTimeElapsed(s) :560
PMChCurr15MCodingViolations :0
51-38
PMChCurr15MCorrectedBlocks :0
PMChCurr1DayValidIntervals :4
PMChCurr1DayInvalidIntervals :0
PMChCurr1DayTimeElapsed(s) :23060
PMChCurr1DayCodingViolations :0
PMChCurr1DayCorrectedBlocks :0
VDSL2 XturLineChanCurrent Tabel:
PMChCurr15MValidIntervals :97
PMChCurr15MInvalidIntervals :0
PMChCurr15MTimeElapsed(s) :560
PMChCurr15MCodingViolations :0
PMChCurr15MCorrectedBlocks :0
PMChCurr1DayValidIntervals :4
PMChCurr1DayInvalidIntervals :0
PMChCurr1DayTimeElapsed(s) :23060
PMChCurr1DayCodingViolations :0
PMChCurr1DayCorrectedBlocks :0
Related Commands
None
Function
This command displays the current channel layer status of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
51-39
Examples
The following example shows how to display the current channel layer status of a VDSL2
line:
Related Commands
None
51-40
Function
This command displays the current performance data of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current performance data of a VDSL2
line:
ZXAN(config)#show vdsl2 curr vdsl_1/4/1
VDSL2 XtucLineCurrent Tabel:
PMLCurr15MValidIntervals :97
PMLCurr15MInvalidIntervals :0
PMLCurr15MTimeElapsed(s) :233
PMLCurr15MFecs(s) :0
PMLCurr15MEs(s) :233
PMLCurr15MSes(s) :233
PMLCurr15MLoss(s) :233
PMLCurr15MUas(s) :233
PMLCurr1DayValidIntervals :4
PMLCurr1DayInvalidIntervals :0
PMLCurr1DayTimeElapsed(s) :23633
PMLCurr1DayFecs(s) :0
PMLCurr1DayEs(s) :23633
PMLCurr1DaySes(s) :23633
PMLCurr1DayLoss(s) :23633
PMLCurr1DayUas(s) :23633
PMLCurr15MLofs(s) :0
PMLCurr15MLols(s) :233
PMLCurr15MLprs(s) :0
PMLCurr15MPtmCrcErrs :0
PMLCurr15MPtmCodViol :0
PMLCurr1DayLofs(s) :0
PMLCurr1DayLols(s) :23633
PMLCurr1DayLprs(s) :0
51-41
PMLCurr1DayPtmCrcErrs :0
PMLCurr1DayPtmCodViol :0
VDSL2 XturLineCurrent Tabel:
PMLCurr15MValidIntervals :97
PMLCurr15MInvalidIntervals :0
PMLCurr15MTimeElapsed(s) :233
PMLCurr15MFecs(s) :0
PMLCurr15MEs(s) :233
PMLCurr15MSes(s) :233
PMLCurr15MLoss(s) :233
PMLCurr15MUas(s) :233
PMLCurr1DayValidIntervals :4
PMLCurr1DayInvalidIntervals :0
PMLCurr1DayTimeElapsed(s) :23633
PMLCurr1DayFecs(s) :0
PMLCurr1DayEs(s) :23633
PMLCurr1DaySes(s) :23633
PMLCurr1DayLoss(s) :23633
PMLCurr1DayUas(s) :23633
PMLCurr15MLofs(s) :0
PMLCurr15MLols(s) :0
PMLCurr15MLprs(s) :0
PMLCurr15MPtmCrcErrs :0
PMLCurr15MPtmCodViol :0
PMLCurr1DayLofs(s) :0
PMLCurr1DayLols(s) :0
PMLCurr1DayLprs(s) :0
PMLCurr1DayPtmCrcErrs :0
PMLCurr1DayPtmCodViol :0
Related Commands
None
Function
This command displays the current link initialization data of a VDSL2 line.
51-42
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current link initialization data of a VDSL2
line:
Related Commands
None
Function
This command displays all existing VDSL2 delay INP profiles or the details of a specific
VDSL2 delay INP profile.
51-43
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 delayinp-prf
All Existing DelayInp-Profiles
----------------------
TEST
UNUSED.PRF
VDIPDEFVAL.PRF
ZXAN#show vdsl2 delayinp-prf test
MaxDelayDs(ms) : 16
MaxDelayUs(ms) : 16
MinProtectDs(symbols) : noProtection
MinProtectUs(symbols) : noProtection
MinProtect8Ds(symbols) : noProtection
MinProtect8Us(symbols) : noProtection
ForceInpDs : enable
ForceInpUs : enable
MaxDelayVar(0.1 ms) : 255
InitPolicy : policy0
ZXAN#
Related Commands
51.2.60 vdsl2 delayinp-prf
Function
This command displays all existing VDSL2 DPBO profiles or the details of a specific VDSL2
DPBO profile.
51-44
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the names of all existing VDSL2 DPBO profiles if no profile name
is specified. If a profile name is specified in the command, the contents in the specified
VDSL2 DPBO profile are displayed.
Examples
l The following example shows how to display all VDSL2 DPBO profiles in the system:
ZXAN(config)#show vdsl2 dpbo-profile
All Existing Dpbo-Profiles
---------------------
VDEFVAL.PRF
TEST
l The following example shows how to display the details of a VDSL2 DPBO profile with
a name of "test":
ZXAN(config)# show vdsl2 dpbo-profile test
EPsd : adsl2+ mode
00 01 78 00 20 78 00 21 50 00 FF 50 01 78 64 01
FF 67 02 00 A0 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EsEL (0.5 dB) : 0
EsCableModelA (2^-8) : 263
EsCableModelB (2^-8) : 509
EsCableModelC (2^-8) : 261
Mus (0.5 dB) : 190
FMin(4.3125 kHz) : 32
FMax(4.3125 kHz) : 511
Related Commands
51.2.63 vdsl2 dpbo-profile
51-45
Function
This command displays all existing VDSL2 DPBO profiles or the details of a specific VDSL2
DPBO profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the names of all existing VDSL2 DPBO profiles if no profile name
is specified. If a profile name is specified in the command, the contents in the specified
VDSL2 DPBO profile are displayed.
Examples
l The following example shows how to display all VDSL2 DPBO profiles in the system:
ZXAN(config)#show vdsl2 dpbo-profile
All Existing Dpbo-Profiles
---------------------
VDEFVAL.PRF
TEST
l The following example shows how to display the details of a VDSL2 DPBO profile with
a name of "test":
ZXAN(config)# show vdsl2 dpbo-profile test
EPsd : adsl2+ mode
00 01 78 00 20 78 00 21 50 00 FF 50 01 78 64 01
FF 67 02 00 A0 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EsEL (0.5 dB) : 0
EsCableModelA (2^-8) : 263
EsCableModelB (2^-8) : 509
51-46
Related Commands
51.2.63 vdsl2 dpbo-profile
Function
This command displays all existing VDSL2 downstream data rate profiles or the details of
a specific VDSL2 downstream data rate profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 dsdatarate-prf
All Existing DsDataRate-Profiles
----------------------
TEST
UNUSED.PRF
VDDRPDEFVAL.PRF
ZXAN#show vdsl2 dsdatarate-prf test
ChannRaRatioDs : 100
MinDataRateDs(kbps) : 32
MaxDataRateDs(kbps) : 120000
MinResRateDs(kbps) : 64
MinRateLowPwrDs(kbps) : 128
MaxBerDs : eminus7
51-47
DsDataRateDs(kbps) : 0
UsDataRateDs(kbps) : 200000
ZXAN#
Related Commands
51.2.65 vdsl2 dsdatarate-prf
Function
This command displays crosstalk between two VDSL2 ports.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show vdsl2 fext-coefficient vdsl_1/15/1 vdsl_1/15/2
Related Commands
None
51-48
Function
This command displays the inventory details of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the inventory details of a VDSL2 line:
ZXAN(config)#show vdsl2 inventory vdsl_1/4/1
VDSL2 XtucInterval Tabel:
LInvG994VendorId :0x4d54
LInvSystemVendorId :0x4d54
LInvVersionNumber :VE_9_7_25
LInvSerialNumber :12l v09.07.25, 2008-12-17
LInvSelfTestResult :0
LInvTransmissionCapabilities: Regional Std. (ANSI T1.413) (F)
Regional Std. (ETSI DTS/TM06006) (F)
G.992.1 POTS non-overlapped (F)
G.992.1 ISDN non-overlapped (F)
G.992.2 POTS non-overlapped (L)
G.992.3 POTS non-overlapped (F)
G.992.3 ISDN non-overlapped (F)
G.992.3 Annex J All-Digital non-overlapped (F)
G.992.3 Annex L POTS non-overlapped, mode 1, wide U/S (F)
G.992.3 Annex L POTS non-overlapped, mode 2,narrow U/S(F)
G.992.3 Annex M POTS non-overlapped (F)
G.992.5 POTS non-overlapped (F)
G.992.5 ISDN non-overlapped (F)
G.992.5 Annex M POTS non-overlapped (F)
G.993.2 Region B (Europe) (Annex B/G.993.2).
VDSL2 XturInterval Tabel:
LInvG994VendorId :
LInvSystemVendorId :
LInvVersionNumber :
LInvSerialNumber :
51-49
LInvSelfTestResult :0
LInvTransmissionCapabilities:N/A
Related Commands
None
Function
This command displays the current details of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current details of a VDSL2 line:
ZXAN(config)#show vdsl2 line vdsl_1/4/1
XtuTransSys
Vdsl2 TransSys :
N/A
Adsl TransSys :
N/A
StatusPwrMngState :L3(4)
InitResult :otherCause
Xtur :lossOfSignal(2)initFailure(4)
Xtuc :lossOfSignal(2)initFailure(4)
AttainableRateDs(kbps) :0
AttainableRateUs(kbps) :0
ActPsdDs(0.1 dBm/Hz) :0
ActPsdUs(0.1 dBm/Hz) :0
ActAtpDs(0.1 dBm) :0
51-50
ActAtpUs(0.1 dBm) :0
ActStandardPrf :END
ActLimitMask :annexB_B8_4_998-M2x-A(67)
ActSnrModeDs :disable
ActSnrModeUs :disable
ElectricalLength(0.1dB):0
TrellisDs :true
TrellisUs :true
ActualCe(N/32 samples) :2
OperState :handshake(2)
Related Commands
None
Function
This command displays the current details of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current details of a VDSL2 line:
ZXAN(config)#show vdsl2 line vdsl_1/4/1
XtuTransSys
Vdsl2 TransSys :
N/A
Adsl TransSys :
N/A
StatusPwrMngState :L3(4)
51-51
InitResult :otherCause
Xtur :lossOfSignal(2)initFailure(4)
Xtuc :lossOfSignal(2)initFailure(4)
AttainableRateDs(kbps) :0
AttainableRateUs(kbps) :0
ActPsdDs(0.1 dBm/Hz) :0
ActPsdUs(0.1 dBm/Hz) :0
ActAtpDs(0.1 dBm) :0
ActAtpUs(0.1 dBm) :0
ActStandardPrf :END
ActLimitMask :annexB_B8_4_998-M2x-A(67)
ActSnrModeDs :disable
ActSnrModeUs :disable
ElectricalLength(0.1dB):0
TrellisDs :true
TrellisUs :true
ActualCe(N/32 samples) :2
OperState :handshake(2)
Related Commands
None
Function
This command displays the current band details of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
51-52
Examples
The following example shows how to display the current band details of a VDSL2 line:
ZXAN(config)#show vdsl2 line-band vdsl_1/4/1
Table of upstream(1) :
LnAtten (0.1 dB) : 0
SigAtten (0.1 dB) : 0
SnrMargin (0.1 dB) : 0
Table of downstream(2):
LnAtten (0.1 dB) : 0
SigAtten (0.1 dB) : 0
SnrMargin (0.1 dB) : 0
Table of us0(3) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Table of ds1(4) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Table of us1(5) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Table of ds2(6) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Table of us2(7) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Table of ds3(8) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Table of us3(9) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Table of ds4(10) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
51-53
Table of us4(11) :
LnAtten (0.1 dB) : N/A
SigAtten (0.1 dB) : N/A
SnrMargin (0.1 dB) : N/A
Related Commands
None
Function
This command displays the segment status of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show vdsl2 line-segment vdsl_1/15/1
Related Commands
None
Function
This command displays the configuration status of a VDSL2 port.
51-54
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration status of a VDSL2 port:
ZXAN(config)#show vdsl2 port-config vdsl_1/4/1
LineBaseConfProfile :TEST
LineSrvcConfProfile :VDEFVAL.PRF
LineDpboConfProfile :VDPBODEF.PRF
LineUpboConfProfile :VUPBODEF.PRF
LineAlarmConfProfile :VDEFVAL.PRF
Related Commands
None
Function
This command displays the configuration status of one or more VDSL2 ports.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
51-55
Examples
The following example shows how to display the configuration statuses of multiple VDSL2
ports:
ZXAN(config)#show vdsl2 port-info vdsl_1/9/1-10
Port Link Speed LinkRetrain DsDataRateProfile UsDataRateProfile
ADM/OPR UP/DOWN(kbps) Count
------------------------------------------------------------------------------
9/01 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/02 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/03 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/04 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/05 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/06 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/07 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/08 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/09 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
9/10 down/down 0/ 0 0 VDDRPDEFVAL.PRF VUDRPDEFVAL.PRF
Related Commands
None
Function
This command displays the link status of a VDSL2 port.
Parameters
local Parameter 1 -
brief Parameter 2 -
Mode
Any mode except user mode
Usage Guidelines
None
51-56
Examples
The following example shows how to display the link status of a VDSL2 port:
ZXAN(config)#show vdsl2 port-status vdsl_1/4/1
Port Link Speed Curr. SNR Attenuation TX Power Attainable Rate
ADM/OPR UP/DOWN UP/DOWN UP/DOWN UP/DOWN UP/DOWN
(kbps) (0.1db) (0.1db) (0.1dBm) (kbps)
-------------------------------------------------------------------------------
4/01 up/down 0/ 0 0/ 0 0/ 0 0/ 0 0/ 0
Related Commands
None
Function
This command displays all existing VDSL2 RFI profiles or the details of a specific VDSL2
RFI profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 rfi-prf
All Existing Rfi-Profiles
----------------------
TEST
VRPDEFVAL.PRF
ZXAN#show vdsl2 rfi-prf test
RfiBandsDs :
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
51-57
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ZXAN#
Related Commands
51.2.68 vdsl2 rfi-prf
Function
This command displays the status of a VDSL2 line.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 scstatus vdsl_1/4/1
upstream(1) :
LinScale : 0
LinScGroupSize : 0
LogMt : 0
LogScGroupSize : 0
QlnMt : 0
QlnScGroupSize : 0
SnrMtime : 0
SnrScGroupSize : 0
AttainableRate : 84514
downstream(2) :
LinScale : 0
LinScGroupSize : 0
51-58
LogMt : 0
LogScGroupSize : 0
QlnMt : 0
QlnScGroupSize : 0
SnrMtime : 0
SnrScGroupSize : 0
AttainableRate : 58874
ZXAN#
Related Commands
None
Function
This command displays the information of lines corresponding to each VDSL2 band.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 scstatus-band vdsl_1/4/1
upstream(1) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
downstream(2):
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
us0(3) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
51-59
ds1(4) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
us1(5) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
ds2(6) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
us2(7) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
ds3(8) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
us3(9) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
ds4(10) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
us4(11) :
BandLnAtten(0.1 dB) : 0
BandSigAtten(0.1 dB) : 0
ZXAN#
Related Commands
None
Function
This command displays the line status corresponding to each subcarrier by segment.
Parameters
name1 - -
51-60
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show vdsl2 scstatus-segment Bitload vdsl_1/15/1
Related Commands
None
Function
This command displays all existing VDSL2 service profiles or the details of a specific
VDSL2 service profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the names of all existing VDSL2 service profiles if no profile name
is specified. If a profile name is specified in the command, the contents in the specified
VDSL2 service profile are displayed.
Examples
l The following example shows how to display all VDSL2 service profiles in the system:
ZXAN(config)# show vdsl2 service-profile
All Existing Service-Profiles
---------------------
VDEFVAL.PRF
TEST
51-61
l The following example shows how to display the details of a VDSL2 service profile
with a name of "test":
ZXAN(config)#show vdsl2 service-profile test
ForceInp : enable
RaModeDs : adaptAtStartup
RaModeUs : adaptAtStartup
TargetSnrmDs(0.1 dB) : 80
TargetSnrmUs(0.1 dB) : 80
MaxSnrmDs(0.1 dB) : 300
MaxSnrmUs(0.1 dB) : 300
MinSnrmDs(0.1 dB) : 0
MinSnrmUs(0.1 dB) : 0
Ch1MaxDataRateDs(kbps): 120000
Ch1MaxDataRateUs(kbps): 120000
Ch1MinDataRateDs(kbps): 32
Ch1MinDataRateUs(kbps): 32
Ch1MaxDelayDs(ms) : 16
Ch1MaxDelayUs(ms) : 16
Ch1MinProtectionDs : noProtection
Ch1MinProtectionUs : noProtection
Related Commands
51.2.70 vdsl2 service-profile
Function
This command displays all existing VDSL2 SNR margin profiles or the details of a specific
VDSL2 SNR margin profile.
Parameters
Mode
Any mode except user mode
51-62
Usage Guidelines
None
Examples
ZXAN#show vdsl2 snrmargin-prf
All Existing SnrMargin-Profiles
----------------------
TEST
VSMPDEFVAL.PRF
ZXAN#show vdsl2 snrmargin-prf test
TargetSnrmDs(0.1 dB) : 80
TargetSnrmUs(0.1 dB) : 80
MaxSnrmDs(0.1 dB) : 300
MaxSnrmUs(0.1 dB) : 300
MinSnrmDs(0.1 dB) : 0
MinSnrmUs(0.1 dB) : 0
RaUsNrmDs(0.1 dB) : 90
RaUsNrmUs(0.1 dB) : 90
RaUsTimeDs(s) : 60
RaUsTimeUs(s) : 60
RaDsNrmDs(0.1 dB) : 30
RaDsNrmUs(0.1 dB) : 30
RaDsTimeDs(s) : 60
RaDsTimeUs(s) : 60
SnrModeDs : VirtualNoiseDisabled
SnrModeUs : VirtualNoiseDisabled
RaModeDs : raInit
RaModeUs : raInit
ZXAN#
Related Commands
51.2.72 vdsl2 snrmargin-prf
Function
This command displays all existing VDSL2 spectrum profiles or the details of a specific
VDSL2 spectrum profile.
51-63
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
All Existing Spectrum-Profiles
----------------------
TEST
VSPDEFVAL.PRF
ZXAN#show vdsl2 spectrum-prf test
XtuTransSysEna
Vdsl2 TransSys :
G.993.2 Region B (Europe) (Annex B/G.993.2).
Adsl TransSys :
Adsl2(fdm) Adsl2+(fdm) G.dmt(fdm) ReAdsl2(fdm)
Vdsl2CarMask :
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
MsgMinDs : 4
MsgMinUs : 4
CeFlag : Disable
PmMode :
allowTransitionsToIdle(0)
L0Time : 255
L2Time : 255
L2Atpr : 3
L2Atprt : 31
Profiles :
g993_2_17A
51-64
Us0Mask :
None
ModeSpectrum :
[01]---DEFMODE
ZXAN#
Related Commands
51.2.74 vdsl2 spectrum-prf
Function
This command displays the status of an upstream profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show vdsl2 upbo-prf
Related Commands
None
51-65
Function
This command displays all existing VDSL2 UPBO profiles or the details of a specific VDSL2
UPBO profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
l The following example shows how to display all existing VDSL2 UPBO profiles in the
system:
ZXAN(config)#show vdsl2 upbo-profile
All Existing Upbo-Profiles
---------------------
VDEFVAL.PRF
TEST
l The following example shows how to display the details of a VDSL2 UPBO profile with
a name of “test”:
ZXAN(config)#show vdsl2 upbo-profile test
KL (0.1 dB) : 0
KLF : disableUpbo
U0bandPsdA (0.01 dBm/Hz) : 4000
U0bandPsdB (0.01 dBm/Hz) : 0
U1bandPsdA (0.01 dBm/Hz) : 5650
U1bandPsdB (0.01 dBm/Hz) : 1020
U2bandPsdA (0.01 dBm/Hz) : 5650
U2bandPsdB (0.01 dBm/Hz) : 615
U3bandPsdA (0.01 dBm/Hz) : 5650
U3bandPsdB (0.01 dBm/Hz) : 615
U4bandPsdA (0.01 dBm/Hz) : 4000
U4bandPsdB (0.01 dBm/Hz) : 0
Related Commands
51.2.77 vdsl2 upbo-profile
51-66
Function
This command displays all existing VDSL2 upstream data rate profiles or the details of a
specific VDSL2 uplink data rate profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show vdsl2 usdatarate-prf
All Existing UsDataRate-Profiles
----------------------
TEST
UNUSED.PRF
VUDRPDEFVAL.PRF
ZXAN#show vdsl2 usdatarate-prf test
ChannRaRatioUs : 100
MinDataRateUs(kbps) : 32
MaxDataRateUs(kbps) : 120000
MinResRateUs(kbps) : 64
MinRateLowPwrUs(kbps) : 128
MaxBerUs : eminus7
DsDataRateUs(kbps) : 0
UsDataRateUs(kbps) : 200000
ZXAN#
Related Commands
51.2.78 vdsl2 usdatarate-prf
51-67
Function
This command displays the current ES message.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show vdsl2 vector-trac
Vdsl2 Vector Tracking : enable
Related Commands
None
Function
This command displays all existing VDSL2 virtual noise profiles or the details of a specific
VDSL2 virtual noise profile.
Parameters
Mode
Any mode except user mode
51-68
Usage Guidelines
None
Examples
ZXAN#show vdsl2 virtualnoise-prf
All Existing VirtualNoise-Profiles
----------------------
TEST
VVNPDEFVAL.PRF
ZXAN#show vdsl2 virtualnoise-prf test
TxRefVNDs :
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
TxRefVNUs :
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ZXAN#
Related Commands
51.2.80 vdsl2 virtualnoise-prf
Function
This command applies a VDSL2 alarm profile to a port.
Parameters
Mode
VDSL interface mode
51-69
Usage Guidelines
To cancel the setting and restore the default VDSL2 alarm profile (vdefval.prf) on a
port, use the no form of this command.
Examples
The following example shows how to apply a VDSL2 alarm profile to a port:
ZXAN(config-if)#vdsl2 alarm-profile test
Related Commands
51.2.10 show vdsl2 alarm-profile
51.2.28 show vdsl2 port-config
Function
This command creates or modifies a VDSL2 alarm profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 alarm profile cannot start with a digit.
l Execute this command to create a VDSL2 alarm profile, and then execute this
command again to configure the created profile.
l To delete a VDSL2 alarm profile, use the no form of this command.
Examples
ZXAN(config)#vdsl2 alarm-prf zzz
zxAnXdsl2XtucThreshFecs(0..900(s)) :[0]
zxAnXdsl2XtucThreshEs(0..900(s)) :[0]
51-70
zxAnXdsl2XtucThreshSes(0..900(s)) :[0]
zxAnXdsl2XtucThreshLoss(0..900(s)) :[0]
zxAnXdsl2XtucThreshLofs(0..900(s)) :[0]
zxAnXdsl2XtucThreshLols(0..900(s)) :[0]
zxAnXdsl2XtucThreshLprs(0..900(s)) :[0]
zxAnXdsl2XtucThreshUas(0..900(s)) :[0]
zxAnXdsl2XtucThreshPtmCrcErrs(0..2147483647) :[0]
zxAnXdsl2XtucThreshPtmCodViol(0..2147483647) :[0]
zxAnXdsl2XturThreshFecs(0..900(s)) :[0]
zxAnXdsl2XturThreshEs(0..900(s)) :[0]
zxAnXdsl2XturThreshSes(0..900(s)) :[0]
zxAnXdsl2XturThreshLoss(0..900(s)) :[0]
zxAnXdsl2XturThreshLofs(0..900(s)) :[0]
zxAnXdsl2XturThreshLprs(0..900(s)) :[0]
zxAnXdsl2XturThreshUas(0..900(s)) :[0]
zxAnXdsl2XturThreshPtmCrcErrs(0..2147483647) :[0]
zxAnXdsl2XturThreshPtmCodViol(0..2147483647) :[0]
zxAnXdsl2ThreshFailedFullInt(0..2147483647) :[0]
zxAnXdsl2ThreshFailedShrtInt(0..2147483647) :[0]
zxAnXdsl2Ch1XtucThrshCodeViol(0..2147483647) :[0]
zxAnXdsl2Ch1XtucThrshCorrected(0..2147483647) :[0]
zxAnXdsl2Ch1XturThrshCodeViol(0..2147483647) :[0]
zxAnXdsl2Ch1XturThrshCorrected(0..2147483647) :[0]
zxAnXdsl2XtucLowDataRateTolerance(0..100) :[0]
zxAnXdsl2XturLowDataRateTolerance(0..100) :[0]
zxAnXdsl2XtucLowDataRateThresh(0..200000) :[0]
zxAnXdsl2XturLowDataRateThresh(0..200000) :[0]
zxAnXdsl2XtucInitFailTrapEnable :
lossOfFraming (0-disable,1-enable)[0]
lossOfSignal (0-disable,1-enable)[0]
lossOfPower (0-disable,1-enable)[0]
initFailure (0-disable,1-enable)[0]
lossOfSignalQuality (0-disable,1-enable)[0]
lossOfLink (0-disable,1-enable)[0]
zxAnXdsl2XturInitFailTrapEnable :
lossOfFraming (0-disable,1-enable)[0]
lossOfSignal (0-disable,1-enable)[0]
lossOfPower (0-disable,1-enable)[0]
lossOfSignalQuality (0-disable,1-enable)[0]
zxAnXdsl2XtucThreshInpLeftr(0..100) :[0]
zxAnXdsl2XturThreshInpLeftr(0..100) :[0]
zxAnXdsl2XtucEsLossRatioThresh(0..100) :[0]
zxAnXdsl2XturEsLossRatioThresh(0..100) :[0]
zxAnXdsl2XtucThreshInpLeftrs(0..900(s)) :[0]
zxAnXdsl2XturThreshInpLeftrs(0..900(s)) :[0]
51-71
Related Commands
51.2.10 show vdsl2 alarm-profile
Function
This command creates or modifies a VDSL2 alarm profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 alarm profile cannot start with a digit.
l Execute this command to create a VDSL2 alarm profile, and then execute this
command again to configure the created profile.
l To delete a VDSL2 alarm profile, use the no form of this command.
Examples
The following example shows how to create a VDSL2 alarm profile with a name of "test"
and configure the parameters of the profile:
ZXAN(config)#vdsl2 alarm-profile test
zxAnXdsl2XtucThreshFecs(0..900s):[0]
zxAnXdsl2XtucThreshEs(0..900s) :[0]
zxAnXdsl2XtucThreshSes(0..900s) :[0]
zxAnXdsl2XtucThreshLoss(0..900s):[0]
zxAnXdsl2XtucThreshLofs(0..900s):[0]
zxAnXdsl2XtucThreshLols(0..900s):[0]
zxAnXdsl2XtucThreshLprs(0..900s):[0]
zxAnXdsl2XtucThreshUas(0..900s) :[0]
zxAnXdsl2XtucThreshPtmCrcErrs(0..2147483647):[0]
zxAnXdsl2XtucThreshPtmCodViol(0..2147483647):[0]
51-72
zxAnXdsl2XturThreshFecs(0..900s):[0]
zxAnXdsl2XturThreshEs(0..900s) :[0]
zxAnXdsl2XturThreshSes(0..900s) :[0]
zxAnXdsl2XturThreshLoss(0..900s):[0]
zxAnXdsl2XturThreshLofs(0..900s):[0]
zxAnXdsl2XturThreshLols(0..900s):[0]
zxAnXdsl2XturThreshLprs(0..900s):[0]
zxAnXdsl2XturThreshUas(0..900s) :[0]
zxAnXdsl2XturThreshPtmCrcErrs(0..2147483647) :[0]
zxAnXdsl2XturThreshPtmCodViol(0..2147483647) :[0]
zxAnXdsl2ThreshFailedFullInt(0..2147483647) :[0]
zxAnXdsl2ThreshFailedShrtInt(0..2147483647) :[0]
zxAnXdsl2Ch1XtucThrshCodeViol(0..2147483647) :[0]
zxAnXdsl2Ch1XtucThrshCorrected(0..2147483647) :[0]
zxAnXdsl2Ch1XturThrshCodeViol(0..2147483647) :[0]
zxAnXdsl2Ch1XturThrshCorrected(0..2147483647) :[0]
Related Commands
51.2.10 show vdsl2 alarm-profile
no vdsl2 alarm-profile
Function
This command applies a VDSL2 alarm profile to a port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
To cancel the setting and restore the default VDSL2 alarm profile (vdefval.prf) on a
port, use the no form of this command.
51-73
Examples
The following example shows how to apply a VDSL2 alarm profile to a port:
ZXAN(config-if)#vdsl2 alarm-profile test
Related Commands
51.2.10 show vdsl2 alarm-profile
51.2.28 show vdsl2 port-config
Function
This command creates or modifies a VDSL2 basic profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 basic profile cannot start with a digit.
l Execute this command to create a VDSL2 basic profile, and then execute this
command again to configure the required parameters for the profile.
l To delete a VDSL2 basic profile, use the no form of this command.
Examples
The following example shows how to create a VDSL2 basic profile with a name of "test"
and configure the corresponding line parameters:
ZXAN(config)#vdsl2 base-profile test
First configure vdsl2 transmode bits:
Preferred modes:
[0] None
[1] G.993.2 Region A (North America) (Annex A/G.993.2).
51-74
51-75
Related Commands
51.2.11 show vdsl2 base-profile
no vdsl2 base-profile
Function
This command applies a VDSL2 basic profile to a port.
Parameters
51-76
Mode
VDSL interface mode
Usage Guidelines
To cancel the setting and restore the default VDSL2 basic profile (vbasedef.prf) on a
port, use the no form of this command.
Examples
The following example shows how to apply a VDSL2 basic profile to a port:
ZXAN(config-if)#vdsl2 base-profile test
ZXAN(config)#
Related Commands
51.2.11 show vdsl2 base-profile
51.2.28 show vdsl2 port-config
Function
This command applies a VDSL2 delay INP profile to the first channel of a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch1delayinp-prf test
ZXAN(config-if)#
51-77
Related Commands
51.2.18 show vdsl2 delayinp-prf
51.2.28 show vdsl2 port-config
Function
This command applies a VDSL2 downstream data rate profile to the first channel of a
VDSL2 port.
Parameters
Parameter Meaning Value
Mode
VDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to apply a downstream data rate profile to the first
channel of a VDSL2 port:
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch1dsdatarate-prf test
ZXAN(config-if)#
Related Commands
show vdsl2 dsdatareate-prf
51.2.28 show vdsl2 port-config
51-78
no vdsl2 ch1usdatarate-prf
Function
This command applies a VDSL2 upstream data rate profile to the first channel of a VDSL2
port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch1usdatarate-prf test
ZXAN(config-if)#
Related Commands
show vdsl2 dsdatareate-prf
no vdsl2 ch2delayinp-prf
Function
This command applies a VDSL2 delay INP profile to the second channel of a VDSL2 port.
Parameters
51-79
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch2delayinp-prf test
ZXAN(config-if)#
Related Commands
51.2.18 show vdsl2 delayinp-prf
51.2.28 show vdsl2 port-config
Function
This command applies a VDSL2 upstream data rate profile to the second channel of a
VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch2usdatarate-prf test
ZXAN(config-if)#
51-80
Related Commands
show vdsl2 dsdatareate-prf
51.2.28 show vdsl2 port-config
no vdsl2 ch3delayinp-prf
Function
This command applies a VDSL2 delay INP profile to the third channel of a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch3delayinp-prf test
ZXAN(config-if)#
Related Commands
51.2.18 show vdsl2 delayinp-prf
51.2.28 show vdsl2 port-config
no vdsl2 ch3dsdatarate-prf
51-81
Function
This command applies a VDSL2 downstream data rate profile to the third channel of a
VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch3dsdatarate-prf test
ZXAN(config-if)#
Related Commands
show vdsl2 dsdatareate-prf
51.2.28 show vdsl2 port-config
Function
This command applies a VDSL2 upstream data rate profile to the third channel of a VDSL2
port.
Parameters
Mode
VDSL interface mode
51-82
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch3usdatarate-prf test
ZXAN(config-if)#
Related Commands
show vdsl2 dsdatareate-prf
51.2.28 show vdsl2 port-config
Function
This command applies a VDSL2 delay INP profile to the fourth channel of a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch4delayinp-prf test
ZXAN(config-if)#
Related Commands
51.2.18 show vdsl2 delayinp-prf
51.2.28 show vdsl2 port-config
51-83
no vdsl2 ch4dsdatarate-prf
Function
This command applies a VDSL2 downstream data rate profile to the fourth channel of a
VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch4dsdatarate-prf test
ZXAN(config-if)#
Related Commands
show vdsl2 dsdatareate-prf
no vdsl2 ch4usdatarate-prf
Function
This command applies a VDSL2 upstream data rate profile to the fourth channel of a
VDSL2 port.
51-84
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ch4usdatarate-prf test
ZXAN(config-if)#
Related Commands
show vdsl2 dsdatareate-prf
51.2.28 show vdsl2 port-config
Function
This command creates or modifies a VDSL2 delay INP profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
51-85
Examples
ZXAN(config)#vdsl2 delayinp-prf test
ZXAN(config)#vdsl2 delayinp-prf test
This delayinp profile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 delayinp-prf t
zxAnXdsl2ChConfMaxDelayDs(0..63(ms)):[16]
zxAnXdsl2ChConfMaxDelayUs(0..63(ms)):[16]
Please configure MinProtection:
noProtection (1) - INP not required
halfSymbol (2) - INP length = 1/2 symbol
singleSymbol (3) - INP length = 1 symbol
twoSymbols (4) - INP length = 2 symbols
threeSymbols (5) - INP length = 3 symbols
fourSymbols (6) - INP length = 4 symbols
fiveSymbols (7) - INP length = 5 symbols
sixSymbols (8) - INP length = 6 symbols
sevenSymbols (9) - INP length = 7 symbols
eightSymbols (10) - INP length = 8 symbols
nineSymbols (11) - INP length = 9 symbols
tenSymbols (12) - INP length = 10 symbols
elevenSymbols (13) - INP length = 11 symbols
twelveSymbols (14) - INP length = 12 symbols
thirteenSymbols (15) - INP length = 13 symbols
fourteenSymbols (16) - INP length = 14 symbols
fifteenSymbols (17) - INP length = 15 symbols
sixteenSymbols (18) - INP length = 16 symbols
zxAnXdsl2ChConfMinProtectDs(1..18(Symbol)):[1]
zxAnXdsl2ChConfMinProtectUs(1..18(Symbol)):[1]
Please configure MinProtection8:
noProtection(1) - INP not required
singleSymbol(2) - INP length = 1 symbol
twoSymbols(3) - INP length = 2 symbols
threeSymbols(4) - INP length = 3 symbols
fourSymbols(5) - INP length = 4 symbols
fiveSymbols(6) - INP length = 5 symbols
sixSymbols(7) - INP length = 6 symbols
sevenSymbols(8) - INP length = 7 symbols
eightSymbols(9) - INP length = 8 symbols
nineSymbols(10) - INP length = 9 symbols
tenSymbols(11) - INP length = 10 symbols
elevenSymbols(12) - INP length = 11 symbols
twelveSymbols(13) - INP length = 12 symbols
thirteenSymbols(14) - INP length = 13 symbols
fourteenSymbols(15) - INP length = 14 symbols
51-86
Related Commands
51.2.18 show vdsl2 delayinp-prf
Function
This command creates or modifies a VDSL2 DPBO profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 DPBO profile cannot start with a digit.
l Execute this command to create a VDSL2 DPBO profile, and then execute this
command again to configure the required parameters for the profile.
l To delete a VDSL2 DPBO profile, use the no form of this command.
Examples
The following example shows how to create a VDSL2 DPBO profile with a name of "test"
and configure the channel parameters for the profile:
ZXAN(config)#vdsl2 dpbo-profile test
51-87
zxAnXdsl2LConfProfDpboEPsd:
[1] adsl mode
[2] adsl2 mode
[3] adsl2+ mode
[4] vdsl2 998_M2x_A mode
[5] vdsl2 998E17-M2x-NUS0 mode
[6] custom
zxAnXdsl2LConfProfDpboEPsd:[3]
zxAnXdsl2LConfProfDpboEsEL(0(0 dB)..511(255.5 dB)) 0.5 dB:[0]
zxAnXdsl2LConfProfDpboEsCableModelA(0..640) 2e-8:[263]
zxAnXdsl2LConfProfDpboEsCableModelB(0..640) 2e-8:[509]
zxAnXdsl2LConfProfDpboEsCableModelC(0..640) 2e-8:[261]
xdsl2LineConfProfDpboMus(0..255) 0.5dBm:[190]
xdsl2LineConfProfDpboFmin(0..2048) 4.3125 KHz:[32]
xdsl2LineConfProfDpboFmax(32..6956) 4.3125 KHz:[511]
ZXAN(config)#
Related Commands
51.2.20 show vdsl2 dpbo-profile
no vdsl2 dpbo-prf
Function
This command applies a VDSL2 DPBO profile to a port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
To cancel the setting and restore the default VDSL2 DPBO profile (vdpbodef.prf) on a
port, use the no form of this command.
51-88
Examples
The following example shows how to apply a VDSL2 DPBO profile to a port:
ZXAN(config-if)#vdsl2 dpbo-profile test
Related Commands
51.2.20 show vdsl2 dpbo-profile
51.2.28 show vdsl2 port-config
Function
This command creates or modifies a VDSL2 DPBO profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 DPBO profile cannot start with a digit.
l Execute this command to create a VDSL2 DPBO profile, and then execute this
command again to configure the required parameters for the profile.
l To delete a VDSL2 DPBO profile, use the no form of this command.
Examples
The following example shows how to create a VDSL2 DPBO profile with a name of "test"
and configure the channel parameters for the profile:
ZXAN(config)#vdsl2 dpbo-profile test
zxAnXdsl2LConfProfDpboEPsd:
[1] adsl mode
[2] adsl2 mode
[3] adsl2+ mode
51-89
Related Commands
51.2.20 show vdsl2 dpbo-profile
no vdsl2 dpbo-profile
Function
This command applies a VDSL2 DPBO profile to a port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
To cancel the setting and restore the default VDSL2 DPBO profile (vdpbodef.prf) on a
port, use the no form of this command.
Examples
The following example shows how to apply a VDSL2 DPBO profile to a port:
ZXAN(config-if)#vdsl2 dpbo-profile test
51-90
Related Commands
51.2.20 show vdsl2 dpbo-profile
51.2.28 show vdsl2 port-config
Function
This command creates or modifies a VDSL2 downstream data rate profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#vdsl2 dsda
ZXAN(config)#vdsl2 dsdatarate-prf test
This dsdatarate profile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 dsdatarate-prf test
zxAnXdsl2ChConfChannRaRatioDs(0..100):[100]
zxAnXdsl2ChConfMinDataRateDs(0..200000(kbps)):[32]
zxAnXdsl2ChConfMaxDataRateDs(32..200000(kbps)):[120000]
zxAnXdsl2ChConfMinResRateDs(0..200000(kbps)):[64]
zxAnXdsl2ChConfMinRateLowPwrDs(0..200000(kbps)):[128]
zxAnXdsl2ChConfMaxBerDs(eminus3(1), eminus5(2), eminus7(3)):[3]
zxAnXdsl2ChConfDsDataRateDs(0..200000(kbps)):[0]
zxAnXdsl2ChConfUsDataRateDs(0..200000(kbps)):[200000]
ZXAN(config)#
51-91
Related Commands
51.2.21 show vdsl2 dsdatarate-prf
Function
This command applies a VDSL2 extension profile to a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 ext-prf test
ZXAN(config-if)#
Related Commands
show vdsl2 ext-prf
no vdsl2 plugout-protect
51-92
Function
This command enables the protection function for a card to prevent function and data
damage after the card is removed from the corresponding slot.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)# vdsl2-plugout-protect slot 1
Related Commands
None
Function
This command creates or modifies a VDSL2 RFI profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
51-93
Examples
ZXAN(config)#vdsl2 rfi-prf test
This rfi profile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 rfi-prf test
xdsl2LConfProfRfiBands:
There are 0 bands been set, please to choose (0-no change, 1-modify the
bands, 2-delete all bands):[0]
ZXAN(config)#
Related Commands
51.2.31 show vdsl2 rfi-prf
Function
This command applies a VDSL2 RFI profile to a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 rfi-prf test
ZXAN(config-if)#
Related Commands
51.2.31 show vdsl2 rfi-prf
51.2.28 show vdsl2 port-config
51-94
Function
This command creates or modifies a VDSL2 service profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 service profile cannot start with a digit.
l Execute this command to create a VDSL2 service profile, and then execute this
command again to configure the required parameters for the profile.
l To delete a VDSL2 service profile, use the no form of this command.
Examples
The following example shows how to create a VDSL2 service profile with a name of "test"
and configure the channel parameters for the profile:
ZXAN(config)#vdsl2 service-profile test
This serviceprofile do not exist. Would you like to create? [y/n][y]
ZXAN(config)#
ZXAN(config)#vdsl2 service-profile test
zxAnXdsl2LConfProfForceInp(1-Enable,2-Disable):[1]
zxAnXdsl2LConfProfRaModeDs(1-Manual,2-AdaptAtStartup,3-AdaptAtRuntime):[2]
zxAnXdsl2LConfProfRaModeUs(1-Manual,2-AdaptAtStartup,3-AdaptAtRuntime):[2]
zxAnXdsl2LConfProfTargetSnrmDs(0..310(0.1dB)):[80]
zxAnXdsl2LConfProfTargetSnrmUs(0..310(0.1dB)):[80]
zxAnXdsl2LConfProfMaxSnrmDs(80..310(0.1dB)):[300]
zxAnXdsl2LConfProfMaxSnrmUs(80..310(0.1dB)):[300]
zxAnXdsl2LConfProfMinSnrmDs(0..80(0.1dB)):[0]
zxAnXdsl2LConfProfMinSnrmUs(0..80(0.1dB)):[0]
zxAnXdsl2Ch1ConfProfMaxDataRateDs((0..200,000)kbps):[120000]
zxAnXdsl2Ch1ConfProfMaxDataRateUs((0..200,000)kbps):[120000]
51-95
zxAnXdsl2Ch1ConfProfMinDataRateDs((0..120000)kbps):[32]
zxAnXdsl2Ch1ConfProfMinDataRateUs((0..120000)kbps):[32]
zxAnXdsl2Ch1ConfProfMaxDelayDs((0..63)ms):[16]
zxAnXdsl2Ch1ConfProfMaxDelayUs((0..63)ms):[16]
Please configure MinProtection:
noProtection (1) - INP not required
halfSymbol (2) - INP length = 1/2 symbol
singleSymbol (3) - INP length = 1 symbol
twoSymbols (4) - INP length = 2 symbols
threeSymbols (5) - INP length = 3 symbols
fourSymbols (6) - INP length = 4 symbols
fiveSymbols (7) - INP length = 5 symbols
sixSymbols (8) - INP length = 6 symbols
sevenSymbols (9) - INP length = 7 symbols
eightSymbols (10) - INP length = 8 symbols
nineSymbols (11) - INP length = 9 symbols
tenSymbols (12) - INP length = 10 symbols
elevenSymbols (13) - INP length = 11 symbols
twelveSymbols (14) - INP length = 12 symbols
thirteenSymbols (15) - INP length = 13 symbols
fourteenSymbols (16) - INP length = 14 symbols
fifteenSymbols (17) - INP length = 15 symbols
sixteenSymbols (18) - INP length = 16 symbols
zxAnXdsl2Ch1ConfProfMinProtectionDs(1..18):[1]
zxAnXdsl2Ch1ConfProfMinProtectionUs(1..18):[1]
Related Commands
51.2.35 show vdsl2 service-profile
no vdsl2 service-profile
Function
This command applies a VDSL2 service profile to a port.
Parameters
51-96
Mode
VDSL interface mode
Usage Guidelines
To cancel the setting and restore the default VDSL2 service profile (vdefval.prf) on a
port, use the no form of this command.
Examples
The following example shows how to apply a VDSL2 service profile to a port:
ZXAN(config-if)#vdsl2 service-profile test
Related Commands
show vdsl2 server-profile
51.2.28 show vdsl2 port-config
Function
This command creates or modifies a VDSL2 SNR margin profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#vdsl2 snrmargin-prf test
This snrmargin profile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 snrmargin-prf test
51-97
zxAnXdsl2LConfTargetSnrmDs(0..310(0.1dB)):[80]
zxAnXdsl2LConfTargetSnrmUs(0..310(0.1dB)):[80]
zxAnXdsl2LConfMaxSnrmDs(81..310(0.1dB)):[300]
zxAnXdsl2LConfMaxSnrmUs(81..310(0.1dB)):[300]
zxAnXdsl2LConfMinSnrmDs(0..79(0.1dB)):[0]
zxAnXdsl2LConfMinSnrmUs(0..79(0.1dB)):[0]
zxAnXdsl2LConfRaUsNrmDs(0..310(0.1dB)):[90]
zxAnXdsl2LConfRaUsNrmUs(0..310(0.1dB)):[90]
zxAnXdsl2LConfRaUsTimeDs(0..16383(s)):[60]
zxAnXdsl2LConfRaUsTimeUs(0..16383(s)):[60]
zxAnXdsl2LConfRaDsNrmDs(0..310(0.1dB)):[30]
zxAnXdsl2LConfRaDsNrmUs(0..310(0.1dB)):[30]
zxAnXdsl2LConfRaDsTimeDs(0..16383(s)):[60]
zxAnXdsl2LConfRaDsTimeUs(0..16383(s)):[60]
zxAnXdsl2LConfSnrModeDs(1-VNDisabled 2-VNEnabled):[1]
zxAnXdsl2LConfSnrModeUs(1-VNDisabled 2-VNEnabled):[1]
zxAnXdsl2LConfRaModeDs(1-fixed 2-raInit 3-dynamicRa):[2]
zxAnXdsl2LConfRaModeUs(1-fixed 2-raInit 3-dynamicRa):[2]
ZXAN(config)#
Related Commands
51.2.36 show vdsl2 snrmargin-prf
Function
This command applies a VDSL2 SNR margin profile to a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
51-98
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 snrmargin-prf test
ZXAN(config-if)#
Related Commands
51.2.36 show vdsl2 snrmargin-prf
51.2.28 show vdsl2 port-config
Function
This command creates or modifies a VDSL2 spectrum profile.
Parameters
name2 - -
number1 - 1–255
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#vdsl2 spectrum-prf test
This spectrum profile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 spectrum-prf test
First configure vdsl2 transmode bits:
Preferred modes:
[0] None
[1] G.993.2 Region A (North America) (Annex A/G.993.2).
51-99
Related Commands
51.2.37 show vdsl2 spectrum-prf
51-100
no vdsl2 spectrum-prf
Function
This command applies a VDSL2 spectrum profile to a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 spectrum-prf test
ZXAN(config-if)#
Related Commands
51.2.37 show vdsl2 spectrum-prf
Function
This command creates or modifies a VDSL2 UPBO profile.
51-101
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 UPBO profile cannot start with a digit.
l Execute this command to create a VDSL2 UPBO profile, and then execute this
command again to configure the required parameters for the profile.
l To delete a VDSL2 UPBO profile, use the no form of this command.
Examples
The following example shows how to create a VDSL2 UPBO profile with a name of "test"
and configure the required parameters for the profile:
ZXAN(config)#vdsl2 upbo-profile test
This upboprofile do not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 upbo-profile test
zxAnXdsl2LConfProfUpboKL(0..1280) 0.1dBm:[0]
zxAnXdsl2LConfProfUpboKLF(auto[1] override[2] disableUpbo[3])[3]
zxAnXdsl2LConfProfUpboU0bandPsdA(4000..8095) 0.01 dBm/Hz:[4000]
zxAnXdsl2LConfProfUpboU0bandPsdB(0..4095) 0.01 dBm/Hz:[0]
zxAnXdsl2LConfProfUpboU1bandPsdA(4000..8095) 0.01 dBm/Hz:[5650]
zxAnXdsl2LConfProfUpboU1bandPsdB(0..4095) 0.01 dBm/Hz:[1020]
zxAnXdsl2LConfProfUpboU2bandPsdA(4000..8095) 0.01 dBm/Hz:[5650]
zxAnXdsl2LConfProfUpboU2bandPsdB(0..4095) 0.01 dBm/Hz:[615]
zxAnXdsl2LConfProfUpboU3bandPsdA(4000..8095) 0.01 dBm/Hz:[5650]
zxAnXdsl2LConfProfUpboU3bandPsdB(0..4095) 0.01 dBm/Hz:[615]
zxAnXdsl2LConfProfUpboU4bandPsdA(4000..8095) 0.01 dBm/Hz:[4000]
zxAnXdsl2LConfProfUpboU4bandPsdB(0..4095) 0.01 dBm/Hz:[0]
ZXAN(config)#
Related Commands
51.2.39 show vdsl2 upbo-profile
51-102
Function
This command creates or modifies a VDSL2 UPBO profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The name of a VDSL2 UPBO profile cannot start with a digit.
l Execute this command to create a VDSL2 UPBO profile, and then execute this
command again to configure the required parameters for the profile.
l To delete a VDSL2 UPBO profile, use the no form of this command.
Examples
The following example shows how to create a VDSL2 UPBO profile with a name of "test"
and configure the required parameters for the profile:
Related Commands
51.2.39 show vdsl2 upbo-profile
51-103
Function
This command creates or modifies a VDSL2 upstream data rate profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#vdsl2 usdatarate-prf test
This usdatarate profile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 usdatarate-prf test
zxAnXdsl2ChConfChannRaRatioUs(0..100):[100]
zxAnXdsl2ChConfMinDataRateUs(0..200000(kbps)):[32]
zxAnXdsl2ChConfMaxDataRateUs(32..200000(kbps)):[120000]
zxAnXdsl2ChConfMinResRateUs(0..200000(kbps)):[64]
zxAnXdsl2ChConfMinRateLowPwrUs(0..200000(kbps)):[128]
zxAnXdsl2ChConfMaxBerUs(eminus3(1), eminus5(2), eminus7(3)):[3]
zxAnXdsl2ChConfDsDataRateUs(0..200000(kbps)):[0]
zxAnXdsl2ChConfUsDataRateUs(0..200000(kbps)):[200000]
ZXAN(config)#
Related Commands
51.2.40 show vdsl2 usdatarate-prf
51-104
Function
This command enables the update of crosstalk information through periodic ES messages.
Parameters
name1 - -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)# vdsl2-vector-tracking enabled
Related Commands
None
Function
This command creates or modifies a VDSL2 virtual noise profile.
Parameters
51-105
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)#vdsl2 virtualnoise-prf test
This virtualnoise profile does not exist. Would you like to create? [y/n][y]
ZXAN(config)#vdsl2 virtualnoise-prf test
zxAnXdsl2LConfProfTxRefVNDs:
There are 0 breakpoints been set, please to choose (0-no change, 1-modify the
bands, 2-delete all bands):[0]
zxAnXdsl2LConfProfTxRefVNUs:
There are 0 breakpoints been set, please to choose (0-no change, 1-modify the
bands, 2-delete all bands):[0]
ZXAN(config)#
Related Commands
51.2.42 show vdsl2 virtualnoise-prf
no vdsl2 virtualnoise-prf
Function
This command applies a VDSL2 virtual noise profile to a VDSL2 port.
Parameters
Mode
VDSL interface mode
Usage Guidelines
None
51-106
Examples
ZXAN(config)#interface vdsl_1/4/1
ZXAN(config-if)#vdsl2 virtualnoise-prf test
ZXAN(config-if)#
Related Commands
51.2.42 show vdsl2 virtualnoise-prf
Function
This command creates or configures an SHDSL alarm profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To delete an SHDSL alarm profile, use the no form of this command.
Examples
ZXAN(config)#shdsl alarm-profile test
This profile does not exist. Would you like to create? [y/n][y]y
Related Commands
51.3.5 show shdsl alarm-profile
51-107
Function
This command creates or configures an SHDSL profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To delete an SHDSL profile, use the no form of this command.
Examples
The following example displays how to create shdsl profile "test":
ZXAN(config)#shdsl profile test
SpanConfWireInterface:
[1]-twoWire
[2]-fourWire
[3]-sixWire
[4]-eightWire
[5]-gsfourWireBitInterleave
[6]-fourWireByteInterleaveEnhanced
[7]-fourWireBitInterleaveEnhanced
SpanConfWireInterface:[1]
SpanConfMinLineRate(192..30000kbps):[200]
SpanConfMaxLineRate(200..30000kbps):[1552]
SpanConfPSD(1-symmetric,2-asymmetric):[1]
SpanConfTransmissionMode(0-default,1-custom):[0]
SpanConfRemoteEnabled(1-enable,2-disable)):[1]
SpanConfPowerFeeding(1-noPower,2-powerFeed,3-wettingCurrent):[1]
SpanConfCurrCondTargetMarginDown(0..10dB):[5]
SpanConfWorstCaseTargetMarginDown(-10..10dB):[0]
SpanConfCurrCondTargetMarginUp(0..10dB):[5]
51-108
SpanConfWorstCaseTargetMarginUp(-10..10dB):[0]
SpanConfUsedTargetMargins(0-default,1-custom):[0]
SpanConfReferenceClock(1-LocalClk,2-NetworkClk,3-DataOrNetworkClk,4-DataClk):[1]
SpanConfLineProbeEnable(1-disable,2-enable):[1]
Related Commands
51.3.13 show shdsl profile
Function
This command displays the status of an SHDSL port during a 15-minute period.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl 15min-interval shdsl_1/6/1
Shdsl Endpoint Xtuc 15 minutes Interval Table:
15MinIntervalES :0
15MinIntervalSES :0
15MinIntervalCRCanomalies :0
15MinIntervalLOSWS :0
hdsl2Shdsl15MinIntervalUAS :0
Shdsl Endpoint Xtur 15 minutes Interval Table:
15MinIntervalES :0
15MinIntervalSES :0
15MinIntervalCRCanomalies :0
15MinIntervalLOSWS :0
hdsl2Shdsl15MinIntervalUAS :0
51-109
Related Commands
None
Function
This command displays the status of an SHDSL port during a one-day period.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl 1day-interval shdsl_1/6/1
Shdsl Endpoint Xtuc 1DayInterval Table :
1DayIntervalMoniSecs :0
1DayIntervalES :0
1DayIntervalSES :0
1DayIntervalCRCanomalies :0
l1DayIntervalLOSWS :0
1DayIntervalUAS :0
Shdsl Endpoint Xtur 1DayInterval Table :
1DayIntervalMoniSecs :0
1DayIntervalES :0
1DayIntervalSES :0
1DayIntervalCRCanomalies :0
l1DayIntervalLOSWS :0
1DayIntervalUAS :0
51-110
Related Commands
None
Function
This command displays all existing SHDSL alarm profiles or the details of a specific SHDSL
alarm profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl alarm-profile
All Existing EndPoint Alarm Profiles
---------------------
SDEFVAL.PRF
Related Commands
51.3.5 show shdsl alarm-profile
Function
This command displays the current endpoint status of an SHDSL port.
51-111
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl endp-curr shdsl_1/4/1
Shdsl Endpoint Xtuc Curr Table :
EndpointCurrAtn :0
EndpointCurrSnrMgn :0
EndpointCurrStatus :noNeighborPresent
EndpointES :0
EndpointSES :0
EndpointCRCanomalie :0
EndpointLOSWS :0
EndpointUAS :0
EndpointCurr15MinTimeElapsed :539
EndpointCurr15MinES :0
EndpointCurr15MinSES :0
EndpointCurr15MinCRCanomalies :0
EndpointCurr15MinLOSWS :0
EndpointCurr15MinUAS :0
EndpointCurr1DayTimeElapsed :5038
EndpointCurr1DayES :0
EndpointCurr1DaySES :0
EndpointCurr1DayCRCanomalies :0
EndpointCurr1DayLOSWS :0
EndpointCurr1DayUAS :0
Shdsl Endpoint Xtur Curr Table :
EndpointCurrAtn :0
EndpointCurrSnrMgn :0
EndpointCurrStatus :noDefect
EndpointES :0
EndpointSES :0
EndpointCRCanomalie :0
EndpointLOSWS :0
EndpointUAS :0
EndpointCurr15MinTimeElapsed :539
51-112
EndpointCurr15MinES :0
EndpointCurr15MinSES :0
EndpointCurr15MinCRCanomalies :0
EndpointCurr15MinLOSWS :0
EndpointCurr15MinUAS :0
EndpointCurr1DayTimeElapsed :5038
EndpointCurr1DayES :0
EndpointCurr1DaySES :0
EndpointCurr1DayCRCanomalies :0
EndpointCurr1DayLOSWS :0
EndpointCurr1DayUAS :0
Related Commands
None
Function
This command displays the endpoint status of an SHDSL port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl endp-profile shdsl_1/4/1
Shdsl Endpoint Xtuc Configure :
EndpointAlarmConfProfile :DEFVAL
Shdsl Endpoint Xtur Configure :
EndpointAlarmConfProfile :DEFVAL
51-113
Related Commands
None
Function
This command displays the inventory information of an SHDSL port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl inventory shdsl_1/6/1
Shdsl Inventory Xtuc Table :
InvVendorID :vendorId
InvVendorModelNumber :modelNumber0
InvVendorSerialNumber :serialNumber
InvVendorEOCSoftwareVersion :0
InvStandardVersion :1
InvVendorListNumber :lst
InvVendorIssueNumber :su
InvVendorSoftwareVersion :vrsion
InvEquipmentCode :equipmntCd
InvVendorOther :vendorOther0
InvTransmissionModeCapability :region 1 Indicates ITU-T G.991.2 Annex A
region 2 Indicates ITU-T G.991.2 Annex B
Shdsl Inventory Xtur Table :
InvVendorID :
InvVendorModelNumber :X3102
51-114
Related Commands
None
Function
This command displays the line status of an SHDSL port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show shdsl line-status shdsl_1/15/1
Port Link Speed BondingGroup PowerBackoff WorkMode Counters
ADM/OPR (kbps) slic/id STU-C/STUR up/down
---------------------------------------------------------------------
15/01 up/down 0 0/0 0/0 N.A. 0/0
Related Commands
None
Function
This command displays the configuration information of an SHDSL port.
51-115
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show shdsl port-config shdsl_1/15/1
SpanConfProfile : TEST
SpanConfAlarmProfile : TEST
Related Commands
None
Function
This command displays the configuration status of an SHDSL port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl port-info shdsl_1/4/1
Port Link Speed LinkRetrain LineProfile AlarmProfile
51-116
Related Commands
None
Function
This command displays the configuration status of an SHDSL port.
Parameters
local Parameter 1 -
brief Parameter 2 -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config-if)#show shdsl port-status shdsl_1/4/1
Port Link Speed Curr. SNR Attenuation Attainable Rate
ADM/OPR (kbps) UP/DOWN UP/DOWN (kbps)
----------------------------------------------------------------------
4/01 up/down 0 0/ 0 0/ 0 0
Related Commands
None
51-117
Function
This command displays all existing SHDSL profiles or the details of a specific SHDSL
profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show shdsl profile
All Existing Span Profiles
---------------------
SDEFVAL.PRF
FOURWIRE.PRF
Related Commands
None
Function
This command displays the SPAN status of an SHDSL port.
51-118
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show shdsl span-status shdsl_1/4/1
SHDSL SpanStatus Tabel :
StatusNumAvailRepeaters :0
StatusMaxAttainableLineRate :0
StatusActualLineRate :0
StatusTransmissionModeCurrent :region 2 Indicates ITU-T G.991.2 Annex B
Related Commands
None
Function
This command adds an ADSL port to a bonding group. If the bonding group specified in
the command does not exist, the system will automatically create a bonding group.
Parameters
Mode
Configuration mode: ZXAN(config)#
51-119
Usage Guidelines
None
Examples
The following example shows how to add an ADSL port to a bonding group:
Related Commands
51.4.3 del-bonding
51.4.2 bonding
Syntax
bonding number1
Function
This command configures a bonding group.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure a bonding group:
ZXAN(config)#bonding 1
gBondAdminScheme(0-unknown,1-g9981,2-g9982,3-g9983):[1]
gBondTargetUpDataRate(1..1000000|9999999) kbps:[9999999]
gBondTargetDownDataRate(1..1000000|9999999) kbps:[9999999]
gBondThreshLowUpRate(1..1000000) kbps:[1]
gBondThreshLowDownRate(1..1000000) kbps:[1]
gBondLowRateCrossingEnable(1-true,2-false) :[2]
51-120
Related Commands
51.4.6 show bonding-config
51.4.3 del-bonding
Syntax
del-bonding number1 [interface interface1 ]
Function
This command deletes a bonding group or removes a port from a bonding group.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
l The following example shows how to delete a bonding group:
ZXAN(config)#del-bonding 1
l The following example shows how to remove an ADSL port from a bonding group:
ZXAN(config)#del-bonding 1 interface adsl_1/3/1
Related Commands
51.4.1 add-bonding
Function
This command displays a bonding group and the ports in the group.
51-121
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of all bonding groups:
ZXAN#show bonding
All Existing Bondings
---------------------
1
#show bonding 1
Bonding Id: 1
slot port
-------------------------------------
3 1
Related Commands
51.4.1 add-bonding
51.4.3 del-bonding
Function
This command displays the capability of a bonding group, including the ports in the group
and whether more ports can be added to the group.
Parameters
51-122
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the capability of a bonding group:
ZXAN#show bonding-capability 1
Bonding Id: 1
----------------------------------
Ports in this bonding:
3 /1
----------------------------------
Ports can be joined in this bonding:
Related Commands
None
Function
This command displays the configuration of a bonding group.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of a bonding group:
51-123
ZXAN#show bonding-config 1
AdminScheme :g9981
TargetUpDataRate :9999999
TargetDownDataRate :9999999
ThreshLowUpRate :1
ThreshLowDownRate :1
CrossingEnable :false
Related Commands
51.4.2 bonding
Function
This command displays the status of a bonding group.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of a bonding group:
ZXAN#show bonding-status
Related Commands
del-board-mics
51-124
Function
This command starts a DELT test on the current port.
Parameters
None
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config-if)#delt-test start
ZXAN(config-if-range)#
Related Commands
None
Function
This command starts a MELT test.
51-125
Parameters
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
The MELT test is port based. The optional test items are voltage, current, resistance,
capacitance, frequency, and conductivity. The melt-test start-item command can be issued
to multiple ports at the same time.
Examples
ZXAN(config-if)#melt start-item
admittance admittance item
all all items
capacitance capacitance item
current current item
frequency frequency item
resistance resistance item
voltage voltage item
Related Commands
51.5.6 show melt status
Function
This command starts a SELT calibration on the current port.
Parameters
None
Mode
l ADSL interface mode
51-126
Usage Guidelines
None
Examples
None
Related Commands
None
Function
This command starts a SELT test on the current port.
Parameters
None
Mode
l ADSL interface mode
l VDSL interface mode
l SHDSL interface mode
Usage Guidelines
None
Examples
ZXAN(config-if)#selt-test start
ZXAN(config-if-range)#
Related Commands
None
51-127
Function
This command displays the result of a METL test.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command takes a port as the index. The result is available only after the MELT test
is successfully completed. If the MELT test is not finished, a message will be displayed,
indicating that the test is in progress. You can check whether the test is completed by
querying the test status.
Examples
ZXAN#show melt result admittance-result vdsl_1/9/1
Related Commands
None
Function
This command queries the MELT test status on a port.
51-128
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command takes a port number as the index. A MELT test has three statuses: “none”
(initial status), “inProgress” (in progress), and “success” (test completed).
Examples
ZXAN(config)#show melt status vdsl_1/6/1
Port 3/1:
MeltLdsfResult : none
ZXAN(config)#show melt status vdsl_1/6/1
Port 3/1:
MeltLdsfResult : inProgress
ZXAN(config)#show melt status vdsl_1/6/1
Port 3/1:
MeltLdsfResult : success
Related Commands
None
51-129
51-130
Function
This command binds a local MEP to an uplink port or CIP port.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l This version (version 2.0) does not support binding a local MEP to a CIP port.
l If a local MEP has been bound to a port, an error message will be displayed when
you attempt to bind the MEP to another port.
52-1
Examples
l The following example shows how to bind a local MEP to a port (gei_1/19/1):
ZXAN(config-md1-ma1)#assign mep 8191 to interface gei_1/19/1
l The following example shows how to remove the binding of a local MEP:
ZXAN(config-md1-ma1)#no assign mep 8191
Related Commands
52.1.42 show cfm mp
Function
This command binds an MIP to an uplink port or CIP port.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l This version (version 2.0) does not support binding an MIP to a CIP port.
l If an MIP has been bound to a port, an error message will be displayed when you
attempt to bind the MIP to another port.
Examples
The following example shows how to bind an MIP to a port (gei_1/19/3):
ZXAN(config-md1-ma1)#assign mip 1 to interface gei_1/19/3
52-2
Related Commands
52.1.42 show cfm mp
52.1.3 ccm
Syntax
ccm timer-interval name1
Function
This command sets the time interval for sending CCMs.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l The time interval for sending CCMs is valid for all MEPs in an MA.
l By default, CCMs are sent at an interval of one second when the time interval is not
set.
Examples
The following example shows how to set the time interval for sending CMMs to 10 ms for
an MA:
ZXAN(config-md1-ma1)#ccm timer-interval 2
Related Commands
52.1.40 show cfm ma
52.1.4 cfm
Syntax
cfm {enable |disable }
52-3
Function
This command configures the global switch of the CFM module to enable or disable CFM
functions on a global basis.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The functions of the CFM module are available only when the global switch is turned on.
Examples
The following example shows how to turns on the global switch for the CFM module:
ZXAN(config)#cfm enable
Related Commands
52.1.44 show cfm status
Function
This command creates an MD.
Parameters
52-4
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l A maximum of 16 MDs can be created.
l Each MD has a unique session ID.
l Each MD has a unique name.
Examples
The following example shows how to create an MD, and set the session ID to 1, MD name
to md1, and MD level to 7:
ZXAN(config)#cfm create md session 1 name md1 level 7
Related Commands
52.1.41 show cfm md
Function
This command deletes an MD.
Parameters
Mode
Configuration mode: ZXAN(config)#
52-5
Usage Guidelines
l An MD cannot be deleted if the MD contains an MA.
l A success message will be displayed when the MD specified in this command does
not exist.
Examples
The following example shows how to delete an MD whose session ID is 1:
ZXAN(config)#cfm delete md 1
Related Commands
52.1.41 show cfm md
Function
This command tests the connectivity between the NE and its peer equipment by sending
multicast LBMs.
Parameters
52-6
Mode
Privileged mode: ZXAN#
Usage Guidelines
l Before the connectivity test, ensure that the specified MD, MA, local MEP, and remote
MEP have been created for the NE and its peer equipment.
l Related ports must be added to the primary VLAN of the MA.
l MIPs are transparent to multicast LBMs.
Examples
The following example shows how to test the connectivity between the local MEP (ID:
8191) and its peer MEPs by sending 56 multicast LBMs with a priority of 5:
Related Commands
None
52-7
Function
This command tests the connectivity between the NE and its peer equipment by sending
unicast LBMs.
Parameters
52-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
l Before the connectivity test, ensure that the specified MD, MA, local MEP, and remote
MEP have been created for the NE and its peer equipment.
l Related ports must be added to the primary VLAN of the MA.
Examples
The following example shows how to test the connectivity between the local MEP (ID:
8191) and its peer MEP (ID: 8190) by sending 56 unicast LBMs with a priority of 5:
ZXAN#cfm lbm check unicast md 1 ma 1 smep-id 8191 dmep-id 8190 repeat 56 priority 5
Related Commands
None
52-9
Function
This command sends an LTM.
Parameters
Mode
Privileged mode: ZXAN#
52-10
Usage Guidelines
l Ensure that the specified MD, MA, local MEP, and remote MEP for the NE and its peer
equipment have been created before using this command.
l Related ports must be added to the primary VLAN of the MA.
Examples
The following example shows how to track the link from a local MEP (ID: 1) to a remote
MEP (ID:2):
ZXAN#cfm ltm md 1 ma 1 smep-id 1 dmep-id 2
Related Commands
52.1.10 cfm ltr-read trans-id
Function
This command reads the link tracing result corresponding to a transaction ID.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to read the link tracing result corresponding to
transaction 1:
ZXAN#cfm ltr-read trans-id 1
Related Commands
52.1.9 cfm ltm
52-11
52.1.11 cfm md
Syntax
cfm md session number1
Function
This command starts CFM MD mode for an MD.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Use this command to enter CFM MD mode for an MD before creating or deleting an MA
in this MD.
Examples
The following example shows how to enter CFM MD mode for an MD (session ID: 1):
ZXAN(config)#cfm md session 1
ZXAN(config-md1)#
Related Commands
None
Function
This command creates a local MEP.
52-12
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l Only one local MEP can be created in an MA.
l In the same MA, the session ID and ID of each MEP must be unique.
l If no primary VLAN is configured in the MA, the MEP creation will fail and an error
message will be displayed.
Examples
The following example shows how to create a local MEP:
Related Commands
52.1.39 show cfm lmep
Function
This command creates an MIP.
52-13
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l Multiple MIPs can be created in an MA.
l In the same MA, the session ID and ID of each MIP must be unique.
l If no primary VLAN is configured in the MA, the MIP creation will fail and an error
message will be displayed.
Examples
The following example shows how to create an MIP and set the MIP name to mip1:
ZXAN(config-md1-ma1)#create mip session 63 563 name mip1
Related Commands
52.1.42 show cfm mp
Function
This command creates a remote MEP.
Parameters
52-14
Mode
CFM_MA configuration mode
Usage Guidelines
l Multiple remote MEPs can be created in an MA.
l In the same MA, the session ID and ID of each remote MEP must be unique.
l If no primary VLAN is configured in the MA, the MEP creation will fail and an error
message will be displayed.
Examples
The following example shows how to create a remote MEP whose MAC address is
00d0.d092.7023:
Related Commands
52.1.43 show cfm rmep
52.1.15 create
Syntax
create ma session number1 format icc-based name WORD1
Function
This command creates an MA.
Parameters
Mode
CFM_MD configuration mode
52-15
Usage Guidelines
l A maximum of 32 MAs can be created in an MD.
l Each MA in the system must have a unique name.
l In the same MD, the session ID of each MA must be unique.
Examples
The following example shows how to create an MA. In this example, the MA name is ma1
and session ID is 1.
ZXAN(config-md1)#create ma session 1 format icc-based name ma1
Related Commands
52.1.40 show cfm ma
Function
This command deletes an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l The command is successfully executed even if the MEP specified in the command
does not exist.
l An error message is displayed if a remote MEP to be deleted is the destination MEP
during DM or LM of a local MEP.
52-16
Examples
The following example shows how to delete the MEP whose session ID is 2:
ZXAN(config-md1-ma1)#delete mep session 2
Related Commands
52.1.42 show cfm mp
Function
This command deletes an MIP in an MA.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l The command is successfully executed even if the MIP specified in the command
does not exist.
l An error message will be displayed if this command is used to delete an MEP.
Examples
The following example shows how to delete the MIP whose session ID is 3:
Related Commands
52.1.42 show cfm mp
52-17
52.1.18 delete
Syntax
delete ma {number1 |WORD1 }
Function
This command deletes an MA.
Parameters
Mode
CFM_MD configuration mode
Usage Guidelines
l An MA cannot be deleted when the MA contains an MEP or MIP.
l A success message will be displayed even if the MA specified in this command does
not exist.
Examples
l The following example shows how to delete an MA (session ID: 1) in an MD (session
ID: 1):
ZXAN(config-md1)#delete ma 1
l The following example shows how to delete an MA with the name of ma1 in an MD
(session ID: 1):
ZXAN(config-md1)#delete ma ma1
Related Commands
52.1.40 show cfm ma
52-18
52.1.19 l2vpn
Syntax
l2vpn name1
no l2vpn
Function
This command associates an MA with a VLL instance.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l This version (version 2.0) does not support this command.
l Ensure that a VLL instance has been created before associating an MA with the VLL
instance.
Examples
The following example shows how to associate an MA with an VLL instance (vll1):
ZXAN(config-md-ma)#l2vpn vll1
Related Commands
52.1.40 show cfm ma
52.1.20 ma
Syntax
ma session number1
Function
This command starts CFM_MA configuration mode of an MA.
52-19
Parameters
Mode
CFM_MD configuration mode
Usage Guidelines
Use this command to enter CFM_MA configuration mode of an MA before creating,
deleting, and configuring an MP (MEP or MIP) in the MA.
Examples
The following example shows how to enter CFM_MA configuration mode of an MA (session
ID: 1) in an MD (session ID: 1):
ZXAN(config-md1)#ma session 1
ZXAN(config-md1-ma1)#
Related Commands
None
Function
This command sets the time interval for sending AIS and LCK messages.
Parameters
Mode
CFM_MA configuration mode
52-20
Usage Guidelines
The time interval for sending AIS and LCK messages can be set to one second or one
minute. The default time interval is one second.
Examples
The following example shows how to set the time interval for sending AIS and LCK
messages to one minute for a local MEP:
ZXAN(config-md1-ma1)#mep 8191 ais-lck-interval 2
Related Commands
52.1.42 show cfm mp
Function
This command sets the VLAN priority for AIS messages.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the priority of AIS messages to 6 for a local MEP:
ZXAN(config-md1-ma1)#mep 8191 ais-priority 6
Related Commands
52.1.42 show cfm mp
52-21
Function
This command enables or disables sending AIS messages.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l An MEP sends AIS messages in occurrence of faults only when the MEP is enabled
to send AIS messages.
l By default, each MEP is disabled from sending AIS messages.
Examples
The following example shows how to enable an MEP to send AIS messages:
Related Commands
52.1.42 show cfm mp
Function
This command sets the lowest alarm level for an MEP.
52-22
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
An alarm is sent to the network management system only when its alarm level is greater
than or equal to the lowest alarm level.
Examples
The following example shows how to set the lowest alarm level to 4 for a local MEP:
Related Commands
52.1.42 show cfm mp
Function
This command enables or disables CCM alarm detection for an MEP.
Parameters
Mode
CFM_MA configuration mode
52-23
Usage Guidelines
l CCM alarm detection is disabled by default.
l Related alarms can be detected only when CCM alarm detection is enabled.
l The system is in a non-CCM alarm status when CCM alarm detection is disabled.
Examples
The following example shows how to enable CCM alarm detection for a local MEP:
ZXAN(config-md1-ma1)#mep 8191 ccm-check enable
Related Commands
52.1.42 show cfm mp
Function
This command sets the priority of CCMs and LTMs for an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
CCMs and LTMs have the same priority.
Examples
The following example shows how to set the priority of CCMs and LIMs to 4 for a local
MEP:
ZXAN(config-md1-ma1)#mep 8191 ccm-ltm-priority 4
Related Commands
52.1.42 show cfm mp
52-24
Function
This command enables or disables sending CCMs for an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l By default, an MEP is disabled from sending CCMs.
l This command can only enable an MEP to send either unicast or multicast CCMs at
a time.
l An MEP can send CCMs only when the MEP is enabled to send CCMs.
Examples
The following example shows how to enable a local MEP to send unicast CCMs:
Related Commands
52.1.42 show cfm mp
52-25
Function
This command clears LM or DM results.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l This command cannot be executed during LM or DM.
l The results related to remote MEPs are also cleared after this command is executed.
Examples
The following example shows how to clear the DM results of a local MEP:
mep 8191 clear dm
Related Commands
52.1.43 show cfm rmep
Function
This command sets the client level for an MEP.
52-26
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l To delete a client level of an MEP, use the no form of this command.
l The client level of an MEP must be greater than the level of the MD where the MEP
is located.
l Multiple client levels can be set for an MEP.
Examples
The following example shows how to set the client level of an MEP to 5–7:
ZXAN(config-md1-ma1)#mep 8191 client-level 5-7
Related Commands
52.1.42 show cfm mp
Function
This command specifies the destination MEP for Delay Measurement (DM) of an MEP.
Parameters
Mode
CFM_MA configuration mode
52-27
Usage Guidelines
l To delete the destination MEP of the DM, use the mep dm-rmep delete command.
l If a destination MEP has been specified for the DM, an error message will be displayed
when you specify another destination MEP for the DM.
l An error message will be displayed if the specified destination MEP is not a remote
MEP.
Examples
The following example shows how to specify the destination MEP (ID: 8190) for the DM of
a local MEP:
ZXAN(config-md1-ma1)#mep 8191 dm-rmep 8190
Related Commands
52.1.42 show cfm mp
Function
This command enables or disables DM for an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l Delay measurement is disabled by default.
52-28
Examples
The following example shows how to enable DM for a local MEP:
ZXAN(config-md1-ma1)#mep 8191 dm-send two-way enable
Related Commands
52.1.42 show cfm mp
Function
This command specifies the destination MEP for Loss Measurement (LM) of an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l To delete the destination MEP of the LM, use the mep lm-rmep delete command.
l If a destination MEP has been specified for an LM, an error message will be displayed
when you specify another destination MEP for the LM.
l An error message will be displayed if the specified destination MEP is not a remote
MEP.
Examples
The following example shows how to specify the destination MEP (ID: 8190) for the LM of
a local MEP:
52-29
Related Commands
52.1.42 show cfm mp
Function
This command enables or disables Loss Measurement (LM) for an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l Loss measurement is disabled by default.
l A loss measurement can be performed only when the loss measurement is enabled.
l Only single-ended LM or dual-ended loss measurement can be enabled for an MEP
at a time.
l This version only supports single-ended loss measurement.
Examples
The following example shows how to enable single-ended loss measurement for a local
MEP:
52-30
Related Commands
52.1.42 show cfm mp
Function
This command starts single-ended LM for an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
The LM can be successfully started only when the CFM global configuration, the MEP
CFM, and the single-ended LM are enabled for the MEP.
Examples
The following example shows how to start single-ended loss measurement for an MEP:
Related Commands
52.1.43 show cfm rmep
52-31
Function
This command enables or disables Connectivity Fault Management (CFM) for an MEP.
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l CFM is disabled by default.
l An MEP can use CFM functions only when CFM is enabled.
Examples
The following example shows how to enable CFM for a local MEP:
Related Commands
52.1.42 show cfm mp
Function
This command starts two-way DM for an MEP.
52-32
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
The delay measurement can be successfully started only when the CFM global
configuration, the MEP CFM, and the two-way DM are enabled for the MEP.
Examples
The following example shows how to start two-way DM for a local MEP:
Related Commands
52.1.43 show cfm rmep
52.1.37 primary
Syntax
primary vlan number1 [cvlan number2 ]
Function
This command configures a primary VLAN for an MA.
52-33
Parameters
Mode
CFM_MA configuration mode
Usage Guidelines
l No MP (MEP or MIP) can be created in an MA if no primary VLAN is configured in the
MA.
l Each MA at the same MD level has a unique primary VLAN.
l The primary VLAN of an MA can be modified only after all MPs in the MA are deleted.
l If the protection mode of an MA is not configured, an error message will be displayed
when you configure a primary VLAN for the MA.
Examples
The following example shows how to configure a primary VLAN (VLAN 100) for an MA:
ZXAN(config-md1-ma1)#primary vlan 100
Related Commands
52.1.40 show cfm ma
52.1.38 protect
Syntax
protect {vlan }
Function
This command configures the protection mode of an MA.
Parameters
52-34
Mode
CFM_MA configuration mode
Usage Guidelines
l This version only supports the protection mode VLAN.
l If the protection mode of an MA is not configured, an error message will be displayed
when you configure a primary VLAN for the MA.
Examples
The following example shows how to set the protection mode of an MA to VLAN:
ZXAN(config-md1-ma2)#protect vlan
Related Commands
52.1.40 show cfm ma
Function
This command displays the information of a local MEP.
Parameters
52-35
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to view the information of all local MEPs in an MA
(session ID: 2) of an MD (session ID: 1):
Related Commands
None
Function
This command displays the information of an MA.
Parameters
52-36
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to view the information of all MAs in an MD (session
ID: 1):
show cfm ma all md 1
Related Commands
None
Function
This command displays the information of an MD.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to view the information of all MDs in the system:
show cfm md all
52-37
Related Commands
None
Function
This command displays the information of an MP (local MEP, remote MEP, or MIP).
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to view the detailed information of all MPs in an MA
(session ID: 1) of an MD (session ID: 1):
52-38
Related Commands
None
Function
This command displays the information of a remote MEP.
Parameters
Mode
Any mode except user mode
52-39
Usage Guidelines
None
Examples
The following example shows how to view the detailed information of all remote MEPs in
an MA (session ID: 1) of an MD (session ID: 1):
Related Commands
None
Function
This command displays the global configuration of the CFM module, including the global
switch, and CCM alarm mode.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
show cfm status
Related Commands
None
52-40
Function
This command turns on all debug switches for a specific or all MEPs, including event
switch, error switch, and packet Rx/Tx switch.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to turn on all CFM debug switches for an MEP (ID: 100)
in an MA (session ID: 1) of an MD (session ID: 1):
Related Commands
show debugging
terminal monitor
52-41
Function
This command turns on the debug switch to display CFM packets in bytes for a specific
MEP or all MEPs.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to turn on the debug switch for displaying CFM packets
in bytes for all MEPs:
52-42
Related Commands
show debugging
10.98 terminal monitor
Function
This command turns on the error debug switch for a specific MEP or all MEPs.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to turn on the error debug switch for all MEPs:
Related Commands
show debugging
52-43
Function
This command turns on the event debug switch for a specific MEP or all MEPs.
Parameters
Parameter Description Value
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to turn on the event debug switch for all MEPs:
debug cfm event all
Related Commands
show debugging
10.98 terminal monitor
52-44
Function
This command turns on the debug switch for displaying CFM packets in parsing mode for
a specific MEP or all MEPs.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to turn on the debug switch for displaying CFM packets
in parsing mode for all MEPs:
Related Commands
show debugging
52-45
52-46
53-1
Function
This command displays the SIP access code.
Parameters
number1 MG ID 1–1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the SIP access code:
ZXAN(config-msag)#show msag sip accesscode mgid 1
mgid:1
id: 0
sip access code:1F
------------------------------
Related Commands
sip accesscode add
sip accesscode del
Function
This command displays the SIP system attributes.
Parameters
number1 MG ID 1-1
53-2
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config-msag)#show msag sip capability uaid 1
Related Commands
53.1.16 sip capability modify
Function
This command displays the formats of the SIP FROM, TO, and REQUEST fields.
Parameters
Parameter Description Value
number1 MG ID 1–1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the formats of the SIP FROM, TO, and
REQUEST fields:
ZXAN(config-msag)#show msag sip genfmt mgid 1
mgid:1
field:FROM
format:SIPURI
------------------------------
mgid:1
field:TO
53-3
format:SIPURI
------------------------------
mgid:1
field:REQUIRELINE
format:SIPURI
------------------------------
Related Commands
53.1.17 sip genfmt modify
Function
This command displays the information of an SIP user group.
Parameters
number1 MG ID 1–1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following command shows how to display the information of an SIP user group:
Related Commands
53.1.18 sip group add
53-4
Function
This command displays the information of an SIP ISDN link.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of an SIP ISDN link:
Related Commands
53.1.21 sip isdn dlink add
Function
This command displays the information of PBX’s B channel.
53-5
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config-msag)#show msag sip isdn pbx-Bchannel 1 1 begin-index 1 num 2
Related Commands
sip isdn pbx-Bchannel
Function
This command displays the information of an SIP ISDN number.
Parameters
Mode
Any mode except user mode
53-6
Usage Guidelines
None
Examples
ZXAN(config-msag)#show msag sip isdn shortnum groupid 1
Related Commands
sip isdn shortNum add
sip isdn shortNum del
Function
This command displays the SIP ISDN user information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the SIP ISDN user information:
Related Commands
53.1.26 sip isdn user add
53-7
Function
This command displays the SIP module process status.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the SIP module process status:
ZXAN(config-msag)#show msag sip process-status
Sip Process State: On
Related Commands
None
Function
This command displays the SIP server information.
Parameters
Mode
Any mode except user mode
53-8
Usage Guidelines
None
Examples
The following example shows how to display the SIP server information:
index:1
proxyport:5060
proxyserver:10.63.198.252
domainname:
svrtype:0
------------------------------
Related Commands
53.1.29 sip proxy-server add
53.1.30 sip proxy-server del
Function
This command displays the information of SIP users.
Parameters
Mode
Any mode except user mode
53-9
Usage Guidelines
None
Examples
The following example shows how to display the information of the users in slot 2:
rack:1
shelf:1
slot:2
index:1
sip-digits:19811310
groupid:0
password:ptg
dstngring:15
hotlinetype:0
hotlinenum:
userid:19811310
digitmap:sipdm
username:19811310
enableflag:1
sessionlimit:0
Related Commands
53.1.32 sip user add
Function
This command displays the information of an SIP agent.
Parameters
number1 MG ID 1–10
53-10
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of an SIP agent:
ZXAN(config-msag)#show msag sip user-agent
uaid:1
port:5060
sip-domain-name:10.63.198.252
proxyindex1:1
proxyindex2:0
proxyindex3:0
proxyindex4:0
self-exchange:disable
call-protect:disable
dns-record-type:A
dns-domain-name:
Related Commands
53.1.35 sip user-agent add
Function
This command displays the message stream between the SIP module and CALL module.
It is a command for debugging.
53-11
Parameters
Parameter Description Value
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the internal message stream of the users of
the first circuit in slot 2:
ZXAN(config-msag)#show msag sipdebug flow-record 1 2 1
Related Commands
None
Function
This command displays the SIP user registration status.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the SIP user registration status:
53-12
SIP-UA IP:10.63.199.119
SIP-UA PORT: 5060
Related Commands
None
Function
This command displays the resource suspending information of the SIP module.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config-msag)#show msag sipdebug suspend-res-stat
SIP TmData Suspend Static:
No Tm Data Suspend!
53-13
No TranData Suspend!
Related Commands
None
Function
This command modifies the SIP system attributes.
Parameters
number1 1–1
number2 0–1
number3 0–1
number4 0–1
number5 0–1
number6 0–1
number7 0–1
53-14
number8 0–1
number9 0–7
number10 0–7
number11 0–7
number12 0–7
number13 0–7
number14 0–7
number15 0–7
number16 0–2
number17 0–2
number18 0–2
number19 0–2
number20 0–1
number21 0–65535
number22 0–65535
number23 1–2
number24 1–2
number25 0–65535
number26 0–1
number27 0–1
number28 0–1
number29 20–50
number30 0–255
number31 0–255
number32 0–255
number33 0–255
number34 0–255
number35 0–255
name1 –
number36 0–1
number37 0–1
number38 0–65535
number39 0–1
53-15
name2 –
name3 –
number40 1–50
number41 180–182
number42 0–1
number43 0–1
number44 0–1
number45 0–1
number46 0–1
number47 0–1
number48 0–1
number49 0–1
number50 10–3600
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To modify the fields from which CID display is obtained, do as follows:
1. Use the ZXAN(config– –msag)#show ms sip capability command to check the current
system attributes.
2. Use the ZXAN(config– –msag)#sip capability modify ? command to check the name of
the attribute to be modified.
3. Use the ZXAN(config– –msag)#sip capability modify DISPLAYFROM ? command to
check the options that can be modified for the attribute.
Examples
The following example shows how to change the CID display to be obtained from the
FROM field:
Related Commands
53.1.2 show msag sip capability
53-16
Function
This command modifies the request line, FROM, and TO field types of the SIP. The default
is SIP URI format.
Parameters
number1 MG ID 1–1
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To modifies the protocol field format, do as follows:
Examples
The following example shows how to modifies the FROM field from SIP URI format to TEL:
ZXAN(config-msag)#sip genfmt modify 0 1
Related Commands
53.1.3 show msag sip genfmt
53-17
Function
This command adds SIP user agent groups.
Parameters
number1 MG ID 1–1
name1 -
Mode
Narrowband MSAG configuration mode
Usage Guidelines
The command is similar to that for SIP user configuration. It supports configurations in
batches.
Examples
The following example shows how to add SIP user agent groups:
ZXAN(config-msag)#sip group add 1 grouptype 0 g1 1 auth-username 1981130 group-digit 19811300
password zte userid 1981130 type 2 begin-no 0 digitlen 1
53-18
Related Commands
53.1.19 sip group del
53.1.20 sip group modify
Function
This command deletes SIP user agent groups.
Parameters
number1 MG ID 1–1
Mode
Narrowband MSAG configuration mode
Usage Guidelines
The groups can be deleted in batches.
Examples
The following example shows how to delete agent group 1:
Related Commands
53.1.18 sip group add
53-19
Function
This command modifies the attributes of an SIP user agent group.
Parameters
number1 MG ID 1–1
Mode
Narrowband MSAG configuration mode
Usage Guidelines
The following example shows how to modify the attributes of an SIP user agent group
1. Use the following command to check the current SIP group information:
ZXAN(config-msag)#show ms sip group
mgid:1
groupid: 1
group-type:PSTN
group-name:g11
53-20
group-digit:1981130
userid:19811300
auth-name:19811300
password:zte
Examples
The following example shows how to modify the telephone number of the group to
19811300:
Related Commands
53.1.19 sip group del
53.1.18 sip group add
Function
This command adds an SIP isdn dlink.
Parameters
53-21
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add an SIP isdn dlink:
ZXAN(config-msag)#sip isdn dlink add 200 200 rack 1 shelf 1 6 1 ts 20 num 1
Related Commands
53.1.22 sip isdn dlink del
53.1.5 show msag sip isdn dlink
Function
This command deletes an SIP ISDN dlink.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete an SIP isdn dlink.
53-22
Related Commands
53.1.21 sip isdn dlink add
53.1.5 show msag sip isdn dlink
Function
This command configures the information of PBX’s B channel.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the information of PBX’s B channel:
ZXAN(config-msag)#sip isdn pbx-Bchannel rackno 1 shelfno1 3 12 begin-index 1 num 20 90
Related Commands
show msag sip isdn pbx-Bchannel
53-23
Function
This command adds SIP ISDN long numbers (inter-office numbers) and short numbers
(intra-office numbers).
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
ZXAN(config-msag)#sip isdn shortNum add 12345678 8765 20
Related Commands
sip isdn shortNum del
Function
This command deletes SIP ISDN short numbers.
53-24
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
ZXAN(config-msag)#sip isdn shortNum del 12345678 8765 20
Related Commands
sip isdn shortNum add
53.1.7 show msag sip isdn shortnum
Function
This command adds SIP ISDN user information.
Parameters
53-25
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add SIP ISDN user information:
ZXAN(config-msag)#sip isdn user add 12345678 num 20 30 AuthUserName name beginno 20 digitlen 3 passwo
Related Commands
The following example shows how to add SIP ISDN user information:
53.1.27 sip isdn user del
53.1.8 show msag sip isdn user
Function
This command deletes SIP ISDN user information.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-26
Examples
The following shows how to delete SIP ISDN user information:
ZXAN(config-msag)#sip isdn userid del 19811300 Num 1
Related Commands
53.1.28 sip isdn userid add
53.1.8 show msag sip isdn user
Function
This command adds SIP ISDN user information.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add SIP ISDN user information:
ZXAN(config-msag)#sip isdn userid add 19811300 Num 1 1981130 Beginno 0 Digitlen 1 Type 2
Related Commands
sip isdn userid del
53-27
Function
This command adds an SIP agent server.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
The default server port is 5060. A maximum of four servers can be configured.
Examples
The following example shows how to configure an SIP agent server whose port is 5060
and IP address is 10.63.198.252:
ZXAN(config-msag)#sip proxy-server add 1 5060 10.63.198.252
Related Commands
53.1.30 sip proxy-server del
53-28
Function
This command deletes an SIP agent server.
Parameters
Parameter Description Value
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To delete an SIP server, doe as follows:
1. Use the ZXAN(config-msag)#show ms sip proxy-server command to query the index of
the server to be deleted.
2. Use the ZXAN(config-msag)#sip proxy-server del command to delete the server.
Examples
The following example shows how to delete the server whose index is 1:
ZXAN(config-msag)#sip proxy-server del 1
Related Commands
53.1.29 sip proxy-server add
53.1.31 sip proxy-server modify
53.1.10 show msag sip proxy-server
Function
This command modifies the attributes of an SIP agent server.
Parameters
Parameter Description Value
53-29
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To modify the attributes of an SIP server, do as follows:
1. Use the ZXAN(config-msag)#show ms sip proxy-server command to query the index to
the server to be modified.
2. Use the ZXAN(config-msag)#sip proxy-server modify command to the modify the IP
address or port number of the server.
Examples
The following example shows how to modify the IP address of the server whose index is 1:
ZXAN(config-msag)#sip proxy-server modify 1 proxyipaddr 10.63.198.224
Related Commands
53.1.29 sip proxy-server add
53.1.30 sip proxy-server del
53.1.10 show msag sip proxy-server
Function
This command adds SIP users.
Parameters
53-30
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To add SIP users, do as follows:
1. Use the ZXAN(config-msag)#show card command to check the slot of the subscriber
card.
2. Use the ZXAN(config-msag)#show ms slc terminationid 2 command to check whether
the subscriber card has been configured with other users, for example, H248 users.
3. Use the ZXAN(config-msag)#show ms digitmap command to check whether the SIP
number list has been configured, and if yes, the list name.
4. Use the ZXAN(config-msag)#sip user add command to enter the attributes of the users
to be configured one by one. Boards can be added in batches.
Examples
The following example shows how to add three SIP users on slot 2:
ZXAN(config-msag)#sip user add 2 begin-index 1 num 3 19811300 password zte digitmapname
sipdm authUsername 1981130 begin-no 0 type 2
Related Commands
53.1.34 sip user modify
53.1.33 sip user del
53-31
Function
This command deletes SIP users.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To delete SIP users, do as follows:
l Use the ZXAN(config-msag)#show ms sip user 2 command to query the SIP users in
the slot.
l Use the ZXAN(config-msag)#sip user del command to delete SIP users.
Examples
The following example shows how to delete three users from index 1 in slot 2:
Related Commands
53.1.32 sip user add
53-32
Function
This command modifies the attributes of an SIP user.
Parameters
number4 1–64
number5 1–64
number6 1–500
name1 -
name2 -
number7 0–15
number8 0–2
name3 -
name4 -
number9 0–1
number10 0–1
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To modify the SIP user information, do as follows:
1. Use the ZXAN(config-msag)#show ms sip user 2 command to query the SIP user
attributes.
2. Use the ZXAN(config-msag)#sip user modify 2 ? command to modify attributes in
batches.
53-33
Examples
The following example shows how to modify the user password to ptg:
ZXAN(config-msag)#sip user modify 2 begin-index 1 num 3 password ptg
Related Commands
53.1.32 sip user add
53.1.33 sip user del
53.1.11 show msag sip user
Function
This command adds a user agent, whose function is similar to the MG in the H248 protocol.
Parameters
number1 MG ID 1–1
53-34
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To configure SIP services, configure the user agent first and then configure the VoIP
interface. If the VoIP interface is configured first, the UA will fail to obtain the IP address
and the configuration will fail.
Examples
The following example shows how to add a user agent, whose domain name is
10.63.198.252:
Related Commands
53.1.37 sip user-agent modify
53.1.36 sip user-agent del
53-35
Function
This command deletes an SIP agent.
Parameters
number1 MG ID 1–10
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To delete an SIP agent, do as follows:
1. Use the ZXAN(config-msag)#show msag sip user-agent command to query the SIP
agent information.
2. Use the ZXAN(config-msag)#sip user-agent del command to delete the SIP agent with
the specified number.
Examples
The following example shows how to delete the agent whose number is 1:
ZXAN(config-msag)#sip user-agent del 1
Related Commands
53.1.35 sip user-agent add
Function
This command modifies the attributes of an SIP agent.
53-36
Parameters
number1 MG ID 1–1
number2 1–4
number3 0–65535
name1 –
number4 1–4
number5 1–4
number6 1–4
name2 –
number7 0–1
number8 0–1
number9 0–255
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To modify an SIP agent, do as follows:
1. Use the ZXAN(config-msag)#show msag sip user-agent command to query the SIP
agent information.
2. Use the ZXAN(config-msag)#sip user-agent modify 1 ? command to modify the
attributes:
call-protect Call protect.
dns-domain-name DNS domain name.
dns-record-type DNS record type.
domain-name Domain name.
port
proxyindex1
proxyindex2
proxyindex3
proxyindex4
self-exchange Self exchange.
Examples
The following example shows how to modify the domain name of an SIP agent:
53-37
Related Commands
53.1.35 sip user-agent add
53.1.36 sip user-agent del
53.1.12 show msag sip user-agent
Function
This command adds user information.
Parameters
1 Type 1 -
2 Type 2 -
3 Type 3 -
Mode
Narrowband MSAG configuration mode
Usage Guidelines
The ZXAN(config-msag)#show ms sip user 2 command to used to query the SIP user
information. If the SIP user is not configured, configure it first.
The ZXAN(config-msag)#sip userid add command is used to add board user IDs in batches.
53-38
Examples
The following example shows how to add three user IDs from index 1 in slot 2 of the board:
ZXAN(config-msag)#sip userid add 2 begin-index 1 num 3 1981130 begin-no 0 type 2
Related Commands
53.1.39 sip userid del
Function
This command deletes an SIP user ID.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
The ZXAN(config-msag)#show ms sip user 2 command is used to query the SIP user
information.
The ZXAN(config-msag)#sip userid del command is used to delete board user IDs in
batches.
Examples
The following example shows how to delete an SIP user ID:
ZXAN(config-msag)#sip userid del 2 begin-index 1 num 3
Related Commands
53.1.38 sip userid add
53-39
Function
This command deletes the message stream data area of the internal SIP module and CALL
module.
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
The following example shows how to delete the message stream data area of the internal
SIP module and CALL module:
Examples
The following example shows how to delete the deletes the message stream data area of
the internal SIP module and CALL module
ZXAN(config-msag)#sipdebug flow-record
Related Commands
None
Function
This command releases the suspended data area of the SIP module. It is used for locating
faults and debugging.
Parameters
None
53-40
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to release the suspended data area of the SIP module:
ZXAN(config-msag)#sipdebug rel-suspend-res
Related Commands
None
Function
This command resets the SIP process. It is used to locate faults.
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
ZXAN(config-msag)#sipdebug reset
Related Commands
None
53-41
Function
This command signs in SIP users.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
Four sign-in modes are available: signing in all users, signing in users one by one, singing
in the agent group, and signing in a single ISDN user.
ZXAN(config-msag)#sipdebug sign-in ?
Examples
The following example shows how to sign in all users one by one:
ZXAN(config-msag)#sipdebug sign-in 0
Related Commands
53.1.44 sipdebug sign-out
53-42
Function
This command signs out SIP users.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
Four sign-out modes are available: signing out all users, signing out users one by one,
singing out the agent group, and signing out a single ISDN user.
ZXAN(config-msag)#sipdebug sign-out ?
Examples
The following example shows how to sign out all users one by one:
ZXAN(config-msag)#sipdebug sign-out 0
Related Commands
53.1.43 sipdebug sign-in
53-43
Function
This command adds an AS.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-44
Examples
The following example shows how to add an AS, whose number is 1, operating mode is
active/standby, and adaptation layer protocol type is IUA:
Related Commands
53.2.2 as del
53.2.3 as modify
53.2.13 show msag as
53.2.2 as del
Syntax
as del number1
Function
This command deletes an AS.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete an AS:
ZXAN(config-msag)# as del 1
Related Commands
53.2.1 as add
53.2.3 as modify
53-45
53.2.3 as modify
Syntax
as modify number1 [mode number2 ] [mode-value number3 ] [protocol number4 ]
Function
This command modifies an AS.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify AS 1. In this example, the operating mode is
set to active/standby, and the adaptation layer protocol type is set to IUA.
53-46
Related Commands
53.2.2 as del
53.2.1 as add
Function
This command associates an AS with an ASP.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to associate ASP 1 with AS 3:
Related Commands
53.2.5 asasp del
53-47
Function
This command deletes the association between an AS and an ASP.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the association between ASP 1 and AS 3:
ZXAN(config-masg)# asasp del 1 3
Related Commands
53.2.4 asasp add
53.2.14 show msag asasp
Function
This command deletes an ASP.
Parameters
Mode
Narrowband MSAG configuration mode
53-48
Usage Guidelines
None
Examples
The following example shows how to delete ASP 1:
Related Commands
asp add
asp modify
53-49
Function
This command modifies an ASP.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following examples how to modify the downstream protocol to IP for APS 1:
Related Commands
asp add
53-50
Function
This command adds a control port.
Parameters
Parameter Description Value
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a control port:
ZXAN(config-masg)# ctrlport add 2 1 info 0
Related Commands
53.2.9 ctrlport modify
53.2.8 ctrlport del
53.2.16 show msag ctrlport
53-51
Function
This command deletes a control port.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete a control port:
ZXAN(config-masg)# ctrlport del 2
Related Commands
53.2.7 ctrlport add
53.2.9 ctrlport modify
Function
The command modifies a control port.
Parameters
number2 0–1
number3 0–65535
number4 0–1
53-52
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify a control port:
ZXAN(config-masg)# ctrlport modify 2 port 1 info 0
Related Commands
53.2.7 ctrlport add
53.2.8 ctrlport del
Function
This command configures the attributes of an ISDN link.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the attributes of an ISDN link:
53-53
Related Commands
53.2.11 isdn dlink span add
53.2.12 isdn dlink span del
Function
This command adds an ISDN link.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
ZXAN(config-msag)#isdn dlink span add 3 1 1 400 1 link-number 1
53-54
Related Commands
The following example shows how to add an ISDN link:
53.2.12 isdn dlink span del
53.2.17 show msag isdn dlink attribute
Function
This command deletes an ISDN link.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete an ISDN link:
ZXAN(config-masg)# isdn dlink span del 1 number 1
Related Commands
53.2.11 isdn dlink span add
53.2.10 isdn dlink attribute modify
53.2.17 show msag isdn dlink attribute
53-55
Function
This command displays the information of an AS.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of an AS:
ZXAN(config-masg)# show msag as 1
Related Commands
53.2.1 as add
53.2.3 as modify
53.2.2 as del
Function
This command displays the correlated AS or ASP.
Parameters
Mode
Any mode except user mode
53-56
Usage Guidelines
None
Examples
The following example shows how to display the correlated AS of ASP 1:
Related Commands
53.2.4 asasp add
Function
This command displays the information of an ASP.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of an ASP.
Related Commands
asp add
asp modify
53-57
Function
This command displays the information of a control port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a control port:
ZXAN(config-masg)# show msag ctrlport ctrlid 2
Related Commands
53.2.7 ctrlport add
53.2.9 ctrlport modify
53-58
Function
This command displays the information of an ISDN link.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of an ISDN link:
ZXAN(config-msag)#show msag isdn dlink link 1
Related Commands
53.2.11 isdn dlink span add
53.2.12 isdn dlink span del
53-59
Function
This command displays the attributes of an ISDN link.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the attributes of an ISDN link:
ZXAN(config-masg)# show msag isdn dlink attribute link 1
Related Commands
53.2.11 isdn dlink span add
53.2.12 isdn dlink span del
Function
This command displays the termination ID of the trunk.
53-60
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the termination ID of the trunk:
ZXAN(config-msag)#show msag trunk terminationid 5 1
rack:1 shelf:1 slot:5
----------------------------------------------------
Index Mgid Terminationid
ZXAN(config-msag)#
Related Commands
53.8.2 trunk terminationid add
53.8.3 trunk terminationid del
Function
This command configures the data of an MGC.
53-61
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add an MGC:
Related Commands
53.3.6 mgc modify
53-62
Function
This command deletes an MGC.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete an MGC:
ZXAN(config-msag)#mgc del 1
Related Commands
53.3.1 mgc add
53.3.6 mgc modify
Function
This command adds an MD5 profile for an MGC.
53-63
Parameters
name3 Modulus -
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add the MD5 profile of an MGC. In this example, the
MD5 number is 2, the base is 2, and the initial key is VIP.
ZXAN(config-msag)#mgc md5-profile add 2 g 2 ki VIP
Related Commands
53.3.5 mgc md5-profile modify
53.3.4 mgc md5-profile del
53.3.11 show msag mgc md5-profile
Function
This command deletes the MD5 profile of an MGC.
Parameters
53-64
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete an MD5 profile:
ZXAN(config-msag)#mgc md5-profile del 2
Related Commands
53.3.3 mgc md5-profile add
53.3.5 mgc md5-profile modify
53.3.11 show msag mgc md5-profile
Function
This command modifies the MD5 profile of an MGC.
Parameters
number2 1–10
name1 -
name2 -
number3 1–256
name3 -
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-65
Examples
The following example shows how to modify the MD5 profile of an MGC. In this example,
the MD5 number is 2, the base is 2, and the initial key is VIP.
ZXAN(config-msag)#mgc md5-profile modify 2 g 2 ki VIP
Related Commands
53.3.3 mgc md5-profile add
53.3.4 mgc md5-profile del
53.3.11 show msag mgc md5-profile
Function
This command modifies the configuration of an MGC.
Parameters
ip_addr1 -
number2 1–255
number3 0–65535
name1 -
number4 0–1
number5 0–10
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the configuration of an MGC:
53-66
Related Commands
53.3.1 mgc add
Function
This command adds an MGC type.
Parameters
53-67
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add an MGC type:
ZXAN(config-msag)#mgc type add 1 aa 1 1 0 100 10 5 5
Related Commands
53.3.9 mgc type modify
53.3.8 mgc type del
53.3.12 show msag mgc type
Function
This command deletes an MGC type.
Parameters
53-68
l 10-NSN
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete an MGC type:
Related Commands
53.3.7 mgc type add
53.3.9 mgc type modify
Function
This command modifies the type of an MGC.
53-69
Parameters
53-70
number20 0–1
number21 0–1
number22 0–1
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the type of an MGC:
ZXAN(config-msag)#mgc type modify 1 description new
Related Commands
53.3.7 mgc type add
53.3.8 mgc type del
Function
This command displays the configuration of an MGC.
Parameters
Mode
Any mode except user mode
53-71
Usage Guidelines
None
Examples
The following example shows how to display the configuration of an MGC:
Related Commands
53.3.1 mgc add
Function
This command displays the information on the MD5 profile of the MGC.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
53-72
Examples
The following example shows how to display the information on the MD5 profile of the
MGC:
ZXAN(config-msag)#show ms mgc md5-profile 1
id:1
G:2
Ki:0123456789ABCDEF
mginfo:AB1061253242
PLength: 192
P:ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a
08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63
a3620ffffffffffffffff
-------------------------------------
1 rows are effected
Related Commands
53.3.3 mgc md5-profile add
53.3.4 mgc md5-profile del
53.3.5 mgc md5-profile modify
Function
This command displays the information of an MGC type.
Parameters
Parameter Description Value
53-73
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of an MGC type:
ZXAN(config-msag)#show msag mgc type mgctype 1
mgctype:1
descript:ZTE
maxtransinpkg: 3
userabnormalrpt:not support
queryuserstatus:query
heartbeat: 0
dmlong: 20
dmshort: 5
dmstart: 10
withtime:2
withdelay:0
pfstring:ZTE
userout:905
agout:908
heartid:0
oldMT:1
canclerror:2
sctpCookieEchoFormat: standard
sctpCheckSumFormat: CRC32
iuaDlciFormat: 0(1|tei)
iuaAdjustTei64: no
iuaAdjustPraTei: no
heartbeatenable: enable
wildcard: 0
-------------------------------------
1 rows are effected
Related Commands
53.3.7 mgc type add
53-74
53.4 MG Configuration
53.4.1 mg add
Syntax
mg add number1 number2 [{[protocol-type number3 ] [version number4 ] [encode-type number5
] [port number6 ] [transmit-lay number7 ] [transmit-protocol number8 ] [domain-name name1 ]
[information number9 ] [mgcid2 number10 ] [mgcid3 number11 ] [mgcid4 number12 ] }]
Function
This command adds a media gateway.
Parameters
53-75
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add an MG whose ID is 1 and the MGC1 ID is 1:
ZXAN(config-msag)#mg add 1 1
Related Commands
53.4.4 mg modify
53.4.3 mg del
53.4.6 show msag mg
53.4.2 mg capability
Syntax
mg capability number1 [{[self-exchange number2 ] [protect-call number3 ] [fax-pri1 number4
] [fax-pri2 number5 ] [subsuspendrtp number6 ] [hotlinewithspace number7 ] [2833type numb
er8 ] [rtp-threshold number9 ] [congest-time number10 ] [congest-tone number11 ] [signal-tos
number12 ] [pstn-voice-tos number13 ] [pstn-fax-tos number14 ] [pstn-modem-tos number15 ]
[pstn-data-tos number16 ] [isdn-voice-tos number17 ] [isdn-fax-tos number18 ] [isdn-modem-tos
number19 ] [isdn-data-tos number20 ] [ring-profile number21 ] [tone-profile number22 ] [flash-
profile number23 ] [disasterprot number24 ] [matchtype number25 ] [LatencyMode number26 ]
[Sdmf-to-Mdmf number27 ] }]
Function
This command modifies the capability of an MG.
Parameters
number2 0–1
number3 0–1
number4 0–2
number5 0–2
number6 1–2
53-76
number7 0–2
number8 0–2
number9 1–100
number10 10–20
number11 0–0
number12 0–7
number13 0–7
number14 0–7
number15 0–7
number16 0–7
number17 0–7
number18 0–7
number19 0–7
number20 0–7
number21 1–255
number22 1–255
number23 1–255
number24 0–1
number25 0–2
number26 0–1
number27 0–1
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the capability of an MG:
ZXAN(config-msag)#mg capability 1 2833type 1
Related Commands
show msag mg-capability
53-77
53.4.3 mg del
Syntax
mg del number1
Function
This command deletes an MG.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete an MG:
ZXAN(config-msag)#mg del 1
Related Commands
53.4.1 mg add
53.4.4 mg modify
53.4.4 mg modify
Syntax
mg modify number1 number2 [{[protocol-type number3 ] [version number4 ] [encode-type nu
mber5 ] [port number6 ] [transmit-lay number7 ] [transmit-protocol number8 ] [domain-name
name1 ] [information number9 ] [mgcid2 number10 ] [mgcid3 number11 ] [mgcid4 number12 ] }]
[curmgc number13 ]
Function
This command modifies an MG.
53-78
Parameters
number4 1–2
number5 1–2
number6 0–65535
number7 1–2
number8 1–2
name1 -
number9 0–1
number10 0–12
number11 0–12
number12 0–12
number13 1–4
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example show how to modify the MG ID to 1, MGC1 ID to 2, domain name
of the gateway to VIP, and protocol encapsulation format to text:
Related Commands
53.4.1 mg add
53.4.3 mg del
53.4.6 show msag mg
53-79
53.4.5 mg parameter
Syntax
mg parameter number1 {[max-transaction-number number2 ] [sdpcho number3 ] [retransmit-
count number4 ] [restart-delay number5 ] [min-retransmit-interval number6 ] [link-kept-time
number7 ] [pend-time number8 ] [pend-count number9 ] [keep-response-time number10 ] [min-
transactionid number11 ] [max-transactionid number12 ] }
Function
This command modifies the parameters of an MG.
Parameters
53-80
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how modify the duration (s) when a MGC response is kept
to 2 s:
ZXAN(config-msag)#mg parameter 1 keep-response-time 2
Related Commands
53.4.8 show msag mg parameter
Function
This command displays the configuration of an MG.
Parameters
number1 MG ID 1–255
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of an MG:
ZXAN(config-msag)#show msag mg mgid 1
the base attribute of MG:
protype:H248
version:1
encodetpr:TEXT
53-81
mgport:2944
translay:IP
transpro:UDP
domname:
mginfo:0
mgcid1:1
mgcid2:0
mgcid3:0
mgcid4:0
curmgc:0
-------------------------------------
1 rows are effected
Related Commands
53.4.1 mg add
53.4.3 mg del
53.4.4 mg modify
Function
This command displays the capability of an MG.
Parameters
number1 MG ID 1–255
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the capability of an MG:
ZXAN(config-msag)#show msag mg-capability mgid 1
the capability of MG:
53-82
selfexchange:disable
protectcall:disable
faxpri1:VBD
faxpri2:T38
subsuspendrtp:SUB
hotlinewithspace:With Space
2833type:RTP
rtpthreshold:95
congesttime:10
congesttone:0
signaldbtos:0
pstnvoicetos:0
pstnfaxtos:0
pstnmodemtos:0
pstndatatos:0
isdnvoicetos:0
isdnfaxtos:0
isdnmodemtos:0
isdndatatos:0
ringprofile:1
toneprofile:1
flashprofile:1
matchtype:default
disasterprot:disable
latencyMode:Nomal Delay
Sdmf-to-Mdmf:disable
-------------------------------------
1 rows are effected
Related Commands
53.4.2 mg capability
Function
This command displays the parameters of an MG.
53-83
Parameters
number1 MG ID 1–255
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the parameters of an MG:
Related Commands
53.4.5 mg parameter
53-84
Function
This command displays the attributes of narrowband user circuits.
Parameters
number3 1–23
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the attributes of narrowband user circuits:
ZXAN(config-msag)#show msag slc attribute 16 begin-index 1 num 2
---------------------------------------------------------
rack:1 shelf:1 slot:16 index:1
default-event:HANG OFF
fax-mode:T.38
user-mode:H248
qovs-profile:0
current-service:IDLE
cid-type:FSK
impendance-type:600
user-class:NORMAL
echo-canceller-enable:DEFAULT
packet2pcm-gain:0
pcm2packet-gain:0
lowpower:ENABLE
feed-current:25mA
vad:DISABLE
---------------------------------------------------------
rack:1 shelf:1 slot:16 index:2
default-event:HANG OFF
53-85
fax-mode:T.38
user-mode:H248
qovs-profile:0
current-service:IDLE
cid-type:FSK
impendance-type:600
user-class:NORMAL
echo-canceller-enable:DEFAULT
packet2pcm-gain:0
pcm2packet-gain:0
lowpower:ENABLE
feed-current:25mA
vad:DISABLE
Related Commands
53.5.6 slc attribute modify
Function
This command displays the self-switching numbers.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
53-86
Examples
The following example shows how to display the self-switching numbers:
ZXAN(config-msag)#show msag slc phone-number 16
Index phone-number
1 233566
2 233567
3 233568
4 233569
5 233570
6 233571
7 233572
8 233573
9 233574
10 233575
11 233576
12 233577
13 233578
14 233579
15 233580
16 233581
17 233582
18 233583
19 233584
20 233585
21 233586
22 233587
23 233588
24 233589
25 233590
26 233591
27 233592
28 233593
29 233594
30 233595
31 233596
32 233597
33 233598
34 233599
35 233600
36 233601
37 233602
38 233603
39 233604
40 233605
53-87
41 233606
42 233607
43 233608
44 233609
45 233610
46 233611
47 233612
48 233613
49 233614
50 233615
51 233616
52 233617
53 233618
54 233619
55 233620
56 233621
57 233622
58 233623
59 233624
60 233625
61 233626
62 233627
63 233628
64 233629
Related Commands
53.5.10 slc phone-number modify
Function
This command displays the SLC circuit status.
53-88
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the SLC circuit status:
ZXAN(config-msag)#show msag slc status 16
rack:1 shelf:1 slot:16
idle-num:64 busy-num:0 block-num:0
------------------------------------------------------------
Index Status
1 IDLE
2 IDLE
3 IDLE
4 IDLE
5 IDLE
6 IDLE
7 IDLE
8 IDLE
9 IDLE
10 IDLE
11 IDLE
12 IDLE
13 IDLE
14 IDLE
15 IDLE
16 IDLE
17 IDLE
18 IDLE
19 IDLE
20 IDLE
53-89
21 IDLE
22 IDLE
23 IDLE
24 IDLE
25 IDLE
26 IDLE
27 IDLE
28 IDLE
29 IDLE
30 IDLE
31 IDLE
32 IDLE
33 IDLE
34 IDLE
35 IDLE
36 IDLE
37 IDLE
38 IDLE
39 IDLE
40 IDLE
41 IDLE
42 IDLE
43 IDLE
44 IDLE
45 IDLE
46 IDLE
47 IDLE
48 IDLE
49 IDLE
50 IDLE
51 IDLE
52 IDLE
53 IDLE
54 IDLE
55 IDLE
56 IDLE
57 IDLE
58 IDLE
59 IDLE
60 IDLE
61 IDLE
62 IDLE
63 IDLE
64 IDLE
53-90
Related Commands
None
Function
This command displays the termination IDs of user circuits.
Parameters
Parameter Description Value
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the termination IDs of user circuits:
ZXAN(config-msag)#show ms slc terminationid 16
rack:1 shelf:1 slot:16
----------------------------------------------------
Index Mgid Terminationid
1 1 USER000
2 1 USER001
3 1 USER002
4 1 USER003
5 1 USER004
6 1 USER005
7 1 USER006
8 1 USER007
53-91
9 1 USER008
10 1 USER009
11 1 USER010
12 1 USER011
13 1 USER012
14 1 USER013
15 1 USER014
16 1 USER015
17 1 USER016
18 1 USER017
19 1 USER018
20 1 USER019
21 1 USER020
22 1 USER021
23 1 USER022
24 1 USER023
25 1 USER024
26 1 USER025
27 1 USER026
28 1 USER027
29 1 USER028
30 1 USER029
31 1 USER030
32 1 USER031
33 1 USER032
34 1 USER033
35 1 USER034
36 1 USER035
37 1 USER036
38 1 USER037
39 1 USER038
40 1 USER039
41 1 USER040
42 1 USER041
43 1 USER042
44 1 USER043
45 1 USER044
46 1 USER045
47 1 USER046
48 1 USER047
49 1 USER048
50 1 USER049
51 1 USER050
52 1 USER051
53 1 USER052
53-92
54 1 USER053
55 1 USER054
56 1 USER055
57 1 USER056
58 1 USER057
59 1 USER058
60 1 USER059
61 1 USER060
62 1 USER061
63 1 USER062
64 1 USER063
Related Commands
53.5.13 slc terminationid add
53.5.14 slc terminationid del
Function
This command displays the user circuit wildcard.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the user circuit wildcard:
ZXAN(config-msag)#show msag slc wildcard 6
rack:1shelf:1slot:6
53-93
--------------------------------------------------
Terminationid
Related Commands
None
Function
This command modifies the attributes of narrowband user circuits.
Parameters
53-94
rtp-change -
modify -
number6 0–13
number7 0–5
fsk_v23 -
etsi -
vip -
disable -
number8 -20 to 20
number9 -20 to 20
number10 0–1
45 -
53-95
-1_DB -
-2_DB AD gain, 0 dB -
-3_DB -
-4_DB AD gain, 0 dB -
-5_DB -
-6_DB AD gain, 0 dB -
-7_DB -
+1_DB AD gain, 0 dB -
+2_DB -
+3_DB -
-3.5_DB -
-8_DB AD gain, 0 dB -
-9_DB -
-10_DB -
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the attributes of narrowband user circuits:
ZXAN(config-msag)#slc attribute modify 16 begin-index 1 num 2 fax-modem 1
Related Commands
53.5.1 show msag slc attribute
Function
This command blocks SLC circuits.
53-96
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to block two SLC circuits in slot 3. In this example, the
start circuit number is 1.
Related Commands
53.5.15 slc unblock
Function
This command sets high impedance for narrowband user circuits.
Parameters
53-97
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set high impedance for narrowband user circuits:
Related Commands
53.5.16 slc unhighimpedance
Function
This command deletes self-switching numbers.
Parameters
Mode
Narrowband MSAG configuration mode
53-98
Usage Guidelines
None
Examples
The following example shows how to delete self-switching numbers:
ZXAN(config-msag)#slc phone-number del 16
Related Commands
53.5.10 slc phone-number modify
53.5.2 show msag slc phone-number
Function
This command modifies self-switching numbers.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify self-switching numbers:
ZXAN(config-msag)#slc phone-number modify 16 begin-phone-number 233566
53-99
Related Commands
53.5.9 slc phone-number del
53.5.2 show msag slc phone-number
Function
This command configures a snooper.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure a snooper:
ZXAN(config-msag)#slc snooper add 16 1 10.63.198.153 20480 10.63.198.153 20000
Related Commands
53.5.12 slc snooper del
show msag slc snooper
53-100
Function
This command deletes snoopers.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete snoopers:
ZXAN(config-msag)#slc snooper del 16 1
Related Commands
53.5.11 slc snooper add
show msag slc snooper
Function
This command adds the termination ID of a user circuit.
53-101
Parameters
2 Type -
3 Type -
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add the termination ID of a user circuit:
ZXAN(config-msag)#slc terminationid add 16 begin-index 1 num 64 USER type 3
digit-length 3 begin-no 0 1
Related Commands
53.5.14 slc terminationid del
53.5.4 show msag slc terminationid
Function
This command deletes the termination IDs of user circuits.
53-102
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the termination IDs of two user circuits in slot
3. In this example, the start circuit number is 1.
ZXAN(config-msag)#slc terminationid del 16 begin-index 1 num 64
Related Commands
53.5.13 slc terminationid add
53.5.4 show msag slc terminationid
Function
This command unblocks SLC circuits.
Parameters
53-103
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to unblock two SLC circuits in slot 3. In this example,
the start circuit number is 1.
Related Commands
53.5.7 slc block
Function
This command removes the high impedance of narrowband user circuits.
Parameters
Mode
Narrowband MSAG configuration mode
53-104
Usage Guidelines
None
Examples
The following example shows how to remove the high impedance of narrowband user
circuits:
ZXAN(config-msag)#slc unhighimpredance 16 begin-index 1 num 3
Related Commands
53.5.8 slc highimpedance
Function
This command modifies the narrowband RTP circuit attributes.
Parameters
number5 1–1440
number6 1–1440
number7 0–65535
number8 0–65535
number9 0–65535
53-105
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the narrowband RTP circuit attributes. In this
example, the slot number is changed to 8 and subcard number is changed to 1.
Related Commands
53.6.11 show msag rtp attribute
Function
This command blocks an RTP circuit.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-106
Examples
The following example shows how to block the RTP circuit whose slot number is 10 and
subcard number is 1:
ZXAN(config-msag)#rtp block 10 1
Related Commands
53.6.5 rtp unblock
Function
This command adds termination IDs for RTP circuits.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-107
Examples
The following example shows how to add termination IDs for RTP circuits:
ZXAN(config-msag)#rtp terminationid add RTP 64 type 3
Related Commands
53.6.4 rtp terminationid del
53.6.23 show msag rtp terminationid
Function
This command deletes the termination IDs of RTP circuits.
Parameters
Mode
Narrowband MSAG configuration mode
53-108
Usage Guidelines
None
Examples
The following example shows how to delete termination IDs of RTP circuits:
Related Commands
53.6.3 rtp terminationid add
Function
This command unblocks an RTP circuit.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-109
Examples
The following example shows how to unblock the RTP circuit whose slot number is 10 and
subcard number is 1:
ZXAN(config-msag)#rtp unblock 10 1
Related Commands
53.6.2 rtp block
Function
This command configures the RIP parameters of the VPWL card.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-110
Examples
The following example shows how to configure the RIP parameters of the VPWL card:
ZXAN(config-msag)#rtp vpwl-parameter dtmf dtmfpayload 100
Related Commands
53.6.14 show msag rtp parameter vpwl dtmf
Function
This command configures the RTP parameters of the VPWL card.
Parameters
53-111
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the RTP parameters of the VPWL card:
ZXAN(config-msag)#rtp vpwl-parameter ec ecenable 1
Related Commands
53.6.15 show msag rtp parameter vpwl ec
Function
This command configures the RTP parameters of the VPWL card.
Parameters
53-112
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the RTP parameters of the VPWL card:
Related Commands
53.6.16 show msag rtp parameter vpwl fax-modem
Function
This command configures the rxhandle parameters of the VPWL card.
53-113
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the rxhandle parameters of the VPWL car:
ZXAN(config-msag)#rtp vpwl-parameter rxhandle maxdelay 100
Related Commands
53.6.17 show msag rtp parameter vpwl rxhandle
Function
This command configures the RTP parameters of the VPWL card.
Parameters
53-114
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the RTP parameters of the VPWL card:
ZXAN(config-msag)#rtp vpwl-parameter voice dcfilter 0
Related Commands
53.6.18 show msag rtp parameter vpwl voice
53-115
Function
This command displays the information of the narrowband RTP circuit attributes.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of the narrowband RTP circuit
attributes:
ZXAN(config-msag)#show msag rtp attribute 10 1 begin-index 1 num 2
circuit: 1
muxtype: 0
rptimmin: 0
rptimmax: 10
pkg: 3072
--------------------------------
circuit: 2
muxtype: 0
rptimmin: 0
rptimmax: 10
pkg: 3072
--------------------------------
Related Commands
53.6.1 rtp attribute modify
53-116
Function
This command displays the IPS terminal ID.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the IPS terminal ID:
ZXAN(config-msag)#show ms rtp bind
seq status codetype mastersln slavesln
1 IDLE IDLE IDLE IDLE
2 IDLE IDLE IDLE IDLE
3 IDLE IDLE IDLE IDLE
4 IDLE IDLE IDLE IDLE
5 IDLE IDLE IDLE IDLE
6 IDLE IDLE IDLE IDLE
7 IDLE IDLE IDLE IDLE
8 IDLE IDLE IDLE IDLE
9 IDLE IDLE IDLE IDLE
10 IDLE IDLE IDLE IDLE
11 IDLE IDLE IDLE IDLE
12 IDLE IDLE IDLE IDLE
13 IDLE IDLE IDLE IDLE
14 IDLE IDLE IDLE IDLE
15 IDLE IDLE IDLE IDLE
16 IDLE IDLE IDLE IDLE
17 IDLE IDLE IDLE IDLE
18 IDLE IDLE IDLE IDLE
53-117
Related Commands
None
Function
This command displays the language coding type of the RTP resource.
Parameters
53-118
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the language coding type of the RTP
resource:
Related Commands
None
Function
This command displays the RTP parameters of the VPWL card.
Parameters
None
53-119
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the RTP parameters of the VPWL card:
ZXAN(config-msag)#showmsag rtpparameter
dtmfrlmod:RedRFC2833
dtmfpayload:97
dtmfredundant:96
-------------------------------------
1rows areeffected
Related Commands
Function
This command displays the information about the RTP parameters of the VPWL card.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the RTP parameters of
the VPWL card:
ZXAN(config-msag)#show msag rtp parameter vpwl ec
53-120
ecenable:enable
ectaillen:64 ms
ectxf:not-linear
nlpaggress:0
-------------------------------------
1 rows are effected
Related Commands
53.6.7 rtp vpwl-parameter ec
Function
This command displays the information about the RTP parameters of the VPWL card.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the RTP parameters of
the VPWL card:
ZXAN(config-msag)#show ms rtp parameter vpwl fax-modem
g711redundancy:0
faxmode:SS control
modemmode:SS control
ecmenable:allow ecm
faxpage:2
t30message:5
speedlim:14400bps
tcfprocedure:Procedure 2
faxswtime:5
53-121
-------------------------------------
1 rows are effected
Related Commands
53.6.8 rtp vpwl-parameter fax-modem
Function
This command displays the information about the RIP parameters of the VPWL card.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the RIP parameters of
the VPWL card:
ZXAN(config-msag)#show msag rtp parameter vpwl rxhandle
mindelay:10
maxdelay:80
nomdelay:40
-------------------------------------
1 rows are effected
Related Commands
53.6.9 rtp vpwl-parameter rxhandle
53-122
Function
This command displays the information about the RTP parameters of the VPWL card.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the RTP parameters of
the VPWL card:
Related Commands
53.6.10 rtp vpwl-parameter voice
Function
This command displays the resource capacity of the VOIP card.
53-123
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the resource capacity of the VOIP card:
ZXAN(config-msag)#show ms rtp pincapability 10 1 1 9
Related Commands
None
Function
This command displays the RTP circuit status.
Parameters
53-124
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the RTP circuit status:
ZXAN(config-msag)#show msag rtp status 10 1 begin-index 1 num 1
rack:1 shelf:1 slot:10 subcard:1
idle-num:0 busy-num:0 block-num:0
-------------------------------------------------------
index status codetype
Related Commands
None
Function
This command displays the statistics of RTP circuit status traffic.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
53-125
Examples
The following example shows how to display the statistics of RTP circuit status traffic:
ZXAN(config-msag)#show msag rtp status-statistic rack 1
IPSSum IdleNum BusyNum BlockNum
256 256 0 0
Related Commands
None
Function
This command displays the subcard status of an RTP circuit subcard.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of an RTP circuit subcard:
53-126
Related Commands
None
Function
This command displays the termination IDs of RTP circuits.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the termination IDs of RTP circuits:
ZXAN(config-msag)#show msag rtp terminationid
seq mgid terminationid
1 1 RTP000
2 1 RTP001
3 1 RTP002
4 1 RTP003
5 1 RTP004
6 1 RTP005
7 1 RTP006
8 1 RTP007
9 1 RTP008
10 1 RTP009
11 1 RTP010
12 1 RTP011
13 1 RTP012
14 1 RTP013
53-127
15 1 RTP014
16 1 RTP015
17 1 RTP016
18 1 RTP017
19 1 RTP018
20 1 RTP019
21 1 RTP020
22 1 RTP021
23 1 RTP022
24 1 RTP023
25 1 RTP024
26 1 RTP025
27 1 RTP026
28 1 RTP027
29 1 RTP028
30 1 RTP029
31 1 RTP030
32 1 RTP031
33 1 RTP032
34 1 RTP033
35 1 RTP034
36 1 RTP035
37 1 RTP036
38 1 RTP037
39 1 RTP038
40 1 RTP039
41 1 RTP040
42 1 RTP041
43 1 RTP042
44 1 RTP043
45 1 RTP044
46 1 RTP045
47 1 RTP046
48 1 RTP047
49 1 RTP048
50 1 RTP049
51 1 RTP050
52 1 RTP051
53 1 RTP052
54 1 RTP053
55 1 RTP054
56 1 RTP055
57 1 RTP056
58 1 RTP057
59 1 RTP058
53-128
60 1 RTP059
61 1 RTP060
62 1 RTP061
63 1 RTP062
64 1 RTP063
Related Commands
53.6.3 rtp terminationid add
53.6.4 rtp terminationid del
Function
This command displays the RTP circuit wildcard.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the RTP circuit wildcard:
ZXAN(config-msag)#show msag rtp wildcard 10
RTP011003$
RTP011003*
2 rows are effected
Related Commands
None
53-129
Function
This command modifies the narrowband DSP circuit attributes.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the narrowband DSP circuit attributes:
ZXAN(config-msag)#dsp attribute modify 6 1 1
Related Commands
53.7.4 show msag dsp attribute
53-130
Function
This command blocks a DSP circuit.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to block a DSP circuit:
Related Commands
53.7.3 dsp unblock
53-131
Function
This command unblocks a DSP circuit.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to unblock a DSP circuit:
ZXAN(config-msag)#dsp unblock 6 1 begin-index 1 number 120
Related Commands
53.7.2 dsp block
53.7.6 show msag dsp status
Function
This command displays the narrowband DSP circuit attributes.
53-132
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the narrowband DSP circuit attributes:
ZXAN(config-msag)#show msag dsp attribute 6 1
rack:1
shelf:1
slot:6
dspno:1
dspkind:DTMF
Related Commands
53.7.1 dsp attribute modify
Function
This command the DSP status of a line card.
Parameters
53-133
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DSP status of a line card:
Related Commands
None
Function
This command displays the DSP circuit status.
Parameters
53-134
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DSP circuit status:
ZXAN(config-msag)#show msag dsp status 6 1
rack:1 shelf:1 slot:6 subcard:1
idle-num:120 busy-num:0 block-num:0
-------------------------------------------------------
circuit status
1 IDLE
2 IDLE
3 IDLE
4 IDLE
5 IDLE
6 IDLE
7 IDLE
8 IDLE
Related Commands
53.7.2 dsp block
Function
This command displays the termination ID of the trunk.
53-135
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the termination ID of the trunk:
ZXAN(config-msag)#show msag trunk terminationid 5 1
rack:1 shelf:1 slot:5
----------------------------------------------------
Index Mgid Terminationid
ZXAN(config-msag)#
Related Commands
53.8.2 trunk terminationid add
53.8.3 trunk terminationid del
Function
This command adds a termination ID for the trunk.
53-136
Parameters
number9 MG ID 1–255
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a termination ID for the trunk:
Related Commands
53.8.3 trunk terminationid del
53-137
Function
This command deletes the termination ID of the trunk.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the termination ID of the trunk:
ZXAN(config-msag)#trunk terminationid del 5 1
ZXAN(config-msag)#
Related Commands
53.8.2 trunk terminationid add
53.8.1 show msag trunk terminationid
Function
This command adds the configuration of an internal media route.
53-138
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to assign the relationship between the VoIP subcard 1
of the VoIP card in slot 10 and the MAPP subcard in slot 10, which point to network port 5
of MAPP internally and externally:
ZXAN(config-msag)#media-nat add 10 1 10 5 5 10.63.198.153 20000
Related Commands
53.9.2 media-nat del
53-139
Function
This command deletes the internal media route configuration.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the internal media route configuration
ZXAN(config-msag)#media-nat del vpwl-rack 1 vpwl-shelf 1 10 1
Related Commands
53.9.1 media-nat add
Function
This command displays the information of the internal media route.
Parameters
None
53-140
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of the internal media route:
ZXAN(config-msag)#show msag allnat
media-nat table:
voip-SPN: 1/1/10
nic-SPN: 1/1/10
outer-ipaddress:10.63.198.153
udp-port:20000
------------------------------
1 rows are effected
Related Commands
53.9.1 media-nat add
53.9.2 media-nat del
Function
This command modifies the global service capacity.
Parameters
53-141
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the global service capacity. In this example,
the number of digitmaps is 101:
ZXAN(config-msag)#global-capacity modify das-number 101
Related Commands
None
53.10.2 load-libdata
Syntax
load-libdata
Function
This command loads the service parameter library.
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to load the service parameter library:
53-142
ZXAN(config-msag)#load-libdata
Related Commands
None
Function
This command displays the global service capacity.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global service capacity:
Related Commands
53.10.1 global-capacity modify
53-143
Function
This command displays the VoIP route information.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VoIP route information:
ZXAN(config-msag)#show msag voip-ipaddr
mgid:1
ctrl-ip:10.63.198.153
ctrl-mask:255.255.255.0
media-ip:10.63.198.153
media-mask:255.255.255.0
route-mode:L3
-------------------------------------
1 rows are effected
Related Commands
53.10.5 voip interface add
53.10.6 voip interface del
53-144
Function
This command adds IP addresses of the VoIP interface.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add IP addresses of the VoIP interface:
ZXAN(config-msag)#voip interface add ctrl-ip 10.63.198.153 ctrl-mask 255.255.255.0 media-ip 10.63.
Related Commands
53.10.6 voip interface del
Function
This command deletes the VoIP route information.
53-145
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the VoIP route information:
ZXAN(config-msag)#voip interface del ctrl-ip 10.63.198.153 media-ip 10.63.198.153
Related Commands
53.10.5 voip interface add
53.10.4 show msag voip-ipaddr
Function
This command adds a ring profile.
Parameters
53-146
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a ring profile:
Related Commands
53.11.3 ring profile modify
Function
This command restores the default ring parameter settings:
53-147
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to restore the default ring parameter settings:
ZXAN(config-msag)#ring profile loaddefault
Related Commands
None
Function
This command modifies a ring profile.
Parameters
number3 0–65535
number4 0–800
number5 0–800
number6 0–800
number7 0–800
number8 0–800
number9 0–800
53-148
number10 0–800
number11 0–800
number12 0–800
number13 0–800
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify a ring profile:
ZXAN(config-msag)# ring profile modify 1 1 off1 10
Related Commands
53.11.1 ring profile add
ring profile del
show msag ring profile
Function
This command displays the initial ring information.
Parameters
number1 MG ID 1–255
Mode
Any mode except user mode
Usage Guidelines
None
53-149
Examples
The following example shows how to display the initial ring information:
ZXAN(config-msag)#show msag ring mgid 1
mgid:1
immediaattr:1
immediaon:60
immediaoff:400
ringprofile:1
-------------------------------------
1 rows are effected
Related Commands
ring modify
Function
This command displays the fixed tone chip.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the fixed tone chip:
53-150
Related Commands
53.12.4 tone chip
Function
This command displays the fax event.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the fax event.
Related Commands
53.12.5 tone fax-event
53-151
Function
This command displays the information of a tone profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a tone profile:
ZXAN(config-msag)#show msag tone profile profileid 22 toneid 1
profileid:22
toneid:1
totaltime:1800
cadency1:180
cadency2:0
cadency3:0
cadency4:0
cadency5:0
cadency6:0
ts1:2
ts2:0
ts3:0
nexttoneid:0
complextoneId:0
priFre:425
priLev:162
secondfre:0
secondlev:0
53-152
-------------------------------------
Related Commands
53.12.6 tone profile add
Function
This command modifies the tone chip.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the tone chip:
Related Commands
53.12.1 show msag tone chip
53-153
Function
This command modifies the fax tone.
Parameters
53-154
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify a fax tone:
ZXAN(config-msag)#tone fax-event 1 t38-fax-end 1
Related Commands
53.12.2 show msag tone fax-event
Function
This command configures a tone profile.
Parameters
53-155
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure a tone profile:
Related Commands
53.12.8 tone profile modify
Function
This command deletes a tone profile.
53-156
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete a tone profile:
ZXAN(config-masg)#tone profile del 1 toneid 1
Related Commands
53.12.6 tone profile add
53.12.8 tone profile modify
53.12.3 show msag tone profile
Function
This command modifies a tone profile.
Parameters
number3 0–65535
number4 0–65535
53-157
number5 0–65535
number6 0–65535
number7 0–65535
number8 0–65535
number9 0–65535
number10 0–255
number11 0–255
number12 0–255
number13 0–1
number14 0–65535
number15 0–65535
number16 0–65535
number17 0–65535
number18 0–65535
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
This command modifies a tone profile.
Related Commands
53.12.6 tone profile add
53-158
Function
This command adds a flash configuration profile.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a flash configuration profile:
ZXAN(config-msag)#flash profile add 1 minleng 5
Related Commands
53.13.3 flash profile modify
53.13.2 flash profile del
53.13.4 show msag flash profile
53-159
Function
This command deletes a flash configuration profile.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete a flash configuration profile:
ZXAN(config-msag)#flash profile del 1
Related Commands
53.13.3 flash profile modify
53.13.1 flash profile add
Function
This command modifies a flash configuration profile.
53-160
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify a flash configuration profile:
ZXAN(config-msag)#flash profile modify 1 minleng 5
Related Commands
53.13.1 flash profile add
53.13.2 flash profile del
Function
This command displays the information about a flash configuration profile.
53-161
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about a flash configuration
profile:
Related Commands
53.13.1 flash profile add
Function
This command sets the NIC for call limit in busy hours.
53-162
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the NIC for call limit in busy hours:
ZXAN(config-msag)#call-limit nic ipsthruput 20000
Related Commands
53.14.2 call-limit on-off
53.14.3 call-limit upport
53.14.4 show msag call-limit nic
Function
This command sets the call limit switch.
Parameters
53-163
l 2: no
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the call limit switch:
ZXAN(config-msag)#call-limit on-off call-limit 1
Related Commands
53.14.1 call-limit nic
Function
This command sets the upstream port parameters for call limit in busy hours.
53-164
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the upstream port parameters for call limit in busy
hours:
Related Commands
53.14.1 call-limit nic
Function
This command displays the NIC configurations for call limit in busy hours.
53-165
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the NIC configurations for call limit in busy
hours:
ZXAN#show msag call-limit nic
ipsthruput:110
nicthruput:6000
Related Commands
53.14.1 call-limit nic
Function
This command displays the configuration of the switch for call limit in busy hours.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of the switch for call limit in
busy hours:
53-166
Related Commands
53.14.2 call-limit on-off
Function
This command displays the configuration of the upstream port for call limit in busy hours.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of the upstream port for call
limit in busy hours
53-167
Related Commands
all-limit upport
53.15 TS Configuration
53.15.1 show msag ts connect-information
Syntax
show msag ts connect-information number1 number2
Function
This command displays the timeslot connection information.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the timeslot connection information:
ZXAN(config-masg)# show msag ts connect-information 1 10
hw:1
ts:10
chw:0
cts:0
cunit:0
csunit:0
cindex:0
cunit:0
csunit:0
cindex:0
-------------------------------------------------
53-168
Related Commands
None
Function
This command displays the relation between an HW and an HW set.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the relation between an HW and an HW set:
ZXAN(config-masg)# show msag ts hw-map
hw:1
hwset:50
opp:0
-------------------------------------------------
hw:2
hwset:50
opp:0
--------------------------------------------------
……………………………..
…………………..
hw:64
hwset:22
opp:1
----------------------------------------------------
53-169
Related Commands
None
Function
This command queries the relation between hwset and unit.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query the relation between hwset and unit:
……………….
…………………
hwset:0
relation:0
-------------------------------------------------------------
13 rows are effected
Related Commands
None
53-170
Function
This command starts a 112 test.
Parameters
38 -
60 -
61 -
53-171
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to start a 112 test:
ZXAN(config-msag)#112 start 1 testItem 1 5 0
Related Commands
53.16.2 112 stop
53.16.4 show msag 112
Function
This command stops a 112 test.
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-172
Examples
The following example shows how to stop a 112 test:
ZXAN(config-masg)#112 stop
Related Commands
53.16.1 112 start
53.16.4 show msag 112
Function
This command stops a 112 test item.
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to stop a 112 test item:
ZXAN(config-masg)#112 stop-test
Related Commands
53.16.1 112 start
53-173
Function
This command checks the information of a 112 test.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following command shows how to check the information of a 112 test.
ZXAN(config-msag)#show msag 112
-------------------------------------------------------------------------------
Testing NO. : 1
Total Lines to test : 20
Status: finished
Accomplished testing lines and items
-------------------------------------------------------------------------------
(shelf-slot-index) TESTITEM RESULT
-------------------------------------------------------------------------------
53-174
Related Commands
53.16.1 112 start
53-175
Function
This command modifies the QoVS parameter set.
Parameters
number2 0–100
number3 0–1000
number4 0–1000
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the QoVS parameter set:
ZXAN(config-msag)#qovs profile modify 1 delay 50
Related Commands
53.17.2 show msag qovs profile
Function
This command displays the QoVS parameter set.
Parameters
Mode
Any mode except user mode
53-176
Usage Guidelines
None
Examples
The following example shows how to display the QoVS parameter set:
Related Commands
None
Function
This command adds a digit analysis table.
Parameters
53-177
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a digit analysis table, whose DAS number is and
name is ztedigitmap:
ZXAN(config-masg)#digitmap add 1 ztedigitmap digit-map zte mgid 1
Related Commands
53.18.2 digitmap del
53.18.3 show msag digitmap
Function
This command deletes a digit analysis table.
Parameters
Parameter Description Value
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
This following example shows how to delete a record whose DAS number is 1:
ZXAN(config-masg)# digitmap del 1
Related Commands
53.18.1 digitmap add
53-178
Function
This command displays the information of a digit analysis table.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a digit analysis table:
das:1
mgid:1
service-type:SelfExchange
das-name:ztedigitmap
digitmap:zte
-------------------------------------
1 rows are effected.
Related Commands
53.18.1 digitmap add
53-179
Function
This command deletes the recorded caller and called data .
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the recorded caller data:
ZXAN(config-msag)#caller-record delete 0
Related Commands
53.19.4 caller-record start
Function
This command sets the SLN information of the callee.
53-180
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the SLN information of the callee:
ZXAN(config-msag)#caller-record set-called rack 1 shelf 1 16
Related Commands
53.19.1 caller-record delete
53.19.4 caller-record start
53.19.5 caller-record stop
Function
This command sets the SLN information of the caller.
Parameters
Mode
Narrowband MSAG configuration mode
53-181
Usage Guidelines
None
Examples
The following example shows how to set the SLN information of the caller:
ZXAN(config-msag)#caller-record set-called 3
Related Commands
53.19.1 caller-record delete
Function
This command enables the calling number record function.
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the calling number record function:
ZXAN(config-msag)#caller-record start
Related Commands
53.19.5 caller-record stop
53-182
Function
This command disables the calling number record function.
Parameters
None
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to disable the calling number record function:
ZXAN(config-msag)#caller-record stop
Related Commands
53.19.4 caller-record start
Function
This command displays the information of the caller and callee.
Parameters
None
Mode
Any mode except user mode
53-183
Usage Guidelines
None
Examples
The following example shows how to display the information of the caller and callee:
ZXAN(config-msag)#show msag caller-record
---------------------------------------------------------
rack shelf slot
caller: 1 1 16
called: 1 1 16
Related Commands
53.19.4 caller-record start
53.19.5 caller-record stop
Function
This command establishes a DDN connection.
Parameters
53-184
Mode
Narrowband MSAG configuration mode
Usage Guidelines
If oprtype is set to 1, portname1 and portname2 must be entered. If oprtype is set to
2, CPNs of port1 and port2 must be entered. Depending on the port type, some physical
location parameters, such as timeslot, can be ignored.
Examples
The following example shows how to establish a DDN connection between port e17_1 and
port e17_2. In this example, the connection name is e17_12:
Related Commands
53.20.2 ddn conn del
53-185
Function
This command deletes a DDN connection.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the DDN connection named e17_1:
53-186
Related Commands
53.20.1 ddn conn add
53.20.10 show msag ddn conn
Function
This command conducts an E1 timeslot loopback at the TDM side.
Parameters
number4 E1 1–16
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to conduct an E1 timeslot loopback at the TDM side:
Related Commands
show msag ddn loopback
53-187
Function
This command sets the SHDSL chip loopback for DDN ports, including chip-level local
loopback and loopback at the TDM side.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the SHDSL chip loopback for DDN ports, including
chip-level local loopback and loopback at the TDM side:
ZXAN(config-msag)#loop-back 8 17 1
Related Commands
show msag loop-back
53-188
Function
This command modifies the DDN modem type.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the DDM modem to TAINET:
ZXAN(config-msag)#ddn modembrand 0
Related Commands
show msag ddn modembrand
Function
This command adds a DDN port.
53-189
Parameters
53-190
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add an E1 port in slot 15:
Related Commands
53.20.7 ddn port del
53-191
Function
This command deletes a DDN port.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete a DDN port:
ZXAN(config-msag)#ddn port del e17_1
Related Commands
53.20.6 ddn port add
53.20.14 show msag ddn port
Function
This command sets the vendor type of the modem connected to the port.
Parameters
53-192
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the vendor type of the modem connected to the
port to X3207D.
Related Commands
53.20.15 show msag ddn portmodemtype
Function
This command modifies the DDN operating mode.
Parameters
53-193
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the DDN operating mode:
ZXAN(config-msag)#dswx workmode 7 2
Related Commands
show msag ddn workmode
Function
This command displays the DDN connection.
Parameters
None
53-194
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DDN connection:
ZXAN(config-msag)#show msag ddn conn
connname:e17_12
rack1:1
shelf1:1
slot1:7
circuit1:1
ts1:1
portname1:e17_1
rack2:1
shelf2:1
slot2:7
circuit2:2
ts2:1
portname2:e17_2
-------------------------------------
Related Commands
53.20.1 ddn conn add
Function
This command displays the information about the E1 timeslot loopback.
53-195
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the E1 timeslot
loopback:
rack:1
shelf:1
slot:7
circuit:1
ts:1
loopback:local loop
-------------------------------------
rack:1
shelf:1
slot:7
circuit:2
ts:1
loopback:no loop
-------------------------------------
Related Commands
ddn loopback
53-196
Function
This command displays the loopback information of the SHDSL chip of the DDN port.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the loopback information of the SHDSL chip
of the DDN port:
Related Commands
None
Function
This command displays the modem type.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
53-197
Examples
The following example shows how to display the modem type:
ZXAN(config-msag)#show msag ddn modembrand
modembrand:TAINET
Related Commands
53.20.5 ddn modembrand
Function
This command displays the number of DDN ports.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of DDN ports:
ZXAN(config-msag)#show msag ddn port slot 7
rack:1
shelf:1
slot:7
circuit:1
ts:1
connflag:1
type:E1
53-198
subtype:20X64K
portname:e17_1
-------------------------------------
rack:1
shelf:1
slot:7
circuit:2
ts:1
connflag:1
type:E1
subtype:20X64K
portname:e17_2
-------------------------------------
Related Commands
53.20.6 ddn port add
53.20.7 ddn port del
Function
This command displays the vendor type of modem connected to the port.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the vendor type of modem connected to the
port:
ZXAN(config-msag)#show msag ddn portmodemtype
rackno:1
53-199
shelfno:1
slotno:7
portno:17
modemtype:X3207D
------------------------------
1 rows are effected
Related Commands
53.20.8 ddn portmodemtype
Function
This command displays the DDN operating mode.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the DDN operating mode:
ZXAN(config-msag)#show msag dswx workmode 7
rack:1
shelf:1
slot:7
workmode:2-E1(e1,e2,sh1,sh2:unframed)
Related Commands
ddn dswx workmode
53-200
Function
This command modifies the E1 attributes.
Parameters
number5 1–3
number6 0–2
number7 0–2
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the E1 attributes:
ZXAN(config-msag)#pcm attribution modify 7 1 loop-back 1
Related Commands
53.21.4 show msag pcm attribution
53-201
Function
This command blocks the E1 timeslots.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to block E1 timeslots:
Related Commands
53.21.3 pcm ts unblock
53-202
Function
This command unblocks E1 timeslots.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to unblock E1 timeslots:
ZXAN(config-msag)#pcm ts unblock 8 1 begin-ts 0 num 4
Related Commands
53.21.2 pcm ts block
Function
This command displays E1 attributes.
Parameters
53-203
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display E1 attributes.
ZXAN(config-msag)#show msag pcm attribution 7 1
linetype:HDB3
loopback:no loop
iscrc:CRC
Related Commands
pcm attribution mod
Function
This command displays the E1 status.
Parameters
Parameter Description Value
Mode
Any mode except user mode
Usage Guidelines
None
53-204
Examples
The following example shows how to display the E1 status.
ZXAN(config-msag)#show ms pcm status 8
rack:1 shelf:1 slot:8
----------------------------------------------------
e1no status
1 LOS
2 LOS
3 LOS
4 LOS
5 LOS
6 LOS
7 LOS
8 LOS
9 LOS
10 LOS
11 LOS
12 LOS
13 LOS
14 LOS
15 LOS
16 LOS
Related Commands
None
Function
This command displays the E1 timeslot status.
Parameters
53-205
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the E1 timeslot status:
ZXAN(config-msag)#show ms pcm ts-status 8 1
rack:1 shelf:1 slot:8 e1no:1
----------------------------------------------------
ts status
0 IDLE
1 IDLE
2 IDLE
3 IDLE
4 IDLE
5 IDLE
6 IDLE
7 IDLE
8 IDLE
9 IDLE
10 IDLE
11 IDLE
12 IDLE
13 IDLE
14 IDLE
15 IDLE
16 IDLE
17 IDLE
18 IDLE
19 IDLE
20 IDLE
21 IDLE
22 IDLE
23 IDLE
24 IDLE
25 IDLE
26 IDLE
27 IDLE
28 IDLE
29 IDLE
30 IDLE
53-206
31 IDLE
Related Commands
Function
This command displays the V5 E1 attributes.
Parameters
number1 1–23
number2 1–16
number3 1–5
number4 1–3
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the V5 E1 attributes:
ZXAN(config-msag)#show msag v5 e1attr 7 1
e1no:113
ts1:255
ts2:255
officeid:0
officetype:4
53-207
-------------------------------------
1 rows are effected
Related Commands
None
Function
This command displays the information of a V5 interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a V5 interface:
v5id:1
v5interid:80
v5type:2
v5variant:80
letype:11
v5instatus:Active
ccstatus:0
isselfexchange:0
-------------------------------------
1 rows are effected
53-208
Related Commands
53.22.12 v5 interface add
53.22.14 v5 interface del
Function
This command queries V5 isdnpra users.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query V5 isdnpra users:
TrunkSlot:4
TrunkE1no:6
DChannelTs:16
Lcci:80
-------------------------------------
1 rows are effected
Related Commands
53.22.19 v5 isdnprauser add
53-209
Function
This command displays the status of a logical V5 channel.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the status of a logical V5 channel:
ZXAN(config-msag)#show msag v5 lccistatus 80
interfaceid:80
lchnum:2
lcci:0
currlinkno:2
currts:16
dl_isdn:255
dl_pstn:255
dl_ctrl:255
dl_bcc:255
dl_link:255
dl_protect:255
dl_bakupprtct:0
-------------------------------------
interfaceid:80
lchnum:2
lcci:80
currlinkno:1
currts:16
53-210
dl_isdn:0
dl_pstn:0
dl_ctrl:0
dl_bcc:0
dl_link:0
dl_protect:0
dl_bakupprtct:255
-------------------------------------
2 rows are effected
Related Commands
53.22.23 v5 lcci add
53.22.24 v5 lcci del
Function
This command displays the information of a V5 interface.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a V5 interface:
ZXAN(config-msag)#show msag v5 link 80
linkno:1
e1no:2
v5id:1
odtsnode:4
53-211
lstatus:0
-------------------------------------
linkno:2
e1no:3
v5id:1
odtsnode:4
lstatus:0
-------------------------------------
linkno:3
e1no:4
v5id:1
odtsnode:4
lstatus:0
-------------------------------------
3 rows are effected
Related Commands
53.22.26 v5 link add
53.22.28 v5 link del
Function
This command queries V5 users.
Parameters
53-212
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query V5 PSTN users:
ZXAN(config-msag)#show msag v5 user 3
v5id:1
upslnsnode:260
upslnindex:1
portaddr:256
conntype:1
uptype:0
polarity:0
v51trksnd:0
v51trkinde:1
status:idle
-------------------------------------
.......
v5id:1
upslnsnode:260
upslnindex:8
portaddr:263
conntype:1
uptype:0
polarity:0
v51trksnd:0
v51trkinde:1
status:idle
-------------------------------------
Related Commands
v5 pstn user add
53-213
Function
This command displays a V5UA channel.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display a V5UA channel:
ZXAN(config-msag)#show msag v5ua clink link 1
Related Commands
53.22.42 v5ua link-span add
53.22.43 v5ua link-span del
Function
This command displays the bound V5 interfaces.
Parameters
None
Mode
Any mode except user mode
53-214
Usage Guidelines
None
Examples
The following example shows how to display the bound V5 interfaces:
Related Commands
53.22.44 v5ua v5-interface add
53.22.10 v5 anfault-set
Syntax
v5 anfault-set number1 number2 number3
Function
This command sets the V5 link timeslot faults.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the V5 link timeslot faults:
ZXAN(config-msag)#v5 anfault-set 1 1 15
Related Commands
None
53-215
Function
This command activates a V5 interface.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to activate a V5 interface:
ZXAN(config-msag)#v5 interface active 1
Related Commands
53.22.13 v5 interface deactive
Function
This command adds a V5 interface.
53-216
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a V5 interface:
ZXAN(config-msag)# v5 interface add 1 le-type 1 new-interfaceid 1 v5-variant 1
Related Commands
53.22.14 v5 interface del
53.22.2 show msag v5 interface
Function
This command deactivates a V5 interface.
Parameters
Mode
Narrowband MSAG configuration mode
53-217
Usage Guidelines
None
Examples
The following example shows how to deactivate a V5 interface:
v5 interface deactive 1
Related Commands
53.22.11 v5 interface active
Function
This command deletes a V5 interface.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete a V5 interface:
Related Commands
53.22.12 v5 interface add
53-218
Function
This command modifies a V5 interface.
Parameters
number2 0–16777215
number3 0–254
number4 0–11
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify a V5 interface:
ZXAN(config-msag)# v5 interface modify 1 le-type 1 new-interfaceid 1 v5-variant 1
Related Commands
53.22.12 v5 interface add
53.22.14 v5 interface del
53.22.2 show msag v5 interface
Function
This command activates a V5 ISDN port.
53-219
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to activate a V5 ISDN port:
ZXAN(config-msag)#v5 isdnport active 1 1
Related Commands
None
Function
This command blocks a V5 ISDN port.
Parameters
Mode
Narrowband MSAG configuration mode
53-220
Usage Guidelines
None
Examples
The following example shows how to block a V5 ISDN port:
Related Commands
53.22.18 v5 isdnport unblock
Function
This command unblocks a V5 ISDN port.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to unblock a V5 ISDN port:
Related Commands
53.22.17 v5 isdnport block
53-221
Function
This command adds V5 isdnpra users.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add V5 isdnpra users:
Related Commands
53.22.20 v5 isdnprauser del
53-222
Function
This command deletes V5 isdnpra users.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete V5 isdnpra users:
Related Commands
53.22.19 v5 isdnprauser add
Function
This command adds V5 isdnbra users.
53-223
Parameters
number10 0–65534
number11 1–64
number16 1–32
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add V5 ISDN users:
ZXAN(config-msag)#v5 isdnuser add 1 1 3 1 1 1 1 1 32 trunk-circuit 1 trunk-e1-no 1
Related Commands
53.22.22 v5 isdnuser del
53-224
Function
This command deletes V5 isdnbra users.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete V5 ISDN users:
Related Commands
53.22.21 v5 isdnuser add
53-225
Function
This command adds V5 logic.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add V5 logic:
ZXAN(config-msag)#v5 lcci add 1 1 1 15
Related Commands
53.22.24 v5 lcci del
Function
This command deletes V5 logic.
Parameters
53-226
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete V5 logic:
ZXAN(config-msag)#v5 lcci del 1 1
Related Commands
53.22.23 v5 lcci add
Function
This command switches the V5 logical channel.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to switch the V5 logical channel:
ZXAN(config-msag)#v5 lcci switch 1 1
Related Commands
53.22.23 v5 lcci add
53-227
Function
This command adds a V5 link.
Parameters
Parameter Description Value
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a V5 link:
ZXAN(config-msag)#v5 link add 1 1 3 1
Related Commands
53.22.28 v5 link del
53.22.29 v5 link modify
53.22.5 show msag v5 link
53-228
Function
This command unblocks a V5 link.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to unblock a V5 link:
ZXAN(config-msag)#v5 link block 1 1 0
Related Commands
53.22.30 v5 link unblock
Function
This command deletes a V5 link.
Parameters
53-229
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete a V5 link:
ZXAN(config-msag)#v5 link del 1 1
Related Commands
53.22.26 v5 link add
53.22.5 show msag v5 link
Function
This command modifies a V5 link.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify a V5 link:
53-230
Related Commands
53.22.26 v5 link add
53.22.28 v5 link del
53.22.5 show msag v5 link
Function
This command unblocks a V5 link.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to unblock a V5 link:
ZXAN(config-msag)#v5 link unblock 1 1
Related Commands
53.22.27 v5 link block
Function
This command verifies a V5 link.
53-231
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to verify a V5 link:
ZXAN(config-msag)#v5 link verify 1 1
Related Commands
None
53.22.32 v5 parameter-request
Syntax
v5 parameter-request number1
Function
This command requests the V5 port parameters.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to request V5 port parameters:
53-232
ZXAN(config-msag)#v5 parameter-request 1
Related Commands
None
53.22.33 v5 parameter-switch
Syntax
v5 parameter-switch number1 number2
Function
This command switches to new V5 parameters.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to switch to new V5 parameters:
ZXAN(config-msag)#v5 parameter-switch 1 1
Related Commands
None
Function
This command adds a V5 physical channel.
53-233
Parameters
Parameter Description Value
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a V5 physical channel:
ZXAN(config-msag)#v5 phychannel add 1 1 15 1
Related Commands
53.22.35 v5 phychannel del
Function
The command deletes a V5 physical channel.
Parameters
Parameter Description Value
Mode
Narrowband MSAG configuration mode
53-234
Usage Guidelines
None
Examples
The following example shows how to delete a V5 physical channel:
Related Commands
53.22.34 v5 phychannel add
53.22.36 v5 protocol-modify
Syntax
v5 protocol-modify number1 number2 [{[isdn-flag number3 ] [pstn-flag number4 ] [ctrl-flag num
ber5 ] [bcc-flag number6 ] [link-flag number7 ] [protect-flag number8 ] }]
Function
This command modifies the V5 protocol.
Parameters
53-235
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify the V5 protocol:
ZXAN(config-msag)#v5 protocol-modify 1 1 link-flag 1
Related Commands
None
Function
This command blocks a V5 PSTN port.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to block a V5 PSTN port:
53-236
Related Commands
53.22.38 v5 pstnport unblock
Function
This command unblocks a V5 PSTN port.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to unblock a V5 PSTN port:
ZXAN(config-msag)#v5 pstnport unblock 1 1
Related Commands
53.22.37 v5 pstnport block
Function
This command adds V5 PSTN users.
53-237
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to add V5 PSTN users:
ZXAN(config-msag)#v5 pstnuser add 1 1 3 1 1 32 trunk-circuit 1 trunk-e1-no 1 trunk-slot 4
Related Commands
53.22.40 v5 pstnuser del
Function
This command deletes V5 PSTN users.
53-238
Parameters
Parameter Description Value
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete V5 PSTN users:
ZXAN(config-msag)#v5 pstnuser del 1 1 begin-slot 3 1 l3-address 1
Related Commands
53.22.39 v5 pstnuser add
Function
This command modifies V5 PSTN users.
Parameters
Parameter Description Value
number3 1–5
53-239
number6 1–64
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to modify V5 PSTN users:
ZXAN(config-msag)#v5 pstnuser modify 1 1 3 1
Related Commands
None
Function
This command configures a V5UA channel.
Parameters
53-240
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure a V5UA channel:
ZXAN(config-msag)#v5ua link-span add 8 pcm-no 1 1 17 1 1
Related Commands
53.22.43 v5ua link-span del
Function
This command deletes a V5UA channel.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete a V5UA channel:
ZXAN(config-msag)#v5ua link-span del 1
Related Commands
53.22.42 v5ua link-span add
53-241
Function
This command binds a V5 interface.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
To provision V5UA services, configure the V5 service first and then bind the V5 interface
to V5UA.
Examples
The following example shows how to bind a V5 interface:
Related Commands
53.22.45 v5ua v5-interface del
Function
This command deletes the bound V5 interface.
Parameters
53-242
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the bound V5 interface.
ZXAN(config-msag)#v5ua v5-interface del 1
Related Commands
53.22.44 v5ua v5-interface add
Function
This command configures call optimization parameters.
Parameters
53-243
53-244
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to send H248 statistical information to the SS:
53-245
Related Commands
53.23.5 show msag call optimize
Function
This command blocks the conference circuit.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to block the conference circuit:
Related Commands
conference unblock
53-246
Function
This command configures the ISDN remote power function.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the ISDN remote power function:
Related Commands
show msag isdn uboard RemotePower
53-247
Function
This command manages a named timer.
Parameters
number1 0–50
number2 10–600
number3 10–50
number4 10–50
number5 10–100
number6 1–3
number7 10–500
number8 10–300
number9 0–1
number10 10–600
number11 0–1
number12 0–65535
number13 0–1
number14 0–1
number15 10–1000
number16 10–1000
53-248
number17 0–1
number18 0–1
number19 0–1
number20 0–1
number21 0–255
number22 0–255
number23 0–255
number24 0–255
number25 0–65535
number26 0–65535
number27 0–65535
number28 0–65535
number29 0–65535
number30 0–255
number31 0–255
number32 0–255
number33 0–255
number34 0–255
number35 0–255
number36 0–255
number37 0–255
number38 0–65535
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the SCTP verification code algorithm to crc32:
ZXAN(config-msag)#namedtimer modify CheckSumFormat 1
Related Commands
53.23.8 show msag namedtimer
53-249
53.23.4 service-control
Syntax
service-control [mgid number1 ] number2 opertype number3 [delay number4 ]
Function
This command configures service control.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure service control:
Related Commands
None
53-250
Function
This command displays the call optimization parameters.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the call optimization parameters:
ZXAN(config-msag)#show msag call optimize
open channel ack:send
play tone ack:send
subtract priority:not highter
max nomatch digits:8
ack transaction:not send
pend transaction:send
h248 statistic:send
force report hookoff:always send
force report hookon:always send
svrabnormal:not always
mgprotlerr:not send
mgcprotlerr:not send
mginsiderr:not send
hookofflimcycle:60
hookofflimblock:30
hookofflimunblock:20
callwaittone:down
-------------------------------------
1 rows are effected
Related Commands
53.23.1 call optimize
53-251
Function
This command displays the conference circuit status.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the conference circuit status:
ZXAN(config-msag)#show msag conference status 6 1
Related Commands
53.23.2 conference block
conference unblock
53-252
Function
This command displays the H.248 protocol link establishment status.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the H.248 protocol link establishment status:
ZXAN(config-msag)#show msag h248-status
-------------------------------------
H248-SS link status(H248Trkplink) :FAIL
-------------------------------------
Related Commands
None
53-253
Function
This command displays the configuration of the ISDN remote power function.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query the configuration of the ISDN remote power
function:
Related Commands
isdn uboard RemotePower
53-254
Function
This command displays the timer information.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the timer information:
53-255
Related Commands
53.23.3 namedtimer modify
Function
This command displays the information about a database table.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the R_SLC database
table:
ZXAN(config-msag)#show msag table-tuple R_SLC 1 1
TUPLENO : 1
UNIT : 7
SUNIT : 17
INDEX : 0
PKG : 0x00000000
STATUS : 0x00000007
DFTEVENT : 1
CHW : 0
CTS : 0
EXCHW1 : 0
EXCTS1 : 0
EXCHW2 : 0
EXCTS2 : 0
53-256
EXCHW3 : 0
EXCTS3 : 0
TLINE : 1
FAXMODE : 0
USERMODE : 0
QOVSID : 0
CURRSRV : 0
CIDTYPE : 2
IMTYPE : 0
PHONELEN : 0
USERCLASS : 0
ECENB : 0
PHONENUM : 0x00000000000000000000000000000000
PKTTOPCM : 0x00000000
PCMTOPKT : 0x00000000
MONITOREEU : 0
MONITOREES : 0
MONITOREEI : 0
MONITORERU : 0
MONITORERS : 0
MONITORERI : 0
UPORTEN : 0
LOOPBACK : 0
DIALMODE : 0
RETFLAG : 0
IPSUNIT : 255
IPSSUNIT : 255
IPSINDEX : 65535
LSL : 0x00000000
LOP : 0x00000000
FJUMP : 0x00000000
DLCWARN : 0
CFGINF875 : 0
BRDLOWPOW : 1
CURRENT : 0
BATPOWER : 0
AMFAD : 0
AMFDA : 0
DELAYMODE : 0
BATCUR : 0
VADENB : 0
SNPSRCIP : 0x00000000
SNPSRCPORT : 0
SNPDSTIP : 0x00000000
SNPDSTPORT : 0
53-257
SNPERSRCU : 0
SNPERSRCS : 0
SNPERSRCI : 0
SNPERSRCIP : 0x00000000
SNPERSPORT : 0
SNPERDSTIP : 0x00000000
SNPERDPORT : 0
SNOOPENB : 0
RESERVED : 0
---------------------------
The tuple number: 1
Related Commands
None
Function
This command displays the trace information of a user.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the trace information of a user:
ZXAN(config-msag)#show msag tdmtrace
rack: 1
shelf: 1
slot:16
index:1
PCM|
-------------------------------------
53-258
Related Commands
53.23.14 tdmtrace add
Function
This command displays the trace information of a user in a compact environment.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the trace information of a user in a compact
environment:
Related Commands
53.23.17 voiptrace add
53-259
Function
This command adds the media NAT of the snooped packets that are externally sent.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
53-260
Examples
The following example shows how to add the media NAT of the snooped packets that are
externally sent:
Related Commands
53.23.13 snoopee-nat del
Function
This command deletes the media NAT of the snooped packets that are externally sent.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the media NAT of the snooped packets that
are externally sent
ZXAN(config-msag)#snoopee-nat del 10 0
Related Commands
53.23.12 snoopee-nat add
53-261
Function
This command configures user traces to analyze whether the user RTP stream is
abnormal. It is used for VPWL non-compact environments. Only TDM Ttraces are
supported.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure user traces:
Related Commands
53.23.15 tdmtrace del
53-262
Function
This command deletes user traces. Only TDM traces are supported.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete user traces:
ZXAN(config-msag)#tdmtrace del 16 1 tracemark 1
Related Commands
53.23.14 tdmtrace add
Function
This command sets whether to enable the TDM trace switch.
Parameters
53-263
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set whether to enable the TDM trace switch:
ZXAN(config-msag)#tdmtrace set traceswitch 0
Related Commands
None
Function
This command sets the trace of a user. It is used for compact environments.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the trace of a user:
ZXAN(config-msag)#voiptrace add 10 1 tracemark 1
53-264
Related Commands
53.23.18 voiptrace del
53.23.11 show msag voiptrace
Function
This command deletes the TRACEs of a user. It is used for compact environments.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the TRACEs of a user
ZXAN(config-msag)#voiptrace del 10 1
Related Commands
53.23.17 voiptrace add
53.23.11 show msag voiptrace
53-265
Function
This command transmits TRACE streams to a remote server. It is used for compact
environments.
Parameters
Mode
Narrowband MSAG configuration mode
Usage Guidelines
None
Examples
The following example shows how to transmit TRACE streams to a remote server:
ZXAN(config-msag)#voiptrace set-server 10.63.198.154 2944 2934
Related Commands
None
53-266
54-1
Function
This command deletes entries in the IPv6 neighbor cache, except the entries which
corresponds to the local host.
Parameters
Mode
ZXAN#
Usage Guidelines
If no layer 3 interface is specified, this command deletes all entries in the neighbor cache
except those correspond to the IP address of local host.
If a layer 3 interface is specified, this command deletes all entries in neighbor cache for
the interface cache except those correspond to the IP address of the interface.
Examples
The following example shows how to delete entries in neighbor cache for the layer 3
interface:
ZXAN#clear nd-cache vlan 3
Related Commands
show nd6 cache
Function
This command assigns global IPv6 address or link-local address to an interface or
54-2
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)#
tunnel configuration mode
loopback interface mode
Usage Guidelines
In global IPv6 address configuration, you can specify the length of prefix. An interface
supports multiple IPv6 addresses.
The command no ipv6 address without parameters deletes all IPv6 addresses on an
interface.
In link-local address configuration:
l Usually, the link-local address is automatically generated. In certain scenario, you
need to configure it manually using this command.
l There is no need to specify the prefix length for an link-local address. The default
prefix length is 64.
l For an Ethernet interface, once its MAC address changes, the system generates a
link-local address automatically and replace the previous one, no matter the previous
one is configured manually or generated automatically.
Examples
The following example shows how to configure the global IPv6 address 3ffe::1 with prefix
length 64 on an interface:
ZXAN(config-if)#ipv6 address 3ffe::1/64
The following example shows how to configure an IPv6 link-local address on an interface:
ZXAN(config-if)#ipv6 address link-local fe80::1
Related Commands
show ipv6 interface
54-3
no ipv6 dad-attemps
Function
This command configures the attempt number of Duplicate Address Detection (DAD) on
an interface.
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
Usage Guidelines
In the DAD mechanism, an interface sends a Neighbor Solicitation (NS) packet to a
multicast address on the link. If there is no response Neighbor Advertisement (NA), the
address is available.
By default, an interface only sends one NA packet. In a poor network link, the response
NA may be lost, which leads to a unreliable DAD result.
You can configure the maximum numbers of NS packets to ensure a reliable DAD result.
Examples
The following example shows how to set the DAD attempt to 5:
ZXAN(config-if)#ipv6 dad-attemps 5
Related Commands
show ipv6 interface
debug ipv6 nd
54-4
no ipv6 enable
Function
This command enables IPv6 on an interface.
Parameters
None
Mode
VLAN interface mode: ZXAN(config-if-vlanNumber), TUNNEL configuration mode, and
null1 interface configuration mode
Usage Guidelines
By default, IPv6 is disabled on an interface . After the IPv6 is enabled on an interface, if the
protocol status is up after negotiation, an link-local address will be automatically configured
on the interface.
Examples
The following example displays how to enable IPv6 on an interface:
ZXAN(config-if)#ipv6 enable
Related Commands
show ipv6 interface
Function
This command configures load sharing policy for IPv6 packet forwarding.
54-5
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
Usage Guidelines
The IPv6 load sharing based on destination address ensures all packets with the same
destination address go on the same path. When there are only a few destination
addresses, the traffic uses on a few paths.
The IPv6 load sharing based on packet number makes the best use of bandwidth, but fails
to ensure the sequence of packets.
To implement IPv6 load sharing based on packet number, you need to configure
ip load-sharing per-packet on all interfaces, which can forward packets to the same
destination address. Otherwise, the load sharing is based on destination address.
Examples
The following example shows how to configure IPv6 load sharing based on destination
address:
ZXAN(config-if-vlan3)#ipv6 load-sharing per-destination
Related Commands
ipv6 route
Function
This command sets the MTU of IPv6 packets on an interface.
Use the no form command to restore the default MTU.
Parameters
54-6
Mode
vlan interface mode: ZXAN(config-if-vlanId)
tunnel configuration mode
Usage Guidelines
All interfaces have the default MTU, which is usually 1500 bytes. For tunnel interfaces,
the default MTY is 1476 bytes.
To avoid fragment and improve network performance, you can modify the MTU using this
command.
Examples
The following example shows how to set the MTU of IPv6 packets to 1300:
Related Commands
None
no ipv6 nd managed-config-flag
Function
This command sets the managed-config-flag, which is the M field in a packet, to 1.
Parameters
None
Mode
vlan interface mode: ZXAN(config-if-vlanId)
54-7
Usage Guidelines
When the M field is set to 1, which means hosts on the link use state auto-configuration to
obtain IPv6 addresses. If the M field is not set, that is 0, hosts on the link do not use state
auto-configuration to obtain IPv6 addresses.
Examples
The following example shows to how to set the M field to 1:
ZXAN(config-if)#ipv6 nd managed-config-flag
Related Commands
show ipv6 interface
no ipv6 nd other-config-flag
Function
This command sets the other-config-flag in a RA packet to 1.
Parameters
None
Mode
vlan interface mode: ZXAN(config-if-vlanId)
Usage Guidelines
The other-config-flag in an IPv6 route advertisement (RA) packet tells hosts on a link how
to obtain auto configuration information other than addresses. If the flag is configured, that
is 1, it means that all hosts use state auto-configuration to obtain other information.
54-8
Examples
The following example shows to how to set the other-config-flag to 1:
ZXAN(config-if)#ipv6 nd other-config-flag
Related Commands
show ipv6 interface
54.15 ipv6 nd suppress-ra
Function
This command configure the prefix option in a route advertisement (RA) packet on an
interface.
Use the no form command to delete the configuration.
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
tunnel configuration mode
loopback interface mode
Usage Guidelines
The command configures parameters of prefix option in a RA packet, including whether to
advertise the prefix or not.
By default, the prefix is advertised with a RA packet.
This command controls the present parameters of the prefix and creates new prefix option
for a RA packet.
54-9
Examples
The following example shows how to configure the prefix option:
ZXAN(config-if)# ipv6 nd prefix 400::/64 200 100 off-link no-autoconfig
Related Commands
show ipv6 interface
54.15 ipv6 nd suppress-ra
no ipv6 nd ra-interval
Function
This command sets the RA interval on an interface.
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
Usage Guidelines
A route interface sends RA packets periodically. When an interface sends RAs initially, it
sends three continuous RA packets with 16-second interval.
Examples
The following example shows how to set to RA interval to 200 seconds:
ZXAN(config-if-vlan3)#ipv6 nd ra-interval 200
54-10
Related Commands
show ipv6 interface
54.15 ipv6 nd suppress-ra
no ipv6 nd ra-lifetime
Function
This command sets the RA lifetime on an interface.
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
Usage Guidelines
None
Examples
The following example shows how to set to RA lifetime to 1000 seconds:
ZXAN(config-if-vlan3)#ipv6 nd ra-lifetime 1000
Related Commands
show ipv6 interface
54-11
Function
This command sets the reachable time for a neighbor.
Use the no form command to restore the default setting.
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
tunnel configuration mode
loopback interface mode
Usage Guidelines
Within the reachable time, a neighbor is considered to be reachable after it acknowledges
the reach.
When the reachable time is set, a route discovers the unreachable neighbors. A short
reachable time uses more bandwidth and processing time. It is recommended not to set
the short reachable time.
The reachable time is advertised with a RA packet. All nodes on the link use the same
reachable time. 0 means there is no reachable time set.
Examples
The following example shows how to set the reachable time to 1000 milliseconds:
ZXAN(config-if-vlan3)#ipv6 nd reachable-time 1000
Related Commands
show ipv6 interface
54.15 ipv6 nd suppress-ra
show nd6 cache
54-12
Function
This command sets the retransmit time in a RA.
Use the no form command to restore the default setting.
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
tunnel configuration mode
loopback interface mode
Usage Guidelines
The retransmit time is the time for retransmitting a NS packet. The time is used in address
resolution and neighbor detection algorithm.
Examples
The following example shows how to set the retransmit time to 10000 milliseconds:
ZXAN(config-if-vlan3)#ipv6 nd retransmit-time 10000
Related Commands
show ipv6 interface
54.15 ipv6 nd suppress-ra
54-13
Function
This command configures the aging time of ND stale state.
Parameters
Mode
ZXAN(config)#
Usage Guidelines
According the RFC specification, aging time of ND stale state is 24 hours.
Examples
The following example shows how to set the aging time of ND stale state to 20 hours:
ZXAN(config)#ipv6 nd stale-time 1200
Related Commands
54.25 show nd6
Function
The command disable a router to send RA packets.
Use the no form command to enable a router to send RA packets.
Parameters
None
Mode
vlan interface mode: ZXAN(config-if-vlanId)
tunnel configuration mode
loopback interface mode
54-14
Usage Guidelines
You can enable RA packets sending on an Ethernet interface but not a P2P interface.
By default, an interface neither sends RA nor responds to RS. It is recommended to enable
RA packets sending on an interface when the interface needs to process NS and send RA.
Examples
The following example shows how to enable a router to send RA packets:
Related Commands
show ipv6 interface
no ipv6 nd-proxy
Function
This command enables ND proxy on a VLAN interface.
Parameters
None
Mode
ZXAN(config-if-vlanId)#
Usage Guidelines
None
Examples
The following example shows how to enable ND proxy on a VLAN interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if-vlan2)#ipv6 nd-proxy
ZXAN(config-if-vlan2)#
54-15
Related Commands
54.22 show ipv6 interface
Function
This command configures a static IPv6 route.
Parameters
Parameter Description Value
Mode
ZXAN(config)#
Usage Guidelines
If the next hop address of a static route is a link local address, the interface name must be
configured as well.
For the same destination network and mask length, there can be only one static route. If
the interface is configured to "null1", the layer 3 data flow of the route is discarded.
The next hop address of a static route cannot be the same as that of this route.
The no command without next hop deletes the static route with matched destination
network and mask length. If there is no matched entry, no message appears.
The no command with next hop deletes the static route with matched destination network,
mask length, and next hop. If there is no matched entry, an error message appears.
Use the no form of this command to delete the route.
54-16
Examples
The following example shows how to configure a static IPv6 route with management
distance 100:
ZXAN(config)#ipv6 route 2000::0/60 3000::2 100
Related Commands
54.23 show ipv6 route
Function
This command enables fast reroute for IPv6 static route.
Parameters
None
Mode
ZXAN(config)#
Usage Guidelines
When fast reroute for IPv6 static route is enabled, the system swaps the route according
the active-backup state of routes.
Examples
The following example shows how to enable fast reroute for IPv6 static route:
ZXAN(config)#ipv6 route-static fast-reroute
Related Commands
54.23 show ipv6 route
54-17
Function
This command adds a static entry in the neighbor cache.
To delete the static entry, use nd6 delete or clear nd cache.
Parameters
Parameter Description Value
Mode
vlan interface mode: ZXAN(config-if-vlanId)
Usage Guidelines
This command can adds any address to the neighbor cache except the IP address of local
interface.
The state of a static entry is reachable. A static entry has higher priority than a dynamic
entry.
l If there is a dynamic entry with the same address, the static entry overwrites the
dynamic one.
l If there is a static entry with the same address, the dynamic entry learnt through NDP
is not added to the neighbor cache.
Examples
The following example shows how to add a static entry in neighbor cache:
ZXAN(config-if-vlan3)#nd6 add 4ffe::2 0001.0002.0003
Related Commands
show nd6 cache
clear nd cache
54.20 nd6 delete
54-18
Function
This command deletes a entry in the neighbor cache.
Parameters
Mode
vlan interface mode: ZXAN(config-if-vlanId)
Usage Guidelines
This command can delete static or dynamic entry from the neighbor cache except entries
corresponding to the IP address of local interface.
Examples
The following example shows how to delete a static entry from neighbor cache:
Related Commands
show nd6 cache
clear nd cache
54.19 nd6 add
54.21 ping6
Syntax
ping6 ipv6_addr1 [{[interface interface1 ] [num number1 ] [size number2 ] [timeout number3 ]
[limit number4 ] }]
Function
This command diagnoses the link to a destination.
54-19
Parameters
Mode
ZXAN>
ZXAN#
Usage Guidelines
The pnig6 command sends echo request packets to destination address and waits for the
echo reply packets.
The output of ping6 tells the reachability of a destination address.
Examples
The following example shows how to diagnoses the link to a destination:
ZXAN#ping6 3ffe::2 num 100 size 5000 timeout 2
Related Commands
54.27 trace6
54-20
Function
This command displays the information about IPv6 interface.
Parameters
Mode
All modes except user mode
Usage Guidelines
If no interface is specified, this command displays the information about all IPv6 interfaces.
Examples
The following example shows how to display the information about an IPv6 interface:
ZXAN#show ipv6 interface vlan 100
vlan100 [up/up]
IPv6 is enabled, Hardware is Ethernet
index 2 metric 1 mtu 1500
<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,MULTICAST>
ICMPv6 redirects replies are always sent
Bandwidth 1000000 kbits
DAD attemps number:1
ND reachable-time is 30000 milliseconds
1000::1000:1/64
fe80::2d0:d0ff:fe92:8012
Related Commands
54.4 ipv6 enable
Function
This command displays the IPv6 route information.
54-21
Parameters
Mode
All modes except user mode
Usage Guidelines
The route information can be displayed by protocol type.
Examples
The following example shows how to display the IPv6 route information with specified
destination network and mask length:.
ZXAN(config)#show ipv6 route eff1:1101::/32
Routing entry for eff1:1101::/32
Known via "static", distance 1, metric 0
Last update 00:00:26 ago
via 3ffe::101 inactive
Related Commands
54.17 ipv6 route
Function
This command displays the statistics information about IPv6 route according to route type.
54-22
Parameters
None
Mode
All modes except user mode
Usage Guidelines
The route type includes: direct-connected, static, RIP NG, OSPFv3 and, BGP+.
Examples
The following example shows how to display the statistics information about IPv6 route:
Related Commands
54.23 show ipv6 route
Function
This command displays IPv6 neighbor cache information.
Parameters
Mode
All modes except user mode
Usage Guidelines
The neighbor cache contains information about dynamic and static neighbor entries, and
routing entries corresponding to the IP address of the interface.
54-23
Examples
The following example shows how to diagnoses the link to a destination:
ZXAN#show nd6 cache
Address Link-Address Interface Age State
fe80::2d0:d0ff:fe11:aa55 00d0.d011.aa55 xgei_1/22 - Reachable
fe80::2d0:d0ff:fe11:aa55 00d0.d011.aa55 xgei_1/21 - Reachable
fe80::2d0:d0ff:fe11:aa55 00d0.d011.aa55 xgei_1/20 - Reachable
... ...
Related Commands
54.19 nd6 add
54.20 nd6 delete
54.26 telnet6
Syntax
telnet6 ipv6_addr1 [interface interface1 ]
Function
This command sets up a IPv6 telnet connection.
Parameters
Mode
ZXAN>
ZXAN#
Usage Guidelines
You can use this command to log in to a router or telnet server.
Examples
The following example shows how to set up a IPv6 telnet connection
54-24
Related Commands
1.32 who
20.60 show tcp brief
54.27 trace6
Syntax
trace6 ipv6_addr1 [{[max-ttl number1 ] [timeout number2 ] }]
Function
This command diagnoses the actual path to a destination.
Parameters
Mode
ZXAN>
ZXAN#
Usage Guidelines
The trace6 command sends packets to the destination address from TTL 1, three packets
on each TTL, and waits for the response from each hop.
The output of trace6 tells the actual path to a destination.
Examples
The following example shows how to diagnose the actual path to a destination.
ZXAN#trace6 5ffe::2
Related Commands
54.21 ping6
54-25
54-26
Function
This command configures the Address-Space entry in a VMAC flexible syntax profile.
Parameters
55-1
Mode
VMAC-profile interface mode
Usage Guidelines
This command configures the variable mode of a VMAC flexible syntax profile. Virtual
MAC addresses are created according to the entry settings.
The entry index is optional. If no index is specified in the command, the VMAC address
is increased in sequence. The VMAC addresses assigned to a port are increased in
sequence in the address space.
Examples
The following example shows how to configure the Address-Space entry in the VMAC
flexible syntax profile “aaa”. The width is set to 3 bits, meaning eight different virtual MAC
address can be assigned.
ZXAN(config)#virtual-mac flexible-syntax-profile aaa
ZXAN(config-vmac-prf)#add Address-Space width 3
Related Commands
55.7 show virtual-mac flexible-syntax-profile
Function
This command configures a variable entry (Circuit-Id) in a VMAC flexible syntax profile.
Parameters
chassis Chassis -
access-node Device ID -
onu ONU ID -
rack Rack -
frame Frame -
55-2
Mode
vmac-profile interface mode
Usage Guidelines
Use this command to configure the Circuit-Id variable in a VMAC flexible syntax profile.
This variable is used to generate MAC addresses.
index is an optional parameter. If no index is specified in the command, indexes in
ascending order are used.
Examples
The following example shows how to configure the Circuit-Id variable in a VMAX flexible
syntax profile with a name of “aaa”. In this example, the bit width is set to 3.
ZXAN(config)#virtual-mac flexible-syntax-profile aaa
ZXAN(config-vmac-prf)#add Circuit-Id access-node width 3
Related Commands
55.7 show virtual-mac flexible-syntax-profile
Function
This command configures the control byte entry (Ctrl-Byte) in a VMAC flexible syntax
profile.
Parameters
55-3
Mode
vmac-profile interface mode
Usage Guidelines
Use this command to configure the Ctrl-Byte variable in a VMAC flexible syntax profile.
This variable is used to generate MAC addresses.
index is an optional parameter. If no index is specified in the command, indexes in
ascending order are used.
Examples
The following example shows how to configure the Ctrl-Byte variable in a VMAC flexible
syntax profile with a name of “aaa”. In this example, the bit width is set to 3, and the
Ctrl-Byte value is set to 33.
ZXAN(config)#virtual-mac flexible-syntax-profile aaa
ZXAN(config-vmac-prf)#add Ctrl-Byte 33 width 3
Related Commands
55.7 show virtual-mac flexible-syntax-profile
55.4 delete
Syntax
delete index number1
Function
This command deletes an entry from a VMAX flexible syntax profile.
Parameters
Mode
VMAC-profile interface mode
Usage Guidelines
Only an index is required n this command.
Examples
ZXAN(config)#virtual-mac flexible-syntax-profile aaa
55-4
ZXAN(config-vmac-prf)#delete index 3
Related Commands
55.7 show virtual-mac flexible-syntax-profile
55.5 exit
Syntax
exit
Function
This command exits the current device or returns to the previous mode.
Parameters
None
Mode
vmac-profile interface mode
Usage Guidelines
Use this command in user mode or privileged mode to exit the current device. Use this
command in any other mode to returns to the previous mode.
Examples
The following example shows how to return to the previous global configuration mode from
vmac-profile interface mode:
ZXAN(config-vmac-prf)#exit
ZXAN(config)#
Related Commands
None
Function
This command displays global data and VLAN data related to VMAC configuration.
55-5
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show virtual-mac configure
virtual-mac source location-mapping format MT
virtual-mac device 333
virtual-mac aging-time 43
virtual-mac vlan:
Related Commands
55.14 virtual-mac aging-time
virtual-mac device
Function
This command displays the configuration of a VMAC flexible syntax profile.
Parameters
Mode
Any mode except user mode
Usage Guidelines
l This command can display the names of all VMAC flexible syntax profiles or the
detailed configuration of a specific profile.
l The profile name in the command is case sensitive.
55-6
Examples
l The following example shows how to display the names of all VMAC flexible syntax
profiles:
ZXAN(config)#show virtual-mac flexible-syntax-profile all
Related Commands
55.17 virtual-mac flexible-syntax-profile
Function
This command displays the VMAC configuration of a port.
Parameters
interface1 Interface -
Mode
Any mode except user mode
Usage Guidelines
This command displays the VMAC configuration of a port, including whether virtual MAC
address is enabled for the port, and the maximum number of learned MAC addresses.
For a port on a DSL card, the maximum number of learned MAC addresses is 16, which
cannot be modified.
Examples
The following example shows how to display the VMAC configuration of the user port
adsl_1/4/1:
ZXAN(config)#show virtual-mac interface adsl_1/4/1
55-7
virtual-mac :enable
virtual-mac max-mac-num:16
Related Commands
virtual-mac
Function
This command displays the virtual MAC address table of a port.
Parameters
interface1 Interface -
Mode
Any mode except user mode
Usage Guidelines
This command displays the VMAC to MAC mapping table.
Examples
The following example shows how to display the virtual MAC address table of the user port
adsl_1/4/1:
ZXAN(config)#show virtual-mac table interface adsl_1/4/1
Related Commands
55.15 virtual-mac delete interface
55-8
Function
This command displays the virtual MAC address table of a VLAN.
Parameters
Mode
Any mode except user mode
Usage Guidelines
This command displays the VMAC to MAC mapping table of a VLAN.
Examples
The following example shows how to display the virtual MAC address table of VLAN 100:
ZXAN(config)#show virtual-mac tablevlan 100
Related Commands
55.16 virtual-mac delete vlan
Function
This command enables or disables VMAC for a port.
Parameters
Mode
l GPON ONU interface mode
55-9
Usage Guidelines
Enable the virtual MAC address under a port, and then enable the virtual MAC address
translation in a VLAN.
Examples
The following example shows how to enable the port adsl_1/4/1 to use the virtual MAC
address:
ZXAN(config)#interface adsl_1/4/1
ZXAN(config-if)#virtual-mac enable pvc 1
Related Commands
55.8 show virtual-mac interface
55.12 virtual-mac
Syntax
virtual-mac {enable |disable }
Function
This command enables or disables VMAC for a VLAN.
Parameters
Mode
VLAN configuration sub-mode: ZXAN(config-vlanNumber)#
Usage Guidelines
VMAC translation is enabled only when VMAC is enabled for the port and the
corresponding VLAN.
Examples
The following example shows how to enable VMAC for VLAN 33:
ZXAN(config)#vlan 33
55-10
ZXAN(config-vlan33)#virtual-mac enable
Related Commands
show virtual-mac config
Function
This command configures an ID for an access node.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The configured access device ID is used by the VMAC module to generate MAC
addresses.
Examples
The following example shows how to set the ID of an access device to 333:
ZXAN(config)#virtual-mac access-node-id 333
Related Commands
show virtual-mac config
Function
This command configures the aging time for N:1 VMAC function.
55-11
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command sets the aging time of VMAC addresses to n seconds.
Examples
The following example shows how to set the aging time of virtual MAC addresses to 180
seconds:
Related Commands
show virtual-mac config
Function
This command deletes the virtual MAC address table of an interface.
Parameters
interface1 Interface -
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command deletes the VMAC to MAC mapping table of an interface.
55-12
Examples
The following command shows how to delete the virtual MAC address table of an ADSL
port:
ZXAN(config)#virtual-mac delete interface adsl_1/4/1
Related Commands
55.9 show virtual-mac table interface
Function
This command deletes the virtual MAC address table in a VLAN.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command deletes the VMAC to MAC mapping table in a VLAN.
Examples
The following example shows how to delete the virtual MAC address table in VLAN 222:
ZXAN(config)#virtual-mac delete vlan 222
Related Commands
55.10 show virtual-mac table vlan
55-13
Function
This command configures a VMAC flexible syntax profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l After a profile is activated, the original MAC address is translated to a virtual MAC
address in accordance with the profile settings.
l The default VMAC flexible syntax profile cannot be modified.
l To enter VMAC profile configuration mode, enter the profile name.
Examples
The following example shows how to configure a VMAX flexible syntax profile whose name
is aaa:
Related Commands
show virtual-mac flexible-syntax-profile all
Function
This command activates a VMAC flexible syntax profile.
Parameters
55-14
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command activates a VMAX flexible syntax profile for the system. A DSL card only
supports profiles in MT format.
Examples
The following example shows how to activate a DT profile:
Related Commands
show virtual-mac config
Function
This command configures a static VMAC address for an ONU port.
Parameters
Mode
GPON ONU interface mode
Usage Guidelines
Use this command to configure the mapping relation between a static VMAC address and
the original MAC address of a user.
55-15
Examples
ZXAN(config)#interface gpon-onu_1/7/1:1
ZXAN(config-if)#virtual-mac static add 0000.0000.0001
Related Commands
ZXAN(config)#show virtual-mac interface gpon-onu_1/7/1:1
55-16
no broadcast-limit
Function
This command sets the rate limit of broadcast packets in a VFI.
Parameters
Mode
VFI configuration mode
Usage Guidelines
None
Examples
ZXAN(config-vfi)#broadcast-limit 3000
56-1
Related Commands
None
Function
This command clears traffic statistics related to a L2VPN instance.
Parameters
name2 PW name -
Mode
Privileged mode: ZXAN#
Usage Guidelines
The system starts traffic statistics again after the previous statistics is cleared.
Examples
ZXAN#clear l2vpn-flow-stat instance vpls
Related Commands
56.1.23 show l2vpn-flow-stat
Function
This command clears all MAC addresses for a specific VPLS.
56-2
Parameters
vfi VFI -
name2 PW name -
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command clears all dynamically-learned MAC addresses for a VPLS or VLAN-VLL.
Static MAC addresses and filter MAC addresses are not cleared.
Examples
ZXAN#clear mac-table vfi wang
Related Commands
None
Function
This command clears MAC address flapping records for all VFIs.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
56-3
Examples
ZXAN#clear vpls loop-detect
Related Commands
56.1.35 show vpls loop-detect
56.1.5 description
Syntax
description name1
no description
Function
This command adds a description for a VFI.
Parameters
name1 Description -
Mode
VFI configuration mode
Usage Guidelines
To delete the VFI description, use the no form of this command.
Examples
ZXAN(config-vfi)#description zteVfiTest
Related Commands
None
56.1.6 discard-on-learning-failed
Syntax
discard-on-learning-failed
no discard-on-learning-failed
56-4
Function
This command disables forwarding packets in case of VFI MAC address learning failure.
Parameters
None
Mode
VFI configuration mode
Usage Guidelines
When the VFI fails to learn MAC address from a packet, the packet is forwarded or
discarded. By default, the packet is forwarded. After this command is executed, the VFI
discards packets when MAC address learning fails.
Examples
ZXAN(config-vfi)#discard-on-learning-failed
Related Commands
None
56.1.7 flowstat
Syntax
flowstat name1
Function
This command configures the L2VPN traffic switch.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command configures the global traffic switch, which is turned off by default.
56-5
Examples
ZXAN(config)#flowstat enable
Related Commands
None
56.1.8 isolate
Syntax
isolate {local-member |spoke-member }
Function
This command isolates local members or remote spoke members in a service instance.
Parameters
Mode
l VFI configuration mode
l VLAN-VLL configuration mode
Usage Guidelines
By default, local members and remote spoke members are not isolated. Packets can be
forwarded among these members.
Examples
The following example shows how to isolate local members and remote spoke members:
ZXAN(config-vfi)#isolate local-member
ZXAN(config-vfi)#isolate spoke-member
Related Commands
None
56-6
Function
This command configures the VPLS MAC aging time.
Parameters
Mode
VFI configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the VPLS MAC aging time to 60 seconds:
Related Commands
None
Function
This command configures the VPLS MAC filter function.
56-7
Parameters
name1 PW name -
Mode
VFI configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the MAC filter function for a PW:
ZXAN(config-vfi)#mac filter 0000.1111.1111 pw wang
Related Commands
None
Function
This command enables or disables MAC learning for an instance.
Parameters
Mode
VFI configuration mode
Usage Guidelines
By default, MAC learning is enabled for an instance.
56-8
Examples
ZXAN(config-vfi)#mac learn enable
Related Commands
None
Function
This command configures the size of the MAC table.
Parameters
Mode
VFI configuration mode
Usage Guidelines
This command configures the maximum number of allowed MAC entries in the MAC table,
including static MAC and filter MAC entries.
Examples
The following example shows how to the VPLS MAC table size to 2000 for a VFI instance:
ZXAN(config)#vfi vpls
ZXAN(config-vfi)#mac limit 2000
Related Commands
None
56-9
Function
This command configures a static MAC address for a VPLS.
Parameters
name1 PW name. -
Mode
VFI configuration mode
Usage Guidelines
l A PW or AC must be specified in this command for configuring a static MAC address.
If an AC is specified, a real port and a VLAN are also required for the MAC address.
If the AC or PW specified in this command does not exist, the system will prompt that
the configuration is not allowed.
l If the AC or PW is deleted, the corresponding static MAC address configuration will
be deleted automatically. If the VPLS instance is deleted, the static MAC address
configuration will also be deleted. The AC configuration and static MAC address of
an interface will be deleted if the interface is deleted, and will recover after the interface
recovers.
l After the static MAC address configuration, the instance forwards the packet whose
destination MAC address is the configured static MAC address to the AC or VC link
configured with this static MAC address.
Examples
ZXAN(config-vfi)#mac static 0000.1111.1111 cip 20
Related Commands
56.1.25 show mac-table vfi
56-10
Function
This command enables or disables the MAC address withdrawal function.
Parameters
Mode
l VFI configuration mode
l VLL configuration mode
Usage Guidelines
The MAC address withdrawal function is disabled by default.
Examples
The following example shows how to enable the MAC address withdrawal function:
Related Commands
None
56.1.15 macwithdraw-receive
Syntax
macwithdraw-receive {trust-pw }
56-11
no macwithdraw-receive
Function
This command configures a PW as a trust source for MAC withdrawal at the receiving end.
By default, a PW is not a trust source.
Parameters
Mode
VFI configuration mode
Usage Guidelines
The trust PW configuration determines how to process MAC withdraw messages.
If a PW is configures as a trust PW, the MAC withdraw messages received by this PW are
considered trustable and the MAC addresses learned by the other PWs will be deleted.
If no trust PW is configured, only MAC addresses learned by PWs that receive MAC
withdraw messages will be deleted.
Examples
The following example shows how to configure a PW as a trust PW:
ZXAN(config-vfi)#macwithdraw-receive trust-pw
Related Commands
None
Function
This command binds a PW to a VPLS instance.
56-12
Parameters
Mode
l VFI configuration mode
l MHPW configuration mode
l VLL configuration mode
Usage Guidelines
None
Examples
The following example shows how to bind a PW whose name is wang to the VPLS instance:
ZXAN(config-vfi) # mpls xconnect pw wang
Related Commands
None
56.1.17 mspw
Syntax
mspw name1
no mspw name1
Function
This command configures an MSPW instance.
Parameters
56-13
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 configure an MSPW instance whose name is wang:
ZXAN(config)# mspw wang
Related Commands
56.1.32 show mpls l2vpn service
56.1.18 mtu
Syntax
mtu {number1 } [adv ]
no mtu
Function
This command configures the MTU for a service instance.
Parameters
Mode
l VFI configuration mode
l VLL configuration mode
Usage Guidelines
None
56-14
Examples
The following example shows how to configure the MTU and enable advertisement for an
instance:
ZXAN(config-vfi) # mtu 1200 adv
Related Commands
None
56.1.19 multicast-limit
Syntax
multicast-limit number1
no multicast-limit
Function
This command sets the rate limit of multicast packets in a VFI.
Parameters
Mode
VFI configuration mode
Usage Guidelines
None
Examples
ZXAN(config-vfi)#multicast-limit 3000
Related Commands
None
56.1.20 pbit-flowstat
Syntax
pbit-flowstat name1
56-15
Function
This command configures the priority-based traffic statistics switch.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command configures the global switch for priority-base traffic statistics, which is turned
off by default.
Examples
ZXAN(config)#pbit-flowstat enable
Related Commands
None
56.1.21 service-type
Syntax
service-type {ethernet |tdm }
Function
This command configures the service type for a VLL.
Parameters
ethernet Ethernet -
tdm TDM -
Mode
l VLL configuration mode
l VLS configuration mode
56-16
Usage Guidelines
None
Examples
The following example shows how to set the service type of a VLL instance to Ethernet:
ZXAN(config-vll)#service-type ethernet
Related Commands
None
Function
This command displays the status of the L2VPN traffic statistics switch.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show flowstat
flowstat enable
Related Commands
None
56-17
Function
This command displays the traffic statistics of an MPLS L2VPN instance.
Parameters
name2 PW name -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show l2vpn-flow-stat instance vpls
Total:
InPkts : 0 OutPkts : 0
InBytes : 0 OutBytes : 0
DiscardPkts : N/A DiscardBytes : N/A
Unicast:
InPkts : N/A OutPkts : N/A
InBytes : N/A OutBytes : N/A
DiscardPkts : N/A DiscardBytes : N/A
Multicast:
InPkts : N/A OutPkts : N/A
InBytes : N/A OutBytes : N/A
DiscardPkts : N/A DiscardBytes : N/A
Broadcast:
InPkts : N/A OutPkts : N/A
InBytes : N/A OutBytes : N/A
DiscardPkts : N/A DiscardBytes : N/A
Related Commands
56.1.2 clear l2vpn-flow-stat
56-18
Function
This command displays the count of MAC addresses in a VPLS instance.
Parameters
vfi VFI -
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show mac-table summary
Related Commands
None
Function
This command displays all MAC address entries in a VPLS instance.
Parameters
56-19
Mode
Any mode except user mode
Usage Guidelines
This command displays all MAC address entries in a VPLS instance, including static MAC
addresses, filter MAC addresses, and learned MAC addresses.
Examples
ZXAN(config)#show mac-table vfi wang
Related Commands
None
56-20
Function
This command displays the L2VPN label binding information.
Parameters
number1 VC ID 1–4294967295
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current layer-2 transport binding
information:
ZXAN#show mpls l2transport binding
Destination Address: 3.3.3.3, VC ID: 100
FEC129: AGI (N/A): N/A
SAII (N/A): N/A
TAII (N/A): N/A
Macwithdraw send sum: 0
VCCV: N/A
56-21
Local Label: 16
Cbit: 0 VC Type: ETH GroupID: 0
MTU: 1518 Interface Desc:
VCCV Connection Channel: NULL
VCCV Connectivity Verification:
Remote Label: UnTag
Cbit: NULL VC Type: NULL GroupID: NULL
MTU: NULL Interface Desc: N/A
VCCV Connection Channel:
VCCV Connectivity Verification:
Related Commands
None
Function
This command displays the statistics of layer-2 VPN label bindings.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statistics of layer-2 VPN label bindings:
ZXAN#show mpls l2transport binding summary
Complete bindings : 0
Incomplete bindings : 1
Only local : 1
Only remote : 0
Related Commands
None
56-22
Function
This command displays the VC information of an L2VPN instance.
Parameters
56-23
Mode
Any mode except user mode
Usage Guidelines
This command can display the information of all VCs. To display the information of a
specific VC, specify a keyword in the command, such as VC ID.
Examples
The following example shows how to display the details of a VC whose PW name is pw1:
ZXAN#show mpls l2transport vc pw pw1 detail
56-24
Related Commands
None
Function
This command displays the statistics of VCs in an L2VPN instance.
Parameters
None
56-25
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show mpls l2transport vc summary
VFI VC number: 1
VLL VC number: 0
MSPW VC number: 0
Related Commands
None
Function
This command displays the AC information of a specific CIP.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show mpls l2vpn ac cip 1
cip1
C/S Attribute : Server Interface
R/L Attribute : Root Interface
Learn MAC number: 0 Static MAC number: 0
AC flow statistic: on
56-26
total:
inBytes: 0 inPkts: 0
outBytes: 0 outPkts: 0
unicast:
inBytes: 0 inPkts: 0
outBytes: 0 outPkts: 0
multicast:
inBytes: 0 inPkts: 0
outBytes: 0 outPkts: 0
broadcast:
inBytes: 0 inPkts: 0
outBytes: 0 outPkts: 0
discard:
bytes: 0 pkts: 0
Related Commands
None
Function
This command displays the statistics of ACs in a specific CIP.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show mpls l2vpn ac summary
L2VPN AC total number: 2
VFI AC number: 2
VLL AC number: 0
VLS AC number: 0
VLAN VLL AC number: 0
56-27
Related Commands
None
Function
This command displays the information of an L2VPN instance of a specific type or with a
specific instance name.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the detailed information of an L2VPN instance
(vpls):
ZXAN#show mpls l2vpn service vpls detail
Instance name: vpls
Instance type: vfi
Service type: ETHERNET
Service member count: 2
Local member count: 1
Remote member count: 1
Service mode: vlan-all
56-28
56-29
inBytes: 0 inPkts: 0
outBytes: 0 outPkts: 0
multicast:
inBytes: 0 inPkts: 0
outBytes: 0 outPkts: 0
broadcast:
inBytes: 0 inPkts: 0
outBytes: 0 outPkts: 0
discast:
bytes: 0 pkts: 0
Related Commands
None
Function
This command displays the statistics of L2VPN instances.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show mpls l2vpn service summary
L2VPN instance total number: 2
VFI instance number: 2
VLL instance number: 0
MSPW instance number: 0
VLS instance number: 0
VLAN VLL instance number: 0
56-30
Related Commands
None
Function
This command displays the status of the L2VPN priority-based traffic statistics switch.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show pbit-flowstat
pbit-flowstat enable
Related Commands
None
Function
This command displays MAC flapping records in all instances of a specific VFI instance.
Parameters
Parameter Description Value
56-31
Mode
Any mode except user mode
Usage Guidelines
None
Examples
l The following example shows how to display MAC flapping records in all VFI
instances:
ZXAN#show vpls loop-detect all
l The following example shows how to display MAC flapping records in the VFI instance
whose name is vpn1:
ZXAN#show vpls loop-detect vfi vpn1
Related Commands
56.1.4 clear vpls loop-detect
56.1.36 unknowncast-limit
Syntax
unknowncast-limit number1
no unknowncast-limit
Function
This command configures the rate limit of unknown unicast packets for a VFI instance.
Parameters
Mode
VFI configuration mode
Usage Guidelines
None
56-32
Examples
ZXAN(config-vfi)#unknowncast-limit 3000
Related Commands
None
56.1.37 vfi
Syntax
vfi name1
no vfi name1
Function
This command configures a VFI instance.
Parameters
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 configure a VFI instance whose name is wang, and
how to delete this instance:
ZXAN(config)#vfi wang
ZXAN(config)#no vfi wang
Total number of interfaces connected to this VFI is [0].
Are you sure to delete all of them?[yes/no]:y
The local members of VFI wang have been removed successfully!
Related Commands
56.1.32 show mpls l2vpn service
56-33
56.1.38 vll
Syntax
vll name1
no vll name1
Function
This command configures a VLL instance.
Parameters
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 configures a VLL instance whose name is wang, and
how to delete the instance:
ZXAN(config) #vll wang
ZXAN(config-vll)#
ZXAN(config-vll)#exit
ZXAN(config)#no vll wang
Related Commands
56.1.32 show mpls l2vpn service
56.2 PW Management
56.2.1 apply
Syntax
apply pw-class name1
no apply
56-34
Function
This command applies a PW profile to an L2VPN PW instance.
Parameters
Mode
PW configuration mode
Usage Guidelines
The prerequisites for applying a PW profile to a PW instance are:
l The mode of the PW instance must be properly configured before the application of a
PW profile. If the instance is in static mode, the system will fail to apply a PW profile
to this instance due to unavailable signaling.
l The PW profile with complete attribute configurations is available.
Remove the binding between PW and L2VPN instance before using this command or the
no form of this command.
Examples
ZXAN(config-pw)# apply pw-class pw-class1
Related Commands
56.2.26 show l2vpn pw
56.2.2 cos-to-tc-profile
Syntax
cos-to-tc-profile name1
no cos-to-tc-profile
Function
This command applies a CoS-to-TC profile to a PW.
56-35
Parameters
Parameter Description Value
Mode
PW configuration mode
Usage Guidelines
After a CoS-to-TC profile is applied to a PW, the PW maps AC-side CoS to CoS in PW
labels in accordance with the settings in the profile.
Examples
ZXAN(config-pw)#cos-to-tc-profile zte2
Related Commands
None
56.2.3 encapsulated-delay
Syntax
encapsulated-delay number1
no encapsulated-delay
Function
This command configures the encapsulation delay for TDM emulation.
Parameters
Parameter Description Value
Mode
PW configuration mode
Usage Guidelines
The delay time corresponding to one frame is 125 μm.
Examples
ZXAN(config-pw)#encapsulated-delay 10
56-36
Related Commands
None
56.2.4 explicit-path
Syntax
explicit-path {name1 }
no explicit-path
Function
This command binds an explicit path to an L2VPN PW instance.
Parameters
Mode
PW configuration mode
Usage Guidelines
None
Examples
The following example shows how to bind an explicit path to a PW:
Related Commands
None
56.2.5 flow-label-algorithm
Syntax
flow-label-algorithm {[{dst-mac |src-mac |dst-src-mac } ] [{dst-ip |src-ip |dst-src-ip } ] [{dst-po
rt |src-port |dst-src-port } ] }
no flow-label-algorithm
56-37
Function
This command configures the flow label algorithm.
Parameters
Mode
PW configuration mode
Usage Guidelines
The system can generate a flow label in accordance with the source MAC address,
destination MAC address, source IP address, destination IP address, source port, and
destination port in a packet. Different flow label algorithms can be used depending on
packet features to achieve better traffic distribution effect.
Examples
ZXAN(config-pw)#flow-label-algorithm dst-mac
Related Commands
None
56.2.6 flow-label
Syntax
flow-label send {enable |disable } receive {enable |disable } [static ]
no flow-label
56-38
Function
This command enables or disables flow labels for ECMP traffic sharing on an L2VPN PW.
Parameters
Mode
PW configuration mode
Usage Guidelines
l The PW mode must be configured before flow label configuration.
l The PW mode determines the flow label mode. If the PW mode is dynamic, flow labels
must be dynamic. If the PW mode is static, flow labels must be static.
l The FL must be deleted before the PW mode is cancelled.
Examples
ZXAN(config-pw)# flow-label send enable receive enable
Related Commands
None
56.2.7 flowstat
Syntax
flowstat {[pbit ] enable |disable }
Function
This command enables or disables PW traffic statistics.
56-39
Parameters
Mode
PW configuration mode
Usage Guidelines
The PW traffic statistics can only be enabled when the PW has been associated with a
VPN instance.
Before enabling the PW traffic statistics, ensure that the global traffic statistics switch is
turned on. The global traffic statistics switch is turned off by default.
Examples
ZXAN(config-pw)#flowstat enable
Related Commands
None
56.2.8 gen-fec-element
Syntax
gen-fec-element {agi number1 number2 |saii number3 ip_addr1 number4 taii number5 ip_addr2
number6 }
no gen-fec-element
Function
This command configures FEC 129 element for an L2VPN PW instance.
Parameters
56-40
Mode
PW configuration mode
Usage Guidelines
FEC 129 element needs to be configured only when the PW mode is dynamic FEC 129.
Examples
l The following example shows how to configure FEC 129 element of AGI type:
l
ZXAN(config)#pw fec129
ZXAN(config-pw)#mode dynamic martini fec129
ZXAN(config-pw)#gen-fec-element agi 10 20
l The following example shows how to configure FEC 129 element of All type:
ZXAN(config)#pw fec129
ZXAN(config-pw)#mode dynamic martini fec129
ZXAN(config-pw)#gen-fec-element saii 10 1.1.1.1 10 taii 20 2.2.2.2 20
Related Commands
None
56.2.9 item
Syntax
item name1 name2 name3 alarm number1 number2 restore number3 number4
56-41
Function
This command configures the items in a PW alarm profile, such as thresholds for raising
and clearing alarms.
Parameters
Mode
PROFILE_IF configuration mode
Usage Guidelines
None
Examples
ZXAN(config)#perf-pw profile pwPerf
ZXAN(config-perf-pw)#item forward-pkts 15-minutes highest alarm 50000 100 restore 40000 200
Related Commands
None
56-42
Function
This command enables or disables MAC learning for a PW.
Parameters
Mode
PW configuration mode
Usage Guidelines
By default, MAC learning is enabled for a PW.
Examples
ZXAN(config-pw)#mac learn enable
Related Commands
None
Function
This command sets the high watermark of the MAC table for alarm raising.
Parameters
56-43
Mode
VFI configuration mode
Usage Guidelines
A MAC table capacity alarm is raised when the percentage of MAC addresses in the VPLS
domain reaches the high watermark.
Examples
The following example shows how to set the high watermark of the MAC table to 95%:
ZXAN(config-vfi)#mac limit high-watermark 95
Related Commands
56.2.12 mac limit low-watermark
mac limit
Function
This command sets the low watermark of the MAC table for alarm clearing.
Parameters
Mode
VFI configuration mode
Usage Guidelines
The MAC table capacity alarm is cleared when the percentage of MAC addresses in the
VPLS domain reduces to the low watermark.
Examples
The following example shows how to set the low watermark of the MAC table to 60%:
56-44
Related Commands
56.2.11 mac limit high-watermark
mac limit
56.2.13 mode
Syntax
mode {static |dynamic {pwe3 |martini } } {fec128 |fec129 }
no mode
Function
This command configures the application mode of an L2VPN PW instance.
Parameters
Mode
PW configuration mode
Usage Guidelines
Before using the no form of this command, delete the pw-class and protocol attributes
because the pw-class and protocol attributes depend on the PW application mode.
Cancel the binding between the PW and the L2VPN instance before configuring the
application mode or cancelling the application mode configuration.
Examples
ZXAN(config-pw)#mode dynamic pwe3 fec128
56-45
Related Commands
56.2.1 apply
56.2.17 peer
56.2.14 mspw-backoff
Syntax
mspw-backoff number1 number2
no mspw-backoff
Function
This command configures the backoff time for MSPW service on an L2VPN PW.
Parameters
Mode
PW configuration mode
Usage Guidelines
The backoff time is only applicable to TPE nodes with dynamic MSPW. The backoff time
can be configured only when the PW mode is dynamic FEC 129 mode and the PW is
bound to VLL, VPLS, or VLAN-VLL service.
Examples
ZXAN(config-pw)#mspw-backoff 20 40
Related Commands
None
56.2.15 next-address
Syntax
next-address {strict |loose } {v4 ip_addr1 |v6 ipv6_addr1 |as-id number1 }
56-46
Function
This command configures the next hop address for an L2VPN PW explicit path instance.
Parameters
number1 AS ID 1
Mode
PW explicit path configuration mode
Usage Guidelines
None
Examples
ZXAN(config-pw-expl-path)#next-address strict v4 2.2.2.2
Related Commands
56.2.20 pw-explicit-path
56.2.16 payload-size
Syntax
payload-size number1
no payload-size
Function
This command configures TDM payload size.
Parameters
56-47
Mode
PW configuration mode
Usage Guidelines
The payload size varies with different service types, 256 for E1, 192 for T1, and 32 for
CESoPSN.
The PW negotiates with the peer PW about the payload size. If the payload size is
inconsistent with that of the peer PW, the negotiation will fail.
Examples
ZXAN(config-pw)#payload-size 64
Related Commands
None
56.2.17 peer
Syntax
peer {ip_addr1 |ipv6_addr1 } router-id ip_addr2 [vcid number1 ] [local-label number2 remote-l
abel number3 ]
no peer
Function
This command configures protocol attributes of an L2VPN PW instance.
Parameters
56-48
Mode
PW configuration mode
Usage Guidelines
The PW application mode must be configured before protocol attribute configuration. For
a PW in dynamic mode, no static label can be configured.
When the PW is in static mode, a local label range can be configured. For how to configure
the range, refer to the mpls label range-static command.
Remove the binding between the PW and the L2VPN instance before configuring protocol
attributes or cancelling the configuration.
Examples
ZXAN(config-pw)# peer 1.2.3.4 router-id 1.2.3.4 vcid 100 local-label 1038431 remote-label 16
Related Commands
56.2.26 show l2vpn pw
Function
This command creates a PW performance profile.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
56-49
Examples
ZXAN(config)#perf-pw profile pwPerf
Related Commands
56.2.9 item
Function
This command applies a PW performance profile to an L2VPN PW instance.
Parameters
Mode
PW configuration mode
Usage Guidelines
Before using this command, ensure that the PW performance profile has been created.
Remove the binding between the PW and the L2VPN service instance before applying a
PW performance profile or cancel the setting.
Examples
ZXAN(config-pw)#perf-pw profile ztePerf
Related Commands
None
56.2.20 pw-explicit-path
Syntax
pw-explicit-path {name1 }
56-50
no pw-explicit-path {name1 }
Function
This command configures an L2VPN PW explicit path instance.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
ZXAN(config)# pw-explicit-path pw-path-1
Related Commands
None
56.2.21 pw
Syntax
pw name1
no pw name1
Function
This command configures an L2VPN PW instance.
Parameters
Mode
Configuration mode: ZXAN(config)#
56-51
Usage Guidelines
This command configures a specific PW instance and starts PW configuration mode.
Remove the binding between the PW and the L2VPN service instance before using the no
form of this command.
Examples
ZXAN(config)# pw pw1
Related Commands
56.2.26 show l2vpn pw
56.2.28 show l2vpn pw summary
56.1.37 vfi
56.1.38 vll
56.1.17 mspw
56.2.22 pw route
Syntax
pw route 0-4294967295>:A.B.C.D:01 number1 ip_addr1 [tag number2 ]
no pw route 0-4294967295>:A.B.C.D:01 number1 [tag number2 ]
Function
This command configures a static PW route.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A PW route can be specified by BGP for FEC129 configuration.
56-52
Examples
ZXAN(config)#pw route 300:8.8.8.8:0 64 135.1.1.1
Related Commands
56.2.27 show l2vpn pw-aii-information
56.2.23 pwtype
Syntax
pwtype {ethernet-vlan |ethernet |e1 |t1 |e3 |t3 |cesopsn-basic }
no pwtype
Function
This command configures the advertising mode of the L2VPN PW instance mode.
Parameters
e1 E1 mode -
t1 T1 mode -
e3 E3 mode -
t3 T3 mode -
Mode
PW configuration mode
Usage Guidelines
Remove the binding between the PW and the L2VPN service instance before using this
command or using the no form of this command.
Examples
ZXAN(config-pw)# pwtype ethernet
Related Commands
56.2.28 show l2vpn pw summary
56-53
56.2.24 root-leaf
Syntax
root-leaf {root |leaf }
Function
This command configures the root-leaf attribute for an L2VPN PW instance.
Parameters
Mode
PW configuration mode
Usage Guidelines
The root-leaf attribute of a PW can be configured only when the PW is bound with a VFI
instance.
Examples
ZXAN(config-pw)#root_leaf root ZXAN(config-pw)#root_leaf leaf
Related Commands
None
56.2.25 sequence
Syntax
sequence {enable |disable }
Function
This command enables the sequence number mechanism for PW emulation.
56-54
Parameters
Mode
PW configuration mode
Usage Guidelines
Use this command to enable the sequence number mechanism for PW emulation. By
default, the sequence number mechanism is disabled.
Examples
ZXAN(config-pw)#sequence enable
Related Commands
None
Function
This command displays the basic configuration information of all PWs or a specific PW.
56-55
Parameters
name1 PW name -
Mode
Any mode except user mode
Usage Guidelines
If no PW name is specified in this command, the configuration of all PWs will be displayed.
Examples
ZXAN#show l2vpn pw pw1 detail
PW Name: pw1
Mode:Martini Fectype:128 PW type:ETH-VLAN
Peer:2.2.2.1 VCID:10
Agi_type: NULL Agi_value: NULL
Saii_type:NULL Saii: NULL
Taii_type:NULL Taii: NULL
Init_tiem:NULL
Max_time:NULL
Static label: local UnTag, remote UnTag
Tunnel ID: NULL
PW class:
Explicit-path:
PW GR:
L2VPN type: VPLS
L2VPN name: vpls
Related Commands
None
Function
This command displays information about PW routes.
56-56
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show l2vpn pw-aii-information
global-id prefix local-route nexthop type pri
500 3.3.3.3 1 3.3.3.3 static 0
0 7.7.7.7 0 135.1.1.1 static 1
300 8.8.8.8 0 135.1.1.1 static 1
Related Commands
56.2.22 pw route
Function
This command displays the basic statistics of a specific PW or all PWs.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
If no PW is specified in the command, the statistics of all PWs will be displayed.
Examples
ZXAN#show l2vpn pw summary
The summary information about configured PW:
Max PW number 2048
56-57
Configured PW number 3
Static PW number 0
Dynamic PW number 3
Used by VPLS 2
Used by VLL 0
Used by MSPW 0
Used by VLAN-VLL 0
Related Commands
None
Function
This command displays detailed information about PW related routes in the protocol routing
table.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show pw protocol routing
Status codes: *-valid, >-best, i-internal
Dest Next Hop Routeprf RouteMetric Protocol
*> 500:3.3.3.3:0/64 3.3.3.3 0 0 local
*> 0:7.7.7.7:0/0 135.1.1.1 1 0 static
*> 300:8.8.8.8:0/64 135.1.1.1 1 0 static
Related Commands
56.2.22 pw route
56-58
Function
This command displays the statistics of PW related routes in the protocol routing table.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show pw protocol routing summary
Route Source Count
Local: 1
Static: 2
LDP: 0
BGP: 0
Total: 3
Related Commands
56.2.22 pw route
56.2.31 simulation-mode
Syntax
simulation-mode {pwe3 }
no simulation-mode
Function
This command configures a valid emulation mode for TDM emulation.
56-59
Parameters
pwe3 PWE3 -
Mode
PW configuration mode
Usage Guidelines
None
Examples
ZXAN(config-ces-pw)#simulation-mode pwe3
Related Commands
None
56.2.32 static-loopback
Syntax
static-loopback
no static-loopback
Function
This command enables PW loopback.
Parameters
None
Mode
PW configuration mode
Usage Guidelines
None
Examples
ZXAN(config-pw)#static-loopback
Related Commands
None
56-60
56.2.33 status-notification
Syntax
status-notification
no status-notification
Function
This command enables PW status notification.
Parameters
None
Mode
PW configuration mode
Usage Guidelines
None
Examples
ZXAN(config-pw)# status-notification
Related Commands
56.1.26 show mpls l2transport binding
56.2.34 tc-to-cos-profile
Syntax
tc-to-cos-profile name1
no tc-to-cos-profile
Function
This command applies a TC-to-CoS profile to a PW.
Parameters
Parameter Description Value
Mode
PW configuration mode
56-61
Usage Guidelines
After a TC-to-CoS profile is applied to a PW, the PW maps CoS in PW labels to AC-side
CoS in accordance with the settings in the profile.
Examples
ZXAN(config--pw)#tc-to-cos-profile zte1
Related Commands
None
56.2.35 ttl
Syntax
ttl number1
no ttl
Function
This command configures the TTL for an L2VPN PW instance.
Parameters
Mode
PW configuration mode
Usage Guidelines
None
Examples
ZXAN(config-pw)#ttl 100
Related Commands
None
56-62
56.2.36 variation-delay
Syntax
variation-delay number1
no variation-delay
Function
This command configures the variation delay for TDM emulation.
Parameters
Mode
PW configuration mode
Usage Guidelines
The delay time corresponding to one frame is 125 μm.
Examples
ZXAN(config-ces-pw)#variation-delay 400
Related Commands
None
56.3 PW Redundancy
56.3.1 negotiation
Syntax
negotiation {disable |enable [{master |slave } ] [no-adv ] }
no negotiation
Function
This command configures the negotiation mode for an L2VPN PW redundancy group
instance.
56-63
Parameters
Mode
pw-group configuration mode
Usage Guidelines
The negotiation attribute cannot be deleted when a standby PW is configured. Before
using the no form of this command, delete the standby PW.
Examples
The following example shows how to enable the master configuration mode:
Related Commands
None
no protect hold-off
Function
This command sets the hold-off time for an L2VPN PW redundancy group instance.
56-64
Parameters
Mode
pw-group configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the hold-off time for redundancy switching to two
seconds (20*100 ms):
ZXAN(config-pw-group)#protect hold-off 20
Related Commands
None
no protect mode
Function
This command configures the revertive switching policy for an L2VPN PW redundancy
group instance.
Parameters
56-65
Mode
pw-group configuration mode
Usage Guidelines
If “no-revertive” is specified in the command, revertive switching is not allowed after an
active/standby switching. If wtr is set to 0, immediate revertive switching will be performed
immediately.
Examples
The following example shows how to enable the revertive switching and set the waiting
time to 6 minutes:
ZXAN(config-pw-group)#protect mode revertive wtr 6
Related Commands
None
Function
This command forces a protection switching.
Parameters
56-66
Mode
PW-group configuration mode
Usage Guidelines
The status of the protection group determines whether the force switch can be successfully
completed.
Examples
ZXAN(config)#pw-redundancy-group pwfrr
ZXAN(config-pw-group)#protect switch fs
Related Commands
56.3.9 show l2vpn pw-redundancy-group
56.3.5 protect-type
Syntax
protect-type {1plus1 {2send1recv |2send2recv } |1by1 [{1send1recv |1send2recv } ] |loadshare }
no protect-type
Function
This command configures the protection mode for an L2VPN PW redundancy group
instance.
56-67
Parameters
Mode
pw-group configuration mode
Usage Guidelines
The protection mode attribute cannot be deleted if a standby PW is configured. Before
using the no form of this command, delete the standby PW.
Examples
The following example shows how to configure the 1+1 redundancy protection mode with
dual Tx and signal Rx:
Related Commands
None
56.3.6 pw-redundancy-group
Syntax
pw-redundancy-group name1
no pw-redundancy-group name1
Function
This command configures an L2VPN PW redundancy group instance.
56-68
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A PW redundancy group can be deleted only when the valid forwarding is not configured
on the standby PW in the group.
Examples
The following example shows how to configure a PW redundancy group whose name is
zte:
ZXAN(config)#pw-redundancy-group zte
Related Commands
None
56.3.7 pw
Syntax
pw name1
no pw name1
Function
This command configures the active PW in an L2VPN PW redundancy group instance.
Parameters
Mode
pw-group configuration mode
56-69
Usage Guidelines
A PW can be bound as an active PW only when the basic information of the PW is
completely configured.
Examples
The following example shows how to bind the PW whose name is zte_pw1 as the active
PW:
ZXAN(config-pw-group)#pw zte_pw1
Related Commands
56.3.6 pw-redundancy-group
56.3.8 second-pw
Syntax
second-pw name1
no second-pw name1
Function
This command configures the standby PW in an L2VPN PW redundancy group instance.
Parameters
Mode
pw-group configuration mode
Usage Guidelines
A PW can be bound as a standby PW only when the basic information of the PW is
completely configured. In addition, the complete configuration of the redundancy group,
including the negotiation mode, protection mode, and protection type, is also required
before configuring the standby PW.
The no form of this command can be used to delete the standby PW when the PW is not
used for valid forwarding.
56-70
Examples
The following example shows how to bind a PW whose name is zte_pw2 as the standby
PW:
ZXAN(config-pw-group)#second-pw zte_pw2
Related Commands
None
Function
This command displays the basic configuration information of all PW redundancy groups
or a specific PW redundancy group.
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no PW redundancy group name is specified in this command, the basic configuration
information of all PW redundancy groups will be displayed.
Examples
ZXAN0(config)# show l2vpn pw-redundancy-group pw-group1 brief
Related Commands
None
56-71
Function
This command displays the basic statistics of PW redundancy groups.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)# show l2vpn pw-redundancy-group summary
Related Commands
None
no cctype
Function
This command configures the control channel type (cctype).
56-72
Parameters
Mode
PW-Class configuration mode
Usage Guidelines
The cctype configuration depends on the control-word configuration. If control-word is not
configured, the cctype can be set to type 2 or type 3 instead of type 1. If control-word
not-preferred is configured, the cctype cannot be set to type 1. If control-word preferred is
configured, the cctype must be set to type 1.
Examples
ZXAN(config-pw-class)#cctype type1
Related Commands
None
56.4.2 control-word
Syntax
control-word {preferred |not-preferred }
Function
This command enables or disables the control bit (c-bit).
Parameters
Mode
PW-Class configuration mode
56-73
Usage Guidelines
None
Examples
ZXAN(config-pw-class)#control-word preferred
Related Commands
None
56.4.3 cvtype
Syntax
cvtype lsp-ping [{bfd-ipudp-fo [bfd-ipudp-fs ] [bfd-pwach-fo ] [bfd-pwach-fs ] |[bfd-ipudp-fs
[bfd-ipudp-fo ] [bfd-pwach-fo ] [bfd-pwach-fs ] ] |[bfd-pwach-fo [bfd-ipudp-fs ] [bfd-ipudp-fo
] [bfd-pwach-fs ] ] |[bfd-pwach-fs [bfd-ipudp-fs ] [bfd-pwach-fo ] [bfd-ipudp-fo ] ] } [] ]
no cvtype
Function
This command configures the connectivity verification type (cvtype).
Parameters
Mode
PW-Class configuration mode
Usage Guidelines
None
Examples
ZXAN(config-pw-class)#cvtype lsp-ping
56-74
Related Commands
None
56.4.4 pw-class
Syntax
pw-class name1
no pw-class name1
Function
This command creates a PW class.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To delete a PW class, use the no form of this command.
Examples
ZXAN(config)#pw-class pw1
Related Commands
None
Function
This command displays the basic configuration information of all PW classes or a specific
PW class.
56-75
Parameters
Mode
Any mode except user mode
Usage Guidelines
If no PW class name is specified in this command, the basic configuration information of
all PW classes will be displayed.
Examples
ZXAN(config)# show l2vpn pw-class pwclass1 brief
Related Commands
None
Function
This command displays the basic statistics of all PW classes.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)# show l2vpn pw-class summary
56-76
Related Commands
None
Function
This command creates a CIP interface.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command creates a CIP interface for creating a local AC for L2VPN.
Examples
ZXAN(config)#cip 100
ZXAN(config-cip100)#
Related Commands
None
56.5.2 class-map
Syntax
class-map name1
no class-map name1
56-77
Function
This command creates a class map and starts class map configuration mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l A class map cannot be modified or deleted when it is used for CIP instance matching.
l To delete a class map, use the no form of this command.
Examples
The following example shows how to create a class map (name: class_1) and start class
map configuration mode:
ZXAN(config)#class-map class_1
ZXAN(config-cmap)#
Related Commands
56.5.12 show class-map
56.5.3 flowstat
Syntax
flowstat {[pbit ] enable |disable }
Function
This command enables AC traffic statistics.
Parameters
56-78
Mode
CIP interface configuration mode
Usage Guidelines
The traffic statistics cannot be enabled before the AC is associated with a VPN instance.
After the association, the traffic statistics is enabled by default.
Before enabling the AC traffic statistics, ensure that the global traffic statistics has been
enabled. The global traffic statistics is disabled by default.
Examples
ZXAN(config-cip100)#flowstat enable
Related Commands
None
Function
This command configures MAC learning for an AC.
Parameters
Parameter Description Value
Mode
CIP interface configuration mode
Usage Guidelines
By default, the AC is enabled to learn MAC addresses. This command can be used to
disable MAC learning.
MAC learning cannot be configured if the AC is not associate with a VPN instance.
Examples
This following example shows how to disable MAC learning for cip 100:
ZXAN(config-cip100)#mac learning disable
56-79
Related Commands
None
56.5.5 match
Syntax
match svlan-id number1
no match svlan-id number1
Function
This command configures a matching rule for a stream class in a stream class profile.
Parameters
Mode
Class mapping configuration mode
Usage Guidelines
A CIP interface can match a VLAN to support the VLAN access type according to the
matching rule after the interface is configured as the Ethernet service type and associated
with a class map.
Examples
ZXAN(config-cmap)#match svlan-id 2000
Related Commands
56.5.12 show class-map
56-80
Function
This command maps a track layer detection mode to an AC.
Parameters
md MD session -
ma MA session -
mep MEP ID -
Mode
CIP interface configuration mode
Usage Guidelines
l xconnect: If xconnect is not configured, the mpls l2vpn mapping command is not
allowed.
l service-type: If no physical port is bound for CIP, the mpls l2vpn mapping efm is not
allowed.
l cfm create md session, ma create session, and create mep session: If any of MD,
MA, and MEP session is not created, the l2vpn mapping cfm command is not allowed.
l track session: If track session is not created, the l2vpn mapping track-session
command is not allowed.
Examples
The following example shows how to configure CFM detection for the CIP and map the
track session whose name is wang to the CIP:
Related Commands
None
56-81
56.5.7 oam-mapping
Syntax
oam-mapping {enable {bfd |ldp |tmpls-oam } |disable }
Function
This command configures the forwarding mode for PW OAM mapping under a CIP
interface.
Parameters
Mode
CIP interface configuration mode
Usage Guidelines
When enabling the forwarding mode for PW OAM mapping in CIP configuration mode, you
can select a signaling advertisement mode, such as LDP, TMPLS-OAM, BDF, or 1731.
Only one signaling mode can be configured.
Examples
The following example shows how to enable the BFD mode for PW OAM mapping:
ZXAN(config-cip1)#oam-mapping enable bfd
Related Commands
None
56.5.8 root-leaf
Syntax
root-leaf {root |leaf }
56-82
Function
This command configures the root_leaf attribute on the local CIP side for an L2VPN
instance.
Parameters
Mode
CIP interface configuration mode
Usage Guidelines
This command is used in CIP configuration mode.
The root_leaf attribute of a CIP interface can be configured only when the CIP has been
bound to a VFI instance.
Examples
ZXAN(config-cip1)#root-leaf root
Related Commands
None
Function
This command configures Ethernet service type for a CIP interface.
Parameters
Mode
CIP interface configuration mode
56-83
Usage Guidelines
When a CIP interface is configured as a physical interface for Ethernet access, all ingress
packets on the interface are forwarded in the MPLS domain.
Examples
The following example shows how to configure a CIP interface for Ethernet access:
ZXAN(config)#cip 1
ZXAN(config-cip1)#service-type ethernet gei_1/19/4
Related Commands
None
Function
This command adds the VLAN access type for a CIP interface supporting Ethernet access.
Parameters
Mode
CIP interface configuration mode
Usage Guidelines
No update operation is allowed.
Examples
The following example shows how to add the VLAN access type for the CIP interface on
the card in slot 6:
ZXAN(config)#class-map 101
ZXAN(config-cmap)#match svlan-id 101
ZXAN(config)#cip 1
56-84
Related Commands
56.5.2 class-map
no service-type tdm-relay
Function
This command configures the TDM-relay service type for a CIP interface.
Parameters
Mode
CIP interface configuration mode
Usage Guidelines
A CES service card or an ONU supporting TDM is required for TDM service provisioning.
56-85
Examples
The following example shows how to configure TDM service for the card in slot 6:
ZXAN(config)#vlan 100
ZXAN(config-vlan100)#exit
ZXAN(config)#cip 100
ZXAN(config-cip100)#$service-type tdm-relay mpls label-autoconfig 2012.2013.2014 100 slot 6
Related Commands
None
Function
This command displays all configured class maps or a specific class map.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show class-map all
class-map 101
match svlan-id 101
class-map 102
match svlan-id 102
class-map 103
match svlan-id 103
Related Commands
56.5.2 class-map
56-86
56.5.13 shutdown
Syntax
shutdown
no shutdown
Function
This command enables or disables an interface.
Parameters
None
Mode
CIP interface configuration mode
Usage Guidelines
A CIP interface is enabled by default. The physical status (up or down) of an interface
does not change after the interface is disabled.
Examples
The following example shows how to disable the interface CIP1:
ZXAN(config-cip1)#shutdown
Related Commands
None
56.5.14 xconnect
Syntax
xconnect name1
no xconnect name1
Function
This command binds an AC to an L2VPN instance.
Parameters
56-87
Mode
CIP interface configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to binds a CIP as an AC to an L2VPN instance whose
name is zte:
ZXAN(config-cip1)#xconnect zte
Related Commands
None
56-88
Function
This command clears NAT forwarding entries.
Parameters
Mode
Privileged mode: ZXAN#
57-1
Usage Guidelines
This command can be used to clear all forwarding entries or clear the forwarding entries
on a specific service port.
Examples
l The following example shows how to clear all forwarding entries:
ZXAN# clear mpnat trans-table
l The following example shows how to clear the forwarding entries on port 9999:
ZXAN# clear mpnat trans-table service-port 9999
Related Commands
57.13 show mpnat trans-table
Function
This command configures the aging time for NAT forwarding entries on the FTP control
link that is used for uploading or downloading an MDU file in NAT mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l When the MDU is accessed through the OLT for file transfer over FTP (such as MDU
version download), you can use this command to set the aging time of NAT forwarding
entries for the FTP control link on the OLT.
l The default aging time is recommended. A proper longer aging time can be set if a
large-size file needs to be transferred.
l After the configuration, you can use the show running-config | include mpnat command
to view the configuration result. To view the forwarding table, use the show mpnat tra
ns-table command.
57-2
Examples
The following example shows how to set the aging time of forwarding entries to 10 minutes
for the ONU FTP control link:
Related Commands
57.13 show mpnat trans-table
Function
This command configures the aging time for NAT forwarding entries on the FTP data link
that is used for uploading or downloading an MDU file in NAT mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l When the MDU is accessed through the OLT for file transfer over FTP (such as MDU
version download), you can use this command to set the aging time of NAT forwarding
entries for the FTP data link on the OLT.
l The default aging time is recommended.
l After the configuration, you can use the show running-config | include mpnat command
to view the configuration result. To view the forwarding table, use the show mpnat tra
ns-table command.
Examples
The following example shows how to set the aging time of forwarding entries to 20 seconds
for the ONU FTP data link:
ZXAN(config)# mpnat onu-ftp-data aging-time 20
57-3
Related Commands
57.13 show mpnat trans-table
Function
This command configures the allocation mode of ONU management ports.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
In static allocation mode, the destination IP address for remote management is the in-band
or out-of-band IP address of the OLT. The following formulas are used to calculate the port
number:
The static allocation mode is not applicable to 16-port PON cards. The value ranges of
different parameters in the formula are as follows:
l SlotNo: 1–19
l PonNo: 1–8
l OnuNo: 1–64
In dynamic allocation mode, the destination IP address for remote management is the
in-band or out-of-band IP address of the OLT. The port number is allocated by the telnet
(http) onu-mng-port alloc command under the ONU interface.
To view the allocated port number, use the show mpnat onu-mng-port command.
57-4
Examples
The following example shows how to enable the dynamic allocation mode of ONU
management ports:
ZXAN(config)#mpnat onu-mng-port auto-alloc enable
Related Commands
telnet onu-mng-port alloc
http onu-mng-port alloc
57.12 show mpnat onu-mng-port
Function
This command configures a VLAN as the ONU management VLAN, which takes effect
when the ONU initiates a connection to an NE for MDU version download over FTP or
MDU TRAP reporting.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l Before using this command, ensure that the specified VLAN has been created and a
layer-3 interface corresponding to the VLAN has been created. If the layer-3 interface
is not available, a failure message will be displayed.
l After the configuration, you can use the show running-config | include mpnat command
to view the configuration result.
l To cancel the setting, use the no form of this command.
57-5
Examples
The following example shows how to configure VLAN 200 as the ONU management VLAN:
ZXAN(config)# mpnat onu-mng-vlan 200
Related Commands
None
Function
This command configures the aging time of ONU SNMP management forwarding entries
in NAT mode.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l An aging time different from the general aging time can be set for SNMP forwarding
entries because there are too many SNMP forwarding entries in the forwarding table,
which need to be aged out in a shorter time.
l After the configuration, you can use the show running-config | include mpnat command
to view the configuration result.
Examples
The following example shows how to set the aging time of ONU SNMP management
forwarding entries to 45 seconds:
Related Commands
57.13 show mpnat trans-table
57-6
Function
This command sets the idle timeout for ONU TELNET management in NAT mode. When
the idle timeout is reached, the corresponding ONU TELNET NAT forwarding entries are
aged out and the TELNET session is disconnected. Because idle duration is required
during TELNET operation, an aging time different from the general aging time can be set
for ONU TELNET management forwarding entries to ensure user experience.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
After the configuration, you can use the show running-config | include mpnat command to
view the configuration result.
Examples
The following example shows how to set the ONU TELNET idle timeout to 5 minutes:
Related Commands
57.13 show mpnat trans-table
57-7
Function
This command sets the NAT service port number. If a TCP packet sent from the public
network to the OLT contains a destination port number same as the NAT service port
number, NAT will be performed on this packet before it is processed.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l After the configuration, you can use the show mpnat cfg-table command to view the
configuration result.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the service port number to 8800:
ZXAN(config)#mpnat service service-port 8800
Related Commands
57.11 show mpnat cfg-table
Function
This command sets the TELNET SHELL service port number.
Parameters
57-8
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l The TELNET SHELL service port number must be set before the TELNET SHELL
function is enabled for accessing the NE.
l After the configuration, you can use the show mpnat cfg-table command to view the
configuration result.
l To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the TELNET SHELL service port number to 8000:
Related Commands
57.11 show mpnat cfg-table
Function
This command configures the general aging time of NAT forwarding entries.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l Forwarding entries need to be aged out after proper time due to the limit on the number
of entries in the forwarding table. The aging time for special forwarding entries (such
as ONU SNMP management forwarding entries) can be different from the general
aging time, depending on special configurations.
57-9
l After the configuration, you can use the show running-config | include mpnat command
to view the configuration result.
Examples
The following example shows how to set the general aging time of NAT forwarding entries
to 45 seconds:
ZXAN(config)#mpnat trans-table aging-time 45
Related Commands
57.13 show mpnat trans-table
Function
This command displays the information of the NAT configuration table.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display all entries in the NAT configuration table:
ZXAN# show mpnat cfg-table all
57-10
Related Commands
57.8 mpnat service service-port
Function
This command displays the dynamic allocation of ONU management ports.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config-if)#show mpnat onu-mng-port all
onu-mng-port alloc num:2
Onu-Pos Mng-TcpPort Protocol-Type
-------------------------------------------------------------------------------
gpon-onu_1/3/1:1 20001 telnet
57-11
Related Commands
None
Function
This command displays the information of the NAT forwarding table.
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of the NAT forwarding table:
ZXAN# show mpnat trans-table all
Entry: 113043736
OutGlbMac : 0:21:97:ef:28:3c InLclMac : 0:d0:d0:12:34:56
InGlbMac : 0:d0:d0:44:44: 8 InRmtMac : 0: 1: c: d: 0:ab
OutGlbIp : 10.63.194.82 InLclIp : 6.6.7.2
InGlbIp : 10.63.194.84 InRmtIp : 6.6.7.1
57-12
OnuInterface:
OuterIfName:mng1
RecvOuterPkt : 15 RecvInnerPkt : 14
Snd2InnerPkt : 15 Snd2OuterPkt : 14
Snd2InnerFailPkt: 0 Snd2OuterFailPkt: 0
ZXAN# show mpnat trans-table summary
Used Num : 1
Unused Num : 1023
Related Commands
None
Function
This command initiates a TELNET connection to an ONU on the CLI of the OLT.
Parameters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to telnet to gpon-onu_1/12/1:1:
57-13
Related Commands
None
57-14
Function
This command displays the load balancing state.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show load-balance
load-balance: enable
Related Commands
None
58-1
58-2
Function
This command displays the data synchronization state between an active card and a
standby card.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show hotb-state
Mate board is not in use.
Related Commands
None
59-1
59-2
Function
This command configures the global echo reply time.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the echo reply time to 100 seconds:
60-1
Related Commands
60.2.1 show pppoa-pppoe
Function
This command displays the PPPoA global configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the PPPoA global configuration:
ZXAN(config)#show pppoa-pppoe
Echo-interval :180
Related Commands
60.1.1 pppoa-pppoe echo-interval
Function
This command displays the PPPoA information of a port.
60-2
Parameters
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query the PPPoA information of the port vdsl_1/3/35:
ZXAN#show pppoa-pppoe interface vdsl_1/3/35 pvc 1
Total PPPOAOE : 1
PPPOAOE interface vdsl_1/3/35 pvc 1
--------------------------------------------------------------
Pppoa2oeState : PPPOE_CONNNECT
SesseionId : 425
PppoeServerMac : 001e.5849.431f
RecvLcpCfgReqNum : 2
RecvLcpEchoAckNum : 0
RecvLcpTerReqNum : 0
RecvPadoNum : 1
RecvPadsNum : 1
RecvPadtNum : 0
Related Commands
None
60-3
60-4
Function
This command configures the aging time for the gateway MAC address.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the aging time for gateway MAC address
to five minutes:
ZXAN(config)#ipoa gateway-arp-interval 5
61-1
Related Commands
61.3.1 show ipoa running
Function
This command configures the aging time for automatically learned IP addresses of users.
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the aging time for automatically learned IP
addresses of users to five minutes:
ZXAN(config)#ipoa inatmarp-interval 5
Related Commands
61.3.1 show ipoa running
Function
This command configures the default gateway IP address.
61-2
Parameters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to configure the default gateway IP address to
172.1.1.1:
ZXAN(config)# ipoa l2-default-gateway 172.1.1.1
Related Commands
61.3.1 show ipoa running
Function
This command configures an IPoA user.
Parameters
61-3
Mode
ADSL interface mode, VDSL interface mode, and SHDSL interface mode
Usage Guidelines
None
Examples
The following example shows how to configure a user as a layer-2 IPoA user:
ZXAN(config-if)#ipoa pvc 1 170.170.1.2 l2
Related Commands
61.3.2 show ipoa user
Function
This command displays the IPoA global configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
61-4
Examples
The following example shows how to display the current IPoA global configuration:
ZXAN(config)#show ipoa running
ipoa l2-default-gateway 172.1.1.1
ipoa inatmarp-interval 10
ipoa gateway-arp-interval 10
Related Commands
61.1.2 ipoa inatmarp-interval
61.1.1 ipoa gateway-arp-interval
61.1.3 ipoa l2-default-gateway
Function
This command displays the information of IPoA users.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of IPoA users:
ZXAN(config)#show ipoa user
Total ipoa user : 1
---------------------------------------------------------
interface adsl_1/7/1 pvc 1 vlan 100 static ipoa enable
user ip: 172.1.1.2 user mac: 0000.0c0c.0001
gateway ip: 172.1.1.1 gateway mac: 001e.903d.4188
Related Commands
None
61-5