Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Command Reference
Version: V1.2.5
ZTE CORPORATION
NO. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright 2012 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or
distribution of this document or any portion of this document, in any form by any means, without the prior written
consent of ZTE CORPORATION is prohibited.
Revision History
Revision No.
Revision Date
Revision Reason
R1.0
2013-02-28
First edition
SJ-20130118100307-010|2013-02-28 (R1.0)
Contents
About This Manual ......................................................................................... I
Chapter 1 Basic System Management...................................................... 1-1
1.1 banner incoming ................................................................................................ 1-2
1.2 boot-password ................................................................................................... 1-3
1.3 boot-server ........................................................................................................ 1-3
1.4 boot-username................................................................................................... 1-4
1.5 clock set ............................................................................................................ 1-5
1.6 clock timezone ................................................................................................... 1-6
1.7 config-filename................................................................................................... 1-6
1.8 configure terminal............................................................................................... 1-7
1.9 default-gateway.................................................................................................. 1-8
1.10 disable............................................................................................................. 1-9
1.11 enable.............................................................................................................. 1-9
1.12 enable secret ................................................................................................. 1-10
1.13 end.................................................................................................................1-11
1.14 exit ................................................................................................................ 1-12
1.15 hostname....................................................................................................... 1-12
1.16 imgfile-location ............................................................................................... 1-13
1.17 ip address ...................................................................................................... 1-14
1.18 multi-user configure ........................................................................................ 1-15
1.19 sdisk.............................................................................................................. 1-16
1.20 service password-encryption ........................................................................... 1-17
1.21 set-cputhreshold............................................................................................. 1-18
1.22 set-memthreshold........................................................................................... 1-19
1.23 show clock ..................................................................................................... 1-20
1.24 show cputhreshold ......................................................................................... 1-20
1.25 show memthreshold ....................................................................................... 1-22
1.26 show privilege ................................................................................................ 1-23
1.27 show running-config ....................................................................................... 1-23
1.28 show sdisk-status ........................................................................................... 1-25
1.29 show startup-config ........................................................................................ 1-26
1.30 show system-group ........................................................................................ 1-28
1.31 show user-suspend ........................................................................................ 1-29
I
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.47 onu-vlan..........................................................................................15-163
15.4.48 password ........................................................................................15-164
15.4.49 performance call-ctrl ........................................................................15-165
15.4.50 performance dot1x ethuni.................................................................15-166
15.4.51 performance ethuni..........................................................................15-167
15.4.52 performance fec ..............................................................................15-168
15.4.53 performance flow .............................................................................15-168
15.4.54 performance gal-eth.........................................................................15-169
15.4.55 performance gem ............................................................................15-170
15.4.56 performance iphost ..........................................................................15-171
15.4.57 performance mgc ............................................................................15-171
15.4.58 performance multicast......................................................................15-172
15.4.59 performance pw...............................................................................15-173
15.4.60 performance radius..........................................................................15-174
15.4.61 performance rtp ...............................................................................15-174
15.4.62 performance sip-agent .....................................................................15-175
15.4.63 performance sip-call-init ...................................................................15-176
15.4.64 performance switch..........................................................................15-177
15.4.65 performance switchport ethuni..........................................................15-177
15.4.66 performance switchport iphost ..........................................................15-178
15.4.67 performance vlan.............................................................................15-179
15.4.68 performance voice ...........................................................................15-180
15.4.69 performance voice pots....................................................................15-180
15.4.70 pkt-filter...........................................................................................15-181
15.4.71 pon-onu-mng...................................................................................15-182
15.4.72 power-shedding...............................................................................15-183
15.4.73 pppoe .............................................................................................15-185
15.4.74 proto-proc .......................................................................................15-186
15.4.75 protocol-filter ethuni .........................................................................15-187
15.4.76 pw delete ........................................................................................15-187
15.4.77 pw optional......................................................................................15-188
15.4.78 pw psn ethernet...............................................................................15-189
15.4.79 pw psn ip ........................................................................................15-190
15.4.80 pw rtp .............................................................................................15-191
15.4.81 pw tdm............................................................................................15-193
15.4.82 reboot .............................................................................................15-193
15.4.83 restore ............................................................................................15-194
XXIII
SJ-20130118100307-010|2013-02-28 (R1.0)
23.35 maximum-paths...........................................................................................23-33
23.36 neighbor .....................................................................................................23-34
23.37 network.......................................................................................................23-36
23.38 notify default route .......................................................................................23-37
23.39 nsf ..............................................................................................................23-38
23.40 passive-interface .........................................................................................23-39
23.41 redistribute ..................................................................................................23-40
23.42 router ospf ..................................................................................................23-42
23.43 router-id ......................................................................................................23-43
23.44 show ip ospf ................................................................................................23-44
23.45 show ip ospf border-routers ..........................................................................23-45
23.46 show ip ospf database .................................................................................23-46
23.47 show ip ospf database asbr-summary ...........................................................23-48
23.48 show ip ospf database database-summary....................................................23-49
23.49 show ip ospf database external ....................................................................23-51
23.50 show ip ospf database network.....................................................................23-52
23.51 show ip ospf database nssa .........................................................................23-53
23.52 show ip ospf database opaque-area .............................................................23-55
23.53 show ip ospf database opaque-link ...............................................................23-57
23.54 show ip ospf database router........................................................................23-59
23.55 show ip ospf database summary...................................................................23-60
23.56 show ip ospf interface ..................................................................................23-62
23.57 show ip ospf neighbor ..................................................................................23-63
23.58 show ip ospf nsf...........................................................................................23-64
23.59 show ip ospf request-list...............................................................................23-65
23.60 show ip ospf retransmission-list ....................................................................23-66
23.61 summary-address........................................................................................23-67
23.62 timers lsa-group-pacing................................................................................23-68
23.63 timers spf ....................................................................................................23-69
XLIX
SJ-20130118100307-010|2013-02-28 (R1.0)
L
SJ-20130118100307-010|2013-02-28 (R1.0)
Switching and
C320
10 11
34
Common Interface
Card Slot
2 9, 12 17
19 20 (19-inch
18 (19-inch shelf)
(19-inch shelf)
shelf)
20 (21-inch shelf)
2 9, 12 19
21 22 (21-inch
(21-inch shelf)
shelf)
12
34
N/A
Intended Audience
This document is intended for:
l
l
l
l
Summary
2, Hardware Management
3, Fan Management
4, Version Management
6, User Management
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter
Summary
8, SuperVLAN Commands
Commands
interface configuration.
Commands
log/statistical management.
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter
Summary
Commands
performance statistics.
Conventions
This manual uses the following typographical conventions:
Typeface
Meaning
Italics
Variables in commands. It may also refer to other related manuals and documents.
Bold
Menus, menu options, function names, input fields, option button names, check boxes,
drop-down lists, dialog box names, window names, parameters, and commands.
Constant
Text that you type, program codes, filenames, directory names, and function names.
width
[]
Optional parameters.
{}
Mandatory parameters.
III
SJ-20130118100307-010|2013-02-28 (R1.0)
IV
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 1
1-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the startup greeting for the system.
Parameters
Parameter
Description
Value
number1
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.
welcome
#
Related Commands
None
1-2
SJ-20130118100307-010|2013-02-28 (R1.0)
1.2 boot-password
Syntax
boot-password name1
Function
This command specifies the password used for logging to the FTP server from which the
boot image file is downloaded.
Parameters
Parameter
Description
Value
name1
316 characters
Mode
mng interface mode
Usage Guidelines
None
Examples
The following example shows how to specify the password used for logging in to the FTP
server:
ZXAN(config-if)#boot-password 1234
Related Commands
None
1.3 boot-server
Syntax
boot-server ip_addr1
Function
This command specifies the IP address of the FTP server from which the boot image file
is downloaded.
1-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
Mode
mng interface mode
Usage Guidelines
None
Examples
The following example shows how to specify the IP address of the FTP server:
ZXAN(config-if)#boot-server 168.1.1.1
Related Commands
None
1.4 boot-username
Syntax
boot-username name1
Function
This command specifies the user name used for logging in to the FTP server from which
the boot image file is downloaded.
Parameters
Parameter
Description
Value
name1
116 characters
Mode
mng interface mode
Usage Guidelines
None
Examples
1. Enter the mmg interface made.
1-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command sets the system clock in standard date and time format.
Parameters
Parameter
Description
Value
time1
Time
name1
Month
number1
Day
1-31
number2
Year
2001-2098
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to set the system clock:
ZXAN#clock set 23:12:01 feb 23 2012
Related Commands
None
1-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the system time zone.
Parameters
Parameter
Description
Value
name1
110 characters
number1
Offset in hours
-12 to 13
number2
Offset in minutes
059
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the system time zone:
ZXAN(config)#clock timezone beijing 12 30
ZXAN(config)#
Related Commands
1.23 show clock
1.7 config-filename
Syntax
config-filename name1
no config-filename
Function
This command specifies the name of the configuration file that is used to start the NE.
1-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
140 characters
Mode
mng interface mode
Usage Guidelines
None
Examples
The following example shows how to specify the name of the configuration file used to
start the NE:
ZXAN(config-if)# config-filename startrun.dat
Related Commands
None
Function
This command changes the command mode from privileged mode to global configuration
mode.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
1-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to change the command mode from privileged mode to
global configuration mode:
ZXAN#configure terminal
Enter configuration commands, one per line.
ZXAN(config)#
Related Commands
1.13 end
1.14 exit
1.9 default-gateway
Syntax
default-gateway ip_addr1
Function
This command configures the default gateway address.
Parameters
Parameter
Description
Value
ip_addr1
gateway
Mode
mng interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the default gateway address:
ZXAN(config-if)#default-gateway 10.63.78.15
ZXAN(config-if)#
Related Commands
None
1-8
SJ-20130118100307-010|2013-02-28 (R1.0)
1.10 disable
Syntax
disable
Function
This command changes the command mode from privileged mode to user mode.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to exit privileged mode and return to user mode for a
user logging in to the system through a serial port:
ZXAN#disable
ZXAN>
Related Commands
1.11 enable
1.14 exit
1.11 enable
Syntax
enable
Function
This command changes the command mode from user mode to privileged mode.
Parameters
None
1-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
User mode
Usage Guidelines
The privileged user password (default: zxr10) is required to start privileged mode. The
entered password is case sensitive and not displayed on the screen.
Examples
The following example shows how to change the command mode from user mode to
privileged mode for a user logging in to the system through a serial port:
ZXAN>enable
Password:
ZXAN#
Related Commands
1.10 disable
Function
This command sets a login password for the privileged user.
Parameters
Parameter
Description
Value
name1
316 characters
name2
Encrypted password
24 characters
name3
316 characters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
SJ-20130118100307-010|2013-02-28 (R1.0)
l
l
Either enable secret 0 password or enable secret password can be used to set an
unencrypted password.
enable secret 5 password can successfully set an encrypted password only when the
entered password contains 24 characters.
Examples
The following example shows how to set the privileged user password to ZXAN:
ZXAN(config)#enable secret ZXAN
Related Commands
1.11 enable
1.13 end
Syntax
end
Function
This command changes the command mode to privileged mode.
Parameters
None
Mode
All modes except user mode and privileged mode
Usage Guidelines
This command is applicable to all command modes except user mode and privileged mode.
Examples
The following example shows how to exit configuration mode and return to privileged mode:
ZXAN(config)#end
ZXAN#
Related Commands
1.8 configure terminal
1-11
SJ-20130118100307-010|2013-02-28 (R1.0)
1.14 exit
Syntax
exit
Function
This command is used to log out of the system or return to the previous command mode.
Parameters
None
Mode
All modes
Usage Guidelines
When this command is used in user mode or privileged mode, the current user logs out of
the system. When this command is used in the other modes, the command mode returns
to the previous mode.
Examples
The following example shows how to exit global configuration mode and return to privileged
mode:
ZXAN(config)#exit
ZXAN#
Related Commands
6.11 logout
6.8 login
1.15 hostname
Syntax
hostname name1
no hostname
Function
This command sets a host name for the system.
1-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Host name
132 characters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The default host name of the system is ZXAN.
The host name becomes effective immediately after this command is executed.
Examples
The following example shows how to set the host name of the system to TEST:
ZXAN(config)#hostname TEST
TEST(config)#
Related Commands
None
1.16 imgfile-location
Syntax
imgfile-location {local |network name1 }
Function
This command specifies the location of the boot image file.
Parameters
Parameter
Description
Value
local
network
network path
name1
Mode
mng interface mode
1-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
l
The following example shows how to use the local boot image file for startup.
ZXAN(config-if)#imgfile-location local
The following example shows how to use the network boot image file for startup.
ZXAN(config-if)#imgfile-location network sys.img
Related Commands
None
1.17 ip address
Syntax
ip address ip_addr1 ip_addr2
Function
This command configures the IP address of the management interface.
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
Subnet mask
Mode
mng interface mode
Usage Guidelines
By default, no IP address is configured for the management interface.
Examples
The following example shows how to set the IP address of the management interface to
168.1.10.100 and the subnet mask to 255.255.0.0:
ZXAN(config)#interface mng1
ZXAN(config-if)#ip address 168.1.10.100 255.255.0.0
1-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command enables multiple users to enter the configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
By default, only one user can enter global configuration mode. After this command is
executed, other users can also enter global configuration mode.
Use the no multi-user configure command to only allow one user to enter the
configuration mode. Before using this command, ensure that other users are out of
the configuration mode.
Multiple users in configuration mode must avoid configuration conflicts when
performing operations on the system.
Examples
l
The following example shows how to enter the configuration mode and then enable
multi-user configuration mode when no user is in configuration mode:
ZXAN#configure terminal
ZXAN(config)#multi-user configure
%Warning: allow others configure, must avoid conflict.
ZXAN(config)#
1-15
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example shows that multi-user configuration mode fails to be disabled
because some users do not exit configuration mode:
ZXAN(config)#no multi-user conf
%Someone has entered the configure mode, cannot set
single-user configure!
ZXAN(config)#
Related Commands
1.8 configure terminal
1.19 sdisk
Syntax
sdisk name1
Function
This command enables or disables the SD card.
Parameters
Parameter
Description
Value
name1
card.
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enable the SD card:
ZXAN(config)#sdisk enable
Related Commands
1.28 show sdisk-status
1-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables password encryption.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
If the password encryption is enabled before a user is added, the clear text password
of this user is encrypted. The password displayed by the show username command is
the encrypted clear text password.
If multiple users are added before enabling the service password-encryption function,
the previously configured clear text password is encrypted, and the encrypted
password remains the same.
And then if the service password-encryption function is disabled, those encrypted clear
text passwords will not be converted to clear text passwords again.
Examples
l
The following shows the user information, which contains the encrypted password:
ZXAN(config)#show username
Username
Password
Privilege
Max-sessions
zte
dnXspUMqxfJOgln2Hm7Olw==
supervisor
16
ZXAN(config)#
1-17
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example adds a new user (zte1/zte1). The password of this user is not
encrypted and the encrypted password of the previous user (zte) cannot be converted
to clear text.
ZXAN(config)#username zte1 password zte1 privilege 15
The following shows the user information after the password encryption is disabled:
ZXAN(config)#show username
Username
Password
Privilege
Max-sessions
zte
dnXspUMqxfJOgln2Hm7Olw==
supervisor
16
zte1
zte1
supervisor
16
ZXAN(config)#
Related Commands
1.32 show username
1.36 username
1.21 set-cputhreshold
Syntax
set-cputhreshold [rackno number1 ] [shelfno number2 ] slotno number3 number4
Function
This command sets the CPU usage threshold.
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
number4
1100
percentage
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
1-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the CPU usage threshold to 70% for the card in
slot 8 of shelf 0:
ZXAN(config)#set-cputhreshold rackno 0 shelfno 0 slotno 8 70
Related Commands
1.22 set-memthreshold
1.24 show cputhreshold
1.22 set-memthreshold
Syntax
set-memthreshold [rackno number1 ] [shelfno number2 ] slotno number3 number4
Function
This command sets the memory usage threshold.
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
number4
1100
percentage
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following command shows how to set the memory usage threshold to 70% for the card
in slot 8 of shelf 0:
ZXAN(config)#set-memthreshold rackno 0 shelfno 0 slotno 8 70
Related Commands
1.21 set-cputhreshold
1-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the system clock.
Parameters
None
Mode
All modes
Usage Guidelines
If a time zone is configured, this command displays the current local time in the time zone.
Examples
The following command shows how to display the system clock:
ZXAN(config)#show clock
18:49:45
Thu
Jan 18
2001
beijing
ZXAN(config)#
Related Commands
clock
Function
This command displays the CPU usage threshold(s).
1-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display all the CPU threshold for all the cards.
ZXAN#show cputhreshold
--------------------------------------
100
100
100
100
100
10
100
11
100
13
100
Related Commands
1.21 set-cputhreshold
1-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the memory usage threshold(s).
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the memory usage thresholds of all available
cards:
ZXAN#show memthreshold
Rack Shelf Slot MemThreshold
------------------------------
100
100
100
100
100
10
100
11
100
1-22
SJ-20130118100307-010|2013-02-28 (R1.0)
13
100
Related Commands
1.22 set-memthreshold
Function
This command displays the privilege level of the current telnet user.
Parameters
None
Mode
All modes
Usage Guidelines
The privilege level of a telnet user ranges from 1 to 15.
Examples
The following example shows how to display the privilege level of the current user:
ZXAN#show privilege
Current privilege level is 15
Related Commands
None
Function
This command displays running configuration of an interface.
1-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name.
name1
LINE1
excluded or included..
name2
Module name.
Mode
All modes except user mode
Usage Guidelines
None
1-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display all configuration information of an interface:
ZXAN(config)#show running-config interface epon-olt_1/3/1
Building configuration...
!
interface epon-olt_1/3/1
p2p mode group
onu 1 type ZTE-D420 mac 00d0.d09a.4732 ip-cfg static
onu 2 type ZTE-D420 mac 00d0.d09a.463e ip-cfg static
security packet-limit broadcast 100
no security packet-limit multicast
security packet-limit unknowncast 100
!
end
Related Commands
None
Function
This command displays the current status of the SD card.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current status of the SD card:
ZXAN#show sdisk-status
Board
OnLine
Status
-----------------------------------------
1-25
SJ-20130118100307-010|2013-02-28 (R1.0)
INSERVECE
IDLE
Related Commands
sdisk enable
Function
This command displays specific contents of the configuration file in the flash memory.
Parameters
Parameter
name1
Description
Value
LINE1
excluded or included.
Mode
All modes except user mode
Usage Guidelines
None
1-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
l
The following example shows how to display all configuration lines containing the
string hostname:
ZXAN#show start
hostname ZXAN
ZXAN#
The following example shows how to display all configuration information from the line
containing the string tacacs to the end of the configuration file:
ZXAN#show start
tacacs disable
tacacs-server timeout 5
tacacs-server packet 1024
!
!
alarm enable
alarm confirm
nms-hello-trap disable
alarm trap-confirm retry 1 timeout 30
!
end
ZXAN#
The following example shows how to display the configuration information without the
string alarm.
ZXAN#show startup-config | exclude alarm
ssh server authentication ispgroup 1
ssh server authentication mode local
ssh server authentication type chap
no ssh server only
ssh server version 2
!
authentication local enable
!
tacacs disable
tacacs-server timeout 5
tacacs-server packet 1024
!
!
nms-hello-trap disable
end
ZXAN#
1-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the system information, such as system name, running duration,
and version.
Parameters
None
Mode
All modes
Usage Guidelines
None
Examples
The following example shows how to display the system information:
ZXAN(config)#show system-group
System Description: ZXR10 ROS Version V4.6.02A
ZXPON C300 Software, Version V1.2.5
Copyright (c) 2000-2006 by ZTE Corporation
Compiled 2013-02-05 01:36:08
System ObjectId: .1.3.6.1.4.1.3902.1015.300.3.1
System StartTime: 2013-2-16 14:28:56
Started before: 1 days, 2 hours, 8 minutes
Contact with: +86-021-68895000
System name:
ZXAN
Related Commands
None
1-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the account lockout configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the account lockout configuration:
ZXAN(config)#show user-suspend
User suspend config:
---------------------------------------------user-suspend mode ip
user-suspend time: 30 minutes
user-suspend retry times: 3 times
ZXAN(config)#
Related Commands
1.35 user-suspend
Function
This command displays a list of users that are allowed to log on to the system.
1-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command only displays the information of users that have lower privilege levels than
the current user.
Examples
The following example shows how to display a list of users that are allowed to log in to the
system:
ZXAN(config)#show username
Username
Password
Privilege
Max-sessions
zte
zte
15
16
zte1
zte1
14
ZXAN(config)#
Related Commands
1.36 username
Function
This command displays a list of terminal users.
Parameters
None
Mode
All modes
Usage Guidelines
l
The asterisk symbol (*) in the command result indicates the terminal in use.
1-30
SJ-20130118100307-010|2013-02-28 (R1.0)
The Location of a terminal user is null when the user logs in to the equipment through
a serial port. The Location of a terminal user is a valid IP address when the user logs
in to the equipment in other modes.
The user name is displayed in the User column when the user successfully logs in to
the equipment. Or else, the user name is null.
Examples
The following example shows how to display the information of terminal users:
ZXAN(config)#show users
User
Host(s) Idle
* 66 vty 0
Line
zte
idle
00:00:00
Location
67 vty 1
zte
idle
00:05:54
136.1.1.14
68 vty 2
zte
idle
00:00:09
136.1.1.7
69 vty 3
zte
idle
00:37:16
136.1.1.22
136.1.1.9
ZXAN(config)#
Description
Line
User
User name
Host
IP address of the Telnet server to which the user logs in through the
equipment (client)
Idle
Location
Related Commands
None
Function
This command modifies the password for the current user.
Parameters
Parameter
Description
Value
name1
316 characters
1-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
l
l
l
l
A user must log on to the NE first before using this command to modify the user
password, otherwise an error message (%Code 48446: user not exist.) is reported.
The new password must be different from the old one.
The length of the clear text password ranges from 3 characters to 16 characters.
The characters allowed in the password are:
09, az, AZ, and
`*-=~!@#$%^&()_+[]{}|;':,./<>\\.
Examples
l
The following example shows that an error message is reported because the new
password entered in this command is the same as the old one:
ZXAN#user password zte
%Code 48445: new password same as old password.
ZXAN#
The following example shows that the user password is successfully modified:
ZXAN#user password zteZTE
ZXAN#
Related Commands
None
1.35 user-suspend
Syntax
user-suspend {mode name1 |time number1 |retry-times number2 }
Function
This command configures the account lockout policy, including the lockout mode, lockout
duration, and the threshold of login attempts.
1-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
301440
110
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
l
Related Commands
None
1-33
SJ-20130118100307-010|2013-02-28 (R1.0)
1.36 username
Syntax
username name1 password {0 name2 |7 name3 |name4 } [max-sessions number1 ] [privilege nu
mber2 ]
no username name1
Function
This command configures the user name and password of a user.
Parameters
Parameter
Description
Value
name1
User name.
116 characters
name2
316 characters
name3
allowed
encryption algorithm.
The cipher text password is
visible and only used for loading
configuration files.
name4
number1
116
Default: 16.
number2
Privilege level.
015
Default: 1
Mode
ZXAN(config)#
Usage Guidelines
l
l
l
l
l
l
No space is allowed in user name, clear text password, or cipher text password.
The characters allowed in user name are: 09, az, and _ (underscore).
The characters allowed in password are:
09, az, AZ, and
`*-=~!@#$%^&()_+[]{}|;':,./<>\\.
A user has the default privilege level (1) if no privilege level is set for the user.
Only a user having the highest privilege level (15) can create or delete user accounts.
Either username username password 0 password or username username password pass
word can be used to set an unencrypted password.
1-34
SJ-20130118100307-010|2013-02-28 (R1.0)
username username password 7 password can only be used to set a cipher text
password for loading configuration files. This command cannot set a cipher text
password when the system is operating properly.
Examples
l
The following example shows how to set the password of the abc user to pass:
ZXAN(config)#username abc password pass
The following example shows cipher text password is not allowed to set when the NE
is during run-time:
ZXAN(config)#username Admin password 7 12345678asdfghjk12345678 privilege 15
%Code 73: Error Run-time configuration, can't enter the password in the cipher text.
Related Commands
1.32 show username
1-35
SJ-20130118100307-010|2013-02-28 (R1.0)
1-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 2
Hardware Management
Table of Contents
add-card.....................................................................................................................2-1
add-rack .....................................................................................................................2-2
add-shelf ....................................................................................................................2-3
del-card ......................................................................................................................2-3
del-rack ......................................................................................................................2-4
del-shelf .....................................................................................................................2-5
qry..............................................................................................................................2-6
reboot.........................................................................................................................2-6
reset-card...................................................................................................................2-7
set-pnp.......................................................................................................................2-8
show card...................................................................................................................2-8
show shelf ..................................................................................................................2-9
show system-monitor ...............................................................................................2-10
swap ........................................................................................................................2-11
system-monitor endless-loop duration ......................................................................2-12
system-monitor endless-loop reboot .........................................................................2-13
system-monitor task-suspend-reboot........................................................................2-13
system-monitor watchdog.........................................................................................2-14
system-monitor watchdog-duration...........................................................................2-15
2.1 add-card
Syntax
add-card [rackno number1 ] [shelfno number2 ] slotno number3 name1
Function
This command adds a card.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
2-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number3
Slot number
Range: 022
name1
Card type
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to add an EPFC card:
ZXAN(config)#add-card rackno 1 shelfno 1 slotno 4 ETGO
Related Commands
2.4 del-card
2.2 add-rack
Syntax
add-rack rackno number1 racktype name1
Function
This command adds a rack.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
name1
Rack type
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to add rack 1:
2-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
2.5 del-rack
2.3 add-shelf
Syntax
add-shelf [rackno number1 ] shelfno number2 shelftype name1
Function
This command adds a shelf.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
name1
Shelf type
number3
Range: 12
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to add shelf 1:
ZXAN(config)#add-shelf shelfno 1 shelftype ETSI_SHELF
Related Commands
2.6 del-shelf
2.4 del-card
Syntax
del-card [rackno number1 ] [shelfno number2 ] slotno number3
2-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command deletes a card.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete the card in slot 3:
ZXAN(config)#del-card slotno 3
If the card is deleted, the service data related to the card will also be deleted. Do you want to del
[yes/no]:y
ZXAN(config)#
Related Commands
2.1 add-card
2.5 del-rack
Syntax
del-rack rackno number1
Function
This command deletes a rack.
Parameters
Parameter
Description
Value
number1
Shelf number
Range: 13
2-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete rack 1:
ZXAN(config)#del-rack rackno 1
Confirm to delete rack? [yes/no]:y
Related Commands
2.2 add-rack
2.6 del-shelf
Syntax
del-shelf [rackno number1 ] shelfno number2
Function
This command deletes a shelf.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete shelf 1:
ZXAN(config)#del-shelf shelfno 1
Confirm to delete shelf? [yes/no]:y
2-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
2.3 add-shelf
2.7 qry
Syntax
qry [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function
This command determines changeover conditions of the active main control card.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
ZXAN#qry
MP is ready to changeover!
Related Commands
None
2.8 reboot
Syntax
reboot [rackno number1 ] [shelfno number2 ]
Function
This command reboots an OLT.
2-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to reboot an OLT:
ZXAN#reboot
Related Commands
None
2.9 reset-card
Syntax
reset-card [rackno number1 ] [shelfno number2 ] slotno number3 [subcard number4 ]
Function
This command resets a card.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
number4
Sub-card number
Range: 02
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
2-7
SJ-20130118100307-010|2013-02-28 (R1.0)
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.8 reboot
2.10 set-pnp
Syntax
set-pnp name1
Function
This command enables or disables Plug and Play (PnP) for a card.
Parameters
Parameter
Description
Value
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
ZXAN(config)#set-pnp enable
Related Commands
None
Function
This command displays information about a configured card.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about a configured card:
ZXAN#show card
HardVer SoftVer
Status
------------------------------------------------------------------------------1
PRWG
10
SCXL
11
SCXL
SCXL
HWONLINE
OFFLINE
101100
V1.2.5
INSERVICE
Related Commands
2.1 add-card
2.4 del-card
Function
This command displays information about a configured shelf.
2-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about a configured shelf:
ZXAN#show shelf rackno 1 shelfno 1
Rack
Shelf
ShelfType
ConnectId
CleiCode
Serial-Number
--------------------------------------------------------------------------------
ETSI_SHELF
BVM5Z00GRA
13132132
Related Commands
2.3 add-shelf
2.6 del-shelf
Function
This command displays system monitoring information.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
2-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display system monitoring information about a
specified card:
ZXAN(config)#show system-monitor slotno 7
Loc
Cfg
Real
Reboot
------------------------------------------------------------------------------1/1/7
GTGO
disable
none
75
disable
Related Commands
None
2.14 swap
Syntax
swap [rackno number1 ] [shelfno number2 ] [slotno number3 ]
Function
This command switches to the active main control card forcedly.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
2-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to switch to the active main control card forcedly when
both active and standby main control cards are online:
ZXAN#swap rackno 1 shelfno 1 slotno 10
Confirm to master swap? [yes/no]:y
Related Commands
None
Function
This command sets the detection threshold of an endless-loop.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
number4
Treshold of an endless-loop
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A task will be regarded as an endless-loop if the CPU usage of the endless-loop exceeds
the threshold value.
Examples
The following example shows how to set the CPU usage threshold of slot 2:
ZXAN(config)#system-monitor endless-loop duration slot 2 value 70
Related Commands
2.13 show system-monitor
2-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the endless-loop reboot strategy of a task.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
name1
Configuration strategy
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the endless-loop reboot strategy of slot 2:
ZXAN(config)#system-monitor endless-loop reboot slot 2 enable
Related Commands
2.13 show system-monitor
Function
This command configures the Network Element (NE) strategy when a task is suspended.
2-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
name1
Configuration strategy
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the NE strategy when a task is suspended.
In this example, the cards in slot 2 are not rebooted when all the tasks are suspended.
ZXAN(config)#system-monitor task-suspend-reboot slot 2 none
Related Commands
2.13 show system-monitor
Function
This command enables or disables a watchdog.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
name1
Configuration switch
2-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to disable the watchdog in slot 2:
ZXAN(config)#system-monitor watchdog slot 2
disable
Related Commands
2.13 show system-monitor
Function
This command configures the dongle detection duration.
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
number4
Duration
Range: 160
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the dongle detection duration of slot 2 as
3 minutes:
2-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
2.13 show system-monitor
2-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 3
Fan Management
Table of Contents
fan control fixed-speed ...............................................................................................3-1
fan control temp_level ................................................................................................3-2
fan high-threshold ......................................................................................................3-2
fan speed ...................................................................................................................3-3
show fan ....................................................................................................................3-4
show temperature ......................................................................................................3-5
Function
This command switches the fan control mode to fixed-speed mode.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Two modes are available for controlling the fans:
temperature-based control mode.
Examples
The following example shows how to switch the fan control mode to fixed-speed mode:
ZXAN(config)#fan control fixed-speed
Related Commands
3.5 show fan
3-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command switches the fan control mode to temperature-based control mode.
Parameters
Parameter
Description
Value
number1
0C60C
number2
5C65C
10C70C
15C75C
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Two modes are available for controlling the fans:
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:
ZXAN(config)#fan control temp_level 10 20 30 40
Related Commands
3.5 show fan
3-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets a high-temperature threshold for the fan control card.
Parameters
Parameter
Description
Value
number1
High-temperature threshold
60C 80C
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A high-temperature alarm occurs when the temperature of the fan control card exceeds
this threshold.
Examples
The following example shows how to set a high-temperature threshold to 60C:
ZXAN(config)#fan high-threshold 60
Related Commands
3.5 show fan
Function
This command sets the speed level of a fan.
Parameters
Parameter
Description
Value
number1
04
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
For the fan speed configuration, the speed of all the fans is configured by default.
3-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example sets the speed of all the fans to level 1.
ZXAN(config)#fan speed 1
Related Commands
3.5 show fan
Function
This command displays the information of all fans.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of all fans:
ZXAN#show fan
FanControlType
: fixed-speed
FanSpeedLevelPercent
: 25%
HighTemperatureThreshold
: 60(Celsius scale)
35%
50%
75%
Environment Temperature
: 60 (Celsius scale)
HighTemperatureProtection
: Threshold
: online
Filter Status
: normally
Fan SN
: Invalid.
: N/A.
: N/A.(Celsius scale)
RestartTime: N/A.(Minute)
3-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Speed
------------------------------------------1
Related Commands
None
Function
This command displays the temperature information of the cards.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
None
Related Commands
None
3-5
SJ-20130118100307-010|2013-02-28 (R1.0)
3-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 4
Version Management
Table of Contents
auto-backup period.....................................................................................................4-1
download....................................................................................................................4-2
file-server ...................................................................................................................4-3
manual-backup...........................................................................................................4-4
patch active................................................................................................................4-5
patch deactive ............................................................................................................4-6
show auto-backup period configure ............................................................................4-7
show auto-backup progress........................................................................................4-7
show compound-version.............................................................................................4-8
show file-server ..........................................................................................................4-9
show patch-running ..................................................................................................4-11
show patch-saved ....................................................................................................4-11
show sync-status......................................................................................................4-12
show updatecpld ......................................................................................................4-13
show version-running ...............................................................................................4-14
show version-saved..................................................................................................4-15
swapver ...................................................................................................................4-16
sync-file....................................................................................................................4-16
update-boot..............................................................................................................4-17
update-cpld ..............................................................................................................4-18
upload ......................................................................................................................4-19
Function
This command enables automatic backup and sets the start time and interval.
4-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Start time
name2
Month
number1
Day
131
number2
Year
20012098
number3
Interval, in hours
18760
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set an automatic backups of all types from
2011-1-5 15:00:00 every one hour:
ZXAN(config)#auto-backup period all 15:00:00 jan 5 2011 interval 1
Related Commands
4.1 auto-backup period
4.2 download
Syntax
download name1 name2 [name3 ]
Function
This command downloads files. The download mode can be *.* or *.suff.
4-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
name2
132 characters
downloaded
name3
Download protocol
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to download the version files of the main control card:
Related Commands
None
4.3 file-server
Syntax
file-server name1 name2 server-index number1 ipaddress ip_addr1 name3 [path name4 ] user
name5 password name6
no file-server name1 name2 server-index number1
Function
This command configures the file servers for automatic backup and manual backup.
4-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Backup mode
name2
number1
Server index
12
ip_addr1
Server IP address
name3
Protocol
name4
Path
1255 characters
name5
User name
132 characters
name6
Password
132 characters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A file server must be configured before an automatic or manual backup.
Examples
The following example shows how to set the file server for automatically backing up all file
types. In this example, the server IP address is 136.1.10.200, server index is 1, FTP is
used, relative path is backup, user name is zte, and password is zte.
ZXAN(config)#file-server auto-backup all server-index 1 ipaddress 136.1.10.200 ftp path backup user z
Related Commands
4.1 auto-backup period
manual-backup
4.10 show file-server
4.4 manual-backup
Syntax
manual-backup name1
Function
This command implements manual backup.
4-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Mode
Privileged mode: ZXAN#
Usage Guidelines
Before manual backup, set the backup server first.
Examples
The following example shows how to manually backup configuration file:
ZXAN#manual-backup cfg
Related Commands
file-server manual-backup
Function
This command runs the specified patch. The patch is activated immediately and the status
changes to activated.
Parameters
Parameter
Description
Value
name1
Patch name
132 characters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to activate a patch:
4-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
4.11 show patch-running
4.12 show patch-saved
Function
This command stops the specified patch. The patch is deactivated immediately and the
status changes to deactivated.
Parameters
Parameter
Description
Value
name1
Patch name
132 characters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to deactivate a patch:
ZXAN#patch deactive SCXLV10T7_r2.pat
Start deactive patch (SCXLV10T7_r2.pat)
Deactive patch (SCXLV10T7_r2.pat)
Related Commands
4.11 show patch-running
4.12 show patch-saved
4-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the automatic backup configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the automatic backup configuration:
ZXAN#show auto-backup period configure
Type
Enable
Start-time
Interval(hours)
--------------------------------------------------cfg
enable
2011-02-12 14:46:00
log
enable
2011-02-12 14:46:00
img
enable
2011-02-12 14:46:00
Related Commands
4.1 auto-backup period
Function
This command displays the backup progress.
4-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Backup type
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the progress of automatic backup progress:
ZXAN#show auto-backup progress manual
FileType
: img
BackupStatus
StartTime
: 2012-04-22 11:36:52
TotalFiles
: 15
SuccessFiles
: 6
CurrFileName
: SCXL.MVR
CurrFileProgress : 12
Related Commands
None
Function
This command displays the compound version file information.
Parameters
Parameter
Description
Value
name1
132 characters
Mode
Any mode except user mode
4-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the compound version file:
ZXAN#show compound-version SCGL.FW
FileName
FileLe
------------------------------------------------------------
scgl.bit.z
BIN
2008-11-27 16:29:50
259426
scgl.jbc.z
BIN
2008-11-27 16:29:50
26929
ZXAN#
Related Commands
4.2 download
Function
This command displays the information about a file server.
Parameters
Parameter
Description
Value
name1
Server type
Mode
Any mode except user mode
Usage Guidelines
None
4-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display the configuration of the automatic backup file
server:
ZXAN#show file-server auto-backup
FileType
: Cfg
ServerIndex : 1
ProtocolType: Ftp
Username
: target
Password
: ********
Path
: backup
FileType
: Cfg
Server-IpAddr: 10.63.196.70
ServerIndex : 2
Not configuration
FileType
: Log
ServerIndex : 1
ProtocolType: Ftp
Username
: target
Password
: ********
Path
: backup
FileType
: Log
Server-IpAddr: 10.63.196.70
ServerIndex : 2
Not configuration
FileType
: Img
ServerIndex : 1
ProtocolType: Ftp
Username
: target
Password
: ********
Path
: backup
FileType
: Img
Server-IpAddr: 10.63.196.70
ServerIndex : 2
Not configuration
Related Commands
file-server auto-backup
file-server manual-backup
4-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the operating status of the patches in the system.
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the operating status of the patches in the
system:
ZXAN#show patch-running
Related Commands
4.12 show patch-saved
Function
This command displays the saved patches that are available to be activated.
Parameters
None
4-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the saved patches:
ZXAN#show patch-saved
Related Commands
4.12 show patch-saved
Function
This command displays the file synchronization status.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the file synchronization status:
ZXAN#show sync-status
Filename
Status
------------------------------------------------
4-12
SJ-20130118100307-010|2013-02-28 (R1.0)
100
scxn.fw
100
scxn0.mvr
100
Related Commands
4.18 sync-file
Function
This command displays the CPLD update information.
In the update information, NextRebootUpdate is the update flag, YES indicates CPLD
update is implemented during next reboot, NO indicates that CPLD is not implemented
during next reboot, LastUpdateResult is the update status flag, SUCCESS indicates the
previous reboot succeeds, FAIL indicates that the previous reboot fails.
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to sisplay the CPLD update information:
4-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the information about the versions that are running on all cards in
a shelf.
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
122
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the versions that are
running on all cards in shelf 1:
ZXAN#show version-running
PhyLoc
FileType
VerType
VerTag
BuildTime
VerLength
-------------------------------------------------------------------------------1/1/11
SCXL
MVR
V1.2.5
1/1/11
SCXL
BT
V1.0.0
Related Commands
4.2 download
4-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information about the software version files saved in a card.
Parameters
Parameter
Description
Value
master
slave
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the version files saved
in the main control card:
VerType VerTag
BuildTime
Length
Active
-------------------------------------------------------------------------------1/1/11 cick.fw
FW
V1.2.3T1O
1/1/11 cick.mvr
MVR
V1.2.3
1/1/11 ctla.fw
FW
V1.2.3
1/1/11 ctla.mvr
MVR
V1.2.3
1/1/11 ctub.mvr
MVR
V1.2.3
1/1/11 scxl0.mvr
MVR
V1.2.5
1/1/11 scxl1.mvr
MVR
V1.2.5
Related Commands
None
4-15
SJ-20130118100307-010|2013-02-28 (R1.0)
4.17 swapver
Syntax
swapver
Function
This command specifies the version file to be started. It can be used to swap between the
active and standby versions.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to swap the version file:
ZXAN#swapver
Swap active version successfully.
Related Commands
None
4.18 sync-file
Syntax
sync-file name1 [name2 ]
Function
This command synchronizes the files between main and backup card. If the directory is
not specified, all files are synchronized. This command is an asynchronous command and
the synchronization status can be checked through the show sync-status command.
4-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Directory name
name2
File name
132 characters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to synchronize the cfg directory:
ZXAN#sync-file cfg
Related Commands
None
4.19 update-boot
Syntax
update-boot [rackno number1 ] [shelfno number2 ] slotno number3
Function
This command updates the boot version file and write it into bootrom.
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
4-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to update the boot version file of a card:
ZXAN#update-boot slotno 7
Confirm to update boot? [yes/no]:yes
Related Commands
None
4.20 update-cpld
Syntax
update-cpld [rackno number1 ] [shelfno number2 ] slotno number3 swtval number4
Function
This command sets the update flag of cpld version file.
Parameters
Parameter
Description
Value
number1
Rack number
13
number2
Shelf number
13
number3
Slot number
022
number4
Configuration switch
01
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to set the update flag of cpld version file:
ZXAN#update-cpld slotno 7 swtval 1
Cpld update flag is set successfully
Related Commands
None
4-18
SJ-20130118100307-010|2013-02-28 (R1.0)
4.21 upload
Syntax
upload name1 name2 [{ftp |sftp |name3 [{ftp |sftp } ] } ]
Function
This command uploads files through FTP or SFTP.
Parameters
Parameter
Description
Value
name1
name2
132 characters
ftp
sftp
name3
132 characters
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to upload the version files of the main control card:
Related Commands
None
4-19
SJ-20130118100307-010|2013-02-28 (R1.0)
4-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 5
5.1 action
Syntax
action name1
Function
This command specifies a CPE version management action.
5-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
action
Mode
CPE-TASK mode
Usage Guidelines
One of the following actions can be specified:
l
l
l
l
l
Examples
The following example shows how to specify a CPE version management action:
ZXAN(cpe-task)#action update-and-reboot
Related Commands
None
Function
This command aborts the current version management action on a CPE.
Parameters
Parameter
Description
Value
name1
CPE type
interface1
Interface number
name2
CPE list
5-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to abort the version management action on CPE 1 that
is connected to gpon-olt_1/2/1:
ZXAN#cpe abort gpon-olt_1/2/1 cpe 1
ZXAN#
Related Commands
None
Function
This command activates the version of a CPE.
Parameters
Parameter
Description
Value
name1
CPE type
interface1
Interface number
name2
CPE list
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to activate the version of CPE 1 that is connected to
the interface gpon-olt_1/2/1:
5-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command sets the version of a CPE as the default boot version.
Parameters
Parameter
Description
Value
name1
CPE type
interface1
Interface number
name2
CPE list
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to set the version of CPE 1 that is connected to the
interface gpon-olt_1/2/1 as the default boot version:
ZXAN#cpe commit gpon-olt_1/2/1 1
ZXAN#
Related Commands
None
5-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command starts CPE task configuration mode.
Parameters
Parameter
Description
Value
name1
Task name
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to start CPE task configuration mode:
ZXAN(config)#cpe task test1
ZXAN(cpe-task)#
Related Commands
None
Function
This command downloads a version file to a CPE.
Parameters
Parameter
Description
Value
name1
name2
CPE type
5-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
interface1
Interface number
name3
CPE list
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to download a version file to CPE 1 that is connected
to the interface epon-olt_1/10/3:
ZXAN#cpe update f460914.bin epon-olt_1/10/3 1
ZXAN#
Related Commands
None
Function
This command updates the version of a CPE and reboots the CPE.
Parameters
Parameter
Description
Value
name1
name2
CPE type
interface1
Interface number
name3
CPE list
Mode
Privileged mode: ZXAN#
5-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to update the version of CPE 1 that is connected to the
interface epon-olt_1/2/1 and reboots CPE 1:
ZXAN#cpe update-and-reboot f460914.bin epon-olt_1/2/1 1
ZXAN#
Related Commands
None
Function
This command downloads a version to a CPE and sets the version as the default version.
Parameters
Parameter
Description
Value
name1
name2
CPE type
interface1
Interface number
name3
CPE list
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to download a version file to CPE 1 that is connected
to the interface epon-olt_1/10/3 and set this version as the default:
ZXAN#cpe update-commit f460914.bin epon-olt_1/10/3 1
ZXAN#
5-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command updates the version of a CPE.
Parameters
Parameter
Description
Value
name1
name2
CPE type
interface1
Interface number
name3
CPE list
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command downloads a version to the specified CPE. The downloaded version is
activated and set as the default version upon the next logon of the CPE.
Examples
The following example shows how to update the version of CPE 1 that is connected to the
interface epon-olt_1/10/3:
ZXAN#cpe update-reonline f460914.bin epon-olt_1/10/3 1
ZXAN#
Related Commands
None
5.10 description
Syntax
description name1
5-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command adds a description for a CPE task.
Parameters
Parameter
Description
Value
name1
Task description
Mode
CPE-TASK mode
Usage Guidelines
None
Examples
The following example shows how to add a description for a CPE task:
ZXAN(cpe-task)# description test
Related Commands
None
5.11 equipment-type
Syntax
equipment-type name1
Function
This command specifies the actual equipment type of CPE in a task.
Parameters
Parameter
Description
Value
name1
Mode
CPE-TASK mode
Usage Guidelines
Enter the actual equipment type in this command, such as F460 or F420.
Do not enter the configured equipment type in this command.
5-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to specify the actual equipment type:
ZXAN(cpe-task)# equipment-type f460g
Related Commands
None
5.12 match-vertag
Syntax
match-vertag name1 name2
Function
This command compares the version numbers of CPEs with the benchmark version
number.
Parameters
Parameter
Description
Value
name1
Matching rule
name2
Mode
CPE-TASK mode
Usage Guidelines
This command only compares the current vertag string of a CPE with the vertag string
specified in the command.
The matching rule equal or unequal is recommended depending on the CPE version
used in the network. Do not use above or below.
Examples
The following example shows how to compare version numbers
ZXAN(cpe-task)# match-vertag unequal v1.0
Related Commands
None
5-10
SJ-20130118100307-010|2013-02-28 (R1.0)
5.13 mode
Syntax
mode name1
Function
This command configures the task execution mode.
Parameters
Parameter
Description
Value
name1
Task mode
Mode
CPE-TASK mode
Usage Guidelines
None
Examples
The following example shows how to configure the task mode:
ZXAN(cpe-task)# mode both
Related Commands
None
5.14 parallel-limitation
Syntax
parallel-limitation number1
Function
This command limits the maximum number of CPEs that can be concurrently updated by
a task for a card.
Parameters
Parameter
Description
Value
number1
01024
Mode
CPE-TASK mode
Usage Guidelines
By default, a maximum of 64 CPEs can be concurrently updated for a card.
Examples
The following example shows how to set the maximum number of concurrently-updated
CPEs:
ZXAN(cpe-task)# parallel-limitation 16
Related Commands
None
5.15 range
Syntax
range {ne |port interface1 }
Function
This command configures an effective range for a task.
Parameters
Parameter
Description
Value
ne
Port number.
Mode
CPE-TASK mode
Usage Guidelines
To add multiple ports to an effective range, execute the range port command multiple times
and specify one required port each time.
5-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
l
To allow version updates of all CPEs connected to the NE, enter the following
command:
ZXAN(cpe-task)# range ne
gpon-olt_1/5/1
gpon-olt_1/5/2
Related Commands
None
5.16 service-type
Syntax
service-type name1
Function
This command configures a service type for a task.
Parameters
Parameter
Description
Value
name1
Mode
CPE-TASK mode
Usage Guidelines
None
Examples
The following example shows how to set the service type to EPON:
ZXAN(cpe-task)# service-type epon
Related Commands
None
5-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information of a CPE.
Parameters
Parameter
Description
Value
interface1
Interface number
name1
Specified CPE
Mode
All modes except user mode
Usage Guidelines
The CPE information contains the vender name, device name, and the status of the current
version. To query the information of multiple CPEs at a time, set a CPE list before using
this command.
Examples
The following example shows how to display the current information of a CPE:
ZXAN#show cpe information epon-olt_1/10/3 1
epon-onu_1/10/3: 1
CpeVendorName : ZTE
CpeType
: F460
Region 1
Vertag
: V1.0.1P1T3
Commited
: Yes
Activated
: Yes
Valid
: Yes
Region 2
Vertag
Commited
: No
Activated
: No
Valid
: No
Related Commands
None
5-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the summary of manual updates or updates initiated by tasks.
Parameters
Parameter
Description
Value
task
Task name.
manual
updates.
operating
being updated.
Locations of CPEs that failed to
fail
be updated.
success
successfully updated.
waiting
update.
Mode
All modes except user mode
Usage Guidelines
This command shows the brief information of manual updates or updates initiated by a
task, including the locations of CPEs that are being updated, are waiting for update, are
successfully updated, and failed to be updated.
To show the summary of updates initiated by command lines, which are also manual
updates, use the manual option in this command.
Examples
l
The following example shows how to display the summary of current manual updates:
ZXAN#show cpe summary-of manual
Operating:
Waiting:
5-15
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example shows how to display the summary of updates initiated by task
abc:
ZXAN#show cpe summary-of task abc
Operating:
Waiting:
Fail:
Success:
epon-onu_0/10/3: 1
Related Commands
None
Function
This command displays the update information of a CPE.
Parameters
Parameter
Description
Value
interface1
Interface number
name1
Specified CPE
Mode
All modes except user mode
Usage Guidelines
The update information contains the action being performed, update process, and failure
reason. An RU list can be set for querying the update information of multiple CPEs.
Examples
The following example shows how to display the update information of a CPE:
ZXAN#show cpe update-status epon-olt_1/10/3 1
epon-onu_1/10/3: 1
5-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Taskname
Manual
Action
Update
Status
In-progress
Progress
: 4%
Failreason
None
Committime
Related Commands
None
Function
This command aborts a CPE task.
Parameters
None
Mode
CPE-TASK mode
Usage Guidelines
None
Examples
The following command shows how to abort a CPE task:
ZXAN(cpe-task)# task abort
Related Commands
None
5-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command adds a CPE task.
Parameters
None
Mode
CPE-TASK mode
Usage Guidelines
This command can be used to add a CPE task only after all required parameters are
configured.
Examples
The following example shows how to add a CPE task:
ZXAN(cpe-task)# task add
Related Commands
None
Function
This command deletes a CPE task.
Parameters
None
Mode
CPE-TASK mode
5-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to delete a CPE task:
ZXAN(cpe-task)# task delete
Related Commands
None
Function
This command restarts a CPE task.
Parameters
None
Mode
CPE-TASK mode
Usage Guidelines
None
Examples
The following example shows how to restarts a CPE task:
ZXAN(cpe-task)# task restart
Related Commands
None
5.24 vendor-name
Syntax
vendor-name name1
5-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command specifies the vendor name for a CPE task.
Parameters
Parameter
Description
Value
name1
Vendor name
Mode
CPE-TASK mode
Usage Guidelines
To obtain the vendor name of a CPE, use the show remote-unit information command.
Examples
The following example shows how to specify a vendor name for a CPE task:
ZXAN(cpe-task)# vendor-name zte
Related Commands
None
5.25 version-file
Syntax
version-file name1
Function
This command specifies the name of the version file for an update task.
Parameters
Parameter
name1
Description
Value
file
Mode
CPE-TASK mode
Usage Guidelines
None
5-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to specify the name of the version file required for a
CPE update task:
ZXAN(cpe-task)# version-file f460.bin
Related Commands
None
5-21
SJ-20130118100307-010|2013-02-28 (R1.0)
5-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 6
User Management
Table of Contents
exit .............................................................................................................................6-1
line console absolute-timeout .....................................................................................6-2
line console idle-timeout .............................................................................................6-3
line telnet absolute-timeout.........................................................................................6-4
line telnet access-class...............................................................................................6-4
line telnet idle-timeout ................................................................................................6-5
line telnet users ..........................................................................................................6-6
login ...........................................................................................................................6-7
login-authentication-type ............................................................................................6-8
login-authorization-type ..............................................................................................6-8
logout .........................................................................................................................6-9
show history .............................................................................................................6-10
show telnet...............................................................................................................6-11
show terminal ...........................................................................................................6-12
telnet ........................................................................................................................6-12
telnet mng ................................................................................................................6-13
telnet onu .................................................................................................................6-14
6.1 exit
Syntax
exit
Function
This command exits the device or returns to the previous mode.
Parameters
None
Mode
Privileged mode, user mode
6-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
In user and privileged modes, execute this command to exit the device. In other modes,
execute this command to return to the previous mode.
Examples
The following example shows how to exit global configuration mode and return to the
privileged mode:
ZXAN(config)#exit
ZXAN#
Related Commands
6.11 logout
6.8 login
Function
This command sets the total use time of the serial-port terminal. After the time expires,
the serial-port terminal session is closed.
Parameters
Parameter
Description
Value
number1
110000
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used in combination with the line console idle-timeout command to
close a serial-port terminal session after a period.
To cancel the setting, use the no form of this command.
6-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the total use time of the serial-port terminal to 30
minutes:
ZXAN(config)#line console absolute-timeout 30
Related Commands
6.3 line console idle-timeout
Function
This command sets the idle time of the serial port terminal. After this command is executed,
if there is no keyboard input in the specified period, the serial-port terminal session is
closed.
Parameters
Parameter
Description
Value
number1
11000
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used in combination with the line console absolute-timeout command
to close a serial-port terminal session after a period.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the idle time of the serial port terminal to 30
minutes:.
ZXAN(config)#line console idle-timeout 30
Related Commands
6.2 line console absolute-timeout
6-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the total use time of the Telnet terminal. After the time expires, the
Telnet session is closed and the terminal is disconnected.
To cancel the setting, use the no form of this command.
Parameters
Parameter
Description
Value
number1
110000
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used in combination with the line telnet idle-timeout command to
close a Telnet terminal session after a period.
Examples
The following example shows how to total use time of the Telnet terminal to 30 minutes:
ZXAN(config)#line telnet absolute-timeout 30
Related Commands
6.6 line telnet idle-timeout
6-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command specifies the IP addresses that can log in to the Telnet terminal. By default,
all login addresses are allowed.
Parameters
Parameter
Description
Value
number1
199
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to specify the login IP addresses to access the Telnet
terminal:
ZXAN(config)#line telnet access-class 2
Related Commands
42.4 acl standard
Function
This command sets the idle time of the Telnet terminal. After this command is executed,
if there is no keyboard input in the specified period, the Telnet terminal session is closed
and the terminal is disconnected.
Parameters
Parameter
Description
Value
number1
11000
6-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command can be used in combination with the line telnet absolute-timeout command
to close a Telnet terminal session after a period.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the idle time of the Telnet terminal to 30 minutes:
ZXAN(config)#line telnet idle-timeout 30
ZXAN(config)#
Related Commands
6.4 line telnet absolute-timeout
Function
This command sets the total number of logged-in users through Telnet.
Parameters
Parameter
Description
Value
number1
116
through Telnet
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the onlie users reach the maximum number, the system prompts Logged-on user is full
when a new user logs in.
If the number needs modification, the new number must be larger than
the number of current online users.
Otherwise, the system prompts
%Code 5017: Configure error, the number of online user is larger than configuration.
6-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to the total number of logged-in users through Telnet
to 4:
ZXAN(config)#line telnet users 4
The following example shows that the system prompts error when the total number of
allowed logged-in users is set to 2 whereas the number of current online users is 4:
ZXAN(config)#line telnet users 2
%Code 5017: Configure error, the number of online user is larger than configuration.
ZXAN(config)#
Related Commands
None
6.8 login
Syntax
login
Function
This command changes a login user name.
Parameters
None
Mode
User mode
Usage Guidelines
The user name and password need to be entered to log in to the NE. There is no echo on
the screen when you type the password.
Examples
The following example shows how to log in to the device as the user zxan:
ZXAN>login
Username:admin
Password:
ZXAN#
6-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
6.11 logout
6.9 login-authentication-type
Syntax
login-authentication-type {local |radius number1 |tacacs+ }
Function
This command specifies the user authentication mode for Telnet login. The default is local
authentication.
Parameters
Parameter
Description
Value
local
Local authentication
radius
RADIUS authentication
number1
110
number
tacacs+
TACACS+ authentication
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set local authentication for Telnet login:
ZXAN(config)#user-authentication-type local
Related Commands
6.15 telnet
6.10 login-authorization-type
Syntax
login-authorization-type {local |tacacs+ }
6-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command specifies the user authorization type for Telnet login. The default is local
authorization.
Parameters
Parameter
Description
Value
local
Local authorization
tacacs+
TACACS+ authorization
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
For the RADIUS authentication mode, you only need to set the login-authorization-type
command to radius and the authorization type needs no configuration.
Examples
The following example shows how to set the authorization type to local authorization:
ZXAN(config)#login-authorization-type local
Related Commands
6.15 telnet
6.11 logout
Syntax
logout
Function
This command logs out of the NE.
Parameters
None
Mode
User mode
Usage Guidelines
After this command is executed, the device is disconnected.
6-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to log out of the NE from the serial port:
ZXAN>logout
Related Commands
6.8 login
Function
This command displays a record of the commands that have been entered.
Parameters
None
Mode
Any mode
Usage Guidelines
A maximum of the last ten commands can be displayed.
Examples
The following example shows how to show the command history:
ZXAN#show history
who
show ip route
en
Related Commands
None
6-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the configuration information of the Telnet terminal.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
The displayed Telnet terminal information includes:
1.
2.
3.
4.
Total user time and idle time of the login serial port terminal
Total use time and idle time of the Telnet terminal
Maximum number of users allowed to log in to the NE through Telnet
Allowed login IP addresses, if configured
Examples
The following example shows how to display the configuration information of the Telnet
terminal:
ZXAN(config)#show telnet
line console idle-timeout 3
line console absolute-timeout 1440
line telnet idle-timeout 3
line telnet absolute-timeout 1440
line telnet access-class 1
line telnet users 16
ZXAN(config)#
Related Commands
None
6-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the login terminal information.
Parameters
None
Mode
Any mode
Usage Guidelines
The displayed terminal information includes the terminal ID, type, window size, and login
restriction window.
Examples
The following example shows how to display the login terminal information:
ZXAN#show terminal
Line 66, Location: "", Type: "ANSI"
Length: 25 lines, Width: 80 columns
Telnet idle-timeout is: 00:03:00
Telnet absolute-timeout is: 1d00h00m
Baud rate (TX/RX) is 9600/9600
Capabilities: none
Time since activation: 00:01:57
Editing is enabled.
History is enabled, history size is 10.
Telnet access-class is: EMPTY!
ZXAN#
Related Commands
None
6.15 telnet
Syntax
telnet ip_addr1 [number1 ]
6-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command opens a Telnet connection.
Parameters
Parameter
Description
Value
ip_addr1
Destination IP address
number1
065535
Mode
User mode
Usage Guidelines
This command can be used to log in to other devices or the Telnet server.
Examples
The following example shows how to telnet to the server with the IP address 168.1.200.77:
ZXAN#telnet 168.1.200.77
The following example shows how to telnet to the server whose IP address is
100.100.100.155 and the port number is 23:
ZXAN#telnet 100.100.100.155 23
Trying 100.100.100.155 ...Open
Related Commands
None
Function
This command enables a telnet connection from a management interface.
6-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
Destination IP address, in
Mode
User mode
Usage Guidelines
This command is used to log in to other devices or the Telnet server from a management
port.
Examples
The following example shows how to telnet to the server 168.1.200.77 from the
management interface:
ZXAN#telnet mng 168.1.200.77
ZXAN#
Related Commands
None
Function
This command manages the ONU remotely on the OLT.
Parameters
Parameter
interface1
Description
Value
of epon-onu_shelf/slot/olt:onu or
gpon-onu_shelf/slot/olt:onu, where shelf is
the shelf No., slot is the slot No., olt is the
interface number, and onu is the ONU interface
number
6-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to telnet to an ONU:
ZXAN#telnet onu gpon-onu_1/3/4:1
Related Commands
None
6-15
SJ-20130118100307-010|2013-02-28 (R1.0)
6-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 7
7.1 auto-write
Syntax
auto-write {name1 |time1 {everyday |name2 number1 number2 } }
Function
This command configures automatic saving of configuration files.
Parameters
Parameter
Description
Value
name1
Enables or disables
enable or disable
everyday
Month.
number1
Day.
131
number2
Year.
20012098
Mode
Configuration mode: ZXAN(config)#
7-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
Either of the following automatic saving modes can be configured:
l
l
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
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)#
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)#
The following example shows how to set a schedule for automatic saving of
configuration files that starts the saving 10 hours later after the system configuration
changes:
ZXAN(config)#auto-write delay 10
Related Commands
7.5 show auto-write
7.2 copy
Syntax
copy {master |slave } name1 name2 {master |slave } name3 name4
Function
This command copies a file in a directory on an active or standby card and pastes the file
in the same or another directory on this card.
7-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
master
slave
name1
Source directory
name2
name3
Destination directory
name4
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example copies starup.dat in the cfg directory on the slave main control
card and pastes the file in the cfg directory with a new name (startrun.bak):
ZXAN#copy slave cfg startrun.dat slave cfg startrun.bak
Related Commands
None
7.3 delete
Syntax
delete name1 name2
Function
This command deletes one or multiple files.
7-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Directory name
name2
File name
Mode
Privilege mode: ZXAN#
Usage Guidelines
This command deletes the same files on the standby card at the same time.
The wildcard (*) can be used in this command to delete all suff files (*.suff) or all files (*.*)
in a directory.
Examples
The following example shows how to delete the files in the cfg directory:
ZXAN#delete cfg *.*
deleting startrun.dat..
[Successfully]
deleting startrun.sav
[Successfully]
Related Commands
None
7.4 dir
Syntax
dir name1
Function
This command displays a list of files in a directory.
7-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Directory name
Mode
Privileged mode: ZXAN#
Usage Guidelines
If a standby card is configured, this command also displays the file information on the
standby card.
Examples
The following example shows how to display a list of files in the cfg directory:
ZXAN#dir cfg
Directory of /flash/cfg/
attribute
size
date
time
name
-rwx
9281
MAR-11-2010
14:25:32
startrun.sav
-rwx
9281
MAR-11-2010
14:25:32
startrun.dat
-rwx
9732
JAN-24-2001
23:09:42
172.17.104.200
-rwx
4096
MAR-08-2010
13:29:24
nvram.dat
Related Commands
None
Function
This command displays the configuration of the automatic saving function.
Parameters
None
7-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
This command displays the configuration of the automatic saving function, such as whether
the automatic saving of configuration files is enabled, and the automatic saving schedule.
Examples
The following example shows how to display the configuration of the automatic saving
function:
ZXAN(config)#show auto-write
auto-write enable
auto-write 12:00:00
everyday
ZXAN(config)#
Related Commands
7.1 auto-write
7.6 write
Syntax
write
Function
This command saves the configuration of the equipment.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
No set operation is allowed before the write operation is completed.
Examples
l
The following example shows how to save the configuration of the equipment:
ZXAN#write
Building configuration...
..[OK]
7-6
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example shows that an error message is displayed when a user attempts
to modify the host name of the equipment before the write operation is completed:
ZXAN(config)#hostname aaa
%Code 41006: This command is forbidden, because command "write" is executing.
ZXAN(config)#
Related Commands
7.7 write flash
Function
This command writes the equipment configuration to the flash memory.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
The configuration in the flash memory takes effect upon the next startup of the equipment.
Examples
The following example shows how to write the equipment configuration to the flash
memory:
ZXAN#write flash
Building configuration...
..[OK]
ZXAN#
Related Commands
7.6 write
7-7
SJ-20130118100307-010|2013-02-28 (R1.0)
7-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 8
SuperVLAN Commands
Table of Contents
arp-broadcast .............................................................................................................8-1
inter-subvlan-routing...................................................................................................8-2
interface .....................................................................................................................8-3
ip supervlan pool ........................................................................................................8-4
ip-pool-filter ................................................................................................................8-5
show supervlan ..........................................................................................................8-6
show supervlan ip-pool...............................................................................................8-6
subvlan ......................................................................................................................8-7
supervlan ...................................................................................................................8-8
supervlan inter-subvlan-routing ..................................................................................8-9
8.1 arp-broadcast
Syntax
arp-broadcast {enable |disable }
Function
This command enables or disables ARP broadcast from the super VLAN to all its
sub-VLANs.
Parameters
Parameter
enable
Description
Value
on sub-VLANs.
disable
on sub-VLANs.
Mode
Super VLAN interface mode
8-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
This command is to prevent the broadcast storm from decreasing the system processing
efficiency, and provide a configurable ARP broadcast function for users. The configuration
can be checked through the show running-config command on the super VLAN interface.
By default, ARP broadcast is disabled on all sub-VLANs/physical interfaces.
Examples
The following example shows how to enable ARP broadcast from super VLAN 1 to all its
sub-VLAN:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#arp-broadcast enable
Related Commands
None
8.2 inter-subvlan-routing
Syntax
inter-subvlan-routing {enable |disable }
Function
This command enables or disables routing between sub-VLANs.
Parameters
Parameter
Description
Value
enable
sub-VLANs
disable
sub-VLANs
Mode
Super VLAN interface mode
Usage Guidelines
The configuration can be checked through the show running-config command on the super
VLAN interface.
By default, routing between sub-VLANs are disabled.
8-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the routing between sub-VLANs on super
VLAN 1:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#inter-subvlan-routing enable
Related Commands
None
8.3 interface
Syntax
interface {byname name1 |interface1 }
no interface {byname name1 |interface1 }
Function
This command enters an interface mode, for example, uplink interface, PON interface, or
VLAN. It can also create a smart group, which is a link aggregation group, and enter the
smartgroup interface configuration mode.
Parameters
Parameter
Description
Value
name1
Interface name
interface1
Interface bias
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
In the smartgroup mode, use the no form of this command to delete the configured link
aggregation group.
Examples
The following example shows how to enter the uplink interface mode:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#
Related Commands
None
Function
This command binds a serial of IP addresses to a VLAN interface.
Parameters
Parameter
ip_addr1
Description
Value
decimal notation
ip_addr2
decimal notation
Mode
VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to bind the IP addresses from 192.168.1.1 to
192.168.1.128 to VLAN 4:
ZXAN(config)#vlan 4
Related Commands
8.7 show supervlan ip-pool
8-4
SJ-20130118100307-010|2013-02-28 (R1.0)
8.5 ip-pool-filter
Syntax
ip-pool-filter {enable |disable }
Function
This command enables or disables the super VLAN IP pool filtering function.
Parameters
Parameter
Description
Value
enable
filtering function
disable
Mode
supervlan interface mode
Usage Guidelines
After the super VLAN IP pool address segment is configured, if the received packet does
not comply with the legal address segment, the packet will be discarded. The configuration
can be check through the show running-config command on the super VLAN interface.
By default, the super VLAN IP pool filtering function is enabled.
Examples
The following example shows how to enable the super VLAN IP pool filtering function on
super VLAN 1:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#ip-pool-filter enable
Related Commands
8.4 ip supervlan pool
8.6 show supervlan
8-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the super VLAN configurations.
Parameters
Parameter
Description
Value
number1
Super VLAN ID
1255
Mode
Any mode except user mode
Usage Guidelines
If the super VLAN ID is not specified, the configurations of all super VLAN interfaces are
displayed.
Examples
The following example shows how to display the configurations of all super VLAN
interfaces:
ZXAN#show supervlan
SuperVLAN Inter-subvlan-routing Arp-broadcast Ip-pool-filter SubVLAN
-------------------------------------------------------------------1 enable disable disable 4,10
Related Commands
8.9 supervlan
8.10 supervlan inter-subvlan-routing
Function
This command displays all IP pools bound to the VLAN.
8-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to displays all IP pools bound to the VLAN:
ZXAN#show supervlan ip-pool
Session-no Address-begin Address-end SubvlanId SupervlanNum
1 192.168.1.1 192.168.1.128 4 0
Related Commands
8.4 ip supervlan pool
8.8 subvlan
Syntax
subvlan WORD1
no subvlan WORD1
Function
This command binds the VLANs to a specified super VLAN in batches.
Parameters
Parameter
Description
Value
WORD1
8-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Super VLAN interface mode
Usage Guidelines
To cancel the binding, use the no form of this command.
One VLAN belongs to one super VLAN. One super VLAN can bind a maximum of 4094
sub-VLANs.
The VLAN to be bound cannot have a layer-3 interface.
Examples
The following example shows how to bind VLANs 2-100 to super VLAN 1:
ZXAN(config)#interface supervlan1
ZXAN(config-if)#subvlan 2-100
Related Commands
8.6 show supervlan
8.9 supervlan
Syntax
supervlan number1
no supervlan
Function
This command binds a VLAN interface to a specified super VLAN.
Parameters
Parameter
Description
Value
number1
Super VLAN ID
1255
Mode
VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines
To delete the binding, use the no form of this command.
8-8
SJ-20130118100307-010|2013-02-28 (R1.0)
One VLAN belongs to one super VLAN. One super VLAN can bind a maximum of 4094
sub-VLANs. The super VLAN cannot have a layer-3 interface.
Examples
The following example shows how to bind VLAN 3 to super VLAN 1:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#supervlan 1
Related Commands
None
Function
This command enables or disables routing between sub-VLANs.
Parameters
Parameter
Description
Value
enable
sub-VLANs
disable
sub-VLANs
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configuration can be checked through the show running-config command on the super
VLAN interface.
By default, routing between sub-VLANs is enabled.
Examples
The following example shows how to enable routing between sub-VLANs:
ZXAN(config)#supervlan inter-subvlan-routing enable
8-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
8.6 show supervlan
8-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 9
Function
This command sets the default password used by an FTP client to access the FTP server.
Parameters
Parameter
Description
Value
name1
316 characters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The password is case sensitive.
Examples
The following example shows how to set the default FTP password to zte:
ZXAN(config)#ip ftp password zte
ZXAN(config)#
Related Commands
9.2 ip ftp username
9-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the default user name used by an FTP client to access the FTP server.
Parameters
Parameter
Description
Value
name1
116 characters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The characters allowed in user name are non-case sensitive letters, digits, and underscore.
Examples
The following example shows how to set the default FTP user name to zte:
ZXAN(config)#ip ftp username zte
ZXAN(config)#
Related Commands
9.1 ip ftp password
9-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 10
Alarm Management
Table of Contents
alarm........................................................................................................................10-1
alarm alarm-profile ...................................................................................................10-2
alarm confirm ...........................................................................................................10-3
alarm level-change ...................................................................................................10-4
alarm trap-confirm ....................................................................................................10-4
alarm-index ..............................................................................................................10-5
alarm-profile-apply....................................................................................................10-6
clear alarm counter...................................................................................................10-8
clear alarm pool........................................................................................................10-8
nms-hello-trap ..........................................................................................................10-9
nms-hello-trap interval ............................................................................................10-10
show alarm configure ............................................................................................. 10-11
show alarm counter ................................................................................................10-12
show alarm pool .....................................................................................................10-13
show alarm profile ..................................................................................................10-14
show alarm-level ....................................................................................................10-16
10.1 alarm
Syntax
alarm {enable |disable }
Function
This command enables or disables alarm management.
Parameters
Parameter
Description
Value
enable
disable
Mode
Configuration mode: ZXAN(config)#
10-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, alarm management is disabled.
Examples
l
Related Commands
10.12 show alarm configure
Function
This command creates an alarm profile used for alarm suppression and starts the alarm
profile configuration mode.
Parameters
Parameter
Description
Value
name1
created.
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Use this command to exit global configuration mode and enter alarm profile configuration
mode, and then configure the created alarm profile in alarm profile configuration mode.
Examples
The following example shows how to create an alarm profile with the name test:
ZXAN(config)#alarm alarm-profile test
10-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
10.6 alarm-index
10.7 alarm-profile-apply
10.15 show alarm profile
Function
This command enables alarm confirmation.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Examples
The following example shows how to enable alarm confirmation:
ZXAN(config)#alarm confirm
Related Commands
10.5 alarm trap-confirm
10.12 show alarm configure
10-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command modifies the alarm level corresponding to an alarm code.
Parameters
Parameter
Description
Value
number1
Alarm code
065534
name1
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
This command does not influence previously generated alarms and logs. After the alarm
level modification, alarms are generated with the new levels.
Examples
The following example shows how to modify the alarm level of the alarm code 33065 to
major:
ZXAN(config)#alarm level-change 33065 MAJOR
ZXAN(config)#show alarm-level 33065
AlarmCode
default-level
current-level
33065
critical
major
Related Commands
10.16 show alarm-level
10-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the maximum number of trap retransmissions and the retransmission
interval for alarm confirmation.
Parameters
Parameter
Description
Value
number1
Maximum number of
13
retransmissions
number2
Retransmission interval
160 seconds
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Examples
The following example shows how to set the maximum number of trap retransmissions to
3 and the retransmission interval to 20 seconds:
ZXAN(config)# trap-confirm retry 3 timeout 20
Related Commands
10.3 alarm confirm
10.12 show alarm configure
10.6 alarm-index
Syntax
alarm-index number1 code number2 status name1
no alarm-index number1
Function
This command adds an alarm suppression rule in an alarm profile.
10-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rule index
132
number2
Codes of alarms to be
165535
suppressed
name1
suppression or inverse
suppression
Mode
ALARM_PROFILE configuration mode
Usage Guidelines
l
l
l
l
Examples
l
The following example shows how to add a permanent suppression rule for all alarms:
ZXAN(config-almprofile)#alarm-index 1 code 65535 status NALARM
The following example shows how to add an inverse suppression rule for alarms with
the alarm code 33037:
ZXAN(config-almprofile)#alarm-index 2 code 33065 status NALARM-QI
Related Commands
10.2 alarm alarm-profile
10.7 alarm-profile-apply
10.15 show alarm profile
10.7 alarm-profile-apply
Syntax
alarm-profile-apply {system |shelf number1 [slot number2 ] |port interface1 |onu interface2 }
10-6
SJ-20130118100307-010|2013-02-28 (R1.0)
no alarm-profile-apply {system |shelf number1 [slot number2 ] |port interface1 |onu interface2 }
Function
This command configures the location where an alarm profile is applied, or the place where
the alarm profile works.
Parameters
Parameter
Description
Value
system
entire system.
number1
11
sources in shelf 0.
number2
0101
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
The following example shows how to apply the alarm profile to slot 3:
ZXAN(config-almprofile)#alarm-index 1 code 65535 status NALARM
ZXAN(config-almprofile)#alarm-profile-apply shelf 0 slot 3
The following example shows how to apply the alarm profile to all alarms with alarm
code 33065 in the entire system:
10-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
10.2 alarm alarm-profile
10.6 alarm-index
10.15 show alarm profile
Function
This command clears alarm statistics.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear alarm statistics:
ZXAN#clear alarm counter
Related Commands
10.13 show alarm counter
Function
This command clears alarms in the alarm pool.
Parameters
Parameter
Description
Value
number1
Alarm code.
165535
14294967295
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
The following example shows how to clear alarms with the alarm code 33065:
ZXAN#clear alarm pool alarmCode 33065
The following example shows how to clear alarms with the alarm event ID 5:
ZXAN#clear alarm pool alarmID 5
Related Commands
10.14 show alarm pool
10.10 nms-hello-trap
Syntax
nms-hello-trap {enable |disable }
Function
This command enables or disables the function to send heartbeat traps to the NMS.
10-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
enable
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enable the function to send heartbeat traps to the
NMS:
ZXAN(config)#nms-hello-trap enable
Related Commands
10.11 nms-hello-trap interval
Function
This command sets an interval to send heartbeat traps to the NMS.
Parameters
Parameter
Description
Value
number1
1600 seconds
to the NMS
Mode
Configuration mode: ZXAN(config)#
10-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
Set the trap interval after enabling the function to send of heartbeat traps.
Examples
The following example shows how to enable the function to send heartbeat traps to the
NMS and set the trap interval to 600 seconds:
ZXAN(config)#nms-hello-trap enable
ZXAN(config)#nms-hello-trap interval 600
Related Commands
10.10 nms-hello-trap
Function
This command displays the alarm management configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of alarm management
functions:
ZXAN(config)#show alarm configure
alarm enable
alarm confirm
nms-hello-trap disable
nms-hello-trap interval 120
alarm trap-confirm retry 3 timeout 30
ZXAN(config)#
10-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays alarm statistics.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display alarm statistics:
ZXAN#show alarm counter
alarmReport:
alarmConfirm:
alarmInvalidMsgType:
alarmInvalidReportType: 0
alarmInvalidLevel:
alarmInvaideMibOid:
alarmInvalidAlarmId:
alarmInvalidRecNum:
alarmLogFuncNull:
alarmIdNotExist:
alarmRecordExist:
alarmPoolFull:
alarmPoolOverflow:
alarmPoolInsOk:
alarmGetRegIndexFail :
alarmSendToRosSuc:
64
alarmSendTrapSuc:
alarmNullPointer:
64
10-12
SJ-20130118100307-010|2013-02-28 (R1.0)
alarmSendToRosFail:
alarmSendTrapFail:
alarmGetAlarmRegSuc:
64
alarmGetStrFuncSuc:
alarmGetAlarmRegFail:
alarmGetStrFuncFail:
900
alarmAddToPoolSuc:
alarmInformSendTrapSuc:
56
alarmAddToPoolFail:
alarmInformSendTrapFail: 0
alarmGetLogFuncSuc:
120
alarmGetByAlarmIdOk:
alarmGetLogFuncFail:
alarmGetByAlarmIdFail:
alarmRestoreDelSuc:
alarmBadTypeFromRos:
48
alarmRestoreDelFail:
alarmRecvFromRos:
alarmInformRecvFromRos: 56
alarmRestoreRecvFromRos: 3
alarmRecordUpdate:
56
alarmGetRegInfoFail:
alarmCreateReqFail:
alramBindValueFail:
alarmEncodeReqFail:
alarmAllocMemFail:
alarmUnsupportBindType: 0
alarmUnsupportMibVar:
alarmRecvDup:
alarmInformNotSendTrap:
Related Commands
10.8 clear alarm counter
Function
This command displays the information of alarms in the alarm pool.
10-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
14294967295
summary
number2
165535
Mode
All modes except user mode
Usage Guidelines
This command is used to query the information of current alarms in the system such as an
alarm with a specific alarm code, an alarm with a specific alarm ID, and all alarms in the
system.
Examples
The following example shows how to display the information of alarms in the alarm pool:
ZXAN#show alarm pool alarmCode 33037
ZXAN#show alarm pool alarmId 79
ZXAN#show alarm pool
Alarm records:
Alarm ID
: 79
Alarm Code
: 33037
Alarm Level : 0
Alarm Time
Related Commands
10.9 clear alarm pool
10-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays a list of all available alarm profiles or the configuration of a specific
alarm profile.
Parameters
Parameter
Description
Value
name1
displayed.
Mode
All modes except user mode
Usage Guidelines
None
Examples
l
The following example shows how to display a list of all available alarm profiles in the
system:
ZXAN(config-almprofile)#show alarm profile
alarm alarm-profile 11
alarm alarm-profile test
The following example shows how to display the configuration of a specific alarm
profile:
ZXAN(config-almprofile)#show alarm profile test
All the alarm profile item(s):
alarm-index 1 code 65535 status NALARM
Related Commands
10.2 alarm alarm-profile
10.6 alarm-index
10.7 alarm-profile-apply
10-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the settings of alarm severity level corresponding to a specific
alarm code.
Parameters
Parameter
Description
Value
number1
065534
Mode
All modes except user mode
Usage Guidelines
This command is used to query the severity level settings corresponding to a specific alarm
code, including the default severity level and the current severity level.
Examples
The following example shows how to display the severity level settings corresponding to
the alarm code 33065:
ZXAN(config-almprofile)#show alarm-level 33065
AlarmCode
default-level
current-level
33065
critical
critical
Related Commands
10.4 alarm level-change
10-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 11
Debugging Commands
Table of Contents
debug all ..................................................................................................................11-3
debug arp.................................................................................................................11-3
debug dhcp-option82 all ...........................................................................................11-4
debug dhcp-option82 data........................................................................................11-5
debug dhcp-option82 error .......................................................................................11-6
debug dhcp-option82 event ......................................................................................11-6
debug ip ...................................................................................................................11-7
debug ip destination .................................................................................................11-8
debug ip dhcp...........................................................................................................11-9
debug ip icmp...........................................................................................................11-9
debug ip icmp detail ............................................................................................... 11-10
debug ip interface................................................................................................... 11-11
debug ip ospf adj.................................................................................................... 11-12
debug ip ospf all ..................................................................................................... 11-13
debug ip ospf database-timer ................................................................................. 11-13
debug ip ospf events .............................................................................................. 11-14
debug ip ospf flood ................................................................................................. 11-15
debug ip ospf lsa-generation .................................................................................. 11-16
debug ip ospf nsf.................................................................................................... 11-17
debug ip ospf packet .............................................................................................. 11-17
debug ip ospf retransmission.................................................................................. 11-18
debug ip ospf spf.................................................................................................... 11-19
debug ip ospf spf external ...................................................................................... 11-20
debug ip ospf spf inter ............................................................................................ 11-21
debug ip ospf spf intra ............................................................................................ 11-21
debug ip ospf tree .................................................................................................. 11-22
debug ip protocol.................................................................................................... 11-23
debug ip rip ............................................................................................................ 11-24
debug ip rip all........................................................................................................ 11-24
debug ip rip database............................................................................................. 11-25
debug ip rip events ................................................................................................. 11-26
debug ip rip trigger ................................................................................................. 11-26
debug ip source...................................................................................................... 11-27
debug ip tcp all ....................................................................................................... 11-28
debug ip tcp driver.................................................................................................. 11-29
debug ip tcp driver-pak ........................................................................................... 11-30
debug ip tcp packet ................................................................................................ 11-31
11-1
SJ-20130118100307-010|2013-02-28 (R1.0)
11-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables all the debug functions.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
By default, all debug commands are invalid.
If the debug all function is enabled, the system is busy with outputting of debug information.
This may affect the network performance. Therefore, in normal cases, do not enable the
debug all function.
To disable all the debug functions, use the no debug all command.
Examples
The following example enables all the debug function:
ZXAN#debug all
All possible debugging has been turned on
Related Commands
All debug commands
11.80 terminal monitor
Function
This command enables the debug function of the Address Resolution Protocol (ARP).
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function of ARP, use the no debug arp command.
Examples
The following example shows how to enable the debug function of the ARP:
ZXAN#debug arp
ARP debugging is on
Related Commands
11.80 terminal monitor
Function
This command displays all debug information of dhcp-option82.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug dhcp-option82 all command.
11-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
ZXAN#debug dhcp-option82 all
Related Commands
11.4 debug dhcp-option82 data
11.5 debug dhcp-option82 error
11.6 debug dhcp-option82 event
Function
This command displays the debug information related to dhcp-option82.
Parameters
Parameter
Description
Value
name1
Interface name
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug dhcp-option82 datacommand.
Examples
ZXAN#debug dhcp-option82 data epon-olt_0/6/1
Related Commands
11.3 debug dhcp-option82 all
11.5 debug dhcp-option82 error
11.6 debug dhcp-option82 event
11-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information about the dhcp-option82 receiving error packets.
Parameters
Parameter
Description
Value
name1
Interface name
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug dhcp-option82 error command.
Examples
ZXAN#debug dhcp-option82 error epon-olt_1/6/1
Related Commands
11.3 debug dhcp-option82 all
11.4 debug dhcp-option82 data
11.6 debug dhcp-option82 event
Function
This command displays the debug information that triggers dhcp-option82 status to
change.
11-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Interface name
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug dhcp-option82 event command.
Examples
ZXAN#debug dhcp-option82 event epon-olt_1/6/1
Related Commands
11.3 debug dhcp-option82 all
11.4 debug dhcp-option82 data
11.5 debug dhcp-option82 error
11.7 debug ip
Syntax
debug ip
no debug ip
Function
This command enables the debug function of the IP protocol, displays the debug
information about IP protocol processing, and shows whether the device is sending or
receiving IP packets.
Parameters
None
Mode
Privileged mode: ZXAN#
11-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To disable the debug function of the IP protocol, use the no debug ip command.
Examples
The following example shows how to enable the debug function of the IP protocol:
ZXAN#debug ip
IP debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the IP protocol debug function for the specified destination
address, displays the debug information about IP protocol processing and shows whether
the device is sending or receiving IP packets with the specified destination address.
Parameters
Parameter
Description
Value
ip_addr1
Destination IP address
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ip destination command.
Examples
The following example shows how to enable the IP protocol debug function for destination
address 192.168.36.3:
ZXAN#debug ip destination 192.168.36.3
IP destination debugging is on
11-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command enables the DHCP relay and DHCP server debug functions
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ip dhcp command.
Examples
The following example shows how to enable the DHCP relay and DHCP server debug
functions
ZXAN#debug ip dhcp
DHCP debugging is on
Related Commands
11.80 terminal monitor
11-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the debug function of the ICMP protocol, and displays the debug
information about ICMP protocol processing, and shows whether the device is sending or
receiving ICMP packets.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function of the ICMP protocol, use the no debug ip icmp command.
Examples
The following example shows how to enable the debug function of the ICMP protocol:
ZXAN#debug ip icmp
ICMP debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function of the Internet Control Message Protocol
(ICMP), and displays the detailed debug information about ICMP protocol processing,
and shows the details of the ICMP packets that are sent to and received by the device.
Parameters
None
Mode
Privileged mode: ZXAN#
11-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To disable the detailed debug function of the ICMP protocol, use the no debug ip icmp
detail command.
Examples
The following example shows how to enable the debug function of the ICMP protocol. and
display the detailed debug information about ICMP protocol processing.
ZXAN#debug ip icmp detail
ICMP detail debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the IP protocol that the specified interface
sends and receives, and displays the debug information about IP protocol processing.
Parameters
Parameter
Description
Value
interface1
Interface number
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function for the IP protocol that the specified interface sends and
receives, use the no debug ip interface command.
Examples
The following example shows how to enable the debug function for the IP protocol that the
loopback1 interface sends or and receives.
11-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about OSPF
adjacent events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
Adjacent events mainly include neighbor events, state transition, Hello packet receiving,
processing, and sending, and link status request packet receiving, processing, and
sending.
To disable the debug function, use the no debug ip ospf adj command.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF adjacent events.
ZXAN#debug ip ospf adj
OSPF adjacency events debugging is on
Related Commands
11.80 terminal monitor
11-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables all the debug functions for Open Shortest Path First (OSPF)
information.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
If the debug function for all OSPF information is enabled, the system performance is
affected. After the debug is completed, run the no debugging all command in time to
disable the debug function.
To disable the debug function, use the no debug ip ospf all command.
Examples
The following example shows how to enable all the debug functions for OSPF:
ZXAN#debug ip ospf all
All OSPF debugging has been turned on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about timer events
of the OSPF link status database.
11-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command mainly displays the timer operation status such as aging status of the link
status database and external route calculation.
To disable the debug function, use the no debug ip ospf database-timer command.
Examples
The following example shows how to enable the function to send back the debug
information about timer events of the OSPF link status database:
ZXAN#debug ip ospf database-timer
OSPF timer events debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about OSPF major
events.
Parameters
None
Mode
Privileged mode: ZXAN#
11-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
Major events mainly include: selection of the Designated Routers (DR) and Backup
Designate Router (BDR), receiving, processing, and sending of description packets of the
link status database, and OSPF interface status transition.
To disable the debug function, use the no debug ip ospf events command.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF major events.
ZXAN#debug ip ospf events
OSPF events debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about OSPF
flooding events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
Flooding events mainly include: flooding event processing, OSPF response packet
processing, and OSPF update packet receiving, processing, and sending.
To disable the debug function, use the no debug ip ospf flood command.
Examples
zx
11-15
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example shows how to enable the function to send back the debug
information about OSPF flooding events:
ZXAN#debug ip ospf flood
OSPF flood debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about OSPF Link
Status Announcement (LSA) generation events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
The LSA generation events include: router LSA, network LSA, network summary LSA, AS
border router LSA generation, LSA addition, deletion, and update.
To disable the debug function, use the no debug ip ospf lsa-generation command.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF Link Status Announcement (LSA) generation events:
ZXAN#debug ip ospf lsa-generation
OSPF summary lsa generation debugging is on
Related Commands
11.80 terminal monitor
11-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the switch for sending back the debug information about OSPF
Graceful Restart (GR) events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays the information about the router, which acts as the party which
starts GR or assists in starting GR.
To disable the debug function, use the no debug ip ospf nsf command.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF Graceful Restart (GR) events:
ZXAN#debug ip ospf nsf
OSPF non-stop forwarding event debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about OSPF
packet receiving and sending events and monitoring all received and sent OSPF packets.
11-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays summary information about the OSPF packets that are sent and
received by the router.
To disable the debug function, use the no debug ip ospf packet command.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF packet receiving and sending events:
ZXAN#debug ip ospf packet
OSPF packet debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about OSPF
retransmission queue events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays the basic information about retransmitted OSPF packets.
To disable the debug function, use the no debug ip ospf retransmission command.
11-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the function to send back the debug
information about OSPF retransmission queue events:
ZXAN#debug ip ospf retransmission
OSPF retransmission events debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about OSPF route
calculation events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
Route calculation events include: Calculation of routes in an area by use of the Dijkstra
algorithm, calculation and addition of routes between areas, and addition of external routes
of an AS.
To disable the debug function, use the no debug ip ospf spf command.
Examples
The following example shows how to enable the function to send back the debug
information about OSPF route calculation events:
ZXAN#debug ip ospf spf
OSPF spf external events debugging is on
OSPF spf inter events debugging is on
OSPF spf intra events debugging is on
11-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.23 debug ip ospf spf external
11.24 debug ip ospf spf inter
11.25 debug ip ospf spf intra
11.80 terminal monitor
Function
This command enables the function to send back the debug information about external
routes of an AS in the OSPF route calculation events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays major events that occur during OSPF external route calculation.
To disable the debug function, use the no debug ip ospf spf external command.
Examples
ZXAN#debug ip ospf spf external
OSPF spf external events debugging is on
Related Commands
11.22 debug ip ospf spf
11.80 terminal monitor
11-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the function to send back the debug information about internal
routes of an area in the OSPF route calculation events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays major events that occur during OSPF internal route calculation.
To disable the debug function, use the no debug ip ospf spf inter command.
Examples
ZXAN#debug ip ospf spf inter
OSPF spf inter events debugging is on
Related Commands
11.22 debug ip ospf spf
11.80 terminal monitor
Function
This command enables the function to send back the debug information about intra-area
routes in the OSPF route calculation events.
11-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays major events that occur during OSPF intra-area route calculation.
To disable the debug function, use the no debug ip ospf spf intra command.
Examples
ZXAN#debug ip ospf spf intra
OSPF spf intra events debugging is on
Related Commands
11.22 debug ip ospf spf
11.80 terminal monitor
Function
This command enables the function to send back the debug information about the OSPF
route generation algorithm.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays key information in the OSPF route generation process.
To disable the debug function, use the no debug ip ospf tree command.
11-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the function to send back the debug
information about the OSPF route generation algorithm:
ZXAN#debug ip ospf tree
OSPF database events debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function of the IP protocol with the specified upper-layer
protocol number and displays the debug information about IP protocol processing.
Parameters
Parameter
Description
Value
number1
Protocol number
0-255
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ip protocol command.
Examples
The following example shows how to enable the debug function for IP protocol 0:
ZXAN#debug ip protocol 0
IP protocol number debugging is on
Related Commands
11.80 terminal monitor
11-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command traces the basic process of receiving and sending RIP packets.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop tracing, use the no debug ip rip command.
Examples
The following example shows how to enable the debug function to trace the basic process
of receiving and sending RIP packets:
ZXAN#debug ip rip
RIP protocol debugging is on
Related Commands
11.80 terminal monitor
Function
This command is used to enable all the debug functions for RIP.
11-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
none
Examples
The following example shows how to enable all the debug functions for RIP.
ZXAN#debug ip rip all
All RIP debugging has been turned on
Related Commands
11.80 terminal monitor
Function
This command traces changes of the Routing Information Protocol (RIP) routing table.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop tracing, use the no form of this command.
Examples
The following example shows how to enable the debug function to trace changes of the
RIP routing table:
11-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command traces events that are related to RIP such as interface status.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop event tracing, use the no debug ip rip events command.
Examples
The following example shows how to trace events that are related to RIPsuch as interface
status.
ZXAN#debug ip rip events
RIP event debugging is on
Related Commands
11.80 terminal monitor
Function
This command traces RIP trigger events such as timer timeout.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop event tracing, use the no debug ip rip trigger command.
Examples
The following example shows how to enable the debug function for tracing RIP trigger
events such as timer timeout:
ZXAN#debug ip rip trigger
RIP trigger debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the IP protocol debug function for the specified source address,
displays the debug information about IP protocol processing and shows whether the device
is sending and receiving IP packets with the specified source address.
Parameters
Parameter
Description
Value
ip_addr1
Source IP address
11-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the IP protocol debug function for the specified source address, use the no
debug ip source command.
Examples
The following example shows how to enable the IP protocol debug function for source
address 192.168.6.6:
ZXAN#debug ip source 192.168.6.6
IP source debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables all the debug functions for TCP.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ip tcp all command.
Examples
The following example shows how to enable all the functions for TCP.
ZXAN#debug ip tcp all
All TCP debugging has been turned on
11-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command enables the debug function to display the information related to TCP
connections.
After the function is enabled, the following information is output:
TCP connection actively open
TCP connection passively open
TCP connection setup timer
TCP connection normally close
TCP connection abnormally close
After the function is disabled with the no debug ip tcp driver command, no information is
output.
After a user logs in to the device, information about TCP events of BGP and FTP (excluding
telnet) is displayed.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to enable the debug function to display the information
related to TCP connections.
ZXAN#debug ip tcp driver
TCP driver event debugging is on
11-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the management information in the TCP
buffer.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
After the function is enabled, the following information is output: An output packet put in the
output queue, size of a sent packet, size of a received packet, a packet deleted from the
queue because the number of received out-of-sequence packets exceeds the maximum
limit (Default: 25).
After a user logs in to ZXAN, additional information about TCP events of BGP and FTP
(excluding telnet) is displayed.
To disable the debug function, use the no debug ip tcp driver-pak command. After that,
the information is not output.
Examples
The following example shows how to enable the debug function for the management
information in the TCP buffer:
ZXAN#debug ip tcp driver-pak
TCP driver verbose debugging is on
Related Commands
11.80 terminal monitor
11-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the debug function for information such as the source and
destination of the sent and received TCP packets.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
If the function is enabled, after TCP packets are sent and received, the following
information of the packets is output: source address, destination address, port, sequence
number, confirmation number, receive window, and control bit.
After a user logs in to ZXAN, information about sending and receiving TCP packets of BGP
and FTP (excluding telnet) is displayed.
To disable the debug function, use the no debug ip tcp packet command. After that, the
information is not output.
Examples
The following example shows how to enable the debug function for information such as
the source and destination of the sending and receiving TCP packets.
ZXAN#debug ip tcp packet
TCP Packet debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for TCP status transition.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
After the function is enabled, information about TCP special events are output,
including destination IP address, port, and MSS announcement of the TCP connection,
retransmission timer time, retransmission after timeout, finite state machine transition,
and TCP control block release.
After a user logs in to ZXAN, information about TCP special events of BGP and FTP
(excluding telnet) is displayed.
To disable the debug function, use the no debug ip tcp transactions command. After
that, the information is not output.
Examples
The following example shows how to enable the debug function for TCP status transition:
ZXAN#debug ip tcp transactions
TCP special debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for information such as the source and
destination of the sending and receving UDP packets.
11-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
If the function is enabled, after a UDP packet is sent or received, the source, destination
address, and port of the UDP packet, and the size of the UDP packet are displayed.
After a user logs in to the device, the information is displayed.
To disable the debug function, use the no debug ip udp command. After that, the
information is not output.
Examples
The following example shows how to enable debug function for UDP packet information.
ZXAN#debug ip udp
UDP packet debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the function to send back the debug information about Intermediate
System-to-Intermediate System (IS-IS) adjacent events.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug isis adj-packets command.
11-33
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the function to send back the debug
information about IS-IS adjacent events:
ZXAN#debug isis adj-packets
IS-IS Adjacency related packets debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables all the debug functions for IS-IS.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug isis all command.
Examples
The following example shows how to enable all the debug functions for IS-IS.
ZXAN#debug isis all
All IS-IS debugging has been turned on
Related Commands
11.80 terminal monitor
11-34
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the debug function for the IS-IS GR process.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug isis nsf-event command.
Examples
The following example shows how to enable the debug function for the IS-IS GR process.
ZXAN#debug isis nsf-event
IS-IS NSF events debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for IS-IS Complete Sequence Number PDU
(CSNP)/Partial Sequence Number PDU (PSNP) information.
Parameters
None
11-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug isis snp-packets command.
Examples
The following example shows how to enable the function for the IS-IS CSNP/PSNP
information.
ZXAN#debug isis snp-packets
IS-IS CSNP/PSNP packets debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the IS-IS Shortest Path First (SPF) process.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug isis spf-events command.
Examples
The following example shows how to enable the debug fucntion for the IS-IS SPF process:
ZXAN#debug isis spf-events
IS-IS SPF events debugging is on
11-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the IS-IS update information.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug isis update-packets command.
Examples
The following example shows how to enable the debug function for the IS-IS update
information.
ZXAN#debug isis update-packets
IS-IS Update related packet debugging is on
Related Commands
11.80 terminal monitor
11-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables all the debug functions for Link Aggregation Control Protocol
(LACP) information.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable all LACP debug functions, use the no debug lacp all command.
Examples
The following example shows how to enable all the debug functions for Link Aggregation
Control Protocol.
ZXAN#debug lacp all
Link Aggregation Control Protocol All debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the LACP state machine.
Parameters
Parameter
Description
Value
interface1
Mode
Privileged mode: ZXAN#
11-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If no parameter is specification in the command, this command is applied to all the
members interfaces of the link aggregation group.
To disable the debug function for the LACP state machine, use the no debug lacp fsm
command.
Examples
The following example shows how to enable the debug function for the LACP state
machine:
ZXAN#debug lacp fsm
Link Aggregation Control Protocol SM debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for LACP packet receiving and sending.
Parameters
Parameter
Description
Value
interface1
Mode
Privileged mode: ZXAN#
Usage Guidelines
If no parameter is specification in the command, this command is applied to of all the
member interfaces of the link aggregation group.
To disable the debug function for LACP packet receiving and sending, use the no debug
lacp packet.
11-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the debug function for LACP packet receiving
and sending:
ZXAN#debug lacp packet
Link Aggregation Control Protocol packets debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for fast switchover negotiation of the Multiple
Spanning Tree Protocol (MSTP).
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Number of instances
0-31
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp agreement command.
Examples
The following example shows how to enable the debug function for MSTP fast switchover
negotiation:
ZXAN#debug mstp agreement
Multiple Spanning Tree agreement debugging is on
Related Commands
11.80 terminal monitor
11-40
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables all the debug functions for Multiple Spanning Tree Protocol
(MSTP).
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp all command.
Examples
The following example shows how to enable all the debug functions for MSTP.
ZXAN#debug mstp all
Mstp Protocol All debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the received MSTP packets.
11-41
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp bpdu-rx command.
Examples
The following example shows how to enable the debug function for the received MSTP
packets:
ZXAN#debug mstp bpdu-rx
Multiple Spanning Tree Received BPDUs debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the sent MSTP packets.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp bpdu-tx command.
11-42
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the debug function for the sent MSTP packets:
ZXAN#debug mstp bpdu-tx
Multiple Spanning Tree Transmitted BPDUs debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for MSTP errors.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp errors command.
Examples
The following example shows how to enable the debug function for MSTP errors:
ZXAN#debug mstp errors
MST Protocol errors debugging is on
Related Commands
11.80 terminal monitor
11-43
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the debug function for MAC address deletion in MSTP.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Number of instances
0-31
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp flush command.
Examples
The following example shows how to enable the debug function for MAC address deletion
in MSTP:
ZXAN#debug mstp flush
Multiple Spanning Tree port flush mechanism debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for MSTP state machine information.
11-44
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Number of instances
0-31
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp info command.
Examples
The following example shows how to enable the debug function for MSTP state machine
information:
ZXAN#debug mstp info
Multiple Spanning Tree port info state machine debugging on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the state machine information for MSTP
migration.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Privileged mode: ZXAN#
11-45
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To disable the debug function, use the no debug mstp migration command.
Examples
The following example shows how to enable the debug function for the state machine
information for MSTP migration:
ZXAN#debug mstp migration
Multiple Spanning Tree migration protocol state machine
debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for negotiation request information of MSTP
fast switchover.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Number of instances
0-31
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp proposals command.
Examples
The following example shows how to enable the debug function for negotiation request
information of MSTP fast switchover:
ZZXAN#debug mstp proposals
Multiple Spanning Tree Proposal/Agree handshakes debugging
11-46
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for state machine information of MSTP instance
calculation.
Parameters
Parameter
Description
Value
number1
Number of instances
0-31
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp roles command.
Examples
The following example shows how to enable the debug function for state machine
information of MSTP instance calculation:
ZXAN#debug mstp roles
MST Protocol roles debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for the port status synchronization information
about MSTP.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp state command.
Examples
The following example shows how to enable the debug function for the port status
synchronization information about MSTP port.
ZXAN#debug mstp state
Multiple Spanning Tree state sync debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for state machine information of MSTP topology
changes.
11-48
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Number of instances
0-31
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug mstp tc command.
Examples
The following example shows how to enable the debug function for state machine
information of MSTP topology changes:
ZXAN#debug mstp tc
Multiple Spanning Tree topology change notifications
debugging is on
Related Commands
11.80 terminal monitor
Function
This command is used to enable all the debug functions for ND.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ndp-lio all command.
11-49
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
ZXAN#debug ndp-lio all
Related Commands
Function
This command is used to enable the debug function for ND data.
Parameters
Parameter
Description
Value
name1
interface name
number1
gemport number
1-255
number2
pvc number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ndp-lio data command.
Examples
ZXAN#debug ndp-lio data epon-olt_1/6/1
Related Commands
11.61 debug ndp-lio all
11-50
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command is used to enable the debug function for ND received error packets.
Parameters
Parameter
Description
Value
name1
interface name
number1
gemport number
1-255
number2
pvc number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ndp-lio error command.
Examples
ZXAN#debug ndp-lio error epon-olt_1/6/1
Related Commands
11.61 debug ndp-lio all
Function
This command is used to enable the debug function for the events that trigger the ND
status change.
11-51
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
interface name
number1
gemport number
1-255
number2
pvc number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug ndp-lio event command.
Examples
ZXAN#debug ndp-lio event epon-olt_1/6/1
Related Commands
11.61 debug ndp-lio all
Function
This command enables all the debug functions for port location configuration.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug switch, use the no debug port-location all command.
11-52
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
ZXAN#debug port-location all
Related Commands
11.66 debug port-location data
11.67 debug port-location error
11.68 debug port-location event
Function
This command enables the debug function for port location data.
Parameters
Parameter
Description
Value
name1
Interface number
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug port-location data command.
Examples
ZXAN#debug port-location data epon-olt_1/6/1
Related Commands
11.65 debug port-location all
11.67 debug port-location error
11.68 debug port-location event
11-53
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the debug function for port location error packets that are received.
Parameters
Parameter
Description
Value
name1
Interface number
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug port-location error command.
Examples
ZXAN#debug port-location error epon-olt_1/6/1
Related Commands
11.65 debug port-location all
11.66 debug port-location data
11.68 debug port-location event
Function
This command enables the debug function for the event that triggers the port location
status change.
11-54
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Interface number
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use no debug port-location event command.
Examples
ZXAN#debug port-location event epon-olt_1/6/1
Related Commands
None
Function
This command enables all the debug functions Point to Point Protocol over Ethernet Plus
(PPPoE+).
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug functions, use the no debug pppoe-plus all command.
11-55
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display all the debug information of PPPoE+:
ZXAN#debug pppoe-plus all
Related Commands
11.70 debug pppoe-plus data
11.71 debug pppoe-plus error
11.72 debug pppoe-plus event
Function
This command enables the debug function for PPPoE+ data.
Parameters
Parameter
Description
Value
name1
Interface number
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug pppoe-plus data command.
Examples
ZXAN#debug pppoe-plus data epon-olt_1/6/1
Related Commands
11.69 debug pppoe-plus all
11.71 debug pppoe-plus error
11.72 debug pppoe-plus event
11-56
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the debug function for PPPoE+ error packets that are received.
Parameters
Parameter
Description
Value
name1
Interface number
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug pppoe-plus error command.
Examples
ZXAN#debug pppoe-plus error epon-olt_1/6/1
Related Commands
11.69 debug pppoe-plus all
11.70 debug pppoe-plus data
11.72 debug pppoe-plus event
Function
This command enables the debug function for the event that triggers PPPoE+ status
changes.
Parameters
Parameter
Description
Value
name1
Interface number
number1
Gport number
1-255
number2
PVC number
1-8
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug pppoe-plus event command.
Examples
ZXAN#debug pppoe-plus event epon-olt_1/6/1
Related Commands
11.69 debug pppoe-plus all
11.70 debug pppoe-plus data
11.71 debug pppoe-plus error
Function
This command enables all Radius debug functions.
Parameters
None
11-58
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug functions, use the no debug radius all command.
Examples
The following example shows how to enable all Radius debug sfunctions:
ZXAN#debug radius all
All radius debugging has been turned on
Related Commands
11.80 terminal monitor
Function
This command enables the Radius authentication funaction and displays the debug
information related to Radius authentication.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays the debug information related to Radius authentication.
To disable the debug function, use the no debug radius authentication data command.
Examples
None
11-59
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
11.80 terminal monitor
Function
This command enables the Radius authentication function. The information about error
packets that are received by Radius authentication is displayed.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays the information about error packets that are received by Radius
authentication.
To disable the debug function, use the no debug radius authentication error command.
Examples
None
Related Commands
11.80 terminal monitor
11-60
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the debug function for Radius authentication and displays the
information that triggers Radius authentication status changes.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays the information that triggers Radius authentication status changes.
To disable the debug function, use the no debug radius authentication event command.
Examples
None
Related Commands
11.80 terminal monitor
Function
This command enables the Radius authentication function. The information about
error packets that are received by Radius authentication is displayed. The parameter
packet group-number means to display the Radius authentication packets that are
received by and sent to the specified Radius authentication group. The parameter packet
all means to display the Radius authentication packets that are received by and sent to
all Radius authentication groups.
11-61
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
1-10
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command displays the information about error packets that are received by Radius
authentication. The parameter packet group-number means to display the Radius
authentication packets that the specified Radius authentication group receives and sends.
The parameter packet all means to display the Radius authentication packets that all
Radius authentication groups receives and send.
To disable the debug function, use the no debug radius authentication packet command.
Examples
The following example shows how to display the Radius authentication packets that the
specified Radius authentication group receives and sends.
ZXAN#debug radius authentication packet 1
debug radius authenticaion packet turned on group 65536
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for radius information.
11-62
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug radius exception command.
Examples
The following example shows how to enable the debug function for Radius information:
ZXAN#debug radius exception
debug radius exception turned on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for Radius users.
Parameters
Parameter
Description
Value
name1
name2
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function, use the no debug radius user command.
11-63
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the debug function for Radius users:
ZXAN#debug radius user user domain
debug radius user turned on user@doma
Related Commands
11.80 terminal monitor
Function
This command outputs debug information to the current terminal.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop debug information output to the current terminal, use the no terminal monitor
command.
Examples
The following example shows how to output debug information to the current terminal:
ZXAN#terminal monitor
Related Commands
All debug commands
11-64
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 12
VLAN Commands
Table of Contents
Global Commands....................................................................................................12-1
Commands at Network Side ...................................................................................12-10
Commands at User Side ........................................................................................12-13
Smart QinQ Commands .........................................................................................12-18
Show Commands ...................................................................................................12-22
Function
This command provides a description for the VLAN.
Parameters
Parameter
name1
Description
Value
VLAN description
Mode
VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines
To delete the description, use the no form of this command.
By default, the VLAN description is null. Different VLANs can have the same description.
12-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the description of VLAN 2 and VLAN 3 to
dialing-network:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#description dialing-network
ZXAN(config-vlan)#exit
ZXAN(config)#vlan 3
ZXAN(config-vlan)#description dialing-network
Related Commands
12.5.3 show vlan
12.1.2 multicast-packet
Syntax
multicast-packet name1
Function
This command configures the VLAN-based multicast packet flood type.
Parameters
Parameter
Description
Value
name1
packets
Flood-unknown : floods
unknown packets
Drop-unknown: drops unknown
packets
Mode
VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines
By default, the VLAN-based multicast packet flood type is flood-unknown.
Examples
The following example shows how to set the multicast packet flood type for VLAN 2 to
drop-unknown:
ZXAN(config)#vlan 2
12-2
SJ-20130118100307-010|2013-02-28 (R1.0)
ZXAN(config-vlan)#multicast-packet drop-unknown
Related Commands
12.5.3 show vlan
12.1.3 mvlan-translate
Syntax
mvlan-translate number1 to number2
no mvlan-translate number1 to number2
Function
This command configures the MVLAN translation rule.
Parameters
Parameter
Description
Value
number1
MVLAN ID
14094
number2
CVLAN ID
14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
This command is used to translate MVLAN to CVLAN (meaning that the drive needs to be
set) for user downlink data packets during cross-VLAN multicast. For downlink protocol
packets, VLAN translation is implemented based on the saved memory data.
Examples
The following example shows how to configure the translation rule from MVLAN 100 to
CVLAN 150:
ZXAN(config)#mvlan-translate 100 to 150
Related Commands
show mvlan-translate
12-3
SJ-20130118100307-010|2013-02-28 (R1.0)
12.1.4 name
Syntax
name WORD1
no name
Function
This command sets the VLAN name.
Parameters
Parameter
Description
Value
WORD1
VLAN name
Mode
VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines
To restore the default name, use the no form of this command.
By default, the name of VLAN 1 is VLAN0001, name of VLAN 100 is VLAN0100, and so
on.
Examples
The following example shows how to change the name of VLAN 2 to v2:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#name v2
Related Commands
12.5.3 show vlan
12.1.5 vlan
Syntax
vlan {number1 |name WORD1 }
no vlan {number1 |name WORD1 }
Function
This command creates a VLAN and enters the VLAN configuration mode.
12-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
VLAN
14094
name
To specify a VLAN
name
WORD1
VLAN name
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete the VLAN, use the no form of this command.
During the deletion of an VLAN, an error is prompted if a VLAN is VLAN 1, an L3 VLAN
interface has been created, or IGMP Snooping has been configured.
Examples
The following example shows how to create VLAN 2:
ZXAN(config)#vlan 2
ZXAN(config-vlan)#
Related Commands
12.5.3 show vlan
Function
This command creates VLANs in batches.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
12-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To deleted the VLANs, use the no form of this command.
Different VLANs must have different names.
During VLAN deletion in batches, an error is prompted if a VLAN is VLAN 1, an L3 VLAN
interface has been created, or IGMP Snooping has been configured.
Examples
The following example shows how to create VLANs 2100 in batches:
ZXAN(config)#vlan database
ZXAN(vlan)#vlan 2-100
Related Commands
12.1.7 vlan-scb-action
Syntax
vlan-scb-action interface interface1 {vlan-remove {number1 |vlan number2 |svlan number3 vlan
{number4 |any } } |vlan-translate {vlan number5 user-vlan number6 |svlan number7 vlan {numb
er8 |any } user-vlan number9 } }
no vlan-scb-action interface interface1 {vlan-remove {number1 |vlan number2 |svlan number3
vlan {number4 |any } } |vlan-translate {vlan number5 user-vlan number6 |svlan number7 vlan
{number8 |any } user-vlan number9 } }
Function
This command configures the VLAN processing of downlink broadcast flood packets for
EPON cards.
Parameters
Parameter
Description
Value
interface
Interface
interface1
Interface name
number1
VLAN ID
14094
number2
VLAN ID
14094
number3
SVLAN ID
14094
number4
VLAN ID
14094
any
Mode
12-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number5
VLAN ID
14094
number6
User VLAN ID
14094
number7
SVLAN ID
14094
number8
VLAN ID
14094
number9
User VLAN ID
14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This function is designed to solve the problem of failure to translate TK-chip downlink
broadcast packets into user VLAN.
The following functions are supported:
1. Striping of only outer VLAN
2. Single layer VLAN translation
3. Double layer VLAN translation with outer VLAN stripped
Examples
The following example shows how to set double layer VLAN translation with outer VLAN
stripped:
Related Commands
None
12.1.8 vlan-translate
Syntax
vlan-translate ingress-port interface1 user-vlan number1 vlan number2 [svlan number3 ] [name1
]
no vlan-translate {all |ingress-port interface1 user-vlan number1 }
Function
This command configures the VLAN translation rule based on PON interface. The outer
VLAN is optional.
12-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ingress-port
interface1
Interface name
user-vlan
number1
14094
vlan
translated packet
number2
14094
packet
number3
14094
packet
name1
1:1 or N:1
all
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the VLAN translation rule based on PON interface. The
configuration rule must be different from the service-port rule or Q-in-Q rule, and the
user VLAN must be different from the basic VLAN of the ONU interface under the PON
interface. The VLAN translation rule based on ONU is configured by the service-port
command.
To cancel the setting, use the no form of this command. You can delete one or multiple
VLAN translation rules in batches.
Examples
The following example shows how to set VLAN translation based on PON interface:
ZXAN(config)#vlan-translate ingress-port epon-olt_1/3/1 user-vlan
10 vlan 20 svlan 30
The following example shows how to delete a specified VLAN translation rule:
ZXAN(config)#no vlan-translate ingress-port epon-olt_1/3/1
user-vlan 10
The following example shows how to delete all VLAN translation rules:
ZXAN(config)#no vlan-translate all
12-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
12.5.9 show vlan-translate
12.1.9 xconnect
Syntax
xconnect name1 [cvlan number1 ]
Function
This command configures the vlan-xconnect rule, which specifies whether to perform
switching based on SVLAN or SVLAN+CVLAN for the dedicated channel of a specific
user interface and uplink interface.
Parameters
Parameter
Description
Value
name1
vlan-xconnect rule
number1
1-4094
rule
Mode
VLAN configuration sub-mode: ZXAN(config-vlan)#
Usage Guidelines
This command is used to configure a 1:1 VLAN rule.
The uplink interface can be of smartgroup type.
Once the user interface, uplink interface, and whether to use svlan or svlan+cvlan are
specifed, the user data packets are directly sent to the uplink interface without learning
MAC+VLAN if the VLAN data accords with SVLAN or SVLAN+CVLAN.
To delete the rule, use the no form of this command.
Examples
The following example shows how to set the xconnect rule for VLAN 100:
ZXAN(config)#vlan 100
ZXAN(config-vlan)#xconnect enable
12-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
12.5.10 show vlan-xconnect detail
Function
This command adds a hybrid port to the default VLAN and modifies the port PVID. If the
VLAN does not exist, it will be created.
Parameters
Parameter
Description
Value
WORD1
name1
VLAN
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines
By default, a layer-2 port is located in VLAN 1. Use this command to set the default VLAN
of the port and modify the PVID.
To delete the port from the VLAN and restore the default PVID 1, use the no form of this
command.
Examples
The following example shows how to set the default VLAN of interface gei_1/19/1 to 100:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport default vlan 100
Related Commands
12.5.4 show vlan port
12-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the VLAN port link mode for a port. For an uplink port, the default
is hybrid.
Parameters
Parameter
Description
Value
name1
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines
A trunk port can be directly switched to the hybrid mode. For other mode switching, the
tag and untag VLANs of this port should be deleted (except VLAN 1).
Examples
The following example shows how to set the VLAN mode to trunk for interface gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport mode trunk
Related Commands
12.5.4 show vlan port
Function
This command configures the port TPID property.
12-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
hexadecimal1
TPID type
vlan
Based on VLAN
port
Based on port
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines
The TPID value cannot be the values of some protocols, such as 0x0806 and 0x0800.
Examples
The following example shows how to configure the TPID property of the port gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport tpid 0x9100
Related Commands
12.5.4 show vlan port
Function
This command adds a port to a VLAN. If the VLAN does not exist, it will be created.
Parameters
Parameter
Description
Value
WORD1
tag
mode
untag
untag mode
12-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines
A trunk port can be added to a VLAN only in tag mode.
The mode for adding a port to a VLAN depending on the VLAN mode of the port.
To delete the port from the VLAN, use the no form of this command.
Examples
The following example shows how to configure interface gei_1/19/1 with VLAN 100,
102110:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport vlan 100,102-110 tag
Related Commands
12.5.4 show vlan port
12.2.2 switchport mode
Function
This command adds a hybrid port to the default VLAN and modifies the port PVID. If the
VLAN does not exist, it will be created.
Parameters
Parameter
Description
Value
WORD1
name1
VLAN
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
12-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, a layer-2 port is located in VLAN 1. Use this command to set the default VLAN
of the port and modify the PVID.
To delete the port from the VLAN and restore the default PVID 1, use the no form of this
command.
Examples
The following example shows how to set the default VLAN to 100:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport default vlan 100
Related Commands
12.5.4 show vlan port
Function
This command configures the VLAN port link mode for a port. For an uplink port, the default
is hybrid.
Parameters
Parameter
Description
Value
name1
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines
A trunk port can be directly switched to the hybrid mode. For other mode switching, the
tag and untag VLANs of this port should be deleted (except VLAN 1).
Examples
The following example shows how to set the VLAN mode to trunk:
12-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
12.5.4 show vlan port
Function
This command configures the port TLS property.
Parameters
Parameter
Description
Value
name1
property
Disable: disables the TLS
property
number1
Vport
1128
Mode
10G_Ether interface mode: ZXAN(config-if)#, ptp interface mode, wdm-pon-onu interface
mode, and others
Usage Guidelines
When the TLS VLAN is enabled, the TLS VLAn is 1 by default.
Examples
The following example shows how to configures the TLS property of the interface
epon-onu_1/4/1:1:
ZXAN(config)#interface epon-onu_1/4/1:1
Related Commands
12.5.4 show vlan port
12-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configure the TLS VLAN mapping relation of a port. If TLS is enabled, the
default TLS VLAN of the user port is 1.
Parameters
Parameter
Description
Value
number1
TLS-VLAN ID
1-4094
WORD1
VLAN name
number2
Vport
1-128
Mode
PortCh interface mode, 10G_Ethernet interface mode: ZXAN(config-if)#, ptp interface
mode, and others
Usage Guidelines
TLS VLAN can be configured only when TLS is enabled. All TLS flows are tagged with the
corresponding TLS VLAN after TLS VLAN configuration.
The interfaces with disabled TSL uploads untagged or prirority tagged packets
after marking the corresponding PVID. For tagged packets, if the VLAN tag is in
VLAN membership, they are tagged with the mapping VLAN ID and then be uploaded. If
the VLAN tag is not in VLAN membership, the packets are discarded.
The interfaces with enabled TSL uploads untagged packets, priority tagged packets, or
packets whose VLAN tag is not in VLAN membership after marking the corresponding
TLS VLAN. If the VLAN tag is in VLAN membership, the packets are tagged with VLAN ID
and then be uploaded.
Examples
The following example shows how to set the TLS VLAN property:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#switchport tls vlan 20
Related Commands
12.5.4 show vlan port
12-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the port TPID property.
Parameters
Parameter
Description
Value
hexadecimal1
TPID type
vlan
Based on VLAN
port
Based on port
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines
The TPID value cannot be the values of some protocols, such as 0x0806 and 0x0800.
Examples
The following example shows how to configure the TPID property for interface gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport tpid 0x9100
Related Commands
12.5.4 show vlan port
Function
This command adds a port to a VLAN. If the VLAN does not exist, it will be created.
12-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
WORD1
tag
Mode
L2 fei interface mode, PortCh interface mode, L2 gei interface mode, and others
Usage Guidelines
A trunk port can be added to a VLAN only in tag mode.
The mode for adding a port to a VLAN depending on the VLAN mode of the port.
To delete the port from the VLAN, use the no form of this command.
Examples
The following example shows how to configure interface gei_1/19/1 with VLAN 100,
102110:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport vlan 100,102-110 tag
Related Commands
12.5.4 show vlan port
12.3.2 switchport mode
Function
This command enables or disables the global smart Q-in-Q function.
12-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Status
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
After the global smart Qi-inQ function changes to disabled, the configured vlan-smart-qinq
rule is still available in the software and can be viewed through the show vlan-smart-qinq
command. However, the entry is deleted from the hardware configuration, meaning that
the smart Q-in-Q service will be interrupted.
After the global smart Qi-inQ function changes to enabled, the system sends the hardware
entry again and validate the service. In this case, the interrupted service is restored.
Examples
The following example shows how to enable the global smart Q-in-Q function:
ZXAN(config)#vlan-smart-qinq enable
Related Commands
12.5.7 show vlan-smart-qinq global-status
Function
This command enables or disables the Q-in-Q function of an OLT.
Parameters
Parameter
Description
Value
-
name1
Enable: enables the smart
Q-in-Q function
Disable: disables the smart
Q-in-Q function
12-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
L2 gei interface mode, 10G Ethernet interface mode: ZXAN(config-if)#, wdm-pon-olt
interface mode, and others
Usage Guidelines
Before enabling the vlan-smart-qinq function of an interface, enable the global
vlan-smart-qinq function first. Pay attention that when the smart Q-in-Q function of the
interface changes to disabled, all vlan-smart-qinq rules under the PON interface are
deleted.
Examples
The following example shows how to enable the smart Q-in-Q function on the interface
epon-olt_1/4/1:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#vlan-smart-qinq enable
Related Commands
12.5.8 show vlan-smart-qinq port-status
Function
This command configures the smart Q-in-Q VLAN rule.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Begin CVLAN
14094
number2
End CVLAN
14094
hexadecimal1
Ethernet type
number3
Priority level
07
12-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
hexadecimal2
Ethernet type
number4
Priority level
07
number5
SVLAN
14094
number6
Priority level
07
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A smart Q-in-Q rule supports seven modes:
l
l
l
l
l
l
l
One interface can be configured with multiple modes. The pre-defined sequence applies
in case of conflict.
Examples
The following example shows how to configure smart Q-in-Q rule based on a CVLAN
range:
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan
100 to 110 svlan 200
The following example shows how to configure smart Q-in-Q rule based on priority:
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cos 7
svlan 201
The following example shows how to configure smart Q-in-Q rule based on Ethernet type:
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1
ether-type 0x0806 svlan 202
The following example shows how to configure smart Q-in-Q rule based on CVLAN+
priority:
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan
20 to 20 cos 6 svlan 203
12-21
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example shows how to configure smart Q-in-Q rule based on
CVLAN+Ethernet type:
ZXAN(config)#vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan
21 to 21 ether-type 0x0809 svlan 204
The following example shows how to delete a configured smart Q-in-Q rule:
ZXAN(config)#no vlan-smart-qinq ingress-port epon-olt_1/3/1 cvlan
100 to 110 svlan 200
Related Commands
12.5.6 show vlan-smart-qinq
Function
This command displays the configured service ports by slot number.
Parameters
Parameter
Description
Value
number1
Shelf number
13
number2
022
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the service ports by slot number:
ZXAN(config)#show service-port shelf 1 slot 4
Interface epon-onu_1/4/1:1
12-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Filter Vlan C
-----------------------------------------------------------------------------------------------------------------------------------------1
-
1
22
22
--
22
--
1:1
---
---
---
--
--
--
--
22
YES
Related Commands
None
Function
This command displays the configured service ports of an interface.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Service port ID
1128
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the service ports of the interface
epon-onu_1/4/1:1:
ZXAN(config)#show service-port interface epon-onu_1/4/1:1
Interface epon-onu_1/4/1:1
Sport Vport BeginVid EndVid OuterVid InnerVid UserPrio Dscp Etype
os SVlan SCos Tls
Filter Vlan C
------------------------------------------------------------------------------------------------------------------------------------------
12-23
SJ-20130118100307-010|2013-02-28 (R1.0)
1
22
22
--
22
--
1:1
---
---
---
--
--
--
--
22
YES
Related Commands
None
Function
This command displays the configuration of a specified VLAN.
Parameters
Parameter
Description
Value
number1
VLAN ID
14094
name
VLAN name
WORD1
Mode
Any mode except user mode
Usage Guidelines
This command displays the information about the ports added to the VLAN.
Examples
The following example shows how to display the configuration of VLAN 22:
ZXAN(config)#show vlan 22
vlanid
:22
name
:VLAN0022
description
:N/A
multicast-packet:flood-unknown
tpid:0x8100
port(untagged):
port(tagged):
epon-onu_1/4/1:1:1
12-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the layer-2 VLAN configuration information, including basic VLAN
information, TLS configuration, TLS VLAN configuration.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
1128
number2
12000
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the VLAN configuration of the interface
epon-onu_1/4/1:1:
ZXAN(config)#show vlan port epon-onu_1/4/1:1
PortMode
Pvid
CPvid Tpid/mode
TLSStatus TLSVlan
------------------------------------------------hybrid
0x8100/PORT disable
UntaggedVlan:
TaggedVlan:
22
ZXAN(config)#
12-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays all the created VLANs.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Example
The following example shows how to displays all the created VLANs:
ZXAN#show vlan summary
All created vlan num: 13
Details are following:
1-2,10-20
Related Commands
None
Function
This command displays the smart Q-in-Q VLAN rules.
12-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Svlan ID
14094
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display all Q-in-Q VLAN rules:
ZXAN(config)#show vlan-smart-qinq
smart-qinq item num(used): 1
Ingress-Port
Begin- EndVid
EType
Vid
--------------------------------------------------------------------------------
epon-olt_1/4/3
22
22
----
22
--
--
OK
ZXAN(config)#
Related Commands
12.4.1 vlan-smart-qinq
12.4.3 vlan-smart-qinq ingress-port
12.5.7 show vlan-smart-qinq global-status
12.5.8 show vlan-smart-qinq port-status
Function
This command displays the global smart Q-in-Q status.
Parameters
None
12-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global smart Q-in-Q status:
ZXAN#show vlan-smart-qinq global-status
global-status: enable
Related Commands
12.4.1 vlan-smart-qinq
12.4.3 vlan-smart-qinq ingress-port
12.5.8 show vlan-smart-qinq port-status
Function
This command displays the VLAN smart Q-in-Q status of a specified interface.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the VLAN smart Q-in-Q status of the interface
gpon-olt_1/2/1:
ZXAN#show vlan-smart-qinq port-status ingress-port gpon-olt_1/2/1
port-status: gpon-olt_1/2/1
disable
12-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
12.4.1 vlan-smart-qinq
12.4.3 vlan-smart-qinq ingress-port
12.5.7 show vlan-smart-qinq global-status
Function
This command displays the VLAN translation rules of all or a specified PON interface.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display all the VLAN translation rules:
ZXAN(config)#show vlan-translate
vlan-translate item num(used): 1
Ingress-Port
User-Vlan Vlan
---------------------------------------------------------------------------epon-olt_1/4/4
22
22
22
1:1
--
ZXAN(config)#
Related Commands
None
Function
This command displays the xconnect configuration rule.
Parameters
Parameter
Description
Value
number1
14094
rule
number2
14094
rule
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the xconnect configuration details:
ZXAN(config)#show vlan-xconnect detail
User-Port
Uplink-Port
Svlan
Cvlan
------------------------------------------------------epon-onu_1/4/1:1 vport 1
gei_1/19/1
33
--
epon-onu_1/4/1:1 vport 1
gei_1/19/1
44
44
ZXAN(config)#
Related Commands
None
12-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 13
PON Comands
Table of Contents
PON Basic Command ..............................................................................................13-1
ONU Type Profile Management ................................................................................13-2
OLT Performance Management................................................................................13-8
PON Version Management .....................................................................................13-17
PON Protection Management.................................................................................13-22
Optical Profile Parameter Configuration..................................................................13-28
Rogue ONU Detection............................................................................................13-36
ONU In-Band Management ....................................................................................13-38
Profile Configuration Management .........................................................................13-42
Other Commands ...................................................................................................13-46
Function
This command enters PON mode.
Parameters
None
Mode
ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enter PON mode:
ZXAN(config)#pon
13-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command creates an ONU type and sets the properties related to the ONU type.
Parameters
Parameter
Description
Value
name1
characters.
gpon
name2
164 characters.
number1
1255
Maximum number of
1255
1255
1255
Parameter
Description
Value
number5
0255
OMCI is issued in
synchronization mode.
none
all-includsive
224.0.0.0239.255.255.255.
epon
WORD1
164 characters.
13-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name7
range is {none|typec|typed},
and the default value is none.
name8
characters
Mode
pon global configuration mode
Usage Guidelines
There are seven default GPON ONU types: ZTE-F601, ZTE-F621, ZTE-F622, ZTE-F625,
ZTE-F640, ZTE-F641, and ZTE-F628. Users cannot delete or modify the seven types,
and cannot add or delete user interfaces to them. To distinguish them from EPON ONU
type profiles, it is recommended to add a GPON mark to such type profiles. For example,
ZTEG-F820/ZTEG-F822/ZTEG-9806H.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a new GPON ONU type whose name is
"ZTEG-F888":
ZXAN(config)#pon
Related Commands
None
13.2.2 onu-type-if
Syntax
onu-type-if name1 name2
13-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command adds a user interface for an ONU type.
Parameters
Parameter
Description
Value
name1
characters.
name2
Mode
pon global configuration mode
Usage Guidelines
There are seven default GPON ONU types: ZTE-F601, ZTE-F621, ZTE-F622, ZTE-F625,
ZTE-F640, ZTE-F641, and ZTE-F628. The seven types cannot be deleted or modified,
and no user interface can be added to or deleted from them.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to add user interfaces for the ONU type whose name
is "ZTE-F888":
ZXAN(config)#pon
ZXAN(config-pon)# onu-type-if ZTE-F888 eth_0/1-4
ZXAN(config-pon)# onu-type-if ZTE-F888 pots_0/1-2
Related Commands
13.2.4 show onu-type-if
13-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries ONU type information.
Parameters
Parameter
Description
Value
name1
information
ONU type name, range: 164
name2
characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query all ONU type information:
ZXAN(config-gpon)#show onu-type
ZTE-9806
Pon type :
epon
Description :
Protect type:
none
Speed:
1g
ZTE-D400
Pon type :
epon
Description :
4FE
Protect type:
none
Speed:
1g
Related Commands
None
13-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the user interface information of an ONU type.
Parameters
Parameter
Description
Value
name1
characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the user interface information of the ONU type
whose name is "ZTE-F888":
ZXAN(config-pon)#show onu-type-if ZTE-F888
Onu type name : ZTE-F888
Interface list
eth_0/1
eth_0/2
eth_0/3
eth_0/4
pots_0/1
pots_0/2
Related Commands
None
13-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the parameters related to OLT MAC performance alarms at the PON
interface.
Parameters
Parameter
Description
Value
name1
Alarm type
name2
name3
The uppermost/upper/low/low-
est threshold
number1
Alarm threshold
09223372036854775807
number2
09223372036854775807
Mode
PROFILE_MAC_OLT configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the parameters related to OLT MAC performance
alarms at the PON interface:
ZXAN(config)#perf-mac-olt profile zte
ZXAN(config-mac-perf-olt)#item err 15min low alarm 1000 restore 2000
Related Commands
13.3.7 perf-mac-olt profile
13-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the parameters related to ONU MAC performance alarms at the PON
interface.
Parameters
Parameter
Description
Value
name1
Alarm type
name2
name3
The uppermost/upper/low/low-
est threshold
number1
Alarm threshold
09223372036854775807
number2
09223372036854775807
Mode
PROFILE_MAC_ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the parameters related to ONU MAC performance
alarms at the PON interface:
ZXAN(config)#perf-mac-onu profile zte
ZXAN(config-mac-perf-onu)#item erri 15min low alarm 1000 restore 2000
Related Commands
13.3.8 perf-mac-onu profile
Function
This command sets the parameters related to OLT Ethernet performance alarms at the
PON interface.
Parameters
Parameter
Description
Value
name1
Alarm type
name2
name3
The uppermost/upper/low/low-
est threshold
number1
Alarm threshold
09223372036854775807
number2
09223372036854775807
Mode
PROFILE_ETH_OLT configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to sets the parameters related to OLT Ethernet
performance alarms at the PON interface:
ZXAN(config)#perf-eth-olt profile zte
ZXAN(config-eth-perf-olt)#item tx-jabs 15min low alarm 1000 restore 2000
Related Commands
13.3.5 perf-eth-olt profile
Function
This command sets the parameters related to ONU Ethernet performance alarms at the
PON interface.
13-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Alarm type
name2
name3
The uppermost/upper/low/low-
est threshold
number1
Alarm threshold
09223372036854775807
number2
09223372036854775807
Mode
PROFILE_ETH_ONU configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the parameters related to ONU Ethernet
performance alarms at the PON interface:
ZXAN(config)#perf-eth-onu profile zte
ZXAN(config-eth-perf-onu)#item rx-jabs 15min low alarm 1000 restore 2000
Related Commands
13.3.6 perf-eth-onu profile
Function
This command creates an alarm profile for Ethernet performance statistics at the OLT
interface, and the corresponding configuration mode is entered.
Parameters
Parameter
Description
Value
name1
characters.
13-11
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Function
This command creates an alarm profile for Ethernet performance statistics at the ONU
interface, and the corresponding configuration mode is entered.
Parameters
Parameter
Description
Value
name1
Mode
ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an alarm profile for Ethernet performance
statistics at the ONU interface:
13-12
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
name1
characters.
Mode
ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an alarm profile for MAC performance statistics
at the OLT interface:
ZXAN(config)#
ZXAN(config)#perf-mac-olt profile zte
ZXAN(config-mac-perf-olt)#
Related Commands
None
13-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates an alarm profile for MAC performance statistics at the ONU
interface, and the corresponding configuration mode is entered.
Parameters
Parameter
Description
Value
name1
characters.
Mode
ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an alarm profile for MAC performance statistics
at the ONU interface:
ZXAN(config)#
ZXAN(config)#perf-mac-onu profile zte
ZXAN(config-mac-perf-onu)#
Related Commands
None
Function
This command queries the alarm profile information related to the OLT interface
performance statistics.
13-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Ethernet/MAC-related profile.
name2
characters.
Mode
All modes except user mode
Usage Guidelines
Before querying the profile information, users must first execute the ZXAN(config)#perf-e
th-olt command or the ZXAN(config)#perf-mac-olt command to create relevant profiles.
Examples
The following example shows how to query the alarm profile, whose name is zte, related
to the OLT Ethernet performance statistics:
ZXAN#show perf-olt eth profile zte
perf-eth-olt profile zte
-------------------------------------------------------------------------item: tx-bytes 15-min high alarm 1000000 restore 80000
Related Commands
13.3.5 perf-eth-olt profile
13.3.7 perf-mac-olt profile
Function
This command queries the alarm profile information related to the ONU interface
performance statistics.
Parameters
Parameter
Description
Value
name1
Ethernet/MAC-related profile.
name2
characters.
13-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
Before querying the profile information, users must first execute the ZXAN(config)#perf-et
h-onu command or the ZXAN(config)#perf-mac-onu command to create relevant profiles.
Examples
The following example shows how to query the alarm profile, whose name is zte, related
to the ONU Ethernet performance statistics:
ZXAN#show perf-onu eth profile zte
perf-eth-onu profile zte
-------------------------------------------------------------------------item: tx-pkts 15-min high alarm 100000 restore 10000
Related Commands
13.3.6 perf-eth-onu profile
13.3.8 perf-mac-onu profile
Function
This command queries the ONU statistics at the PON interface.
Parameters
Parameter
Description
Value
eth
Ethernet statistics.
interface1
epon-onu_shelf/slot/port:onu or
gpon-onu_shelf/slot/port:onu.
mac
MAC statistics.
interface2
epon-onu_shelf/slot/port:onu or
gpon-onu_shelf/slot/port:onu.
current
Current statistics.
13-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
current-15min-interval
number1
11
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the gpon-onu_1/3/1:1 current Ethernet
statistics at the ONU interface:
ZXAN#show performance pon-onu eth gpon-onu_0/3/1:1 current
Related Commands
None
Function
This command performs the update+commit operation.
Parameters
Parameter
Description
Value
name1
name2
interface1
Port number.
name3
CPE list.
Mode
ZXAN#
13-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The update+commit operation on a CPE involves the update operation and commit
operation.
Examples
The following example shows how to update a CPE at the gpon-olt_1/2/1 interface:
ZXAN#cpe update-commit f460914.bin epon-olt_0/10/3 1
ZXAN#
Related Commands
None
Function
This command performs the update operation.
Parameters
Parameter
Description
Value
name1
name2
interface1
Port number.
name3
CPE list.
Mode
ZXAN#
Usage Guidelines
The activate+commit operation is implemented when a CPE goes online the next time.
Examples
The following example shows how to update a CPE at the gpon-olt_1/2/1 interface:
ZXAN#cpe update-reonline f460914.bin epon-olt_0/10/3 1
ZXAN#
13-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the current information of a CPE.
Parameters
Parameter
Description
Value
interface1
Port number.
name1
Mode
All modes except user mode
Usage Guidelines
The current information of a CPE includes the vendor name, equipment name, and current
version. Users can set the rulist parameter to query the information of multiple CPEs.
Examples
The following example shows how to display the current information of a CPE:
ZXAN#show cpe information epon-olt_0/10/3 1
epon-onu_0/10/3: 1
CpeVendorName : ZTE
CpeType
: F460
Region 1
Vertag
Commited
Region 2
: V1.0.1P1T3
: No
Vertag
Commited
:
: No
Activated
: No
Activated
: No
Valid
: Yes
Valid
: No
Related Commands
None
13-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the summary information of the current manual update or task
update.
Parameters
Parameter
Description
Value
task
name1
Task name.
manual
Manually updating.
operating
implemented.
fail
execution fails.
success
execution succeeds.
waiting
waiting to be executed.
Mode
All modes except user mode
Usage Guidelines
The summary information includes the current manual update information and task update
information. The information only involves the position information of the CPEs that are
being updated, waiting to be executed, updated successfully, and fail to be updated. A
CPE update operation through command lines is manual update.
Examples
The following example shows how to display the summary information the current manual
update or task update:
a. Execute the following command to display the current manual update information:
ZXAN#show cpe summary-of manual
Operating:
Waiting:
13-20
SJ-20130118100307-010|2013-02-28 (R1.0)
b. Execute the following command to display the update information of a task whose name
is "abc":
ZXAN#show cpe summary-of task abc
Operating:
Waiting:
Fail:
Success:
epon-onu_0/10/3: 1
Related Commands
None
Function
This command displays the updated status of a CPE.
Parameters
Parameter
Description
Value
interface1
Port number.
name1
Mode
All modes except user mode
Usage Guidelines
The updated status of a CPE includes the current action, current updating progress, and
failure cause. Users can set the rulist parameter to query the information of multiple CPEs.
Examples
The following example shows how to display the updated status of a CPE:
ZXAN#show cpe update-status epon-olt_0/10/3 1
epon-onu_0/10/3: 1
13-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Taskname
Manual
Action
Update
Status
In-progress
Progress
: 4%
Failreason
None
Committime
Related Commands
None
Function
This command creates a protection group.
Parameters
Parameter
Description
Value
name1
132 characters.
interface1
interface2
name2
Protection type.
dual-parenting-work
13-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name3
ip_addr1
name4
Protection type.
dual-parenting-protect
interface4
ip_addr2
name6
Protection type.
Mode
pon global configuration mode
Usage Guidelines
The two mutually protective PON interfaces must be of the same PON interface type, and
one PON interface cannot belong to different protection groups at the same time.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a protection group whose name is "ZTE.
In this example, the 1/3/1 PON interface and 1/4/1 PON interface are set to be mutually
protective.
ZXAN(config)#pon
ZXAN(config-pon)#protection group ZTE workpon epon-olt_1/3/1 protectpon epon-olt_1/4/1
typeB
Related Commands
None
Function
This command creates a member of a typeC/D protection group.
13-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
132 characters.
name2
Mode
pon global configuration mode
Usage Guidelines
This command is only valid for typeC/D protection groups.
In intra-NE protection mode, the ONU of a specified onuList must exist under the working
interface, and may not exist under the protective interface.
In auto-mode, all ONUs under the PON interfaces will be automatically added to the
protection group, and users need not specify an ONU list.
The ONU information of a protection group will be automatically updated with the
adding/deleting operations on ONUs. The ONU IDs under the working interface and the
protective interface must be the same.
In automatic mode, group members cannot be deleted.
In inter-NE protection mode, the onuList parameter represents the ONU ID of the PON
interface of the local NE.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a protection group whose name is "d" and how
to cancel the protection of the member whose ONU ID is 10 under the working interface.
In this example, the ONU ID under the working interface is 10, and the ONU ID under the
protective interface is 20.
ZXAN(config-pon)#protection member group d onu-list 10 peer-onu-list 20
ZXAN(config-pon)#no protection member group d onu-list 10
ZXAN(config-pon)#
Related Commands
None
13-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the property information of a protection group.
Parameters
Parameter
Description
Value
name1
132 characters.
name2
non-revertive).
number1
086400
unit: second.
Mode
pon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to set properties of a protection group whose name is
ZTE":
ZXAN(config)#pon
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.
Parameters
Parameter
Description
Value
name1
132 characters.
name2
| Manual switchover.
name4
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
13-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information of a specified protection group.
Parameters
Parameter
Description
Value
name1
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
epon-olt_0/3/1
typeC
Protection mode:
non-revertive
Time to restore(s):
onu 1:
Active channel:
protect-channel
Alarm request:
Work channel:
Protect channel:
Externel request:
ONUSF
ONUSF
no-request
Related Commands
None
13-27
SJ-20130118100307-010|2013-02-28 (R1.0)
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.
13-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu or
gpon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
This command requires that there is at least one optical module; otherwise, the command
result will be N/A
Examples
The following example shows how to query the optical power loss between the OLT and
the ONU:
ZXAN(config)#show pon power attenuation gpon-onu_0/3/1:1
OLT ONU Attenuation(dBm)
-------------------------------------------------------------------------up Rx :-22.672 Tx:1.250 23.922
down Tx :2.199 Rx:-22.756 24.955
Related Commands
None
Function
This command queries the receiving optical power at the OLT.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu or
gpon-onu_shelf/slot/olt:onu.
13-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
This command requires that there is at least one optical module; otherwise, the command
result will be N/A
Examples
The following example shows how to query the receiving optical power at the OLT:
ZXAN(config-gpon)#show pon power olt-rx gpon-onu_0/3/1:1
Rx power: -22.687(dbm)
Related Commands
None
Function
This command queries the transmitting optical power at the OLT.
Parameters
Parameter
Description
Value
interface1
epon-olt_shelf/slot/olt or
gpon-olt_shelf/slot/olt.
Mode
All modes except user mode
Usage Guidelines
This command requires that there is at least one optical module; otherwise, the command
result will be N/A
Examples
The following example shows how to query the transmitting optical power at the OLT:
ZXAN(config-pon)#show pon power olt-tx gpon-olt_0/3/1
13-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the receiving optical power at the ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu,
gpon-onu_shelf/slot/olt:onu,
epon-olt_shelf/slot/olt, or
gpon-olt_shelf/slot/olt.
Mode
All modes except user mode
Usage Guidelines
This command requires that there is at least one optical module; otherwise, the command
result will be N/A
Examples
The following example shows how to query the receiving optical power at the ONU:
ZXAN(config-gpon)#show pon power onu-rx gpon-onu_0/3/1:1
Rx power: -22.756(dbm)
Related Commands
None
13-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the transmitting optical power at the ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu,
gpon-onu_shelf/slot/olt:onu,
epon-olt_shelf/slot/olt, or
gpon-olt_shelf/slot/olt.
Mode
All modes except user mode
Usage Guidelines
This command requires that there is at least one optical module; otherwise, the command
result will be N/A
Examples
The following example shows how to query the transmitting optical power at the ONU:
ZXAN(config-pon)#show pon power onu-tx epon-onu_0/3/1:1
Tx power: N/A
Related Commands
None
Function
This command queries the optical parameter threshold information of a specified PON
interface.
13-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu or
gpon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
When the gpon-onu_shelf/slot/olt:onu|epon-onu_shelf/slot/olt:onu interface is used, it
indicates querying the receiving optical power threshold.
Examples
The following example shows how to query the receiving optical power threshold of a
specified PON interface:
ZXAN#show pon transceiver-threshold gpon-onu_0/3/1:1
Rx power threshold(dbm) :
Upper alarm:
-3.000
Upper warning:-3.000
Related Commands
None
Function
This command configures the ONU RSSI detection period.
13-33
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Detection period.
604294967295
Unit: second.
Default value: 900 seconds.
Mode
pon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU RSSI detection period for the No.
1 ONU at slot 3 to 120 seconds:
ZXAN(config-pon)#transceiver detect-period gpon-onu_1/3/1:1 120
Related Commands
None
Function
This command sets the optical module alarm thresholds for a specified PON.
13-34
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
limit.
Range: 116 characters.
Type: float, -34.0 to -3.0dBm.
Default value: -3.0 dBm.
name3
Mode
pon global configuration mode
Usage Guidelines
The receiving optical power alarm thresholds must be configured for a specified ONU.
Examples
The following example shows how to set the receiving optical power alarm thresholds for
a specified PON. In this example, the specified ONU is ONU_1/3/1:1.
ZXAN(config-pon)#transceiver-threshold rx-power epon-onu_1/3/1:1 high-alarm -5
high-warning -10 low-warning -15 low-alarm -20
Related Commands
None
13-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the rogue ONU detection function.
Parameters
Parameter
Description
Value
number1
119
19, 1219
disable
detection function.
enable
detection function.
name1
Mode
pon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the rogue ONU detection function for the
service card at slot 5:
ZXAN(config-pon)#rogue-onu-detect 5 enable locate disable
Related Commands
None
13-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the rogue ONU detection configuration.
Parameters
Parameter
Description
Value
number1
114
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
Function
This command queries information related to the rogue ONU.
13-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-olt_shelf/slot/olt or
gpon-olt_shelf/slot/olt
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query information related to the rogue ONU:
ZXAN(config-if)#show pon rogue-onu-info gpon-olt_1/3/1
Related Commands
None
Function
This command creates an IP address pool.
Parameters
Parameter
name1
Description
Value
164 characters.
ip_addr1
address pool.
13-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr2
address pool.
ip_addr3
number1
14094
number2
07
ip_addr4
IP address.
ip_addr5
IP mask.
ip_addr6
Gateway.
Mode
pon global configuration mode
Usage Guidelines
A referred IP address pool cannot be deleted or modified. To cancel the setting, use the
no form of this command.
Examples
The following example shows how to create an IP address pool:
ZXAN(config)#pon
Related Commands
13.8.3 show pon ip-pool
13.8.2 ip-pool-bind
Syntax
ip-pool-bind interface1 name1
no ip-pool-bind interface1
Function
This command binds an IP address pool at the OLT PON interface.
13-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-olt_shelf/slot/port or
gpon-olt_shelf/slot/port
name1
164 characters
Mode
pon global configuration mode
Usage Guidelines
One PON interface can only be bound with an IP address pool. It can be bound with a
new IP address pool only after the old bound IP address pool is unbound. To cancel the
setting, use the no form of this command.
Examples
The following example shows how to bind the gpon-olt_1/3/1 interface to the IP address
pool whose name is "test":
ZXAN(config-pon)#ip-pool-bind gpon-olt_1/3/1 test
Related Commands
13.8.4 show pon ip-pool-bind
Function
The command views an IP address pool.
Parameters
Parameter
name1
Description
Value
164 characters.
Mode
All modes except user mode
13-40
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to view the IP address pool whose name is "test":
ZXAN#show pon ip-pool
IP pool name
:test
Begin IP
:10.1.1.1
End IP
:10.1.1.2
Mask
:255.255.255.0
Vlan
:100
Priority
:5
Subnet
:10.10.10.0
Netmask
:255.255.255.0
Nexthop
:10.1.1.1
ZXAN#
Related Commands
None
Function
This command views the information of the IP address pool bound at an interface.
Parameters
Parameter
interface1
Description
Value
epon-olt_shelf/slot/oltId or
gpon-olt_shelf/slot/oltId.
name1
164 characters.
Mode
All modes except user mode
13-41
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to view the information of the IP address pool bound at
the gpon-olt_0/3/1 interface:
ZXAN(config-pon)#show pon ip-pool-bind gpon-olt_0/3/1
OLT: gpon-olt_0/3/1
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, gpon-remote-onu configuration mode
Usage Guidelines
The commit commands under other profile configuration modes are the same as this
command.
Examples
None
13-42
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
13.9.2 onu-profile
Syntax
onu-profile name1 name2 name3
no onu-profile name1 name2 name3
Function
This command creates an EPON/GPON alarm, line, performance, or remote management
profile, and the corresponding configuration profile mode is entered.
Parameters
Parameter
Description
Value
name1
EPON profile.
name2
characters.
Mode
pon global configuration mode
Usage Guidelines
l
l
Examples
The following example shows how to create a GPON remote management profile whose
name is "zte. After the profile is created, the corresponding configuration mode is entered.
ZXAN(config-pon)#onu-profile gpon remote zte
ZXAN(config-gpon-remote)#
13-43
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
13.9.1 commit
13.9.3 revert
Syntax
revert
Function
This command cancels the modified configuration applied on an ONU profile.
Parameters
None
Mode
gpon-line configuration mode, gpon-remote-onu configuration mode
Usage Guidelines
The revert commands under other profile configuration modes are the same as this
command.
Examples
None
Related Commands
None
Function
This command queries the association information of an ONU and the line profile, remote
management profile, alarm profile, and performance management profile.
13-44
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu or
gpon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the association information of the
gpon-onu_0/3/1:1 and each profile:
ZXAN(config-if)#sho pon onu onu-profile gpon-onu_0/3/1:1
profile
profile type
configure result
last handle
-------------------------------------------------------------------N/A
line
N/A
N/A
N/A
remote
N/A
N/A
N/A
alarm
N/A
N/A
N/A
performance
N/A
N/A
Related Commands
None
Function
This command queries the basic information or detailed information of a service profile.
13-45
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
GPON/EPON profile
information.
name2
groups of translations.
cfg
configuration.
committed
Mode
All modes except user mode
Usage Guidelines
ZXAN(config-pon)#show pon onu-profile gpon remote
ProfileName
zte
Examples
None
Related Commands
None
Function
This command enables/disables the automatic-replace-offline-onu function.
13-46
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
119
name1
automatic-replace-offline-onu
function.
Mode
pon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the automatic-replace-offline-onu function at
slot 3:
ZXAN(config)#pon
ZXAN(config-pon)#auto-replace-offline-onu 3 enable
Related Commands
None
13.10.2 clear
Syntax
clear interface1
Function
This command clears all data at a PON interface.
Parameters
Parameter
interface1
Description
Value
epon-olt_shelf/slot/olt or
gpon-olt_shelf/slot/olt.
Mode
pon global configuration mode
13-47
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to clear all data at the gpon-olt_1/3/1 interface:
ZXAN(config)#pon
ZXAN(config-pon)#clear gpon-olt_1/3/1
[Successful]
ZXAN(config-pon)#
Related Commands
None
Function
This command copies data between EPON PON interfaces.
Parameters
Parameter
Description
Value
interface1
format: epon-olt_shelf/slot/olt
interface2
interface, format:
epon-olt_shelf/slot/olt
Mode
pon global configuration mode
Usage Guidelines
The following command is applied for GPON to implement the same function as this
command:
ZXAN(config-pon)#copy gpon olt gpon-olt_shelf/slot/portA gpon-olt_shelf/slot/portB
13-48
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to copy data from the epon-olt_1/3/1 interface to the
epon-olt_1/6/1 interface:
ZXAN(config-pon)#copy epon olt epon-olt_1/3/1 epon-olt_1/6/1
Related Commands
None
Function
This command copies data between EPON ONUs.
Parameters
Parameter
Description
Value
interface1
interface, format:
epon-onu_shelf/slot/olt:onu
interface2
interface, format:
epon-onu_shelf/slot/olt:onu
Mode
pon global configuration mode
Usage Guidelines
The following command is applied for GPON to implement the same function as this
command:
ZXAN(config-pon)#copy gpon onu gpon-onu_shelf/slot/olt:onuA gpon-onu_shelf/slot/olt:onuB
Examples
The following example shows how to copy data from epon-onu_1/3/1:1 to
epon-onu_1/6/1:1:
ZXAN(config-pon)#copy epon onu epon-onu_1/3/1:1 epon-onu_1/6/1:1
13-49
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the ONU power-saving mode.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
mode
be:
l
dozeing-sleep
fast-sleep
deep-sleep
power-shedding
Mode
pon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the power-saving mode of
gpon-onu_1/3/1:1 to be fast-sleep:
ZXAN(config)#pon
ZXAN#(config-pon)#onu power-save gpon-onu_1/3/1:1 mode fast-sleep
Related Commands
None
13-50
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures an ONU protocol control profile.
Parameters
Parameter
Description
Value
name1
characters.
name2
relay function.
name3
mediation function.
name5
Mode
pon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU protocol control profile whose name
is "zte":
ZXAN(config)#pon
ZXAN(config-pon)#onu profile proto-ctrl zte dhcp-relay enable
13-51
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
15.4.74 proto-proc
Function
This command configures an ONU protocol rate-limit profile.
Parameters
Parameter
name1
Description
Value
characters.
number1
065534
is no limit by default.
number2
065534
065534
065534
is no limit by default.
number5
065534
is no limit by default.
arp
dhcp
limit.
pppoe
limit.
igmp
limit.
cfm
Mode
pon global configuration mode
13-52
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU protocol rate-limit profile whose name
is "zte":
ZXAN(config)#pon
ZXAN(config-pon)#onu profile proto-limit zte arp 1000 pppoe 1000
Related Commands
15.4.74 proto-proc
Function
This command displays the information of an ONU protocol control policy profile.
Parameters
Parameter
Description
Value
name1
characters.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of an ONU protocol control
policy profile:
ZXAN(config-pon)#show pon onu profile proto-ctrl
Profile-name:
zte
DHCP relay:
disable
DHCP option82:
disable
PPPoE intermediate:
disable
ARP inspection:
disable
13-53
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
13.10.6 onu profile proto-ctrl
Function
This command displays the information of the ONU protocol threshold policy profile.
Parameters
Parameter
name1
Description
Value
characters.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of the ONU protocol threshold
policy profile:
ZXAN(config-pon)#show pon onu profile proto-limit
Profile-name:zte
ARP:
no limit
DHCP:
no limit
PPPoE:
no limit
IGMP:
no limit
CFM:
no limit
ZXAN(config-pon)#
Related Commands
13.10.7 onu profile proto-limit
13-54
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information of unconfigured ONUs.
Parameters
Parameter
Description
Value
number1
219
interface1
epon-olt_shelf/slot/olt or
gpon-olt_shelf/slot/olt.
number2
ONU ID.
1128
mac
sn
pw
ONU password.
hexpw
loid
ONU LOID.
loidpw
model
ONU mode1.
version
ONU version.
Mode
All modes except user mode
Usage Guidelines
Users can execute the uncfg-onu-display-info to set the number of items to be displayed.
Examples
The following example shows how to display the information of unconfigured ONUs:
ZXAN#show pon onu uncfg
OltIndex
LOID
------------------------------------------------------------------------gpon-olt_0/3/1
123456789
13-55
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
13.10.12 uncfg-onu-display-info
13.10.11 show pon uncfg-onu-display-info
Function
This command queries the number of items of the unconfigured ONUs to be displayed.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the number of items of the unconfigured ONUs
to be displayed:
ZXAN(config-pon)#show pon uncfg-onu-display-info
Column of unconfigured ONU( * means visible)
MAC
SN
PW
HEXPX
LOID
:*
LOIDPW
MODEL
VERSION
ZXAN(config-pon)#
Related Commands
13.10.12 uncfg-onu-display-info
13.10.10 show pon onu uncfg
13-56
SJ-20130118100307-010|2013-02-28 (R1.0)
13.10.12 uncfg-onu-display-info
Syntax
uncfg-onu-display-info [{[mac] [sn] [pw] [hexpw] [loid] [loidpw] [model] [version] } ]
Function
This command sets the number of items of the unconfigured ONUs to be displayed.
Parameters
Parameter
Description
Value
mac
address.
sn
number.
pw
hexpw
password.
loid
loidpw
and password.
model
version
Mode
pon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the number of items of the unconfigured ONUs
to be displayed:
ZXAN(config)#pon
ZXAN(config-pon)#uncfg-onu-display-info loid
Related Commands
13.10.11 show pon uncfg-onu-display-info
13.10.10 show pon onu uncfg
13-57
SJ-20130118100307-010|2013-02-28 (R1.0)
13-58
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 14
EPON Commands
Table of Contents
EPON Global Configuration......................................................................................14-1
EPON OLT Interface Configuration.........................................................................14-40
EPON ONU Interface Configuration .......................................................................14-62
EPON ONU Remote Management .........................................................................14-91
Function
This command configures OLT alarm information.
Parameters
Parameter
Description
Value
name1
Shelf/Slot number.
number1
042949672955
042949672955.
name2
Mode
epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the OLD alarm ID of shelf 1 slot 1 to 1 and
enable it.
ZXAN(config)#epon
14-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.1.27 show epon alarm-mask
14.1.2 auto-dispatch-set
Syntax
auto-dispatch-set name1 name2
Function
This command enables or disables the automatic template dispatch function of an EPON
ONU.
Parameters
Parameter
Description
Value
name1
name2
dispatch function.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the automatic dispatch function of the ONU
whose type is "ZTE-D400":
ZXAN(config)#epon
ZXAN(config-epon)#auto-dispatch-set ZTE-D400 enable
Related Commands
14.1.29 show epon auto-dispatch-set
Function
This command creates or modifies an SLA name profile.
Parameters
Parameter
Description
Value
create
name1
Profile name
rename
rename
oldname
oldname
name2
Old name
newname
newname
name3
New name
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an SLA name profile whose name is "zte":
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-name create zte
Related Commands
None
14.1.4 custom-oam
Syntax
custom-oam name1 name2
Function
This command configures the discovery type of an expanded OAM.
14-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
number
name2
functional, traditional, or
additional
Mode
epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the discovery type of the expanded OAM
at slot 0/1 to "traditional:
ZXAN(config)#epon
ZXAN(config-epon)#custom-oam 1/1 traditional
Related Commands
14.1.30 show epon custom-oam
14.1.5 dba
Syntax
dba name1 name2
Function
This command configures the computing method for dynamic bandwidth allocation.
Parameters
Parameter
Description
Value
name1
number
name2
Three algorithms
Mode
wdm-pon global configuration mode, epon global configuration mode
14-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to configure the computing method for dynamic
bandwidth allocation for all EPON interfaces at shelf 1 slot 4 to "plato".
ZXAN(config)#epon
ZXAN(config-epon)#dba 1/4 plato
Related Commands
None
Function
This command deletes the remote ONU data.
Parameters
None
Mode
epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to delete the remote ONU data:
ZXAN(config)#epon
ZXAN(config-epon)#delete onu-remote-data
Related Commands
None
14-5
SJ-20130118100307-010|2013-02-28 (R1.0)
14.1.7 ems-report
Syntax
ems-report name1 name2 name3
Function
This command enables or disables the EMS information reporting function.
Parameters
Parameter
Description
Value
name1
number.
name2
unauthonu, configfailonu, or
misspeedonu type.
name3
Mode
epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the EMS information reporting function for all
unauthenticated ONUs at slot 1/1:
ZXAN(config)#epon
ZXAN(config-epon)#ems-report 1/1 unauthonu enable
Related Commands
14.1.32 show epon ems-report
14-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the properties of the OLT encryption function.
Parameters
Parameter
Description
Value
name1
number.
aes
An encryption algorithm
triple-churning
algorithm
number1
3255
1255
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
The following two parameters must be configured only when the algorithm is set to triple
churning encryption algorithm:
l
l
The following condition must be satisfied in parameter setting: expire time for no response
for key update 10 key update time
Examples
The following example shows how to set the encryption algorithm for all EPON OLT
interfaces at shelf 1 slot 4 to triple churning encryption algorithm:
ZXAN(config)#epon
ZXAN(config-epon)#encrypt algorithm 1/4 triple-churning
key-update-period 30 churning-timer 200
Related Commands
None
14-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates or modifies a fax template.
Parameters
Parameter
Description
Value
name1
Profile name
name2
name3
Control mode
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a fax profile. In this example, the profile name
is "zte" and the control mode is "rtcp".
ZXAN(config)#epon
ZXAN(config-epon)#fax profile zte control-mode rtcp
Related Commands
None
14.1.10 h248-profile
Syntax
h248-profile name1 {register-server ip ip_addr1 [port number1] |backup-register-server ip ip_
addr2 [port number2] |mg register-mode name2 [port number3 ] |heartbeat-mode name3 [rtp-l
ink-test name4] [cycle number4] [count number5] }
no h248-profile name1
14-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates or modifies an h248 profile.
Parameters
Parameter
Description
Value
name1
Profile name.
ip_addr1
100165535
2944.
ip_addr2
100165535
2944.
name2
domainname, ip, or
devicename.
number3
100165535
2944.
name3
none, h248-service-change, or
h248ctc.
name4
test.
number4
10120
value is 30.
number5
13
default value is 3.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an h248 profile. In this example, the profile
name is "zte" and the heartbeat mode is "h248ct".
ZXAN(config)#epon
ZXAN(config-epon)#h248 zte heartbeat-mode h248ctc
14-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
14.1.11 hardwareLog
Syntax
hardwareLog name1 name2
Function
This command enables or disables the hardwareLog function.
Parameters
Parameter
Description
Value
name1
number.
name2
hardwareLog function.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the hardwareLog function at slot 1/1:
ZXAN(config)#epon
ZXAN(config-epon)#hardwareLog 1/1 enable
Related Commands
None
14.1.12 maccode
Syntax
maccode {add name1 |delete name2 |clear}
Function
This command configures the ONU mac code function.
14-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
name1
Description
Value
MAC: 002134XXXXXX
name2
MAC: 002134XXXXXX
clear
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to add a mac code:
ZXAN(config)#epon
ZXAN(config-epon)#maccode add 123456789000
Related Commands
None
14.1.13 mgcp-profile
Syntax
mgcp-profile name1 {register-server ip ip_addr1 [port number1] |backup-register-server ip ip
_addr2 [port number2 ] |heartbeat mode name2 [cycle number3] [count number4 ] |mg registermode name3 [port number5] }
no mgcp-profile name1
Function
This command creates or modifies an MGCP profile.
Parameters
Parameter
Description
Value
name1
Profile name
ip_addr1
Parameter
Description
Value
number1
100165535
2727.
ip_addr2
100165535
name2
none or mgcp
number3
303600
value is 30 s.
number4
13
default value is 3.
name3
domainname, ip, or
devicename.
number5
100165535
2427.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an MGCP profile. In this example, the profile
name is "zte" and the heartbeat mode is "mgcp".
ZXAN(config)#epon
ZXAN(config-epon)#mgcp-profile zte heartbeat mode mgcp
Related Commands
None
14.1.14 oam-mac
Syntax
oam-mac name1 hexadecimal1
Function
This command configures the source MAC address of an OAM frame.
14-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
number.
hexadecimal1
OAM frame.
Mode
epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the source MAC address of the OLT OAM
frame at slot 1/1:
ZXAN(config)#epon
ZXAN(config-epon)#oam-mac 1/1 1111.2222.3333
Related Commands
None
Function
This command enables or disables the function of authenticating loid as sn.
Parameters
Parameter
Description
Value
name1
number.
name2
Mode
epon global configuration mode
14-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to enable the OLT function of authenticating loid as sn
at slot 1/1:
ZXAN(config)#epon
ZXAN(config-epon)#onu-authentication-mode auth-loid-as-sn 1/1 enable
Related Commands
None
Function
This command configures the OLT hardware authentication mode.
Parameters
Parameter
Description
Value
name1
number.
name2
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to enable the OLT hardware authentication mode at slot
1/1:
ZXAN(config)#epon
ZXAN(config-epon)#onu-authentication-mode register 1/1 enable
14-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the software authentication mode.
Parameters
Parameter
Description
Value
name1
number.
sn
sn authentication mode
mac
loid
name2
Whether to enable.
hybrid
name3
Whether to enable.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the OLT software authentication mode at
slot 1/1 to sn":
ZXAN(config)#epon
ZXAN(config-epon)#onu-authentication-mode service 1/1 sn
Related Commands
None
14-15
SJ-20130118100307-010|2013-02-28 (R1.0)
14.1.18 onu-queue-profile
Syntax
onu-queue-profile name1 {dba {deactivate |activate cycle number1 scheme {sp |wrr |sp_wrr
high-priority number2} } |queue1 number3 number4 number5 number6 number7 |[queue2 numb
er8 number9 number10 number11 number12] |[queue3 number13 number14 number15 number16
number17] |[queue4 number18 number19 number20 number21 number22 ] |[queue5 number23
number24 number25 number26 number27 ] |[queue6 number28 number29 number30 number31
number32] |[queue7 number33 number34 number35 number36 number37 ] |[queue8 number38
number39 number40 number41 number42] }
no onu-queue-profile name1
Function
This command creates or modifies an SLA queue profile.
Parameters
Parameter
Description
Value
name1
Profile name.
deactivate
activate
number1
165535
sp
wrr
number2
07
number3
641518
number4
Fixed bandwidth.
03906
number5
Guaranteed bandwidth.
03906
number6
Best bandwidth.
03906
number7
Weight.
0100
number8
641518
number9
Fixed bandwidth.
03906
number10
Guaranteed bandwidth.
03906
number11
Best bandwidth.
03906
number12
Weight.
0100
14-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number13
641518
number14
Fixed bandwidth.
03906
number15
Guaranteed bandwidth.
03906
number16
Best bandwidth.
03906
number17
Weight.
0100
number18
641518
number19
Fixed bandwidth.
03906
number20
Guaranteed bandwidth.
03906
number21
Best bandwidth.
03906
number22
Weight.
0100
number23
641518
number24
Fixed bandwidth.
03906
number25
Guaranteed bandwidth.
03906
number26
Best bandwidth.
03906
number27
Weight.
0100
number28
641518
number29
Fixed bandwidth.
03906
number30
Guaranteed bandwidth.
03906
number31
Best bandwidth.
03906
number32
Weight.
0100
number33
641518
number34
Fixed bandwidth.
03906
number35
Guaranteed bandwidth.
03906
number36
Best bandwidth.
03906
number37
Weight.
0100
number38
641518
number39
Fixed bandwidth.
03906
number40
Guaranteed bandwidth.
03906
number41
Best bandwidth.
13906
number42
Weight.
0100
Mode
wdm-pon global configuration mode, epon global configuration mode
14-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU SLA queue profile whose name is
"zte":
ZXAN(config)#epon
ZXAN(config-epon)#onu-queue-profile zte dba activate cycle 1 scheme sp
Related Commands
None
Function
This command creates or modifies an SLA name profile.
Parameters
Parameter
Description
Value
create
name1
Profile name.
rename
oldname
oldname.
name2
Old name.
newname
newname.
name3
New name.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
14-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create an SLA name profile whose name is "zte":
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-name create zte
Related Commands
None
Function
This command configures an upstream/downstream bandwidth profile.
Parameters
Parameter
Description
Value
name1
Profile name.
downstream
Configuring a downstream
bandwidth profile.
number1
010000000
116777215
Configuring an upstream
bandwidth profile.
number3
010000000
kbps.
number4
01582
number5
Upstream guaranteed
010000000
010000000
14-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number7
116777215
Frame priority.
07
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure an upstream/downstream bandwidth
profile. In this example, the profile name is "zte", the maximum downstream burst flow is
20000 kbps, and the maximum bandwidth is 1000000 kbps.
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-set zte downstream maxburst 20000 maximum 1000000
Related Commands
14.1.33 show epon onu-sla-profile
Function
This command creates or modifies an ONU UNI name profile.
Parameters
Parameter
Description
Value
create
name1
Profile name.
rename
oldname
oldname.
name2
Old name.
14-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
newname
newname.
name3
New name.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU UNI name profile whose name is
"zte":
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-name create zte
Related Commands
None
Function
This command configures an ONU UNI port rate-limit profile.
Parameters
Parameter
Description
Value
name1
Profile name.
downstream
Downstream.
upstream
Upstream.
number1
Guaranteed rate.
010000000
number2
152216777215
number3
01522
14-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure an ONU UNI port rate-limit profile whose
name is "zte":
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-set zte downstream cbs 200000
Related Commands
14.1.35 show epon onu-uni-profile
14.1.23 save-system-state
Syntax
save-system-state name1 name2
Function
This command saves system status to a file.
Parameters
Parameter
Description
Value
name1
number
name2
Type
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to save all OLT system status at slot 1/1 to a file:
ZXAN(config)#epon
ZXAN(config-epon)#save-system-state 1/1 all
14-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command creates or modifies a serial port attribute profile.
Parameters
Parameter
Description
Value
name1
Profile name.
state
name3
name4
server.
name5
name6
Parity.
name7
Stop bits.
name8
Flow control.
name9
Type.
Mode
epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a serial port attribute profile. In this
example, the profile name is "zte", the profile is enabled, and the profile type is "rs232".
ZXAN(config)#epon
14-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.77 show remote epon serial-port attribute-profile
Function
This command creates or modifies a serial port buffer profile.
Parameters
Parameter
Description
Value
name1
Profile name.
mode
name2
or immediate.
number1
201000
number2
11400
name3
name4
or immediate.
Mode
epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a serial port profile. In this example, the
profile name is "zte", the serial port buffer mode is buffered", the buffer size is 1000 bytes,
the buffer is encrypted, and the waitingr time is 100 ms.
ZXAN(config)#epon
14-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.78 show remote epon serial-port buffer-profile
Function
This command creates or modifies a serial port global configuration profile.
Parameters
Parameter
Description
Value
name1
Profile name.
number1
165535
number2
165535
number3
17200
number4
Packet interval.
17200
number5
1100
packets.
Mode
epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a serial port global configuration profile whose
name is "zte":
ZXAN(config)#epon
ZXAN(config-epon)#serial-port global-profile zte discover-port 4000 signal-port 5000
idle-time 100 interval-time 150 max-lost-packet 65
14-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.79 show remote epon serial-port global-profile
Function
This command displays the EPON alarm information.
Parameters
Parameter
Description
Value
name1
Shelf/slot
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the EPON alarm information:
ZXAN(config)#show epon alarm-mask 1/15
AlarmId
MaskCount
................................................................................
Related Commands
None
Function
This command queries the authentication mode information of an EPON OLT interface.
14-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Shelf/slot
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the detailed information of the epon-olt_1/4
interface:
ZXAN(config-epon)#show epon authentication-mode 1/4
Register-authentication-mode:
disable
Service-authentication-mode:
MAC
Related Commands
None
Function
This command queries the information of the ONU automatic dispatch function.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
14-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the information of the ONU automatic dispatch
function:
ZXAN(config)#show epon auto-dispatch-set
Related Commands
None
Function
This command queries the discovery type of the extended OAM of an ONU.
Parameters
Parameter
Description
Value
name1
Shelf/slot
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the discovery type of the extended OAM of an
ONU:
ZXAN(config)#show epon custom-oam 1/15
custom-oam:
traditional
Related Commands
None
14-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the DBA algorithm information of an EPON OLT interface.
Parameters
Parameter
Description
Value
name1
Shelf/slot
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the DBA algorithm information of the
epon-olt_1/4 interface:
ZXAN#show epon dba 1/4
Shelf/Slot
DBA Algorithm
......................................
1/4
plato
Related Commands
None
Function
This command queries the EMS reporting information of an EPON.
14-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Shelf/slot
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the EMS reporting information of an EPON:
ZXAN(config)#show epon ems-report 1/15
EmsItem
Status
................................................................................
Ems-unauthonu-report
disable
Ems-configfailonu-report
disable
Ems-misspeedonu-report
enable
Related Commands
None
Function
This command queries the EPON bandwidth profile information.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
14-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the EPON bandwidth profile information:
ZXAN(config)#show epon onu-sla-profile
ProfileName
-------------default
slapf
slaprofile
slatest
test
ZTE-F411
Related Commands
None
Function
This command queries the EPON ONU type profile information.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the EPON ONU type profile information:
ZXAN(config)#show epon onu-type-profile
14-31
SJ-20130118100307-010|2013-02-28 (R1.0)
ZTE-9806
Pon type :
epon
Description :
ZTE-D400
Pon type :
epon
Description :
4FE
ZTE-D402
Pon type :
epon
Description :
8FE
Related Commands
None
Function
This command queries the information of the EPON ONU UNI bandwidth profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of the EPON ONU UNI
bandwidth profile:
ZXAN(config)#show epon onu-uni-profile
ProfileName
-------------default
14-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the EPON tm mode information.
Parameters
Parameter
Description
Value
name1
Shelf/slot.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the EPON tm mode information:
ZXAN(config)#show epon tm-mode 1/15
Olt:
TmMode:
1/15
normal.
Related Commands
None
14-33
SJ-20130118100307-010|2013-02-28 (R1.0)
14.1.37 sip-profile
Syntax
sip-profile name1{register-server ip ip_addr1[port number1]|backup-register-server ip ip_add
r2 [port number2]|proxy-server ip ip_addr3[port number3]|backup-proxy-server ip ip_addr4 [p
ort number4]|outbound-server ip ip_addr5 [port number5]|register-interval number6|heartbeat
name2 [cycle number7][count number8]|mg[port number9]}
no sip-profile name1
Function
This command creates or modifies an SIP profile.
Parameters
Parameter
Description
Value
name1
Profile name.
ip_addr1
100165535
100165535
number3
100165535
server.
number4
100165535
ip_addr5
server.
number5
100165535
Registration interval.
065535
14-34
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
mode.
number7
065535
value is 20.
number8
13
number9
100165535
value is 5060.
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an SIP profile. In this example, the profile
name is "zte" and the heartbeat mode is enabled.
ZXAN(config)#epon
ZXAN(config-epon)#sip-profile zte heartbeat enable
Related Commands
None
14.1.38 tm-mode
Syntax
tm-mode name1{normal|mode1|mode2}
Function
This command configures the tm mode.
Parameters
Parameter
Description
Value
name1
number.
normal
Normal mode.
14-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
mode1
Mode 1.
mode2
Mode 2.
Mode
epon global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the OLT tm mode at slot 1/1 to mode 1:
ZXAN(config)#epon
ZXAN(config-epon)#tm-mode 1/1 mode1
Related Commands
14.1.36 show epon tm-mode
Function
This command creates or modifies a voip-ip profile.
Parameters
Parameter
Description
Value
name1
Profile name
name2
independent or shared
mode
Mode
pppoe
pppoe
name3
static
static
ip_addr1
Gateway IP address
14-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr2
DNS IP address
dhcp
dhcp
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a voip-ip profile. In this example, the profile
name is "zte" and the mode is dhcp.
ZXAN(config)#epon
ZXAN(config-epon)#voip-ip profile zte mode dhcp
Related Commands
None
Function
This command creates or modifies a voip-vlan profile.
Parameters
Parameter
Description
Value
name1
Profile name
tag-mode
tag-mode
vlan-stacking
vlan-stacking
number1
SVLAN ID
14094
number2
CVLAN id
14094
number3
Priority
07
14-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
tag
tag
number4
CVLAN ID
14094
number5
Priority
07
transparent
transparent
Mode
wdm-pon global configuration mode, epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a voip-vlan profile. In this example, the profile
name is "zte", the mode is tag, the CVLAN is 1, and the priority is 2.
ZXAN(config)#epon
ZXAN(config-epon)#voip-vlan profile zte tag-mode tag cvlan 1 priority 2
Related Commands
None
14.1.41 wan-general-profile
Syntax
wan-general-profile name1 mode name2 service {other|{[internet] [tr069] [voice]}} tag-mode {tr
ansparent |tag {[tpid hexadecimal1] [vid number1 ] [priority number2]}|untag} [{[ip-mode name3
] [nat {{enable number3|no-limit} |disable } ] [mtu number4 ] [mvlan {enable number5 |disable }
] [bind-lanport name4 ] [bind-ssid name5]}]
no wan-general-profile name1
Function
This command creates or modifies a WAN general profile.
Parameters
Parameter
Description
Value
name1
Profile name.
mode
Working mode.
name2
14-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
service
service.
other
other mode.
internet
internet mode.
tr069
tr069.
voice
voice mode.
tag-mode
tag-mode.
transparent
transparent mode.
tag
tag mode.
hexadecimal1
Tpid, 1-0xffff.
165535
number1
VLAN ID.
14094
number2
Priority.
07
untag
untag mode.
name3
IP mode.
165534
number3
No limit.
disable
Disable.
number4
12000
number5
14094
name4
name5
Bound ssid.
Mode
epon global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a WAN general profile whose name is "zte":
ZXAN(config)#epon
ZXAN(config-epon)#wan-general-profile zte mode bridge service voice tag-mode transparent
14-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the OLT alarm function.
Parameters
Parameter
Description
Value
name1
err-symbol-period, err-frame,
err-frame-period, or
err-frame-second-sum.
name2
function.
number1
Threshold, range:
04294967295
042949672955.
number2
Window, range:
04294967295
042949672955.
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
Mode
Examples
The following example shows how to enable the err-symbol-period alarm function:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#alarm err-symbol-period enable
Related Commands
None
14-40
SJ-20130118100307-010|2013-02-28 (R1.0)
14.2.2 als
Syntax
als [{[opentime number1 ] [closetime number2] [losclosetime number3] } ]
no als
Function
This command sets the ALS time.
Parameters
Parameter
Description
Value
number1
5020000
202000
550
Mode
Layer-2 fei interface mode, layer-2 gei interface mode, 10G_Ether interface mode:
ZXAN(config-if)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the ALS time:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#als closetime 100 losclosetime 50 opentime 50
Related Commands
None
14.2.3 auto-learning
Syntax
auto-learning name1
14-41
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables or disables the OLT automatic learning function.
Parameters
Parameter
Description
Value
name1
learning function.
Mode
epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the OLT automatic learning function:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#auto-learning enable
Related Commands
None
14.2.4 ctc-ver21
Syntax
ctc-ver21 {enable|disable}
Function
This command sets whether to support the ctc standard 2.1.
Parameters
Parameter
Description
Value
enable
disable
2.1.
Mode
epon olt interface mode
14-42
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to set supporting the ctc standard 2.1:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#ctc-ver21 enable
Related Commands
None
14.2.5 dba-priority
Syntax
dba-priority number1 cycle-time number2
Function
This command sets the DBA priority and cycle time.
Parameters
Parameter
Description
Value
number1
Priority.
18
number2
2002000
Mode
epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to set the DBA priority to 1 and the cycle time to 750 us.
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#dba 1 cycle-time 750
Related Commands
None
14-43
SJ-20130118100307-010|2013-02-28 (R1.0)
14.2.6 fastdown
Syntax
fastdown name1
Function
This command sets whether to enable the ONU fast down configuration function.
Parameters
Parameter
Description
Value
name1
Mode
epon olt interface mode
Usage Guidelines
Mode
Examples
The following example shows how to enable the ONU fast down configuration function:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#fastdown enable
Related Commands
None
Function
This command sets whether to enable the OLT FEC downstream function.
Parameters
Parameter
Description
Value
name1
downstream function.
14-44
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the OLT FEC downstream function:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#fec downstream enable
Related Commands
None
14.2.8 high-priority-frame
Syntax
high-priority-frame [queue-list name1]
Function
This command configures a downstream frame with specified priority to be a high-priority
frame. For example, priority 03 can be set as low priority and priority 47 can be set as
high priority.
Parameters
Parameter
Description
Value
name1
Queue table
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to set priority 47 of the epon-olt_1/4/1 interface to be
high priority:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)# high-priority-frame queue-list 4-7
14-45
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
14.2.9 loopback
Syntax
loopback name1 name2
no loopback name1 name2
Function
This command configures the loopback attributes of an EPON OLT interface.
Parameters
Parameter
Description
Value
name1
mac or phy
name2
system or line
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the loopback mode of the epon-olt_1/4/1
interface to be phy system:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#loopback phy system
Related Commands
None
14.2.10 maxrtt
Syntax
maxrtt number1
14-46
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the RTT value for an OLT interface. The RTT value is the maximum
ONU distance that the interface supports.
Parameters
Parameter
Description
Value
number1
065535
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
The default value is 13524TQ.
Examples
The following example shows how to set the maximum ONU distance supported by the
epon-olt_1/4/1 interface to be 20 km (the corresponding RTT value is 12500TQ).
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#maxrtt 12500
Related Commands
None
14.2.11 mpcp-discovery-window
Syntax
mpcp-discovery-window name1 name2
Function
This command configures the MPCP discovery window.
Parameters
Parameter
Description
Value
name1
1GSymmetry, 10GDown1GUp,
or 10GSymmetry.
name2
window.
14-47
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the 10GDown1GUp configuration of the
MPCP discovery window:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#mpcp-discovery-window 10GDown1GUp enable
Related Commands
14.2.25 show olt mpcp-discovery-window
14.2.12 multi-llid
Syntax
multi-llid {enable max-support-number number1|disable}
Function
This command sets whether to enable the multi-llid function for a PON interface.
Parameters
Parameter
Description
Value
enable
number1
18
supported.
disable
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the multi-llid function for a PON interface. In
this example, the maximum number supported is 2.
14-48
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
14.2.13 onu
Syntax
onu number1 type name1 {mac hexadecimal1 |sn name2|loid name3[password name4]}[ip-cfg{s
tatic|auto-cfg}]
no onu number1
Function
This command registers a specified ONU under the current OLT interface.
Parameters
Parameter
Description
Value
number1
ONU ID.
1254
ONU type.
XXXX.XXXX.XXXX.
name2
1127 characters.
name3
characters.
14-49
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name4
Logical ID authentication
Static IP address.
auto-cfg
Dynamic IP address.
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
If the authentication mode is MAC authentication, users must enter the ONU MAC address.
If the authentication mode is SN authentication, users must enter the ONU SN.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to add an ONU whose type is ZTE-F425 and
authenticates through the MAC address:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#onu 1 type ZTE-F425 mac 000c.0000.0001
Related Commands
None
Function
This command creates a Point to Point (P2P) group.
Parameters
Parameter
Description
Value
number1
164
Mode
wdm-pon-olt interface mode, epon olt interface mode
14-50
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a P2P group:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)# p2p group 2
Related Commands
None
Function
This command sets the name of a P2P group.
Parameters
Parameter
Description
Value
number1
164
name1
Group name.
Mode
wdm-pon-olt interface mode, epon olt interface name.
Usage Guidelines
None
Examples
The following example shows how to set the name of group 2 to "test":
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)# p2p group-name 2 test
Related Commands
None
14-51
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the P2P mode.
Parameters
Parameter
Description
Value
group
full
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to set the P2P mode:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)# p2p mode full
Related Commands
None
14.2.17 priority-queue-map
Syntax
priority-queue-map {downstream|upstream} prio0-que number1 prio1-que number2 prio2-qu
e number3 prio3-que number4 prio4-que number5 prio5-que number6 prio6-que number7 prio
7-que number8
Function
This command configures the mapping relationship between frame priories and queues.
For example, users can execute this command to map frames with priority 2 to queue 3.
14-52
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
downstream
mapping.
upstream
mapping.
number1
07
range: 07 characters.
number2
07
range: 07 characters.
number3
07
range: 07 characters.
number4
07
range: 07 characters.
number5
07
range: 07 characters.
number6
07
range: 07 characters.
number7
07
range: 07 characters.
number8
07
range: 07 characters.
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to map frame priorities of the epon-olt_1/4/1 interface
to queues:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#priority-queue-map upstream prio0-que 0 prio1-que 1
prio2-que 2 prio3-que 3 prio4-que 4 prio5-que 5 prio6-que 6 prio7-que 7
Related Commands
14.2.20 show epon priority-queue-map
14-53
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the name of an EPON OLT interface.
Parameters
Parameter
Description
Value
name1
OLT name.
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to set the epon-olt_1/4/1 interface name to
"epon_olt41":
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#property name epon_olt41
Related Commands
None
14.2.19 rx-hec
Syntax
rx-hec [{no|802.3ah-draft|802.3ah-standard|both}]
Function
This command configures the receiving HEC mode at the OLT side. The configuration is
related to the registration of interconnected ONUs and non-interconnected ONUs on an
OLT.
14-54
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
no
no.
802.3ah-draft
802.2ah-draft.
802.3ah-standard
802.2ah-standard.
both
802.2ah-draft and
802.2ah-standard.
Mode
wdm-pon-olt interface mode, epon olt interface mode
Usage Guidelines
No
Examples
The following example shows how to set the receiving HEC mode at the epon-olt_1/4/1
interface to no:
ZXAN(config)#interface epon-olt_1/4/1
ZXAN(config-if)#rx-hec no
Related Commands
None
Function
This command queries the priority queue mapping information at an EPON OLT interface.
Parameters
Parameter
Description
Value
interface1
Epon-olt_shelf/slot/olt
Mode
All modes except user mode
14-55
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the priority queue mapping information at the
epon-olt_1/4/1 interface:
ZXAN#show epon priority-queue-map epon-olt_1/4/1
Direction
-----------------------------------------------downstream
upstream
Related Commands
None
Function
This command queries the available upstream bandwidth information at an EPON OLT
interface.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the available upstream bandwidth information
at the epon-olt_1/4/1 interface:
ZXAN(config)#show olt available-upstream-bandwidth epon-olt_1/4/1
OltInterface
Available bandwidth
---------------------------------------------------------
14-56
SJ-20130118100307-010|2013-02-28 (R1.0)
858280
Related Commands
None
Function
This command queries the configuration of an EPON OLT interface.
Parameters
Parameter
Description
Value
interface1
epon-olt_shelf/slot/oltId.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the configuration of the epon-olt_1/4/1
interface:
ZXAN(config)#show olt config epon-olt_1/4/1
Olt Name:
Encry Algorithm:
triple-churning
EncKeyUpdatePeriod:
10(s);
EncKeyUpdateTimeout: 3(s);
EncStartThreshold:
3(s);
LoopbackLocation:
OLT
LoopbackDirection:
system;
LoopbackExecEntity:
phy
LoopbackStatus:
NO-LOOPBACK;
0 1 2 3 ;
MaxRtt
13524(tq);
Rx-Hex mode
no;
IP pool name
14-57
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the DBA polling configuration information of an EPON OLT
interface.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the DBA polling configuration information of
the epon-olt_1/4/1 interface:
ZXAN(config)#show olt dba-cycle epon-olt_1/4/1
Priority
Cycle time(us)
---------------------------------------1
500
500
500
500
500
500
500
500
Related Commands
None
14-58
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the encryption configuration information of an EPON OLT interface.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the encryption configuration information of the
epon-olt_1/4/1 interface:
ZXAN(config-if)#show olt encrypt
Olt:
1/4;
Encry Algorithm:
triple-churning;
EncKeyUpdatePeriod:
20(s);
EncKeyUpdateTimeout: 3(s);
EncStartThreshold:
3(s);
Related Commands
None
Function
This command queries the MPCP discovery window information.
14-59
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-olt_shelf/slot/olt.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the MPCP discovery window information:
ZXAN(config-if)#show olt mpcp-discovery-window epon-olt_1/15/1
Item
Status
................................................................................
1GSymmetry
enable
10GDownstream-1GUpstream
enable
10Symmetry
enable
Related Commands
None
Function
This command queries the statistic information of an EPON OLT interface.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
14-60
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the statistic information of an EPON OLT
interface:
ZXAN(config-if)#show olt statistics epon-olt_1/4/1
Olt InterFacename:epon-olt_1/4/1
Dot3ExtPkgObjectReportNumThreshold:0
Dot3ExtPkgObjectReportMaximumNumThreshold:0
Dot3ExtPkgStatTxFramesQueue-high32bit:0
Dot3ExtPkgStatTxFramesQueue-low32bit:570589252
Dot3ExtPkgStatRxFramesQueue-high32bit:0
Dot3ExtPkgStatRxFramesQueue-low32bit:0
Dot3ExtPkgStatDroppedFramesQueue-high32bit:0
Dot3ExtPkgStatDroppedFramesQueue-low32bit:8189
-------------------------------------------------------------Olt InterFacename:epon-olt_1/4/1
OltPonAverageBER:0.000000e+00
OltSysAverageBER:0.000000e+00
Related Commands
None
14.2.27 speed
Syntax
speed name1
Function
This command configures the interface forced speed to be 1G, 10G-symmetric, or
10G-asymmetric.
Parameters
Parameter
Description
Value
name1
1G, 10G-symmetric, or
10G-asymmetric.
14-61
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
epon olt interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the speed of the epon-olt_1/5/1 interface
to be 1G.
ZXAN(config)#interface epon-olt_1/5/1
ZXAN(config-if)#speed 1G
Related Commands
None
Function
This command activates an ONU.
Parameters
None
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to activate the No. 1 ONU at the No.1 OLT interface of
shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)# activate
14-62
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
14.3.2 admin
Syntax
admin name1
Function
This command enables or disables the ONU management status.
Parameters
Parameter
Description
Value
name1
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the No. 1 ONU management status at the
No. 1 OLT interface of shelf 1 slot 3:
ZXAN(config)#interface epon-onu_1/3/1:1
ZXAN(config-if)#admin enable
Related Commands
None
14.3.3 deactivate
Syntax
deactivate
Function
This command deactivate an ONU.
14-63
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to deactivate the No. 1 ONU at the No.1 OLT interface
of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#deactivate
Related Commands
None
14.3.4 deregister
Syntax
deregister
Function
This command deletes an ONU registered under the OLT interface.
Parameters
None
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to delete the 1/4/1:1 ONU under the EPON OLT
interface:
ZXAN(config)#interface epon-onu_1/4/1:1
14-64
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command sets the EPON ONU link test.
Parameters
None
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
After the command is executed, the system automatically performs the test and displays
the test result.
Examples
The following example shows how to enable the link test function for the No. 1 ONU at the
No.1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#diagnose link-test
TestSts success.
Related Commands
None
Function
This command sets the EPON ONU loopback test function.
Parameters
None
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
After the command is executed, the system automatically performs the test and displays
the test result.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the loopback test function for the No. 1 ONU
at the No.1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#diagnose loopback
TestSts success.
Related Commands
None
14.3.7 disable
Syntax
disable
Function
This command disables the ONU management status.
Parameters
None
Mode
wdm-pon-onu interface mode, epon onu interface mode
14-66
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to disable the ONU management status:
ZXAN(config)#interface epon-onu_1/5/1:1
ZXAN(config-if)#disable
Related Commands
14.3.9 enable
14.3.8 ems-autocfg-request
Syntax
ems-autocfg-request name1
Function
This command enables or disables the automatic authentication function for an ONU.
Parameters
Parameter
Description
Value
name1
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the automatic authentication function for the
No. 1 ONU at the No.1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#ems-autocfg-request enable
Related Commands
None
14-67
SJ-20130118100307-010|2013-02-28 (R1.0)
14.3.9 enable
Syntax
enable
Function
This command enables the ONU management status.
Parameters
None
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the ONU management status:
ZXAN(config)#interface epon-onu_1/5/1:1
ZXAN(config-if)#enable
Related Commands
14.3.7 disable
14.3.10 encrypt
Syntax
encrypt direction name1 name2 [vport number1]
Function
This command sets attributes of the ONU encryption function.
Parameters
Parameter
Description
Value
name1
Downstream/Bidirectional
name2
Enable/Disable
number1
VPORT number
18
14-68
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
At present, only downstream packets can be encrypted.
Examples
The following example shows how to enable the downstream packet encryption function
for the No. 1 ONU at the epon-onu_1/4/1 interface:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#encrypt direction downstream enable
Related Commands
None
Function
This command enables or disables the upstream FEC function for an EPON ONU.
Parameters
Parameter
Description
Value
name1
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the upstream FEC function for the No. 1 ONU
at the No.1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#fec upstream enable
14-69
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
14.3.12 join-p2p-group
Syntax
join-p2p-group number1
no join-p2p-group number1
Function
This command adds an ONU to a specified P2P group.
Parameters
Parameter
Description
Value
number1
164
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to add the epon-onu_1/4/1:1 EPON ONU to a specified
P2P group.
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)# join-p2p-group 2
Related Commands
None
14.3.13 loid
Syntax
loid name1 [password name2]
Function
This command sets the loid of an ONU.
14-70
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
ONU loid
name2
ONU password
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to set the loid and password of the No. 1 ONU at the
No.1 OLT interface of shelf 1 slot 4. In this example, the loid is onu52_F401_002512e07c7
and the password is "zte".
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#loid onu52_F401_002512e07c71 password zte
Related Commands
None
14.3.14 loid-bind
Syntax
loid-bind {disable|enable}
Function
This command enables or disables the loid binding function.
Parameters
Parameter
Description
Value
disable
function.
enable
function.
Mode
epon onu interface mode
14-71
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to enable the loid binding function:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#loid-bind enable
Related Commands
None
14.3.15 mac
Syntax
mac hexadecimal1
Function
This command sets the MAC address the Ethernet interface of an EPON ONU.
Parameters
Parameter
Description
Value
hexadecimal1
XXXX.XXXX.XXXX.
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to set
epon-onu_1/4/1:1 EPON ONU to 0000.0000.0001.
the
MAC
address
of
the
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#mac 0000.0000.0001
Related Commands
None
14-72
SJ-20130118100307-010|2013-02-28 (R1.0)
14.3.16 mac-bind
Syntax
mac-bind {disable|enable [mac hexadecimal1]}
Function
This command configures the MAC address binding function for an ONU.
Parameters
Parameter
Description
Value
disable
binding function.
enable
binding function.
hexadecimal1
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to bind the MAC address 0000.0000.0001 to the No. 1
ONU of the epon-onu_1/4/1:
ZXAN(config-if)#interface epon-onu_1/4/1:1
ZXAN(config-if)# mac-bind enable mac 0000.0000.0001
Related Commands
None
14.3.17 priority-trans
Syntax
priority-trans {downstream priority number1[default-vlan number2]|upstream priority numb
er3 [default-vlan number4]}
no priority-trans {downstream|upstream}
14-73
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the packet priority converting function for an EPON ONU. It adds
or modifies specified priorities and VLAN IDs for upstream/downstream packets.
Parameters
Parameter
Description
Value
downstream
07
number2
14094
upstream
07
number4
14094
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configures the packet priority converting function for
the epon-onu_1/4/1:1. In this example, the downstream packet priority is converted to 7
and the default VLAN is 100.
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)# priority-trans downstream priority 7 default-vlan 100
Related Commands
None
14-74
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the description information of an ONU.
Parameters
Parameter
Description
Value
WORD1
characters.
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the description information of the No. 1
ONU at the No. 1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#property description onu1
Related Commands
None
Function
This command configures the name of an ONU.
Parameters
Parameter
Description
Value
WORD1
characters.
Mode
epon onu interface mode
14-75
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to configure the name of the No.1 ONU at the No. 1
OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#property name onu1
Related Commands
None
Function
This command configures the splitter information.
Parameters
Parameter
Description
Value
number1
Splitter number.
1255
number2
165535
Mode
epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the splitter information of the No.1 ONU at
the No. 1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#property splitter 1 lineno 1
Related Commands
None
14-76
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the user information of an ONU.
Parameters
Parameter
Description
Value
WORD1
characters.
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the user information of the No. 1 ONU at
the No. 1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#property user-info onu1
Related Commands
None
Function
This command queries the registration and authentication information and status
information of ONUs at an EPON OLT interface.
14-77
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
authentication
authentication
interface1
epon-olt_shelf/slot/olt.
unauthentication
unauthentication
interface2
epon-olt_shelf/slot/olt.
EPON OLT interface, format:
interface3
epon-olt_shelf/slot/olt.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the ONU authentication information at the
epon-olt_1/4/1 interface:
ZXAN#show onu authentication epon-olt_1/4/1
Onu interface :
epon-onu_1/4/1:1;
Onu type :
ZTE-F425;
MAC address :
000c.0000.0001;
SN :
State :
Power-Off;
LastAuthTime :
0000/00/00 00:00:00
The following example shows how to query the ONU status information at the
epon-olt_1/4/1:1 interface:
ZXAN#show onu all-status epon-olt_1/4/1:1
Related Commands
None
Function
This command queries the configuration information of an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the configuration information of the No. 1 ONU
at the epon-olt_1/4/1 interface:
ZXAN#show onu config epon-onu_1/4/1:1
status: not configured.
Related Commands
None
Function
This command queries detailed information of an ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query detailed information of the No. 1 ONU at the
No. 1 OLT interface of shelf 1 slot 4:
ZXAN(config)#show onu detail-info epon-onu_1/4/1:1
Onu interface:
epon-onu_1/4/1:1
AdminState:
enable
RegState:
registered
AuthState:
pass
OnuType:
ZTE-F425;
SN:
MAC:
0015.eb71.2d54
GeneralDescription:
no description
SpliterNo:
FiberNo:
UserInfo:
no user's information
FecMode:
disable
FecAbility:
support
LoopbackStatus:
noLoopback
OamLoopbacIgnoreRx:
ignore
EncryptDestination:
downstream
EncryptStatue:
enable
disable
0000.0000.564f
Automatic config:
enable
Related Commands
None
Function
This command queries the MPCP information of an EPON ONU interface.
14-80
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the MPCP information of the No. 1 ONU at
the epon-olt_1/4/1 interface:
ZXAN#show onu mpcpinfo epon-onu_1/4/1:1
oprStatus:
false;
AdminStatus:
false;
SyncTime:
0;
MpcpMode:
olt;
MpcpLinkID:
0;
RemoteMacAddr:
0000.0000.0000;
RegistrationState:
unregister;
RoundTripTime:
0(tq);
MaximumPendingGrants:
0;
Related Commands
None
Function
This command queries the OAM information of an EPON ONU interface.
14-81
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the OAM information of the No. 2 ONU at the
epon-olt_1/4/3 interface:
ZXAN#show onu oam epon-onu_1/4/3:2
Onu interface:
epon-onu_1/4/3:2
OamAdminState:
enable
OamOperStatus:
operational
OamMode:
active
MaxOamPduSize:
1518
OamconfigRevision:
OamFunctionSupported:
PeerMacAddress:
0015.eb71.2d54;
PeerVendorInfo:
1661009920;
PeerMode:
passive;
PeerMaxOamPduSize:
1518;
PeerConfigRevision:
1;
PeerFunctionSupported:.
Related Commands
None
14-82
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the ONU-based packet priority transition information at an
EPON OLT interface.
Parameters
Parameter
Description
Value
downstream
upstream
transition information.
epon onu interface, format:
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the downstream ONU packet priority transition
information at the epon-olt_1/4/3 interface:
ZXAN(config)# show onu priority-trans downstream epon-olt_1/4/3
Onu interface
Priority
Default vlan
State
------------------------------------------------------------------epon-onu_0/4/3:1
disable
epon-onu_0/4/3:2
disable
epon-onu_0/4/3:3
disable
Related Commands
None
Function
This command queries the running configuration information of an EPON ONU interface.
14-83
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt: onu or
gpon-onu_shelf/slot/olt: onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the running configuration information of the
No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 4:
ZXAN#show onu running config epon-onu_1/4/1:1
olleh
!
pon-onu-mng epon-onu_1/4/1:1
no Forbid-auto-dispatch
interface eth eth_0/1 policing downstream enable cir 2000 cbs 2000 ebs 2000
!
Related Commands
None
Function
This command queries the bandwidth information of an ONU.
14-84
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Downstreawm/Upstream
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the bandwidth information of an ONU:
ZXAN(epon-onu-mng)#show onu sla downstream epon-onu_1/3/1:1
ID
MaxBw(Kbps)
MaxBurstSize(Bytes)
ProfileName
--------------------------------------------------------------1
100000
16777215
N/A
Related Commands
None
Function
This command queries the performance statistic data of an ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
14-85
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the performance statistic data of an ONU:
ZXAN(config)#show onu statistics epon-onu_1/11/1:1
-------------------------------------------------------Dot3MpcpMACCtrlFramesTransmitted-high32bit:0
Dot3MpcpMACCtrlFramesTransmitted-low32bit:0
Dot3MpcpMACCtrlFramesReceived-high32bit:0
Dot3MpcpMACCtrlFramesReceived-low32bit:0
Dot3MpcpDiscoveryWindowsSent:0
Dot3MpcpDiscoveryTimeout:0
Dot3MpcpTxRegRequest-high32bit:0
Dot3MpcpTxRegRequest-low32bit:0
Dot3MpcpRxRegRequest-high32bit:0
............
Related Commands
None
Function
This command queries the vport information of an ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
Port ID.
18
Mode
All modes except user mode
Usage Guidelines
None
14-86
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the vport information of an ONU:
ZXAN(config)#show onu vport-info epon-onu_1/11/1:1
Vport
MAC
AuthState
EncryptDestination
EncryptStatus
--------------------------------------------------------------------------------
1212.1212.1212
not register
downstream
enable
Related Commands
None
14.3.32 sla
Syntax
sla {downstream{[maximum number1][maxburst number2]}|upstream{[fixed number3][fixedpk
t number4][assured number5][maximum number6][maxburst number7][priority number8]}}[vpo
rt number9]
Function
This command configures the bandwidth of an EPON ONU.
Parameters
Parameter
Description
Value
downstream
bandwidth.
number1
Maximum downstream
51210000000
116777215
010000000
kbps.
number4
641522
byte.
14-87
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number5
Upstream guaranteed
010000000
51210000000
kbps.
number7
116777215
byte.
number8
Frame priority.
07
number9
Port number.
18
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the bandwidth of the No. 1 ONU at the
No.1 OLT interface of shelf 1 slot 4:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#sla upstream maximum 100000 maxburst 180000
Related Commands
None
14.3.33 sla-profile
Syntax
sla-profile name1 [vport number1]
no sla-profile [vport number1]
Function
This command applies an sla profile to a vport.
Parameters
Parameter
Description
Value
name1
Profile name
number1
Port ID
18
14-88
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply an sla profile whose name is "zte" to vport 1:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#sla-profile zte vport 1
Related Commands
None
14.3.34 sn
Syntax
sn name1
Function
This command modifies the registration serial number of a specified ONU.
Parameters
Parameter
Description
Value
name1
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to modify the registration serial number of a specified
ONU:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#sn 0x91000048
14-89
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
14.3.35 trap-mask
Syntax
trap-mask number1
Function
This command sets the ONU trap report mask.
Parameters
Parameter
Description
Value
number1
Control value
04294967295
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to set the ONU trap report mask to 11111111111:
ZXAN(config)#interface epon-onu_1/4/1:1
ZXAN(config-if)#trap-mask 11111111111
Related Commands
None
14.3.36 vport
Syntax
vport number1 mac hexadecimal1
no vport number1
Function
This command creates an ONU vport.
14-90
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Port number
18
hexadecimal1
Mode
wdm-pon-onu interface mode, epon onu interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU vport. In this example, the port
number is 1 and the MAC address is 0000.0000.0001.
ZXAN(config)#interface epon-onu_1/3/1:1
Related Commands
None
Function
This command activates a PON interface.
Parameters
Parameter
Description
Value
name1
active/standby.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
14-91
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to activate a standby PON interface:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#active pon-if back
Related Commands
None
14.4.2 alarm
Syntax
alarm name1
Function
This command enables or disables the alarm reporting function for an EPON ONU.
Parameters
Parameter
Description
Value
name1
reporting function.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the alarm reporting function for the No. 1
ONU at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#alarm enable
Related Commands
None
14-92
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the UNI interface alarms for an ONU.
Parameters
Parameter
Description
Value
name1
eth_slot/portId.
name2
name3
e1_slot/portId.
name4
name5
voip_slot/portId.
name6
name7
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the automatic negotiation failure alarm for the
No. 1 Ethernet port of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#alarm interface eth eth_0/1 AutoNegFailure enable
Related Commands
The following command queries the alarm information of remotely managed ONUs and
UNI interfaces:
14.4.101 show remote onu alarm uni
14-93
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the ONU alarm type.
Parameters
Parameter
Description
Value
name1
Alarm type.
name2
type.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the BatteryFailure alarm type for an ONU.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#alarm onu BatteryFailure enable
Related Commands
14.4.99 show remote onu alarm onu
Function
This command configures the alarm information for a PON interface.
14-94
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
PON interface.
12
name1
Alarm type.
name2
type.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the DownstreamCRCErrorFramesWarning
alarm type for a PON interface:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#alarm pon-if 1 DownstreamCRCErrorFramesWarning enable
Related Commands
14.4.100 show remote onu alarm pon-if
14.4.6 alarm-threshold
Syntax
alarm-threshold {onu {name1 assert-val name2 restore-val name3|name4 assert-val name5 rest
ore-val name6}|pon-if number1 {name7 assert-value name8 restore-value name9 |name10 asser
t-value name11 restore-value name12|name13 assert-value name14 restore-value name15|nam
e16 assert-value name17 restore-value name18|name19 assert-value name20 restore-value nam
e21|name22 assert-value name23 restore-value name24|name25 assert-value name26 restore-v
alue name27|name28 assert-value name29 restore-value name30|name31 assert-value number2
restore-value number3}|interface name32 name33 assert-value number4 restore-value number5}
Function
This command sets the ONU alarm thresholds.
14-95
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
onu
onu
name1
Alarm type.
name2
0.06.55 V.
name3
range: 0.06.55 V.
name4
name5
127 C.
name6
pon-if
number1
12
name7
name8
8.16 dBm.
name9
name11
0131 mA.
name12
name14
0.06.55 V.
name15
range: 0.06.55 V.
name16
name17
127.
name18
14-96
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name20
8.16 dBm.
name21
name23
0131 mA.
name24
name26
0.06.55 V.
name27
range: 0.06.55 V.
name28
name29
127 C.
name30
number2
14294967295
14294967295.
number3
14294967295
range: 14294967295.
interface
interface
name32
name.
name33
number4
14294967295
14294967295.
number5
14294967295
range: 14294967295.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
14-97
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to set the ONU alarm thresholds. In this example, the
ONU low battery alarm threshold is 2 V and the alarm recovery threshold is 3 V.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
Related Commands
14.4.102 show remote onu alarm-threshold onu
14.4.7 auto-config
Syntax
auto-config
no auto-config
Function
This command sets the automatic configuration function.
Parameters
None
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the automatic configuration function:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#auto-config
Related Commands
14.4.104 show remote onu auto-config
14-98
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the voip automatic configuration function.
Parameters
None
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the voip automatic configuration function:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#auto-config voip
Related Commands
None
Function
This command automatically configures the WAN data.
Parameters
None
14-99
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to automatically configures the WAN data:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#auto-config wan
Related Commands
None
Function
This command automatically configures the WiFi data.
Parameters
None
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to automatically configures the WiFi data:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#auto-config wifi
Related Commands
None
14-100
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates an IPV6 condition profile.
Parameters
Parameter
Description
Value
name1
hexadecimal1
hexadecimal2
ip_addr1
Destination IP address
ip_addr2
Source IP address
number1
Priority
07
number2
VLAN ID
14094
number3
IP TOS/DSCP
063
number4
Source port
165535
number5
Destination port
165535
number6
IPv4 precedence
07
name2
Ethernet type
name3
IP protocol type
number7
0255
name4
IP version
number8
Flow label
065535
ipv6_addr1
Destination IP address
ipv6_addr2
Source IP address
v6mask1
Destination IP prefix
v6mask2
Source IP prefix
name5
Operation type
14-101
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an IPV6 condition profile. In this example, the
destination MAC address is 1111.1111.1111 and the operation type is always-match.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#
classification condition-ipv6-profile zte dmac 1111.1111.1111 operation-type always-match
Related Commands
None
Function
This command creates an EPON ONU classification condition profile.
Parameters
Parameter
Description
Value
name1
hexadecimal1
format: XXXX.XXXX.XXXX.
hexadecimal2
XXXX.XXXX.XXXX.
ip_addr1
A.B.C.D.
ip_addr2
A.B.C.D.
14-102
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number1
07
number2
14094
number3
063
063.
number4
165535
165535
07
07.
name2
Operation type.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a classification condition profile. In this
example, the profile name is "zte", and the profile sets the No. 1 ONU at the No. 1 OLT
interface of shelf 1 slot 10 that the operation type of the packet whose VLAN ID is 100 is
always-match.
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#classification condition-profile zte vlanId 100
operation-type always-match
Related Commands
14.4.106 show remote onu classification profile
14-103
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command adds or deletes the classification and mapping control rules for upstream
service flows at an EPON ONU Ethernet port.
Parameters
Parameter
Description
Value
name1
eth_slot/port.
number1
18
name2
characters.
name4
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
Before executing this command, users must first configure a classification condition profile
a mapping rule profile.
Users can only use the configured classification condition profiles and mapping rule profiles
to configure Ethernet port rules.
At most four classification condition profiles can be used in configuring the rules of an
Ethernet port.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the threshold of the No. 1 queue of the No. 1
ONU at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#classification port eth_0/1 rule-precedence 8 add zte zte
14-104
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command creates an EPON ONU mapping rule profile.
Parameters
Parameter
Description
Value
name1
number1
07
number2
07
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a mapping rule profile. In this example, the
profile name is "zte", and the profile maps the priority of the No. 1 queue of the No. 1 ONU
at the No. 1 OLT interface of shelf 1 slot 10 to 5.
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)# classification rule-profile zte queue 1 priority 5
Related Commands
None
14.4.15 clear-oam-config
Syntax
clear-oam-config
14-105
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command clears the OAM configuration.
Parameters
None
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to clear the OAM configuration:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#clear-oam-config
Related Commands
None
14.4.16 compatibility
Syntax
compatibility {disable|enable mode name1}
Function
This command sets the ONU compatibility.
Parameters
Parameter
Description
Value
disable
enable
name1
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
14-106
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable compatibly sending CTC-type frames:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#compatibility enable mode CTC
Related Commands
14.4.107 show remote onu compatibility
14.4.17 config-pvid
Syntax
config-pvid port number1 pvid number2
Function
This command configures the PVID of a ZTE ONU (ZTE extended OAM-type ONU).
Parameters
Parameter
Description
Value
number1
18
number2
VLAN ID
14094
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the PVID of Etherenet port 2 to 3:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#config-pvid port 2 pvid 3
Related Commands
None
14-107
SJ-20130118100307-010|2013-02-28 (R1.0)
14.4.18 config-vlan
Syntax
config-vlan number1 ports name1{tag|untag}
Function
This command sets the VLAN of a ZTE ONU (ZTE extended OAM-type ONU).
Parameters
Parameter
Description
Value
number1
VLAN ID
14094
name1
Port number
tag
tag mode
untag
untag mode
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the VLAN of a ZTE ONU to 1 and set port 2 to
tag mode:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#config-vlan 1 ports 2 tag
Related Commands
None
Function
This command sets the threshold of an EPON ONU queue.
14-108
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
13
number2
065535
165535.
number3
065535
165535.
number4
065535
165535.
number5
065535
165535.
number6
065535
165535.
number7
065535
165535.
number8
065535
165535.
number9
065535
165535.
number10
18
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the threshold of queue 2 of the No. 1 ONU at the
No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#dba queue-set 2 queue1 65535
queue2 65535 queue3 65535 queue4 65535 queue5
65535 queue6 65535 queue7 65535 queue8 65535
Related Commands
14.4.109 show remote onu dba
14-109
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command activates the DBA function for an EPON ONU queue.
Parameters
Parameter
Description
Value
name1
18
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
Before activating the DBA function for an EPON ONU queue, the thresholds of the
corresponding queue set must be set.
Examples
The following example shows how to activate the DBA function for queue 2 of the No. 1
ONU at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#dba queue-set active 2
Related Commands
None
Function
This command enables or disables the EPON ONU upstream FEC function.
14-110
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Mode
epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the FEC function for the No. 1 ONU at the
No. 1 OLT interface of shelf 0 slot 4:
ZXAN(config)#interface epon-onu_0/4/1:1
ZXAN(config-if)#fec upstream enable
Related Commands
None
14.4.22 holdover
Syntax
holdover {disable|enable [time number1]}
Function
This command manages the ONU status holdover function in optical link protection.
Parameters
Parameter
disable
Description
Value
holdover function.
enable
holdover function.
number1
501000
ms.
14-111
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the ONU status holdover function
management. In this example, the time range is 100 ms.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#holdover enable time 100
Related Commands
14.4.111 show remote onu holdover
14.4.23 interface e1
Syntax
interface e1 name1 name2
Function
This command sets the E1 interface of an EPON ONU.
Parameters
Parameter
Description
Value
name1
interface.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the E1 interface of No. 1 ONU at the No. 1
OLT interface of shelf 1 slot 10:
14-112
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command sets a specified Ethernet interface.
Parameters
Parameter
Description
Value
name1
Enable/Disable.
name3
Enable/Disable.
name4
Enable/Disable/Restart.
policing-profile
Policing profile.
unbind
bind
name5
116 characters.
policing
Policing function.
downstream
Downstream flow.
upstream
Upstream flow.
disable
enable
number1
010000000
kbps.
14-113
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
152216777215
unit: byte.
number3
01522
name6
Enable/Disable
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the auto-neg function for a specified Ethernet
interface:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
Related Commands
None
Function
This command sets the VoIP interface of an EPON ONU.
Parameters
Parameter
Description
Value
name1
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
14-114
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to enable the VoIP interface of the No. 1 ONU at the
No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#interface voip voip_0/1 enable
Related Commands
None
14.4.26 interface-loopdetect
Syntax
interface-loopdetect name1 name2
Function
This command configures the interface loop detecting function.
Parameters
Parameter
Description
Value
name1
eth_slot/portA[-portB].
name2
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to activate the loop detecting function for the eth_0/1
interface:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#interface-loopdetect eth_0/1 activate
14-115
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.114 show remote onu loopdetect
14.4.27 isolation
Syntax
isolation name1
Function
This command enables or disables the port isolation function for an EPON ONU.
Parameters
Parameter
Description
Value
name1
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the port isolation function for the No. 1 ONU
at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#isolation enable
Related Commands
None
14.4.28 llid-queue
Syntax
lid-queue [vport number1] queue1 number2 number3 [queue2 number4 number5 [queue3 number
6 number7 [queue4 number8 number9 [queue5 number10 number11 [queue6 number12 number13
[queue7 number14 number15 [queue8 number16 number17]]]]]]]
14-116
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command manages the corresponding relationship between an LLID and the service
queue.
Parameters
Parameter
Description
Value
number1
LLID.
18
number2
Queue number.
07
number3
0100
number4
Queue number.
07
number5
0100
number6
Queue number.
07
number7
0100
number8
Queue number.
07
number9
0100
number10
Queue number.
07
number11
0100
number12
Queue number.
07
number13
0100
number14
Queue number.
07
number15
0100
number16
Queue number.
07
number17
0100
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure an LLID queue.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#
llid-queue queue1 1 2 queue2 2 3 queue3 4 5 queue4 1 2 queue5 2 3 queue6 2 2
queue7 2 3 queue8 2 3
14-117
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.113 show remote onu llid-queue
Function
This command adds an MAC address.
Parameters
Parameter
Description
Value
name1
Port
name2
hexadecimal1
MAC address
number1
VLAN ID
14094
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the Ethernet interface MAC address of the
No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 3. In this example, the MAC address
is 0000.0000.0001 and the VLAN ID is 1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#mac add eth_0/1 bind 0000.0000.0001 1
Related Commands
14.4.32 mac delete
44.10 show mac
14-118
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the dynamic MAC address aging time.
Parameters
Parameter
Description
Value
number1
1586400
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
If the MAC address aging time is n seconds, the dynamic MAC address can be aged within
n seconds to 2n seconds.
Examples
The following example shows how to set the dynamic MAC address aging time to 180
seconds:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#mac aging-time 180
Related Commands
None
Function
This command clears all MAC addresses.
14-119
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Port
name2
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to clear all static MAC addresses at the eth_0/1
interface:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#mac clear eth_0/1 static
Related Commands
None
Function
This command delete a MAC address.
Parameters
Parameter
Description
Value
name1
Port
name2
hexadecimal1
MAC address
number1
VLAN ID
14094
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
14-120
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If no VLAN ID is specified, all MAC addresses that match the mac-address parameter will
be deleted.
Examples
The following example shows how to delete the MAC address of the No. 1 ONU at the No.
1 OLT interface of shelf 1 slot 3. In this example, the MAC address is 0000.0000.0001 and
the VLAN ID is 1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#mac delete eth_0/1 bind 0000.0000.0001 1
Related Commands
14.4.29 mac add
44.10 show mac
Function
This command sets the maximum number of MAC addresses that an EPON ONU Ethernet
port can learn.
Parameters
Parameter
Description
Value
name1
065534
No limit.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
14-121
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the maximum number of Ethernet port MAC
addresses of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 10. In this example,
the maximum number is set to 32.
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#mac limit-num eth_0/1 32
Related Commands
None
14.4.34 mgmt-ip
Syntax
mgmt-ip {status name1|ip_addr1 ip_addr2 vlan number1 [svlan number2] priority number3 rou
te ip_addr3 ip_addr4 ip_addr5 [status name2]}
Function
This command sets the management IP address of an EPON ONU.
Parameters
Parameter
Description
Value
name1
ip_addr1
ONU IP address.
ip_addr2
number1
14094
number2
14094
number3
07
ip_addr3
ip_addr4
ip_addr5
name2
management status.
Mode
GPON-ONU-MNG mode, EPON-ONU-MNG mode
14-122
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The ONU IP address and the remote host IP address cannot be in the same
network segment as that of the ONU LAN IP address (the default value is
192.168.1.1/255.255.255.0).
If the ONU is connected to a WAN, the ONU IP address and the remote host IP address
cannot be in the same network segment as that of the IP addresses connected by the
WAN.
The VLAN cannot be the VLAN used by the ONU.
Examples
The following example shows how to set the management IP address status to automatic
allocation for the No. 1 ONU at the No. OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#mgmt-ip auto-assign
Related Commands
14.4.116 show remote onu mgmt-ip
Function
This command automatically assigns ONU management IP addresses from the IP address
pool.
Parameters
None
Mode
GPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to automatically assigns ONU management IP
addresses from the IP address pool:
14-123
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command sets the DHCP function for an ONU management IP address.
Parameters
Parameter
Description
Value
disable
enable
number1
14094
number2
07
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the DHCP function for the No.
management IP address at the No. 1 OLT interface of shelf 1 slot 10:
1 ONU
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#mgmt-ip dhcp enable vlan 110 priority 0
Related Commands
14.4.117 show remote onu mgmt-ip dhcp
14-124
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command releases the management IP address of an ONU.
Parameters
None
Mode
GPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to release the management IP address of the No. 1
ONU at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#mgmt-ip release
Related Commands
None
14.4.38 mng-snmp
Syntax
mng-snmp version name1 hostIp ip_addr1 trap-port number1 snmp-port number2 securityNa
me name2 communityRead name3 communityWrite name4
Function
This command configures the management SNMP properties.
Parameters
Parameter
Description
Value
name1
Version.
ip_addr1
IP address.
14-125
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number1
Port.
165535
number2
snmp port.
165535
name2
Security name.
name3
Community read.
name4
Community write.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the management SNMP properties:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#mng-snmp version v1 hostIp 1.2.3.4 trap-port 1 snmp-port 1
securityName zte communityRead zte communityWrite zte
Related Commands
14.4.118 show remote onu mng-snmp
Function
This command sets the SNMP IPv6 properties.
Parameters
Parameter
Description
Value
name1
ipv6_addr1
IPv6 address.
number1
trap port.
165535
number2
snmp port.
165535
14-126
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
Security name.
name3
Community read.
name4
Community write.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the SNMP IPv6 properties:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#mng-snmp ipv6 version v1 hostIp 2001::1 trap-port 2 snmp-port 2
securityName zte communityRead zte communityWrite zte
Related Commands
14.4.119 show remote onu mng-snmp ipv6
Function
This command configures the ONU Ethernet interface multicast control mode.
Parameters
Parameter
Description
Value
name1
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
14-127
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the ONU Ethernet interface multicast
control mode:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
Related Commands
None
Function
This command configures the ONU multicast fast leave function.
Parameters
Parameter
Description
Value
name1
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the ONU multicast fast leave function:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)# multicast fastleave enable
Related Commands
None
14-128
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the maximum number of multicast groups at an EPON ONU Ethernet
port.
Parameters
Parameter
Description
Value
name1
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the maximum number of multicast groups at the
No. 1 ONU Ethernet port at the No. 1 OLT interface of shelf 1 slot 10: In this example, the
maximum number is set to 32.
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#multicast group-max-number eth_0/1 32
Related Commands
None
14-129
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the multicast mode of an EPON ONU. The mode can be
IGMP Snooping mode, controllable multicast mode, and transparent transmission mode.
Parameters
Parameter
Description
Value
name1
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the multicast mode of the No. 1 ONU at
the No. 1 OLT interface of shelf 1 slot 10. In this example, the multicast mode is set to
IGMP Snooping.
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#multicast switch igmpsnooping
Related Commands
None
Function
This command configures the multicast VLAN of an EPON ONU Ethernet port.
Parameters
Parameter
Description
Value
name1
eth_slot/port.
name2
14-130
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name3
VLAN ID is 10.
clear
clear
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
This command is executed only when the multicast mode is set to igmp snooping.
If the action is set to "clear", users need not set the vlanlist parameter. It indicates that all
multicast VLAN configurations of the port will be deleted.
If the action is set to "add" or "delete", the vlanlist parameter must be set.
Examples
The following example shows how to configure the multicast VLAN of the No. 1 ONU
Ethernet port at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#multicast vlan port eth_0/1 add vlanlist 1,3,5-8
Related Commands
None
Function
This command enables or disables the multicast VLAN tag strip function for an EPON ONU
Ethernet port:
Parameters
Parameter
Description
Value
name1
disable
14-131
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
translate
name2
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the multicast VLAN tag strip function for the
No. 1 ONU Ethernet port at the No. 1 OLT interface of shelf 1 slot 10:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#multicast vlan tag-strip port eth_0/1 enable
Related Commands
None
14.4.46 onu-queue
Syntax
onu-queue apply name1
Function
This command applies an ONU SLA queue profile.
Parameters
Parameter
Description
Value
apply
Applying a profile.
name1
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
14-132
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to apply an ONU SLA queue profile whose name is
"zte":
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#onu-queue apply zte
Related Commands
14.4.73 show remote epon onu-queue-profile
Function
This command restarts the current performance statistics period.
Parameters
Parameter
Description
Value
number1
Active/standby.
12
name1
Port number.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to restart the current performance statistics period of
the No. 1 PON interface of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 3:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#performance restart-current-period pon-if 1
Related Commands
None
14-133
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the performance statistics status and period.
Parameters
Parameter
Description
Value
name1
number1
016777215
number2
12
name2
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the performance statistics function for the No.
1 PON interface of the No. 1 ONU at the No. 1 OLT interface of shelf 1 slot 3:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#performance status enable pon-if 1
Related Commands
None
14.4.49 pon-buffer
Syntax
pon-buffer name1 {use-default|user-defined size number1}
Function
This command configures the upstream/downstream buffer size of an ONU PON. Users
can use the default configuration or customize the buffer size as required.
14-134
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Upstream/downstream.
use-default
user-defined
configuration.
number1
016777215
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the downstream buffer size of an ONU
PON. In this example, the buffer size is 1500 bytes.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#pon-buffer downstream user-defined size 1500
Related Commands
None
14.4.50 pon-downstream-shaping
Syntax
pon-downstream-shaping {disable|enable cir number1 [cbs number2]}
Function
This command configures the downstream shaping function for an ONU.
Parameters
Parameter
disable
Description
Value
14-135
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number1
01000000
01000000 Kbps.
number2
152216777215
152216777215 bytes.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the downstream shaping function for an
ONU. In this example, the function is enabled, cir is set to 2000 Kbps, and cbs is set to
3000 bytes.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#pon-downstream-shaping enable cir 2000 cbs 3000
Related Commands
None
14.4.51 pppoe-test
Syntax
pppoe-test name1 action name2 username name3 password name4 pppoe-mode name5 vlan
number1
Function
This command performs the PPPoE simulated dialing test at an Ethernet service port.
Parameters
Parameter
Description
Value
name1
start/stop.
name3
name4
pppoe-test password.
14-136
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
Automatic/CHAP/PAP
number1
14094
range: 14094.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to perform the PPPoE simulated dialing test at the
eth_0/1 port:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#pppoe-test eth_0/1 action start username xPon password xPon
pppoe-mode chap vlan 0
Related Commands
14.4.131 show remote onu pppoe-test
14.4.52 protection
Syntax
protection {[optical-LoS-time number1] [MAC-LoS-time number2]}
Function
This command configures the optical out-of-synchronization
out-of-synchronization time for the protection of an ONU.
time
and
MAC
Parameters
Parameter
Description
Value
number1
optical out-of-synchronization
165535
mac out-of-synchronization
165535
Mode
EPON-ONU-MNG mode
14-137
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to configure the optical out-of-synchronization time and
MAC out-of-synchronization time for the protection of an ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/5/1:1
ZXAN(epon-onu-mng)#protection MAC-LoS-time 1000 optical-LoS-time 2000
Related Commands
14.4.132 show remote onu protection parameters
14.4.53 reboot
Syntax
reboot
Function
This command reboots an ONU.
Parameters
None
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to reboot an ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#reboot
Related Commands
None
14-138
SJ-20130118100307-010|2013-02-28 (R1.0)
14.4.54 region
Syntax
region number1
Function
This command sets the country code of an ONU.
Parameters
Parameter
Description
Value
number1
065535
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the country code of an ONU to 1:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#region 1
Related Commands
None
Function
This command registers an sip interface.
Parameters
Parameter
Description
Value
number1
Slot number
1255
14-139
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to register the sip interface at slot 1:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#register sip-port slot 1
Related Commands
None
Function
This command registers a voice module.
Parameters
Parameter
Description
Value
number1
Slot number
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to register a voice module. In this example, the slot
number is 1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#register voip-module slot 1
14-140
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command resets the ONU interface statistic data.
Parameters
Parameter
Description
Value
name1
ID.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to reset the statistics data of the eth_0/1 port:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#reset uni-statistic eth_0/1
Related Commands
None
Function
This command resets voice.
14-141
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Slot number
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to reset the voice at slot 1:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#reset voip-module slot 1
Related Commands
None
14.4.59 reset-card
Syntax
reset-card slot number1
Function
This command resets a card.
Parameters
Parameter
Description
Value
number1
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to reset the card at slot 1:
14-142
SJ-20130118100307-010|2013-02-28 (R1.0)
ZXAN(epon-onu-mng)#reset-card slot 1
Related Commands
14.4.53 reboot
Function
This command restores the factory default configuration.
Parameters
None
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to restore the factory default configuration:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#restore factory-settings
Related Commands
None
Function
This command restores the voice function of a slot.
14-143
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Slot number
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to restore the voice function of slot 1:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#restore voip-module slot 1
Related Commands
None
14.4.62 rms
Syntax
rms {[ip-addr ip_addr1 mask ip_addr2] [ip-profile name1]}[pppoe username name2 password
name3][vlan-profile name4][url name5] slot number1
Function
This command configures RMS IP addresses.
Parameters
Parameter
Description
Value
ip_addr1
IP address.
ip_addr2
Mask.
name1
IP profile name.
pppoe
pppoe.
name2
User name.
name3
Password.
name4
14-144
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
URL.
number1
Slot number.
1255
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the RMS IP address of slot 1. In this
example, the IP address is 1.2.3.4 and the mask is 255.255.255.1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#rms ip-addr 1.2.3.4 mask 255.255.255.1 slot 1
Related Commands
14.4.76 show remote epon rms
14.4.63 save
Syntax
save
Function
This command saves the configuration of an ONU.
Parameters
None
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to save the configuration of an ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
14-145
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
14.4.64 security-mng
Syntax
security-mng name1 name2
Function
This command enables or disables the ONU application protocol security management
function.
Parameters
Parameter
Description
Value
name1
Telnet protocol.
name2
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the ONU application protocol security
management function:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#security-mng telnet enable
Related Commands
14.4.134 show remote onu security-mng
Function
This command applies a serial port attribute profile and sets its attributes.
Parameters
Parameter
Description
Value
name1
com_slot/port.
apply
apply.
name2
mode
mode.
name3
mode.
ip_addr1
Local IP address.
number1
165535
name4
Mode.
ip_addr2
Local IP address.
number2
165535
ip_addr3
Remote IP address.
number3
165535
name5
com_slot/port.
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a serial port attribute profile and set its
attributes. In this example, the profile name is "zte".
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#serial-port attribute-profile com_0/3 apply zte mode tcp-client-mode
local-ip 10.63.196.160 local-port 8093 remote-ip 10.46.46.142 remote-port 142
14-147
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.135 show remote onu serial-port attribute
Function
This command applies a serial port buffer profile.
Parameters
Parameter
Description
Value
name1
com_slot/port.
apply
apply.
name2
name3
com_slot/port.
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a serial port buffer profile whose name is "zte":
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#serial-port buffer-profile com_0/3 apply zte
Related Commands
14.4.136 show remote onu serial-port buffer
14-148
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command applies a serial port global configuration profile.
Parameters
Parameter
Description
Value
apply
apply.
name1
profile name.
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply a serial port global configuration profile whose
name is "zte":
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#serial-port global-profile apply zte
Related Commands
14.4.137 show remote onu serial-port global information
14.4.68 serial-port ip
Syntax
serial-port ip {{name1 ip_addr1 ip_addr2 Priority number1 vlan number2 route-subnet ip_addr3
ip_addr4 ip_addr5|name2 ip_addr6}|name3}
Function
This command sets the IP address of a serial port.
14-149
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
ip_addr1
IP address.
ip_addr2
Mask.
number1
Priority.
07
number2
VLAN ID.
14093
ip_addr3
Subnetwork IP address.
ip_addr4
Subnetwork mask.
ip_addr5
Gateway.
name2
ip_addr6
IP address.
name3
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to add IP address for a serial port:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#serial-port ip add 10.63.196.160 255.255.255.0 Priority 0 vlan 149
route-subnet 0.0.0.0 0.0.0.0 10.63.196.254
Related Commands
14.4.138 show remote onu serial-port ip
Function
This command clears the statistics data of a serial port.
14-150
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
clear
clear.
name1
com_slot/port.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to clear the statistics data of a serial port:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#serial-port statistic clear com_0/3
Related Commands
14.4.139 show remote onu serial-port statistic
Function
This command queries the fax profile information.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
None
14-151
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the fax profile information:
ZXAN(epon-onu-mng)#show remote epon fax profile
Fax profile:
default
T38 is:
disable
Related Commands
None
Function
This command queries the information of an h248 profile.
Parameters
Parameter
Description
Value
name1
Profile name.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of an h248 profile:
ZXAN(epon-onu-mng)#show remote epon h248-profile
H248protocol profile:
default
0.0.0.0
port:
2944
0.0.0.0
port:
2944
disable
heartbeat mode:
h248ctc
14-152
SJ-20130118100307-010|2013-02-28 (R1.0)
60
count-time:
MG register mode:
ip
MG port:
2944
Related Commands
None
Function
This command queries the information of an MGCP profile.
Parameters
Parameter
Description
Value
name1
Profile name.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of an MGCP profile:
ZXAN(epon-onu-mng)#show remote epon mgcp-profile
default
0.0.0.0
port:
2727
2727
heartbeat mode:
mgcp
cycle-time(in seconds):
60
count-time:
MG register mode:
ip
MG port:
2427
14-153
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the information of an ONU queue profile.
Parameters
Parameter
Description
Value
name1
Profile name.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of an ONU queue profile:
ZXAN(epon-onu-mng)#show remote epon onu-queue-profile
-------------------------------------------------------ProfileName:
default
SlaOperation:
deactivate
Scheduling:
sp
High_priority:
CycleLen:
Related Commands
None
Function
This command queries the ping test information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
Slot number.
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the ping test information:
ZXAN(epon-onu-mng)#show remote epon ping-test epon-onu_1/11/1:1 slot 1
Related Commands
None
Function
This command queries the status of an interface.
Parameters
Parameter
Description
Value
interface1
Interface, format:
epon-onu_shelf/slot/olt:onu.
name1
Format: pots_slot/port
Mode
All modes except user mode
14-155
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the status of an interface:
ZXAN(epon-onu-mng)#show remote epon pots status epon-onu_1/11/1:1
pots
status
service-type
service-status
codec-mode
-------------------------------------------------------------------------pots_1/1
registering
N/A
endAuto
G711A
pots_1/2
registering
N/A
endAuto
G711A
Related Commands
None
Function
This command queries the voip remote configuration information.
Parameters
Parameter
Description
Value
interface1
Interface format.
number1
0255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the voip remote configuration information:
ZXAN(epon-onu-mng)#show remote epon rms epon-onu_1/11/1:1 0
VoIP card :
Associate :
standalone
VoIP mode :
static
14-156
SJ-20130118100307-010|2013-02-28 (R1.0)
0.0.0.0
Mask
0.0.0.0
Gateway
0.0.0.0
DNS server:
0.0.0.0
Vlan flag :
transparent
Cvlan
Svlan
Priority
:
:
Auth mode :
0
0
0
auto
User name :
Password
URL :
Related Commands
None
Function
This command queries the information of a serial port attribute profile.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of a serial port attribute profile:
ZXAN(epon-onu-mng)#show remote epon serial-port attribute-profile zte
Profile:
testAttr
State: enable
Baud rate: 9600(bit/s)
Data bits: 8(bits)
14-157
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the information of a serial port buffer profile.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of a serial port buffer profile:
ZXAN(epon-onu-mng)#show remote epon serial-port buffer-profile
Profile:
bufattr
Mode:
buffered
Wait time:
150
Buffer size:
Encrypt status:
100
true
Related Commands
None
14-158
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the information of a serial port global profile.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of a serial port global profile:
ZXAN(epon-onu-mng)#show remote epon serial-port global-profile testGlb
profile:
testGlb
100(s)
Related Commands
None
Function
This command queries the information of an SIP profile.
14-159
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of an SIP profile:
ZXAN(epon-onu-mng)#show remote epon sip-profile
Sip-protocol profile:
default
MG portNo:
5060
0.0.0.0
port:
5060
5060
0.0.0.0
port:
5060
0.0.0.0
port:
5060
0.0.0.0
port:
5060
register interval:
3600
heartbeat:
enable.
heartbeat cycle:
20
heartbeat count:
Related Commands
None
Function
This command queries the voip attribute.
14-160
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the voip attribute:
ZXAN(epon-onu-mng)#show remote epon voip attribute epon-onu_0/10/1:1
OnuName:epon-onu_0/10/1:1
Slot:1
Timer-dml:5
Timer-dms:2
Related Commands
None
Function
This command queries the basic voip information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
14-161
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the basic voip information:
ZXAN(epon-onu-mng)#show remote epon voip base information epon-onu_1/10/1:1
OnuName:epon-onu_1/10/1:1
Slot:1
Mac-address:0025.12d0.1b84
Software-version:V1.1.1a.sp3_EL3
Software-version-time:20100809194347
Num-of-pots-supported:2
Protocol-supported:SIP
Protocol-used:None
Related Commands
None
Function
This command queries the simulated call test result at a specified voice port.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Port, format: pots_slot/port ID.
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the simulated call test result at a specified
voice port:
ZXAN(epon-onu-mng)#show remote epon voip call-test epon-onu_1/3/1:1 pots_0/1
Voip pots call test result:
TestStatus :
N/A
TestPortStatus :
N/A
TestFailReason :
N/A
14-162
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the VoIP IP address information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VoIP IP address information:
ZXAN(epon-onu-mng)#show remote epon voip ip-address epon-onu_1/10/1:1
onu
slot
ipaddress
mask
---------------------------------------------------------------epon-onu_1/10/1:1
0.0.0.0
0.0.0.0
Related Commands
None
Function
This command queries the VoIP MG domain name.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VoIP MG domain name:
ZXAN(epon-onu-mng)#show remote epon voip mg-domainname epon-onu_1/10/1:1
onu
slot
domainname
---------------------------------------------------------------epon-onu_1/10/1:1
iad.zte.com.cn
Related Commands
None
Function
This command queries the VoIP PPPoE information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
14-164
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VoIP PPPoE information:
ZXAN(epon-onu-mng)#show remote epon voip pppoe information epon-onu_1/10/1:1
onu
slot
username
password
---------------------------------------------------------------epon-onu_1/10/1:1
Related Commands
None
Function
This command queries the local rtp-tid information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the local rtp-tid information:
ZXAN#show remote epon voip rtp-tid information local epon-onu_1/3/2:1
Interfacename:epon-onu_1/3/2:1
14-165
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the remote rtp-tid information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the remote rtp-tid remote information:
ZXAN#show remote epon voip rtp-tid information remote epon-onu_1/3/2:1
Interfacename:epon-onu_1/3/2:1
slot:1
TidNum:16
FirstTidNames:RTP/10000
Related Commands
None
14-166
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the sip sdp codecs information of voip.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the sip sdp codecs information of voip:
ZXAN(epon-onu-mng)#show remote epon voip sip-sdp-codecs epon-onu_1/10/1:1
Related Commands
None
Function
This command queries the sip user information.
14-167
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Port, format: pots_slot/port.
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the sip user information:
ZXAN#show remote epon voip sip-user-information epon-onu_1/3/2:1
pots
userAccount username
password
cid-presenting
cid-type
--------------------------------------------------------------------------pots_1/1
disable
fsk
pots_1/2
disable
fsk
Related Commands
None
Function
This command queries the local user-tid information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
14-168
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the local user-tid information:
ZXAN#show remote epon voip user-tid information local epon-onu_1/3/2:1
Related Commands
None
Function
This command queries the remote user-tid information.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the remote user-tid information:
ZXAN#show remote epon voip user-tid information remote epon-onu_1/3/2:1
Voipport
TidName
---------------------------------------------------------------Voip_1/1
AG58900
Voip_1/2
AG58901
14-169
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the information of a voip-ip profile.
Parameters
Parameter
Description
Value
name1
Profile name.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of a voip-ip profile:
ZXAN(epon-onu-mng)#show remote epon voip-ip profile
Voice-ip profile:
default
independent
voice ip mode:
DHCP
Related Commands
None
Function
This command queries the VoIP media IP information.
14-170
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
VoIP card number.
number1
0255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VoIP media IP information:
ZXAN(epon-onu-mng)#show remote epon voip-media-ip epon-onu_1/10/1:1 1
VoIP card :
Associate :
standalone
VoIP mode :
static
IP assress:
0.0.0.0
Mask
0.0.0.0
Gateway
0.0.0.0
DNS server:
0.0.0.0
Vlan flag :
transparent
Cvlan
Svlan
Priority
Auth mode :
0
auto
User name :
Password
Related Commands
None
Function
This command queries the operating status of a VoIP module.
14-171
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the operating status of a VoIP module:
ZXAN#show remote epon voip-module operate-status epon-onu_1/3/2:1
onu
slot
operate-status
mgc
--------------------------------------------------------------------------------
epon-onu_1/3/2:1
registering
2(mgc_main)
Related Commands
None
Function
This command queries the profile application information of a VoIP module.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
14-172
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the profile application information of a VoIP
module:
ZXAN#show remote epon voip-module profile-application epon-onu_1/3/2:1
OnuIfName:epon-onu_1/3/2:1
Slot:1
Ip(profile):ip
Vlan(profile):vlan
Protocol(profile):h248
Protocol-type:h248
Fax(profile):default
Related Commands
None
Function
This command queries the VoIP VLAN profile information.
Parameters
Parameter
Description
Value
name1
Profile name.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VoIP VLAN profile information:
ZXAN(epon-onu-mng)#show remote epon voip-vlan profile
Voice-vlan profile:
default
tag
14-173
SJ-20130118100307-010|2013-02-28 (R1.0)
Priority:
Svlan:
Voice-vlan profile:
voipvlantag
tag
Cvlan:
999
Priority:
Svlan:
Related Commands
None
Function
This command queries the WAN general profile information.
Parameters
Parameter
Description
Value
name1
Profile name.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the WAN general profile information:
ZXAN(epon-onu-mng)#show remote epon wan-general-profile
Wan-general profile:
default
bridge
Service type:
internet
IP Work Mode:
ipv4
NAT Config:
802.1q mode:
transparent
14-174
SJ-20130118100307-010|2013-02-28 (R1.0)
33024
Vlan:
4092
Priority:
MTU:
1522
MVLAN:
4096
Related Commands
None
Function
This command queries the alarm information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the alarm information remotely managed by
an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu alarm onu epon-onu_1/10/1:1
AlarmId
State
-------------------------------------------------------------------------EquipmentAlarm
disable
PowerAlarm
disable
BatteryMissing
disable
BatteryFailure
disable
BatteryVoltLow
disable
14-175
SJ-20130118100307-010|2013-02-28 (R1.0)
disable
ONUSelfTestFailure
disable
ONUTempHighAlarm
disable
ONUTempLowAlarm
disable
IADConnectionFailure
disable
PONIF-Switch
disable
SleepStatusUpdate
disable
Related Commands
None
Function
This command queries the PON interface alarm information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
12
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the PON interface alarm information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu alarm pon-if epon-onu_1/10/1:1 1
AlarmId
State
-------------------------------------------------------------------------RxPowerHighAlarm
disable
RxPowerLowAlarm
disable
14-176
SJ-20130118100307-010|2013-02-28 (R1.0)
disable
TxPowerLowAlarm
disable
TXBiasHighAlarm
disable
TXBiasLowAlarm
disable
VccHighAlarm
disable
VccLowAlarm
disable
TempHighAlarm
disable
TempLowAlarm
disable
RxPowerHighWarning
disable
RxPowerLowWarning
disable
TxPowerHighWarning
disable
TxPowerLowWarning
disable
TXBiasHighWarning
disable
TXBiasLowWarning
disable
VccHighWarning
disable
......
Related Commands
None
Function
This command queries the UNI interface alarm information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
name1
eth_slot/port.
name2
name3
voip_slot/port.
Mode
All modes except user mode
14-177
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the UNI interface alarm information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu alarm uni epon-onu_1/10/1:1 eth eth_0/1
AlarmId
State
-------------------------------------------------------------------------AutoNegFailure
disable
LOS
disable
PortFailure
disable
Loopback
disable
Congestion
disable
DownstreamDropEventsAlarm
disable
UpstreamDropEventsAlarm
disable
DownstreamCRCErrorFramesAlarm
disable
UpstreamCRCErrorFramesAlarm
disable
DownstreamUndersizeFramesAlarm
disable
......
Related Commands
None
Function
This command queries the alarm threshold information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
14-178
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the alarm threshold information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu alarm-threshold onu epon-onu_1/10/1:1
AlarmId
AlarmThre
RestoreThre
-------------------------------------------------------------------------BatteryVoltLow
0.00
0.00
ONUTempHighAlarm
0.00
0.00
ONUTempLowAlarm
0.00
0.00
Related Commands
None
Function
This command queries the PON interface alarm threshold information remotely managed
by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
1-2
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the PON interface alarm threshold information
remotely managed by an EPON ONU:
14-179
SJ-20130118100307-010|2013-02-28 (R1.0)
AlarmThre
RestoreThre
-------------------------------------------------------------------------RxPowerHighAlarm
0.00
0.00
RxPowerLowAlarm
0.00
0.00
TxPowerHighAlarm
0.00
0.00
TxPowerLowAlarm
0.00
0.00
TXBiasHighAlarm
0.00
0.00
TXBiasLowAlarm
0.00
0.00
VccHighAlarm
0.00
0.00
VccLowAlarm
0.00
0.00
TempHighAlarm
0.00
0.00
......
Related Commands
None
Function
This command queries the automatic configuration information remotely managed by an
EPON ONU:
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
14-180
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the automatic configuration information
remotely managed by an EPON ONU:
ZXAN(config)#show remote onu auto-config epon-onu_1/10/1:3
Auto-dispatch state
-----------------------------------------------forbid-auto-dispatch
Related Commands
None
Function
This command queries the Ethernet port classification configuration information remotely
managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the Ethernet port classification configuration
information remotely managed by an EPON ONU:
ZXAN#show remote onu classification epon-onu_1/10/1:1 eth_0/1
RulePrecedence
RuleName
ConditionNameList
14-181
SJ-20130118100307-010|2013-02-28 (R1.0)
zte
zte
Related Commands
None
Function
This command queries the Ethernet port classification profile information remotely
managed by an EPON ONU. The information involves condition profiles and rule profiles.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the Ethernet port classification profile
information remotely managed by an EPON ONU:
ZXAN#show remote onu classification profile epon-onu_1/10/1:1
Queuemap Priority
rule1
---Condition profile--Index
Name
Filed
MatchValue
Operator
flow1
da
0012.8E6C.0036
always-match
14-182
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the compatibility information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the compatibility information remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu compatibility epon-onu_1/10/1:1
Onu compatibility state:
disable
Related Commands
None
14-183
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the configuration counter value remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the configuration counter value remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu config-counter epon-onu_1/10/1:1
Config-counter number: 0
Related Commands
None
Function
This command queries the DBA queue threshold configuration information remotely
managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the DBA queue threshold configuration
information remotely managed by an EPON ONU:
ZXAN#show remote onu dba epon-onu_1/10/1:1
Vport: 1
No active queueSet.
SetId
Threshold
Queue1 Queue2 Queue3 Queue4 Queue5 Queue6 Queue7 Queue8
Related Commands
None
Function
This command queries the configuration information of the fast leave function of an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
14-185
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the configuration information of the fast leave
function of an EPON ONU:
ZXAN(config)#show remote onu fastleave epon-onu_1/10/1:1
ONU interface:
epon-onu_0/10/1:1
enable
snooping: fast-leave
snooping: not- fast-leave
multicast: fast-leave
multicast: not-fast-leave
Related Commands
None
Function
This command queries the status holdover function information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
14-186
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the status holdover function information
remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu holdover epon-onu_1/10/1:1
-------------------------------------------------------OnuHoldOver state:disable
HoldoverTime:200
Related Commands
None
Function
This command queries the basic information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query basic information remotely managed by an
EPON ONU:
ZXAN(epon-onu-mng)#show remote onu info epon-onu_1/10/1:1
epon-onu_0/10/1:1
Onu vendorId
ZTE .
Onu type
OnuModel
ZTE-D420.
D420.
14-187
SJ-20130118100307-010|2013-02-28 (R1.0)
00d0.d09a.45f2.
Hardware version
D420V2.
Software version
D420V2.0.0T4.
Firmware version
1.3.16.
Chip vendorId
E6 .
ChipModel
Chip revison
ChipDesignDate 07/05/28.
Number of Ge port
0 .
GePort
Number of Fe port
4 .
FePort
1-4.
2.
Number of E1 port
0.
Number of US Queues
4.
0x6301.
4.
no.
Multicast protocol
igmpsnooping.
FecMode
disable. FecAbility
Alarm
enable,
Mac aging-time
300.
support.
Related Commands
None
Function
This command queries the llid queue information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
14-188
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the llid queue information remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu llid-queue epon-onu_1/10/1:1
Related Commands
None
Function
This command queries the loop detecting information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Ethernet port name, format:
name1
eth_slot/port.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the loop detecting information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu loopdetect epon-onu_1/10/1:1 eth_0/1
-------------------------------------------------------Onu InterFacename:epon-onu_1/10/1:1
LoopDetect State:deactivate
DisableLooped:
disable
14-189
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the MAC address configuration information remotely managed by
an EPON ONU.
Parameters
Parameter
Description
Value
interface1
name1
ID.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the MAC address configuration information
remotely managed by an EPON ONU:
ZXAN#show remote onu mac epon-onu_1/10/1:1 eth_0/1
epon-onu_1/10/1:1;
MAC_Address info
Port Name:eth_0/1;
Limit num: no-limit;
Filter mac-address info
vlan
2
mac
9877.9878.4566
mac
14-190
SJ-20130118100307-010|2013-02-28 (R1.0)
9877.9899.0988
mac
4557.3241.3423
Related Commands
None
Function
This command queries the IP address configuration information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the IP address configuration information
remotely managed by an EPON ONU:
ZXAN# show remote onu mgmt-ip epon-onu_1/10/1:1
Status
enable;
IP Address
172.168.1.122;
Mask
255.255.0.0;
Priority
3;
Mgmt-IP
172.168.1.10;
vlan
300;
Mgmt-Mask
255.255.0.0;
Mgmt-Gateway
172.168.1.250.
14-191
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the DHCP configuration information in the management IP
addresses remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the DHCP configuration information in the
management IP addresses remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu mgmt-ip dhcp epon-onu_1/10/1:1
Related Commands
None
14-192
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the SNMP management information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the SNMP management information remotely
managed by an EPON ONU:
ZXAN(config)#show remote onu mng-snmp epon-onu_1/11/1:1
-------------------------------------------------------SnmpVer:2
TrapHostIp:0.0.0.0
TrapPort:162
SnmpPort:161
SecurityName:
CommunityForRead:public
CommunityForWrite:private
Related Commands
None
Function
This command queries the SNMP IPv6 information remotely managed by an EPON ONU.
14-193
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the SNMP IPv6 information remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu mng-snmp ipv6 epon-onu_1/10/1:1
Related Commands
None
Function
This command queries the multicast configuration information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
14-194
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the multicast configuration information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu multicast-info epon-onu_1/10/1:3
EthPort
Stripped
MaxGroupNum VlanList
TransList
----------------------------------------------------------------------
Eth_0/1
not-stripped 255
N/A
Eth_0/2
not-stripped 255
N/A
Eth_0/3
not-stripped 255
N/A
Eth_0/4
not-stripped 255
N/A
Eth_0/5
not-stripped 255
N/A
Eth_0/6
not-stripped 255
N/A
Eth_0/7
not-stripped 255
N/A
Eth_0/8
not-stripped 255
N/A
Eth_0/9
not-stripped 0
N/A
Eth_0/10
not-stripped 0
N/A
Eth_0/11
not-stripped 0
N/A
Eth_0/12
not-stripped 0
N/A
Eth_0/13
not-stripped 0
N/A
Eth_0/14
not-stripped 0
N/A
Eth_0/15
not-stripped 0
N/A
Eth_0/16
not-stripped 0
N/A
Eth_0/17
not-stripped 0
N/A
Eth_0/18
not-stripped 0
N/A
Eth_0/19
not-stripped 0
N/A
Eth_0/20
not-stripped 0
N/A
Eth_0/21
not-stripped 0
N/A
Eth_0/22
not-stripped 0
N/A
Related Commands
None
14-195
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the current performance monitoring data remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
12
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the current performance monitoring data
remotely managed by an EPON ONU:
ZXAN#show remote onu performance monitoring current-data epon-onu_1/4/1:1 interface eth_0/1
Related Commands
None
Function
This command queries the historical performance monitoring data remotely managed by
an EPON ONU.
14-196
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
12
name1
eth_slot/port.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the historical performance monitoring data
remotely managed by an EPON ONU:
ZXAN#show remote onu performance monitoring history-data epon-onu_1/4/1:1 interface
eth_0/1
Related Commands
None
Function
This command queries the performance monitoring status information remotely managed
by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
12
name1
14-197
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the performance monitoring status information
remotely managed by an EPON ONU:
ZXAN#show remote onu performance monitoring status epon-onu_1/4/1:1 interface eth_0/1
Performance monitoring status: disable
Performance monitoring period: 900
Related Commands
None
Function
This command queries the PON interface statistics data remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
18
Mode
All modes except user mode
Usage Guidelines
None
14-198
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the PON interface statistics data remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu pon statistics epon-onu_1/10/1:1
FramesTransmittedOK
OctetsTransmittedOK
: 0
: 0
MulticastFramesXmittedOK
: 0
BroadcastFramesXmittedOK
FramesReceivedOK
: 0
: 0
OctetsReceivedOK
: 0
MulticastFramesReceivedOK
BroadcastFramesReceivedOK
CRC8Errors
: 0
: 0
: 0
FECCorrectedBlocks
: 0
FECUncorrectableBlocks:0
MPCPMACCtrlFramesTransmitted:0
MPCPMACCtrlFramesReceived:0
......
Related Commands
None
Function
This command queries the PON interface information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
14-199
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the PON interface information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu pon-if epon-onu_1/10/1:1
Related Commands
None
Function
This command queries the Ethernet port auto-negotiation configuration information
remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the Ethernet port auto-negotiation configuration
information remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu port auto-neg epon-onu_1/10/1:3
EthPort
AdminState
TechnologyAbility
AdvertisedTechnologyAbility
------------------------------------------------------------------------------Eth_0/1
enable
Eth_0/2
enable
BASE_TX, 100BASE_TXFD
BASE_TX, 100BASE_TXFD
14-200
SJ-20130118100307-010|2013-02-28 (R1.0)
Eth_0/3
enable
Eth_0/4
enable
BASE_TX, 100BASE_TXFD
BASE_TX, 100BASE_TXFD
Related Commands
None
Function
This command queries the Ethernet port configuration information and operating status
information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the Ethernet port configuration information and
operating status information remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu port info epon-onu_1/10/1:3
Ethport:
Linkstate:
Eth_0/1,
Phystate:
enable
up,
Flowctrl:
enable
Policing profile:N/A
14-201
SJ-20130118100307-010|2013-02-28 (R1.0)
Direction
Status
CIR(kbps)
CBS(Bytes)
EBS(Bytes)
----------------------------------------------------------------------------upstream
disable
downstream
disable
Ethport:
Linkstate:
Eth_0/2,
Phystate:
enable
down,
Flowctrl:
enable
Policing profile:N/A
Policing:
Direction
Status
CIR(kbps)
CBS(Bytes)
EBS(Bytes)
----------------------------------------------------------------------------upstream
disable
downstream
disable
Ethport:
Linkstate:
Eth_0/3,
Phystate:
enable
down,
Flowctrl:
enable
Policing profile:N/A
Related Commands
None
Function
This command queries the port mode information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
14-202
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the port mode information remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu port mode epon-onu_1/10/1:1
EthPort
portMode
------------------------------------------------------------------------------Eth_0/1
auto
Eth_0/2
auto
Eth_0/3
auto
Eth_0/4
auto
Related Commands
None
Function
This command queries the power-saving capability information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the power-saving capability information
remotely managed by an EPON ONU:
ZXAN#show remote onu power-saving capabilities epon-onu_1/4/1:1
14-203
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the power-saving configuration information remotely managed by
an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the power-saving configuration information
remotely managed by an EPON ONU:
ZXAN#show remote onu power-saving config epon-onu_1/4/1:1
Early wake-up function: disable
Sleep duration max:
62500000
Related Commands
None
14-204
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the result of the PPPoE simulated dialing test at a specified
Ethernet port remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
name1
ID.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the result of the PPPoE simulated dialing test
at a specified Ethernet port:
ZXAN(epon-onu-mng)#show remote onu pppoe-test epon-onu_1/3/1:1 eth_0/1
pppoe-test result:
TestStatus :
N/A
TestFailReason :N/A
Related Commands
None
Function
This command queries the protection parameters information remotely managed by an
EPON ONU.
14-205
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the protection parameters information remotely
managed by an EPON ONU:
ZXAN#show remote onu protection parameters epon-onu_1/4/1:1
Optical LoS time: 2
MAC LoS time:
55
Related Commands
None
Function
This command queries the SLA queue profile information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
14-206
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the SLA queue profile information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu queue epon-onu_1/10/1:1
-------------------------------------------------------Profile:
default
SlaOperation:
deactivate
Scheduling:
sp
High_priority:
CycleLen:
Related Commands
None
Function
This command queries the security management information of the application protocols
remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the security management information of the
application protocols remotely managed by an EPON ONU:
14-207
SJ-20130118100307-010|2013-02-28 (R1.0)
Protocol
State
------------------------------------------------------------------------------telnet
disable
Related Commands
None
Function
This command queries the application information and attribute setting of the serial port
configuration profiles remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
COM port name, format:
name1
com_slot/port
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the application information and attribute setting
of the serial port configuration profiles remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote
Profile:
testattr
State:
enable
Mode:
tcp-client-mode
Baud rate:
9600(bit/s)
Data bits:
8(bits)
14-208
SJ-20130118100307-010|2013-02-28 (R1.0)
even
Stop bits:
2(bit)
Flow control:
none
Local ip address:
10.63.196.160
Local port:
8093
Romote ip address:
10.46.46.142
Remote port:
142
Type:
rs232
Related Commands
None
Function
This command queries the serial port buffer configuration profile information remotely
managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
COM port name, format:
name1
com_slot/port.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the serial port buffer configuration profile
information remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote
Profile:
bufattr
Mode:
buffered
14-209
SJ-20130118100307-010|2013-02-28 (R1.0)
150(ms)
Buffer size:
100(byte)
Encrypt status:
true
Related Commands
None
Function
This command queries the serial port global configuration profile information remotely
managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the serial port global configuration profile
information remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)# show remote onu serial-port global information epon-onu_1/6/1:1
profile:
testglb
4000
5000
Idle time:
100(s)
Interval time:
150(s)
65
14-210
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the serial port IP parameter information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the serial port IP parameter information
remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu serial-port ip epon-onu_1/3/1:1
Related Commands
None
Function
This command queries the serial port statistic data remotely managed by an EPON ONU.
14-211
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
name1
com_slot/port.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the serial port statistic data remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu serial-port statistic epon-onu_1/10/1:1 com_0/1
Related Commands
None
Function
This command queries the serial port TCP information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
14-212
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the serial port TCP information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu serial-port tcp-info epon-onu_1/10/1:1
Related Commands
None
Function
This command queries the starting MDU_SVLAN remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the starting MDU_SVLAN remotely managed
by an EPON ONU:
ZXAN(config)#show remote onu svlan-base epon-onu_1/10/1:3
MDU svlan base : 4000
14-213
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the alarm information of the optical module remotely managed by
an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the alarm information of the optical module
remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu transceiver alarm epon-onu_1/10/1:1
Related Commands
None
14-214
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the alarm threshold information of the optical module remotely
managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the alarm threshold information of the optical
module remotely managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu transceiver alarm thresholds epon-onu_1/10/1:1
Related Commands
None
Function
This command queries the information of the optical module remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
14-215
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the information of the optical module remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu transceiver info epon-onu_1/10/1:1
Onu Transceiver Information:
transTemperature(C):0.00000
supplyVoltage(V): 0.00000
txBiasCurrent(mA): 0.00000
txPower(dBm): N/A
rxPower(dBm): N/A
Related Commands
None
Function
This command queries the UNI MAC information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
name1
eth_slot/port.
Mode
All modes except user mode
Usage Guidelines
None
14-216
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the UNI MAC information remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu uni-mac epon-onu_1/10/1:1 interface eth_0/1
Related Commands
None
Function
This command queries the UNI statistic data remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the UNI statistic data remotely managed by an
EPON ONU:
ZXAN(epon-onu-mng)#show remote onu uni-statistic epon-onu_1/10/1:1 interface eth_0/1
Related Commands
None
14-217
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the VLAN configuration information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VLAN configuration information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu vlan epon-onu_1/10/1:3
Ethport:
Eth_0/3
Mode
tag
:
vlan
priority :
4092
0
Ethport:
Eth_0/4
Mode
tag
:
vlan
priority :
Ethport:
Mode
4092
0
Eth_0/5
tag
vlan
priority :
4092
0
14-218
SJ-20130118100307-010|2013-02-28 (R1.0)
Eth_0/6
Related Commands
None
Function
This command queries the VLAN translation configuration of the Ethernet port remotely
managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
ID.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VLAN translation configuration of the
Ethernet port remotely managed by an EPON ONU:
ZXAN(config)# show remote onu vlan-translate epon-onu_1/10/1:3 port eth_0/1
Related Commands
None
14-219
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the VLAN trunk information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VLAN trunk information remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu vlan-trunk epon-onu_1/10/1:1
Ethport:
Eth_0/1
Mode
Non-Trunk
Ethport:
Eth_0/2
Mode
Non-Trunk
Ethport:
Eth_0/3
Mode
Non-Trunk
Ethport:
Eth_0/4
Mode
Non-Trunk
Related Commands
None
14-220
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the VoIP configuration information remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
0255
0255.
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the VoIP configuration information remotely
managed by an EPON ONU:
ZXAN(config)# show remote onu voip-mng-ip epon-onu_1/10/1:3 2
Related Commands
None
Function
This command queries the WAN general information remotely managed by an EPON ONU.
14-221
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
WAN ID
18
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the WAN general information remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu wan general epon-onu_1/10/1:1 wanid 1
Related Commands
None
Function
This command queries the WAN IPv4 information remotely managed by an EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
number1
WAN ID
18
Mode
All modes except user mode
14-222
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the WAN IPv4 information remotely managed
by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu wan ipv4 epon-onu_1/10/1:1 wanid 1
Related Commands
None
Function
This command queries the capability and configuration information of a WiFi port.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the capability and configuration information of
a WiFi port:
ZXAN(epon-onu-mng)#show remote onu wifi-port info epon-onu_1/10/1:1 wifi_0/1
Related Commands
None
14-223
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the SSID information of a WiFi port remotely managed by an
EPON ONU.
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu.
name1
number1
SSID index.
18
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the SSID information of a WiFi port remotely
managed by an EPON ONU:
ZXAN(epon-onu-mng)#show remote onu wifi ssid-info epon-onu_1/10/1:1 wifi_0/1 ssid 1
Related Commands
None
14.4.155 sleep-control
Syntax
sleep-control {leave-power-saving-mode|enter-power-saving-mode [sleep-duration number1
wake-duration number2 sleep-mode name1]}
Function
This command sets the ONU power-saving mode, sleep duration, and wakeup duration.
14-224
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
leave-power-saving-mode
Leave-power-saving-mode.
number1
Sleep duration.
162500000
number2
Wakeup duration.
162500000
name1
Power-saving mode.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU power-saving mode, sleep
duration, and wakeup duration:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#sleep-control enter-power-saving-mode sleep-duration 1000
wake-duration 500 sl
Related Commands
None
14.4.156 ssid-ctrl
Syntax
ssid-ctrl name1 [{[name name2][hide name3][user-isolation name4][max-users number1]}] name
5 ssid number2[{[pvid-used name6][vlan number3][priority number4]}]
no ssid-ctrl name5 ssid number2
Function
This command controls the SSID configuration of an ONU WiFi port.
Parameters
Parameter
Description
Value
name1
configuration.
name2
SSID name.
14-225
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name3
attribute.
name4
Whether to enable
user-isolation.
number1
132
name5
Port.
number2
SSID index.
18
name6
number3
14094
number4
07
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure SSID of the WiFi 0/1 interface to be 1:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#ssid-ctrl enable wifi_0/1 ssid 1
Related Commands
None
14.4.157 transceiver
Syntax
transceiver name1
Function
This command configures the multicast fastleave function for an ONU.
Parameters
Parameter
Description
Value
name1
14-226
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the multicast fastleave function for an ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)# multicast fastleave enable
Related Commands
None
Function
This command enables or disables the performance threshold detecting function for an
ONU.
Parameters
Parameter
Description
Value
name1
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the performance threshold detecting function
for an ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#transceiver enable
14-227
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.142 show remote onu transceiver alarm
Function
This command configures the performance thresholds of an ONU.
Parameters
Parameter
Description
Value
name1
Over-temperature alarm
threshold.
name2
Under-temperature alarm
threshold.
name3
Over-temperature warning
threshold.
name4
Under-temperature warning
threshold.
name5
name6
name7
name8
Under-voltage warning
threshold.
name9
Over-bias-voltage alarm
threshold.
name10
Under-bias-voltage alarm
threshold.
name11
Over-bias-voltage warning
threshold.
14-228
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name12
Under-bias-voltage warning
threshold.
name13
Over-transmitting-power alarm
threshold.
name14
Under-transmitting-power alarm
threshold.
name15
Over-transmitting-power
warning threshold.
name16
Under-transmitting-power
warning threshold.
name17
Over-receiving-power alarm
threshold.
name18
Under-receiving-power alarm
threshold.
name19
Over-receiving-power warning
threshold.
name20
Under-receiving-power warning
threshold.
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the performance thresholds of an ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#transceiver alarm thresholds BiasHighAlarm 2
Related Commands
14.4.143 show remote onu transceiver alarm thresholds
14.4.160 vlan
Syntax
vlan port name1 mode {transparent|tag vlan number1 priority number2|translation def-vlan
number3 def-prio number4 vlan-list name2|trunk vlan-list name3 [def-vlan number5] [def-prio
14-229
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the Ethernet port VLAN attributes of an EPON ONU.
Parameters
Parameter
Description
Value
name1
Transparent transmission, no
Tag mode.
number1
14094
number2
07
translation
14094
14094.
number4
07
name2
VLAN list.
Trunk mode.
name3
14094
number6
07
hybrid
Hybirid mode.
14-230
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number7
14094
14094.
name4
Aggregation mode.
number8
14094
number9
07
name5
Stacking mode.
number10
14094
number11
07
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the Ethernet port VLAN attributes of an
EPON ONU:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#vlan port eth_0/1 mode translation def-vlan 100
def-prio 7 vlan-list 1.0:100.7
14-231
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
14.4.147 show remote onu vlan
14.4.161 vlan-trunk
Syntax
vlan-trunk port name1 vlan-list name2[def-vlan number1][def-prio number2]
no vlan-trunk port name1
Function
This command configures the VLAN aggregation function.
Parameters
Parameter
Description
Value
name1
eth_slot/port.
name2
number1
14094
number2
Default priority.
07
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the VLAN aggregation function:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#vlan-trunk port eth_0/1 vlan-list 1,2 def-prio 1
Related Commands
14.4.149 show remote onu vlan-trunk
Function
This command sets the voice 112 testing parameters.
Parameters
Parameter
Description
Value
name1
Test type.
name2
name3
name4
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the voice 112 testing parameters:
ZXAN(config)#pon-onu-mng epon-onu_1/4/1:1
ZXAN(epon-onu-mng)#voip 112-test bidirectional-routing-test start normaltest interface
pots_0/1
Related Commands
None
Function
This command simulates the call test at the voice port.
14-233
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
start/stop.
caller
Dialing number.
callee
Test duration.
60300
Unit: second.
Range: 60300.
Default value: 90 seconds.
name3
<pots_slot/portid>.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to simulate the calling test at the voice port. In this
example, the dialing number is 110 and the test duration is 100 seconds.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip call-test action start role caller dialnumber 110 timeout 100
interface pots_0/1
Related Commands
14.4.83 show remote epon voip call-test
Function
This command configures the VoIP CID function.
14-234
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
name2
CID type.
name3
Interface.
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the VoIP CID function. In this example, the
CID type is "fsk" and the interface is pots_0/1.
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)#voip cid-presenting enable cid-type fsk interface pots_0/1
Related Commands
None
Function
This command sets the VoIP IP address (static).
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
Mask
number1
Slot number
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
14-235
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to set the VoIP IP address. In this example, the IP
address is 1.2.3.4 and the mask is 255.255.255.1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip ip-address 1.2.3.4 mask 255.255.255.1 slot 1
Related Commands
14.4.84 show remote epon voip ip-address
Function
This command sets the VoIP media IP address.
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
Mask
name1
IP profile name
pppoe
pppoe
name2
User name
name3
Password
name4
number1
Slot number
1255
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
14-236
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the VoIP media IP address. In this example, the
VoIP media IP address is 1.2.3.4, the mask is 255.255.255.0, and the slot number is 1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip media-ip ip-addr 1.2.3.4 mask 255.255.255.0 slot 1
Related Commands
14.4.94 show remote epon voip-media-ip
Function
This command sets the media gateway domain name.
Parameters
Parameter
Description
Value
name1
Domain name
number1
Slot number
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the media gateway domain name. In this
example, the domain name is "zte" and the slot number is 1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip mg-domainname zte slot 1
Related Commands
14.4.85 show remote epon voip mg-domainname
14-237
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the VoIP ping test function.
Parameters
Parameter
Description
Value
number1
Slot number
1255
ip_addr1
Destination IP address
name1
start/stop
number2
110
number3
Packet size
165535
number4
12000
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the VoIP ping test function. In this example,
the destination IP address is 1.2.3.4, the start time is 2, and the slot number is 1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip ping-test slot 1 destip 1.2.3.4 start time 2
Related Commands
None
Function
This command sets the voice PPPoE user name and password.
Parameters
Parameter
Description
Value
name1
User name
name2
Password
number1
Slot
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the voice PPPoE user name and password. In
this example, both the user name and password are "zte", and the slot number is 1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip pppoe username zte password zte slot 1
Related Commands
14.4.86 show remote epon voip pppoe information
Function
This command sets the VoIP media flow transmission ID.
Parameters
Parameter
Description
Value
number1
rtp-tid ID
1255
name1
Prefix
number2
Starting number
065000
14-239
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
enable/disable/restart
number3
Digit length
05
number4
Slot number
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the VoIP media flow transmission ID:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip rtp-tid prefix 2 begin-digit 3 align enable digit-length 2 slot 3
Related Commands
show remote epon voip rtp-tid information
Function
This command sets the VoIP SIP-SDP coding/decoding type.
Parameters
Parameter
Description
Value
number1
pcmu
0255
number2
g723
0255
number3
pcma
0255
number4
g722
0255
number5
g728
0255
number6
g729
0255
14-240
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number7
ilbc20
0255
number8
ilbc30
0255
number9
cig
0255
number10
g726
0255
name1
Interface
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the VoIP SIP-SDP coding/decoding type. In this
example, the type is "cig 2" and the interface is pots_0/1.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip sip-sdp-codecs cig 2 interface pots_0/1
Related Commands
14.4.89 show remote epon voip sip-sdp-codecs
Function
This command configures the VoIP SIP user information.
Parameters
Parameter
Description
Value
name1
Total number
name2
Name
name3
Password
name4
Interface
14-241
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the VoIP SIP user information:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip sip-user account 1 name zte password zte interface pots_0/1
Related Commands
None
Function
This command configures the voice timer.
Parameters
Parameter
Description
Value
number1
Timer dml
160
Unit: second
Default value: 5
number2
Timer dms
160
Unit: second
Default value: 2
number3
Slot number
1255
Mode
EPON-ONU-MNG mode
Usage Guidelines
None
14-242
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the voice timer:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip timer dml 5 dms 2 slot 1
Related Commands
None
Function
This command sets the VoIP user transmission ID.
Parameters
Parameter
Description
Value
number1
Group number
1255
number2
Starting ID
1255
number3
Number of tid
1255
name1
Prefix
number4
Starting number
065000
name2
enable/disable
number5
Digit length
05
number6
Slot number
1255
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the VoIP user transmission ID:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
14-243
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
show remote epon voip user-tid information
14.4.175 voip-mng-ip
Syntax
voip-mng-ip [number1] associate {share|standalone} mode {static ip_addr1 ip_addr2 ip_addr3
[ip_addr4]|dhcp|pppoe auth-mode name1 name2 name3}{untag|tag vid number2 priority numb
er3}
Function
This command sets the parameters for a VoIP sub-card to communicate with users.
Parameters
Parameter
Description
Value
number1
0255
associate
associate mode
share
share
standalone
standalone mode
static
Static IP address
ip_addr1
IP address
ip_addr2
Mask
ip_addr3
Gateway
ip_addr4
dhcp
dhcp
pppoe
pppoe
name1
AUTO/CHAP/PAP
name2
User name
name3
Password
untag
untag mode
tag
tag mode
number2
VLAN ID
14094
number3
Priority
07
14-244
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the parameters for a VoIP sub-card to
communicate with users:
ZXAN(config)#pon-onu-mng epon-onu_1/10/1:1
ZXAN(epon-onu-mng)# voip-mng-ip associate share mode dhcp untag
Related Commands
14.4.150 show remote onu voip-mng-ip
Function
This command applies a FAX configuration profile on a specified ONU.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to apply a FAX configuration profile on a specified ONU.
In this example, the FAX configuration profile name is "zte".
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip-module fax-profile apply zte
14-245
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command applies a global configuration profile on a specified ONU.
Parameters
Parameter
Description
Value
name1
name2
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to apply a global configuration profile on a specified
ONU. In this example, the global configuration profile name is "zte".
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip-module global-profile apply ip zte
Related Commands
None
Function
This command applies a protocol configuration profile on a specified ONU.
14-246
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
H248/MGCP/SIP
name2
Profile name
Mode
WDMPON-ONU-MNG mode, EPON-ONU-MNG mode
Usage Guidelines
None
Examples
The following example shows how to apply a protocol configuration profile on a specified
ONU. In this example, the protocol configuration profile name is "zte".
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#voip-module protocol-profile apply h248 zte
Related Commands
None
14.4.179 wan
Syntax
wan number1 {general-profile name1|ipv4 {static ip_addr1 ip_addr2 ip_addr3 pri-dns-server
ip_addr4 [sec-dns-server ip_addr5] |dhcp |pppoe auth-mode name2 username name3 password
name4 proxy-user {{enable number2|no-limit} |disable}}}
no wan number1 [ipv4]
Function
This command configures a WAN interface.
Parameters
Parameter
Description
Value
number1
WAN ID
18
name1
ipv4
static
Static
ip_addr1
IP address
14-247
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr2
IP address mask
ip_addr3
Gateway IP address
ip_addr4
ip_addr5
dhcp
dhcp
pppoe
pppoe
name2
Authentication mode
name3
User name
name4
Password
number2
165534
no-limit
No limit
disable
Disable
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a WAN interface. In this example, the
WAN IPv4 IP address is 1.2.3.4, the mask is 255.255.255.1, the gateway IP address is
255.255.255.254, and the primary DNS server IP address is 2.3.4.5.
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#wan 1 ipv4 static 1.2.3.4 255.255.255.1 255.255.255.254 pri-dns-server
2.3.4.5
Related Commands
14.4.98 show remote epon wan-general-profile
14.4.180 wep
Syntax
wep ssid-auth-mode name1 {disable|enable[level name2][default-key-id number1][key1 name3
key2 name4 key3 name5 key4 name6]} name7 ssid number2
no wep name7 ssid number2
14-248
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures SSID-WEP-related parameters.
Parameters
Parameter
Description
Value
name1
Authentication mode.
disable
enable
name2
number1
14
name3
Key1
name4
Key2
name5
Key3
name6
Key4
name7
Port
number2
SSID index
18
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure SSID-WEP-related parameters:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#wep ssid-auth-mode open-system enable level 104 wifi_0/1 ssid 1
Related Commands
None
14.4.181 wpa
Syntax
wpa ssid-auth-mode name1 [{[update-interval number1] [mode name2]}] key name3 name4 ssid
number2
no wpa name4 ssid number2
14-249
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the SSID WPA parameters.
Parameters
Parameter
Description
Value
name1
Authentication algorithm
number1
1001000
1001000 s
name2
name3
Password
name4
number2
SSID index
18
Mode
EPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the SSID WPA parameters:
ZXAN(config)#pon-onu-mng epon-onu_1/3/1:1
ZXAN(epon-onu-mng)#wpa ssid-auth-mode wpa-psk key 12345678 wifi_0/1 ssid 1
Related Commands
None
14-250
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 15
GPON Commands
Table of Contents
GPON Global Configuration .....................................................................................15-1
GPON OLT Interface Configuration ........................................................................15-69
GPON ONU Interface Configuration .......................................................................15-84
GPON ONU Remote Management....................................................................... 15-115
Function
This command configures port auto-shutdown of Dynamic Host Configuration Protocol
(DHCP) anti-spoofing.
Parameters
Parameter
Description
Value
number1
Slot number.
19, 1219
enable
601800
number2
unit: seconds.
disable
Mode
Gigabit Passive Optical Network (GPON) global configuration mode
Usage Guidelines
None
15-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable port auto-shutdown of DHCP anti-spoofing
on slot 3:
ZXAN(config)#gpon
ZXAN(config-gpon)#dhcp anti-spoofing autoshutdown-port slot 3 enable
Related Commands
None
15.1.2 max-bandwidth
Syntax
max-bandwidth number1
Function
This command configures the maximum GPON bandwidth.
Parameters
Parameter
Description
Value
number1
02488320
Kbps, default: 0
Mode
GPON global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure the maximum bandwidth to 10000 Kbps:
ZXAN(config)#gpon
ZXAN(config-gpon)#max-bandwidth 10000
Related Commands
None
15-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures multicast model defined by the International Telecommunication
Union - Telecommunication Standardization Sector (ITU-T) standard or China
Telecommunications Corporation (CTC) standard.
Parameters
Parameter
Description
Value
itu-t
standard.
ctc
standard.
Mode
GPON global configuration mode
Usage Guidelines
None
Examples
The following example shows how to configure multicast model defined by the CTC
standard:
ZXAN(config)#gpon
ZXAN(config-gpon)#mop mode ctc
Related Commands
None
15-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates a dialing plan profile.
Parameters
Parameter
Description
Value
name1
164 characters
number1
1255
name2
128 characters
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
You must create a network dialing plan table before creating a network dialing plan.
Examples
The following example shows how to create a dialing plan for the network dialing plan table
whose name is test. In this example, the dialing plan item number is 1 and the dialing
plan rule is 1234|**##|x.T:
ZXAN(config-gpon)#onu profile dial-plan test 1 token 1234|**##|x.T
Related Commands
15.1.32 show gpon onu profile dial-plan
Function
This command creates a dialing plan table profile.
15-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
164 characters
number1
1255
number2
065535
065535
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a dialing plan table with the following
configurations:
l
l
l
l
Related Commands
15.1.33 show gpon onu profile dial-plan-table
Function
This command creates a DSCP to P-bit mapping profile.
15-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
name2
1255 characters
format: X(-X):X[,....,X(-X):X]
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a DSCP to P-bit mapping profile with the name
of zte:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile dscp zte dscp2pbit 1:1
Related Commands
None
Function
This command creates a mapping rule profile for filtering the double-tagged frames of an
expanded VLAN.
Parameters
Parameter
Description
Value
name1
164 characters
ip_addr1
15-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr2
hexadecimal1
hexadecimal2
number1
165535
number2
165535
ipv6_addr1
ipv6_addr2
number3
Flow type
0255
number4
Flow tag
01048575
name2
number5
07
number6
04094
name3
number7
07
number8
04094
name4
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a mapping rule profile for filtering
double-tagged Ethernet frames. The mapping rule profile name is test:
ZXAN(config-gpon)#onu profile filter-rule double-tag test inner-vid 100
ZXAN(config-gpon)#
Related Commands
None
15-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates a mapping rule profile for filtering the single-tagged frames of an
expanded VLAN.
Parameters
Parameter
Description
Value
name1
164 characters
ip_addr1
ip_addr2
hexadecimal1
hexadecimal2
number1
165535
number2
165535
ipv6_addr1
ipv6_addr2
number3
Flow type
0255
number4
Flow tag
01048575
name2
number5
07
number6
04094
name3
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
15-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create a mapping rule profile with the name of
single-tag-vid100 for filtering the single-tagged Ethernet frames of VLAN 100:
ZXAN(config-gpon)#onu profile filter-rule single-tag single-tag-vid100 inner-vid 100
ZXAN(config-gpon)#
Related Commands
None
Function
This command creates a mapping rule profile for filtering the untagged frames of an
expanded VLAN.
Parameters
Parameter
Description
Value
name1
164 characters
profile
name2
ip_addr1
ip_addr2
hexadecimal1
hexadecimal2
number1
165535
number2
165535
ipv6_addr1
ipv6_addr2
number3
Flow type
0255
number4
Flow tag
01048575
15-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a mapping rule profile with the name of test1
for filtering the untagged Ethernet frames whose source IP address is 10.10.10.99:
ZXAN(config-gpon)#onu profile filter-rule zero-tag test1 srcipv4 10.10.10.99
ZXAN(config-gpon)#
Related Commands
None
Function
This command configures an Optical Network Unit (ONU) multicast profile.
Parameters
Parameter
Description
Value
name1
164 characters
name2
IGMP version.
name3
name4
disabled.
15-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
copy-from-query
packet.
number1
Robust value.
1255
ip_addr1
number2
04294967295
04294967295
04294967295
Forward, Discard
number5
04294967295
direction.
number6
07
number7
14094
number8
07
number9
1-4094
strip
number10
07
number11
14094
number12
07
number13
14094
VLAN ID.
name6
131 characters.
package 1.
name7
131 characters.
package 2.
name8
131 characters.
package 3.
name9
131 characters.
package 4.
name10
131 characters.
package 5.
15-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name11
131 characters.
package 6.
name12
131 characters.
package 7.
name13
131 characters.
package 8.
name14
131 characters.
package.
rate-limit
iptv-package
Correlated package.
dynamic
number14
18
static
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure an ONU multicast profile:
ZXAN(config)#igmp mvlan 700
ZXAN(config)#igmp mvlan 700 group 235.0.4.1 to 235.0.4.5
ZXAN(config)#igmp mvlan 700 source-port gei_1/21/1
ZXAN(config)#igmp mvlan 700 receive gpon-onu_1/4/1:1 vport 1
ZXAN(config)#igmp mvlan 700 work-mode snooping
ZXAN(config)#igmp mvlan 700 group 235.0.4.1 bandwidth 12000
ZXAN(config)#igmp mvlan 700 group 235.0.4.2 bandwidth 12000
ZXAN(config)#igmp mvlan 700 group 235.0.4.3 bandwidth 4000
ZXAN(config)#igmp mvlan 700 group 235.0.4.4 bandwidth 4000
ZXAN(config)#igmp mvlan 700 group 235.0.4.5 bandwidth 16000
ZXAN(config)#iptv channel mvlan 700 group 235.0.4.1 to 235.0.4.5
ZXAN(config)#iptv package name ACDE
ZXAN(config)#iptv package ACDE channel mvlan 700 group 235.0.4.1 watch
Complete!
ZXAN(config)#iptv package ACDE channel mvlan 700 group 235.0.4.3 to 235.0.4.5 watch
..Complete!
ZXAN(config)#iptv package name ABCDE
15-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
15.1.36 show gpon onu profile igmp
Function
This command creates an ONU IP profile.
Parameters
Parameter
Description
Value
name1
IP profile name
164 characters
static
Static IP address
ip_addr1
Default gateway
ip_addr2
server address
ip_addr3
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU IP profile with the name of zte:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile ip zte static gateway 10.63.10.254
15-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command creates an ONU Media Gateway Controller (MGC) profile.
Parameters
Parameter
Description
Value
name1
164 characters
name2
Heartbeat report.
name3
name4
number1
200060000
number2
200060000
number3
200060000
number4
10000600000
number5
0500000
number6
0500000
number7
10050000
number8
10050000
name5
15-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number9
0500000
number10
0500000
name6
default: text-long.
number11
Version number.
1255
number12
065535
seconds.
number13
065535
065535
SS vendor ID.
14 characters
default
name8
125 characters
name9
1128 characters
number15
17 bytes
number16
09
name10
18 characters
number17
17 bytes
number18
09
number19
165535
number20
DSCP.
063
number21
TOS.
07
media
Media.
number22
165535
number23
DSCP.
063
number24
TOS.
07
server1
server2
name11
1128 characters
disable
name12
125 characters
authentication.
name13
125 characters
15-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name14
125 characters
name15
125 characters
name16
125 characters
authentication.
ss
SS vendor ID.
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure an ONU MGC profile:
ZXAN(config-gpon)#onu profile mgc test1 server1 10.63.10.1 validate basic
username aaa password bbb
ZXAN(config-gpon)#onu profile mgc test1 ss CZTE
Related Commands
None
Function
This command creates an ONU Circuit Emulation Service (CES) performance alarm
threshold profile.
15-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
number1
14294967295
number2
14294967295
packets.
number3
14294967295
packets.
number4
14294967295
overflow/underflow packets.
number5
14294967295
packets.
number6
14294967295
routing packets.
number7
14294967295
14294967295
seconds.
number9
14294967295
incorrect seconds.
number10
14294967295
seconds.
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the alarm threshold of downstream
disordered packets on the CES user port to 100:
ZXAN(config)#gpon
ZXAN(config-gpon)#
15-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
15.1.39 show gpon onu profile performance-threshold ces
Function
This command creates a dot1x performance alarm threshold profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
14294967295
number1
EAPOL frames
number2
14294967295
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the statistics threshold of the received EAP
frames with incorrect lengths to 100:
ZXAN(config-gpon)#onu profile performance-threshold dot1x test rx-len-err-eap 100
Related Commands
15.1.40 show gpon onu profile performance-threshold dot1x
15-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates a performance alarm threshold profile for the ONU Ethernet user
port.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
number1
14294967295
number2
14294967295
frames
number3
14294967295
number4
14294967295
number5
14294967295
frames
number6
14294967295
frames
number7
14294967295
number8
14294967295
number9
14294967295
number10
14294967295
number11
14294967295
14294967295
14294967295
15-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number14
14294967295
frames
number15
14294967295
number16
14294967295
frames
number17
14294967295
number18
14294967295
number19
14294967295
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the alarm threshold of FCS error frames
to 100:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold ethuni ethalm-fcserr-100
fcs-err 100
ZXAN(config-gpon)#
Related Commands
15.1.41 show gpon onu profile performance-threshold eth
Function
This command creates a performance alarm threshold profile for ONU GPON
Encapsulation Method (GEM) frames.
15-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
number1
14294967295
number2
14294967295
GEM frames
number3
14294967295
GEM blocks
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the alarm threshold of lost GEM frames to
100:
ZXAN(config)#gpon
ZXAN(config-gpon)#
Related Commands
15.1.42 show gpon onu profile performance-threshold gem
Function
This command creates a Remote Authentication Dial In User Service (RADIUS)
performance alarm threshold profile.
15-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
number1
14294967295
frames
number2
14294967295
frames
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the alarm threshold of the received frames
with incorrect EAP lengths to 100:
ZXAN(config)#gpon
radius radius_test
retx-access-req 100
Related Commands
15.1.43 show gpon onu profile performance-threshold radius
Function
This command creates a performance alarm threshold profile for a bridge port.
15-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
number1
14294967295
due to timeout
number2
14294967295
14294967295
discarded frames
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a performance alarm threshold profile for a
bridge port:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold switchport switch
Related Commands
None
Function
This command creates a VLAN performance alarm threshold profile.
15-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
number1
14294967295
14294967295
due to timeout
number3
14294967295
frames
number4
14294967295
Mode
GPON global configuration mode
Usage Guidelines
None
Examples
The following example shows how to create a VLAN performance alarm threshold profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile performance-threshold vlan ethuni vlan1
Related Commands
None
Function
This command creates an ONU scheduling profile.
15-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
name2
Scheduling mode
default
07
number2
07
number3
07
number4
07
number5
07
number6
07
number7
07
number8
07
number9
Queue 0.
07
number10
Weight of queue 0.
015
number11
Queue 1.
07
number12
Weight of queue 1.
015
number13
Queue 2.
07
number14
Weight of queue 2.
015
number15
Queue 3.
07
number16
Weight of queue 3.
015
number17
Queue 4.
07
number18
Weight of queue 4.
015
number19
Queue 5.
07
number20
Weight of queue 5.
015
number21
Queue 6.
07
number22
Weight of queue 6.
015
number23
Queue 7.
07
number24
Weight of queue 7.
015
Mode
GPON global configuration mode
15-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
When you carry out ths command by using a specified profile name for the first time,
it indicates to create the profile. When you carry out this command for second time, it
indicates to modify the profile. A profile that is used cannot be deleted or modified.
By default, the NE creates a profile with the name of default. This profile uses ONU
default scheduling mode. Other parameters are invalid.
Examples
The following example shows how to create an ONU scheduling profile with the following
configurations:
l
l
ZXAN(config)#gpon
Related Commands
15.1.46 show gpon onu profile schedule
15-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures an ONU Session Initiation Protocol (SIP) profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
name2
or a URL
name3
or a URL
name4
or a URL
disable
No registration or authentication
name5
125 characters
RFC2617
name6
125 characters
RFC2617
name7
125 characters
by RFC2069
name8
125 characters
by RFC2069
name9
defined by RFC2069
number1
165535
number2
DSCP
063
number3
TOS
07
media
Media gateway
number4
165535
number5
DSCP
063
number6
TOS
07
ip_addr1
ip_addr2
04294967295
number7
default: 3600
number8
04294967295
default: 3600
15-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name10
SS vendor ID
14 characters
name11
number9
0255
number10
0255
enable
number11
165535
name12
164 characters
name13
164 characters
ss
SS vendor ID
dial-plan
appsrv
accesscode
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
Related Commands
15.1.47 show gpon onu profile sip
tclr number19 ] [rbtx-set number20 ] [rbtx-clr number21 ] [rbrx-plc name4 ] [lbrx-plc name5 ]
[ses-thres number22 ] }
no onu profile tdm name1
Function
This command configures a Time Division Multiplexing (TDM) property profile.
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
number1
065535
065535
RTP header.
disable
enable
number3
04294967295
04294967295
number5
96127
number6
0, 96127
number7
065535
8 kHz.
name2
Timestamp mode.
unknown,
absolute,
differential
number8
0255
number9
0255
number10
04294967295
number11
04294967295
policy
Fill policy.
name3
15-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number12
1100
099
1100
099
1100
099
1100
099
0255
0255
set).
l
15-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
being set).
l
number22
065535
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a TDM profile with the name of test and RTP
header disabled:
ZXAN(config-gpon)#onu profile tdm test rtp disable
ZXAN(config-gpon)#
Related Commands
None
Function
This command creates an ONU traffic profile.
15-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
number1
010000000
number2
010000000
number3
01023000
number4
01023000
name2
Coloring mode
name3
name5
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU traffic profile with the following
configurations:
l
l
l
l
15-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
15.1.49 show gpon onu profile traffic
Function
This command creates an expanded VLAN processing rule profile.
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
discard
number1
02
number2
07
name2
inner-vid
number3
04095
name3
name4
15-33
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number4
07
name5
outer-vid
number5
04095
name6
name7
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Inner and outer TPID adding modes are as follows:
mode0: copies the TPID (including the DE bit) from the inner tag of the received frame.
mode1: copies the TPID (including the DE bit) from the outer tag of the received frame.
mode2: The TPID is the pre-configured egress TPID value, and the DE bit is copied from
the inner tag of the received frame.
mode3: The TPID is the pre-configured egress TPID value, and the DE bit is copied from
the outer tag of the received frame.
mode4: TPID=0x8100.
mode5: Reserved.
mode6: The TPID is the pre-configured egress TPID value. DE bit = 0.
mode7: The TPID is the pre-configured egress TPID value. DE bit = 1.
Examples
The following example shows how to create an Ethernet frame processing rule profile with
the following configurations:
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
VID: 200
Related Commands
15.1.50 show gpon onu profile treat
Function
This command creates an ONU VLAN profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
tag-mode
tag
number1
CVLAN ID
14094
number2
Priority
07
vlan-stacking
VLAN stacking
number3
SVLAN ID
14094
number4
CVLAN ID
14094
number5
Priority
07
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an ONU VLAN profile with the name of zte:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile vlan zte tag-mode tag cvlan 100
15-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures a Voice over Internet Protocol (VoIP) access code profile.
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
name2
15 characters
15 characters
characters: 0..9, *, #.
name4
15 characters
characters: 0..9, *, #.
name5
15 characters
15 characters
15 characters
15 characters
15 characters
15 characters
15 characters
characters: 0..9, *, #.
15-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name12
15 characters
15 characters
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a VoIP access code profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile voip-accesscode access
Related Commands
None
Function
This command configures a VoIP service profile.
15-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
name2
name3
name4
name5
CID number.
name6
CID name.
name7
blocking.
name8
name9
name10
name11
name12
name13
name14
name15
service.
name16
emergent service.
name17
name18
splashing ring.
name19
name21
indication.
name22
name23
name24
1128 characters
disable
15-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name25
125 characters
name26
125 characters
name27
125 characters
name28
125 characters
name29
125 characters
name30
1128 characters
name31
125 characters
name32
125 characters
name33
125 characters
name34
125 characters
name35
125 characters
name36
Institute URI.
1128 characters
name37
125 characters
name38
125 characters
name39
125 characters
name40
125 characters
name41
125 characters
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a VoIP service profile:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile voip-appsrv app
Related Commands
None
15-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures a VoIP media parameter profile.
Parameters
Parameter
Description
Value
name1
Profile name.
164 characters
encoding
Encoding parameter.
name2
name3
Coding mode.
number1
1030
name4
name5
name6
transmission.
service
Service parameter.
name7
hook-off.
name8
number2
Country code.
065535
no-change
mark.
number3
07
07
15-40
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
fix
065535
number6
065535
adaptive
0200
number8
065535
rtp
number9
065535
number10
065535
number11
063
name9
name10
name11
name12
signaling event.
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure a VoIP media parameter profile:
ZXAN(config-gpon)#onu profile voip-media test encoding 1st
codec cn pkt-period 20 silence-suppress on
ZXAN(config-gpon)#onu profile voip-media test encoding 2nd
codec cn pkt-period 20 silence-suppress on
ZXAN(config-gpon)#onu profile voip-media test encoding 3rd
codec mpa pkt-period 20 silence-suppress off
ZXAN(config-gpon)#onu profile voip-media test encoding 4th
codec dvi4-rate22khz pkt-period 30 silence-suppress off
ZXAN(config-gpon)#onu profile voip-media test encoding fax-mode t38
ZXAN(config-gpon)#onu profile voip-media test encoding oob-dtmf enable
ZXAN(config-gpon)#onu profile voip-media test service announce-type
15-41
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command creates a GPON bandwidth property profile.
Parameters
Parameter
Description
Value
name1
164 characters
Profile type 1
number1
642488320
Profile type 2
number2
642488320
Profile type 3
number3
642488320
number4
642488320
Profile type 4
number5
642488320
Profile type 5
number6
642488320
number7
642488320
number8
642488320
Mode
GPON global configuration mode
15-42
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a GPON bandwidth property profile:
ZXAN(config)#gpon
Related Commands
None
Function
This command creates a GPON traffic profile.
Parameters
Parameter
Description
Value
name1
164 characters
number1
010000000
Kbps
number2
6410000000
Kbps
15-43
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number3
01023
unit: Kbps
number4
01023
unit: Kbps
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a GPON traffic profile:
ZXAN(config-gpon)#profile traffic traffic1 sir 10000 pir 20000
ZXAN(config-gpon)#
Related Commands
None
Function
This command shows the GPON multicast model configuration information.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
15-44
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
name1
Profile name
164 characters
number1
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the network dialing plans in
the network dialing plan table test:
ZXAN#show gpon onu profile dial-plan test
dialPlanToken dialPlanEntryId
-------------------------------zte 16777216
ZXAN#
Related Commands
None
15-45
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the detailed information about a network dialing plan table.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the current network dialing plan table:
ZXAN#show gpon onu profile dial-plan-table
tablename tableMaxSize criticalTimeout partialTimeout format
----------------------------------------------------------------test 0 1310720 1310720 h248
ZXAN#
Related Commands
None
Function
This command shows the detailed information about a DSCP profile.
15-46
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the current DSCP profile:
ZXAN(config-gpon)#show gpon onu profile dscp
Profile name:
zte
Dscp2Pbit mapping:
1:1
ZXAN(config-gpon)#
Related Commands
None
Function
This command shows the detailed information about an expanded VLAN filtering rule
profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
15-47
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows the detailed information about the current expanded VLAN
filtering rule profile:
ZXAN#show gpon onu profile filter-rule
RuleName: single-tag-vid100
TagNum: 1
EtherType: any
InnerPrio: 8
InnerVid: 100
InnerTPID mode0
ZXAN#
Related Commands
None
Function
This command shows the configuration information about the Optical Network Unit (ONU)
multicast profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information about the ONU multicast
profile:
ZXAN(config-if)#show gpon onu profile igmp
Profile-name: ACDE
Version: v2
15-48
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the detailed information about the IP profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
15-49
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows the detailed information about the IP profile:
ZXAN#show gpon onu profile ip
Profilename:
zte
Gateway:
10.63.10.254
Primary DNS:
0.0.0.0
ZXAN#
Related Commands
None
Function
This command shows the detailed information about the Media Gateway Controller (MGC)
profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode.
Usage Guidelines
None
Examples
The following example shows the detailed information about the MGC profile:
ZXAN#show gpon onu profile mgc
Profile name:
fdsf
Server1:
Validation scheme:
disable
Username:
N/A
15-50
SJ-20130118100307-010|2013-02-28 (R1.0)
N/A
Realm:
N/A
Server2:
Validation scheme:
disable
Username:
N/A
Password:
N/A
Realm:
N/A
UDP port:
2944
DSCP/TOS:
2944
Media DSCP/TOS:
Message format:
text long
Version:
0(s)
0(s)
Softswitch vendor:
User TID:
Prefix:
RTP TID:
default
Heart beat:
service change
disable
disable
20000(ms)
5000(ms)
10000(ms)
60000(ms)
60000(ms)
120000(ms)
2000(ms)
10000(ms)
ZXAN#
Related Commands
None
15-51
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the detailed information about the Circuit Emulation Service (CES)
performance statistics threshold profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the CES performance
statistics threshold profile:
ZXAN#show gpon onu profile performance-threshold ces
Profile name
zte
ZXAN#
Related Commands
None
Function
This command shows the detailed information about the 802.1x performance statistics
threshold profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the 802.1x performance
statistics threshold profile:
ZXAN#show gpon onu profile performance-threshold dot1x
Threshold profile:
zte1
1000
100
ZXAN#
Related Commands
None
Function
This command shows the detailed information about the Ethernet User Network Interface
(UNI) performance statistics threshold profile.
15-53
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the Ethernet UNI performance
statistics threshold profile:
ZXAN(config-gpon)#show gpon onu profile performance-threshold eth
Profile name
abc
Sqe count
Undersize packets
1000
Fragments
Jabbers
Related Commands
None
15-54
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the detailed information about the GEM port performance statistics
threshold profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the GEM port performance
statistics threshold profile:
ZXAN(config-gpon)#show gpon onu profile performance-threshold gem
Profile name
zte
Lost packets
100
Misinserted packets
200
Impaired blocks
300
ZXAN(config-gpon)#
Related Commands
None
15-55
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the detailed information about the Remote Authentication Dial In
User Service (RADIUS) performance statistics threshold profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the RADIUS performance
statistics threshold profile:
ZXAN(config-gpon)#show gpon onu profile performance-threshold radius
Threshold profile:
zte
ReTxAccessRequest:
100
RxInvalidRadius packets:
100
ZXAN(config-gpon)#
Related Commands
None
Function
This command shows the detailed information about the layer 2 bridge port performance
statistics threshold profile.
15-56
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the layer 2 bridge port
performance statistics threshold profile:
ZXAN(config-gpon)#show gpon onu profile performance-threshold switchport
Profile name:
Delay exceeded discard:
zte
100
200
100
ZXAN(config-gpon)#
Related Commands
None
Function
This command shows the detailed information about the VLAN Ethernet port performance
statistics threshold profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
15-57
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the detailed information about the VLAN Ethernet port
performance statistics threshold profile:
ZXAN(config-gpon)#show gpon onu profile performance-threshold vlan-eth
Profile name:
Discard for lack of buffer:
Discard delay exceeded:
Discard on error:
zte
100
100
100
ZXAN(config-gpon)#
Related Commands
None
Function
This command shows the detailed information about the ONU scheduling profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the ONU scheduling profile:
ZXAN(config-gpon)#show gpon onu profile schedule
15-58
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
The following example shows the configuration information about the ONU Session
Initiation Protocol (SIP) profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information about the ONU SIP profile:
ZXAN(confg-gpon)#show gpon onu profile sip
Profile name :test1
Proxy server:10.63.10.1
Outbound proxy:10.63.10.1
Registrar:10.63.10.1
Validation scheme:basic
Username:aaa
Password:bbb
UDP port:5060
Host id:1
15-59
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the detailed information about the Time Division Multiplexing (TDM)
property profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the current TDM property
profile:
ZXAN(config-gpon)#show gpon onu profile tdm
Tdm profile name: pw1
Jitter buffer max depth: 300
Jitter buffer desire depth: 0
Fill policy: ont-default
15-60
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the detailed information about the ONU traffic profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the ONU traffic profile:
ZXAN(config-gpon)#show gpon onu profile traffic
Profile name : traffic1
SIR: 10000
15-61
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the detailed information about the expanded VLAN processing rule
profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the current expanded VLAN
processing rule profile:
ZXAN#show gpon onu profile treat
TreatName: add-outer-vid200
TagsToRemove: 0
OuterprioMapMode: insert
OuterPrio: 0
OutervidMapMode: insert
OuterVid: 200
OuterTPID: mode4
15-62
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the detailed information about the VLAN profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the VLAN profile:
ZXAN#show gpon onu profile vlan
Profile name:
mgmt
Tag mode:
tag
CVLAN:
101
CVLAN priority:0
ZXAN#
Related Commands
None
15-63
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the detailed information about the VoIP access code profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about the VoIP access code profile:
ZXAN#show gpon onu profile voip-accesscode
Profile-name:
zte
cancel-call-waiting:
call-hold:
call-park:
cid-activate:
cid-deactivate:
no-disturb-activation:
no-disturb-deactivation:
no-disturb-pin-change:
emergency-srv-num:
intercom-service:
unattend-blind-call-transfer:
attend-call-transfer:
ZXAN#
Related Commands
None
15-64
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the detailed information about the VoIP application service profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode.
Usage Guidelines
None
Examples
The following example shows the detailed information about the VoIP application service
profile:
ZXAN#show gpon onu profile voip-appsrv
Profile-name:
zte
calling-num:
disable
calling-name:
disable
cid-blocking:
disable
cid-num-permanent-status:
disable
cid-name-permanent-status:
disable
anonymous-cid-blocking:
disable
call-wating:
disable
cid-announcement:
disable
3way:
disable
call-transfer:
disable
call-hold:
disable
call-park:
disable
no-disturb:
disable
emergency-call-flash:
disable
emergency-originate-hold:
disable
6way:
disable
message-waiting-splash-ring:
disable
15-65
SJ-20130118100307-010|2013-02-28 (R1.0)
disable
call-forwarding-ind:
disable
direct-connect-feature:
disable
dialtone-delay:
disable
direct-connect-uri:
Validation scheme:
disable
Username:
Password:
Realm:
bridge-line-agent-uri:
Validation scheme:
disable
Username:
Password:
Realm:
conference-factory-uri:
Validation scheme:
disable
Username:
Password:
Realm:
ZXAN#
Related Commands
None
Function
This command shows the detailed information about the GPON VoIP media traffic profile.
Parameters
Parameter
Description
Value
name1
Profile name
164 characters
Mode
All modes except user mode
15-66
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the detailed information about the GPON VoIP media traffic
profile:
ZXAN#show gpon onu profile voip-media
profilename: 1, faxMode: passthru
codecMode1st: pcmu, pktPeriod1st: 10,silenceSuppression1st: off
codecMode2nd: pcmu, pktPeriod2nd: 10,silenceSuppression2nd: off
codecMode3rd: pcmu, pktPeriod3rd: 10,silenceSuppression3rd: off
codecMode4th: pcmu, pktPeriod4th: 10,silenceSuppression4th: off
oobDTMF: enable, announceType: na
jitterTarget: 0, jitterMaxBuf: 0
echoCancelInd:false, pstnVariant: 0
minPort: 50000, maxPort: 60000,dscpMark: 46
piggybackEvents: disable,toneEvents: disable
dtmfEvents: disable,casEvents: disable
ZXAN#
Related Commands
None
Function
This command shows the configuration information about the GPON profile.
Parameters
Parameter
Description
Value
name1
name2
Profile name
164 characters
Mode
All modes except user mode
15-67
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the configuration information about the GPON T-CONT
profile:
ZXAN#show gpon profile tcont
Name :default
Type FBW(kbps) ABW(kbps) MBW(kbps)
1 10000 0 0
The following example shows the configuration information about the GPON traffic profile:
ZXAN#show gpon profile traffic
Name :default
SIR(kbps) PIR(kbps)
2488320 2488320
Related Commands
None
Function
This command shows the configuration information about a specified GPON slot and the
DHCP anti-spoofing auto shutdown state.
Parameters
Parameter
Description
Value
number1
Slot number
19, 1219
Mode
All modes except user mode
Usage Guidelines
None
15-68
SJ-20130118100307-010|2013-02-28 (R1.0)
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) registration mode of the
Optical Line Terminal (OLT) interface. By default, it is disabled.
Parameters
Parameter
Description
Value
enable
disable
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the default ONU registration mode to auto
learning:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#auto-learning enable
ZXAN(config-if)#
15-69
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the aging time in auto learning mode.
Parameters
Parameter
Description
Value
number1
23600
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to set the aging time in auto learning mode to 100
seconds:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#auto-learning aging-time 100
Related Commands
None
15.2.3 ber-interval
Syntax
ber-interval number1
Function
This command configures the Bit Error Rate (BER) interval time of an OLT interface.
15-70
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
1536870911
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the BER interval time of an OLT interface
to 1000 ms:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#ber-interval 1000
Related Commands
None
15.2.4 clear
Syntax
clear
Function
This command clears all the OLT interface data.
Parameters
None
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to clear all the OLT interface data:
ZXAN(config)#int gpon-olt_1/3/1
15-71
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the Dynamic Bandwidth Allocation (DBA) period mode.
Parameters
Parameter
Description
Value
low-delay
default
Default mode
low-overhead
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the DBA period mode to default:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#dba period-mode default
Related Commands
None
15.2.6 discover-period
Syntax
discover-period new-onu number1 miss-onu number2
15-72
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the period of discovering new registered ONUs or offline ONUs.
Parameters
Parameter
Description
Value
number1
23600
seconds
Period of discovering offline ONUs, unit: seconds
number2
0300
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the period of discovering new registered
ONUs or offline ONUs:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#discover-period new-onu 10 miss-onu 10
Related Commands
None
15.2.7 fec
Syntax
fec name1
Function
This command configures the Forward Error Correction (FEC) function of a GPON OLT
interface.
Parameters
Parameter
Description
Value
name1
15-73
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the FEC function of OLT interface 1 in slot 3
of shelf 0:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#fec downstream
Related Commands
None
15.2.8 name
Syntax
name WORD1
no name
Function
This command configures the alias of an OLT interface.
Parameters
Parameter
Description
Value
WORD1
1127 characters
Mode
GPON global configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the alias of an OLT interface:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#name zte
15-74
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.2.9 onu
Syntax
onu number1 type name1 {(sn name2 [vport-mode name3 ])|(pw name4 [sn name5 ][vport-mode
name6 ])|(hpw name7 [sn name8 ][vport-mode name9 ])|(sn+pw name10 name11 [vport-mode
name12 ])|(sn+hpw name13 name14 [vport-mode name15 ])|(loid name16 [sn name17 ][vportmode name18 ])|(loid+pw name19 name20 [sn name21 ][vport-mode name22 ])|(rid name23 [sn
name24 ][vport-mode name25 ])|(sn+rid name26 name27 [vport-mode name28 ])|(loid+hpw na
me29 name30 [sn name31 ][vport-mode name32 ])}
no onu number2
Function
This command registers a specified ONU to the current OLT interface.
Parameters
Parameter
Description
Value
number1
ONU ID.
1128
name1
164 characters
name4
110 characters
name5
name7
Hexadecimal password.
120 characters
name8
15-75
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name10
110 characters
name12
name13
Hexadecimal password.
120 characters
name15
name16
LOID.
124 characters
name17
name19
LOID.
124 characters
name20
ONU password.
110 characters
name21
name23
RID.
136 characters
name24
RID.
136 characters
name28
name29
LOID.
124 characters
name30
Hexadecimal password.
120 characters
name31
15-76
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name32
number2
ONU ID.
1128
Mode
GPON OLT interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to register the ONU to OLT interface gpon-olt_1/3/1:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#onu 1 type ZTE-F622 sn CIGG02938572 vport-mode gemport
ZXAN(config-if)#
Related Commands
None
15.2.10 onu-action
Syntax
onu-action name1
Function
This command enables or disables the ONU on an OLT interface.
Parameters
Parameter
name1
Description
Value
interface.
Mode
GPON OLT interface mode
Usage Guidelines
None
15-77
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to disable the ONU on an OLT interface:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#onu-action deactive
Related Commands
None
15.2.11 onu-sn
Syntax
onu-sn enable
Function
This command enables all the ONUs that are forbidden to get online on an OLT interface.
Parameters
Parameter
Description
Value
enable
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to enable all the ONUs that are forbidden to get online
on an OLT interface:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#onu-sn enable
Related Commands
None
15-78
SJ-20130118100307-010|2013-02-28 (R1.0)
15.2.12 range-mode
Syntax
range-mode number1 number2
Function
This command configures the distance measurement range of an OLT interface.
Parameters
Parameter
Description
Value
number1
0600
0600
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the distance measurement range of
gpon-olt_0/3/1 to 2040 km:
ZXAN(config)#interface gpon-olt_1/3/1
ZXAN(config-if)#range-mode 200 400
ZXAN(config-if)#
Related Commands
None
15.2.13 resource-id-assign-mode
Syntax
resource-id-assign-mode {mode1 |mode2 }
Function
This command configures the allocation mode of the Alloc-ID and Port ID.
15-79
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
mode1
Mode
GPON OLT interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the allocation mode of the Alloc-ID and
Port ID to mode 1:
ZXAN(config)#int gpon-olt_1/3/1
ZXAN(config-if)#resource-id-assign-mode mode1
Related Commands
None
15.2.14 scb-port
Syntax
scb-port number1
Function
This command configures the Single Copy Broadcast (SCB) port.
Parameters
Parameter
Description
Value
number1
Port number
1294096
Mode
GPON OLT interface mode
Usage Guidelines
None
15-80
SJ-20130118100307-010|2013-02-28 (R1.0)
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.
Parameters
Parameter
Description
Value
interface1
olt_shelf/slot/oltId
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the FEC configuration information on a GPON OLT interface:
ZXAN#show gpon fec gpon-olt_1/3/1
Interface
mode
-------------------------------gpon-olt_1/3/1
none
Related Commands
None
15-81
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the GPON OLT interface configuration information.
Parameters
Parameter
Description
Value
interface1
gpon-olt_shelf/slot/oltId
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the GPON OLT interface configuration information:
ZXAN#show gpon olt config gpon-olt_01/3/1
gpon-olt_1/3/1
Name:OLT-1
MaxSupportOnts :128
MaxSupportTconts
:0
RealLegalOnts
RealIllegalOnts
:0
Missing onu
:5
:0
Discovering onu:10
Range mode(100m): 0 - 200
Uncfg onu aging time(s): 300
Auto learn:disable
SCB port:4095
FEC:downstream
Resource ID assign mode:mode1
Related Commands
None
Function
This command shows the distance measurement configuration on an OLT interface.
Parameters
Parameter
Description
Value
interface1
gpon-olt_shelf/slot/oltId
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the distance measurement configuration on an OLT
interface:
ZXAN#show gpon olt range-mode gpon-olt_1/3/1
OltInterface
Base-distance(100m)
Maximum-distance(100m)
--------------------------------------------------------------------gpon-olt_1/3/1
200
Related Commands
None
15.2.18 uncfg-onu-aging-time
Syntax
uncfg-onu-aging-time number1
Function
This command configures the ONU auto learning aging time that is not configured on an
OLT interface.
Parameters
Parameter
Description
Value
number1
23600
15-83
SJ-20130118100307-010|2013-02-28 (R1.0)
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 enables or disables an Optical Network Unit (ONU).
Parameters
Parameter
Description
Value
name1
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable an ONU:
ZXAN(config)#int gpon-onu_1/3/1:1
15-84
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.3.2 authpass-control
Syntax
authpass-control number1
Function
This command configures whether to send a notification to the Network Management
System (NMS) when the ONU gets online.
Parameters
Parameter
Description
Value
number1
Notification ID.
010
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to configure not to send a notification to the NMS when
the ONU gets online:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#authpass-control 0
Related Commands
None
15.3.3 dba
Syntax
dba mode name1
15-85
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the GPON ONU Dynamic Bandwidth Allocation (DBA) mode.
Parameters
Parameter
Description
Value
name1
DBA mode
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to set the DBA mode of ONU 1 under the OLT interface
1 in slot 3 of shelf 0 to hybrid:
XAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#dba mode hybrid
Related Commands
None
15.3.4 description
Syntax
description WORD1
no description
Function
This command configures the ONU interface description information.
Parameters
Parameter
Description
Value
WORD1
ONU description
1127 characters
Mode
GPON ONU interface mode
15-86
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the description information about the ONU
interface gpon-onu_0/3/1:1 to onu1:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#description onu1
Related Commands
15.3.5 disable
Syntax
disable
Function
This command disables the ONU.
Parameters
None
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to disable the ONU:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#disable
Related Commands
15.3.6 enable
15-87
SJ-20130118100307-010|2013-02-28 (R1.0)
15.3.6 enable
Syntax
enable
Function
This command enables the ONU.
Parameters
None
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the ONU:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#enable
Related Commands
15.3.5 disable
15.3.7 encrypt
Syntax
encrypt number1 name1
Function
This command enables or disables GPON Encapsulation Method (GEM) port encryption
by the ONU.
Parameters
Parameter
Description
Value
number1
1255
name1
15-88
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable encryption for GEM port 1:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#encrypt 1 enable
ZXAN(config-if)#
Related Commands
None
15.3.8 fec
Syntax
fec {none |upstream }
Function
This command configures GPON ONU Forward Error Correction (FEC).
Parameters
Parameter
Description
Value
none
Disables FEC.
upstream
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable FEC for ONU 1 under OLT interface 1 in slot
3 of shelf 0:
15-89
SJ-20130118100307-010|2013-02-28 (R1.0)
ZXAN(config-if)#fec upstream
Related Commands
None
15.3.9 gemport
Syntax
gemport number1 {{[down-queue-map-id number2 ] [up-queue-map-id number3 ] } |state nam
e1 |traffic-limit {[upstream name2 ] [downstream name3 ] } |[name name4 ] [portid number4 ]
unicast tcont number5 [{[dir name5 ] [queue number6 ] } ] }
no gemport number1
Function
This command configures the GEM port properties.
Parameters
Parameter
Description
Value
number1
1255
number2
07
03
traffic-limit
name2
164 characters
name3
164 characters
name4
163 characters
number4
Real port ID
1294095
unicast
number5
T-CONT index
1255
15-90
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
number6
Priority queue ID
18
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
You need to create the GPON bandwidth property profile and T-CONT first. To configure
GEM port rate limiting, you need to configure the rate limiting profile in config mode. Using
the default profile indicates not to use rate limiting.
Examples
The following example shows how to configure the GEM port properties:
ZXAN(config)#inter gpon-onu_1/3/1:1
ZXAN(config-if)#gemport 1 name 1 unicast tcont 1 queue 3
ZXAN(config-if)#gemport 1 traffic-limit upstream default downstream default
Related Commands
None
15.3.10 link-test
Syntax
link-test test-times number1
Function
This command tests the line status between the OLT and ONU.
Parameters
Parameter
Description
Value
number1
1100
Mode
GPON ONU interface mode
Usage Guidelines
None
15-91
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to test the line status between the OLT and ONU:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#link-test test-times 10
Sending 10 GEM frames to gpon-onu_1/3/1:1.
..........
Success rate is 0 percent (0/10)
ZXAN(config-if)#
Related Commands
None
15.3.11 name
Syntax
name WORD1
no name
Function
This command configures the ONU alias.
Parameters
Parameter
Description
Value
WORD1
ONU alias
1127 characters
Mode
GPON ONU interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the ONU alias:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#name zte
15-92
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.3.12 omcc-encrypt
Syntax
omcc-encrypt name1
Function
This command enables or disables the ONU Management and Control Channel (OMCC)
function.
Parameters
Parameter
Description
Value
name1
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable the OMCC function:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#omcc-encrypt enable
Related Commands
None
15.3.13 omci-bandwidth
Syntax
omci-bandwidth name1
no omci-bandwidth
Function
This command configures the ONU ONT Management Control Interface (OMCI)
bandwidth.
15-93
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
163 characters
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Before configuring the ONU OMCI bandwidth, use the ZXAN(config-gpon)#profile tcont
command to configure a T-CONT profile.
Examples
The following example shows how to configure the ONU OMCI bandwidth:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#omci-bandwidth tcont1
Related Commands
15.1.29 profile tcont
Function
This command enables or disables VPORT performance statistics on the ONU interface.
Parameters
Parameter
Description
Value
number1
Virtual port ID
1256
name1
disabled.
Mode
GPON line configuration mode, GPON ONU interface mode
15-94
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to enable VPORT performance statistics on the ONU
interface:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#performance vport 1 start
Related Commands
None
15.3.15 registration-method
Syntax
registration-method {sn name1 {[pw name2 ] |[hpw name3 ] } |pw name4 |hpw name5 |loid name6
{[pw name7 ] |[hpw name8 ] } }
Function
This command configures the ONU registration mode.
Parameters
Parameter
Description
Value
name1
112 characters
number
name2
110 characters
name3
120 characters
name4
110 characters
name5
120 characters
name6
124 characters
name7
110 characters
name8
120 characters
Mode
GPON ONU interface mode
Usage Guidelines
None
15-95
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the ONU registration mode to sn:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#registration-method sn ZTEG12345678
Related Commands
None
15.3.16 rogue-onu-state
Syntax
rogue-onu-state name1 [duration {forever |number1 } ]
Function
This command configures the rogue ONU state.
Parameters
Parameter
Description
Value
name1
forever
number1
1255
unit: minutes
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the rogue ONU state to shutdown:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#rogue-onu-state shutdown
Related Commands
None
15-96
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the Alloc-ID of a specified ONU T-CONT.
Parameters
Parameter
Description
Value
interface1
olt_shelf/slot/oltId
number1
ONU ID
1128
number2
T-CONT ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the Alloc-ID of a specified ONU T-CONT:
ZXAN#show gpon onu allocid gpon-olt_1/3/1 1 1
allocId: 256
Related Commands
None
Function
This command shows the basic configuration information about a GPON ONU.
15-97
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
gpon-olt_shelf/slot/oltId
ONU ID
number1
1128
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the basic configuration information about the ONU on OLT
interface 1 in slot 3 of shelf 0:
ZXAN#show gpon onu baseinfo gpon-olt_1/3/1
OnuIndex
Type
Mode
SN/PW
State
--------------------------------------------------------------------gpon-onu_1/3/1:1
ZTE-F621
SN
0x0000000001
ready
ZXAN#
Related Commands
None
Function
This command shows the information about an ONU that is registered in specified mode.
Parameters
Parameter
Description
Value
name1
ONU password
110 characters
15-98
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name3
ONU password
110 characters
name5
ONU LOID
124 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the information about an ONU that is registered in specified
mode:
ZXAN#show gpon onu by sn ZTEGC1000150
SearchResult
----------------gpon-onu_1/3/1:1
gpon-onu_1/3/3:1
gpon-onu_1/5/1:1
gpon-onu_1/6/1:2
ZXAN#
Related Commands
None
Function
This command shows the detailed information about a specified ONU.
15-99
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/oltId:onuId
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the detailed information about a specified ONU:
ZXAN#show gpon onu detail-info gpon-onu_1/3/1:1
ONU interface:
gpon-onu_1/3/1:1
Name:
ONU-1:1
Type:
ZTE-F620
State:
ready
Admin state:
enable
Phase state:
OffLine
Authentication mode: sn
SN Bind:
Serial number:
ZTEGC1000150
Password:
Device ID:
Description:
ONU-1:1
Vport mode:
manual
DBA Mode:
Hybrid
ONU Status:
enable
OMCI BW Profile:
enable
Line Profile:
N/A
Service Profile:
N/A
Alarm Profile:
N/A
N/A
Online Duration:
0h 0m 0s
FEC:
none
-----------------------------------------Authpass Time
OfflineTime
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
Cause
15-100
SJ-20130118100307-010|2013-02-28 (R1.0)
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
0000-00-00 00:00:00
10
0000-00-00 00:00:00
0000-00-00 00:00:00
ZXAN#
Related Commands
None
Function
This command shows the ONU distance.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/oltId:onuId
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU distance:
ZXAN#show gpon onu distance gpon-onu_1/3/1:1
Eqd (bit)
Distance(m)
.......................................
265644
ZXAN#
15-101
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the configuration information about a GPON GEM port.
Parameters
Parameter
Description
Value
interface1
gpon-olt_shelf/slot/oltId
number1
ONU ID
1128
number2
GEM port ID
1255
Mode
All modes except user mode
Usage Guidelines
One T-CONT can be configured with only four 4 GEM ports. The GEM port ID ranges from
1 to 255. If one ONU supports only four GEM ports, the GEM port ID ranges from 1 to 4.
Examples
The following example shows the configuration information about a GPON GEM port:
ZXAN#show gpon onu gemport gpon-olt_1/3/1 1
OLT: gpon-olt_1/3/1.
ONU: 1. GemPort: 1.
Name: gemport1. TCONT: 1.
PortId:129.
Gemport direction: both.
Encrypt state: enable. Default Queue: 0.
DownTraffic profile name: default.
Upstreamraffic profile name: default.
State: active.
Down queue map ID: 0.
Up queue map ID:
0.
15-102
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the next GEM port ID that can be obtained by the ONU.
Parameters
Parameter
Description
Value
name1
interface1
gpon-onu_shelf/slot/oltId:onuId
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the next GEM port ID that can be obtained by the ONU:
ZXAN#show gpon onu next-available gemport gpon-onu_1/3/1:1
4.
ZXAN#
Related Commands
None
Function
This command shows the ONU GEM port data.
15-103
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
gpon-olt_shelf/slot/oltId
number1
ONU ID
1128
number2
GEM port ID
1256
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN#show gpon onu portid gpon-olt_1/3/1 1 1
Port Index
RealPort
--------------------------------------------------1
129
Related Commands
None
Function
This command shows the GPON ONU state.
Parameters
Parameter
Description
Value
interface1
gpon-olt_shelf/slot/oltId
number1
ONU ID
1128
name1
ONU state
Mode
All modes except user mode
15-104
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the state of the ONU on OLT interface 1 in slot 3 of shelf 1:
ZXAN#show gpon onu state gpon-olt_1/3/1
OnuIndex
Admin State
Omcc State
O7 State
Phase State
--------------------------------------------------------------------------gpon-onu_1/3/1:1
enable
disable
unknown
OffLine
ZXAN#
Related Commands
None
Function
This command shows the configuration information about the GPON T-CONT.
Parameters
Parameter
Description
Value
interface1
gpon-olt_shelf/slot/oltId
number1
ONU ID
1128
number2
T-CONT ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information about the GPON T-CONT on
OLT interface 1 in slot 3 of shelf 1:
ZXAN#show gpon onu tcont gpon-olt_1/3/1 1
15-105
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the unauthorized ONU information.
Parameters
Parameter
Description
Value
interface1
olt_shelf/slot/oltId
ONU ID
number1
1128
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the information about the unauthorized ONUs on OLT
interface 1 in slot 3 of shelf 1:
ZXAN#show gpon onu uncfg gpon-olt_1/3/1
OnuIndex
Sn
State
----------------------------------------------------------gpon-onu_1/3/1:1
ZTEG70002876
unknown
ZXAN(config-if)#
15-106
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the GPON ONU VPORT information.
Parameters
Parameter
Description
Value
interface1
olt_shelf/slot/oltId
number1
ONU ID
1128
number2
vport ID
1256
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU VPORT information on OLT interface 1 in slot 3 of
shelf 1:
ZXAN#show gpon onu vport gpon-olt_1/3/1 1
ONU ifName: gpon-onu_1/3/1:1
Vport:
Map type:
1:1
ZXAN#
Related Commands
None
15-107
SJ-20130118100307-010|2013-02-28 (R1.0)
15.3.29 shutdown
Syntax
shutdown
no shutdown
Function
This command shows how to enable or disable an interface. By default, it is enabled.
Parameters
None
Mode
GPON ONU interface mode
Usage Guidelines
When an interface is disabled, the physical connection of the interface is not affected.
Examples
The following example shows how to enable interface gpon-onu_1/3/1:1:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#no shutdown
Related Commands
None
15.3.30 sn-bind
Syntax
sn-bind {enable [{sn |both } ] |disable |update-sn }
Function
This command enables or disables ONU SN binding.
15-108
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
enable
SN binding.
both
Both binding.
disable
Disables SN binding.
update-sn
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable ONU SN binding:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#sn-bind enable
Related Commands
None
15.3.31 state
Syntax
state name1
Function
This command modifies the state of a specified ONU.
15-109
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Mode
GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to set the ONU state to ready:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#state ready
ZXAN(config-if)#
Related Commands
None
15.3.32 tcont
Syntax
tcont number1 [name name1 ] [allocid number2 ] {gap name2 |profile name3 }
no tcont number1
Function
This command configures T-CONT properties.
Parameters
Parameter
Description
Value
number1
T-CONT ID
1255
name1
T-CONT name
164 characters
number2
Alloc-ID
2564095
name2
DBA mode
name3
163 characters
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to configure T-CONT properties:
ZXAN(config)#int gpon-onu_1/3/1:1
ZXAN(config-if)#tcont 1 profile default
Related Commands
None
15.3.33 type
Syntax
type name1
no type
Function
This command configures the type name of a specified ONU.
Parameters
Parameter
Description
Value
name1
164 characters
Mode
GPON ONU interface mode
Usage Guidelines
The following ONU types are supported:
l
l
l
l
l
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure an ONU type name:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#type ZTE-F640
ZXAN(config-if)#
Related Commands
None
15.3.34 vport
Syntax
vport number1 [name name1 ] [map-type name2 ]
no vport number1
Function
This command creates an ONU VPORT.
Parameters
Parameter
Description
Value
number1
Bridge port ID
1256
name1
VPORT name
164 characters
name2
Mapping type
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
15-112
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create VPORT 1 with the mapping type of COS:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#vport 1 name vport map-type cos
ZXAN(config-if)#
Related Commands
None
15.3.35 vport-map
Syntax
vport-map number1 number2 [{[vlan number3 ] [cos number4 ] } ]
no vport-map number1 number2 [{[vlan number3 ] [cos number4 ] } ]
Function
This command creates the mapping relation between a VPORT and a GEM port.
Parameters
Parameter
Description
Value
number1
VPORT ID
1256
number2
GEM port ID
1255
number3
VLAN ID
14094
number4
COS priority
07
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to creates the mapping relation between VPORT 1 and
GEM port 1:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#vport-map 1 1 vlan 200 cos 1
ZXAN(config-if)#
15-113
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.3.36 vport-mode
Syntax
vport-mode {onu |gemport |manual } [def-map-type name1 ]
Function
This command configures the ONU VPORT mode.
Parameters
Parameter
Description
Value
onu
ONU mode
gemport
manual
Manual mode
name1
Mode
GPON line configuration mode, GPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to set the ONU VPORT mode to ONU mode:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)#vport-mode onu
ZXAN(config-if)#
Related Commands
None
15-114
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the Optical Network Unit (ONU) auto shutdown function.
Parameters
Parameter
Description
Value
number1
6086400
1586400
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU auto shutdown function:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#auto-shutdown
Related Commands
None
15.4.2 broadcast-limit
Syntax
broadcast-limit {cpu |ethuni name1 } number1
no broadcast-limit {cpu |ethuni name1 }
15-115
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU multicast packet rate limiting.
Parameters
Parameter
Description
Value
cpu
CPU
name1
131 characters
number1
14294967295
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the ONU multicast packet rate limiting:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#broadcast-limit ethuni eth_0/1 1000
Related Commands
None
15.4.3 cfm ma
Syntax
cfm ma number1 number2 {[name {primary-vid |integer number3 |vpn-id name1 |name2 } ] [vlan
name3 ] [mhf-creation name4 ] [senderid name5 ] [ccm {disable |interval name6 } ] }
no cfm ma number1 number2
Function
This command configures ONU Maintenance Association (MA) properties.
Parameters
Parameter
Description
Value
number1
MD ID.
116
number2
132
15-116
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
primary-vid
number3
065535
name1
145 characters
name3
name5
none, defer
disable
name6
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Before configuring ONU MA properties, use the ZXAN(gpon-onu-mng)#cfm md command
to create the MD properties first.
Examples
The following example shows how to configure ONU MA properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#cfm ma 1 1 ccm interval 100ms
Related Commands
None
15.4.4 cfm md
Syntax
cfm md number1 {[name {dns name1 |mac name2 |icc-based name3 |name4 } ] [level number2 ]
[mhf-creation name5 ] [senderid name6 ] }
no cfm md number1
15-117
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU Maintenance Domain (MD) properties.
Parameters
Parameter
Description
Value
number1
MD ID
116
name1
145 characters
19 characters
aabb.ccdd.eeff:xxyy
name3
13 characters
allocated UMC ID
name4
145 characters
number2
MD level
07
name5
name6
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure ONU MD properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#cfm md 1 level 2
Related Commands
None
soak-time number7 ] } |{[ccm name4 ] [server name5 ] [direction name6 ] [state name7 ] [priority
number8 ] [rmep name8 ] [egress-id {default |name9 } ] [primary-vlan {from-ma |number9 } ] } }
no cfm mep number1 number2
Function
This command creates a Maintenance association End Point (MEP) that is correlated with
an ONU Ethernet user port.
Parameters
Parameter
Description
Value
number1
MD ID.
116
number2
MA ID.
132
name1
131 characters
number3
MEP ID.
18191
disable
enable
name2
Sending period.
number4
Priority.
07
number5
07
alarm
Alarm.
name3
number6
2501000
unit: 10 ms.
number7
2501000
10 ms.
name4
server.
name6
Direction.
upstream, downstream
name7
State.
lock, unlock
number8
Priority.
07
name8
MEP ID list.
164 characters
default
name9
Egress ID.
119 characters
15-119
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
from-ma
number9
Primary VLAN ID
14094
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Because the MEP is correlated with a bridge port, a UNI bridge port must already exists.
Before creating a MEP, use the ZXAN(gpon-onu-mng)#cfm ma and ZXAN(gpon-onu-mn
g)#cfm md commands to create an MA and an MD first.
Examples
The following example shows how to configure an MEP (MEP ID 111) that is correlated
with bridge port eth_0/1:
ZXAN(gpon-onu-mng)#cfm mep 1 1 ethuni eth_0/1 111
The following example shows how to modify the MEP parameters, setting the MEP to
generate CCM, administrative state to unlock, and peer MEP ID to 222:
ZXAN(gpon-onu-mng)#cfm mep 1 1 ccm enable state unlock rmep 222
Related Commands
None
15.4.6 dhcp-ip
Syntax
dhcp-ip ethuni name1 {name2 }
Function
This command configures Dynamic Host Configuration Protocol (DHCP) IP address
obtaining control on an Ethernet user port.
15-120
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
name2
forbidden
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
When the DHCP server is enabled for the ONU and the device under the Ethernet user
port obtains the IP address in DHCP mode, the IP address is processed in accordance
with the configured IP address obtaining control mode.
Examples
The following example shows how to configure the Ethernet user port eth_0/1 to obtain an
IP address from the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#dhcp-ip ethuni eth_0/1 from-onu
Related Commands
None
15.4.7 dhcp-option60
Syntax
dhcp-option60 {enable name1 |disable }
Function
This command configures the ONU DHCP option 60 function.
Parameters
Parameter
Description
Value
enable
name1
Vendor ID.
1128 characters
disable
15-121
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the DHCP option 60 function:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#dhcp-option60 enable 123456
Related Commands
None
15.4.8 dot1p-map
Syntax
dot1p-map [flow number1 ] [{[unmark-option name1 ] [{dscp2prio name2 |ipp2prio name3 |tos
2prio name4 } ] [def-priority number2 ] } ]
Function
This command configures the mapping properties of 802.1p service priorities.
Parameters
Parameter
Description
Value
number1
1255
name1
name2
802.1p priorities.
range: 063
range: 07
priority 0.
15-122
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name3
802.1p priorities.
07
range: 07
priority 0.
name4
802.1p priorities.
range: 015
range: 07
priority 0.
number2
Default priority.
07
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the mapping mode of 802.1p service
priorities to default:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#dot1p-map flow 2 unmark-option defprio
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.9 dot1x
Syntax
dot1x [cid-prefix name1 ] [fallback name2 ] [auth-server1 name3 ] [shared-secret1 name4 ] [a
uth-server2 name5 ] [shared-secret2 name6 ] [auth-server3 name7 ] [shared-secret3 name8 ]
[proxy ip_addr1 ]
no dot1x [{[cid-prefix ] [auth-server1 ] [shared-secret1 ] [auth-server2 ] [shared-secret2 ] [aut
h-server3 ] [shared-secret3 ] [proxy ] } ]
Function
This command configures ONU 802.1x properties.
15-123
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Circuit ID prefix
1128 characters
name2
allow, deny
1128 characters
name4
125 characters
name5
1128 characters
name6
125 characters
name7
1128 characters
name8
125 characters
ip_addr1
cid-prefix
Circuit ID prefix
auth-server1
shared-secret1
auth-server2
shared-secret2
auth-server3
shared-secret3
proxy
Proxy server
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure ONU 802.1x properties:
ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1
ZXAN(gpon-onu-mng)#dot1x fallback allow
Related Commands
None
15-124
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures 802.1x properties of an ONU Ethernet User Network Interface
(UNI).
Parameters
Parameter
Description
Value
name1
131 characters
name2
name3
name4
Upstream and
downstream,
downstream
number1
065535
number2
065535
default: 30.
name5
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the 802.1x properties of ONU Ethernet port
eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#dot1x ethuni eth_0/1 auth enable key-tx enable
Related Commands
None
15-125
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.11 equip-mgmt
Syntax
equip-mgmt {battery-backup name1 |state name2 |sec-mode name3 }
Function
This command configures ONU properties.
Parameters
Parameter
Description
Value
name1
true, false
battery.
name2
lock, unlock
name3
Encryption mode.
AES, null
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU to support a secondary battery:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#equip-mgmt battery-backup true
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.12 ex-vlan
Syntax
ex-vlan {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 } [{[input-tpid
hexadecimal1 ] [output-tpid hexadecimal2 ] [down-mode name3 ] [dscp2pbit name4 ] } ]
no ex-vlan {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 }
Function
This command configures ONU extended VLAN properties.
15-126
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
switchport
name1
131 characters
number1
Service flow ID
1255
number2
1255
name2
131 characters
hexadecimal1
no-operation,
inverse-upstream
name4
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure ONU extended VLAN properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#ex-vlan ethuni eth_0/1 input-tpid 0x9100
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.13 ex-vlan-table
Syntax
ex-vlan-table {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 } rule name3
treat name4
no ex-vlan-table {[switchport ] ethuni name1 |flow number1 |veip number2 |wifi name2 } rule
name3
15-127
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the extended VLAN mapping items of an ONU.
Parameters
Parameter
Description
Value
switchport
name1
131 characters
number1
Service flow ID
1255
number2
1255
name2
131 characters
name3
164 characters
name4
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Before configuring the extended VLAN mapping items of an ONU, use the ZXAN(configgpon)#onu profile filter-rule and ZXAN(config-gpon)#onu profile trea commands to create
the corresponding profiles.
Examples
The following example shows how to configure the extended VLAN mapping items of an
ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#ex-vlan-table ethuni eth_0/1 rule single-tag-vid100
treat add-outer-vid200
ZXAN(gpon-onu-mng)#
Related Commands
15.1.7 onu profile filter-rule double-tag
15.1.8 onu profile filter-rule single-tag
15.1.9 onu profile filter-rule zero-tag
15.1.24 onu profile treat
15-128
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.14 firewall
Syntax
firewall {disable |enable [{[level name1 ] [anti-hack name2 ] } ] }
Function
This command configures the firewall level and anti-hack function of an ONU.
Parameters
Parameter
Description
Value
disable
enable
name1
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable the firewall function for an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#firewall enable
Related Commands
None
15-129
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the firewall IP filtering parameters of an ONU.
Parameters
Parameter
Description
Value
number1
1255
name1
name2
Filtering mode.
permit, discard
name3
Protocol type.
ip_addr1
default: 0.0.0.0.
ip_addr2
default: 0.0.0.0.
number2
165535
number3
165535
ip_addr3
default: 0.0.0.0.
ip_addr4
default: 0.0.0.0.
number4
165535
number5
165535
lan
number6
1255
name4
131 characters
eth_slot/port.
number7
1255
name5
131 characters
eth_slot/port.
src-ip
Source IP address.
src-port
dst-ip
Destination IP address.
dst-port
ingress
Ingress.
egress
Egress.
15-130
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the firewall IP filtering parameters of an
ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#firewall ip-filter 1 egress ethuni eth_0/1
Related Commands
None
Function
This command configures the firewall MAC filtering parameters of an ONU.
Parameters
Parameter
Description
Value
number1
1255
hexadecimal1
name1
Filtering direction.
name2
Filtering protocol
IP, all
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Before configuring the firewall MAC filtering parameters of an ONU, use the ZXAN(gpononu-mng)#firewall mac-filter-table command to configure the firewall MAC filtering table.
15-131
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the firewall MAC filtering parameters of an
ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#firewall mac-filter 1 1111.1111.1111 protocol all
Related Commands
15.4.17 firewall mac-filter-table
Function
This command configures the firewall MAC filtering state and mode of an ONU.
Parameters
Parameter
Description
Value
name1
filtering.
name2
Filtering mode.
permit, discard
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the firewall MAC filtering state and mode
of an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#firewall mac-filter-table mode permit
Related Commands
None
15-132
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures firewall port forward filtering parameters.
Parameters
Parameter
Description
Value
number1
1255
name1
filtering.
number2
name2
Filtering protocol.
1255
TCP, UDP,
TCP-UDP
ip_addr1
0.0.0.0.
ip_addr2
0.0.0.0.
number3
165535
number4
165535
hexadecimal1
XXXX.XXXX.XXXX.
ip_addr3
LAN IP address.
number5
165535
number6
165535
number7
1255
wan-ip
WAN IP address.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
15-133
SJ-20130118100307-010|2013-02-28 (R1.0)
Before configuring firewall port forward filtering parameters, configure the LAN IP address
or LAN MAC address.
Examples
The following example shows how to configure firewall port forward filtering parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#firewall port-forward 1 iphost 1 lan-mac 1111.1111.1111
Related Commands
None
15.4.19 flow
Syntax
flow number1 {{[priority number2 ] [vid number3 ] } |[{switch name1 |ethuni name2 |ethflow
number4 |iphost number5 |downMulticast name3 } ] }
no flow number1 [priority number2 vid number3 ]
Function
This command configures or adds the Tag Control Information (TCI) items corresponding
to service flows.
Parameters
Parameter
Description
Value
number1
Flow ID.
1255
number2
07
number3
14094
name1
131 characters
131 characters
165535
15-134
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number5
1255
131 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an upstream flow switched through layer 2
and with the VLAN ID of 100:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#flow 1 vid 100
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command configures the flow matching mode.
Parameters
Parameter
Description
Value
number1
Flow ID
1255
name1
name2
transparent, discard
15-135
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
The default matching mode tagged frames is vid-match.
The default matching mode untagged frames is discard.
Examples
The following example shows how to set the matching mode of flow 1 as follows:
l
l
l
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#flow mode 1 tag-filter vid-match untag-filter
discard
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.21 gemport
Syntax
gemport number1 [{traffic-limit [downstream name1 ] [upstream name2 ] |{[flow number2 ] [do
t1p-list name3 ] } |{[up-queue-map name4 ] [down-queue number3 [uni name5 ] ] } |loop name6
}]
no gemport number1 [traffic-limit {downstream |upstream |all } ]
Function
This command configures a GEM port connection that is correlated with the flow and
802.1p priority, configures ONU GEM port upstream priority queue mapping, downstream
queues and UNI, and configures ONU GEM port rate limiting.
Parameters
Parameter
Description
Value
number1
1255
traffic-limit
name1
Parameter
Description
Value
name2
1255
name3
1128 characters
07
131 characters
name6
downstream
upstream
all
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the correlation between flow 1 and GEM
port 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#gemport 1 flow 1
ZXAN(gpon-onu-mng)#
The following example shows how to map upstream priorities 07 to queue 3, and map
downstream priorities to queue 4 on port eth_0/1:
ZXAN(gpon-onu-mng)#gemport 1 up-queue-map 0-7:3 down-queue 4 uni eth_0/1
ZXAN(gpon-onu-mng)#
The following example shows how to set upstream GEM port rate limiting to 100 Mbps:
15-137
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.4.22 igmp
Syntax
igmp name1 [{[max-groups number1 ] [max-bandwidth number2 ] [bandwidth-enforce name2 ]
[profile name3 ] } ]
no igmp name1 [{[max-groups ] [max-bandwidth ] [profile ] } ]
Function
This command configures the ONU multicast function.
Parameters
Parameter
Description
Value
name1
131 characters
veip_port.
number1
165535
number2
14294967295
Kbps.
name2
name3
164 characters
max-groups
max-bandwidth
profile
IGMP profile.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the ONU multicast function for Ethernet
port eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
15-138
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the ONU multicast monitoring function.
Parameters
Parameter
Description
Value
name1
131 characters
veip_port.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the ONU multicast monitoring function for
Ethernet port eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#igmp monitor eth_0/1
Related Commands
None
15-139
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures properties of a CES user port.
Parameters
Parameter
Description
Value
name1
131 characters
name2
lock, unlock
number1
0255
name3
Loop-back control
extendedsuper
unframe
name5
Encoding mechanism
number2
Cable length
0255
name6
DS1 mode
number3
Alarm suppression
01
name4
l
number4
1: suppressed
0255
minutes
name7
Line type
3plcp, ds3cbitparity,
ds3clearchannel, ds3m23,
ds3syntran, e3framed, other
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
15-140
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
name1
131 characters
name2
lock, unlock
number1
Alarm suppression
01
number2
1: suppressed.
0255
0255
name3
name4
number4
648192
number5
065535
Cable type.
dce, dte
name6
layer 3 IP mode.
15-141
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name7
name8
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the state of an Ethernet user port to lock:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)# interface eth eth_0/1 state lock
Related Commands
None
Function
This command configures the Bit Error Rate (BER) thresholds of SFi/SF alarms and SDi/SF
alarms on the Passive Optical Network (PON) port.
15-142
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
temp-threshold
module.
name2
-127 to 127
-127 to 127
name4
0131 mA
0131 mA
name6
06.56 V
granularity: 0.02 V.
name7
06.56 V
granularity: 0.02 V.
number1
065535
number2
38
number3
410
rx-optical-threshold
ont-internal-policy
name8
name10
15-143
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
disable
number4
0255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
The BER threshold unit is dB. For example, 3 indicates -3 dB.
Examples
The following example shows how to set the thresholds of SFi/SF alarms and SDi/SF
alarms on the PON port to -4 dB and -8 dB:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#interface pon pon_0/1 sf-threshold 4 sd-threshold 8
Related Commands
None
Function
This command configures properties of a Plain Old Telephone Service (POTS) user port.
Parameters
Parameter
Description
Value
name1
131 characters
name2
lock, unlock
number1
Alarm suppression
01
1: suppressed
15-144
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
0255
Impedance, default: 0
04
name3
fulltimeOnHook,
parttimeOnHook
name4
-12.0 dB to 6.0 dB
default: 0
name5
-12.0 dB to 6.0 dB
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the impedance of a POTS user port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#interface pots pots_0/1 impedance 4
Related Commands
None
Function
This command configures properties of a video port.
Parameters
Parameter
Description
Value
name1
131 characters
name2
lock, unlock
15-145
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number1
Alarm suppression
01
1: suppressed
number2
0255
name3
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the state of a video port to lock:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#interface video video_0/1 state lock
Related Commands
None
Function
This command configures properties of a video ANI port.
Parameters
Parameter
Description
Value
name1
lock, unlock
number1
Alarm suppression.
01
1: suppressed.
15-146
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
0255
number3
04294967295
name2
dB.
name3
dB.
disable
Disables AGC.
broadband
optical
Optical power.
name4
-12.8 dB to 12.7 dB
0.1 dB.
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the state of a video ANI port to lock:
ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1
ZXAN(gpon-onu-mng)#interface video-ani state lock
Related Commands
None
Function
This command configures the properties of a Wireless Fidelity (WiFi) port.
15-147
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
name2
lock, unlock
number1
Alarm suppression
01
number2
1: suppressed
0255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the properties of a WiFi port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#interface wifi wifi_0/1 arc 0 arc-interval 255 state unlock
Related Commands
None
15.4.31 ip route
Syntax
ip route ip_addr1 ip_addr2 {[ip_addr3 ] [output-port number1 ] }
no ip route ip_addr1 ip_addr2
Function
This command creates an ONU static route.
Parameters
Parameter
Description
Value
ip_addr1
Subnet ID
ip_addr2
Subnet mask
15-148
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr3
Next-hop IP address
number1
Output port
1255
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to route the packets that are sent to network 131.108.0.0
to the router whose address is 131.108.6.6:
ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1
ZXAN(gpon-onu-mng)#ip route 131.108.0.0 255.255.0.0 131.108.6.6
Related Commands
None
15.4.32 ip-host
Syntax
ip-host number1 {dhcp-enable name1 ping-response name2 traceroute-response name3 [ipsta
ck-enable name4 ] |id name5 |ip ip_addr1 mask ip_addr2 [gateway ip_addr3 ] |primary-dns
ip_addr4 [second-dns ip_addr5 ] }
no ip-host number1
Function
This command configures the Domain Name Server (DNS) for an ONU host.
Parameters
Parameter
Description
Value
number1
IP host ID
1255
name1
DHCP
true, false
name2
Ping response
true, false
name3
Trace response
true, false
name4
IP stack
true, false
name5
125 characters
15-149
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
IP mask
ip_addr3
IP gateway address
ip_addr4
ip_addr5
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the DNS for an ONU host:
ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1
ZXAN(gpon-onu-mng)#ip-host 1 primary-dns 192.168.1.1 second-dns 192.168.1.10
Related Commands
None
15.4.33 ip-service-map
Syntax
ip-service-map number1 host number2
no ip-service-map number1
Function
This command configures the mapping relation between an IP address and a service.
Parameters
Parameter
Description
Value
number1
Service ID
124
host
Host
number2
Host ID
1255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
15-150
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the mapping relation between an IP
address and a service:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#ip-service-map 1 host 1
Related Commands
None
15.4.34 lct
Syntax
lct {disable |enable }
Function
This command configures the Local Craft Terminal (LCT) function for an ONU.
Parameters
Parameter
Description
Value
disable
enable
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable LCT for an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#lct enable
Related Commands
None
15-151
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.35 loop-detect
Syntax
loop-detect ethuni name1 name2
Function
This command configures the loop-back detection function for an ONU UNI.
Parameters
Parameter
Description
Value
name1
131 characters
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable loop-back detection for ONU UNI eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#loop-detect ethuni eth_0/1 enable
Related Commands
None
15.4.36 loopback
Syntax
loopback
no loopback
Function
This command enables ONU port loop-back.
Parameters
None
15-152
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable loop-back for port gpon-onu_1/3/1:1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#loopback
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.37 mac-filter
Syntax
mac-filter {ethuni name1 |flow number1 |iphost number2 } hexadecimal1 name2 [name3 ]
no mac-filter {ethuni name1 |flow number1 |iphost number2 } hexadecimal1
Function
This command creates MAC address filtering items on a user port.
Parameters
Parameter
Description
Value
name1
131 characters
number1
Flow ID.
1255
number2
IP host ID.
1255
hexadecimal1
name2
name3
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
15-153
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create MAC address filtering items of the IP host on
an ONU to discard the filtered packets:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mac-filter iphost 1 0000.0000.1111 discard
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.38 me-access
Syntax
me-access number1 number2 number3 number4 [name1 ]
Function
This command manually sets up a ONT Management Control Interface (OMCI) message
and sends it to the ONU.
Parameters
Parameter
Description
Value
number1
Trans ID
165535
number2
Message type
0255
number3
ME type
065535
number4
ME ID
065535
name1
Message content
095 characters
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to set up a message with the ME of 65528 and ME ID
of 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#me-access 6 72 65528 1 08,00,00,00,00,3c
15-154
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.4.39 mgc
Syntax
mgc number1 [{{[heart-beat name1 ] [rtp-link-detect name2 ] [num-match-shortest name3 ] [d
igit-map long-timer number2 short-timer number3 start-timer number4 ] [heart-beat-interval
number5 ] [min-rereg-timer number6 max-rereg-timer number7 ] [regmsg-retran-timer numbe
r8 total-retran-time number9 ] [port number10 [host number11 ] ] [version number12 ] [msg-fo
rmat name4 ] [max-retry-time number13 ] [max-retry-attempts number14 ] [service-change-de
lay number15 ] [terminal-id name5 ] [user-tid {default prefix name6 |prefix name7 [postfix-len
number16 ] postfix-start number17 } ] [rtp-tid {default |prefix name8 [postfix-len number18 ]
postfix-start number19 } ] [domain name9 ] [ss-vendor name10 ] } |{[{server1 |server2 } name11
[validate {disable |basic username name12 password name13 |md5 username name14 password
name15 [realm name16 ] } ] ] } } ]
no mgc number1 [{[server1 ] [server2 ] [terminal-id ] [ss-vendor ] } ]
Function
This command creates a Media Gateway Controller (MGC) and correlates it with a TCP
or UDP port.
Parameters
Parameter
Description
Value
number1
MGC ID.
165535
name1
Heartbeat mode.
name2
name3
number2
200060000
200060000
default: 5000.
number4
200060000
default: 10000.
number5
10000600000
number6
0500000
number7
0500000
15-155
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number8
10050000
unit: ms.
number9
10050000
number10
165535
number11
IP host ID.
1255
number12
1255
name4
Message format.
text-long, text-short,
binary
number13
165535
number14
165535
number15
165535
seconds.
name5
125 characters
default
name6
125 characters
name7
1128 characters
number16
17
number17
09
name8
18 characters
number18
17
number19
09
name9
1128 characters
name10
14 characters
server1
server2
name11
1128 characters
a URL address.
disable
Disables authentication.
basic
name12
User name.
125 characters
name13
Password.
125 characters
md5
name14
User name.
125 characters
name15
Password.
125 characters
15-156
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name16
Domain name.
125 characters
terminal-id
ss-vendor
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to creates an MGC:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mgc 1 server1 10.64.196.254
validate basic username zte password zte
Related Commands
None
15.4.40 mgc-service
Syntax
mgc-service name1 profile name2 [signal name3 ] [media-profile name4 ]
no mgc-service name1
Function
This command configures the POTS MGC service when the VoIP protocol is H.248 or
MGCP.
Parameters
Parameter
Description
Value
name1
131 characters
name2
164 characters
name3
Signaling encoding
name4
164 characters
15-157
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
This service can be configured when the VoIP protocol is H.248 or MGCP, and the
correlated MGC profile needs to be created first.
Examples
The following example shows how to configure the POTS SIP service:
ZXAN(gpon-onu-mng)#mgc-service pots_0/1 profile test1
Related Commands
None
15.4.41 mgmt-ip
Syntax
mgmt-ip ip_addr1 ip_addr2 (vlan number1 )[svlan number2 ](priority number3 )(route ip_addr3
ip_addr4 ip_addr5 )[host number1 ]
Function
This command configures the management IP address of a GPON ONU.
Parameters
Parameter
Description
Value
ip_addr1
ONU IP address
ip_addr2
number1
VLAN SN
14094
number2
SVLAN SN
14094
number3
Priority
07
ip_addr3
ip_addr4
ip_addr5
Next-hop address
number1
IP host ID
1255
Mode
GPON ONU MNG mode
15-158
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The ONU IP address and remote host IP address cannot be in the same network segment
as the ONU LAN IP address (192.168.1.1/255.255.255.0 by default).
If the ONU has a WAN connection, the ONU IP address and the remote host IP address
cannot be in the same network segment as the WAN connection IP address.
The VLAN cannot be the same as that used by the ONU.
Examples
The following example shows how to configure the IP address of ONU 1 under OLT
interface 1 in sot 3 of shelf 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mgmt-ip onu-ip 172.168.1.122 255.255.0.0 3 300 route
172.168.1.10 255.255.0.0 172.168.1.250
Related Commands
show remote onu mgmt-ip
Function
This command configures auto assignment of management IP addresses from the address
pool by an ONU.
Parameters
Parameter
Description
Value
number1
IP host ID
1255
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure auto assignment of management IP
addresses from the address pool by an ONU:
15-159
SJ-20130118100307-010|2013-02-28 (R1.0)
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mgmt-ip auto-assign host 1
Related Commands
ZXAN(config-pon)#ip-pool
ZXAN(config-pon)#ip-pool-bind
Function
This command releases the management IP address of an ONU.
Parameters
None
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to release the management IP address of an ONU:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mgmt-ip release
Related Commands
None
15.4.44 mirror
Syntax
mirror ethuni name1 gemport number1 direction name2
no mirror ethuni name1
15-160
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the ONU mirroring function.
Parameters
Parameter
Description
Value
name1
131 characters
number1
GEM port ID
1255
name2
Mirroring direction
upstream, downstream,
upstream and downstream
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure mirroring between ONU eth_0/1 and GEM
port 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#mirror ethuni eth_0/1 gemport 1 direction both
Related Commands
None
Function
This command configures the GPON ONU multicast VLAN.
Parameters
Parameter
Description
Value
clear
add
15-161
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
delete
name1
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
This command can be used only when the multicast mode is IGMP snooping.
When the action is clear, the vlanlist parameter does not need to be configured, which
indicates to clear all the multicast VLANs under the port.
When the action is add or delete, the vlanlist parameter must be configured.
Examples
The following example shows how to configure the multicast VLAN for ONU 1 under OLT
interface 1 in slot 3 of shelf 0:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#multicast vlan add vlanlist 1,3,5-8
Related Commands
None
Function
This command configures downstream multicast VLAN tag removing and VLAN translation
under the GPON ONU UNI.
Parameters
Parameter
Description
Value
name1
131 characters
enable
removing.
15-162
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
disable
removing.
translate
name2
1255 characters
format: mcVlan:userVlan.
One multicast VLAN and one user VLAN forms a
group, and up to six groups can be configured. The
multicast VLAN and user VLAN are separated by a
colon, and the groups are separated by commas.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable multicast VLAN tag removing for Ethernet
port 1 of ONU 1 under OLT interface 1 in slot 3 of shelf 0:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#multicast vlan tag-strip port eth_0/1 enable
Related Commands
None
15.4.47 onu-vlan
Syntax
onu-vlan {ethuni name1 |iphost number1 |wifi name2 } [{[up-mode name3 ] [up-prio number2
up-vid number3 ] [down-mode name4 ] } ]
no onu-vlan {ethuni name5 |iphost number1 |wifi name2 }
Function
This command configures the ONT VLAN properties.
15-163
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
number1
IP host ID
1-255
name2
131 characters
name3
Upstream mode
transparent, overwrite,
add, add-pvid
number2
Upstream priority
07
number3
Upstream VLAN ID
14094
name4
Downstream mode
transparent, untag,
delete-pvid
name5
131 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the ONT VLAN properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#onu-vlan ethuni eth_0/1 up-mode transparent down-mode untag
Related Commands
None
15.4.48 password
Syntax
password name1
Function
This command configures the ONU password.
Parameters
Parameter
Description
Value
name1
Password
110 characters
15-164
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to set the ONU password to zte:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#password zte
Related Commands
None
Function
This command configures the ONU call control performance statistics.
Parameters
Parameter
Description
Value
name1
131 characters
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU call control performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance call-ctrl pots_0/1 start
15-165
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures 802.1x performance statistics for an ONU Ethernet UNI.
Parameters
Parameter
Description
Value
name1
131 characters
start
name2
164 characters
stop
name3
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to start 802.1x performance statistics for an ONU
Ethernet UNI:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance dot1x ethuni eth_0/1 start
Related Commands
15.1.14 onu profile performance-threshold dot1x
15-166
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU Ethernet performance statistics.
Parameters
Parameter
Description
Value
detailed
Statistics type.
downstream
upstream
name1
131 characters
start
name2
164 characters
stop
name3
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU Ethernet performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance ethuni upstream eth_0/1 start
Related Commands
15.1.15 onu profile performance-threshold ethuni
15-167
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU FEC performance statistics.
Parameters
Parameter
Description
Value
name1
statistics.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU FEC performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance fec start
Related Commands
None
Function
This command configures ONU service flow performance statistics.
15-168
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Service flow ID
1255
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU service flow performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance flow 1 start
Related Commands
None
Function
This command configures ONU GEM adaptation layer (GAL) performance statistics.
Parameters
Parameter
Description
Value
number1
GEM port ID
1255
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
15-169
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to start ONU GAL performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance gal-eth 1 start
Related Commands
None
Function
This command configures ONU GEM port performance statistics.
Parameters
Parameter
Description
Value
number1
GEM port ID
1255
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU GEM port performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance gem 1 start
Related Commands
None
15-170
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU IP host performance statistics.
Parameters
Parameter
Description
Value
number1
IP host ID
1255
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU IP host performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance iphost 1 start
Related Commands
None
Function
This command configures ONU MGC performance statistics.
15-171
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
MGC ID
165535
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU MGC performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance mgc 1 start
Related Commands
None
Function
This command configures ONU multicast performance statistics.
Parameters
Parameter
Description
Value
name1
131 characters
number1
VLAN ID
14095
start
stop
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
15-172
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to start ONU multicast performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance multicast ethuni eth_0/1 start
Related Commands
None
15.4.59 performance pw
Syntax
performance pw name1 name2
Function
This command configures ONU virtual circuit performance statistics.
Parameters
Parameter
Description
Value
name1
131 characters
name2
Mode
GPON remote ONU configuration mode or GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU virtual circuit performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance pw ces_0/1 start
Related Commands
None
15-173
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU Remote Authentication Dial In User Service (RADIUS)
performance statistics.
Parameters
Parameter
Description
Value
start
name1
164 characters
stop
name2
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU RADIUS performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance radius start
Related Commands
15.1.17 onu profile performance-threshold radius
Function
This command configures ONU RTP performance statistics.
Parameters
Parameter
Description
Value
name1
131 characters
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU RTP performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance rtp pots_0/1 start
Related Commands
None
Function
This command configures ONU SIP agent performance statistics.
Parameters
Parameter
Description
Value
number1
SIP client
1255
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
15-175
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to start ONU SIP performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance sip-agent 1 start
Related Commands
None
Function
This command configures performance statistics for ONU SIP call initiation.
Parameters
Parameter
Description
Value
number1
SIP client
1255
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure performance statistics for ONU SIP call
initiation:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance sip-call-init 1 start
Related Commands
None
15-176
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU bridge port performance statistics.
Parameters
Parameter
Description
Value
name1
131 characters
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU bridge port performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance switch switch_0/1 start
Related Commands
None
Function
This command configures performance statistics for an ONU UNI bridge port.
15-177
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start performance statistics for an ONU UNI bridge
port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance switchport ethuni eth_0/1 start
Related Commands
None
Function
This command configures performance statistics for an IP host bridge port.
Parameters
Parameter
Description
Value
number1
Host ID
1255
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
15-178
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
name1
131 characters
number1
VLAN ID
14095
start
name2
164 characters
stop
name3
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start ONU VLAN performance statistics:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
15-179
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command starts or stops global performance statistics for the GPON ONU voice
quality.
Parameters
Parameter
Description
Value
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start global performance statistics for the voice quality
of gpon-onu_0/3/1:1:
ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1
ZXAN(gpon-onu-mng)#performance voice start
Related Commands
None
15-180
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command starts or stops voice quality performance statistics for a GPON ONU voice
port.
Parameters
Parameter
Description
Value
name1
131 characters
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start voice quality performance statistics for voice
port pots_0/1 of gpon-onu_1/3/1:1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#performance voice pots pots_0/1 start
Related Commands
None
15.4.70 pkt-filter
Syntax
pkt-filter {ethuni name1 |flow number1 |iphost number2 } [{[ipv4multicast name2 ] [ipv6multic
ast name3 ] [ipv4broadcast name4 ] [rarp name5 ] [ipx name6 ] [netBEUI name7 ] [appleTalk
name8 ] [bpdu name9 ] [arp name10 ] [pppoe name11 ] } ]
Function
This command configures packet filtering for a layer 2 bridge port.
Parameters
Parameter
Description
Value
name1
131 characters
number1
Flow ID.
1255
15-181
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
IP host ID.
1255
name2
name3
name4
name5
name6
name7
name8
name9
name10
name11
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure packet filtering for a layer 2 bridge port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pkt-filter ethuni eth_0/1 pppoe discard rarp
forward
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.71 pon-onu-mng
Syntax
pon-onu-mng interface1
Function
This command enters GPON or Ethernet Passive Optical Network (EPON) ONU remote
management mode.
15-182
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
epon-onu_shelf/slot/olt:onu or gpononu_shelf/slot/olt:onu
Mode
ZXAN (config)#
Usage Guidelines
Before entering remote configuration mode, register the ONU in OLT interface mode.
Examples
The following example shows how to enter remote management mode of ONU 1 under
OLT interface 1 in slot 3 of shelf 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.72 power-shedding
Syntax
power-shedding [restore-interval number1 ] [{[data {immediate |interval number2 } ] [voice {i
mmediate |interval number3 } ] [video-overlay {immediate |interval number4 } ] [video-return
{immediate |interval number5 } ] [dsl {immediate |interval number6 } ] [atm {immediate |inter
val number7 } ] [ces {immediate |interval number8 } ] [frame {immediate |interval number9 } ]
[sonet {immediate |interval number10 } ] } ]
no power-shedding {data |voice |video-overlay |video-return |dsl |atm |ces |frame |sonet |all }
Function
This command configures ONU energy conservation.
Parameters
Parameter
Description
Value
number1
065535
immediate
15-183
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
265535
seconds.
number3
265535
seconds.
number4
265535
unit: seconds.
number5
265535
unit: second.
number6
265535
seconds.
number7
265535
seconds.
number8
265535
seconds.
number9
265535
seconds.
number10
265535
unit: seconds.
data
Data service.
voice
Voice service.
video-overlay
video-return
dsl
DSL service.
atm
ATM service.
ces
CES service.
frame
Frame service.
sonet
SDH-SONET service.
all
All services.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
15-184
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure ONU energy conservation:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#power-shedding data interval 100
Related Commands
None
15.4.73 pppoe
Syntax
pppoe [{[number1 ] [nat name1 ] [mode name2 ] [connect name3 ] [release-timer {internal |num
ber2 } ] [user name4 password name5 ] } ]
no pppoe [number1 ]
Function
This command configures ONU PPPoE.
Parameters
Parameter
Description
Value
number1
Host ID.
1255
name1
name2
Authentication mode.
name3
Connection mode.
always, on-demand,
manual
internal
number2
165535
name4
User name.
125 characters
name5
Password.
125 characters
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure ONU PPPoE:
15-185
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.4.74 proto-proc
Syntax
proto-proc [ethuni name1 ] {[ctrl name2 ] [limit name3 ] }
no proto-proc [ethuni name1 ] [{[ctrl ] [limit ] } ]
Function
This command configures the ONU protocol processing policy.
Parameters
Parameter
Description
Value
name1
131 characters
name2
164 characters
name3
164 characters
ctrl
limit
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Before configuring the ONU protocol processing policy, use the ZXAN(config-pon)#onu pr
ofile proto-ctrl and ZXAN(config-pon)#onu profile proto-limit commands to create profiles.
Examples
The following example shows how to configure the protocol processing policy for port
eth_0/1 of gpon-onu_1/3/1:1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#proto-proc ethuni eth_0/1 ctrl zte limit zte
15-186
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
13.10.6 onu profile proto-ctrl
13.10.7 onu profile proto-limit
Function
This command configures ONU Ethernet port protocol filtering.
Parameters
Parameter
Description
Value
name1
131 characters
name2
name3
VLAN list.
160 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure Ethernet port protocol filtering for port
eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#protocol-filter ethuni eth_0/1 forward enable vlan 1-3
Related Commands
None
15.4.76 pw delete
Syntax
pw delete name1
15-187
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command deletes a Pseudo Wire (PW).
Parameters
Parameter
Description
Value
name1
131 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to delete a PW:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pw delete ces_0/1
Related Commands
None
15.4.77 pw optional
Syntax
pw optional name1 {[service-type name2 ] [signalling name3 ] [arc number1 arc-interval numbe
r2 ] }
Function
This command configures PW optional properties.
Parameters
Parameter
Description
Value
name1
131 characters
name2
Service type
name3
Signaling type
15-188
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number1
Alarm suppression
01
number2
1: suppressed
0255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To configure a PW, run the following commands in sequence:
pw rtp, pw ip (or pw ethernet), pw tdm, pw optional (optional)
A PW can only be created or deleted. pw delete is used to delete all the configurations of
the PW.
Examples
The following example shows how to configure PW optional properties:
ZXAN(gpon-onu-mng)#pw optional ces_0/1 service-type basic-unstructure
Related Commands
None
Function
This command creates a PW over Ethernet.
Parameters
Parameter
Description
Value
name1
131 characters
name2
131 characters
hexadecimal1
name3
Loop-back
15-189
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
hexadecimal2
bytes
hexadecimal4
four bytes
untag
Untagged mode
tag
Tagged mode
number1
Priority
07
number2
VLAN ID
14094
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how create a PW over Ethernet:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pw psn ethernet ces_0/1 dst-mac 0000.1111.2222 loop
disable tx-payload-ecid 0x00004102 tx-singalling-ecid
0x00000000 expected-payload-ecid 0x00004102
expected-signalling-ecid 0x00000000 tag-policy untag
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.79 pw psn ip
Syntax
pw psn ip name1 near-end-ip number1 [host number2 ] far-end-ip name2
Function
This command creates a PW over IP.
15-190
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
number1
065535
number2
Local IP host ID
1255
name2
1128 characters
or udp://IPaddress:port
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To configure a PW, run the following commands in sequence:
pw rtp, pw ip (or pw ethernet), pw tdm, pw optional (optional)
A PW can only be created or deleted. pw delete is used to delete all the configurations of
the PW.
Examples
The following example shows how to create a PW over IP.
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#pw psn ip ces_0/1 near-end-ip 5060 far-end-ip
udp://192.168.100.221:5000
Related Commands
None
15.4.80 pw rtp
Syntax
pw rtp name1 payload-ssrc number1 signalling-ssrc number2 payload-ptype number3 signalli
ng-ptype number4 {[expected-payload-ssrc number5 expected-signalling-ssrc number6 ] [expe
cted-payload-ptype number7 expected-signalling-ptype number8 ] [clock-reference number9 ]
[rtp-ts-mode name2 ] }
Function
This command configures PW RTP properties.
15-191
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
number1
Load SSRC
04294967295
number2
Signaling SSRC
04294967295
number3
0255
number4
0255
number5
04294967295
number6
04294967295
number7
0255
number8
0255
number9
065528
default: 1
name2
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To configure a PW, run the following commands in sequence:
pw rtp, pw ip (or pw ethernet), pw tdm, pw optional (optional)
A PW can only be created or deleted. pw delete is used to delete all the configurations of
the PW.
Examples
The following example shows how to configure PW RTP properties:
ZXAN(gpon-onu-mng)#pw rtp ces_0/1 payload-ssrc 2
payload-ptype 4 signalling-ptype 0
expected-signalling-ptype 4
signalling-ssrc 3
expected-payload-ptype 0
Related Commands
None
15-192
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.81 pw tdm
Syntax
pw tdm name1 payloadsize number1 [payload-delay number2 ] timing-mode name2 [tdm-profi
le name3 ]
Function
This command configures PW Time Division Multiplexing (TDM) properties.
Parameters
Parameter
Description
Value
name1
131 characters
number1
065535
number2
0255
name2
Timing mode
name3
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure PW TDM properties:
ZXAN(gpon-onu-mng)# pw tdm ces_0/1 payloadsize 32 timing-mode differential-timing
Related Commands
None
15.4.82 reboot
Syntax
reboot
Function
This command reboots the ONU.
15-193
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to reboot the ONU:
ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1
ZXAN(gpon-onu-mng)#reboot
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.83 restore
Syntax
restore
Function
This command restores the ONU data configured by the OLT to the factory default settings.
The OLT delivers the configuration data to the ONU again.
Parameters
None
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to restore the ONU data configured by the OLT to the
factory default settings:
15-194
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command restores the ONU data and OLT data on the ONU to the factory default
settings. The OLT delivers the configuration data to the ONU again.
Parameters
None
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to restore the ONU data and OLT data on the ONU to
the factory default settings:
ZXAN(config)#pon-onu-mng gpon-onu_0/3/1:1
ZXAN(gpon-onu-mng)#restore factory
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.85 schedule
Syntax
schedule name1 profile name2
no schedule name1 profile
15-195
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures ONU Ethernet user port scheduling, correlating the user port to
a scheduling profile.
Parameters
Parameter
Description
Value
name1
131 characters
name2
164 characters
profile
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure ONU Ethernet user port scheduling,
correlating the user port to a scheduling profile
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#schedule eth_0/1 profile test
Related Commands
None
15.4.86 security-ctrl
Syntax
security-ctrl {disable |enable psk name1 }
Function
This command configures security enhancement control.
15-196
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
disable
enable
name1
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to enable security enhancement control and set a
pre-shared key.
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#security-ctrl enable psk a1a2a3a4a5a6a7a8b1b2b3b4b5b6b7b8
Related Commands
None
15.4.87 security-mng
Syntax
security-mng number1 [{[state name1 ] [mode name2 ] [ingress-type {name3 |iphost number2 } ]
[start-src-ip ip_addr1 end-src-ip ip_addr2 ] [protocol {[web ] [ftp ] [telnet ] } ] } ]
no security-mng number1
Function
This command configures ONU security management.
Parameters
Parameter
Description
Value
number1
165535
name1
name2
name3
Ingress type.
15-197
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
Host ID.
1255
ip_addr1
ip_addr2
web
ftp
telnet
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure ONU security management:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#security-mng 1 mode permit
Related Commands
None
15.4.88 service
Syntax
service name1 [type name2 ] [{ethuni name3 |iphost number1 } ] gemport number2 [{[cos name4
] [vlan name5 [mvlan number3 ] ] |[untag ] } ]
no service name1
Function
This command configures mapping relations between the ONU PON service flows and
user ports as well as GEM ports.
Parameters
Parameter
Description
Value
name1
Service name.
132 characters
name2
Service type.
15-198
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name3
131 characters
number1
IP host ID.
1255
number2
1255
name4
132 characters
164 characters
14094
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
The service command supports creation and deletion, but does not support modification.
The service command conflicts with the flow and gemport flow commands.
Examples
The following example shows how to configure mapping relations between the ONU PON
service flows and the user port and GEM port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#service 1 gemport 1
Related Commands
None
15-199
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU auto shutdown configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU auto shutdown configuration information:
ZXAN#show gpon remote-onu auto-shutdown gpon-onu_0/3/1:1
hold-time: 60(s)
revert-time: 15(s)
ZXAN#
Related Commands
None
Function
This command shows the ONU broadcast packet rate limiting information.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
interface2
gpon-onu_shelf/slot/olt:onu
name1
131 characters
15-200
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU broadcast packet rate limiting information:
ZXAN#show gpon remote-onu broadcast-limit ethuni gpon-onu_1/3/1:1
UNI Port:
eth_0/1
Limit Rate:
100
UNI Port:
eth_0/2
Limit Rate:
100
UNI Port:
eth_0/3
Limit Rate:
100
UNI Port:
eth_0/4
Limit Rate:
100
ZXAN#
Related Commands
None
Function
This command shows VoIP call records.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
15-201
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows VoIP call records:
ZXAN(gpon-onu-mng)#show gpon remote-onu call-record gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the ONU capability.
Parameters
Parameter
interface1
Description
Value
gpon-onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU capability:
ZXAN#show gpon remote-onu capability gpon-onu_1/3/1:1
TCONT number:
GEMPort number:
32
48
15-202
SJ-20130118100307-010|2013-02-28 (R1.0)
priority controlled
IP host number:
(GE:3
FE:4)
VEIP number:
Operation Id:
N/A
N/A
ONU type:
N/A
N/A
ZXAN#
Related Commands
None
Function
This command shows the ONU CFM MA configuration information.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
MD ID
116
number2
MA ID
132
Mode
All modes except user mode
Usage Guidelines
None
15-203
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows the ONU CFM MA configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu cfm ma gpon-onu_1/3/1:1
MD index: 1
MA index: 1
Name(primary vid): 0
CCM interval:
100ms
Primary VLAN:
Normal VLANs:
MHF creation:
Sender ID:
defer
defer
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU CFM MD configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
MD ID
116
Mode
All modes except user mode
Usage Guidelines
None
15-204
SJ-20130118100307-010|2013-02-28 (R1.0)
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 Maintenance End Point (MEP) information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
MD ID
116
number2
MA ID
132
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the MEP information:
ZXAN(gpon-onu-mng)#show gpon remote-onu cfm mep gpon-onu_1/3/1:1
MD index: 1
MA index: 1
15-205
SJ-20130118100307-010|2013-02-28 (R1.0)
eth_0/1
MEP ID:
111
CCM:
enable
down
Primary VLAN:
inherit from MA
Egress identifier:
default
disable
1000 (unit:10ms)
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the DHCP IP address obtaining method of an Ethernet user port.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
15-206
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows the DHCP IP address obtaining method of an Ethernet user
port:
ZXAN#show gpon remote-onu dhcp-ip ethuni gpon-onu_1/3/1:1 eth_0/1
interface: eth_0/1
DHCP IP obtain contrl mode :no control
ZXAN#
Related Commands
None
Function
This command shows the ONU DHCP option 60 configuration.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU DHCP option 60 configuration:
ZXAN#show gpon remote-onu dhcp-option60 gpon-onu_1/3/1:1
Option60 status: disable
ZXAN#
Related Commands
None
15-207
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the 802.1p mapper configuration information.
Parameters
Parameter
Description
Value
flow
Service flow
interface1
onu_shelf/slot/olt:onu
number1
Service flow ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on the 802.1p mapper
correlated with flow 1:
ZXAN#show gpon remote-onu dot1p-map flow gpon-onu_1/3/1:1 1
Related Commands
None
Function
This command shows the ONU 802.1x configuration information.
15-208
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU 802.1x configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu dot1x gpon-onu_1/3/1:1
Circuit ID profix:
Fllback policy:
allow
Auth server1:
Share secret:
Auth server2:
Share secret:
Auth server3:
Share secret:
Proxy:
0.0.0.0
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the 802.1x configuration information on an ONU UNI.
15-209
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Ethernet port, format: eth_slot/port.
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the 802.1x configuration information on an ONU UNI:
ZXAN(gpon-onu-mng)#show gpon remote-onu dot1x ethuni gpon-onu_1/3/1:1 eth_0/1
Port:
eth_0/1
Dot1x state:
disable
Direction:
both
Quiet period:
Timeout period:
30
Key Tx state:
disable
N/A
N/A
Operate direction:
N/A
Reauth period
Reauth status:
disable
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU device information.
15-210
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU device information:
ZXAN#show gpon remote-onu equip gpon-onu_1/3/1:1
Vendor ID:
ZTEG
Version:
V3.0
SN:
ZTEG00000001
Admin status:
unlock
Battery backup:
false
Security Mode:
aes
Product code:
TotalPrioQueueNum:
28
TotalTrafficSchNum:
TrafficMgmtOption:
priority-controlled
OperState:
enable
EquipID:
F627
OMCC Version:
a0
F627
Survival time:
N/A
TotalGemPortNum:
256
SysUpTime:
ZXAN#
Related Commands
None
15-211
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the extended VLAN tag configuration information on a specified
layer 2 bridge port.
Parameters
Parameter
Description
Value
switchport
Bridge port
interface1
onu_shelf/slot/olt:onu
name1
131 characters
veip
VEIP port
interface2
onu_shelf/slot/olt:onu
number1
VEIP ID
1-255
wifi
WiFi port
interface3
onu_shelf/slot/olt:onu
WiFi port, format: wifi_slot/port
name2
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the extended VLAN tag configuration information on the
layer 2 bridge port that is correlated with Ethernet port 0/1:
ZXAN(gpon-onu-mng)#show gpon remote-onu ex-vlan ethuni gpon-onu_1/3/1:1
Uni:
eth_0/1
InputTPID:
0x8100
OutputTPID:
0x8100
DownMode:
inverse-upstream
15-212
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the extended VLAN tag configuration information on a specified
service flow.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Service flow ID
number1
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the extended VLAN tag configuration information on service
flow 1:
ZXAN(gpon-onu-mng)#show gpon remote-onu ex-vlan flow gpon-onu_1/3/1:1 1
Flow ID:
InputTPID:
0x8100
OutputTPID:
0x8100
DownMode:
inverse-upstream
ZXAN(gpon-onu-mng)#
Related Commands
None
15-213
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the extended VLAN mapping item configuration on a layer 2 bridge
port.
Parameters
Parameter
Description
Value
wifi
WiFi port
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
switchport
Bridge port
interface2
gpon-onu_shelf/slot/olt:onu
name2
131 characters
veip
VEIP port
interface3
gpon-onu_shelf/slot/olt:onu
number1
VEIP ID
1255
name3
163 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the extended VLAN mapping item configuration on the layer
2 bridge port that is correlated with Ethernet port 0/1:
ZXAN#show gpon remote-onu ex-vlan-table ethuni gpon-onu_1/3/1:1 eth_0/1
Uni:
eth_0/1
Filter:
840_5
Treat:
700_6
15-214
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the extended VLAN mapping item configuration on a specified
service flow.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
Service flow ID
1255
name1
164 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the extended VLAN mapping item configuration on a
specified service flow:
ZXAN(gpon-onu-mng)#show gpon remote-onu
ex-vlan-table flow gpon-onu_1/3/1:1 flow 1
Flow ID:
Filter:
single-tag-vid100
Treat:
add-outer-vid200
ZXAN(gpon-onu-mng)#
Related Commands
None
15-215
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU firewall configuration information.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU firewall configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu firewall gpon-onu_1/3/1:1
State:enable
Level:low
Anti-hacking protection:disable
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the IP filtering configuration information on the ONU firewall.
15-216
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
interface1
Description
Value
gpon-onu_shelf/slot/olt:onu
number1
IP filtering ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the IP filtering configuration information on the ONU firewall:
ZXAN(gpon-onu-mng)#show gpon remote-onu firewall ip-filter gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the MAC filtering configuration information on the ONU firewall.
Parameters
Parameter
interface1
Description
Value
onu_shelf/slot/olt:onu
number1
MAC filtering ID
1255
Mode
All modes except user mode
Usage Guidelines
None
15-217
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows the MAC filtering configuration information on the ONU
firewall:
ZXAN(gpon-onu-mng)#show gpon remote-onu firewall mac-filter gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the MAC filtering table configuration information on the ONU firewall.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the MAC filtering table configuration information on the ONU
firewall:
ZXAN(gpon-onu-mng)#show gpon remote-onu firewall
mac-filter-table gpon-onu_1/3/1:1
State:disable
Mode:permit
ZXAN(gpon-onu-mng)#
Related Commands
None
15-218
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the forward filtering configuration information on the ONU firewall.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Forward port ID
number1
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the forward filtering configuration information on the ONU
firewall:
ZXAN(gpon-onu-mng)#show gpon remote-onu firewall port-forward gpon-onu_1/3/1:1
ID:
State:
disable
IP Host: 1
Protocol:tcp
WAN IP:
not filter
WAN port:1-65535
LAN
MAC:1111.1111.1111
LAN port:1-65535
ZXAN(gpon-onu-mng)#
Related Commands
None
15-219
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the flow information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Service flow ID
number1
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the flow information on ONU 1 under port 1 in slot 3 of shelf
0:
ZXAN(config)#show gpon remote-onu flow gpon-onu_1/3/1:1
Flow ID:
Interface:
switch_0/1
Tag filter:
transparent
Untag filter
transparent
Flow ID:
255
Interface:
Tag filter:
vid-filter
Untag filter
discard
Related Commands
None
Function
This command shows the GEM port information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
traffic-limit
queue-map
number1
GEM port ID
1256
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the GEM port information:
ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_1/3/1:1 1
Gemport:
Traffic limit:
ZXAN(gpon-onu-mng)#show gpon remote-onu gemport gpon-onu_0/3/1:1 queue-map 1
Gemport ID:
UNI name:
eth_0/1
Related Commands
None
Function
This command shows the ONU multicast configuration information.
15-221
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ethuni
Ethernet port
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
veip
VEIP port
interface2
gpon-onu_shelf/slot/olt:onu
VEIP port number
number1
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU multicast configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu igmp ethuni gpon-onu_1/3/1:1
Interface:
eth_0/1
Max-groups:
Max-bandwidth:
Bandwidth-enforce: enable
Profile:
N/A
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU multicast monitoring configuration information.
15-222
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
dynamic-group
Dynamic group
ethuni
Ethernet port
interface1
onu_shelf/slot/olt:onu
name1
131 characters
veip
VEIP port
interface2
onu_shelf/slot/olt:onu
number1
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU multicast monitoring configuration information:
ZXAN#show gpon remote-onu igmp monitor ethuni gpon-onu_1/3/1:1
Interface: eth_0/1
Current multicast bandwidth:0(kbps)
Join message counter:0
Bandwidth exceeded counter:0
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the CES user port properties.
15-223
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the CES user port properties:
ZXAN#show gpon remote-onu interface ces gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the Ethernet user port properties.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
15-224
SJ-20130118100307-010|2013-02-28 (R1.0)
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:
Arc-interval
Expect-type:
242
Speed config:
auto
Eth-loop:
disable
Max-frame:
1632
Pause-time:
Wiring :
dce
BridgeOrIP:
either
PPPOE-filter:
disable
Power-control: disable
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the PON port properties.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
15-225
SJ-20130118100307-010|2013-02-28 (R1.0)
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.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
POTS port, format: pots_slot/port
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the POTS user port properties:
ZXAN#show gpon remote-onu interface pots gpon-onu_1/3/1:1 pots_0/1
Interface:
pots_0/1
Admin status:
unlock
Operate status:N/A
HookState:
N/A
Arc:
Arc-interval:
15-226
SJ-20130118100307-010|2013-02-28 (R1.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.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the video user port properties:
ZXAN#show gpon remote-onu interface video gpon-onu_1/3/1:1
Related Commands
None
15-227
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the video ANI port properties.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the video ANI port properties:
ZXAN#show gpon remote-onu interface video-ani gpon-onu_1/3/1:1
Admin status:
unlock
Operate status:
disabled
ARC:
disabled
ARC-interval:
0(min)
noLowBand
noHighBand
Signal capability:
noCapability
N/A(dBm)
N/A(dBuV)
-30.0(dBm)
-30.0(dBm)
Pilot frequency:
0(Hz)
AGC mode:
disable
AGC setting:
N/A(dB)
15-228
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the WiFi port properties.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the WiFi port properties:
ZXAN#show gpon remote-onu interface wifi gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the ONU static route configuration information.
15-229
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU static route configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu ip route gpon-onu_1/3/1:1
subnet
subnetmask
nexthop
output-port
------------------------------------------------------------131.108.0.0
255.255.0.0
131.108.6.6
255
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the configuration information on the ONU host IP address.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
IP host ID
1255
Mode
All modes except user mode
15-230
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the configuration information on the ONU host IP address:
ZXAN#show gpon remote-onu ip-host gpon-onu_1/3/1:1 1
host id:
1;
hostName:
identify:
test;
ip:
10.1.1.1;
mask:
255.255.255.0;
gateway:
10.61.54.254;
primary DNS:
192.168.1.1;
second DNS:
192.168.1.10;
dhcp-enable:
true;
ping-response:
true;
traceroute-response:true;
mac:
00:00:00:00:00:00;
curIp:
0.0.0.0;
curMask:
0.0.0.0;
curGateway:
0.0.0.0;
curPriDNS:
0.0.0.0;
curSecDNS:
0.0.0.0;
domainName:
Related Commands
None
Function
This command shows the mapping information between an IP address and a service.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
Service ID
124
15-231
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the mapping information between an IP address and a
service:
ZXAN(gpon-onu-mng)#show gpon remote-onu ip-service-map gpon-onu_1/3/1:1
Service id:
host id:
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the configuration information on the ONU local maintenance terminal
function.
Parameters
Parameter
interface1
Description
Value
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on the ONU local maintenance
terminal function:
15-232
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the ONU LOID information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU LOID information.
ZXAN#show gpon remote-onu loid gpon-onu_1/3/1:1
Related Commands
None
15-233
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the configuration information on the ONU UNI loop detection
function.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Ethernet port, format: eth_slot/port.
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on the ONU UNI loop detection
function:
ZXAN(gpon-onu-mng)#show gpon remote-onu loop-detect ethuni gpon-onu_1/3/1:1 eth_0/1
Interface:
eth_0/1
Related Commands
None
Function
This command shows the configuration information on the ONU loop-back function.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
15-234
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on the ONU loop-back function:
ZXAN(gpon-onu-mng)#show gpon remote-onu loopback gpon-onu_1/3/1:1
Loopback status: disable
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU UNI MAC address.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU UNI MAC address:
ZXAN#show gpon remote-onu mac uni gpon-onu_1/3/1:1
15-235
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the MAC address filtering configuration information on the layer 2
bridge port.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
interface2
onu_shelf/slot/olt:onu
number1
Service flow ID
1255
interface3
onu_shelf/slot/olt:onu
number2
IP host ID
1255
hexadecimal1
MAC address
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the MAC address filtering configuration information on the
layer 2 bridge port correlated with Ethernet port 0/1:
ZXAN(gpon-onu-mng)#show gpon remote-onu mac-filter ethuni gpon-onu_1/3/1:1 eth_0/1
Interface:
eth_0/1
MAC-address:
1111.1111.1111
Filter mode:
forward
15-236
SJ-20130118100307-010|2013-02-28 (R1.0)
destination MAC
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU MGC configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
MGC IDd
165535
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU MGC configuration information:
ZXAN(config)#show gpon remote-onu mgc gpon-onu_1/3/1:1
Related Commands
None
15-237
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU mirroring configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Ethernet port, format: eth_slot/port.
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU mirroring configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu mirror ethuni gpon-onu_1/3/1:1
interface: eth_0/1
mirror gemport :
direction
both
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the configuration information on the ONU multicast VLAN.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
15-238
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on the ONU multicast VLAN:
ZXAN(gpon-onu-mng)#show gpon remote-onu multicast vlan gpon-onu_1/3/1:1
multicast vlan:
333
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU multicast VLAN stripping and translation information.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU multicast VLAN stripping and translation
information:
ZXAN(gpon-onu-mng)#show gpon remote-onu multicast vlan port gpon-onu_1/3/1:1
EthPort
Stripped
TransList
15-239
SJ-20130118100307-010|2013-02-28 (R1.0)
not-stripped
N/A
eth_0/2
not-stripped
N/A
eth_0/3
not-stripped
N/A
eth_0/4
stripped
N/A
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the VLAN configuration information on an ONU Ethernet UNI.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN configuration information on an ONU Ethernet
UNI:
ZXAN#show gpon remote-onu onu-vlan ethuni gpon-onu_1/3/1:1
Related Commands
None
15-240
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the VLAN configuration information on an ONU IP host.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
IP host ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on an ONU IP host:
ZXAN#show gpon remote-onu onu-vlan iphost gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the VLAN configuration information on an ONU WiFi port.
15-241
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN configuration information on an ONU WiFi port:
ZXAN#show gpon remote-onu onu-vlan wifi gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the ONU call control performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
15-242
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the ONU call control performance statistics data:
ZXAN#show gpon remote-onu performance call-ctrl gpon-onu_1/3/1:1
Related Commands
None
Function
This command shows the ONU CES performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU CES performance statistics data:
ZXAN#show gpon remote-onu performance cesuni gpon-onu_0/3/1:1
Related Commands
None
15-243
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU Ethernet UNI 802.1x performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU Ethernet UNI 802.1x performance statistics data:
ZXAN#show gpon remote-onu performance dot1x ethuni gpon-onu_0/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the ONU Ethernet performance statistics data.
15-244
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
history
detailed
downstream
Downstream statistics
upstream
Upstream statistics
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU Ethernet performance statistics data:
ZXAN#show gpon remote-onu performance ethuni gpon-onu_0/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the ONU FEC performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
15-245
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU FEC performance statistics data:
ZXAN#show gpon remote-onu performance fec gpon-onu_0/3/1:1
Related Commands
None
Function
This command shows the ONU service flow performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
number1
Service flow ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU service flow performance statistics data:
ZXAN#show gpon remote-onu performance flow gpon-onu_0/3/1:1 1
15-246
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the ONU GAL performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
number1
GEM port ID
1256
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU GAL performance statistics data:
ZXAN#show gpon remote-onu performance gal-eth gpon-onu_0/3/1:1 1
Related Commands
None
Function
This command shows the ONU MGC performance statistics data.
15-247
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
number1
GEM port ID
1256
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU GEM port performance statistics data:
ZXAN#show gpon remote-onu performance mgc gpon-onu_0/3/1:1 1
Related Commands
None
Function
This command shows the ONU IP host performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
onu_shelf/slot/olt:onu
number1
IP host ID
1255
Mode
All modes except user mode
15-248
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the ONU IP host performance statistics data:
ZXAN#show gpon remote-onu performance iphost gpon-onu_1/3/1:1 1
Related Commands
None
Function
This command shows the ONU MGC performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
number1
MGC ID
165535
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU MGC performance statistics data:
ZXAN#show gpon remote-onu performance mgc gpon-onu_1/3/1:1 1
Related Commands
None
15-249
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU multicast performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
number1
VLAN ID
14095
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU multicast performance statistics data:
ZXAN#show gpon remote-onu performance multicast gpon-onu_0/3/1:1 ethuni eth_0/1
Related Commands
None
Function
This command shows the ONU RADIUS performance statistics data.
15-250
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
history
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU RADIUS performance statistics data:
ZXAN#show gpon remote-onu performance radius gpon-onu_0/3/1:1
Related Commands
None
Function
This command shows the ONU RTP performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
15-251
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the ONU RTP performance statistics data:
ZXAN#show gpon remote-onu performance rtp gpon-onu_0/3/1:1
Related Commands
None
Function
This command shows the ONU SIP agent performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
number1
SIP client ID
165535
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU SIP agent performance statistics data:
ZXAN#show gpon remote-onu sip-agent gpon-onu_0/3/1:1 1
Related Commands
None
15-252
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the performance statistics data on ONU SIP call initiation.
Parameters
Parameter
Description
Value
history
interface1
onu_shelf/slot/olt:onu
number1
SIP client ID
165535
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the performance statistics data on ONU SIP call initiation:
ZXAN#show gpon remote-onu performance sip-call-init gpon-onu_0/3/1:1 1
Related Commands
None
Function
This command shows the ONU bridge port statistics data.
15-253
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU bridge port statistics data:
ZXAN#show gpon remote-onu performance switch gpon-onu_0/3/1:1 switch_0/1
Related Commands
None
Function
This command shows the ONU UNI bridge port statistics data.
Parameters
Parameter
Description
Value
history
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
15-254
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the ONU UNI bridge port statistics data:
ZXAN#show gpon remote-onu performance
switchport ethuni gpon-onu_0/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the IP host bridge port performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
onu_shelf/slot/olt:onu
number1
IP host ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the IP host bridge port performance statistics data:
ZXAN#show gpon remote-onu performance switchport iphost gpon-onu_1/3/1:1 1
Related Commands
None
15-255
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU VLAN performance statistics data.
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
number1
VLAN ID
14095
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU VLAN performance statistics data:
ZXAN#show gpon remote-onu performance vlan gpon-onu_0/3/1:1
Related Commands
None
Function
This command shows the performance statistics data of an IP host bridge port.
15-256
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
history
interface1
gpon-onu_shelf/slot/olt:onu
POTS port, format: pots_slot/port
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
When the voice port parameter is specified, this command shows the statistics data on a
port. Otherwise, it shows the global statistics data.
Examples
The following example shows the ONU global voice quality performance statistics data:
ZXAN#show gpon remote-onu performance switchport iphost gpon-onu_0/3/1:1 1
Related Commands
None
Function
This command shows the packet filtering configuration information on a layer 2 bridge.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
interface2
onu_shelf/slot/olt:onu
number1
Service flow ID
1255
15-257
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
interface3
onu_shelf/slot/olt:onu
IP host ID
number2
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the packet filtering configuration information on layer 2 bridge
port correlated with Ethernet port 0/1:
ZXAN(config)#show gpon remote-onu pkt-filter ethuni gpon-onu_1/3/1:1
eth_0/1
Interface:
eth_0/1
IPv4multicast :forward
IPv6multicast: forward
IPv4broadcast: forward
Rarp:
forward
IPx :
forward
NetBEUI:
forward
AppleTalk:
forward
bpdu :
forward
Arp :
forward
PPPOE :
forward
Related Commands
None
Function
This command shows the ONU port information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
Slot number
0255
15-258
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU port information:
ZXAN#show gpon remote-onu port-map gpon-onu_0/3/1:1
Related Commands
None
Function
This command shows the ONU energy conservation configuration information.
Parameters
Parameter
interface1
Description
Value
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU energy conservation configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu power-shedding gpon-onu_1/3/1:1
Restore power timer reset interval
0s
100s
disable
disable
15-259
SJ-20130118100307-010|2013-02-28 (R1.0)
disable
disable
disable
disable
disable
disable
Shedding status:
Data class
restore
Voice class
restore
restore
restore
DSL class
restore
ATM class
restore
CES class
restore
Frame class
restore
Sonet class
restore
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU PPPoE configuration information.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
IP host ID
1255
Mode
All modes except user mode
Usage Guidelines
None
15-260
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows the ONU PPPoE configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu pppoe gpon-onu_1/3/1:1 1
hostid:
NAT:
1
disable
Mode:
auto
Connect:
manual
Release timer:
1200 (s)
Username:
Password:
Status:
unconfigured
Online duration:
0 (s)
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the PW configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the PW configuration information:
ZXAN#show gpon remote-onu pw gpon-onu_1/3/1:1 ces_0/1
15-261
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command shows the Ethernet port scheduling configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the Ethernet port scheduling configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu schedule gpon-onu_1/3/1:1
interface: eth_0/1
schedule profile name: test
interface: eth_0/2
schedule profile name: default
interface: eth_0/3
schedule profile name:
Related Commands
None
15-262
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU security enhancement control configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU security enhancement control configuration
information:
ZXAN(gpon-onu-mng)#show gpon remote-onu security-ctrl gpon-onu_0/3/1:1
Security-ctrl state: disable
Psk:
Olt supported crypto: AES-CMAC-128, HMAC-SHA-256, HMAC-SHA-512
Ont selected crypto: NONE
Ont authen state: Inactive
Ont key name: 00000000000000000000000000000000
ZXAN(gpon-onu-mng)#
Related Commands
None
15-263
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU security management information.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
Service ID
165535
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU security management information:
ZXAN(gpon-onu-mng)#show gpon remote-onu security-mng gpon-onu_1/3/1:1
Service control index:
State:
disable
Control mode:
permit
Service list:
Ingress type:
WAN
0.0.0.0
0.0.0.0
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the mapping relations between the ONU PON service flows and
user ports as well as GEM ports.
15-264
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
Service name
132 characters
Mode
All modes except user mode
Usage Guidelines
l
l
This command supports creation, deletion, but does not support modification.
This command is a simplified command and conflicts with the old configuration
methods, such as the flow and gemport flow configuration.
Examples
The following example shows the mapping relations between the ONU PON service flows
and the user port and GEM port:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#service 1 gemport 1
Related Commands
None
Function
This command shows the SIP client configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
SIP client ID
165535
Mode
All modes except user mode
15-265
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the SIP client configuration information:
ZXAN#show gpon remote-onu sip-agent gpon-onu_1/3/1:1
agent id :
1;
proxyServer:
1.1.1.1;
outboundProxy:
2.2.2.2;
primary DNS :
3.3.3.3;
second DNS :
0.0.0.0;
regServer :
regUserName:
4.4.4.4;
aaa;
regPassword:
aaa;
tcpudpPort:
21;
regExpTime :
3600;
reRegStartTime:
ssVendor:
status:
1223;
ZTE;
NA;
Related Commands
None
Function
This command shows the POTS SIP configuration information.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
15-266
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
This service can be configured when the VoIP protocol is SIP, and the correlated SIP profile
needs to be created first.
Examples
The following example shows the POTS SIP configuration information:
ZXAN(confg-gpon)#show gpon remote-onu sip-service gpon-onu_1/3/1:1
Interface:pots_0/1
Profile:test1
User identification:68895000
Username:5000
Password:5000
Display name:ztesh
Voicemail server:10.63.10.1
Validation scheme:md5
Username:test
Password:test
Realm:test
Voicemaile subscription expiration time:7200s
Related Commands
None
Function
This command shows the SIP user information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
15-267
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the SIP user information:
ZXAN#show gpon remote-onu sip-user gpon-onu_1/3/1:1
Uni name:
pots_0/1
Agent id :
UserAOR:
zte
DisplayName:
UserName:
Password:
VMailServer:
VMailValidate:
disable
VMailUserName:
VMailPassword:
VMailRealm:
VMailExpTime(s):
3600
ReleaseTime(s):
10
RohTime(s):
15
DialPlanTableName:
ServiceProfileId:
FeatureCodeTableId:
ZXAN#
Related Commands
None
Function
This command shows the ONU time configuration information.
15-268
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU time configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu sntp gpon-onu_1/3/1:1
Time Zone:
GMT-02:00
Related Commands
None
Function
This command shows the ONU WiFi port configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
15-269
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU WiFi port configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu ssid info gpon-onu_1/3/1:1 wifi_0/1
Interface: wifi_0/1
Name:
MAC: N/A
Hide: disable
User isolation: enable
Max users: 32
Current users: N/A
Authentication algorithm: WPA-PSK/WPA2-PSK
Encryption: TKIP and AES
Key: by ONU default
Key update interval: 600s
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the layer 2 bridge configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
15-270
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the layer 2 bridge configuration information:
ZXAN#show gpon remote-onu switch gpon-onu_1/3/1:1 switch_0/1
Related Commands
None
Function
This command shows the configuration information on a layer 2 bridge port.
Parameters
Parameter
Description
Value
ethuni
Ethernet port
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
flow
Service flow
interface2
gpon-onu_shelf/slot/olt:onu
number1
Service flow ID
1255
iphost
IP host
interface3
gpon-onu_shelf/slot/olt:onu
number2
IP host ID
1255
wifi
WiFi port
15-271
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
interface4
gpon-onu_shelf/slot/olt:onu
name2
131 characters
veip
VEIP port
interface5
gpon-onu_shelf/slot/olt:onu
number3
VEIP ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on the layer 2 bridge port that
is correlated with Ethernet port 0/1:
ZXAN#show gpon remote-onu switchport ethuni gpon-onu_1/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the ONU language test result.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
15-272
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU language test result:
ZXAN#show gpon remote-onu test-result call gpon-onu_1/3/1:1 pots_0/1
Related Commands
None
Function
This command shows the ONU IP host test result.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
IP host ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU IP host test result:
ZXAN#show gpon remote-onu test-result iphost gpon-onu_0/3/1:1 1
Related Commands
None
15-273
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU Internet Protocol over Ethernet (IPoE) test result.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU IPoE test result:
ZXAN#show gpon remote-onu test-result ipoe gpon-onu_0/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the ONU Internet Protocol Television (IPTV) test result.
15-274
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU IPTV test result:
ZXAN#show gpon remote-onu test-result iptv gpon-onu_0/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the ONU MEP test result.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
MD ID
116
number2
MA ID
132
Mode
All modes except user mode
15-275
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the ONU MEP test result:
ZXAN#show gpon remote-onu test-result mep gpon-onu_1/3/1:1 1 1
Related Commands
None
Function
This command shows the ONU MEP LM-DM test result.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
MD ID
116
number2
MA ID
132
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU MEP LM-DM test result:
ZXAN#show gpon remote-onu test-result mep lm-dm gpon-onu_1/3/1:1 1 1
Related Commands
None
15-276
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the ONU POTS test result.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU POTS test result:
ZXAN#show gpon remote-onu test-result potsuni gpon-onu_0/3/1:1 pots_0/1
Related Commands
None
Function
This command shows the ONU PPPoE test result.
15-277
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
interface1
Description
Value
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU PPPoE test result:
ZXAN#show gpon remote-onu test-result pppoe gpon-onu_0/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the ONU TR069 management and configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
VEIP ID
1255
Mode
All modes except user mode
Usage Guidelines
None
15-278
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows the ONU TR069 management and configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu tr069-mgmt gpon-onu_1/3/1:1
VEIP ID:
Admin status:
lock
ACS:
Validation scheme: disable
Tag:
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU rate limiting information.
Parameters
Parameter
interface1
Description
Value
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU rate limiting information:
ZXAN#show gpon remote-onu traffic-limit gpon-onu_1/3/1:1
Related Commands
None
15-279
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the mapping relations between the 802.1p services on the uplink
bridge port and the upstream priority queues.
Parameters
Parameter
Description
Value
flow
Service flow
interface1
gpon-onu_shelf/slot/olt:onu
Service flow ID
number1
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the mapping relations between the 802.1p services on the
uplink bridge port and the upstream priority queues:
ZXAN(gpon-onu-mng)#show gpon remote-onu up-queue-map flow gpon-onu_1/3/1:1 1
Flow ID
Priority : Queue
Related Commands
None
15-280
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the configuration information on a virtual Ethernet interface.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
VEIP ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the configuration information on a virtual Ethernet interface:
ZXAN(gpon-onu-mng)#show gpon remote-onu veip gpon-onu_1/3/1:1
VEIP ID: 1
Admin status: unlock
Operate status: disable
Interdomain name:
Port: none
IANA assigned port: none
ZXAN(gpon-onu-mng)#
Related Commands
None
Function
This command shows the ONU VLAN processing information.
15-281
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
eth
Ethernet port
interface1
onu_shelf/slot/olt:onu
name1
131 characters
wifi
WiFi port
interface2
onu_shelf/slot/olt:onu
name2
131 characters
veip
VEIP port
interface3
onu_shelf/slot/olt:onu
name3
VEIP ID
1255
gemport
GEM port
interface4
onu_shelf/slot/olt:onu
number1
GEM port ID
1255
gemport-mcast
interface5
onu_shelf/slot/olt:onu
number2
wan
WAN port
interface6
onu_shelf/slot/olt:onu
number3
WAN ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN processing information on ONU Ethernet port
eth_0/1;
ZXAN#show gpon remote-onu vlan eth gpon-onu_1/3/1:1 eth_0/1
15-282
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Def-vid
Def-Prio
Vlan-list
...............................................................
eth_0/1
access
1001
--
ZXAN#
Related Commands
None
Function
This command shows the port VLAN translation rule.
Parameters
Parameter
Description
Value
eth
Ethernet port
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
wifi
WiFi port
interface2
gpon-onu_shelf/slot/olt:onu
name2
131 characters
veip
VEIP port
interface3
gpon-onu_shelf/slot/olt:onu
name3
VEIP ID
1255
gemport
GEM port
interface4
gpon-onu_shelf/slot/olt:onu
number1
GEM port ID
1255
gemport-mcast
15-283
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
interface5
gpon-onu_shelf/slot/olt:onu
number2
wan
WAN port
interface6
gpon-onu_shelf/slot/olt:onu
number3
WAN ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the port VLAN translation rule:
ZXAN#show gpon remote-onu vlan translate eth gpon-onu_1/3/1:1 eth_0/1
Related Commands
None
Function
This command shows VLAN filtering items.
Parameters
Parameter
Description
Value
ethuni
Ethernet port
interface1
onu_shelf/slot/olt:onu
name1
131 characters
iphost
IP host
15-284
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
interface2
onu_shelf/slot/olt:onu
number1
IP host ID
1255
wifi
WiFi port
interface3
onu_shelf/slot/olt:onu
name2
131 characters
veip
VEIP port
interface4
onu_shelf/slot/olt:onu
number2
VEIP ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN filtering items on Ethernet port eth_0/1:
ZXAN#show gpon remote-onu vlan-filter ethuni gpon-onu_1/3/1:1 eth_0/1
Related Commands
None
Function
This command shows the VLAN filtering mode.
15-285
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ethuni
Ethernet port
interface1
onu_shelf/slot/olt:onu
name1
131 characters
iphost
IP host
interface2
onu_shelf/slot/olt:onu
number1
IP host ID
1255
wifi
WiFi port
interface3
onu_shelf/slot/olt:onu
name2
131 characters
veip
VEIP port
interface4
onu_shelf/slot/olt:onu
number2
VEIP ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the VLAN filtering mode on Ethernet port eth_0/1:
ZXAN#show gpon remote-onu vlan-filter-mode ethuni gpon-onu_1/3/1:1 eth_0/1
Related Commands
None
15-286
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the VoIP configuration.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
All modes except user mode
Examples
The following example shows the VoIP configuration:
ZXAN(gpon-onu-mng)#show gpon remote-onu voip gpon-onu_0/3/1:1
Protocol used:
SIP
Related Commands
None
Function
This command shows the VoIP voice Connection Termination Point (CTP) configuration.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
15-287
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows the VoIP voice CTP configuration:
ZXAN(config)#show gpon remote-onu voip-ctp gpon-onu_0/3/1:1
Related Commands
None
Function
This command shows the VoIP IP configuration.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
number1
Slot number
08
media
Media
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the VoIP IP configuration:
ZXAN#show gpon remote-onu voip-ip gpon-onu_0/3/1:1
Related Commands
None
15-288
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the VoIP link status.
Parameters
Parameter
Description
Value
interface1
gpon-onu_shelf/slot/olt:onu
name1
131 characters
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the VoIP link status:
ZXAN(config)#show gpon remote-onu voip-linestatus gpon-onu_0/3/1:1
Related Commands
None
Function
This command shows the ONU WAN configuration information.
15-289
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
interface1
Description
Value
onu_shelf/slot/olt:onu
number1
WAN ID
1255
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the ONU WAN configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu wan gpon-onu_1/3/1:1 8
WAN index: 8
Service: Other
MVLAN: 1000
MTU: ont internal policy
Ethernet UNI: 1
SSID: 3
Online duration: 0(s)
Related Commands
None
Function
This command shows the WAN IP configuration information.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
number1
WAN ID
1255
15-290
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the WAN IP configuration information:
ZXAN(gpon-onu-mng)#show gpon remote-onu wan-ip gpon-onu_0/3/1:1
WAN id:
Mode:
DHCP
Onu identifier:
Ping response:
enable
tag
CVLAN:
100
CVLAN priority: 0
SVLAN:
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:
Related Commands
None
Function
This command shows the T-CONT weight.
15-291
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the T-CONT weight:
ZXAN(gpon-onu-mng)#sho gpon remote-onu weight gpon-onu_1/3/1:1
Tcont
Queue
Weight
-------------------------------------1
Related Commands
None
Function
This command shows the WiFi global parameter configuration.
Parameters
Parameter
Description
Value
interface1
onu_shelf/slot/olt:onu
15-292
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows the WiFi global parameter configuration:
ZXAN#show gpon remote-onu wifi info gpon-onu_1/3/1:1
Admin status:
enable
Operate status:
N/A
Radio measurement:
enable
SSID isolation:
not isolated
Work mode:
802.11b-11g-11n
Bandwidth:
20(MHz)
SGI status:
disable
auto
Tx rate:
auto
Transmitting power:
100%
QoS type:
WMM
ZXAN#
Related Commands
None
15.4.198 sip-agent
Syntax
sip-agent number1 {proxy-server name1 [outbound-proxy name2 ] primary-dns ip_addr1 [seco
ndary-dns ip_addr2 ] tcpudp-port number2 [host number3 ] |[ss name3 ] |[[reg-exptime number4 ]
[rereg-starttime number5 ] ] |validate name4 [username name5 password name6 ] [realm name7
] |registrar-server name8 }
no sip-agent number1
Function
This command creates an SIP agent and correlates it with the TCP/UDP port.
15-293
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Client ID
1-65535
name1
1128 characters
name2
1128 characters
ip_addr1
ip_addr2
number2
065535
number3
IP host ID
1255
name3
SS vendor
14 characters
number4
04294967295
number5
04294967295
name4
Authentication method
name5
1128 characters
name6
Authentication password
125 characters
name7
125 characters
name8
1128 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an SIP agent with the ID of 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 proxy-server 1.1.1.1
outbound-proxy 2.2.2.2 primary-dns 3.3.3.3 tcpudp-port 100
Related Commands
None
15-294
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.199 sip-service
Syntax
sip-service name1 profile name2 userid name3 [username name4 password name5 ] [display-n
ame name6 ] [vmail-server name7 ] [vmail-validate {disable |basic username name8 password
name9 |md5 username name10 password name11 realm name12 } ] [vmail-subscript-time num
ber1 ] [signal name13 ] [media-profile name14 ]
no sip-service name1
Function
This command configures the POTS SIP service.
Parameters
Parameter
Description
Value
name1
131 characters
name2
164 characters
name3
User address ID
1128 characters
name4
User name
150 characters
name5
Password
125 characters
name6
Displayed name
125 characters
name7
1128 characters
disable
name8
125 characters
name9
125 characters
name10
125 characters
name11
125 characters
name12
125 characters
number1
04294967295
default: 3600
name13
name14
164 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
15-295
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the POTS SIP service
ZXAN(gpon-onu-mng)#sip-service pots_0/1 profile test1 userid 68895000
username 5000 password 5000 display-name ztesh vmail-server 10.63.10.1
vmail-validate md5 username test password
test realm test vmail-subscript-time 7200
Related Commands
15.4.168 show gpon remote-onu sip-service
15.4.200 sip-user
Syntax
sip-user name1 {[dial-plan name2 ] |[service-profile number1 ] [feature-code number2 ] |[vmail-s
erver name3 ] [vmail-exptime number3 ] [release-time number4 ] [roh-time number5 ] |sip-agent
number6 user-aor name4 [display-name name5 ] [username name6 password name7 ] |vmail-v
alidate name8 [vmail-username name9 vmail-password name10 ] [vmail-realm name11 ] }
no sip-user name1
Function
This command creates an SIP user and correlates it with the POTS UNI and SIP agent.
Parameters
Parameter
Description
Value
name1
131 characters
name2
164 characters
065535
065535
1128 characters
number3
04294967295
3600.
number4
0255
number5
0255
number6
Client ID.
165535
name4
User AOR.
1128 characters
15-296
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
Displayed name.
125 characters
name6
User name.
150 characters
name7
Password.
125 characters
name8
name9
125 characters
name10
125 characters
name11
125 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create an SIP user and correlates it with the POTS
UNI and SIP agent:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#sip-agent 1 proxy-server 1.1.1.1
outbound-proxy 2.2.2.2 primary-dns 3.3.3.3 tcpudp-port 100
ZXAN(gpon-onu-mng)#sip-agent 1 rereg-starttime 1223
ZXAN(gpon-onu-mng)#sip-agent 1 ss ZTE
ZXAN(gpon-onu-mng)#sip-user pots_0/1 sip-agent 1 user-aor zte
Related Commands
None
15.4.201 sntp
Syntax
sntp time-zone name1 master-server ip_addr1 slave-server ip_addr2 [dscp number1 ] [daylight
-saving-time name2 ] [interval number2 ]
Function
This command configures the ONU time.
15-297
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
19 characters
ip_addr1
ip_addr2
number1
DSCP value.
063
name2
Default: disabled.
number2
04294967295
default: 86400.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU time:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#sntp time-zone GMT-02:00
master-server 10.63.10.1 slave-server 10.63.10.2
Related Commands
None
15-298
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures Wired Equivalent Privacy (WEP) encryption mode for a WiFi
port.
Parameters
Parameter
Description
Value
name1
131 characters
open-system
disable
Disables encryption.
40bit
name2
name3
name4
name5
number1
14
name6
14
104bit
name10
name11
name12
name13
number3
14
name14
15-299
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name17
14
shared-key
name18
name19
name20
name21
number5
14
name22
14
name26
name27
name28
name29
number7
14
name30
14
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
15-300
SJ-20130118100307-010|2013-02-28 (R1.0)
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
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
Examples
The following example shows how to configure WEP encryption mode for a WiFi port:
ZXAN(gpon-onu-mng)#ssid auth wep wifi_0/1 open-system encrypt
40bit hex 0102030E0F 1112131E1F 2122232E2F 313333E3F1 default-key 1
Related Commands
15.4.203 ssid auth wpa
15.4.204 ssid ctrl
Function
This command configures WPA encryption mode for a WiFi port.
15-301
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
name2
wpa-psk, wpa2-psk,
wpa-wpa2-psk
name3
default
name4
Key.
863 characters
number1
1001000
600.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
l
An ONU WiFi port supports WEP and Wi-Fi Protected Access (WPA) encryption
modes. The default mode is WPA. The following command is the default configuration.
After this command is carried out, the script is not displayed.
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 wpa-wpa2-psk encrypt tkip-aes
key-update-interval 600
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
Examples
The following example shows how to configure WPA encryption mode for a WiFi port:
ZXAN(gpon-onu-mng)#ssid auth wpa wifi_0/1 wpa2-psk
15-302
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
15.4.202 ssid auth wep
15.4.204 ssid ctrl
Function
This command configures ONU WiFi port management.
Parameters
Parameter
Description
Value
name1
131 characters
name2
SSID name.
132 characters
name3
name4
number1
132
name
SSID name.
132 characters
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
To enable or disable the WiFi service SSID, run the following command:
ZXAN(gpon-onu-mng)#interface wifi wifi_0/1 state
lock
Deactivate
unlock
Activate
Examples
The following example shows how to configure ONU WiFi port properties:
ZXAN(gpon-onu-mng)#ssid ctrl wifi_0/1 name SSID1
15-303
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.4.205 switch
Syntax
switch name1 {[stp name2 ] [learn name3 ] [local-switch name4 ] [priority number1 ] [max-age
number2 ] [hello-time number3 ] [forward-delay number4 ] [unknownMac-discard name5 ] [ad
dr-learn-depth number5 ] } [aging-time number6 ]
Function
This command configures MAC bridge properties.
Parameters
Parameter
Description
Value
name1
131 character
name2
bridge.
name3
name4
bridge.
number1
065535
number2
640
seconds.
number3
110
number4
430
name5
MAC addresses.
number5
Disable: flood
Enable: discard
0255
indicates no limiting.
number6
101000000
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
15-304
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
name1
131 characters
name2
164 characters
name3
164 characters
number1
Port priority.
065535
number2
065535
name4
name5
name6
forward, discard
number3
0255
in
out
all
15-305
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure Ethernet UNI bridge port properties and
enable SIP:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#switchport ethuni eth_0/1 stp enable
Related Commands
None
Function
This command configures flow bridge port properties.
Parameters
Parameter
Description
Value
number1
Flow ID.
1255
number2
Priority.
065535
number3
065535
name1
name2
forward, discard
number4
0255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
15-306
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
number1
Host ID.
1255
number2
Port priority.
065535
number3
065535
name1
name2
forward, discard
0255
number4
limiting.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure IP host bridge port properties and enable
SIP:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#switchport iphost 1 stp enable
15-307
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures VEIP bridge port properties.
Parameters
Parameter
Description
Value
number1
VEIP ID
1255
name1
164 characters
name2
164 characters
number2
Port priority.
065535
number3
065535
name3
name4
name5
forward, discard
number4
0255
limiting.
in
out
all
limiting.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
15-308
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure VEIP bridge port properties and enable
SIP:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#switchport veip 1 stp enable
Related Commands
None
15.4.210 switchport-bind
Syntax
switchport veip number1 {traffic-limit {in name1 |out name2 } |{[priority number2 ] [path-cost
number3 ] [stp name3 ] [encap-method name4 ] [lan-fcs name5 ] [addr-learn-depth number4 ] } }
no switchport veip number1 traffic-limit {in |out |all }
Function
This command binds the UNI with a layer 2 bridge.
Parameters
Parameter
Description
Value
name1
131 character
name2
131 characters
number1
IP host ID
1255
name3
131 characters
number2
1255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to bind the UNI with a layer 2 bridge:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#switchport-bind switch_0/1 ethuni eth_0/1
ZXAN(gpon-onu-mng)#
15-309
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
15.4.211 synctime
Syntax
synctime
Function
This command synchronizes all the performance statistics starting time points. All the
performance statistics values are cleared to 0 and the statistics are restarted.
Parameters
None
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to synchronize all the performance statistics starting
time points:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#synctime
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.212 sys-attr
Syntax
sys-attr {[cpu-threshold number1 ] [mem-threshold number2 ] }
Function
This command configures ONU system properties.
15-310
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
0100
number2
0-100
100
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU system properties:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#sys-attr cpu-threshold 80 mem-threshold 80
Related Commands
None
15.4.213 test
Syntax
test
Function
This command tests ONU diagnosis.
Parameters
None
Mode
GPON ONU MNG mode and EPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the ONU diagnosis test:
15-311
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command tests the ONU called party.
Parameters
Parameter
Description
Value
name1
131 characters
stop
start
number1
04294967295
number2
60300
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the test of the ONU called party:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test callee pots_0/1 start
Related Commands
None
15-312
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command tests the ONU calling party.
Parameters
Parameter
Description
Value
name1
131 characters
stop
start
name2
Dialed number.
120 characters
number1
60300
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.
15-313
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Host ID
1255
name1
Test item
ip_addr1
Destination IP address
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the ONU IP host ping test:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test iphost 1 ping 1.1.1.1
Related Commands
None
Function
This command implements the ONU IPoE test.
Parameters
Parameter
Description
Value
name1
131 characters
stop
start
name2
User name.
1128 characters
name3
Password.
1128 characters
15-314
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
hexadecimal1
MAC address.
number1
VLAN ID.
04094
number2
560
hexadecimal2
MAC address.
name4
Vendor ID.
1128 characters
number3
VLAN ID.
04094
number4
560
Mode
GPON ONU MNG mode, EPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the IPoE test through the user name and
password:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test ipoe eth_0/1 start
username zte password zte vlan 100 time 5
Related Commands
None
Function
This command implements the ONU IPTV test.
15-315
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
stop
start
ip_addr1
Multicast address.
number1
14094
Priority.
07
number3
Test time.
1300
Mode
GPON ONU MNG mode, EPON ONU MNG mode
Usage Guidelines
l
l
The ONU needs to configure a filtering rule for untagged packets and tag them.
The ONU needs to configure a filtering rule for tagged packets and translate the VLAN
or transparently transmit them.
Examples
The following example shows how to start the ONU IPTV test:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test iptv eth_0/1 start ip 224.1.1.1 duration 20
Related Commands
None
Function
This command tests ONU MEP line trace.
15-316
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
MD ID
116
number2
MA ID
132
hexadecimal1
MAC address
number3
MEP ID
18191
number4
1255
name1
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the test of ONU MEP line trace:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test mep linktrace 1 1 mac-addr 1111.1111.1111 max-hop-count 10
Related Commands
None
Function
This command tests ONU MEP LM-DM.
Parameters
Parameter
Description
Value
number1
MD ID.
116
number2
MA ID.
132
15-317
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
stop
start
name1
LM type.
name2
DM type.
hexadecimal1
MAC address.
name3
number3
Priority.
07
name4
Interval.
number4
Number of times.
11024
number5
MEP ID.
18919
name5
number6
Priority.
07
name6
Interval.
number7
Number of times.
11024
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the ONU MEP LM-DM test:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng#test mep lm-dm 1 1 start
one-way mac-addr 1111.1111.1111 priority 1
Related Commands
None
15-318
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command tests the ONU MEP loop-back.
Parameters
Parameter
Description
Value
number1
MD ID
116
number2
MA ID
132
hexadecimal1
MAC address
number3
MEP ID
18191
number4
11024
number5
Priority.
07
name1
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the test of the ONU MEP loop-back:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test mep loopback 1 1 mac-addr 1111.1111.1111 repeat-count 100
Related Commands
None
Function
This command tests the ONU voice port.
15-319
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
name2
Test item
name3
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
Function
This command tests ONU PPPoE.
Parameters
Parameter
Description
Value
name1
131 characters
stop
start
name2
User name.
125 characters
name3
Password.
125 characters
15-320
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name4
number1
04094
Mode
GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to start the ONU PPPoE test:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#test pppoe eth_0/1 start username zte password zte
Related Commands
None
15.4.224 tr069-mgmt
Syntax
tr069-mgmt number1 [{[{untag |tag pri number2 vlan number3 } ] [state name1 ] [acs name2
[validate {disable |basic username name3 password name4 |md5 username name5 password
name6 realm name7 } ] ] } ]
no tr069-mgmt number1 acs
Function
This command configures the ONU TR069 management parameters.
Parameters
Parameter
Description
Value
number1
VEIP ID
1-255
untag
Untagged mode
tag
Tagged mode
number2
Priority
07
number3
VLAN ID
14094
name1
15-321
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
1128 characters
URL format
disable
No authentication
basic
name3
125 characters
name4
125 characters
md5
name5
150 characters
name6
125 characters
name7
125 characters
acs
ACS server
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the ONU TR069 management parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#tr069-mgmt 1 state unlock
Related Commands
None
15.4.225 traffic-limit
Syntax
traffic-limit name1 [prio number1 ] [vlan number2 ] [ether-type name2 ] cir number3 [prio1 nu
mber4 prio2 number5 ]
no traffic-limit name1 [prio number1 ] [vlan number2 ] [ether-type name2 ]
Function
This command configures rate limiting for an ONU Ethernet user port.
15-322
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
131 characters
number1
Priority
07
number2
VLAN ID
04095
name2
number3
04294967295
number4
Priority 1
07
number5
Priority 2
07
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure rate limiting for Ethernet user port eth_0/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#traffic-limit eth_0/1 cir 1000 prio1 1 prio2 2
Related Commands
None
15.4.226 type
Syntax
type name1
Function
This command configures the ONU type in the remote management profile.
Parameters
Parameter
Description
Value
name1
ONU type
164 characters
Mode
GPON remote ONU configuration mode
15-323
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
Use the show onu-type command to obtain the ONU type name.
Examples
The following example shows how to configure the ONU type ZTE-F660 in the remote
management profile zte:
ZXAN(config-pon)#onu-profile gpon remote zte
ZXAN(config-gpon-remote)#type ZTE-F660
Related Commands
None
15.4.227 up-queue-map
Syntax
up-queue-map flow number1 name1 queue number2
no up-queue-map flow number1 name1
Function
This command configures the mapping relations between 802.1p services and upstream
priority queues.
Parameters
Parameter
Description
Value
number1
Flow ID
1255
name1
Priority list
131 characters
Priority range: 07
number2
07
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Before carrying out this command, create service flows first:
The upstream priority queue ID ranges from 0 to 7. Queue 1 has the highest priority and
queue 7 has the lowest priority.
15-324
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the mapping relations between 802.1p
services and upstream priority queues:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#up-queue-map flow 1 1 queue 7
ZXAN(gpon-onu-mng)#
Related Commands
None
15.4.228 veip
Syntax
veip number1 [{[state name1 ] [inter-domain name2 ] [port [name3 ] number2 [host number3 ] ] } ]
no veip number1 [{[inter-domain ] [port ] } ]
Function
This command configures the virtual Ethernet interface properties.
Parameters
Parameter
Description
Value
number1
VEIP ID
1255
name1
Administrative state
unlock, lock
name2
125 characters
port
name3
Port type
UDP, TCP
number2
Port number
165535
number3
Host ID
1255
inter-domain
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the virtual Ethernet interface properties:
15-325
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the VLAN processing rule for a GEM port.
Parameters
Parameter
Description
Value
number1
1255
name2
transparent
trunk
14094
number3
Added priority.
07
15-326
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
hybrid
14094
number5
07
number6
14094
number7
07
number8
14094
number9
07
number10
14094
number11
07
number12
1255
name4
number13
14094
number14
07
mode
Operation mode.
Mode
GPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the VLAN translation rule for GEM port 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan gemport 1 translate vlan 1
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu vlan translate
15-327
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the VLAN processing rule for a multicast GEM port.
Parameters
Parameter
Description
Value
number1
name2
transparent
trunk
14094
number3
Added priority.
07
hybrid
14094
number5
07
15-328
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number6
14094
number7
07
number8
14094
number9
07
number10
14094
number11
07
number12
name4
number13
14094
number14
07
mode
Operation mode.
Mode
GPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the VLAN translation rule for multicast GEM
port 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan gemport-mcast 1 translate vlan 1
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu vlan translate
15-329
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the VLAN processing rule for an UNI port.
Parameters
Parameter
Description
Value
name1
131 characters
eth_slot/port,wifi_slot/port,veip_port.
name2
transparent
trunk
14094
number2
Added priority.
07
hybrid
14094
number4
07
number5
14094
number6
07
number7
14094
number8
07
number9
14094
number10
07
mode
Operation mode.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
15-330
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the VLAN processing rule for port eth_3/1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan port eth_3/1 translate vlan 1 cvlan 2 svlan 3
ZXAN(gpon-onu-mng)#
Related Commands
15.4.187 show gpon remote-onu vlan translate
Function
This command configures the VLAN processing rule for a WAN port.
Parameters
Parameter
Description
Value
number1
WAN ID.
1255
name2
transparent
trunk
14094
number3
Added priority.
07
15-331
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
hybrid
14094
number5
07
number6
14094
number7
07
number8
14094
number9
07
number10
14094
number11
07
number12
WAN ID.
1255
name4
number13
14094
number14
07
mode
Operation mode.
Mode
GPON-ONU-MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the VLAN translation rule for WAN port 1:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan wan 1 translate vlan 1
ZXAN(gpon-onu-mng)#
Related Commands
show gpon remote-onu vlan translate
15-332
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.233 vlan-filter
Syntax
vlan-filter {ethuni name1 |iphost number1 |wifi name2 |veip number2 } priority number3 vid
number4
no vlan-filter {ethuni name1 |iphost number1 |wifi name2 |veip number2 } priority number3 vid
number4
Function
This command creates a VLAN filtering item.
Parameters
Parameter
Description
Value
name1
131 characters
number1
IP host ID
1255
name2
131 characters
number2
1255
number3
07
number4
14094
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to create a VLAN filtering item:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan-filter ethuni eth_0/1 priority 0 vid 10
ZXAN(gpon-onu-mng)#
Related Commands
None
15-333
SJ-20130118100307-010|2013-02-28 (R1.0)
15.4.234 vlan-filter-mode
Syntax
vlan-filter-mode {ethuni name1 |iphost number1 |wifi name2 |veip number2 } tag-filter name3
untag-filter name4
no vlan-filter-mode {ethuni name1 |iphost number1 |wifi name2 |veip number2 }
Function
This command creates a VLAN filtering mode.
Parameters
Parameter
Description
Value
name1
131 characters
number1
IP host ID
1255
name2
131 characters
number2
1255
name3
name4
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to creates a VLAN filtering mode:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#vlan-filter-mode ethuni eth_0/1 tag-filter
discard untag-filter transparent
ZXAN(gpon-onu-mng)#
Related Commands
None
15-334
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures VoIP global parameters.
Parameters
Parameter
Description
Value
retrieve
name1
name2
1128 characters
format.
validate
Server authentication.
disable
Disables authentication.
basic
name3
125 characters
name4
125 characters
md5
name5
150 characters
name6
125 characters
name7
125 characters
server
Server.
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure VoIP global parameters:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#voip config server 1.1.1.1
15-335
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the VoIP protocol.
Parameters
Parameter
Description
Value
none
sip
h248
name1
Domain name.
1128 characters
name2
Device name.
125 characters
mgcp
name3
Domain name.
1128 characters
name4
Registration mode.
wildcard, individual
name5
Line ID.
name6
IP distribution mode.
Default: single-ip
Mode
GPON remote ONU configuration mode, GPON ONU MNG 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.
The IP distribution modes are described as follows:
15-336
SJ-20130118100307-010|2013-02-28 (R1.0)
single-ip: The entire ONU uses one IP address, and the media and signaling use
one IP address. In the ZXAN(gpon-onu-mng)#voip-ip command, the slotno and
media parameters are ineffective.
dual-ip: The entire ONU can use up to two IP addresses. If one IP address is
used, the media and signaling use the same IP address. If two IP addresses are
used, one is for the media and the other is for the signaling. In the ZXAN(gpononu-mng)#voip-ip command, the slotno parameter is ineffective.
multi-ip: The entire ONU can use multiple IP addresses. Each slot can be
configured with two or one IP address depending on whether the media parameter
is configured.
Examples
The following example shows how to configure the VoIP protocol for port gpon-onu_0/3/1:1
to SIP:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#voip protocol sip
Related Commands
15.4.238 voip-ip
15.4.237 voip-ctp
Syntax
voip-ctp name1 [{[signal name2 ] [media-profile name3 ] [mgc number1 ] } ]
no voip-ctp name1 [media-profile ]
Function
This command configures the VoIP voice CTP, and correlates user data to the POTS UNI.
Parameters
Parameter
Description
Value
name1
131 characters
name2
name3
164 characters
number1
165535
media-profile
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
15-337
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
When configuring the VoIP voice CTP, you can set the voice prompt and media profile.
Examples
The following example shows how to configure the VoIP voice CTP:
ZXAN(config)#pon-onu-mng gpon-onu_1/3/1:1
ZXAN(gpon-onu-mng)#voip-ctp pots_0/1 signal multi-party
Related Commands
None
15.4.238 voip-ip
Syntax
voip-ip [media ] {ping-response name1 traceroute-response name2 |mode {pppoe [mode name3
] username name4 password name5 vlan-profile name6 [slot number1 ] [host number2 ] |dhcp [id
name7 ] vlan-profile name8 [slot number3 ] [host number4 ] |static ip-profile name9 ip-address
ip_addr1 mask ip_addr2 vlan-profile name10 [slot number5 ] [host number6 ] } }
no voip-ip [slot number1 ] [media ]
Function
This command configures the VoIP IP protocol, which is a VoIP simplified configuration
command.
Parameters
Parameter
Description
Value
media
Media.
name1
name2
pppoe
name3
name4
User name.
125 characters
name5
Password.
125 characters
name6
164 characters
number1
08
number2
Host ID.
1255
15-338
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
dhcp
name7
ONU type.
125 characters
name8
164 characters
number3
08
number4
Host ID.
1255
static
protocol.
name9
IP profile name.
164 characters
ip_addr1
IP address.
ip_addr2
Mask.
name10
164 characters
number5
08
number6
Host ID.
1255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
The parameters for this command are described as follows:
l
l
l
l
The host optional parameter is used to specify an IP host. If this parameter is not
specified, the internal automatically distributed IP host is used.
The slot optional parameter is used to specify a slot for the ONU that requires multiple
voice modules. For an ONU that requires only one voice module, you do not need to
set this parameter or you can set it to 0.
The media optional parameter is used to specify whether the media and signaling use
the same IP address.
One record (without the media parameter) indicates that the media and signaling
use the same IP address.
Two records indicate that the media and signaling use different IP addresses. The
first record is for the signaling and the second one is for the media. The second
record has the media parameter.
The media and signaling under the same ONU can only use the same mode, PPPoE,
static, or DHCP.
When using the no form of this command, delete the voice service configuration first.
15-339
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the VoIP IP protocol to static:
ZXAN(config-gpon)#onu profile ip test static gateway 1.2.3.1
ZXAN(config-gpon)#onu profile vlan vlan-test tag-mode tag cvlan 100
ZXAN(gpon-onu-mng)#voip-ip mode static ip-profile test
ip-address 1.2.3.4 mask 255.255.255.0 vlan-profile vlan-test slot 0
The following example shows how to set the VoIP IP protocol to DHCP:
ZXAN(config-gpon)# onu profile vlan vlan-test tag-mode tag cvlan 100
ZXAN(gpon-onu-mng)#voip-ip mode dhcp vlan-profile vlan-test slot 0
The following example shows how to set the VoIP IP protocol to PPPoE:
ZXAN(config-gpon)#onu profile vlan vlan-test tag-mode tag cvlan 100
ZXAN(gpon-onu-mng)#voip-ip mode pppoe username abcdef
password 111111 vlan-profile vlan-test slot 0
Related Commands
15.1.11 onu profile ip
15.1.25 onu profile vlan
15.4.239 wan
Syntax
wan number1 [{[mtu number2 ] [ethuni name1 ] [ssid name2 ] } ] service {[voip ] [tr069 ] [other
mvlan number3 ] [internet [host number4 [pppoe [[connect name3 ] [proxy name4 ] [release-tim
er {internal |number5 } ] ] ] ] ] }
no wan [number1 ]
Function
This command configures the ONU WAN properties.
Parameters
Parameter
Description
Value
number1
WAN ID
1255
number2
642000
name1
138 characters
15-340
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
138 characters
range: SSID1SSID16
service
voip
VoIP
tr069
TR069
other
Other services
number3
Multicast VLAN
14094
internet
Internet service
number4
1255
pppoe
PPPoE service
name3
name4
disabled
internal
165535
Mode
GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
The parameters for this command are described as follows:
l
l
l
The mtu, ethuni, and ssid optional parameters must be configured before the service
is specified.
If there are other service types besides the Internet service, the Internet service should
be configured after the other services.
If the services contain the Internet service and the connect, proxy, and release-timer
parameters all need to be configured, they are configured in the following sequence:
connect, proxy, and release-timer.
On IP host can be correlated with only one WAN. If multiple WANs are correlated with
one IP host, the configuration will fail and the system will prompt that IP hosts conflict.
Examples
The following example shows how to configures the ONU WAN properties when the
specified services contain other services and the Internet service and the host is specified:
ZXAN(config)#pon-onu-mng gpon-onu_0/2/3:1
15-341
SJ-20130118100307-010|2013-02-28 (R1.0)
tr069 voip other mvlan 4094 internet host 1 pppoe connect on-demand
proxy enable release-timer internal
The following example shows how to configures the ONU WAN properties when the
specified services contain the Internet service and the host is not specified:
ZXAN(gpon-onu-mng)#wan 7 ethuni 1,3,5 mtu 1000 ssid 2,4,6 service internet
The following example shows how to configures the ONU WAN properties when the
specified services contain other services but do not contain the Internet service:
ZXAN(gpon-onu-mng)#wan 8 ethuni 1 ssid 3 service other mvlan 1000
Related Commands
None
15.4.240 wan-ip
Syntax
wan-ip [number1 ] {ping-response name1 traceroute-response name2 |mode {dhcp [id name3 ]
vlan-profile name4 [host number2 ] |static ip-profile name5 ip-address ip_addr1 mask ip_addr2
vlan-profile name6 [host number3 ] |pppoe [mode name7 ] username name8 password name9
vlan-profile name10 [host number4 ] } }
no wan-ip [number1 ]
Function
This command configures the ONU IP properties.
Parameters
Parameter
Description
Value
number1
WAN ID.
1255
name1
name2
dhcp
name3
ONU type.
125 characters
name4
164 characters
number2
Host ID.
1255
static
protocol.
15-342
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
IP profile name.
164 characters
ip_addr1
IP address.
ip_addr2
Mask.
name6
164 characters
number3
Host ID.
1255
pppoe
name7
name8
User name.
125 characters
name9
Password.
125 characters
name10
164 characters
number4
Host ID.
1255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
To cancel the setting, use the no form of this command.
If the WAN ID is not specified, it is 1 by default. If the host ID is not specified, it is allocated
automatically.
The ping-response and traceroute-response parameters can be configured only after the
WAN ID is configured. By default, ping-response is enabled and traceroute-response is
disabled.
Examples
The following example shows how to set the allocation mode to DHCP:
ZXAN(gpon-onu-mng)#wan-ip 1 mode dhcp id id1 vlan-profile v1 host 1
The following example shows how to set the allocation mode to static:
ZXAN(gpon-onu-mng)#wan-ip 1 mode static ip-profile ip1
ip 10.10.10.2 mask 255.255.255.0 vlan-profile v1 host 1
The following example shows how to set the allocation mode to PPPoE:
ZXAN(gpon-onu-mng)#wan-ip 1 mode pppoe mode pap
username aa password bb vlan-profile v1 host 1
15-343
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
15.1.11 onu profile ip
15.1.25 onu profile vlan
15.4.241 weight
Syntax
weight tcont number1 queue number2 number3
Function
This command configures the T-CONT weight.
Parameters
Parameter
Description
Value
number1
T-CONT ID
1256
number2
Queue ID
18
number3
Queue weight
0255
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
None
Examples
The following example shows how to configure the T-CONT weight:
ZXAN(gpon-onu-mng)#weight tcont 1 queue 1 30
Related Commands
None
15.4.242 wifi
Syntax
wifi name1 [radio-measure name2 ] [ssid-isolate name3 ] [work-mode {name4 |802.11b-11g-11n
[bandwidth name5 ] [sgi name6 ] } ] [domain name7 ] [channel number1 ] [tx-rate name8 ] [tx-p
ower-percent name9 ] [qos-type name10 ]
15-344
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the WiFi global parameters.
Parameters
Parameter
Description
Value
name1
default: enabled.
name2
802.11b: IEEE802.11b
802.11g: IEEE802.11g
802.11n: IEEE802.11n
802.11b-11g-11n
20 mhz, 40 mhz
name6
disabled.
name7
Registration zone.
l
chn: China
rus: Russia
bra: Brazil
can: Canada
egy: Egypt
fra: France
ger: Germany
gre: Greece
ita: Italia
kor: Korea
esp: Espana
uk: UK
usa: USA
por: Poland
ltu: LTU
Default: China
15-345
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number1
Channel ID.
013
Sending rate.
Unit: Mbps.
54
name9
name10
Mode
GPON remote ONU configuration mode, GPON ONU MNG mode
Usage Guidelines
l
l
l
When the registration zone is set to Brazil, the working mode can only be set to
802.11b.
When the registration zone is set to Canada or USA, the channel can only be set to
011.
When the working mode is set to 802.11b, the sending rate can only be set to auto, 1
Mbps, 2 Mbps, 5.5 Mbps, or 11 Mbps.
Examples
The following example shows how to disable ONU WiFi globally:
ZXAN(gpon-onu-mng)#wifi disable
The following example shows how to enable ONU WiFi globally and configure the
parameters:
ZXAN(gpon-onu-mng)#wifi enable radio-measure enable ssid-isolate disable
ZXAN(gpon-onu-mng)#wifi enable work-mode 802.11b domain usa channel 1 tx-rate 11
Related Commands
None
15-346
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 16
Port Configuration
Table of Contents
interface ...................................................................................................................16-1
lock ..........................................................................................................................16-2
max-mac-learn .........................................................................................................16-3
monitor session ........................................................................................................16-4
optical-module-alarm-profile .....................................................................................16-5
show interface ..........................................................................................................16-6
show interface optical-module-info ...........................................................................16-9
show interface port-status ......................................................................................16-10
show monitor..........................................................................................................16-10
16.1 interface
Syntax
interface {byname name1 |interface1 }
no interface {byname name1 |interface1 }
Function
This command enters an interface mode, for example, uplink interface, PON interface, or
VLAN. It can also create a smart group, which is a link aggregation group, and enter the
smartgroup interface configuration mode.
Parameters
Parameter
Description
Value
name1
Interface name
interface1
Interface bias
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
In the smartgroup mode, use the no form of this command to delete the configured link
aggregation group.
16-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enter the uplink interface mode:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#
Related Commands
None
16.2 lock
Syntax
lock
no lock
Function
This command locks an interface.
Parameters
None
Mode
wdm-pon-olt interface mode, gpon olt interface mode, epon olt interface mode
Usage Guidelines
After an interface is locked, it is in the shutdown state. In addition, all of its alarms are
cleared and no more alarms will be reported.
After an interface is unlocked, it is in the no shutdown state.
By default, the interface is unlocked.
Examples
The following example shows how to lock the EPON OLT interface 1/4/1:
ZXAN(config)#interface EPON-olt_1/4/1
ZXAN(config-if)#lock
16-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
16.3 max-mac-learn
Syntax
max-mac-learn number1 [vport number2 ]
no max-mac-learn [vport number2 ]
Function
This command configures the maximum number of MAC address that can be dynamically
learned by a user port.
Parameters
Parameter
Description
Value
number1
04095
be learned
number2
1256
Mode
wdm-pon-onu interface mode, gpon onu interface mode, epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to configure the maximum number of dynamically
learned MAC addresses to 128 for the interface EPON-onu_1/4/1:1:
ZXAN(config)#interface EPON-onu_1/4/1:1
ZXAN(config-if)#max-mac-learn 128 vport 1
Related Commands
None
16-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command adds the source and destination ports for a session.
Parameters
Parameter
Description
Value
number1
11
source
cpu
CPU
name1
of the CPU
interface1
Port name
name2
source port
name3
interface2
number2
VLAN ID
14094
number3
Priority
00
name5
ip_addr1
Destination IP address
ip_addr2
Source IP address
number4
Priority level
00
name6
16-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number5
TTL number
1255
number6
DSCP priority
063
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete the port, use the no form of this command.
Each session can be configured with a maximum of eight source ports and one destination
port. Each port cannot be configured as both the source and destination.
If the session ID does not exist, the session will be created first, and then the source and
destination ports are added. If the session already has a destination port, the destination
port configuration does not take effect.
If the source and destination ports of each session are located in the same line interface
card, the system supports a maximum of eight sessions. If the source and destination
ports of a session are not all located in the same line interface card, only one session can
be configured.
The default traffic collection direction is bi-directional.
Examples
The following example shows how to configure a session with the ID as 1. In this example,
the source port is gei_1/19/1 and the traffic collection direction is TX.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#monitor session 1 source direction tx
The following example shows how to configure a session with the ID as 1. In this example,
the destination port is gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#monitor session 1 destination
Related Commands
show monitor session
16.5 optical-module-alarm-profile
Syntax
optical-module-alarm-profile {name1 }
16-5
SJ-20130118100307-010|2013-02-28 (R1.0)
no optical-module-alarm-profile
Function
This command applies an optical module alarm profile on an optical interface.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
L3 gei interface mode, 10G_Ether interface mode: ZXAN(config-if)#, ptp interface mode,
and others
Usage Guidelines
None
Examples
The following example shows how to apply the optical module alarm profile to the optical
interface gei_1/19/3:
ZXAN(config)#interface gei_1/19/3
ZXAN(config-if)#optical-module-alarm-profile zte
Related Commands
None
Function
This command displays the interface attributes and statistical information.
Parameters
Parameter
Description
Value
interface1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about loopback interface 1
ZXAN(config)#show interface loopback1
loopback1 is up,
line protocol is up
Description is none
Keepalive set:10 sec
Internet address is unassigned
MTU 1500 bytes
MRU 1500 bytes
BW 8000000 Kbits
The following example shows how to display the information about the interface Null1:
ZXAN(config)#show interface null1
null1 is up,
line protocol is up
Description is none
Keepalive set:10 sec
Internet address is unassigned
MTU 1500 bytes
MRU 1500 bytes
BW 10000000 Kbits
The following example shows how to display the information about the interface
smartgroup1:
ZXAN#show interface smartgroup1
smartgroup1 is up,
Description is none
Keepalive set:10 sec
VLAN mode is hybrid, pvid 1
The following example shows how to display the information about the interface VLAN1:
ZXAN#show interface vlan1
vlan1 is up,
line protocol is up
Description is none
Keepalive set:10 sec
MAC address is 00d0.d0c7.ffe0
ARP Timeout:00:05:00
Internet address is unassigned
MTU 1500 bytes
MRU 1500 bytes
BW 1000000 Kbits
The following example shows how to display the information about the interface gei_1/21/1:
16-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Description is none
Keepalive set:10 sec
The port negotiation is enable
The port is optical
The optical Module Information
RxPower
N/A
TxPower
N/A
Bias-Current :
N/A
Laser-Rate :
N/A
Supply-Vol
N/A
Wavelength :
N/A
Temperature
N/A
Vender-PN
Vender-Name
Duplex full
scramble payload-enable
VLAN mode is hybrid, pvid 1
BW 1000000 Kbits
0 Bps,
0 pps
0 Bps,
0 pps
:
0 Bps, output
0.000%,
0 Bps
output
0.000%
Input:
Packets
: 0
Bytes
Unicasts
: 0
Multicasts: 0
: 0
Broadcasts
: 0
Undersize : 0
Description
gei_0/5/1 is down
line protocol is up
Description
Port description
Duplex
vlan
MTU
16-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Item
Description
BW
MAC
InputOutputTotal
Related Commands
None
Function
This command displays the information about the optical module inserted in the specified
interface.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
This command supports only optical interfaces.
Examples
The following example shows how to display the information about the optical module
inserted in the interface epon-olt_1/5/1:
ZXAN(config)#show interface optical-module-info epon-olt_1/5/1
Related Commands
None
16-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command shows the attribute information of an Ethernet interface .
Parameters
Parameter
Description
Value
interface1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to query the basic attributes of the Ethernet interface
gei_1/19/1:
ZXAN(config-if)#show interface port-status gei_1/19/1
----------------------------------------------------------------------------Port
hybrid
Native Negotiation
Speed
Status
VLAN
(Mbps)
auto
Duplex FlowCtrl
Admin
Link
Status
----------------------------------------------------------------------------gei_1/19/1
optical
enable
1000
full
disable activate
down
Related Commands
None
Function
This command displays the detailed information about the configured session.
16-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show monitor session 1
Session 1
-----------Source Ports:
Port: gei_0/5/1
Destination Port:
Port:
Related Commands
16-11
SJ-20130118100307-010|2013-02-28 (R1.0)
16-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 17
CES Commands
Table of Contents
CES Global Property Management...........................................................................17-1
CES-PW Service Property Management ................................................................17-19
CES-TDM Interface Property Management ............................................................17-29
Function
This command is used to configure the structure attributes of the card frame.
Parameters
Parameter
Description
Value
number1
Slot number
1-22
unframed
unframed
name1
framed master/subordinate
mode
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
The card to be configured by using this command must support the switch between the
framed mode and the unframed mode. The CTUB card is included.
By default, the card is configured to be in unframed mode.
Examples
The following example shows how to set the mode of the CTUB card in Slot 3 to be framed
master.
17-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
17.1.11 show ces card-frametype
17.1.2 ces
Syntax
ces
Function
This command enters CES global configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to enter CES global configuration mode:
ZXAN(config)#ces
ZXAN(config-ces)#
Related Commands
None
17.1.3 interface-speed
Syntax
interface-speed slotno number1 name1
Function
This command is used to configure the SDH interface speed.
17-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Slot number
1-22
name1
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
The card to be configured by using this command must be SDH card. the CTLA card is
included.
For the CTLA card, when the speed is set to 155M (STM-1), two optical interfaces are
available. When the speed is set to 622M (STM-4), only one optical interface is available.
The default speed is 155M (STM-1).
Examples
The following example shows how to set the interface speed of the CTLA card in Slot 15
to 622M (STM-4).
ZXAN(config)#ces
ZXAN(config-ces)# interface-speed slotno 15 622M
Related Commands
17.3.8 show ces interface
17.1.4 ip-address
Syntax
ip-address ipv4 ip_addr1 name1
no ip-address
Function
This command configures the source IP address.
Parameters
Parameter
Description
Value
ip_addr1
IP address
name1
17-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
ces global configuration mode
Usage Guidelines
l
l
l
l
For the PDH cards, including CTBB, CTTB, and CTUB, each card only has one IP
address.
For the SDH cards, including CTLA, each card has two IP addresses for two user
interfaces.
By default, the source IP address is an IPv4 address in the format of 192.192.192.x,
X is Slot number * 2 and Slot number *2 +1.
The source IP address cannot be modified when a PW exists in the corresponding
slot.
Examples
The following example shows how to configure the source IP address:
ZXAN(config-ces)#ip-address ipv4 100.1.1.1 5/1
Related Commands
17.1.12 show ces global-prop
17.1.5 line-coding
Syntax
line-coding slotno number1 name1
Function
This command is used to configure the code type of the PDH interface.
Parameters
Parameter
Description
Value
number1
Slot number
1-22
name1
Code type
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
The card to be configured by using this command must be card with the PDH
interfaces, including CTBB, CTTB, and CTUB.
17-4
SJ-20130118100307-010|2013-02-28 (R1.0)
l
l
l
This command is used to configure the code type of all the PDH interfaces on one
card.
For E1 interface card, including CTBB and CTUB, the default code type is HDB3, and
it can set to be HDB3 or AMI.
For the T1 interface card, including CTTB, the default code type is B8ZS, and it can
be set to be B8ZS or AMI.
Examples
The following example shows how to set the interface code type of the CTTB card in Slot
7 to AMI.
ZXAN(config)#ces
ZXAN(config-ces)#line-coding slotno 7 AMI
Related Commands
17.3.8 show ces interface
17.1.6 mac-address
Syntax
mac-address hexadecimal1 name1
Function
This command configures a source MAC address.
Parameters
Parameter
Description
Value
hexadecimal1
hexadecimal format.
name1
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
l
l
For the PDH cards, including CTBB, CTTB, and CTUB, each card only has one MAC
address.
For the SDH cards, including CTLA, each card has two MAC addresses for two user
interfaces.
By default, the source MAC address is 0015.EB72.X, X is Slot number * 2 and Slot
number *2 +1.
17-5
SJ-20130118100307-010|2013-02-28 (R1.0)
The source MAC address cannot be modified when a PW exists in the corresponding
slot.
Examples
The following example shows how to configure a source MAC address:
ZXAN(config-ces)#mac-address 0015.eb72.0001 5/1
Related Commands
17.1.12 show ces global-prop
17.1.7 perf-clear-current
Syntax
perf-clear-current {ms |rs |msrei |b3 name1 |v5 name2 |v5rei name3 |b3rei name4 } {15-min
|data }
Function
This command is used to clear the SDH performance data.
Parameters
Parameter
Description
Value
ms
ms performance point
rs
rs performance point
msrei
b3
b3 performance point
name1
v5 performance point
name2
of augno/auno/tug3no/tu2/tu12
v5rei
name3
of augno/auno/tug3no/tu2/tu12
b3rei
name4
17-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
15-min
Mode
TDM interface mode: ZXAN(config-if)#
Usage Guidelines
l
l
l
l
This command is used to clear the SDH performance data within the 15 minutes or
clear all the SDH performance data.
When the SDH performance data within the 15 minutes is cleared, the history data
will not be cleared.
When all the SDH performance data is cleared, the SDH performance data within the
15 minutes is cleared, and it is the same with the history data.
The SDH performance data includes b3, b3rei, ms, msrei, rs, v5, and v5rei data.
Examples
The following example shows how to clear the rs performance data within the 15 minutes
of the CTLA card in Slot 5.
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#perf-clear-current rs 15-min
Related Commands
17.1.8 pw
Syntax
pw name1
no pw name1
Function
This command creates a PW and starts ces-pw configuration mode.
Parameters
Parameter
Description
Value
name1
PW name
17-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
To delete a PW, use the no pw command.
Examples
The following example shows how to create a PW and starts ces-pw configuration mode:
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/12/1
ZXAN(config-ces-pw)#
Related Commands
None
17.1.9 sdhprot
Syntax
sdhprot group name1 worksdhport name2 protectsdhport name3 1plus1
no sdhprot group name1
Function
This command creates an SDH protection group.
Parameters
Parameter
Description
Value
name1
name2
name3
1plus1
Constant value
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create an SDH protection group:
ZXAN(config-ces)#sdhprot group aaa worksdhport tdm_1/3/1
protectsdhport tdm_1/4/1 1plus1
Related Commands
17.1.13 show ces sdhprot group count
17.1.14 show ces sdhprot group prop
Function
This command initiates a protection switching.
Parameters
Parameter
Description
Value
name1
name2
force or manual
manual.
name3
Switching direction:
l
lockoutprotect
Mode
CES global configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
17-9
SJ-20130118100307-010|2013-02-28 (R1.0)
When this command initiates a forcible switching, the current working card does not
respond to any other switching command or switching request triggered by alarm
unless the forcible switching command is cancelled.
When this command initiates a manual switching, the current working card responds to
other switching commands. If an alarm occurs in the current working card, the system
switches to the protection card. After the alarm is cleared, the system automatically
switches to the working card.
Examples
The following example shows how to initiate a forcible protection switching from the
working port to the protection port:
ZXAN(config)#ces
ZXAN(config-ces)#sdhprot switch-command group aaa force w2p
Related Commands
17.1.15 show ces sdhprot request
Function
This command is used to display the frame type information of the CES card.
Parameters
Parameter
Description
Value
number1
Slot number
1-22
Mode
All the modes except the user mode
Usage Guidelines
This command can be used to display the frame type information of the card in one slot or
all the CES card in one shelf.
Examples
The following example shows how to display the frame type information of the CTUB card
in Slot 6.
ZXAN(config)#show ces card-frametype slot 6
17-10
SJ-20130118100307-010|2013-02-28 (R1.0)
frametype
clockmode
cardtype
------------------------------------------------------------6
framed
master
CTUB
Related Commands
17.1.1 card-frametype
Function
This command displays CES global configuration.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display CES global configuration:
ZXAN(config)# show ces global-prop
slot/port
sourceMac
source IP
--------------------------------------------------4/1
0015.eb72.0008
120.1.1.1
11/1
0015.eb72.0016
N/A
11/2
0015.eb72.0017
N/A
Related Commands
17.1.6 mac-address
17.1.4 ip-address
17-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the count of existing SDH protection groups.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
This command is used to display only the protection group number and name.
Examples
The following example shows how to display the count of existing SDH protection groups:
ZXAN(config)# show ces sdhprot group count
Related Commands
17.1.9 sdhprot
17.1.14 show ces sdhprot group prop
Function
This command displays the details of an SDH protection group.
Parameters
Parameter
Description
Value
name1
17-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
This command is used to display the detailed configuration information of the SDH
protection group.
Examples
The following example shows how to display the details of an SDH protection group:
ZXAN(config)# show ces sdhprot group prop
Related Commands
17.1.9 sdhprot
17.1.13 show ces sdhprot group count
Function
This command displays all switching requests of an SDH protection group, including alarm
requests and external switching requests.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
This command can be used to display the alarm information of the highest level, external
configuration commands, and the request information resulting in the SDH protection group
changeover.
Examples
The following example shows how to display all switching requests of the SDH protection
group with the name test:
17-13
SJ-20130118100307-010|2013-02-28 (R1.0)
zte
Protect interface:
tdm_1/17/1
Work interface:
tdm_1/5/1
Alarm request:
WorkChannel:
ProtectChannel:
LOS
LOS
External request:
no-request
no-request
Related Commands
17.1.10 sdhprot switch-command
Function
This command displays switching commands related to an SDH protection group.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display switching commands related to an SDH
protection group:
ZXAN(config)# show ces sdhprot switch-command
group name
switch-mode
................................................................
zte
force_p2w
17-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
17.1.10 sdhprot switch-command
Function
This command displays the details of a TDM profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the details of available TDM profile for PW:
ZXAN(config)#show ces tdm-profile
Profile name :
zte
Payload size(bytes) :
32
Reorder:
enable
RtpHdr :
used
Ssrcval:
JtrBfr :
2000
ConsecPktsInSynch :
PktsOutSync :
10
PacketReplacePolicy :
AIS
AlarmThreshold(ms):
2500
TimeStampMode:
differential
ClearAlarmThreshold(ms):10000
QueueSize(bytes):
Related Commands
17.1.19 tdm-profile
17-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command is used to display the CES performance.
Parameters
Parameter
Description
Value
ms
ms performance
interface1
tdm_shelf/slot/port
msrei
msrei performance
interface2
tdm_shelf/slot/port
b3rei
b3rei performance
name1
shelf/slot/port/augno/auno
b3
b3 performance
name2
SDH AU number
rs performance point
interface3
tdm_shelf/slot/port
v5rei
v5rei performance
name3
of shelf/slot/port/augno/auno/tug3no/tu2/tu12
v5
v5 performance
name4
of shelf/slot/port/augno/auno/tug3no/tu2/tu12
wanport
PW performance
17-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
PW name
current
Current value
current-15min-interval
current 15 minutes
number1
History data
1-96
Mode
All the modes except the user mode
Usage Guidelines
This command is used to display the performance of b3, b3rei, ms, msrei, rs, v5, v5rei,
and wanport.
For the SDH card (CTLA), it can be used to display all the performances.
For the PDH card (CTBB, CTTB, and CTUB), it can only be used to display the wanport
performace.
The PW wanport performance can be displayed after PW is configured. The SDH
performcen (b3, b3rei, ms, msrei, rs, v5, and v5rei) can be displayed at any time.
Examples
The following example is used to display the wanport performance of pw_1/5/1.
ZXAN(config-ces)#show performance ces wanport pw_1/5/1 current
CES-PW pw_1/5/1 current performance data:
-----------------------------------------------CesPwEarlyPkts
:0;
CesPwLatePkts
:0;
CesPwUnderrunPkts
:0;
CesPwLostPkts
:0;
CesPwRxPkts
:0;
CesPwTxPkts
:0;
CesPwCurQueueLen
:0;
CesPwAvgQueueLen
:0;
CesPwMaxQueueLen
:0;
CesPwMinQueueLen
:0;
Related Commands
None
17-17
SJ-20130118100307-010|2013-02-28 (R1.0)
17.1.19 tdm-profile
Syntax
tdm-profile name1 number1 reorder name2 {[rtpHdr name3 number2 ] [jtrBfr number3 ] [payloa
dSuppression name4 ] [inSyncPkts number4 ] [outSyncPkts number5 ] [pktReplacePolicy name5
] [almThreshold number6 ] [clrAlmThreshold number7 ] } timestamp-mode name6 number8
no tdm-profile name1
Function
This command configures a TDM profile.
Parameters
Parameter
Description
Value
name1
Profile name.
number1
Payload size.
241500
name2
resorting function.
name3
required.
number2
SSRC.
04294967295
number3
14294967295
name4
is required.
number4
InSyncPkts size.
14294967295
number5
OutSyncPkts size.
14294967295
name5
number6
14294967295
number7
14294967295
name6
number8
110
Mode
ces global configuration mode
Usage Guidelines
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
TDM profiles applied to the same slot must have the same RTP.
Examples
The following example shows how to configure a TDM profile:
ZXAN(config)#ces
ZXAN(config-ces)#tdm-profile zte 64 reorder
enable rtpHdr enable 0 jtrBfr 2000 payloadSuppression
disable inSyncPkts 2 outSyncPkts 10 pktReplacePolicy ais
almThreshold 2500 clrAlmThreshold 10000 timestamp-mode
absolute 6
Related Commands
ZXAN(config-ces)#show ces tdm-profile
Function
This command configures a PW alias.
Parameters
Parameter
Description
Value
name1
PW alias
Mode
ces-pw configuration mode
Usage Guidelines
The PW alias is only available in the NMS. It cannot be displayed on a CLI.
Examples
The following example shows how to configure a PW alias:
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/5/1
ZXAN(config-ces-pw)#name zte
17-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the Ethernet packet attributes at the PW packet switching side.
Parameters
Parameter
Description
Value
name1
0xXXXXX102.
The PWs of the same slot have
different common attributes.
name2
0xXXXXX102.
The PWs of the same slot have
different common attributes.
hexadecimal1
VLAN ID.
14094
number2
CVLAN ID
14094
number3
Priority.
07
Default: 7.
A greater value indicates a
higher priority.
Mode
CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
The psn ethernet command and the tdm-service command are both used to perform
one PW configuration.
17-20
SJ-20130118100307-010|2013-02-28 (R1.0)
l
l
To configure one PW, it is necessary to select one command among the psn ethernet,
psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command.
When TDM interface bound with the PW is added to the protection group, the cvlan
parameter of the command is not specified, the value will be generated automatically,
otherwise the protection does not work.
Because the PW service has a high requirements on the network, it is recommend to
specify a higher value for the priority parameter.
None
Examples
The following example shows how to configure the PSN Ethernent attribute of pw_1/5/1.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/5/1
ZXAN(config-ces-pw)#psn ethernet 0x1102 0x1102
dst-mac 0015.eb72.0002 vlan 1000 priority 7
Related Commands
17.2.3 psn ip
17.2.4 psn mef8
17.2.5 psn mpls-double
17.2.8 tdm-service
17.2.6 show ces pw count
17.2.7 show ces pw prop detail
17.2.3 psn ip
Syntax
psn ip number1 number2 ipv4 ip_addr1 dst-mac hexadecimal1 vlan number3 [cvlan number4 ]
[priority number5 ]
Function
This command is used to configures the IP packet attributes at PW packet switching side.
Parameters
Parameter
Description
Value
number1
165535
number2
165535
ip_addr1
IP address.
17-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
hexadecimal1
hexadecimal format.
number3
VLAN ID.
14094
number4
CVLAN ID
14094
number4
Priority.
07
Default: 7.
A greater value indicates a
higher priority.
Mode
CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
l
l
The psn ip command and the tdm-service command are both used to perform one PW
configuration.
To configure one PW, it is necessary to select one command among the psn ethernet,
psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command.
When TDM interface bound with the PW is added to the protection group, the cvlan
parameter of the command is not specified, the value will be generated automatically,
otherwise the protection does not work.
Because the PW service has a high requirements on the network, it is recommend to
specify a higher value for the priority parameter.
Examples
The following example shows how to configure the PSN IP attributes of pw_1/5/1.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/5/1
ZXAN(config-ces-pw)#psn ip 1 1 ipv4 192.168.0.1
dst-mac 0015.eb72.0002 vlan 1000 priority 7
Related Commands
17.2.2 psn ethernet
17.2.4 psn mef8
17.2.5 psn mpls-double
17.2.8 tdm-service
17.2.6 show ces pw count
17.2.7 show ces pw prop detail
17-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command is used to configure the attribute of the Ethernet packets defined by MEF8
protocol at the PW packet switching side.
Parameters
Parameter
Description
Value
name1
1-1048575
hexadecimal form
name2
1-1048575
or hexadecimal form
hexadecimal1
dotted form
number1
VLAN ID
1-4094
number2
CVLAN ID
1-4094
number3
VLAN priority
0-7
Default value: 7
Mode
CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
l
l
The psn mef8 command and the tdm-service command are both used to perform one
PW configuration.
To configure one PW, it is necessary to select one command among the psn ethernet,
psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command.
When TDM interface bound with the PW is added to the protection group, the cvlan
parameter of the command is not specified, the value will be generated automatically,
otherwise the protection does not work.
Because the PW service has a high requirements on the network, it is recommend to
specify a higher value for the priority parameter.
Examples
The following example shows how to configure the attributes of psn mef8 of pw_1/5/1.
ZXAN(config)#ces
17-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
Related Commands
17.2.2 psn ethernet
17.2.3 psn ip
17.2.5 psn mpls-double
17.2.8 tdm-service
17.2.6 show ces pw count
17.2.7 show ces pw prop detail
Function
This command is used to configure the attributes of the MPLS double-tagged packets at
the PW packet switching side.
Parameters
Parameter
Description
Value
name1
1-1048575
hexadecimal form
name2
1-1048575
or hexadecimal form
name3
1-1048575
hexadecimal form
name4
1-1048575
or hexadecimal form
hexadecimal1
dotted form
number1
VLAN ID
1-4094
17-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
CVLAN ID
1-4094
number3
VLAN priority
0-7
Default value: 7
Mode
CES-PW configuration mode: ZXAN(config-ces)#
Usage Guidelines
l
l
l
The psn mpls-double command and the tdm-service command are both used to
perform one PW configuration.
To configure one PW, it is necessary to select one command among the psn ethernet,
psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command.
When TDM interface bound with the PW is added to the protection group, the cvlan
parameter of the command is not specified, the value will be generated automatically,
otherwise the protection does not work.
Because the PW service has a high requirements on the network, it is recommend to
specify a higher value for the priority parameter.
Examples
The following example shows how to configure the attribute of psn mpls-double of
pw_1/5/1.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/5/1
ZXAN(config-ces-pw)#psn mpls-double 1 1 1 1
dst-mac 0015.eb72.0002 vlan 100 priority 7
Related Commands
17.2.2 psn ethernet
17.2.3 psn ip
17.2.4 psn mef8
17.2.8 tdm-service
17.2.6 show ces pw count
17.2.7 show ces pw prop detail
Function
This command queries existing PWs.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
l
l
This command is only used to display the PW name created, and the detailed
configuration information will not be displayed.
After the command is executed, the status information of the PW is displayed. Active
indicates the configuration is completed, and Inactive indicates that the configuration
is not completed.
Examples
The following example shows how to query existing PWs:
ZXAN(config)#show ces pw count
PW
Status
-----------------------------------------pw_1/5/1
Active
Related Commands
17.2.2 psn ethernet
17.2.7 show ces pw prop detail
Function
This command is used to display the detailed configuration information of a PW.
Parameters
Parameter
Description
Value
name1
PW name (shelf/slot/pwId)
17-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
This command can be used to query the details of multiple PWs at a time.
Examples
The following example shows how to display the detailed configuration information of a
PW (pw_1/5/1):
ZXAN(config)#show ces pw prop detail pw_1/5/1
pw pw_1/5/1
PwType: e1Satop
PsnType: ethernet
Admin-status: enable
OuterInboundLabel:N/A
OuterOutboundLabel:N/A
InboundLable
OutboundLable
:0x1102
:0x1102
Service prop:
Using tdm interface: tdm_1/5/1.1/1/1/1/1
Using TimeSlot
: N/A
TDM-prop profile
: default
Psn prop:
Destination Mac Address:
0015.EB72.0002
SVlan ID:
100
CVlan ID:
1024
priority:
Card prop:
Card interface :
5/1
Related Commands
17.2.2 psn ethernet
17.2.6 show ces pw count
17.2.8 tdm-service
Syntax
tdm-service type name1 rate number1 {name2 |name3 |name4 } [timeslot name5 ] [tdm-profilename name6 ]
17-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures service-side properties of a PW.
Parameters
Parameter
Description
Value
name1
number1
0-4294967295
name2
of tdm_shelf/slot/e1
name3
associated TDM
Mode
ces-pw configuration mode
Usage Guidelines
l
l
l
To configure one PW, it is necessary to select one command among the psn ethernet,
psn ip, psn mef8, and psn mpls-double commands, and use the tdm-service command.
The RTP attributes of all the TDM attribute profiles related to the PW in one slot must
be the same.
It is necessary to configure the timeslot parameter for the framed PW configuration.
The timeslot parameter will not be configured for the unframed PW configuration.
Examples
The following example shows how to configure the tdm-service attribute of pw_1/5/1.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_1/5/1
ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32
tdm_1/5/1.1/1/1/1/1
17-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
17.2.2 psn ethernet
17.2.3 psn ip
17.2.4 psn mef8
17.2.5 psn mpls-double
17.2.6 show ces pw count
17.2.7 show ces pw prop detail
Function
This command enables or disables the administration on ports of a PW.
Parameters
Parameter
Description
Value
name1
PW name
Mode
TDM interface mode: ZXAN(config-if)#
Usage Guidelines
l
l
l
Examples
The following example shows how to enable the administration on PW 1/5/1:
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#admin-status enable
Related Commands
17.3.8 show ces interface
17-29
SJ-20130118100307-010|2013-02-28 (R1.0)
17.3.2 au-3
Syntax
au-3 name1
Function
This command enters au-3 configuration mode.
Parameters
Parameter
Description
Value
name1
Mode
TDM interface mode: ZXAN(config-if)#
Usage Guidelines
l
l
l
The card to be configured by using this command must be SDH card. The CTLA card
is included.
In AU-3 configuration mode, AU-3SDH
AU-3-TU-11
Only when none of the time slots of all the interfaces in one slot is bound with PW,
can the mapping type be modified.
Examples
The following example shows how to enter the AU-3 configuration mode for the CTLA 1
interface in Slot 5.
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#au-3 1/1
ZXAN(config-if-au3)#
Related Commands
17.3.8 show ces interface
17.3.3 au-4 tug-3
Function
This command starts au-4 tug-3 configuration mode.
Parameters
Parameter
Description
Value
name1
Mode
TDM interface mode: ZXAN(config-if)#
Usage Guidelines
l
l
The card to be configured by using this command must be SDH card. The CTLA card
is included.
Only when none of the time slots of all the interfaces in one slot is bound with PW,
can the mapping type be modified.
Examples
The following example shows how to enter the AU-4 TUG-3 configuration mode for the
CTLA 1 interface in Slot 5.
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#au-4 tug-3 1/1/1
ZXAN(config-if-tug3)#
Related Commands
17.3.8 show ces interface
17.3.2 au-3
17.3.4 clock-source
Syntax
clock-source name1
Function
This command configures the transmit clock source of a TDM interface.
17-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Default: adaptive
Mode
TDM interface mode: ZXAN(config-if)#
Usage Guidelines
The default clock source configuration is adaptive. The clock source configuration of a
TDM interface cannot be modified if this interface is associated with a PW.
Examples
The following example shows how to configure the transmit clock source of TDM interface
1 in slot 6 to differential.
ZXAN(config)#interface tdm_1/6/1
ZXAN(config-if)#clock-source differential
Related Commands
17.3.8 show ces interface
17.3.5 loopback
Syntax
loopback name1
Function
This command configures the loopback mode of a TDM interface.
Parameters
Parameter
Description
Value
name1
Mode
tdm interface mode
Usage Guidelines
l
This command is used to configure the loopback type of the TDM interface. When the
interface is SDH interface, the whole interface will be configured. When the interface
is PDH interface, the PDH interface is configured.
17-32
SJ-20130118100307-010|2013-02-28 (R1.0)
The loopback mode of a TDM interface can be set to noLoop, lineloop, or inwardloop.
Examples
The following example shows how to set the loopback type of the interface of CTLA in Slot
5 to inwardLoop.
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#loopback inwardLoop
Related Commands
17.3.8 show ces interface
17.3.6 perf-clear-current
Syntax
perf-clear-current {ms |rs |msrei |b3 name1 |v5 name2 |v5rei name3 |b3rei name4 } {15-min
|data }
Function
This command is used to clear the SDH performance data.
Parameters
Parameter
Description
Value
ms
ms performance point
rs
rs performance point
msrei
b3
b3 performance point
name1
v5 performance point
name2
of augno/auno/tug3no/tu2/tu12
v5rei
name3
of augno/auno/tug3no/tu2/tu12
b3rei
name4
Parameter
Description
Value
15-min
Mode
TDM interface mode: ZXAN(config-if)#
Usage Guidelines
l
l
l
l
This command is used to clear the SDH performance data within the 15 minutes or
clear all the SDH performance data.
When the SDH performance data within the 15 minutes is cleared, the history data
will not be cleared.
When all the SDH performance data is cleared, the SDH performance data within the
15 minutes is cleared, and it is the same with the history data.
The SDH performance data includes b3, b3rei, ms, msrei, rs, v5, and v5rei data.
Examples
The following example shows how to clear the rs performance data within the 15 minutes
of the CTLA card in Slot 5.
ZXAN(config)#interface tdm_1/5/1
ZXAN(config-if)#perf-clear-current rs 15-min
Related Commands
17.3.7 range
Syntax
range
Function
This command displays the port list of range.
Parameters
None
Mode
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the port list of range:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#range
Portlist of the range:
gei_1/19/1
Related Commands
None
Function
This command displays the configuration of an interface or a list of interfaces.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
l
l
When this command is used to display the PDH card information, only the PDH
interface configuration information is displayed.
When this command is used to display the SDH card information, the SDH interface
configuration information is displayed. The SDH time slot information is also displayed
based on the mapping type. If the mapping type is other, no time slot information is
displayed.
This command can also be used to display the configuration information of the
specified interface s in batch.
17-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display the configuration of the interface tdm_1/6/1:
ZXAN(config)#show ces interface tdm_1/6/1
Interface :tdm_1/6/1
Line type
: e1
Line coding
:HDB3
Opr status
:N/A
Loop status
Impedance
: noLoop
:75 Ohm
Related Commands
17.3.1 admin-status
17.3.4 clock-source
17.3.5 loopback
17-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 18
Clock Commands
Table of Contents
Clock Module Management ......................................................................................18-1
1588 Module Management .....................................................................................18-15
Function
This command configures the system clock selection mode for a card.
Parameters
Parameter
Description
Value
number1
122
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
This command is used to configure the clock source selection mode for a card. If the
selection mode is configured for a card, the card selects a clock source by using the
configured mode upon startup.
If no clock source selection mode is configured, or the no card-clock command is used
to cancel the setting, the card selects a clock source depending on the default running
status of the card version.
18-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the system clock of CTLA card in Slot 5 as the
backplane clock.
ZXAN(config)#clock
ZXAN(config-clock)#card-clock slotno 5 backplane
Related Commands
18.1.8 show card-clock
18.1.2 clock-mode
Syntax
clock-mode name1
Function
This command configures the clock mode: QL enable or QL disable.
Parameters
Parameter
Description
Value
name1
QL-disable
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
This command is used to decide the clock source selection of the clock system based
on the QL quality.
When the clock mode is set to disable, the clock operates in QL disable mode.
Examples
The following example shows how to configure the clock mode to QL diaable:
ZXAN(config)#clock
ZXAN(config-clock)# clock-mode QL-disable
Related Commands
18.1.9 show clock config
18-2
SJ-20130118100307-010|2013-02-28 (R1.0)
18.1.3 dpll-adjust
Syntax
dpll-adjust {[range name1 number1 ] [offset name2 number2 ] }
Function
This command adjusts the offset threshold, and positive or negative offset of the PPL.
Parameters
Parameter
Description
Value
name1
020
name2
benchmark
number2
020
PPM)
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
This command is used as a debug command, and the debug results will not be saved.
When the command is used twice, the second operation will make an adjustment
based on the previous one.
Examples
The following example shows how to adjust the PPL offset threshold and offsets:
ZXAN(config-clock)# dpll-adjust offset LEFT 10 range ADD 10
Related Commands
None
18.1.4 external-input
Syntax
external-input name1 {ssm name2 |quality name3 } mode name4
18-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures external input clock.
Parameters
Parameter
Description
Value
name1
name2
name3
name4
source
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
Use the source command to add an external clock, and then use this command to configure
the quality level and input mode for the external clock.
Examples
The following example shows how to configure an external input clock:
ZXAN(config)#clock
ZXAN(config-clock)#source 1/20/1 type external priority 1
ZXAN(config-clock)#external-input 1/20/1 quality sec mode bits
Related Commands
18.1.14 source
18.1.9 show clock config
18.1.5 external-output
Syntax
external-output {{[{minssm name1 |ssmThreshold name2 } ] [mode name3 ] } |name4 }
Function
This command configures an external output clock source.
18-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
output.
name2
output.
name3
clock source.
name4
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
This command configures the mode and threshold for the output of an external clock
source.
The clock output is enabled only when the system clock quality is equal to or greater
than the SSM threshold.
Examples
The following example shows how to configure an external output clock source:
ZXAN(config)#clock
ZXAN(config-clock)#external-output ssmThreshold sec mode bits
Related Commands
18.1.9 show clock config
18.1.6 internal-output
Syntax
internal-output slot number1 port name1 name2
Function
This command controls the configuration of clock that is output by the main control card to
the entire system.
18-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Slot number
0255
name1
Clock type
name2
source
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
This command enables or disables all clock types for all slots.
All types of clocks in all the slots are opened by default.
Examples
The following example shows how to open all the types of the clocks.
ZXAN(config)#clock
ZXAN(config-clock)#internal-output slot 20 port all on
Related Commands
None
18.1.7 set
Syntax
set {[wtr number1 ] [holdofftime number2 ] }
Function
This command configures global operating mode and clock-related parameters.
Parameters
Parameter
Description
Value
number1
012
Unit: minute
Default: 5 minute
number2
3001800
Unit: mm
Default: 300 ms
18-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
Time to wait for alarm: The period from the alarm detection to the alarm confirmation.
Time to wait for recovery: The period from the alarm recovery to the alarm recovery
confirmation.
Examples
The following example shows how to set WTR to 300 ms, and hold-off time to 5 minutes.
ZXAN(config)#clock
ZXAN(config-clock)#set holdofftime 500 wtr 10
Related Commands
18.1.9 show clock config
Function
This command displays the clock mode configuration of a card in a slot.
Parameters
Parameter
Description
Value
number1
Slot number
122
Mode
All modes except user mode
Usage Guidelines
This command shows the clock mode configuration of cards in all slots when no slot
number is specified in the command.
Examples
The following example shows how to display the clock mode configuration of the CTLA
card in Slot 5.:
ZXAN(config-clock)#show card-clock slotno 5
18-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
18.1.1 card-clock
Function
This command displays the configuration of the clock source and output clock.
Parameters
Parameter
Description
Value
name1
master or slave
Mode
All modes except user mode
Usage Guidelines
This command displays the available optional clock sources in order of decreasing
priorities in separate lines: external input clock source configuration, and external output
clock source configuration.
Examples
The following example show how to display the configuration of the clock source and output
clock.
ZXAN(config)#show clock config
interface
type
priority
ssm
mode
status
remarks
......................................................................
1/20/1
external
qlsec
bits
source
1/20/3
external
253
qlsec
bits
output
external-clock: balance
18-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command queries the ESMC status of clock ports.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the ESMC status of clock ports:
ZXAN(config)#show clo interface esmc
interface
port_type
esmc
.............................................
1/22/1
synce
enable
Related Commands
18.1.17 switch
Function
This command queries the SSM statuses of clock ports.
18-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query SSM status of clock ports:
ZXAN(config)#show clock interface ssm-send
interface
port_type
ssm-send
.............................................
1/22/1
synce
qlsec
Related Commands
18.1.15 ssm-send
Function
This command displays the active clock source.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the active clock source:
ZXAN(config-clock)#
18-10
SJ-20130118100307-010|2013-02-28 (R1.0)
: 1/10/0
Type
: internal
Quality Level: 11
Status
: FreeRun
Warning
Operation
: none
Related Commands
18.1.14 source
18.1.17 switch
Function
This command queries alarms of all configured clock sources.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query alarms of clock sources:
ZXAN(config)#show clock source alarm
interface
type
priority
ssm-received alarm
...........................................................................
1/20/1
external
undef
loss of signal
Related Commands
18.1.14 source
18-11
SJ-20130118100307-010|2013-02-28 (R1.0)
18.1.14 source
Syntax
source name1 {type name2 priority number1 |priority number2 }
no source {priority number3 |id name1 }
Function
This command adds a clock source reference.
Parameters
Parameter
Description
Value
name1
name2
number1
1250
number2
1250
number3
1255
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
When this command is used to modify the attribute of the clock source, only the priority
of the clock source can be modified.
To configure the external input clock, both the source command and the external-input
command are used together.
Examples
The following example shows how to add a reference clock source:
ZXAN(config)#clock
ZXAN(config-clock)#source 1/20/1 type external priority 1
ZXAN(config-clock)#external-input 1/20/1 quality sec mode bits
Related Commands
None
18-12
SJ-20130118100307-010|2013-02-28 (R1.0)
18.1.15 ssm-send
Syntax
ssm-send name1 name2
no ssm-send name1
Function
This command sets an SMM byte to be sent.
Parameters
Parameter
Description
Value
name1
name2
Quality level
Mode
clock global configuration mode
Usage Guidelines
This command sets the value of an SSM byte sent by a port. The port neglects the value of
the SSM byte automatically assigned by the clock and sets the SSM value to the configured
on forcibly.
Examples
The following example shows how to set the value of the SSM byte to be sent on a port:
ZXAN(config)#clock
ZXAN(config-clock)#ssm-send 1/21/1 qlsec
Related Commands
18.1.11 show clock interface ssm-send
18.1.16 ssm-set
Syntax
ssm-set name1 name2
no ssm-set name1
Function
This command sets the SSM byte of a clock source.
18-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
name2
Quality level
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
l
Examples
The following example shows how to set the value of the SSM byte of a clock source:
ZXAN(config)#clock
ZXAN(config-clock)#source 1/20/1 type external priority 1
ZXAN(config-clock)#external-input 1/20/1 quality sec mode bits
ZXAN(config-clock)#ssm-set 1/20/1 qlsec1
Related Commands
ZXAN(config-clock)#show clock config
18.1.17 switch
Syntax
switch {name1 name2 name3 |name4 name5 }
Function
This command configures the clock source external commands and ESMC channel..
Parameters
Parameter
Description
Value
name1
External command
name2
Set or clear
name3
18-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name4
External command
name5
Set or clear
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
None
Examples
The following example shows how to set the input clock source of CICK port 1 in Slot 20
as the current clock source by force.
ZXAN(config)#clock
ZXAN(config-clock)#switch force set 1/20/1
Related Commands
None
Function
This command is used to configure the 1PPS source of the control and switch card.
Parameters
Parameter
Description
Value
number1
1PPS priority
1-255
ptp
18-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name1
name2
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
Examples
The following example shows how to set the CICK port 1 of Slot 20 as the 1PPS source,
and set the priority to 1.
ZXAN(config)#clock
ZXAN(config-clock)#1pps priority 1 1pps reference 422 20/1
Related Commands
18.2.6 show time 1pps
18.2.2 1pps-output
Syntax
1pps-output {name1 |{[name2 ] [adjust number1 ] } } [name3 ]
no 1pps-output [name3 ]
Function
This command is used to configure the 1PPS output function, and adjust the 1PPS output
phase of the PON card.
18-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
number1
-1000000-1000000
Unit: nano-second
name3
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
For the PON card, use the adjust parameter for phrase adjustment. the adjust parameter
can not be used for the CICK card.
Examples
The following example shows how to disable the 1PPS output of CICK port 1 in Slot 20.
ZXAN(config)#clock
ZXAN(config-clock)#1pps-output disable 20/1
Related Commands
18.2.7 show time 1pps-output
18.2.3 ptp
Syntax
ptp name1 {ip ip_addr1 |mac } {[name2 ] [domain number1 ] [packet-type name3 ] [interval nu
mber2 ] [step-mode name4 ] [name5 ] }
no ptp name5
Function
This command is used to configure the PTP working mode.
18-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
ip_addr1
mac
mod
name2
network.
number1
PTP domain
0-255
name3
Unicast/multicast mode
number2
-8-0
sending
name4
name5
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
l
l
l
Examples
The following example shows how to set the PRT mode to the synchronous Ethernet
network of 2layer multicast.
ZXAN(config)#clock
ZXAN(config-clock)#ptp slave mac packet-type multicast sync-hybrid-mode
Related Commands
18.2.5 ptp-source
18-18
SJ-20130118100307-010|2013-02-28 (R1.0)
18.2.4 ptp-adjust
Syntax
ptp-adjust number1 [name1 ]
Function
This command is used to configure the PTP 1PPS output phase calibration of the control
and switch card.
Parameters
Parameter
Description
Value
number1
Phase calibration
-1000000-1000000
Unit: Nano-second
name1
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
Try to use the 1pps-output command for the calibration because the ptp-adjust
command can not provide accurate result.
The calibration value must be obtained with the use of the meter.
Examples
The following example shows how to adjust the output phase of 1PPS to 100 nano
seconds.
ZXAN(config)#clock
ZXAN(config-clock)#ptp-adjust 100
Related Commands
18.2.2 1pps-output
18.2.5 ptp-source
Syntax
ptp-source {ip ip_addr1 |mac hexadecimal1 } [adjust number1 ]
no ptp-source {ip ip_addr1 |mac hexadecimal1 }
18-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command is used to configure the MAC/IP address of the 1588 source.
Parameters
Parameter
Description
Value
ip_addr1
hexadecimal1
number1
No symmetric calibration
-1000000-1000000
Unit: Nano-second
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
l
l
l
When the unicast mode is used for the 1588 synchronization, this command is used
to configure the MAC/IP address of the 1588 source.
Before the configuration by using this command, the PTP command must be used
first for the configuration.
Both the encapsulation mode of this command and the PTP command must be the
same.
Examples
The following example shows show to set the encapsulation mode as 2layer
encapsulation and the set the MAC address of 1588 source to 1234.1234.1234.
ZXAN(config)#clock
ZXAN(config-clock)#ptp-source mac 1234.1234.1234
Related Commands
18.2.3 ptp
18.2.9 show time ptp-source
Function
This command is used to query the transparent 1PPS configuration and status.
18-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Any mode except the user mode
Usage Guidelines
None
Examples
The following example shows how to display the current 1PPS configuration and status.
ZXAN(config)#show time 1pps
slot/port
type
priority
1pps-ref
status
work-status
1pps-ref-status
................................................................................
..
20/1
1pps
422
unavailable N/A
N/A
Related Commands
18.2.1 1pps
Function
This command is used to display the configuration of 1PPS output and phase calibration.
Parameters
None
Mode
Any mode except the user mode
Usage Guidelines
None
18-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following examples shows how to display the configuration of 1PPS output and phase
calibration.
ZXAN(config)#show time 1pps-output
slot/port
status
adjust
.............................................
20/1
disable
Related Commands
18.2.2 1pps-output
Function
This command is used to display the PTP configuration and status.
Parameters
None
Mode
Any mode except the user mode
Usage Guidelines
l
l
This command can be used to display the 1588 status and UTC time.
When the Status is aligned, it indicates the status is locked.
Examples
The following example shows how to display the PTP configuration and status.
ZXAN(config)# show time ptp
Slot/
port Mode
Domain addr
Hybrid Multi
Two-
-Mode
Step
cast
Status Interval
Utc
Layer2
................................................................................
no-hyb
n freerun
-4 1970-01-01 00:00:00 n
18-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
18.2.3 ptp
18.2.5 ptp-source
Function
This command is used to display the PTP source configuration.
Parameters
None
Mode
Any mode except the user mode
Usage Guidelines
None
Examples
The following examples shows how to display the PTP source configuration.
ZXAN(config)#show time ptp-source
addr
adjust
layer2
................................
10.10.10.12
n
1
Related Commands
None
Function
This command is used to display the TOD configuration.
18-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Any mode except the user mode
Usage Guidelines
This command is used to display the current TOD format and time.
Examples
The following example shows how to display the TOD configuration.
ZXAN(config)#show time tod
slot/port
mode
tod-status
utc
........................................................................
20/1
china-mobile
N/A
2105-01-15 10:03:44
Related Commands
18.2.12 tod
Function
This command is used to display the UTC offset.
Parameters
None
Mode
Any mode except the user mode
Usage Guidelines
None
Examples
The following example shows how to display the UTC offset.
18-24
SJ-20130118100307-010|2013-02-28 (R1.0)
GPS+20s
Related Commands
18.2.13 utc-offset
18.2.12 tod
Syntax
tod name1 name2
no tod name2
Function
This command is used to configure the transparent TOD format.
Parameters
Parameter
Description
Value
name1
name2
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
This command only supports the TOD input information of CICK.
Examples
The following example shows how to set the information format of CICK inSlot 20 tio the
China mobile formati.
ZXAN(config)#clock
ZXAN(config-clock)#tod china-mobile 20/1
Related Comamnds
18.2.10 show time tod
18-25
SJ-20130118100307-010|2013-02-28 (R1.0)
18.2.13 utc-offset
Syntax
utc-offset number1
Function
This command is used to configure the UTC offset.
Parameters
Parameter
Description
Value
number1
-255-255
time
Unit: second
Mode
Clock global configuration mode: ZXAN(config-clock)#
Usage Guidelines
None
Examples
The following example shows how to set the UTC and GPS offset time to 20 seconds.
ZXAN(config)#clock
ZXAN(config-clock)#utc-offset 20
Related Comamnds
18.2.11 show time utc-offset
18-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 19
Ethernet Interface
Configuration Commands
Table of Contents
byname ....................................................................................................................19-1
description................................................................................................................19-2
duplex ......................................................................................................................19-3
flowcontrol................................................................................................................19-4
hybrid-attribute .........................................................................................................19-5
linktrap .....................................................................................................................19-5
multicast ttl-threshold ...............................................................................................19-7
negotiation auto........................................................................................................19-7
range........................................................................................................................19-8
shutdown..................................................................................................................19-9
speed .....................................................................................................................19-10
19.1 byname
Syntax
byname name1
no byname
Function
This command sets an alias for an interface.
Parameters
Parameter
Description
Value
name1
Interface alias
032 characters
Mode
l
l
l
19-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To delete the alias name, use the no byname command.
After an alias is set for an interface, a user can use this alias to start the configuration
mode of this interface.
Examples
The following example shows how to set the alias of an interface (gei_1/5/1) to ether1 and
use this alias to enter the configuration mode of this interface:
ZXAN(config)#interface gei_1/5/1
ZXAN(config-if)#byname ether1
ZXAN(config-if)#exit
ZXAN(config)#interface byname ether1
ZXAN(config-if)#
Related Commands
19.2 description
Syntax
description LINE1
no description
Function
This command is used to describe the specified interface.
Parameters
Parameter
Description
Value
LINE1
Interface description
Length: 1 64 characters
Mode
l
l
l
Usage Guidelines
None
19-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to describe the Ethernet interface gei_1/19/1.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#description this is gei1
Related Commands
19.3 duplex
Syntax
duplex {half |full }
no duplex
Function
This command is used to configures the operating mode of an interface.
Parameters
Parameter
Description
Value
half
full
Mode
l
l
l
Usage Guidelines
To restore the default setting, use the no duplex command.
FE/GE electrical interfaces support both half duplex and full duplex modes; while
FE/GE/10GE optical interfaces support only full duplex mode.
Before configuring the duplex mode of an interface, disable self-negotiation on the interface
first. It is not allowed to configure the duplex mode of an interface when the self-negotiation
is enabled.
Examples
The following example shows how to set the operating mode of the interface gei_1/19/1 to
full duplex mode:
19-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
19.4 flowcontrol
Syntax
flowcontrol {enable |disable }
no flowcontrol
Function
This command is used to configure the flow control function of the Ethernet interface.
Parameters
Parameter
Description
Value
enable
disable
Mode
l
l
l
Usage Guidelines
The command no flowcontrol and flowcontrol disable are both used to disable the flow
control functions.
The flow control function of the Ethernet interface is disabled by default.
Examples
The following example shows how to disable the flow control function of the Ethernet
interface gei_1/19/1.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#flowcontrol disable
Related Commands
19-4
SJ-20130118100307-010|2013-02-28 (R1.0)
19.5 hybrid-attribute
Syntax
hybrid-attribute {fiber |copper }
Function
This command configures the media attribute of a GE interface: fiber or copper.
Parameters
Parameter
Description
Value
fiber
Fiber interface
copper
Copper interface
Mode
l
l
l
Usage Guidelines
This command can only be used for interfaces that support fiber-to-copper or
copper-to-fiber media conversion.
Examples
The following example shows how to set the media attribute of the interface (gei_1/19/1)
to copper.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#hybrid-attribute copper
Related Commands
None
19.6 linktrap
Syntax
linktrap {disable |alarm }
Function
This command is used to configuring the warning methods for interface linkup or interface
linkdown.
19-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
disable
Mode
l
l
l
Usage Guidelines
In EPON OLT interface mode, the warning method for linktrap can be set to disable or
inform. The linktrap function is disabled by default.
In Ethernet interface mode, the warning method for linktrap can be set to disable or alarm.
The linktrap warning method is set to alarm by default. When the interface link is down,
the NE sends warning messages to NMS.
Down warning: When the interface link is up, the link down messages are removed, and
link recovery messages are generated.
Examples
l
The following example shows how to set the linktrap warning method of interface
EPON-olt_1/4/1.
ZXAN(config)#interface EPON-olt_1/4/1
ZXAN(config-if)#linktrap inform
The following example shows how to set the linktrap warning method of interface
gei_1/19/1 to alarm.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#linktrap alarm
Related Commands
show running interface
19-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command is used to configure the TTL threshold value of the multicast packets for
the Ethernet interface.
Parameters
Parameter
Description
Value
number1
0-255
multicast packets
Mode
l
l
l
Usage Guidelines
None
Examples
The following example shows how to set the TTL threshold value of the multicast packets
for gei_1/19/1 to 100.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#multicast ttl-threshold 100
Related Commands
Function
This command enables auto-negotiation of an Ethernet interface.
Parameters
None
Mode
l
l
l
Usage Guidelines
l
l
Examples
The following example shows how to set the operating mode of r the interface gei_0/5/1
to auto-negotiation.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)# negotiation auto
Related Commands
19.9 range
Syntax
range
Function
This command displays the port list of an interface.
Parameters
None
Mode
l
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the port list in the range of an interface:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#range
Portlist of the range:
gei_1/19/1
Related Commands
None
19.10 shutdown
Syntax
shutdown
no shutdown
Function
This command enables or disables an interface.
Parameters
None
Mode
l
l
l
Usage Guidelines
By default, each interface is enabled.
The shutdown command disables all the functions of an interface. This command does
not influence the physical status (up or down) of the interface.
Examples
The following example shows how to enable the serial interface gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#no shutdown
19-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
19.11 speed
Syntax
speed {10 |100 |1000 }
no speed
Function
This command configures the speed of an interface: 10 Mbps, 100 Mbps, or 1000 Mbps.
Parameters
Parameter
Description
Value
10
Mbps.
Set the interface speed to 100
100
Mbps.
1000
Mbps.
Mode
l
l
l
Usage Guidelines
l
l
Examples
The following example shows how to set the speed of the interface gei_1/19/1 to 1000
Mbps:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#no negotiation auto
ZXAN(config-if)#speed 1000
19-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
19-11
SJ-20130118100307-010|2013-02-28 (R1.0)
19-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 20
20-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures a limit on global broadcast packets.
Parameters
Parameter
Description
Value
number1
0-65534
4-16384
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To disable the global broadcast packet limit function, use the no form of this command.
Examples
The following example shows how to set the system limit on broadcast packets to 200 pps:
ZXAN(config)#eth-switch broadcast-limit 200
Related Commands
20.18 show eth-switch
Function
This command configures the global MAC + VLAN anti-drift function and delivers the MAC
+ VLAN configuration to all EPON line cards.
20-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
hexadecimal1
MAC address
number1
VLAN value
1-4094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
After a protected MAC address is configured, if upstream traffic with the MAC + VLAN
occurs on an ONU that is connected to an EPON line card, the EPON line card discards
the upstream traffic.
Examples
The following example shows how to configure a MAC + VLAN anti-drift policy:
ZXAN(config)#eth-switch mac-protect 0000.0000.0001 vlan 2
Related Commands
20.18 show eth-switch
Function
This command configures the maximum length of global transmission frames.
Parameters
Parameter
Description
Value
number1
1518-9600
20-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the maximum length of transmission frames is 1600.
To disable the maximum length limit on global transmission frames, use the no form of this
command.
Examples
The following example shows how to disable the maximum length limit on global
transmission frames:
ZXAN(config)#no eth-switch max-frame-length
Related Commands
20.18 show eth-switch
Function
This command configures a limit on global multicast packets.
Parameters
Parameter
Description
Value
number1
0-65534
Mode
Configuration mode: ZXAN (config)#
20-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To disable the global multicast packet limit function, use the no form of this command.
Examples
The following example shows how to set the system limit on multicast packets to 100 pps:
ZXAN(config)#eth-switch multicast-limit 100
Related Commands
20.18 show eth-switch
Function
This command limits unknown packets.
Parameters
Parameter
Description
Value
number1
0-65534
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The default limit on unknown packets is 100 pps. To restore the default value (100 pps),
use the no form of this command.
If the value is set to 65534, it indicates that no limit is set for unknown packets.
Examples
The following example shows how to set the limit on unknown packets to 1000 pps:
20-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the rate limit policy for global VLANs.
Parameters
Parameter
Description
Value
number1
VLAN number.
1-4094
number2
64-10000000
Granularity: 64 kbps.
downstream
direction.
upstream
direction.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is a global configuration command. At present, the maximum number of
VLAN rules that are allowed by the main control board is 64.
The granularity of a configured rate is 64 kbps, and a valid rate is a multiple of 64 kbps.
For example, if the configured rate is 65 kbps, the valid rate is 64 kbps.
If a downstream rate limit rule is configured, the rule is applied to all uplink ports. If an
upstream rate limit rule is configured, the rule is applied to all inline ports except uplink
ports.
20-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure a VLAN rate limit rule:
ZXAN(config)#eth-switch vlan-limit vlan 200 rate 64 upstream
Related Commands
20.19 show eth-switch vlan-limit
20.7 port-protect
Syntax
port-protect {enable |disable }
Function
This command configures the user isolation (port protection) function for uplink ports.
Parameters
Parameter
Description
Value
enable
function.
disable
function.
Mode
Layer-2 fei interface mode, PortCh interface mode, Layer-2 gei interface mode
Usage Guidelines
By default, the port protection function is disabled for uplink ports.
Examples
The following example shows how to enable the port protection function of uplink ports:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#port-protect enable
Related Commands
None
20-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures a rate limit for packets at the GPON-OLT port level.
Parameters
Parameter
link-local-address
Description
Value
0-1000000
Default: No limit.
ingress
direction.
egress
downstream direction.
Mode
gpon olt interface mode
Usage Guidelines
A rate limit can be configured for packets of the following types: LINK-LOCAL-ADDRESS,
ICMPV6, ND, and DHCPV6. The rate limit can be in the upstream direction or downstream
direction.
To restore the default settings, use the no form of this command.
20-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the upstream rate limit for ICMPV6 packets
to 1000 kbps:
ZXAN(config)#interface gpon-olt_1/15/1
ZXAN(config-if)#security packet-limit ICMPV6 rate 1000 direction ingress
Related Commands
20.20 show security interface packet-limit
Function
This command configures a rate limit for packets at the VPORT level.
Parameters
Parameter
Description
Value
link-local-address
0-1000000
Default: No limit.
ingress
direction.
20-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
egress
downstream direction.
number2
1-256
Mode
gpon onu interface mode
Usage Guidelines
A rate limit can be configured for packets of the following types: LINK-LOCAL-ADDRESS,
ICMPV6, ND, and DHCPV6. The rate limit can be in the upstream direction or downstream
direction.
To restore the default settings, use the no form of this command.
Examples
The following example shows how to configure the upstream rate limit for ICMPV6 packets
on VPORT 1 to 1000 kbps:
ZXAN(config)#interface gpon-onu_1/15/1:1
ZXAN(config-if)#security packet-limit ICMPV6 rate 1000 direction ingress vport 1
Related Commands
20.20 show security interface packet-limit
Function
This command configures a rate limit for Internet Group Management Protocol (IGMP)
packets in port mode.
20-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
0-1000000
Mode
Layer-2 gei interface mode, PTP interface mode
Usage Guidelines
This command is available only in port mode of the PTP board.
Examples
The followng example shows how to configure the rate limit for IGMP packets in port mode
to 100 kbps:
ZXAN(config)#interface gei_1/16/1
ZXAN(config-if)#security packet-limit igmp 100
Related Commands
20.20 show security interface packet-limit
Function
This command configures a rate limit for Multicast Listener Discovery (MLD) packets in
port mode.
Parameters
Parameter
Description
Value
number1
0-1000000
20-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Layer-2 gei interface mode, PTP interface mode
Usage Guidelines
This command is available only in port mode of the PTP board.
Examples
The following example shows how to configure the rate limit for MLD packets in port mode
to 100 kbps:
ZXAN(config)#interface gei_1/16/1
ZXAN(config-if)#security packet-limit mld 100
Related Commands
20.20 show security interface packet-limit
Function
This command configures the global port protection function.
Parameters
Parameter
Description
Value
enable
disable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
20-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the global port protection function:
ZXAN(config)#security port-protect enable
Related Commands
None
Function
This command configures a rate limit for storms in a VLAN.
Parameters
Parameter
Description
Value
broadcast
packets.
multicast
multicast packets.
unknowncast
packets.
number1
0-65535
number2
VLAN value.
1-4094
number3
0-1000000
number4
1-1024
Mode
Layer-2 gei interface mode, PTP interface mode
20-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
This command is available only in port mode of the PTP board. The available rate limit
types include: broadcast packets, multicast packets, and unknown packets. You can set
rate limit in pps or bps, and you can set the size of the packet bucket.
To restore the default settings, use the no form of this command.
Examples
The following example shows how to configure the rate limit for broadcast packets for
VLAN 100 in port mode to 100 pps, and configure the packet bucket size to 128 kb:
ZXAN(config)#interface gei_1/16/1
ZXAN(config-if)#security storm-control broadcast rate 100 vlan 100 burst 128
Related Commands
show security storm-control
Function
This command configures a rate limit for storms at the VPORT level.
Parameters
Parameter
Description
Value
number1
0-1000000
Default: No limit.
egress
downstream direction.
number2
1-256
Mode
gpon onu interface mode
20-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The rate limit can be configured only for the downstream direction.
To restore the default settings, use the no form of this command.
Examples
The following example shows how to configure the upstream rate limit for ICMPV6 packets
on VPORT 1 to 1000 kbps:
ZXAN(config)#interface gpon-onu_1/15/1:1
ZXAN(config-if)#security storm-control broadcast rate 1000 direction egress vport 1
Related Commands
20.21 show security interface storm-control
Function
This command configures a rate limit for storms at the GPON-OLT port level.
Parameters
Parameter
Description
Value
number1
0-1000000
Default: No limit.
egress
downstream direction.
Mode
GPON OLT interface mode
Usage Guidelines
The rate limit can be configured only for the downstream direction.
To restore the default settings, use the no form of this command.
20-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following command shows how to configure the rate limit for multicast packets to 1000
kbps:
ZXAN(config)#interface gpon-olt_1/15/1
ZXAN(config-if)#security storm-control multicast rate 1000 direction egress
Related Commands
20.21 show security interface storm-control
Function
This command configures the global VLAN interworking function.
Parameters
Parameter
Description
Value
enable
interworking function.
disable
interworking function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the global VLAN interworking function:
ZXAN(config)#security usercommunication control enable
20-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
show security usercommunication
Function
This command configures a global VLAN interworking entry.
Parameters
Parameter
Description
Value
number1
SVLAN number
1-4094
number2
CVLAN number
1-4094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure a global VLAN interworking entry. In the
example, set SVLAN to 100 and set CVLAN to 200.
ZXAN(config)#security usercommunication svlan 100 cvlan 200
Related Commands
20.24 show security vlan-communication
20-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the global packet rate limit and port protection configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global packet rate limit and port protection
configuration:
ZXAN#show eth-switch
broadcast-limit
:100
pps
unknowncast-limit :100
pps
multicast-limit
:unlimited
:1600
Related Commands
None
20-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the rate limit policy for global VLANs.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(conifg)#show eth-switch vlan-limit
the total vlan-limit rule numbers : 0
Related Commands
None
Function
This command displays the port rate limit configuration.
Parameters
Parameter
Description
Value
interface1
Port name
Mode
All modes except user mode
20-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to query the rate limit configuration of port
gpon-olt_1/15/1:
ZXAN#show security interface packet-limit
gpon-olt_1/15/1
Related Commands
None
Function
This command displays the rate limit configuration for storms on a port.
Parameters
Parameter
Description
Value
interface1
Port name
vlan
VLAN number
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the rate limit configuration for storms on port
gpon-olt_1/15/1:
ZXAN#show security interface storm-control gpon-olt_1/15/1
20-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays whether the global port protection function is enabled.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show security port-protect
Global port protect enable
Related Commands
None
Function
This command displays whether the global VLAN interworking function is enabled.
20-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show security
usercommunication-control
Related Commands
None
Function
This command displays the global VLAN interworking entry.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show security
vlan-communication
20-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Cvlan
------------100
200
Related Commands
None
20.25 unknowncast-rate-limit
Syntax
unknowncast-rate-limit rate number1
no unknowncast-rate-limit
Function
This command configures a rate limit for unknown packets.
Parameters
Parameter
Description
Value
number1
0-65534
Mode
PTP interface mode
Usage Guidelines
This command is available only in port mode of the PTP board.
Examples
The following example shows how to configure the rate limit for unknown packets in port
mode to 100 pps:
ZXAN(config)#interface gei_1/16/1
ZXAN(config-if)#unknowncast-rate-limit rate 100
20-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
20.26 uplink-isolate
Syntax
uplink-isolate {enable |disable }
Function
This command configures the port isolation function.
Parameters
Parameter
Description
Value
enable
function.
disable
function.
Mode
Layer-2 fei interface mode, PortCh interface mode, Layer-2 gei interface mode, and so on
Usage Guidelines
The command is available only for uplink boards.
Examples
The following example shows how to configure the port isolation function for uplink port
gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#uplink-isolate enable
Related Commands
None
20-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 21
Function
This command clears statistics of a port.
Parameters
Parameter
Description
Value
interface1
Port name
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command can clear only statistics of Ethernet ports.
21-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to clear statistics of interface gei_1/19/1:
ZXAN#clear counter ethernet gei_1/19/1
Related Commands
Function
This command clears statistics of a service-port of a PON board.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Service-port number
1-128
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear statistics of service-port 1 of epon-onu_1/5/1:1:
ZXAN#clear counter pon-sport epon-onu_1/5/1:1 sport 1
Related Commands
None
21-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command clears statistics of a VPORT of the a GPON board.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
1-256
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear statistics of VPORT 1 of GPON-ONU_1/6/1:1:
ZXAN#clear counter pon-vport
gpon-onu_1/6/1:1 vport 1
Related Commands
None
Function
This command displays statistics of an Ethernet port.
21-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name.
current
Current statistics.
current-15min-interval
minutes.
current-1day-interval
number1
1-2
minutes.
number2
1-1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to displays the current statistics of uplink port
gei_1/19/1:
ZXAN#show performance eth-if gei_1/19/1
current
Related Commands
None
Function
This command displays the OLT statistics of a PON port.
21-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
eth
interface1
epon-olt_shelf/slot/port or
gpon-olt_shelf/slot/port.
mac
interface2
epon-olt_shelf/slot/port or
gpon-olt_shelf/slot/port.
current
current-15min-interval
Current statistics.
minutes.
current-1day-interval
number1
1-8
minutes.
number2
1-1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the current Ethernet statistics of OLT interface
gpon-olt_1/3/1:
Related Commands
None
21-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the ONU statistics of a PON port.
Parameters
Parameter
Description
Value
eth
interface1
epon-onu_shelf/slot/port:onu or
gpon-onu_shelf/slot/port:onu.
mac
interface2
epon-onu_shelf/slot/port:onu or
gpon-onu_shelf/slot/port:onu.
current
Current statistics.
current-15min-interval
minutes.
current-1day-interval
number1
1-8
minutes.
number2
1-1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to query the current Ethernet statistics of ONU interface
gpon-onu_1/3/1:1:
21-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays VPORT statistics.
Parameters
Parameter
Description
Value
interface1
Interface name.
number1
1-256
current
Current statistics.
current-15min-interval
minutes.
current-1day-interval
number2
1-2
minutes.
number3
1-1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display current statistics of VPORT 1 of
GPON-ONU_1/15/1:1:
21-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command enables or disables service-port statistics.
Parameters
Parameter
Description
Value
number1
Service-port number
1-128
name1
Mode
GPON ONU interface mode, EPON ONU interface mode
Usage Guidelines
None
Examples
The following example shows how to enable statistics of service-port 1:
ZXAN(config)#interface gpon-onu_1/15/1:1
ZXAN(config-if)#statistics service-port
start
Related Commands
None
21-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 22
show ip route..........................................................................................................22-31
show ip traffic .........................................................................................................22-32
show tcp.................................................................................................................22-34
show tcp brief .........................................................................................................22-35
show tcp configure .................................................................................................22-36
show tcp line ..........................................................................................................22-36
show tcp statistics ..................................................................................................22-38
show tcp tcb ...........................................................................................................22-39
show tcp tty ............................................................................................................22-40
show tcp vty ...........................................................................................................22-42
trace.......................................................................................................................22-43
Function
This command enables dynamic ARP entry learning.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface
mode
Usage Guidelines
To disable the function, use the no form of this command.
Examples
The following example shows how to enable dynamic ARP entry learning:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#arp learn
Related Commands
None
22-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the ARP item protection function on a GEI interface.
Parameters
Parameter
Description
Value
interface
limit-num
number1
Range: 165535
Mode
Layer 2 FEI interface mode, Layer 2 GEI interface mode, and supervlan interface mode.
Usage Guidelines
This command is only used for a GEI interface to set the maximum ARP item number that
a GEI interface can learn. When the maximum ARP item learning number is reached, the
GEI interface will not learn new ARP item any more.
To clear the setting, use the no form of this command.
Examples
The following example shows how to configure the maximum ARP item learning number
as 5000 for the GEI interface gei_0/13/1:
interface gei_0/13/1
ZXAN(config-if)#arp protect interface limit-num 5000
Related Commands
8.3 interface
Function
This command enables the ARP source filtering function.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface
mode
Usage Guidelines
To clear the ARP source filtering function, use the no form of this command.
Examples
The following example shows how to enable the ARP source filtering function:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#arp source-filtered
Related Commands
None
Function
This command configures the aging time of ARP items in the ARP cache.
Parameters
Parameter
Description
Value
number1
Range: 14294967
ARP cache
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface
mode
22-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
This command is omitted on non-Ethernet interfaces. The show running-config command
shows the ARP aging time of the configured Ethernet interface.
To reset the configured aging time to the default value, use the no form of this command.
Examples
The following example shows how to configure the aging time of ARP items in the ARP
cache as 10000 seconds:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#arp timeout 10000
Related Commands
None
Function
This command sets automatic binding of dynamic ARP entries in the ARP cache.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface
mode
Usage Guidelines
None
Examples
The following example shows how to set automatic binding of dynamic ARP entries in the
ARP cache:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#arp to-static
22-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command sets automatic binding of ARP dynamic entries in the ARP cache.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set automatic binding of ARP dynamic entries in the
ARP cache:
ZXAN(config)#arp to-static
Related Commands
None
Function
This command clears the bound ARP items in the ARP cache on a specific interface.
22-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
ip_addr1
Description
Value
static
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface
mode
Usage Guidelines
None
Examples
The following example shows how to clear the statically bound ARP items on the VLAN 2
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#clear arp static
Related Commands
22.29 set arp
22.30 show arp
Function
This command clears all the dynamic ARP items in the ARP cache on interfaces.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Privileged mode: ZXAN#
22-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If the command is used with no parameters, it clears the dynamic ARP items in the ARP
cache on all the interfaces. If the command is used with parameters, it clears the dynamic
ARP items in the ARP cache on specific interfaces.
Examples
The following example shows how to clear the dynamic ARP items in the ARP cache on
the VLAN 2 interface:
ZXAN#clear arp-cache vlan 2
Related Commands
22.30 show arp
Function
This command clears information about IP transmission.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear information about IP transmission:
ZXAN#clear ip traffic
Related Commands
22.36 show ip traffic
22-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command clears a TCP connection (for example, Telnet, FTP, and BGP connection)
based on specified local address, local port ID, remote address, and remote port ID.
Parameters
Parameter
Description
Value
ip_addr1
Local IP address
ip_addr2
interface
number1
Local port ID
Range: 165535
ip_addr3
Remote IP address
number2
Remote port ID
Range: 165535
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear a Telnet connection:
ZXAN#clear tcp connect 168.1.168.168 23 168.1.16.140 1456
Related Commands
None
22-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command clears a TCP connection (Telnet connection only) based on specified
control terminal line number.
Parameters
Parameter
Description
Value
number1
Range: 6681
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear a Telnet connection:
ZXAN#clear tcp line 66
Related Commands
None
Function
This command clears the TCP protocol statistics.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
22-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to clear the TCP protocol statistics:
ZXAN#clear tcp statistics
Related Commands
None
Function
This command clears the TCP connection (for example, Telnet, FTP, and BGP connection)
corresponding to a certain transmission control module.
Parameters
Parameter
Description
Value
number1
TCB address
Range: 04294967295
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear a TCP connection:
ZXAN#clear tcp tcb 3261896
Related Commands
None
Function
This command clears the TCP connection (Telnet connection only) corresponding to a
certain control terminal number.
Parameters
Parameter
Description
Value
number1
Range: 6681
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
Function
This command clears the TCP connection (Telnet connection only) corresponding to a
certain virtual terminal number.
Parameters
Parameter
Description
Value
number1
Range: 015
Mode
Privileged mode: ZXAN#
22-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to clear a Telnet connection:
ZXAN#clear tcp vty 0
Related Commands
None
22.16 ip address
Syntax
ip address ip_addr1 ip_addr2 [ip_addr3 ] [secondary ]
no ip address [ip_addr1 ip_addr2 ]
Function
This command configures the IP address of an interface.
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
IP subnet mask
ip_addr3
Interface-associated broadcast
address
secondary
configured interface
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, and
supervlan interface mode
Usage Guidelines
The broadcast address is associated with the interface, and is used to forward direct
broadcasting datagrams, which adds a broadcast routing to the routing table. By default,
the subnet.ones/32 broadcast routing is added to the routing table.
There are four options available for the broadcast address, namely, 255.255.255.255,
subnet.ones, subnet.zeros, and 0.0.0.0.
Other addresses are omitted.
When
22-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the IP address of an interface. In this
example, the address of the VLAN 2 interface is configured as 168.1.10.100, the subnet
mask as 255.255.0.0.
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip address 168.1.10.100 255.255.0.0
Related Commands
None
22.17 ip mtu
Syntax
ip mtu number1
no ip mtu
Function
This command sets the MTU size of IP packets that an interface can process.
Parameters
Parameter
Description
Value
number1
Range: 1281500
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, and
supervlan interface mode
22-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
An interface is configured with a default MTU size. The default MTU size is generally
set to 1500 bytes, and 1476 bytes for an tunnel interface. The MTU size may vary from
different network sections. To improve network performance, the ip mtu command is used
to change the MTU size.
To restore the default MTU size, use the no form of this command.
Examples
The following example shows how to set the MTU size to 1000 for the VLAN 2 interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip mtu 1000
Related Commands
None
22.18 ip proxy-arp
Syntax
ip proxy-arp
no ip proxy-arp
Function
This command enables the ARP agent function for an interface.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface
mode
Usage Guidelines
If ARP agent is enabled for an interface, it would be better to configure ARP source address
filtering. Thus, the ARP messages from other network sections than that the interface
belongs to can be filtered. The show running-config command displays configurations of
the interface, excluding default configurations.
By default, the ARP agent function is disabled.
To disable this function, use the no form of this command.
22-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the ARP agent function for the VLAN 2
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip proxy-arp
Related Commands
None
22.19 ip redirect
Syntax
ip redirect
no ip redirect
Function
This command enables a router to send redirection messages.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface, and
supervlan interface mode
Usage Guidelines
A routing path is not always optimal. For example, a router may be constrained to forward
a packet via the same receiving port. In that case, the router software sends an ICMP
redirection message to the sender of this packet, and informs the sender to send the packet
to another router in the same subnet.
By default, this function is enabled.
To disable the router to send redirection messages, use the no form of this command.
Examples
The following example shows how to enable the redirection message sending function for
the VLAN 2 interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip redirect
22-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
22.20 ip route
Syntax
ip route ip_addr1 ip_addr2 {ip_addr3 |interface1 [ip_addr4 ] } [{[global ] [number1 ] [tag number2
]}]
no ip route ip_addr1 ip_addr2 [number1 ] [tag number2 ]
Function
This command configures a static route.
Parameters
Parameter
Description
Value
ip_addr1
address.
ip_addr2
Network mask.
ip_addr3
interface1
ip_addr4
global
number1
Range: 1255
number2
Range: 150255
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The distance metric parameter is equivalent to the priority of the routing protocol. The
smaller it is, the higher the priority. By default, the priority of static routes is higher than
dynamic routes. However, the dynamic router with higher priority is configured.
22-17
SJ-20130118100307-010|2013-02-28 (R1.0)
The tag parameter corresponds to the tag value in the IP routing table of the routing
protocol. Two static routes to the same destination network (with different next hop
addresses) do not have the same tag value.
To delete the configured static route, use the no form of this command.
Examples
The following examples show how to configure a static route. In the first example, the
packet sent to the destination network whose IP address is 131.108.0.0 is routed to the
router whose IP address is 131.108.6.6.
ZXAN(config)#ip route 131.108.0.0 255.255.0.0 131.108.6.6
In the second example, the distance metric of the static route is set to 110. Then, if there is
no dynamic route information about the distance metric less than 110 available, the packet
sent to the destination network whose IP address is 10.0.0.0 is routed to the router whose
IP address is 131.108.3.4.
ZXAN(config)#ip route 10.0.0.0 255.0.0.0 131.108.3.4 110
Related Commands
None
22.21 ip source-route
Syntax
ip source-route
no ip source-route
Function
This command enables the router to process datagrams with IP source route options.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The router software checks IP header options of each packet. The options include
Strict Source Route, loose Source Route, Record Route, and Time stamp. If the software
detects that one of the options is valid, it executes appropriate operation. If a packet with
22-18
SJ-20130118100307-010|2013-02-28 (R1.0)
an invalid option is detected, the software sends an ICMP parameter problem message
to the source route of the packet and discards the packet.
IP allows a source host to designate a path (also known as source route) in advance
through the IP network. If a source route is designated, the software forwards packets
through the designated path. The command is used when it is necessary to force a packet
transmitted through the designated path. By default, datagrams are processed through
the source route.
To disable the router to process datagrams with IP source route options, use the no form
of this command.
Examples
The following example shows how to enable the router to process datagrams with IP source
route options:
ZXAN(config)#ip source-route
Related Commands
None
Function
This command configures the waiting time for TCP disconnection.
Parameters
Parameter
Description
Value
number1
Range: 300600
disconnection
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To reset the configured time to the default value, use the no form of this command.
22-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the waiting time as 400 seconds for TCP
disconnection:
ZXAN(config)#ip tcp finwait-time 400
Related Commands
None
Function
This command configures the maximum number of outgoing packets of a TCP connection.
It does not work on currently established Telnet.
Parameters
Parameter
Description
Value
number1
Number of packets
Range: 550
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To reset the configured number to the default value, use the no form of this command.
Examples
The following example shows how to configure the maximum number of TCP outgoing
packets as 40:
ZXAN(config)#ip tcp queuemax 40
Related Commands
None
22-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the waiting time for new TCP connection attempt. It works for
later established TCP connection.
Parameters
Parameter
Description
Value
number1
Range: 3080
connection
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To reset the configured time to the default value, use the no form of this command.
Examples
The following example shows how to configure the waiting time for new TCP connection
attempt as 50 seconds:
ZXAN(config)#ip tcp synwait-time 50
Related Commands
None
Function
This command configures the TCP window size of a listener. It does not work on currently
established TCP connection.
22-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Range: 10016000
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To reset the configured size to the default value, use the no form of this command.
Examples
The following example shows how to configure the TCP window size of a listener as 2000
bytes:
ZXAN(config)#ip tcp window-size 2000
Related Commands
None
22.26 ip unreachable
Syntax
ip unreachable
no ip unreachable
Function
This command enables the sending of ICMP unreachable messages on a router interface.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), null1 interface
configuration mode, and loopback interface mode
Usage Guidelines
If the router receives a non-broadcast packet sent through an unknown protocol, it sends
an ICMP unreachable message to the source address. Similarly, if the router receives a
packet that cannot be transmitted properly because the destination route is unknown, it
sends an ICMP host unreachable message to the source address.
22-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the sending of ICMP unreachable messages
on the VLAN 2 interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip unreachable
Related Commands
None
22.27 ping
Syntax
ping ip_addr1 [option number1 number2 number3 [extcom ip_addr2 number4 number5 number6
{loose ip_addr3 |strict ip_addr4 |record number7 |timestamp number8 |none } ] ]
Function
This command checks the accessibility and connectivity of a host.
Parameters
Parameter
ip_addr1
Description
Value
checked
number1
Range: 14294967295
number2
Range: 368192
number3
Time out
Range: 160
ip_addr2
Source IP address
number4
Range: 0255
number5
TTL value
Range: 1255
number6
Fragment tag
Range: 01
loose
ip_addr3
22-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr4
Route record
number7
Range: 19
recorded
timestamp
Timestamp
number8
Range: 19
be recorded
none
Mode
User mode
Usage Guidelines
This command sends an ICMP Echo message. If the destination receives an ICMP Echo
message, it sends an ICMP Echo Reply message to the source address of the Echo
message. As a result, this command is used to diagnose network connectivity.
Examples
The following example shows how to check the accessibility of the host with IP address of
100.1.1.49:
ZXAN#ping 100.1.1.49
sending 5,100-byte ICMP echos to 100.1.1.49,
timeout is 2 seconds.!!!!!
Success rate is 100 percent(5/5),round-trip
min/avg/max= 0/0/0 ms.
ZXAN#
Related Commands
None
Function
This command checks the accessibility and connectivity of a management interface.
22-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
interface to be checked
number1
Range: 14294967295
number2
Size of packets
Range: 368192
number3
Time out
Range: 160
Mode
User mode
Usage Guidelines
This command sends an ICMP Echo message to the management interface. If the
destination receives an ICMP Echo message, it sends an ICMP Echo Reply message to
the source address of the Echo message. As a result, this command is used to diagnose
network connectivity of the management interface of a router.
Examples
The following example shows how to check the accessibility of the management interface
with IP address of 100.1.1.49:
ZXAN#ping mng 100.1.1.49 option 10 36 1
sending 10,36-byte ICMP echos to 100.1.1.49,timeout
is 1 seconds.
!!!!!!!!!!
Success rate is 100 percent(10/10),round-trip
min/avg/max= 0/2/20 ms.
ZXAN#
Related Commands
None
Function
This command configures the IP address binding with the ARP MAC address.
22-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
permanent
notation.
hexadecimal1
hexadecimal notation.
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) and supervlan interface
mode
Usage Guidelines
None
Examples
The following example shows how to statically bind ARP items on the VLAN 2 interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#set arp static 10.1.1.1 2012.1200.1000
Related Commands
22.7 clear arp
22.30 show arp
Function
This command displays the ARP list items on an L3 interface.
22-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface ID on an L3 interface
hexadecimal1
MAC address
Mode
Any mode
Usage Guidelines
When this command is used without any parameters, it shows the corresponding relations
between the IP address and MAC address in the ARP cache of all the Ethernet interfaces.
If it is used with the interface ID parameter, the ARP list of the specified Ethernet interface
is displayed.
Examples
The following example shows how to display the ARP items on the supervlan1 interface:
ZXAN# show arp supervlan1
Arp protect interface is disabled . The count is 2.
Address
Interface
10.63.173.254 0
00d0.d0c7.06e1 supervlan1
10.63.173.100 -
00d0.d0e1.3267 supervlan1
Related Commands
22.8 clear arp-cache
Function
This command displays the summary of a unicast forwarding table.
Parameters
None
Mode
Any mode except user mode
22-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
ZXAN#show ip forwarding summary
Summary of ip forward-table:
------------------------------host
route is 0
subnet
route is 0
Related Commands
None
Function
This command displays information about the interface status and configuration.
Parameters
Parameter
Description
Value
interface1
name1
LINE1
Mode
Any mode
Usage Guidelines
The show ip interface command displays information about all the interfaces configured.
The show ip interface interface-name command displays information about a specified
interface.
The show ip interface brief command displays brief information about all the interfaces
configured.
The show ip interface brief interface-name command displays brief information about a
specified interface.
22-28
SJ-20130118100307-010|2013-02-28 (R1.0)
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
vlan2
unassigned
unassigned
up
up
down
vlan1001
10.10.10.155
255.255.255.0
up
up
down
supervlan1
unassigned
unassigned
up
up
down
Related Commands
None
Function
This command displays information about protocol stack routings.
Parameters
Parameter
Description
Value
ip_addr1
Network IP address
ip_addr2
Subnet mask
Mode
Any mode
Usage Guidelines
If this command is used with no parameters, it displays information about all the protocol
stack routings. If the command is used with the network IP address, it displays information
about the protocol stack routings of the network whose IP address matches this parameter
value in the protocol routing table. If the command is used with the network IP address
and subnet mask, it displays information about the protocol stack routings of the network
whose IP address and mask match these two parameter values in the protocol routing
table.
Examples
The following example shows how to display information about protocol stack routings:
22-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Dest
NextHop
RoutePrf
RouteMetric Protocol
*gt;
0.0.0.0/0
0.0.0.0
254
special
*gt;
255.255.255.255/32 0.0.0.0
254
special
Related Commands
None
Function
This command displays the number of protocol routings.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the number of protocol routings:
ZXAN#show ip protocol routing summary
Route Source
connected :
count
0
static:
ospf:
rip:
bgp:
isis:
Total:
22-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays a global routing table.
Parameters
Parameter
Description
Value
ip_addr1
mask1
name1
Mode
Any mode
Usage Guidelines
The show ip route command displays all the routes.
The show ip route ip_addr1 mask1 command displays a specified route.
The show ip route protocol command displays the route of a specified protocol or a
keyword.
The show ip route other command displays the route items that are generated by configuring
nat, nat-pt, and vrrp.
Examples
The following example shows how to display a global routing table:
ZXAN#show ip route
IPv4 Routing Table:
Dest
Mask
100.1.1.0 255.255.255.0
Gw
nterface Owner
pri metric
100.1.1.1
mng1
direct
mng1
address 0
22-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays statistical information about IP transmission.
Parameters
None
Mode
Any mode
Usage Guidelines
This command displays statistical information about all the protocols (including the
dynamic routing protocol) on the IP layer.
The statistics of protocol packets on the IP layer include the following:
IP statistics: number of received packets, number of sent packets, fragment, and
broadcast packets
ICMP statistics: number of packets received and sent
ARP statistics: number of packets received, sent, and discarded
TCP statistics: number of packets received and sent, and packets received with checksum
errors
UDP statistics: number of packets received and sent, packets received with checksum
errors, and erroneous packets on the receiving port
URPF statistics: number of discarded packets that fail the URPF check
Examples
The following example shows how to display statistical information about IP transmission:
ZXAN#show ip traffic
IP statistics:
Rcvd: 7091 total, 1322 local destination
format errors
checksum errors
unknown protocol
22-32
SJ-20130118100307-010|2013-02-28 (R1.0)
timeouts
couldn't reassemble
fragmented
couldn't fragment
Bcast:received
sent
53
44
Sent: generated
forwarded
encapsulation failed
no route
990
ICMP statistics:
Rcvd: 0 total
format errors
redirects
unreachable
echo
echo reply
mask requests
mask replies
quench
timestamp request
timestamp reply
time exceeded
parameter problem
0
Sent: 0 total
format errors
redirects
unreachable
echo
echo reply
mask requests
mask replies
quench
timestamp request
timestamp reply
time exceeded
parameter problem
0
UDP statistics:
Rcvd: 53 total, 0 checksum errors, 1 no port
Sent: 0 total
TCP statistics:
Rcvd: 1269 total, 0 checksum errors
Sent: 983 total
ARP statistics:
Rcvd: requests
13
Sent: requests
41
replies
41
replies
10
Droped: in requests
0
in replies
out requests
ZXAN#
22-33
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays parameters of all TCP connections.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display parameters of all TCP connections:
ZXAN#show tcp
tty 66,virtual tty from host 10.63.10.96
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 10.63.196.176, Local port: 23
Foreign host: 10.63.10.96, Foreign port: 4772
Enqueued packets for retransmit: 54, input: 3942
mis-ordered: 27 (12 bytes)
Starts
Wakeups
3468
52
AckHold
1437
32
KeepAlive
2140
2140
Persist
SynWait
FinWait
iss: 2672641120
snduna: 2672671007
sndnxt: 2672671009
sndwnd: 65252
22-34
SJ-20130118100307-010|2013-02-28 (R1.0)
rcvnxt: 3647283108
rcvwnd: 4056
Related Commands
None
Function
This command displays brief information about all TCP connections.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display brief information about all TCP connections:
ZXAN#show tcp brief
TCB
Local Address
Foreign Address
State
197404144
100.1.1.1.23
100.1.1.49.1648
ESTAB
197406336
100.1.1.1.23
100.1.1.2.1370
ESTAB
197439456
100.1.1.1.23
100.1.1.88.1584
ESTAB
197369152
100.1.1.1.23
100.1.1.5.1150
ESTAB
Related Commands
None
22-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays information about TCP configuration parameters.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display information about TCP configuration
parameters:
ZXAN#show tcp configure
TCP SYNWAIT:
30
TCP FINWAIT:
600
TCP QUEUEMAX:
TCP WINDOWSIZE:
2144
Related Commands
None
Function
This command displays parameter information about a TCP connection specified in a line.
22-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Range: 6669
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display parameter information about a TCP
connection specified in line 66:
ZXAN#show tcp line 66
tty 66,virtual tty from host 10.63.10.209
Connection state is ESTAB, I/O status: 1, unread input
bytes: 1
Local host: 10.63.173.100, Local port: 23
Foreign host: 10.63.10.209, Foreign port: 1650
Enqueued packets for retransmit: 25, input: 5081
mis-ordered: 0 (0 bytes)
Starts
Wakeups
4488
25
AckHold
1736
30
KeepAlive
2761
2761
Persist
SynWait
FinWait
rcvnxt: 1368438041
rcvwnd: 3899
22-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays statistical information about the TCP layer.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display statistical information about the TCP layer:
ZXAN#show tcp statistics
Rcvd: 14861 Total, 41 no port
0 checksum error, 0 bad offset, 0 too short
14711 packets (4531127 bytes) in sequence
0 out-of-order packets (0 bytes)
0 packets (0 bytes) with data after window
0 packets after close
0 window probe packets, 7259 window update packets
10 dup ack packets, 0 ack packets with unsend data
14714 ack packets (4531160 bytes)
Sent: 12369 Total, 0 urgent packets
85 control packets (including 1 retransmitted)
8704 data packets (117793 bytes)
94 data packets (1907 bytes) retransmitted
3622 ack only packets (0 delayed)
22-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays parameter information about the connection corresponding to a
specified TCB.
Parameters
Parameter
Description
Value
number1
TCB address
Range: 04294967295
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display parameter information about the connection
corresponding to TCB 3507808:
ZXAN#show tcp tcb 3507808
Stand-alone TCP connection from host 168.1.16.140
Connection state is ESTAB, I/O status: 1,
unread input bytes: 1
Local host: 168.1.168.168, Local port: 21
Foreign host: 168.1.16.140, Foreign port: 1804
Enqueued packets for retransmit: 0, input: 3
22-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Starts
Wakeups
Retrans
TimeWait
AckHold
KeepAlive
Persist
SynWait
FinWait
rcvnxt: 3109854540
rcvwnd: 2144
maxRTT: 20 ms,
Related Commands
None
Function
This command displays parameter information about the connection corresponding to a
TTY terminal.
Parameters
Parameter
Description
Value
number1
TTY number
Range: 6669
Mode
Any mode
22-40
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display parameter information about the connection
corresponding to TTY 66:
ZXAN#show tcp tty 66
tty 66,virtual tty from host 10.63.10.209
Connection state is ESTAB, I/O status: 1,
unread input bytes: 1
Local host: 10.63.173.100, Local port: 23
Foreign host: 10.63.10.209, Foreign port: 1650
Enqueued packets for retransmit: 25, input: 5299
mis-ordered: 0 (0 bytes)
Starts
Wakeups
4715
25
AckHold
1786
30
KeepAlive
2859
2859
Retrans
TimeWait
Persist
SynWait
FinWait
iss: 65000000
snduna: 65057187
sndnxt: 65057189
sndwnd: 65124
irs: 1368434624
rcvnxt: 1368438159
rcvwnd: 3781
Related Commands
None
22-41
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays parameter information about the connection corresponding to a
VTY terminal and information about a TCP connection through Telnet.
Parameters
Parameter
Description
Value
number1
VTY number
Range: 03
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display parameter information about the connection
corresponding to a VTY terminal:
ZXAN#show tcp vty 1
tty 67,virtual tty from host 100.1.1.49
Connection state is ESTAB, I/O status: 1, unread input bytes: 1
Local host: 100.1.1.1, Local port: 23
Foreign host: 100.1.1.49, Foreign port: 1648
Enqueued packets for retransmit: 6, input: 689
mis-ordered: 0 (0 bytes)
Starts
Wakeups
679
AckHold
302
15
KeepAlive
415
415
Persist
SynWait
FinWait
iss: 279010816
snduna: 279029365
sndnxt: 279029367
sndwnd: 17284
22-42
SJ-20130118100307-010|2013-02-28 (R1.0)
rcvnxt: 3216229646
rcvwnd: 1477
Related Commands
None
22.45 trace
Syntax
trace ip_addr1
Function
This command traces the route to a destination.
Parameters
Parameter
Description
Value
ip_addr1
Mode
User mode
Usage Guidelines
This command works on the ICMP error message that is generated when the packet
exceeds its TTL value.
This command is triggered by sending a packet with the TTL value being 1, which causes
the first router to discard the packet and to send an error message.
The 'TTL timeout' message means that an intermediate router receives the message
and abandons the detection. The 'unreachable destination' message means that the
destination node receives the message but fails to deliver it.
If the timer stops before the acknowledgement arrives, this command prints a "*".
Examples
The following example shows how to trace the route to 168.1.10.100:
22-43
SJ-20130118100307-010|2013-02-28 (R1.0)
168.1.10.100
2 ms
3 ms
5 ms
[finished]
Related Commands
None
22-44
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 23
23.1 area
Syntax
area {ip_addr1 |number1 }
no area {ip_addr1 |number1 }
Function
This command configures the IP address of an OSPF area.
Parameters
Parameter
Description
Value
ip_addr1
04294967295
23-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
This version supports only the no area command and does not support the area command.
To cancel the configuration, use the no form of this command.
Examples
The following example shows how to delete area 1 from OSPF 1:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no area 1
Related Commands
23.4 area nssa
23.6 area stub
Function
This command configures the packet authentication mode for an OSPF area. It is used
when OSPF packets need to be authenticated to ensure the security of routing calculation.
The authentication mode is applicable to all the router interfaces that transceive OSPF
packets in the area.
Parameters
Parameter
Description
Value
ip_addr1
04294967295
Mode
Router OSPF mode: ZXAN(config-router)#
23-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If message-digest is not carried, the command is type-1 authentication, namely, simple
password authentication. If message-digest is attached, this command indicates type-2
authentication, namely, message digest (MD5) authentication.
If the area does not exist, it will be created automatically.
All routers in the same area must use the same authentication mode (no authentication,
simple password authentication, or MD5 cryptographic authentication). In addition, the
authentication passwords must be the same.
This command has a lower priority than the ip ospf authentication command. If the
area authentication mode conflicts with the interface authentication mode, the interface
authentication mode prevails.
By default, OSPF packets are not authenticated.
To disable all router interfaces in the area from authenticating OSPF packets, use the no
form of this command.
Examples
The following example shows how to enable the authentication for area 1 of OSPF1:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 authentication message-digest
Related Commands
23.24 ip ospf authentication
Function
This command filters the network routing information between OSPF areas.
Parameters
Parameter
Description
Value
ip_addr1
number1
04294967295
name1
116 characters
23-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
out
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
If the area does not exist, it will be created automatically.
This command has no default behavior.
Examples
The following example shows how to filter out the 20.20.20.0 network segment in area
0.0.0.1 for other areas:
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 20.20.20.0 0.0.0.255 area 1
ZXAN(config-router)#exit
ZXAN(config)#ip prefix-list ZXAN deny 20.20.20.0 24
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 0.0.0.1 filter-list prefix ZXAN out
Related Commands
24.38 ip prefix-list
Function
This command configures an area as a Not-So-Stubby Area (NSSA) area.
23-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
04294967295
no-redistribution
Advertisement (LSA)
redistribution into the NSSA
area
default-information-originate
016777214
name1
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
Area 0, stub areas and areas configured with virtual links cannot be configured as NSSA
areas. One router can be configured with at most one NSSA area at the same time.
This command can also specify whether to prevent ABR from sending summary route
information to the NSSA area, whether to import external type-7 LSAs to the NSSA area,
and whether to generate a type-7 default LSA. By default, summary route can be sent to the
NSSA area, type-7 route can be imported, and type-7 default LSA cannot be generated.
If the area does not exist, it will be created automatically.
By default, the NSSA area is not specified.
For NSSA areas, if a default type-7 LSA is generated, the default cost is 1 and the type is
ext-2.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure area 1 as an NSSA area and generate
default type-7 LSAs:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 nssa default-information-originate
23-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the summary address range of an area.
Parameters
Parameter
Description
Value
ip_addr1
04294967295
ip_addr2
address range
ip_addr3
range
name1
advertise
not-advertise
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
This command can only be used on an Area Border Router (ABR). It is used to aggregate
and summarize the routes in an area. The result is that the summary route is advertised
by the ABR to other areas. Routing information is compressed at the area borders.
If the area does not exist, it will be created automatically.
By default, no area range is specified.
To invalidate the configured summary address range, use the no form of this command.
Examples
The following example shows how to aggregate the network segments in area 1 into area
0 and send type-3 LSAs:
23-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command sets an area as a stub area.
Parameters
Parameter
Description
Value
ip_addr1
04294967295
number2
065535
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.
23-8
SJ-20130118100307-010|2013-02-28 (R1.0)
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.
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
Parameter
Description
Value
ip_addr1
04294967295
23-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr2
advertisement
number2
165535
advertisement
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.
If the area does not exist, it will be created automatically.
By default, the area is not configured with a stub host route advertised by the router.
To cancel the setting, use the no form of this command.
Examples
The following example describes how to set the host route advertised by the stub router.
In this example, the host route advertised by the router is 10.1.1.1 and the cost is 10.
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 stub-host 10.1.1.1 cost 10
Related Commands
None
23.8 auto-cost
Syntax
auto-cost reference-bandwidth number1
no auto-cost reference-bandwidth [number1 ]
Function
This command modifies the reference bandwidth of the OSPF process.
Parameters
Parameter
Description
Value
number1
Reference bandwidth
14000000
23-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
If the OSPF process interface has not been configured using the ip ospf cost command,
the cost of the OSPF interface is the reference bandwidth divided by the interface
bandwidth. Otherwise, the cost of the OSPF interface is the value configured in the ip
ospf cost command for the interface. This command takes effect immediately after the
configuration.
The bandwidth unit is Mbps.
configuration.
To restore the default 100 Mbps, use the no form of this command.
Examples
The following example shows how to modify the reference bandwidth to 10000 Mbps:
ZXAN(config)#router ospf 1
ZXAN(config-router)#auto-cost reference-bandwidth 10000
Related Commands
23.26 ip ospf cost
Function
This command enables a route to support opaque LSAs.
Parameters
None
Mode
Router OSPF mode: ZXAN(config-router)#
23-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
During the exchange of link state database information, opaque LSAs are included in the
database summary list and transmitted to the neighbor routers that also support opaque
LSAs.
Before a router floods opaque LSAs to neighbor routers, it first checks whether the neighbor
routers support opaque LSAs. Opaque LSAs are transmitted only to the neighbor routers
that support the function, and they are added to the link state retransmit list of neighbor
routers. When Link State Update (LSU) packets are multicast, the neighbor routers that
do not support the function receive the LSAs passively and simply discard them.
By default, opaque LSAs are supported
The no form of this command indicates that opaque LSAs are not supported.
Examples
The following command shows how to disable the router from supporting opaque LSAs:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no capability opaque
Related Commands
23.46 show ip ospf database
Function
This command restarts an OSPF process.
Parameters
Parameter
Description
Value
number1
OSPF process ID
165535
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
23-12
SJ-20130118100307-010|2013-02-28 (R1.0)
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
number1
OSPF process ID
165535
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
no compatible rfc1583
Function
This command restores the method used to calculate summary route costs per RFC 1583.
Parameters
None
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To minimize the chance of routing loops, all OSPF routers in an OSPF routing domain
should have RFC compatibility set identically.
By default, RFC 1583 compatibility is enabled.
Examples
The following example shows how to restore the method used to calculate summary route
costs per RFC 1583:
ZXAN(config)#router ospf 1
ZXAN(config-router)#compatible rfc1583
Related Commands
None
23.13 debug
Syntax
debug
no debug
Function
This command enables the debug information an OSPF process.
Parameters
None
23-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
Because the OSPF may have multiple processes, enabling the debug information may
cause mutual interferences. This command can be used to solve the problem.
The configuration is not written into the database and not displayed in the show runningconfig command.
By default, the debugging information of OSPF processes are enabled.
To disable the debug information, use the no form of this command.
Examples
The following example shows how to enable the debug information for OSPF process 1:
ZXAN(config)#router ospf 1
ZXAN(config-router)#debug
Related Commands
None
23.14 default-metric
Syntax
default-metric number1
no default-metric [number1 ]
Function
This command configures the default metric after a redistribution.
Parameters
Parameter
Description
Value
number1
1294967295
external routes
Mode
Router OSPF mode: ZXAN(config-router)#
23-15
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
number1
04294967295
ip_addr1
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
None
Examples
The following example shows how to disable area 1:
23-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
23.19 enable area
Function
This command disables the OSPF interfaces in a specified range. It is not applicable to
invalid interfaces.
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
None
Examples
The following example shows how to disable the interface IP addresses in the 10.1.0.0/16
network segment range:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable interface 10.1.0.0 0.0.255.255
Related Commands
23.20 enable interface
Function
This command disables an OSPF protocol process. It is only applicable to valid OSPF
processes.
Parameters
Parameter
Description
Value
number1
OSPF process ID
165535
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the OSPF is configured, it is valid be default.
Examples
The following example shows how to disable the OSPF protocol process:
ZXAN(config)#disable ip ospf 1
Related Commands
23.21 enable ip ospf
Function
This command defines the OSPF route administrative distances based on route type.
Parameters
Parameter
Description
Value
number1
Distance value
1255
number2
Distance value
1255
number3
Distance value
1255
internal
23-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ext1
ext2
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, type1 external route, or type-2 external
route to the default 110, use the no form of this command.
Examples
The following example shows how to configure the internal route with an administrative
distance of 100:
ZXAN(config)#router ospf 1
ZXAN(config-router)#distance ospf internal 100
Related Commands
None
Function
This command enables a specified area.
Parameters
Parameter
Description
Value
number1
04294967295
ip_addr1
Mode
Router OSPF mode: ZXAN(config-router)#
23-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If the area is configured, it is valid by default.
Examples
The following example shows how to enable area 1:
ZXAN(config)#router ospf 1
ZXAN(config-router)#enable area 1
Related Commands
23.15 disable area
Function
This command enables OSPF interfaces in a specified range. It is inapplicable to enabled
interfaces.
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
Wildcard mask
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
If the interfaces are configured, they are valid by default.
Examples
The following example shows how to enable the interfaces in the 10.1.0.0 network segment
range:
ZXAN(config)#router ospf 1
ZXAN(config-router)#enable interface 10.1.0.0 0.0.255.255
Related Commands
23.16 disable interface
23-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables an OSPF protocol process. It is only applicable to invalid OSPF
processes.
Parameters
Parameter
Description
Value
number1
OSPF process ID
165535
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the OSPF protocol is configured, it is valid by default.
Examples
The following example shows how to enable OSPF process 1:
ZXAN(config)#enable ip ospf 1
Related Commands
23.17 disable ip ospf
23.22 filter
Syntax
filter [exact ] ip_addr1 ip_addr2 number1
no filter ip_addr1 ip_addr2
Function
This command controls whether to import the routes generated by external LSAs to the
routing table for and the import priorities.
23-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
number1
0255
matched routes
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
A route is invalidated if its priority is set to 255.
This command prevents OSPF routes not meeting the specified conditions from being
added to the forwarding table on the routing layer. The area filter-list command prevents
the generation of LSAs on the database layer.
By default, the routes generated by external LSAs are imported to the routing table.
To remove the filtering setting, use the no form of this command.
Examples
The following example shows how to filter the OSPF routes excluding 10.10.10.0/24 and
set the priority to 20:
ZXAN(config)#router ospf 1
ZXAN(config-router)#filter exact 10.10.10.0 255.255.255.0 20
Related Commands
None
23.23 grace-period
Syntax
grace-period number1
no grace-period [number1 ]
23-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the Non-Stop Forwarding (NSF) grace period.
Parameters
Parameter
Description
Value
number1
1201800
seconds
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
The grace period setting must ensure that the NSF can complete after the time expires.
Otherwise, NSF will exit before completion due to timeout.
To restore the period to the default 120 seconds, use the no form of this command.
Examples
The following example shows how to set the NSF grace period to 300 seconds:
ZXAN(config)#router ospf 1
ZXAN(config-router)#grace-period 300
Related Commands
23.9 capability opaque
23.39 nsf
Function
This command configures the authentication mode for an interface.
23-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
null
meaning no authentication
message-digest
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
Usage Guidelines
This command with no keyword configures the authentication mode for an interface to type
1 authentication, namely, simple password authentication.
If the area where the interface is located is also configured with authentication mode, the
authentication mode for the interface prevails.
By default, the interface authentication mode is not specified, or inherits the authentication
mode for the area, if available.
To delete the authentication mode, use the no form of this command.
Examples
The following example shows how to set the authentication mode for VLAN 2 interface to
message digest authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication message-digest
Related Commands
23.2 area authentication
Function
This command sets a password for interfaces using the simple password authentication
mode.
23-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
characters
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
Usage Guidelines
The characters that can be used for password setting are:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*=~!@#$%^&()_+[]{}|;':,./<>\\
By default, no password is specified.
To delete the OSPF password, use the no form of this command.
Examples
The following example shows how to set the password ZXAN for the interface VLAN 2:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication-key ZXAN
Related Commands
None
Function
This command configures the explicit interface cost.
Parameters
Parameter
Description
Value
number1
Interface cost
165535
23-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) , loopback interface,
supervlan interface mode, and others
Usage Guidelines
If ip ospf cost command is configured on an interface, the auto-cost reference-bandwidth
command is not effective. To enable the auto-cost reference-bandwidth command to take
effect, the cost value configured by the ip ospf cost command must be deleted first.
By default, the cost is calculated using the formula: reference-bandwidth / interface
bandwidth. If the calculation result is less than 1, cost takes 1 as the minimum value.
To restore the cost to the default 1, use the no form of this command.
Examples
The following command shows how to configure the explicit interface cost to 10:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf cost 10
Related Commands
23.8 auto-cost
Function
This command configures the dead interval of neighbors on an interface.
Parameters
Parameter
Description
Value
number1
165535
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) , loopback interface,
supervlan interface mode, and others
23-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The dead-interval is normally configured to four times the hello interval.
To restore the interval to the default, use the no form of this command. The default setting
is four times the hello interval, which is 40 seconds.
Examples
The following example shows how to configure the dead interval for neighbors on the VLAN
2 interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf dead-interval 80
Related Commands
23.28 ip ospf hello-interval
Function
This command configures the time interval for a specified interface to send Hello
messages.
Parameters
Parameter
number1
Description
Value
165535
seconds
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
Usage Guidelines
The hello interval is normally configured to one fourth of the dead interval.
To restore the setting to the default, use the no form of this command. The default value
is one fourth of the default dead interval, which is 10 seconds.
23-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the time interval for sending hello messages
to 20 seconds:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf hello-interval 20
Related Commands
23.27 ip ospf dead-interval
Function
This command configures the password serial number pair for the interface with message
digest authentication type.
Parameters
Parameter
Description
Value
number1
1255
md5
name1
characters
number2
Delay time
0-100000
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber) , loopback interface,
supervlan interface mode, and others
Usage Guidelines
If the delay keyword is used, the protocol data packets are not sent temporarily for the
specified time, but the interface can receive messages. The delay time takes effect only
once after configuration. The unit is minute.
The authentication password allows 116 characters, which can be:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*=~!@#$%^&()_+[]{}|;':,./<>\\
23-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set a password for the interface with message digest
authentication type. In this example, the password serial number is set to 2 and the
authentication password is set to ZXAN.
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf message-digest-key 2 md5 ZXAN
Related Commands
None
Function
This command ignores the OSPF MTU detection on exchanging DD packets.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
Usage Guidelines
MTU detection checks whether neighbors are using a MTU equal to or less than the MRU
of the interface in the DD packet. If greater than, the DD packet will be discarded. If MTU
is confirmed be correctly configured during packet transmission and reception, use this
command to ignore the detection.
By default, MTU check mismatch detection is enabled during DD packet exchange.
To restore the setting to the default, use the no form of this command.
Examples
The following example shows how to disable MTU detection during DD packet exchange:
23-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the interface type.
Parameters
Parameter
Description
Value
broadcast
Broadcast network
non-broadcast
Point-to-point network
point-to-multipoint
Point-to-multipoint network
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
Usage Guidelines
By default, the interface type depends on the network type. Point-to-multipoint type needs
configuration.
To restore the interface type to the network type, use the no form of this command.
Examples
The following example shows how to configure interface VLAN 2 to point-to-point interface
type:
23-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the interface priority.
Parameters
Parameter
Description
Value
number1
Interface priority
055
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
Usage Guidelines
The router whose interface priority is configured to 0 cannot be act as DR or BDR.
To restore the setting to the default 1, use the no form of this command.
Examples
The following example shows how to configure the interface priority to 10:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf priority 10
Related Commands
None
23-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command specifies the time interval for the specified interface to retransmit LSAs.
Parameters
Parameter
Description
Value
number1
165535
retransmit LSAs
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
To restore the setting to the default 5 seconds, use the no form of this command.
Usage Guidelines
The unit is second.
Examples
The following example shows how to configure the time interval between LSA
retransmissions to 10 seconds:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf retransmit-interval 10
Related Commands
None
23-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the delay for the interface to transmit a link status update packet.
Parameters
Parameter
Description
Value
number1
165535
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber), loopback interface,
supervlan interface mode, and others
To restore the setting to the default 1 second, use the no form of this command.
Usage Guidelines
The unit is second.
Examples
The following example shows how to configure the delay for transmitting a link state update
packet to 2 seconds:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf transmit-delay 2
Related Commands
None
23.35 maximum-paths
Syntax
maximum-paths number1
no maximum-paths [number1 ]
Function
This command configures the maximum number of routes supported in OSPF load
balancing.
23-33
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
1-8
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
When a router has a complete link state database, it is ready to create its routing table
for stream forwarding. The default overhead metric is the bandwidth based on network
medium. To calculate the minimum overhead to the destination, the routing table stores at
most eight entries with the same overhead for load balancing. This can be configured by
the maximum-paths command.
The router normally selects the path with the minimum metric value. If there are multiple
paths with the minimum and identical metric value, load balancing is enabled on these
paths. The maximum-paths command can be used to support up to eight paths with the
same metric value.
This command takes effect immediately but it takes some time for system to process this
command.
To restore the setting to the default 1, use the no form of this command.
Examples
The following example shows how to configure the maximum routes supported in OSPF
load balancing to 4:
ZXAN(config)#router ospf 1
ZXAN(config-router)#maximum-paths 4
Related Commands
None
23.36 neighbor
Syntax
neighbor ip_addr1 [{[priority number1 ] [poll-interval number2 ] [cost number3 ] } ]
no neighbor ip_addr1 [{[priority number1 ] [poll-interval number2 ] [cost number3 ] } ]
23-34
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the neighbor router on a non-broadcast network. It needs to
traverse all interfaces. When a neighbors IP address is in the same network segment
with the interface IP address, the neighbor is connected to this interface.
Parameters
Parameter
Description
Value
ip_addr1
number1
0255
point-to-point neighbors
number2
12065535
point-to-point neighbors
number3
165535
NBMA neighbors
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
This command is applicable to only point-to-multipoint networks and Non-Broadcast
Multiple Access (NBMA) networks.
The no neighbor ip-address cost command restores default neighbor cost.
The no neighbor ip-address priority command restores default neighbor priority.
The no neighbor ip-address poll-interval command restores default neighbor polling
interval.
The no neighbor ip-address command is used to delete a specified neighbor. Similar to
configuring a neighbor, this command also enables interface traversal to find the interface
neighbor and delete the neighbor.
By default, no neighbor router is defined.
By default, the cost to a point-to-multipoint neighbor is auto calculated, the NBMA neighbor
priority is 1, and the NBMA neighbor poll interval is 120 seconds. The unit of poll interval
is second.
Examples
The following example shows how to configure neighbor routers on a non-broadcast
network for the router with an interface in 10.1.1.0 network segment:
ZXAN(config)#router ospf 1
ZXAN(config-router)#neighbor 10.1.1.0
23-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
23.37 network
Syntax
network ip_addr1 ip_addr2 area {number1 |ip_addr3 }
no network ip_addr1 ip_addr2 area {number2 |ip_addr3 }
Function
This command configures the interfaces on which OSPF runs, and defines the area ID for
these interfaces. If the area does not exist, it will be created automatically.
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
Wildcard mask
number1
04294967295
ip_addr3
number2
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
1. This command defines the interface running the OSPF protocol and defines the area
ID for these interfaces. This area is created automatically if not existing. If the area
does not exist, it will be created automatically.
2. When the 0bit in wildcard-mask of IP interface address is equal to ip-address, this
command is valid for the IP interface address.
When multiple network commands are valid for the same IP interface addresses, the
OSPF interface corresponding to this IP interface address will be created and added
to the area specified by the network command of minimum wildcard-mask.
When there is valid network command for the newly-configured IP interface address,
the OSPF interface corresponding to this IP interface address will be created
automatically, and added into the area specified by the network command of minimum
wildcard-mask.
23-36
SJ-20130118100307-010|2013-02-28 (R1.0)
When the IP interface address is deleted, OSPF interface will also be automatically
deleted.
3. The no form of this command is the reverse operation only for the configured network
command. If there is no corresponding network command, this no command is invalid.
If there is corresponding network command, and the network command is valid for
the OSPF interface in OSPF area, then no command will take these OSPF interfaces
off this area.
If there are other valid network commands for the IP interface address of OSPF
interface, then no form of this command adds them into the OSPF area specified by
this network command.
If multiple network commands are valid for the same interface, then no form of this
command can add them into the OSPF area specified by the network command with
the minimum wildcard-mask.
If there is no other valid network command for this interface, then the no form of this
command can delete this OSPF interface.
Examples
The following example shows how to set interface 1.10.1.1 as an OSPF interface and place
it into area 0:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip address 10.10.1.1 255.255.255.0
ZXAN(config)#exit
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.10.1.0 0.0.0.255 area 0
Related Commands
None
Function
This command notifies the default route 0/0, which is generated by the router using other
protocols or resulted from the static route configuration. If the default route does not exist,
the specific reachable route is notified as normal. After this command is used, the router
serves as an ASBR.
23-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
016777214
name1
ext-1 or ext-2
name2
116 characters
route
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
By default, there is no default route generated by other route protocols or static route
configuration.
The default router type is ext-1 or ext-2, which represents OSPF external path type 1 or 2.
Examples
The following example shows how to notify a default route irrespective of whether the
router has one. In this example, the cost of the default route is 20, the default router type
is ext-1, and the route-map is map:
ZXAN(config)#router ospf 1
ZXAN(config-router)#notify default route always metric 20 metric-type ext-1 route-map map
Related Commands
None
23.39 nsf
Syntax
nsf
no nsf
Function
This command configures the Non-Stop Forwarding (NSF) capacity.
Parameters
None
23-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
NSF is supported by broadcast and NBMA networks.
Before using this command, ensure that the running OSPF instance supports opaque LSA.
By default, the NSF capacity is not supported.
To disable the function, use the no form of this command.
Examples
The following example shows how to configure the NSF capacity.
ZXAN(config)#router ospf 1
ZXAN(config-router)#nsf
Related Commands
23.9 capability opaque
23.23 grace-period
23.40 passive-interface
Syntax
passive-interface {default |interface1 }
no passive-interface {default |interface1 }
Function
This command configures an interface as a passive interface so that the interface cannot
send any Hello packet, receive any packet or establish neighborship and adjacency with
other routers
Parameters
Parameter
Description
Value
default
configured as passive-interfaces
interface1
Interface name
Mode
Router OSPF mode: ZXAN(config-router)#
23-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The passive-interface default command indicates that all interfaces are configured as
passive interfaces.
After a passive-interface command is configured, the corresponding no passive-interface
command, if available, is cancelled. If another passive-interface command exists, both
commands are valid.
After a no passive-interface command is configured, the corresponding passive-interface
command, if available, is cancelled. If another no passive-interface command exists, both
commands are valid.
By default, all interfaces are normal interfaces that can transceive OSPF packets and
establish neighbors.
Examples
The following example describes how to configure the VLAN 2 interface as a passive
interface:
ZXAN(config)#router ospf 1
ZXAN(config-router)#passive-interface vlan 2
Related Commands
None
23.41 redistribute
Syntax
redistribute name1 [{[as number1 ] [peer ip_addr1 ] [tag number2 ] [metric number3 ] [metric-t
ype name2 ] [route-map name3 ] } ]
no redistribute name1 [{[as number1 ] [peer ip_addr1 ] [tag ] [metric ] [metric-type ] [route-map
]}]
Function
This command redistributes other protocol routes into the OSPF autonomous system.
After this command is executed, the router serves as an ASBR.
23-40
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
165535
04294967295
number3
016777214
116 characters
redistribution.
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
The no redistribute protocol command is used to remove the redistribution of routes.
The no redistribute protocol metric command is used to restore the Type 5 LSA's metric
value of the protocol routing redistribution to default.
The no redistribute protocol metric type command is used to restore the Type 5 LSA's
metric-type value of the protocol routing redistribution to default.
The no redistribute protocol route-map command is used to cancel the controlling of the
route map for the protocol route redistribution.
For isis redistribution, if isisi-1-1 redistribution has been made, perform the redistribution of
isis-1 or isis-2. then this isis-1 or isis-2 redistribution does not take effect any more, unless
all options of isis-1 and isis-2 after redistribution are sure to be consistent. Otherwise, it is
not recommend to use the command redistribute isis-1-2.
If the redistribution of isis-1 or isis-2 has been made before the redistribution of isis-1-2,
then the redistribution of previous isis-1 or isis-2 does not take effect any more, but
performs the new redistribution according to the isis-1-2 template.
23-41
SJ-20130118100307-010|2013-02-28 (R1.0)
By default, other protocol routes are not redistributed into the OSPF autonomous system.
By default, metric is 1 when distributing OSPF routing, and is 20 in other routing.
The metric-type values are ext-1 and ext-2, which represent OSPF external path type 1
and 2 respectively.
Examples
The following example shows how to redistribute the internal route of BGP, mark the tag
of routing items after redistribution as 1 (the route-map is map), and then cancel the route
mapping control in redistribution:
ZXAN(config)#router ospf 1
ZXAN(config-router)#redistribute bgp-int tag 1 route-map map
ZXAN(config-router)#no redistribute bgp-int route-map
Related Commands
None
Function
This command starts the OSPF protocol and enters the OSPF protocol configuration mode.
Parameters
Parameter
Description
Value
number1
OSPF process ID
165535
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the OSPF protocol is started but is disabled, the system prompts Please enable the
OSPF instance first and returns to the global configuration mode.
If the OSPF protocol is started and it is enabled, the system directly enters the OSPF
protocol configuration mode.
The global OSPF and the OSPF under the VRFs use different process IDs.
23-42
SJ-20130118100307-010|2013-02-28 (R1.0)
When a OSPF process starts, a router ID needs to be assigned from the local IP addresses.
If no local IP address is available, the OSPF process fails to start.
The OSPF protocol is disabled by default.
To cancel the OSPF protocol process, use the no form of this command.
Examples
The following example shows how to configure an OSPF process with the ID as 1:
ZXAN(config)#router ospf 1
ZXAN(config-router)#
Related Commands
None
23.43 router-id
Syntax
router-id ip_addr1
no router-id [ip_addr1 ]
Function
This command specifies the router ID for an OSPF process. The no form of this command
is used to delete the specified route ID.
Parameters
Parameter
ip_addr1
Description
Value
an IP address
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
This command enables the OSPF process to use the specified IP address as the OSPF
router ID. To enable the OSPF process to use a randomly selected OSPF router ID, use
the no form of this command.
This command configuration takes effect after the router restarts or the OSPF process is
manually restarted by theclear ip ospf process command.
By default, the OSPF router ID used by an OSPF process is automatically selected.
23-43
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Function
This command displays the summary information of the OSPF protocol and each OSPF
area.
Parameters
Parameter
Description
Value
number1
OSPF process ID
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows the information displayed if the OSPF protocol is not started:
ZXAN#show ip ospf
There is no OSPF instance!
The following example shows the information displayed if the OSPF protocol is started:
ZXAN#show ip ospf
OSPF 1 Router ID 135.1.1.5 enable
23-44
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the information of the internal OSPF routing to an Area Border
Router (ABR) and Autonomous System Boundary Router (ASBR).
Parameters
Parameter
Description
Value
number1
OSPF process ID
165535
23-45
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the information of OSPF process 1:
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
Function
This command displays the related information about the OSPF database of the OSPF
database for a specific router.
23-46
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
number1
04294967295
expressed in decimal
Specifies the area of the LSAs to be displayed,
ip_addr2
number2
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the related information about the OSPF
database of the OSPF database for the router 5.5.5.5:
ZXAN#show ip ospf database
ADV Router
Age
Seq#
Checksum
Link count
5.5.5.5
5.5.5.5
0x80000002
0x2678
Link ID
ADV Router
Age
Seq#
Checksum
Link count
5.5.5.5
5.5.5.5
0x80000001
0x2319
Link ID
ADV Router
Age
Seq#
Checksum
0.0.0.0
5.5.5.5
0x80000001
0xfc4d
135.1.1.0
5.5.5.5
0x80000001
0x4bc
Related Commands
23.47 show ip ospf database asbr-summary
23.48 show ip ospf database database-summary
23.49 show ip ospf database external
23-47
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the ASBR summary LSA list in the OSPF database for a specific
router.
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
number1
04294967295
expressed in decimal
ip_addr3
OSPF process ID
165535
Mode
Any mode
23-48
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the ASBR summary LSA list in the OSPF
database for the route 110.1.1.1:
ZXAN#show ip ospf database asbr-summary
OSPF Router with ID (110.1.1.1) (Process ID 1)
Summary ASB Link States (Area 0.0.0.0)
LS age: 68
Options: (No TOS-capability, No DC)
LS Type: Summary Links(AS Boundary Router)
Link State ID: 168.1.1.3 (AS Boundary Router address)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000001
Checksum: 0xc875
Length: 28
Network Mask: /0
TOS: 0
Metric: 1
Related Commands
23.46 show ip ospf database
Function
This command displays the number of each LSA in each area and the total number of
LSAs in the whole database for a specific router.
Parameters
Parameter
Description
Value
number1
04294967295
OSPF process ID
165535
23-49
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the number of each LSA in each area and
the total number of LSAs in the whole database for router 110.1.1.1:
ZXAN#show ip ospf database database-summary
OSPF Router with ID (110.1.1.1) (Process ID 1)
Area 0.0.0.0 database summary
LSA Type
Count
Router
Network
Summary Net
Summary ASBR
Type-7 Ext
Opaque Link
Opaque Area
Subtotal
Count
Router
Network
Summary Net
Summary ASBR
Type-7 Ext
Opaque Link
Opaque Area
Subtotal
Count
Router
Network
Summary Net
Summary ASBR
Type-7 Ext
Opaque Link
Opaque Area
Type-5 Ext
Opaque AS
Total
10
23-50
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
23.46 show ip ospf database
Function
This command displays the type-5 external LSA list in the OSPF database for a specific
router.
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
number1
OSPF process ID
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the type-5 external LSA list in the OSPF
database for the router 110.1.1.1:
ZXAN#show ip ospf database external
OSPF Router with ID (110.1.1.1) (Process ID 1)
Type-5 AS External Link States
23-51
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
23.46 show ip ospf database
Function
This command displays the network LSA list in the OSPF database for a specific router.
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
number1
04294967295
expressed in decimal
23-52
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
ip_addr3
number2
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the network LSA list in the OSPF database
for the router 110.1.1.1:
ZXAN#show ip ospf database network
OSPF Router with ID (110.1.1.1) (Process ID 1)
Net Link States (Area 0.0.0.1)
Routing Bit Set on this LSA
LS age: 789
Options: (No TOS-capability, No DC)
LS Type: Network Links
Link State ID: 168.1.1.1 (Address of Designated Router)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000002
Checksum: 0x9787
Length: 32
Network Mask: /16
Attached Router: 110.1.1.1
Attached Router: 168.1.1.3
Related Commands
23.46 show ip ospf database
23-53
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the type-7 external LSA list in the OSPF database for a specific
router.
Parameters
Parameter
Description
Value
ip_addr1
the LSA. The value is associated with the link status type.
l
ip_addr2
number1
0429496729
expressed in decimal
ip_addr3
number2
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the type-7 external LSA list in the OSPF
database for the router 5.5.5.5:
ZXAN#show ip ospf database nssa
LS age: 115
Options: (No TOS-capability, No Type 7/5 translation,
DC, Upward)
LS Type: AS External Link
Link State ID: 0.0.0.0 (External Network Number)
23-54
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
23.46 show ip ospf database
Function
This command displays the opaque-area LSA list in the OSPF database for a specific
router.
23-55
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
number1
0-4294967295
expressed in decimal
Specifies the area of the LSAs to be displayed,
ip_addr3
number2
1-65535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the opaque-area LSA list in the OSPF
database for the router 10.10.10.10:
ZXAN#show ip ospf database opaque-area self-originate
LS age: 1509
Options: (No TOS-capability,No DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.0
Opaque Type: 1
Opaque ID: 0
Advertising Router: 10.10.10.10
23-56
SJ-20130118100307-010|2013-02-28 (R1.0)
Number of Links : 0
LS age: 185
Options: (No TOS-capability,No DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.3
Opaque Type: 1
Opaque ID: 3
Advertising Router: 10.10.10.10
LS Seq Number: 80000001
Checksum: 0xfe8d
Length: 124
Fragment number : 3
Priority 1 : 93750000
Priority 2 : 93750000
Priority 3 : 93750000
Priority 4 : 93750000
Priority 5 : 93750000
Priority 6 : 93750000
Priority 7 : 93750000
Related Commands
23.46 show ip ospf database
Function
This command displays the opaque-link LSA list in the OSPF database for a specific router.
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
number1
04294967295
expressed in decimal
Specifies the area of the LSAs to be displayed,
ip_addr3
number2
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the opaque-link LSA list in the OSPF database
for the router 5.5.5.45:
ZXAN#show ip ospf database opaque-link
LS age: 1269
Options: (No TOS-capability,No DC)
LS Type: Opaque Link-local
Link State ID: 3.0.0.0
Opaque Type: 3
23-58
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
23.46 show ip ospf database
Function
This command displays the router LSA list in the OSPF database for a specific router.
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
number1
04294967295
expressed in decimal
ip_addr3
OSPF process ID
165535
23-59
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the router LSA list in the OSPF database for
the router 110.1.1.1:
ZXAN#show ip ospf database router
OSPF Router with ID (110.1.1.1) (Process ID 1)
Router Link States (Area 0.0.0.1)
Routing Bit Set on this LSA
LS age: 1700
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 110.1.1.1
Advertising Router: 110.1.1.1
LS Seq Number: 0x8000001f
Checksum: 0xf9e7
Length: 36
Number of Links: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 110.1.0.0
(Link Data) Network Mask: 255.255.0.0
Number of TOS metrics: 0
TOS 0 Metrics: 1
Related Commands
23.46 show ip ospf database
Function
This command displays the network summary LSA list in the OSPF database for a specific
router.
23-60
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
number1
04294967295
in decimal
Specifies the area of the LSAs to be displayed,
ip_addr3
number2
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the network summary LSA list in the OSPF
database for the router 110.1.1.1:
ZXAN#show ip ospf database summary
OSPF Router with ID (110.1.1.1) (Process ID 1)
Summary Net Link States (Area 0.0.0.0)
LS age: 129
Options: (No TOS-capability, No DC)
LS Type: Summary Links(Network)
Link State ID: 112.1.1.0 (Summary Network Number)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000001
Checksum: 0xd99f
Length: 28
Network Mask: /24
TOS: 0
Metric: 2
23-61
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
23.46 show ip ospf database
Function
This command displays the OSPF interface information.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
OSPF process ID
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the OSPF interface information of the
interface VLAN 2:
ZXAN#show ip ospf interface vlan 2 process 1
vlan2 is down
Internet Address 10.10.1.1 255.255.255.0 disable
Up for 00:00:00
In the area 0.0.0.0
Cost 10, Priority 10, Network Type point-to-point
Transmit Delay(sec) 10, Authentication Type message-digest
Timer intervals(sec) : Hello 20, Dead 80, Retransmit 10
Number of Neighbors 0, Number of Adjacent neighbors 0
Related Commands
None
23-62
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the OSPF neighbor information.
Parameters
Parameter
Description
Value
interface1
Interface name
ip_addr1
Neighbor ID
number1
OSPF process ID
165535
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the OSPF neighbor information:
ZXAN#show ip ospf neighbor
OSPF Router with ID (10.10.10.10) (Process ID 200)
Neighbor 134.1.1.201
In the area 0.0.0.0
via interface vlan134 134.1.1.201
Neighbor is DROTHER
State FULL, priority 0, Cost 1
Queue count : Retransmit 0, DD 0, LS Req 0
Dead time : 00:00:38 Options : 0x42
In Full State for 00:03:52
Related Commands
None
23-63
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the OSPF NSF information.
Parameter
None
Mode
Any mode
Usage Guidelines
The result of using this command on the restarting device is the NSF execution details of
the restarting device.
The result of using this command on the helper is the NSF execution details of the helper.
Examples
The following is sample output on the restarting device or the helper when NSF is not
implemented:
ZXAN#show ip ospf nsf
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
23-64
SJ-20130118100307-010|2013-02-28 (R1.0)
The following is sample output from this command on the helper when NSF is implemented:
ZXAN#show ip ospf nsf
OSPF Router with ID (134.1.1.201) (Process ID 200)
This router is a helper of graceful restart
Restarting router ID 134.1.1.200
In the area 0.0.0.0
via interface vlan134 134.1.1.200
Neighbor is BDR
State EXCH
Max grace period 240
Start time 00:23:42
Time to leave 219 s
Related Commands
None
Function
This command displays a list of all LSAs requested by the specified router.
Parameters
Parameter
Description
Value
ip_addr1
OSPF process ID
165535
23-65
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display a list of all LSAs requested by the router
200.1.1.11:
ZXAN#show ip ospf request-list
OSPF Router with ID (200.1.1.11) (Process ID 1)
Neighbor 200.1.1.12, interface vlan2 address 144.1.1.12
Type
LS ID
200.1.1.12
ADV RTR
200.1.1.12
Seq NO
0x8000020D
Age
8
Checksum
0x6572
Related Commands
None
Function
This command displays a list of all LSAs to be retransmitted by the specified router.
Parameters
Parameter
Description
Value
ip_addr1
OSPF process ID
165535
Mode
Any mode
23-66
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display a list of all LSAs to be retransmitted by the
router 192.168.2.1:
ZXAN#show ip ospf retransmission-list
OSPF Router with ID (192.168.2.1) (Process ID 1)
Related Commands
None
23.61 summary-address
Syntax
summary-address ip_addr1 ip_addr2
no summary-address ip_addr1 ip_addr2
Function
This command creates aggregate addresses for OSPF and summarizes routes from other
routing protocols that are being redistributed into OSPF.
Parameters
Parameter
Description
Value
ip_addr1
IP address
ip_addr2
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
Multiple groups of addresses can be summarized for a given level. Routes learned from
other routing protocols can also be summarized. The metric used to advertise the summary
is the smallest metric of all the more specific routes. This command helps reduce the size
of the routing table.
By default, this command is disabled.
To cancel the setting, use the no form of this command.
23-67
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Function
This command sets the interval at which OSPF LSAs are collected into a group and
refreshed, checksummed, or aged.
Parameters
Parameter
number1
Description
Value
12
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To restore the default 1 second, use the no form of this command.
Examples
The following example shows how to set the OSPF pacing between LSA groups to 2
seconds:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers lsa-group-pacing 2
Related Commands
None
23-68
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the minimum time interval between two consecutive SPF
computations.
Parameters
Parameter
Description
Value
number1
165535
Mode
Router OSPF mode: ZXAN(config-router)#
Usage Guidelines
To restore the setting to the default 1 second, use the no form of this command.
Examples
The following example show how to configure the minimum time interval between two
continuous SPF computations to 2 seconds:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers spf 2
Related Commands
None
23-69
SJ-20130118100307-010|2013-02-28 (R1.0)
23-70
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 24
ip prefix-list.............................................................................................................24-36
maximum-paths......................................................................................................24-37
neighbor activate....................................................................................................24-38
neighbor advertisement-interval .............................................................................24-39
neighbor allowas-in ................................................................................................24-40
neighbor default-originate.......................................................................................24-41
neighbor description ...............................................................................................24-42
neighbor ebgp-multihop..........................................................................................24-43
neighbor maximum-prefix .......................................................................................24-44
neighbor next-hop-self............................................................................................24-45
neighbor originate-interval ......................................................................................24-46
neighbor passive ....................................................................................................24-47
neighbor password .................................................................................................24-48
neighbor peer-group...............................................................................................24-49
neighbor prefix-list ..................................................................................................24-50
neighbor remote-as ................................................................................................24-51
neighbor remove-private-as....................................................................................24-52
neighbor route-map ................................................................................................24-53
neighbor route-reflector-client.................................................................................24-54
neighbor send-community ......................................................................................24-55
neighbor send-med ................................................................................................24-56
neighbor shut-down................................................................................................24-57
neighbor soft-reconfiguration ..................................................................................24-58
neighbor timers ......................................................................................................24-59
neighbor update-source..........................................................................................24-60
network ..................................................................................................................24-61
redistribute .............................................................................................................24-62
reset ip bgp ............................................................................................................24-63
router bgp...............................................................................................................24-64
show bgp all neighbor ............................................................................................24-64
show bgp all summary............................................................................................24-66
show bgp ipv4 multicast .........................................................................................24-67
show bgp ipv4 multicast neighbor...........................................................................24-68
show bgp ipv4 multicast neighbor in .......................................................................24-70
show bgp ipv4 multicast neighbor out .....................................................................24-71
show ip as-path-access-list ....................................................................................24-73
show ip bgp dampened-paths.................................................................................24-73
show ip bgp flap-statistics.......................................................................................24-74
show ip bgp neighbor .............................................................................................24-75
show ip bgp peer-group..........................................................................................24-77
show ip bgp protocol ..............................................................................................24-77
show ip bgp route ...................................................................................................24-79
show ip bgp summary ............................................................................................24-80
show ip community-list ...........................................................................................24-81
show ip prefix-list....................................................................................................24-82
24-2
SJ-20130118100307-010|2013-02-28 (R1.0)
synchronization ......................................................................................................24-83
timers bgp ..............................................................................................................24-84
Function
This command enters IPv4 multicast address family configuration mode.
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
Border Gateway Protocol (BGP) extension supports multiple address modes. To configure
an address mode, enter its corresponding address configuration mode.
Examples
The following example shows how to enter ipv4 multicast address family configuration
mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 multicast
ZXAN(config-router-af)#
Related Commands
None
Function
This command enters IPv6 address family configuration mode.
24-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
BGP extension supports multiple address modes. To configure an address mode, enter
its corresponding address configuration mode.
Examples
The following example shows how to enter IPv6 address family configuration mode.
ZXR10(config)#router bgp 1
ZXR10(config-router)#address-family ipv6
ZXR10(config-router-af)#
Related Commands
None
24.3 aggregate-address
Syntax
aggregate-address ip_addr1 ip_addr2 {subnet ip_addr3 ip_addr4 |[{[count number1 ] [as-set ]
[summary-only ] [strict ] } ] }
no aggregate-address ip_addr1 ip_addr2 [subnet ip_addr3 ip_addr4 ]
Function
This command creates an aggregation strategy in the BGP routing selection table.
Parameters
Parameter
ip_addr1
Description
Value
Aggregation network to be
generated.
ip_addr2
network to be generated.
ip_addr3
Parameter
Description
Value
ip_addr4
0-255
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
This command configures an aggregation strategy and its sub-strategies, and the strategy
setting relates to Count.
If an aggregation strategy is configured with the summary-only attribute, after the
aggregation route is generated, advertisement of all subnet routes in the aggregation
network are prohibited.
To invalidate the setting, use the no aggregate-address command.
Examples
This example shows how to configure an aggregation strategy so that aggregation route
10.0.0.0/8 is generated after subnet 10.0.0.0/8 appears in the routing table:
ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 0
Related Commands
None
Function
This command compares Multi-Exit Discriminators (MEDs) of neighbor paths in different
autonomous systems (ASs).
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
In selecting an optimal path from multiple available paths, take MEDs into consideration.
The path with lower priority instead of the one with higher priority should be selected first.
By default, in selection of an optimal path, only the MEDs of the paths in the same AS can
be compared. After configuration, the command allows comparing MEDs of paths from
different ASs.
To invalidate the command, use the no bgp always-compare-med command.
Examples
The following example shows how to allow comparing MEDs of neighbor paths in different
ASs:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp always-compare-med
24-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
24.65 reset ip bgp
24.5 bgp as
Syntax
bgp as number1 number2
no bgp as number1
Function
This command sets the Autonomous system (AS) path weight policy for routes.
Parameters
Parameter
Description
Value
number1
AS number.
1-65535
number2
0-255
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
In BGP routing decision, AS path length is a decision-making factor. This router uses AS
weight sum for decision making. The route with a smaller weight sum has the priority.
To invalidate the policy, use the no bgp as command.
Examples
The following example shows how to set the weight of AS2 to 200:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp as 2 200
Related Commands
None
24-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets client-to-client reflection.
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, client-to-client reflection is valid.
It determines whether to reflect routes received by a client to another client.
To restore the default setting, use the no bgp client-to-client reflection command.
Examples
This following example shows how to configure not to reflect routes received by a client to
another client:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp client-to-client reflection
Related Commands
24.56 neighbor route-reflector-client
Function
This command sets the cluster ID of a route reflector.
24-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
1-4294967295
unsigned integer
ip_addr1
address
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, ROUTER-ID is used as the cluster ID.
If an AS has multiple route reflectors, to prevent route loopbacks, cluster IDs must be
contained in the transmitted packets.
To restore the default setting, use the no bgp cluster-id command.
Examples
The following example shows how to set the cluster ID of a route reflector to 10.1.1.1:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp cluster-id 10.1.1.1
Related Commands
24.56 neighbor route-reflector-client
Function
This command sets an ID for a confederation.
Parameters
Parameter
Description
Value
number1
Confederation ID
1-65535
24-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, no ID is available for a confederation.
For a large-scale Autonomous System (AS) (in which more than 100 IBGP peer sessions
need to be set up), a confederation can be set up to divide the AS into several small-scale
ASs. However, the confederation is still regarded as an AS externally.
To restore the default setting, use the no bgp confederation identifier command.
Examples
The following example shows how to set a confederation ID to 3:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation identifier 3
Related Commands
24.9 bgp confederation peers
Function
This command sets the AS number for a confederation peer.
Parameters
Parameter
Description
Value
number1
1-65535
Mode
Routing BGP mode: ZXAN(config-router)#
24-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, a confederation does not have a peer.
In a confederation, to configure an external neighbor as the external neighbor of a
confederation, use this command to configure the AS number of the neighbor. In this
command, you can enter 25 AS numbers at a time. 255 AS numbers can be configured
at most.
To restore the default setting, use the no bgp confederation peers command.
Examples
The following example shows how to configure the neighbor with the AS number 65500
as the confederation peer:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation peers 65500
Related Commands
24.8 bgp confederation identifier
Function
This command enables the BGP route dampening or modifies BGP route dampening
factors.
Parameters
Parameter
Description
Value
number1
1-45
factor. Default: 15 s.
number2
1-20000
1-20000
24-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number4
1-255
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, route dampening is invalid.
If no parameter is set while executing the command, BGP route dampening is enabled,
and all the parameters use the default values. The four parameters, half-life, reuse,
suppress, and max-suppress-time, are dependent on each other. If one of the parameters
is specified, all the four parameters must be specified, and the value of suppression must
be larger than the value of reuse.
To invalidate the command, use the no form of this command.
Examples
The following example shows how to enable BGP route dampening:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp dampening
Related Commands
None
Function
This command controls BGP support of the IPv4 address capability.
24-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, the IPv4 address capability is supported.
BGP protocol extension supports negotiation of the address capability with the peer.
For the application which does not want to process common IPv4 routes such as the
MPLS-VPN application, disable the capability.
A neighbor, during its creation, inherits existing BGP setting on the IPv4 address capability.
After the neighbor is created, if you modify the BGP setting, the neighbor configuration
is not affected. The IPv4 address capability is controlled by using the neighbor activate
command.
To disable the IPv4 address capability, use the no bgp default ipv4-unicast command.
Examples
The following example shows how to configure BGP not to support the IPv4 address
capability:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default ipv4-unicast
Related Commands
None
Function
This command sets a local-preference for routes that are advertised by BGP.
24-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
0-4294967295
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
The peers for route advertisement include IBGP peers and the external peer of the
confederation. This command sets a local-preference for routes so as to affect selection
of routes (tie_break) of peers. If the advertised routes have been obtained by other
peers and they have already had a local-preference value, the existing value cannot be
overwritten.
To restore the default setting, use the no bgp default local-preference command.
Examples
The following example shows how to set local preference of routes that are advertised by
BGP to 500.
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp default local-preference 500
Related Commands
None
Function
This command controls BGP filtering on the route target attribute.
Parameters
None
24-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, filtering on the route-target attribute is supported.
BGP protocol extension supports the MPLS-VPN application. Usually, VPNv4 routes need
to match the route-target attribute. However, for route reflectors and cross-domain EBGP
applications, filtering on the route-target attribute needs to be disabled.
To disable filtering on the route-target attribute, use the no bgp default route-target filter
command.
Examples
The following example shows how to configure BGP not to filter the route-target attributes.
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default route-target filter
Related Commands
None
Function
If a connection to a peer fails, this command configures the BGP session to automatically
re-establish the connection once the connection failure occurs.
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
24-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, a BGP session is automatically re-established after the connection fails.
According to RFC1771, after a BGP connection enters the Idle state owing to an error, it
needs a Start event before it enters the Connect state. If you let this to occur naturally,
an oscillation may occur. To prevent oscillation, it is recommended that the re-connection
attempt time be doubled each time.
The router tries to re-establish the connection in the idle state. If the connection still
fails to be re-established, the next re-connection time doubles. After configuration with
the command, re-connection can be started without waiting for the doubling time but the
doubled time is still recorded. If the command is invalid, the router tries re-connection
within the recorded doubling time.
To invalidate the attribute, use the no bgp fast-external-fallover command.
Examples
The following example shows how to configure a BGP session not to automatically
re-establish a connection the moment the connection fails:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp fast-external-fallover
Related Commands
None
Function
This command activates the graceful restart capability for BGP instances.
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
24-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, BGP instances do not support the graceful restart capability.
To make the attribute invalid, use the no bgp graceful-restart command.
Examples
The following example shows how to activate the graceful restart capability for BGP
instances:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart
Related Commands
24.16 bgp graceful-restart restart-time
24.17 bgp graceful-restart stalepath-time
Function
This command sets the restart timer time for the graceful restart function.
Parameters
Parameter
Description
Value
number1
1-3600
Default: 120 s.
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
The default is 120 s.
To restore the default value of the restart timer, use the no bgp graceful-restart restart-time
command.
24-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the restart timer time for BGP to activate
graceful restart to 200 s:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart restart-time 200
Related Commands
24.15 bgp graceful-restart
24.17 bgp graceful-restart stalepath-time
Function
This command configures the stale time for activating the graceful restart capability for
BGP instances.
Parameters
Parameter
Description
Value
number1
1-3600
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
The default value is 360 s. The value usually needs not be configured.
To restore the default value of the stale time, use the no bgp graceful-restart stalepath-time
command.
Examples
The following example shows how to configure the stalepath timer time for BGP to activate
the graceful restart capability to 200 s:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart stalepath-time 200
24-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
24.15 bgp graceful-restart
24.16 bgp graceful-restart restart-time
Function
This command sets router-id.
Parameters
Parameter
Description
Value
ip_addr1
Router ID
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, no router-id is configured.
This command enables you to configure a BGP router-id manually.
To cancel the function, use the no bgp router-id command.
Examples
The following example shows how to set router-id to 1.2.1.3.
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp router-id 1.2.1.3
Related Commands
None
no bgp update-delay
Function
This command configures the update delay timer time of BGP.
Parameters
Parameter
Description
Value
number1
1-3600
Unit: s.
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
To restore the default setting, use the no bgp update-delay command.
Examples
The following example shows how to configure the update delay timer time of BGP to 300s:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp update-delay 300
Related Commands
None
Function
This command clears routing flap statistics of a specified BGP neighbor.
Parameters
Parameter
Description
Value
ip_addr1
Neighbor IP address
flap-statistics
24-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear routing flap statistics of BGP neighbor 1.1.1.1:
ZXAN#clear ip bgp 1.1.1.1 flap-statistics
Related Commands
None
Function
This command clears the BGP route dampening information and removes suppression on
routes.
Parameters
Parameter
Description
Value
ip_addr1
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the BGP route dampening information and
remove suppression on routes:
24-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command clears flap statistics of BGP1 routes.
Parameters
Parameter
Description
Value
ip_addr1
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
The following example shows how to clear flap statistics of all BGP routes.
ZXAN#clear ip bgp flap-statistics
The following example shows how to clear flap statistics of the specified BGP route
10.1.1.0.
24-22
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Parameter
Description
Value
ip_addr1
neighbor.
updates
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop packet tracing, use the no form of this command.
Examples
The following example shows how to enable the debug function for tracing and displaying
the updates packets that are received and sent by the BGP connection:
ZXAN#debug ip bgp updates
BGP updates debugging is on
Related Commands
11.80 terminal monitor
24-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables all BGP debug functions.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop tracing, use the no debug ip bgp all command.
Examples
The following example shows how to enable all BGP debug functions.
ZXAN#debug ip bgp all
All BGP debugging has been turned on
Related Commands
11.80 terminal monitor
Function
This command traces, displays, and processes information related to BGP route
dampening.
24-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop tracing, use the no debug ip bgp dampening command.
Examples
The following example shows how to enable the debug function to trace and display BGP
route dampening.
ZXAN#debug ip bgp dampening
BGP dampening debugging is on
Related Commands
11.80 terminal monitor
Function
This command displays transition of the state machine of the BGP connection. If an
abnormal state machine transition occurred, the cause is displayed. (An abnormal state
machine transition mainly refers to a BGP transition from a high state to a low state.)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop tracing, use the no debug ip bgp events command.
24-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the debug function for tracing and displaying
the state machine transition of the BGP connection.
ZXAN#debug ip bgp events
BGP events debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables the debug function for tracing and displaying the packets that are
received by BGP.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop packet tracing, use the no debug ip bgp in command.
Examples
The following example shows how to enable the debug function for tracing and displaying
the packets that are received by BGP:
ZXAN#debug ip bgp in
BGP in debugging is on
Related Commands
11.80 terminal monitor
24-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command traces and displays the keepalives packets that are received and sent by
BGP.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop packet tracing, use the no debug ip bgp keepalives command.
Examples
The following example shows how to enable the debug function for tracing and displaying
the keepalives packets that are received and sent by BGP:
ZXAN#debug ip bgp keepalives
BGP keepalives debugging is on
Related Commands
11.80 terminal monitor
Function
This command traces and displays the packets that are sent by BGP.
24-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop packet tracing, use the no debug ip bgp out command.
Examples
The following example shows how to enable the debug function for tracing and displaying
the packets that are sent by BGP:
ZXAN#debug ip bgp out
BGP out debugging is on
Related Commands
11.80 terminal monitor
Function
This command traces and displays the updates packets that are received and sent by BGP
connection, and displays how the routes in the packets are processed.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To stop packet tracing, use the no debug ip bgp updates command.
24-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the debug function for tracing and displaying
the updates packets that are received and sent by the BGP connection:
ZXAN#debug ip bgp updates
BGP updates debugging is on
Related Commands
11.80 terminal monitor
Function
This command enables re-assignment of the default route to BGP.
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#, VPF-BGP configuration mode, IPv4
multicast-BGP address mode, and other modes
Usage Guidelines
By default, the default route is not advertised.
This command re-assigns the default route to the BGP route library so that the re-assigned
route can be advertised to all BGP neighbors. This command is used together with the
re-assignment command.
To make the attribute invalid, use the no default-information originate command.
Examples
The following example shows how to enable re-assignment of the default route to BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-information originate
24-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
24.64 redistribute
24.32 default-metric
Syntax
default-metric number1
no default-metric
Function
This command sets Multi-Exit Discriminator (MED) metric for the BGP protocol. This
command is used in re-assigning routes among multiple protocols. Then the current route
selection protocol uses the system metric for all the re-assigned routes.
Parameters
Parameter
Description
Value
number1
0-4294967295
Mode
Routing BGP mode: ZXAN(config-router)# , VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
For BGP, the default MED metric value of the re-assigned routes is 0.
To restore the default value, use the no default-metric command.
Examples
The following example shows how to set the default MED metric value of re-assigned
routes to 500.
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-metric 500
Related Commands
None
24-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command stops a BGP session temporarily.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
You can use the enable command to start the BGP session again.
Examples
The following example shows how to stop a BGP session temporarily:
ZXAN(config)#disable ip bgp
Related Commands
24.35 enable ip bgp
24.65 reset ip bgp
Function
This command changes the priorities for the routes that are advertised by external/internal
neighbors.
24-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
1-255
1-255
internal
Mode
Routing BGP mode: ZXAN(config-router)# , VPF-BGP configuration mode, IPv4
multicast-BGP address mode, and other modes
Usage Guidelines
The priorities of the routes that are received by external/internal routes can all be changed.
This is used to control IP in selecting the optimal route.
If a confederation has been configured, the external neighbors of the peer of the
confederation has the same priority as the internal neighbors.
To cancel the configuration and restore the default value, use the no distance bgp command.
Examples
The following example shows how to set the priority of the routes that are advertised by
external neighbors to 100.
ZXAN(config)#router bgp 1
ZXAN(config-router)#distance bgp external 100
Related Commands
None
Function
This command restores a BGP session. If the BGP session of a neighbor is not in the
stopped state, this command does not take effect.
24-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To stop a BGP session, use the disable command.
Examples
The following example shows how to restore a BGP session:
ZXAN(config)#enable ip bgp
Related Commands
None
Function
This command defines an access list related to BGP.
Parameters
Parameter
Description
Value
number1
1-199
deny
conditions.
permit
conditions.
LINE1
24-33
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Access list filters are defined on the incoming or outgoing BGP routes. In addition, weights
can be assigned to a group of filters. Each filter is an access list that is based on a regular
expression.
If a regular expression matches the description of a route AS, the route is expressed in an
ASCII character string, that is, permit or deny conditions. An AS path does not include a
local AS number.
You can use the ip as-path access-list global configuration command to define a BGP access
list, and you can use a neighbor route configuration command to apply for a special access
list.
To invalidate the access list, use the no ip as-path access-list command.
Examples
The following example shows how to configure the BGP neighbor with the IP address
128.125.1.1 not to send advertisements from neighbor AS 123:
ZXR10(config)#ip as-path access-list 1 deny ^123$
ZXR10(config)#route-map test permit 10
ZXR10(config-route-map)#match as-path 1
ZXR10(config-route-map)#exit
ZXR10(config)#router bgp 1
ZXR10(config-router)#network 131.108.0.0
ZXR10(config-router)#neighbor 128.140.6.6 remote-as 123
ZXR10(config-router)#neighbor 128.125.1.1 remote-as 47
ZXR10(config-router)#neighbor 128.125.1.1 route-map test out
Related Commands
24.73 show ip as-path-access-list
match as-path
24.37 ip community-list
Syntax
ip community-list {number1 {deny |permit } [{number2 |no-export |no-advertise |no-export-su
bconfed |number:number1 } ] |number3 {deny |permit } LINE1 }
no ip community-list {number1 |number3 }
24-34
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates a community list for BGP and controls access to the community
list.
Parameters
Parameter
Description
Value
number1
1-99
deny
conditions.
permit
conditions.
number2
1-4294967295
next AS.
no-advertise
Community number in
<1-65535>:<0-65535>, that
is, aa:nn format.
number3
ID of an extended community
100-499
list.
LINE1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Once a community number is allowed, the community list rejects other communities.
To delete a community list, use the no ip community-list command.
Examples
The following example shows how to allow routes excepts routes of communities 5 and 10
or communities 10 and 15:
24-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
24.81 show ip community-list
set community
24.38 ip prefix-list
Syntax
ip prefix-list name1 {[seq number1 ] {deny |permit } ip_addr1 number2 [ge number3 ] [le number4
] |description LINE1 }
no ip prefix-list name1 [{[seq number1 ] {deny |permit } ip_addr1 number2 [ge number3 ] [le
number4 ] |description } ]
Function
This command creates a prefix list for BGP and controls access to the prefix list.
Parameters
Parameter
Description
Value
name1
1-16 characters.
number1
0-4294967294
conditions.
permit
conditions.
ip_addr1
matching.
number2
0-32
range of 0-32.
number3
0-32
number4
0-32
24-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
description
prefix list.
LINE1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, no prefix list is defined.
To delete a prefix list, use the no ip prefix-list command.
Examples
The following example shows how to configure prefix list test. In the example, the
description of the prefix list is test, and the prefix list allows routes with the IP address
100.1.1.1 and mask 24 or the mask is larger than 25.
ZXAN(config)#ip prefix-list test seq
0 permit 100.1.1.1 24 ge 25
Related Commands
24.52 neighbor prefix-list
24.82 show ip prefix-list
24.39 maximum-paths
Syntax
maximum-paths number1
no maximum-paths
Function
This command sets the maximum number of routes that are supported in the case of
balanced BGP load.
24-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
1-8
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
The command takes effect immediately but requires time-sharing processing. The process
does not need user interference but it takes some time.
To restore the default value, use the no maximum-paths command.
Examples
The following example shows how to set the maximum number of routes that are supported
in the case of balanced BGP load to 5:
ZXAN(config)#router bgp 1
ZXAN(config-router)#maximum-paths 5
Related Commands
None
Function
This command activate the address capability of a neighbor and a neighbor peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
24-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
By default, the address capabilities such as VPNv4 are deactivated. The IPv4 address
capability is inherited from BGP entities during the creation of a neighbor or neighbor peer
group. For a neighbor with an IPv6 address, only the IPv6 address capability can be
activated.
To invalidate the attribute, use the no neighbor command.
Examples
l
The following example shows how to activate the address capability of BGP neighbor
1.1.1.1.
ZXR10(config)#router bgp 1
ZXR10(config-router)#neighbor 1.1.1.1 activate
The following example shows how to activate the address capability of BGP neighbor
1.1.1.1.
ZXR10(config-router)#no neighbor 1.1.1.1 activate
Related Commands
None
Function
This command configures the minimum interval at which changes of routes that are not
originated from the local AS are advertised to a neighbor or a neighbor peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
24-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name1
number1
1-600
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
The default value is 30 s.
Examples
The following example shows how to configure the minimum interval at which changes of
routes that are not originated from the local AS are advertised to BGP neighbor 1.1.1.1 to
20 s.
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 advertisement-interval 20
Related Commands
None
Function
Usually, if a received Update packet contains the local AS number in the path attribute, the
route is regarded as invalid. This command allows the path attribute to contain multiple
local AS numbers while the route is still valid.
24-40
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
1-10
number1
that appears.
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
Usually, to prevent BGP route loopback, path attributes are used to record the ASs that
a route traverses. If the path attribute contains the local AS number, it indicates that a
loopback occurs on the route, and the route is invalid. When the network applications
become more and more complicated, especially with the application of the HUB-SPOKE
model of MPLS-VPN, a route may have to traverse multiple ASs before it can meet the
customer requirement.
By default, it is not allowed that path attribute contains the local AS number.
Examples
The following example shows how to allow the path attribute of the Update packet that is
received by BGP neighbor 1.1.1.1 to contain four local AS numbers and the route is still
valid.
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 allowas-in 4
Related Commands
None
24-41
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables BGP to send the default route to a neighbor or neighbor peer
group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
After this command is executed, no matter whether BGP has a local default route or not,
BGP advertises the default route to the specified neighbor. By default, the function is
invalid.
Examples
The following example shows how to send the default route to BGP neighbor 1.1.1.1.
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 default-originate
Related Commands
None
Function
This command sets a description for a neighbor or neighbor peer group.
24-42
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
LINE1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
None
Examples
The following example shows how to set the description of BGP neighbor 1.1.1.1 to ZTE:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 description ZTE
Related Commands
None
Function
This command allows to set up External Border Gateway Protocol (EBGP) neighbors
between two networks that are indirectly connected. This command is applicable only to
EBGP.
24-43
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
number1
1-255
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
By default, the function is invalid.
Examples
The following example shows how to set the maximum number of hops of EBGP neighbor
1.1.1.1 to 200.
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 ebgp-multihop ttl 200
Related Commands
None
Function
This command sets the maximum number of routes that can be received from a neighbor.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
24-44
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name1
number1
1-4294967295
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
In actual operation of a network, a faulty neighbor may input a large number of routes,
which may use up the memory of the router. To prevent such failure, use this command
to control the number of routes that are received from a neighbor. If the number of routes
exceeds the limit, the neighbor is disconnected. The connection can be recovered only
after manual interference.
Examples
The following example shows how to set the maximum number of routes that can be
received from a BGP neighbor 1.1.1.1 to 20000.
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 maximum-prefix 20000
Related Commands
None
Function
This command forces the local device as the next hop of the advertised route, usually in
an Non-Broadcast Multiple Access (NBMA) network.
24-45
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
By default, the attribute is invalid.
Examples
The following example shows how to force the local device as the next hop of an advertised
route while the route is advertised to BGP neighbor 1.1.1.1:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 next-hop-self
Related Commands
None
Function
This command configures the minimum interval when the route changes originated from
the local AS are advertised to a neighbor or a neighbor peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
24-46
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name1
number1
1-600
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
None
Examples
The following example shows how to set the minimum interval when route changes
originated from the local AS are advertised to BGP neighbor 1.1.1.1 to 5 s:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 originate-interval 5
Related Commands
None
Function
This command configures a neighbor to set up a link in passive mode.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
24-47
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
To invalidate the function, use the no form of this command.
Examples
The following example shows how to configure BGP neighbor 1::1 to set up a link in passive
mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1::1 passive
Related Commands
None
Function
This command configures an authentication password so that Message Digest 5 Algorithm
(MD5) authentication is valid on the TCP connection between two BGP peers.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
name2
3-80 characters.
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
24-48
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, the attribute is invalid.
Examples
The following example shows how to set the authentication password for the BGP
connection to BGP neighbor 1.1.1.1 to abc:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 password abc
Related Commands
None
Function
This command creates a peer group or configures a neighbor into a peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
name2
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
Before using this command, first use the neighbor <peer-group-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.
24-49
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create peer group zte and configure BGP neighbor
1::1 into the peer group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor zte peer-group
ZXAN(config-router)#neighbor zte remote-as 100
ZXAN(config-router)#neighbor 1::1 peer-group zte
Related Commands
24.77 show ip bgp peer-group
Function
This command configures an IP prefix list to filter routes that are advertised by a neighbor
and a neighbor peer group or filter routes that are advertised to a neighbor and a neighbor
peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
name2
1-16 characters.
name3
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
24-50
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The prefix list filtering policy is used together with the ip prefix-list command. By default,
no filtering policy is configured.
Examples
The following example shows how to set to send only the routes with the prefix 100.1.1.1/24
while advertising routes to BGP neighbor 1.1.1.1:
ZXAN(config)#ip prefix-list test permit 100.1.1.1 24
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 prefix-list test out
Related Commands
None
Function
This command configures a BGP neighbor or configure the AS number of a neighbor peer
group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
number1
1-65535
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
By default, no BGP neighbor is configured.
24-51
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure BGP neighbor 1.1.1.1 which belongs to AS
8.
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 remote-as 8
Related Commands
None
Function
This command removes private ASs before advertising routes to a neighbor or neighbor
peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
Because the number of ASs is limited, private AS numbers are used to divide a large-scale
AS into multiple areas that are connected by EBGP. When the areas are connected to the
Internet, the private ASs are filtered. In this way, the interior of the ASs are transparent for
the Internet. Private AS range: 64512-65535.
Note: If a confederation is configured, the internal peers within the confederation are
labeled with private as. If these peers are removed, route loopbacks may occur. Therefore
for EBGP peers within a confederation, this command is invalid.
24-52
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Function
This command configures a filter for the routes that are advertised by a neighbor or a
neighbor peer group or for the routes that are advertised to a neighbor or a neighbor peer
group, or sets priorities for routes.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
name2
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
24-53
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Function
This command sets a neighbor or neighbor peer group to the client peer of a route reflector.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
24-54
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
In some Internet Service Provider (ISP) networks, the internal Border Gateway Protocol
(BGP) networks are very large. (Each router provides more than 100 BGP sessions.) To
reduce the network complexity, a router reflector is introduced, that is, a centralized router
acts as the focus of internal BGP sessions. Multiple BGP routers become peers of a route
reflector, and multiple route reflectors become peers of each other. If all clients are invalid,
the local reflector is not a route reflector. The route reflector is recommended only when
each router has more than 100 BGP session.
To set a neighbor not to be a client peer, use the no form of this command.
Examples
The following example shows how to set BGP neighbor 1.1.1.1 as the client peer of a route
reflector:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 router-reflector-client
Related Commands
24.6 bgp client-to-client reflection
24.7 bgp cluster-id
Function
This command configures to send community attributes when advertising routes to a
neighbor or neighbor peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
24-55
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
By default, community attributes are not sent.
Examples
The following example shows how to configure to send community attributes when
advertising routes to BGP neighbor 1.1.1.1:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 send-community
Related Commands
None
Function
This command configures to send MED attributes when advertising routes to a neighbor
or neighbor peer group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and so on
Usage Guidelines
By default, MED attributes are not sent.
24-56
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Function
This command configures a neighbor or neighbor peer group so that it is in the disabled
management state.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
Many attribute configuration commands of the neighbor may cause inconsistent
processing operations of routes and may cause reset of the neighbor. To reduce network
oscillation, it is recommended that the neighbor be in the disabled management status
before the configuration is completed. By default, the management status of the neighbor
is enabled.
Examples
The following example shows how to configure BGP neighbor 1.1.1.1 so that it is in the
disabled management status:
24-57
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures a neighbor or neighbor peer group so that it supports soft
reconfiguration.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
After a local BGP policy is adjusted, some routes which were previously rejected may
take effect. If you do not use this command, then a neighbor must be reset so that it can
advertise routes again. If you use this command, the routes which were rejected previously
may take effect again while the neighbor needs not be reset.
The use of this command may result in high memory usage because the local router has
to store a large number of rejected routes. Therefore, the command must be used with
the guidance of network specialists.
If a neighbor supports the route update capability, the command need not be configured,
or the configuration through the command is invalid. By default, the attribute is invalid.
24-58
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure BGP neighbor 1.1.1.1 so that it supports
soft reconfiguration:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 soft-reconfiguration
Related Commands
None
Function
This command configures holdtime and keepalive timers of a neighbor or neighbor peer
group.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
number1
0-65535
Unit: s.
number2
0-65535
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
By default, BGP timers are inherited.
24-59
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure timers of BGP neighbor 1.1.1.1. In the
example, the holdtime timer is set to 180 s, and the keepalive timer is set to 60 s.
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 timers 60 180
Related Commands
None
Function
This command makes it possible to set up a BGP session through any available TCP
connection interface.
Parameters
Parameter
Description
Value
ip_addr1
ipv6_addr1
name1
interface1
Mode
Routing BGP mode: ZXAN(config-router)#, VPN-BGP configuration mode, VPF-BGP
configuration mode, and other modes
Usage Guidelines
By default, the setting is invalid, and the optimal local interface address is used.
24-60
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the loopback1 interface, through which a
BGP connection with neighbor 1.1.1.1 is set up:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 update-source loopback1
Related Commands
None
24.63 network
Syntax
network ip_addr1 ip_addr2 [[route-map name1 ] ]
no network ip_addr1 ip_addr2
Function
This command specifies a network table for a BGP route selection process. The types
of networks can be obtained from connected routes, dynamic route selection, and static
route sources.
Parameters
Parameter
Description
Value
ip_addr1
advertised by BGP.
ip_addr2
Network mask.
name1
Mode
Routing BGP mode: ZXAN(config-router)#, VPF-BGP configuration mode, IPv4
multicast-BGP address mode, and other modes
Usage Guidelines
By default, no network is specified.
To delete a record, use the no network command.
Examples
The following example shows how to advertise a local route 2.2.2.2/32 to neighbors:
ZXAN(config)#router bgp 1
24-61
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
24.64 redistribute
Syntax
redistribute name1 [{[metric number1 ] [route-map name2 ] } ]
no redistribute name1 [{[metric ] [route-map ] } ]
Function
This command redistributes the routes that are obtained through another routing protocol
into the BGP route selection table.
Parameters
Parameter
Description
Value
name1
0-4294967295
metric
route-map
Mode
Routing BGP mode: ZXAN(config-router)#, VPF-BGP configuration mode, IPv4
multicast-BGP address mode, and other modes
Usage Guidelines
By default, routes are not redistributed.
To cancel the redistribution, use the no redistribute command.
24-62
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to redistribute the routes that are obtained through the
RIP protocol into the BGP route selection table:
ZXAN(config)#router bgp 1
ZXAN(config-router)#redistribute rip
Related Commands
None
Function
This command soft resets a BGP session.
Parameters
Parameter
Description
Value
ip_addr1
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the BGP session of a neighbor is not in the stopped state, this command enables the
session. If the BGP session is in the active state, the command disables the session, and
then enables the session.
Examples
The following example shows how to soft reset the BGP session that is set up with neighbor
1.1.1.1:
ZXAN(config)#reset ip bgp 1.1.1.1
Related Commands
None
24-63
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures a BGP module on the router.
Parameters
Parameter
Description
Value
number1
1-65535
number.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the BGP module is not configured.
To delete the BGP module, use the no router bgp command.
Examples
The following example shows how to configure a BGP module with the AS number 1:
ZXAN(config)#router bgp 1
ZXAN(config-router)#
Related Commands
None
Function
This command displays information about a BGP neighbor.
24-64
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about a BGP neighbor:
ZXAN#show bgp all neighbor 1.1.1.1
BGP neighbor is 1.1.1.1, remote AS 8, external link
BGP version 4, remote router ID 0.0.0.0
BGP state = Connect
hold time is 0 seconds, keepalive interval is 0 seconds
All received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 errs
0 notifications, 0 other errs
After last established received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 errs
0 notifications, 0 other errs
All sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 notifications
After last established sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 notifications
24-65
SJ-20130118100307-010|2013-02-28 (R1.0)
Connections established 0
No tcp connection
Related Commands
None
Function
This command displays the statuses of all BGP neighbor connections.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the statuses of BGP neighbor connections of
all address families:
ZXAN#show bgp all summary
24-66
SJ-20130118100307-010|2013-02-28 (R1.0)
Ver
As
MsgRcvd
MsgSend
Up/Down(s)
State
1.1.1.1
00:00:00
Connect
10.1.1.1
200
00:00:00
Connect
128.140.6.6
123
00:00:00
Connect
Description
Neighbor
Neighbor IP address.
Ver
As
MsgRcvd
MsgSend
Total number of packets that are sent by the neighbor. The number is
cleared each time the neighbor enters the Established state.
Up/Down
Time during which the neighbor is in the Established state or the time
elapsed since the neighbor moves from the Established state. If the
neighbor has never entered the Established state, the time is always 0.
State
Related Commands
None
Function
This command displays an item in the route selection table of the BGP IPv4 multicast
address family.
Parameters
None
Mode
All modes except user mode
24-67
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If no parameter is specified in the command, all valid BGP routes are displayed. If a
network number is specified, the networks that match the network number in the BGP
route selection table are displayed. If network number and network mask parameters are
specified, all BGP routes that match the address/mask are displayed. To display details of
all routes, use the show bgp ipv4 multicast detail command.
Examples
The following example shows valid routes of the BGP IPv4 multicast address family:
ZXAN#show bgp ipv4 multicast
Status codes: *valid, gt;best, i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Network
Next Hop
Metric
LocPrf
Path
*gt;i
111.1.1.2/32
2.2.2.1
12345678
200 ?
*gt;i
111.1.1.3/32
2.2.2.1
12345678
200 ?
Description
Network
Specific route
Next Hop
Metric
LocPrf
Path
Related Commands
None
Function
This command displays information about a BGP neighbor which is in the IPv4 multicast
address family.
24-68
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about a BGP neighbor:
ZXAN# show bgp ipv4 multicast neighbor 3.3.3.3
BGP neighbor is 3.3.3.3, remote AS 100, internal link
BGP version 4, remote router ID 0.0.0.0
BGP state = Connect
hold time is 0 seconds, keepalive interval is 0 seconds
All received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
After last established received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
All sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 ipv6 refreshs,
0 notifications
After last established sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs, 0 ipv6 refreshs,
0 notifications
24-69
SJ-20130118100307-010|2013-02-28 (R1.0)
Connections established 0
No tcp connection
Related Commands
None
Function
This command displays the information about the routes that are received by a BGP IPv4
multicast address family from a specified neighbor.
Parameters
Parameter
Description
Value
ip_addr1
24-70
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the routes that are
received from a neighbor:
ZXR10#show bgp ipv4 multicast neighbor in 2.2.2.1
Routes Learned From This neighbor:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest
NextHop
Metric
LocPrf
RoutePrf
Path
*>i
111.1.1.2/32
2.2.2.1
12345678
200
100?
*>i
111.1.1.3/32
2.2.2.1
12345678
200
100?
Table 24-3 Summary Parameter Description for BGP IPv4 Multicast Neighbor In
Parameter
Description
Dest
Specific route
Nexthop
Mertic
LocPref
RoutePref
Path
Related Commands
None
24-71
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information about the routes that are sent by a BGP IPv4
multicast address family to a specified neighbor.
Parameters
Parameter
Description
Value
ip_addr1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information about the routes that are sent
to a neighbor:
ZXR10#show bgp ipv4 multicast neighbor out 2.2.2.1
Routes Sent to This neighbor:
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest
NextHop
Metric
LocPrf
Path
111.1.1.2/32
2.2.2.1
12345678
100?
111.1.1.3/32
2.2.2.1
12345678
100?
Table 24-4 Summary Parameter Description for BGP IPv4 Multicast Neighbor Out
Parameter
Description
Dest
Specific route
Nexthop
Mertic
LocPref
Path
Related Commands
None
24-72
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the contents of all or a specified regular expression access list.
Parameters
Parameter
Description
Value
number1
1-199
Mode
All modes
Usage Guidelines
If no parameter is specified in the command, the contents of all regular expression access
lists are displayed. If the parameter is specified in the command, the contents of the regular
expression access list with the specified number is displayed.
Examples
The following example shows how to display the contents of regular expression access list
1:
ZXAN#show ip as-path-access-list 1
Related Commands
24.36 ip as-path access-list
Function
This command displays the damped routes in BGP route dampening.
24-73
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
All modes
Usage Guidelines
This command displays all damped routes.
Examples
The following example shows how to display the damped routes in BGP route dampening:
ZXAN#show ip bgp dampened-paths
Related Commands
None
Function
This command displays the BGP dampening statistics.
Parameters
Parameter
ip_addr1
Description
Value
format
longer-prefixes
Mode
All modes
24-74
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If no parameter or keyword is specified, the router displays all flap statistics. If only the
first two parameters are specified, an exact match is conducted, and only the dampening
routes in the network that are determined by the two parameters are displayed.
If longer-prefix is specified, a fuzzy match is conducted based on the input mask, and
all dampening routes in the network that are determined by the first two parameters are
displayed.
Examples
The following example shows how to display the BGP dampening statistics.
ZXAN#show ip bgp flap-statistics
Related Commands
None
Function
This command displays information about a BGP neighbor.
Parameters
Parameter
Description
Value
ip_addr1
Mode
All modes
Usage Guidelines
None
Examples
The following example shows how to display information about a BGP neighbor:
Description of the displayed information:
ZXAN#show ip bgp neighbor 1.1.1.1
24-75
SJ-20130118100307-010|2013-02-28 (R1.0)
Connections established 0
No tcp connection
24-76
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the information about a BGP neighbor peer group.
Parameters
Parameter
name1
Description
Value
Mode
All modes
Usage Guidelines
If no peer group name is specified, the information about all peer groups are displayed.
Examples
The following example shows how to display the information about a neighbor peer group:
ZXR10#show ip bgp peer-group
Related Commands
24.51 neighbor peer-group
24.76 show ip bgp neighbor
Function
This command displays the configuration of a BGP module.
24-77
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
All modes
Usage Guidelines
None
Examples
The following example shows how to display the configuration of a BGP instance:
ZXAN#show ip bgp protocol
BGP router ID is 192.168.2.1, Local as is 1
Hold time is 90 seconds, KeepAlive time is 30 seconds
Default local preference is 100
Default export metric is 0
IGP synchronization is enabled
Default information advertise is disabled
Always compare med is disabled
Fast fallover is enabled
Client-to-client reflection is enabled
Ipv4 unicast is activated
Router target is filtered
Route dampening is disabled
Distance : external 20 internal 200
Related Commands
None
24-78
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays items in the BGP route selection table.
Parameters
Parameter
Description
Value
ip_addr1
decimal notation
ip_addr2
decimal notation
Mode
All modes
Usage Guidelines
If no parameter is specified in the command, all valid BGP routes are displayed. If a
network number is specified, the networks that match the network number in the BGP
route selection table are displayed. If network number and network mask parameters are
specified, all BGP routes that match the address/mask are displayed. To display details of
all routes, use the show ip bgp route detail command.
Examples
The following example shows how to display valid BGP routes:
ZXAN#show ip bgp route
Routes of bgp:
status codes: *valid, gt;best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest
NextHop
Metric
LocPrf
RtPrf
Path
*gt;i
111.1.1.2/32
2.2.2.1
12345678
150
200 ?
*gt;i
111.1.1.3/32
2.2.2.1
12345678
150
200 ?
Description
Dest
Specific route
24-79
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
NextHop
Metric
LocPrf
RtPrf
Path
Related Commands
None
Function
This command displays the statuses of all BGP neighbor connections.
Parameters
None
Mode
All modes
Usage Guidelines
None
Examples
The following example shows how to display the statuses of all BGP neighbor connections:
ZXAN#show ip bgp summary
Neighbor
Ver
As
MsgRcvd
MsgSend
Up/Down(s)
State/PfxRcd
1.1.1.1
00:00:00
Connect
10.1.1.1
200
00:00:00
Connect
128.140.6.6
123
00:00:00
Connect
24-80
SJ-20130118100307-010|2013-02-28 (R1.0)
Description
Neighbor
Neighbor IP address
Ver
As
MsgRcvd
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
State/PfxRcd
Related Commands
None
Function
This command displays the contents of all community lists or the specified community list.
Parameters
Parameter
Description
Value
number1
1-99
community list
Mode
All modes
24-81
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If no parameter is specified in the command, the contents of all community lists are
displayed. If the parameter is specified in the command, the contents of the community
list with the specified number are displayed.
Examples
The following example shows how to display the contents of all community lists:
ZXAN#show ip community-list
Community standard list 1
deny 5 10
permit
Related Commands
24.37 ip community-list
Function
This command displays the contents of all prefix lists or the specified prefix list.
Parameters
Parameter
detail
Description
Value
information.
summary
information.
name1
Mode
All modes except user mode
24-82
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If no prefix list name is specified in the command, the contents of all prefix lists are
displayed. If the parameter is specified in the command, the contents of the community
list with the specified name are displayed.
Examples
The following example shows how to display the contents of all prefix lists:
ZXAN#show ip prefix-list
Prefix-list with the last deletion/insertion: test
ip prefix-list ZXAN
seq 5 deny
seq 10 deny
2 entries
20.0.0.0/8
20.20.20.0/24
ip prefix-list test
1 entries
Related Commands
24.38 ip prefix-list
24.83 synchronization
Syntax
synchronization
no synchronization
Function
This command makes BGP and IGP to synchronize.
Parameters
None
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
By default, BGP and IGP are synchronized.
To enable BGP to advertise routes of a network without waiting for IGP, use the no synchr
onization command.
24-83
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Function
This command adjusts the BGP network timer.
Parameters
Parameter
number1
Description
Value
0-65535
Unit: s. Default: 30 s.
number2
0-65535
Mode
Routing BGP mode: ZXAN(config-router)#
Usage Guidelines
To restore the default value of the BGP timer, use the no timers bgp command.
Examples
The following example shows how to set BGP network timers. In this example, the time of
the holdtime timer is 180 s, and the time of the keepalive timer is 60 s.
ZXAN(config)#router bgp 1
ZXAN(config-router)#timers bgp 60 180
24-84
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
24-85
SJ-20130118100307-010|2013-02-28 (R1.0)
24-86
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 25
System Log/Statistical
Management Commands
Table of Contents
clear logging alarm ...................................................................................................25-1
clear logging command ............................................................................................25-2
clear logging snmp ...................................................................................................25-3
logging buffer ...........................................................................................................25-3
logging console ........................................................................................................25-4
logging level .............................................................................................................25-5
logging mode ...........................................................................................................25-6
logging on ................................................................................................................25-7
logging snmplog-save ..............................................................................................25-7
show cmdlogfile........................................................................................................25-8
show logging alarm ..................................................................................................25-9
show logging configure...........................................................................................25-10
show processor ...................................................................................................... 25-11
show snmplogfile....................................................................................................25-14
syslog facility ..........................................................................................................25-15
syslog severity........................................................................................................25-16
syslog-server host ..................................................................................................25-16
write alarmlog.........................................................................................................25-17
write cmdlog ...........................................................................................................25-18
write snmplog .........................................................................................................25-19
Function
This command clears the alarm log buffer.
Parameters
None
25-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the alarm log buffer:
ZXAN#clear logging alarm
Related Commands
None
Function
This command clears the command log buffer.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the command log buffer:
ZXAN#clear logging command
Related Commands
None
25-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command clears the SNMP log buffer.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear the SNMP log buffer:
ZXAN#clear logging snmp
Related Commands
None
Function
This command configures the alarm log buffer size.
Parameters
Parameter
Description
Value
number1
25-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Run the logging on command before configuring this command.
To clear the configured buffer size and restore the default value, use the no form of this
command.
Examples
The following example shows how to configure the alarm log buffer size as 100 K:
ZXAN(config)#logging buffer 100
Related Commands
None
Function
This command sends alarm messages to a serial console or Telnet terminal.
Parameters
Parameter
Description
Value
critical
major
minor
warnings
indeterminate
Alarm level: 4,
INDETERMINATE
cleared
notifications
Mode
Configuration mode: ZXAN (config)#
25-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The alarm level is notifications when the system is initialized and an alarm message is sent
to the serial port.
Run the logging on command before configuring this command. At a serial console or
Telnet terminal, the alarm message output can be enabled / disabled by using the termin
al monitor / no terminal monitor command.
To clear the configuration, use the no form of this command.
Examples
The following example shows how to send alarm messages at level 3 or below to a serial
console:
ZXAN(config)#logging console warnings
Related Commands
None
Function
This command configures the alarm level of alarm messages recorded in a log file.
Parameters
Parameter
Description
Value
name1
Alarm level
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Run the logging on command before configuring this command.
To clear the configured alarm level, use the no form of this command.
25-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the alarm level of alarm messages recorded
in a log file as level 3 or below:
ZXAN(config)#logging level indeterminate
Related Commands
None
Function
This command configures the clearing mode when the alarm log buffer is full.
Parameters
Parameter
name1
Description
Value
Clearing mode of
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Run the logging on command before configuring this command.
To clear the configuration, use the no form of this command.
Examples
The following example shows how to configure the clearing mode when the alarm log buffer
is full. In this example, the clearing mode is set to 'fullclear', which means all the existing
alarm messages are cleared.
ZXAN(config)#logging mode FULLCLEAR
Related Commands
None
25-6
SJ-20130118100307-010|2013-02-28 (R1.0)
25.8 logging on
Syntax
logging on
no logging on
Function
This command enables system logging.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command has effect on the following commands:
logging mode, logging console, logging buffer, logging level, logging ftp, logging trap, and
logging filesavetime.
When the no form of this command runs, all these commands cannot be configured and
do not function any more.
To disable system logging, use the no form of this command.
Examples
The following example shows how to enable system logging:
ZXAN(config)#logging on
Related Commands
None
Function
This command enables or disables the SNMP log saving function.
25-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
enable
function.
disable
function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to disable the log saving function:
ZXAN(config)#logging snmplog-save disable
Related Commands
None
Function
This command displays the configuration command records stored in the command log
buffer.
Parameters
Parameter
Description
Value
name1
Range: 116
date1
command
time1
command
25-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
date2
command
time2
command
name2
Range: 14 characters
ip_addr1
decimal notation
summary
Statistics
Mode
Any mode except user mode
Usage Guidelines
By default, all the command records stored in the command log buffer are displayed.
Examples
The following example shows how to display the VTY1 command records of the user zte:
ZXAN(config)#show cmdlogfile username zte vtyno vty1
vty1 zte 17:24:17 03/26/2006 UTC 100.1.1.49
ex
interface gei_0/1/1
ex
vlan 2
router pimdm
ex
router pimsm
conf t
en
Related Commands
None
Function
This command displays alarm information records stored in the alarm log buffer.
Parameters
Parameter
Description
Value
name1
summary
name2
LINE1
name3
number1
Alarm ID
Range: 165535
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the environment alarm message:
ZXAN#show logging alarm typeid environment
Related Commands
None
25-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays configuration information about the statistical alarm module.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about the statistical
alarm module:
ZXAN(config)#show logging configure
logging on
logging buffer 200
logging mode fullcycle
logging console notifications
logging level notifications
logging cmdlog-interval 10
logging snmplog-interval 10
logging save disable
Related Commands
25.8 logging on
25.4 logging buffer
25.7 logging mode
25.5 logging console
Function
This command displays the system resource statistics, such as the CPU and memory
usage.
25-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rack number
Range: 13
number2
Shelf number
Range: 13
number3
Slot number
Range: 022
Mode
Any mode except user mode
Usage Guidelines
This command displays the resource statistics of a specified system, such as the CPU
usage (including the CPU usage over a period of 5 seconds, 30 seconds, and 2 minutes,
and the peak CPU utilization over a period of 2 minutes), amount of memory, memory
usage, and buffer usage.
Examples
The following example shows how to display the system resource statistics:
ZXAN(config)#show processor
Rack
Shelf
Slot
CPU(5s)
CPU(1m)
CPU(5m)
PhyMem(MB)
Memory
-------------------------------------------------------------------------------
100%
100%
100%
16
38%
3%
3%
3%
128
29%
100%
100%
100%
16
37%
27%
26%
26%
256
78%
10
4%
4%
4%
128
29%
Parameter
25-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Description
Value
Slot
Slot number
1~14
CPU(5s)
CPU(1m)
CPU(5m)
PhyMem(MB)
Memory
Memory usage
-
25-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the configuration command records stored in the SNMP log buffer.
Parameters
Parameter
Description
Value
date1
command
time1
command
date2
command
time2
command
ip_addr1
decimal notation
summary
Mode
Any mode except user mode
Usage Guidelines
By default, all the command records stored in the SNMP log buffer are displayed.
Examples
The following example shows how to display all the SNMP command records:
ZXAN(config)#show snmplogfile
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerFileName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserPwd.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerIpAddress.0
25-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the global facility of the system log.
Parameters
Parameter
Description
Value
name1
Default: local0
alarm log.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configured global syslog facility only works on the prihead structure and log type of
the reported alarm log.
According to the RFC3164 standard, this command covers all the facility values,
including kern | user | mail | daemon | auth | syslog | lpr | news | UUCP | cron-9 | FTP |
NTP | log-audit | log-alert | cron-15 | local0 | local 1 | local2 | loca3 | local4 | local5 | local6
| local7. local0 to local7 are recommended.
To clear the configuration, use the no form of this command.
Examples
The following example shows how to configure the global facility of the system log as
local3:
ZXAN(config)#syslog facility local3
Related Commands
None
25-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the severity of the system log.
Parameters
Parameter
Description
Value
number1
Log severity
Range: 07
Default: 6 (INFORMATIONAL)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To clear the configuration, use the no form of this command.
Examples
The following example shows how to configure the severity of the system log as 6
(INFORMATIONAL):
ZXAN(config)#syslog severity 6
Related Commands
None
Function
This command configures the address and port ID of the destination syslog server where
alarm messages are sent.
25-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
notation
number1
number2
alarmlog
Range: 065535
server
Default: 514
Range: 065535
messages locally
Default: 514
server
name1
Alarm severity
cmdlog
server
debugmsg
syslog server
snmplog
server
name2
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To clear the configuration, use the no form of this command.
Examples
The following example shows how to configure the address of the destination syslog
server where the alarm messages are sent. In this example, the address is configured
as 10.40.56.19.
ZXAN(config)#syslog server 10.40.56.19
Related Commands
None
Function
This command saves the alarm log as a file from the alarm buffer to the flash in the directory
of flash:data/log.dat.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
This command writes the alarm messages with the following alarm level into a file:
1: MAJOR; 2: MINOR; 3:
6:NOTIFICATIONS
WARNINGS; 4:
INDETERMINATE; 5:
CLEARED;
Examples
The following example shows how to save the alarm log in the alarm buffer as a file:
ZXAN#write alarmlog
Building logging file...
..
[ok]
Related Commands
None
Function
This command saves the command log as a file from the command buffer to the flash in
the directory of flash:data/cmdlog.dat.
Parameters
None
Mode
Privileged mode: ZXAN#
25-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to save the command log in the command buffer as a
file:
ZXAN#write cmdlog
Building cmdlog file...
..
[ok]
Related Commands
None
Function
This command saves the SNMP log as a file from the SNMP buffer to the flash in the
directory of flash:data/snmplog.dat.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to save the SNMP log in the SNMP buffer as a file:
ZXAN#write snmplog
Building snmplog file...
..
[ok]
25-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
25-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 26
TACACS+ Commands
Table of Contents
aaa accounting.........................................................................................................26-1
aaa authentication login............................................................................................26-3
aaa authorization......................................................................................................26-4
aaa group-server tacacs+.........................................................................................26-5
server.......................................................................................................................26-6
show aaa configure ..................................................................................................26-8
show tacacs+ configure............................................................................................26-9
tacacs disable ........................................................................................................26-10
tacacs enable .........................................................................................................26-10
tacacs-client ........................................................................................................... 26-11
tacacs-server host ..................................................................................................26-12
tacacs-server key ...................................................................................................26-14
tacacs-server packet ..............................................................................................26-15
tacacs-server timeout .............................................................................................26-15
Function
This command configures the AAA accounting parameters.
Parameters
Parameter
Description
Value
commands
number1
015
default
method list
stop-only
terminates
26-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
group
name1
131 characters
name
Not accounts
none
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
You can use only the TACACS+ accounting function rather than the authentication and
authorization functions.
To use TACACS+ accounting function, in configuration mode, first enable the TACACS
function , and then:
1. Use the tacacs-server host command to configure the TACACS server.
2. Use the aaa group-server tacacs+ command to create a TACACS server group.
3. Use the server command to add the configured TACACS server to the created server
group.
4. Configure the accounting command.
Examples
The following example shows how to write the CLI operation records of the user with the
privilege level 3 into the TACACS server whose IP address is 1.2.3.4 and the server group
name is zte:
ZXAN(config)#tacacs enable
ZXAN(config)#tacacs-server host 1.2.3.4
ZXAN(config)#aaa group-server tacacs+ zte
ZXAN(config-sg)#server
1.2.3.4
ZXAN(config-sg)#exit
ZXAN(config)# aaa accouting commands 3 default stop-only group zte
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.11 tacacs-server host
26.4 aaa group-server tacacs+
26.5 server
26-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the AAA authentication method.
Parameters
Parameter
Description
Value
default
group
name1
131 characters
local
Local authentication
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is required for TACACS+ authentication but not for RADIUS authentication.
Examples
The following example shows how to use the TACACS+ server group zte to perform AAA
authentication and authorization:
ZXAN(config)#login-authentication-type tacacs+
ZXAN(config)#login-authorization-type tacacs+
ZXAN(config)#tacacs enable
ZXAN(config)#tacacs-server host 1.2.3.4
ZXAN(config)#aaa group-server tacacs+ zte
ZXAN(config-sg)#server 1.2.3.4
ZXAN(config-sg)#exit
ZXAN(config)#aaa authentication login default group zte
ZXAN(config)#aaa authorization exec default group zte
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.10 tacacs-client
26-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the AAA authorization method.
Parameters
Parameter
Description
Value
exec
method
group
name1
131 characters
local
Local authentication
if-authenticated
authorization successfully
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is required for TACACS+ authentication but not for RADIUS authentication.
26-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to use TACACS+ server group named abc for AAA
authentication:
ZXAN(config)#login-authentication-type tacacs+
ZXAN(config)#login-authorization-type tacacs+
ZXAN(config)#tacacs enable
ZXAN(config)#tacacs-server host 1.2.3.4
ZXAN(config)#aaa group-server tacacs+ abc
ZXAN(config-sg)#server 1.2.3.4
ZXAN(config-sg)#exit
ZXAN(config)#aaa authentication login default group abc
The following example shows how to use TACACS+ server group named abc for AAA
authorization:
ZXAN(config)#aaa authorization exec default group abc
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.10 tacacs-client
26.11 tacacs-server host
26.12 tacacs-server key
26.13 tacacs-server packet
26.14 tacacs-server timeout
26.2 aaa authentication login
26.4 aaa group-server tacacs+
26.5 server
Function
This command creates a TACACS+ server group.
Parameters
Parameter
Description
Value
name1
131 characters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
A maximum of 256 TACACS+ server groups can be created. After the server group is
created, the system enters AAA-tacacs server group mode, under which a TACACS+
server can be added to the group. The TACACS+ servers to be added must be created
through the tacacs-server host command in configuration mode.
Examples
The following example shows how to create a TACACS+ server group named aabb and
adds the server 1.2.3.4 to the group:
ZXAN(config)#tacacs-server host 2.3.4.5
ZXAN(config)#aaa group-server tacacs+ aabb
ZXAN(config-sg)#server 2.3.4.5
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.11 tacacs-server host
26.5 server
26.7 show tacacs+ configure
26.5 server
Syntax
server ip_addr1 [port number1 ]
no server ip_addr1 [port number1 ]
26-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures a TACACS+ server.
Parameters
Parameter
Description
Value
ip_addr1
server
number1
102565535
Mode
AAA-tacacs server group mode
Usage Guidelines
Before using this command, ensure that a TACACS+ server group has been created.
Examples
The following example shows how to add a server with the IP address as 1.2.3.4 to the
TACACS+ group named zte:
ZXAN(config)#tacacs enable
ZXAN(config)#tacacs-server host 1.2.3.4
ZXAN(config)#aaa group-server tacacs+ zte
ZXAN(config-sg)#server 1.2.3.4
If the server added in configuration mode uses a non-default port 2009, for example,
ZXAN(config)#tacacs-server host 5.5.5.1 port 2009
then, to add the server in server group mode, the port number must be specified; otherwise,
the server fails to be added, for example:
ZXAN(config-sg)#server 5.5.5.1
%Code 604: Specified tacacs+ server cannot be configured.
ZXAN(config-sg)#server 5.5.5.1
port 2009
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.11 tacacs-server host
26.14 tacacs-server timeout
26.7 show tacacs+ configure
26-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the AAA configuration information.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
The displayed information includes the configured AAA authentication, authorization, and
accounting configuration.
Examples
The following example shows how to display the current AAA configuration:
ZXAN(config)#show aaa configure
aaa authentication login default group zte
aaa authorization exec default group zte
aaa accounting commands 15 default stop-only group zte
The command result indicates that CLI operation records of the user with privilege level
15 will be written to servers in the TACACS server group zte.
If the user login authentication and authorization mode are set to TACACS+ through the
following commands,
ZXAN(config)#login-authentication-type tacacs+
ZXAN(config)#login-authorization-type tacacs+
the user will be authenticated by servers in the TACACS+ server group zte and authorized
by these servers after passing the authentication.
Related Commands
6.9 login-authentication-type
6.10 login-authorization-type
26.2 aaa authentication login
26-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the TACACS+ configuration information.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
The displayed information is about the NEs TACACS+ configuration, including whether the
TACACS+ function is enabled, server timeout parameter, TACACS+ server parameters,
TACACS+ server group parameters.
Examples
The following example shows how to display the current TACACS+ configuration:
ZXAN(config)#show tacacs+ configure
tacacs enable
tacacs-server timeout 5
tacacs-server packet 1024
tacacs-server host 1.2.3.4
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.14 tacacs-server timeout
26.13 tacacs-server packet
26.11 tacacs-server host
26-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command disables the TACACS+ function.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
After the TACACS+ function is disabled, the TACACS+ authentication, authorization, and
accounting functions are all disabled.
Examples
The following example shows how to disable the TACACS+ function:
ZXAN(config)#tacacs disable
Related Commands
26.9 tacacs enable
26.7 show tacacs+ configure
Function
This command enables the TACACS+ function.
Parameters
None
26-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The TACACS+ authentication, authorization, and accounting functions can be used only
after the TACSCS+ function is enabled.
Examples
The following example shows how to enable the TACACS+ function:
ZXAN(config)#tacacs enable
Related Commands
26.8 tacacs disable
26.4 aaa group-server tacacs+
26.2 aaa authentication login
26.3 aaa authorization
26.11 tacacs-server host
26.12 tacacs-server key
26.13 tacacs-server packet
26.14 tacacs-server timeout
26.7 show tacacs+ configure
26.10 tacacs-client
Syntax
tacacs-client ip_addr1 [port number1 ]
no tacacs-client
Function
This command configures the IP address and port number of the TACACS+ client, which
will be used as the source IP address and port number for TCP communication with the
TACACS+ server.
The IP address must be configured as that of the NEs L3 interface. The port number must
not be used by other TCP applications of the NE.
26-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
client
number1
102565535
client
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Only one TACACS+ client can be configured. During TCP communications, the port
number is randomly selected from the available port numbers. There is no default port
number.
Examples
The following example shows how to configure the TACACS+ client. In this example, the
client IP address is 168.1.1.1 and the port number is 1025.
ZXAN(config)#tacacs-client 168.1.1.1 port 1025
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.11 tacacs-server host
26.7 show tacacs+ configure
Function
This command configures the IP address, port number, key for communication with the
TACACS+ server, and timeout value of a TACACS+ host server.
26-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
host server
number1
Port number
102565535
number2
11000
interval, in seconds
name1
TACACS+ key
163 characters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
1. An NE can be configured with a maximum of 256 TACACS+ servers. The key, server
timeout value, and port number are optional.
The key and timeout value, if not configured, use the values configured by global
commands such as tacacs-server key and tacacs-server timeout.
By default, the port number is 49.
2. If the global key is set to abc through the command ZXAN(config)#tacacs-server ke
y abc but the server 1.2.3.4 sets the key to wwwabc through the command tacacsserver host, the NE uses the key wwwabc to communicate with the server 1.2.3.4.
Other servers use the global key if no key is configured, or use their own keys. For
example, if the server 2.3.4.5 is configured with the key pppabc through the command
ZXAN(config)#tacacs-server host 2.3.4.5 key pppabc, the key pppabc will be used to
communicate with the server 2.3.4.5.
3. The configuration principles of the timeout value and port number are the same as that
of the key.
Examples
The following example shows how to set a TACACS+ server with the IP address
168.1.10.1. The key, port number, and timeout value use the defaults.
ZXAN(config)#tacacs-server host 168.1.10.1
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.12 tacacs-server key
26.14 tacacs-server timeout
26.7 show tacacs+ configure
26-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the global TACACS+ server key.
Parameters
Parameter
Description
Value
name1
TACACS+ key
131 characters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configured key must the same as the key used on the TACACS+ server. Otherwise,
the user fails to be authenticated or authorized during login.
If the global key is set to abc but the server 1.2.3.4 is configured with the key wwwabc
through the tacacs-server host command, the NE uses the key wwwabc to communicate
with the server 1.2.3.4. Other servers use the global key if no key is configured, or use their
own keys. For example, if the server 2.3.4.5 is configured with the key pppabc through
the command ZXAN(config)#tacacs-server host 2.3.4.5 key pppabc, the key pppabc will be
used to communicate with the server 2.3.4.5.
Examples
The following example shows how to configure the TACACS+ key to test:
ZXAN(config)#tacacs-server key test
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.11 tacacs-server host
26.4 aaa group-server tacacs+
26.5 server
26.7 show tacacs+ configure
26-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the maximum size of a TACACS+ packet.
Parameters
Parameter
Description
Value
number1
10244096 bytes
size
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the maximum TACACS+ packet size is 1024 bytes.
Examples
The following example shows how to set the maximum TACACS+ packet size to 2000
bytes:
ZXAN(config)#tacacs-server packet 2000
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.11 tacacs-server host
26.7 show tacacs+ configure
26-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the interval for which the NE waits for the TACACS+ server to reply.
Parameters
Parameter
Description
Value
number1
11000
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
After an NE sends authentication or authorization request packets to the server, if the
server does not respond the message in the specified period, the next server in the server
group will be used. If only one server is available in the server group, the authentication
or authorization fails.
If the timeout value is not configured through this command, it uses the global value. For
details, refer to the tacacs-server key command.
Examples
The following example shows how to set the TACACS+ server timeout interval to 100
seconds:
ZXAN(config)#tacacs-server
timeout 100
Related Commands
26.9 tacacs enable
26.8 tacacs disable
26.11 tacacs-server host
26.7 show tacacs+ configure
26-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 27
RADIUS Commands
Table of Contents
algorithm ..................................................................................................................27-1
authentication local...................................................................................................27-2
deadtime ..................................................................................................................27-3
max-retries ...............................................................................................................27-4
radius authentication-group ......................................................................................27-5
server.......................................................................................................................27-6
timeout .....................................................................................................................27-7
27.1 algorithm
Syntax
algorithm {first |round-robin }
Function
This command sets the algorithm for selecting the RADIUS server.
Parameters
Parameter
Description
Value
first
Mode
bras-authgroup mode
Usage Guidelines
By default, the current valid server is selected as the new user authentication server.
27-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the algorithm for selecting servers in RADIUS
group 1 to round-robin:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)# algorithm round-robin
Related Commands
27.5 radius authentication-group
max-retries
timeout
deadtime
26.5 server
Function
This command determines whether to automatically perform local authentication when the
RADIUS server is unreachable.
Parameters
Parameter
Description
Value
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, local authentication is enabled when the RADIUS server is unreachable.
27-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable local authentication when the RADIUS server
is unreachable:
ZXAN(config)#authentication local enable
The following example shows how to disable local authentication when the RADIUS server
is unreachable:
ZXAN(config)#authentication local disable
Related Commands
27.5 radius authentication-group
27.3 deadtime
Syntax
deadtime number1
no deadtime
Function
This command sets the dead time for the RADIUS server.
Parameters
Parameter
Description
Value
number1
065534
Mode
bras-authgroup mode
Usage Guidelines
If the retransmission attempts of an authentication message due to no response from
the authentication server reaches a specified number, the OLT considers that the
authentication server is invalid for a period defined by this command.
27-3
SJ-20130118100307-010|2013-02-28 (R1.0)
After the period expires, if necessary, the OLT attempts to use the authentication server
again.
Examples
The following example shows how to set the dead time of RADIUS group 1 to 10 minutes:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#deadtime 10
Related Commands
27.5 radius authentication-group
max-retries
timeout
algorithm
26.5 server
27.4 max-retries
Syntax
max-retries number1
no max-retries
Function
This command sets the maximum number of authentication message retransmission
attempts after the RADIUS server times out.
Parameters
Parameter
Description
Value
number1
Maximum number of
1255
authentication message
retransmission attempts;
default: 3
Mode
bras-authgroup mode
Usage Guidelines
If an authentication message does not receive a response from the authentication server,
the OLT retransmits it till the maximum number specified by this command is reached.
27-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the maximum number of retransmission attempts
to 5 for RADIUS group 1:
ZXAN(config)# radius authentication-group 1
ZXAN(config-authgrp-1)# max-retries 5
Related Commands
27.5 radius authentication-group
algorithm
timeout
deadtime
26.5 server
Function
This command creates a RADIUS authentication group.
Parameters
Parameter
Description
Value
number1
110
number
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
An NE can be configured with a maximum of ten RADIUS groups.
Examples
The following example shows how to create RADIUS group 2:
ZXAN(config)#radius authentication-group 2
27-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
6.9 login-authentication-type
27.2 authentication local
27.6 server
Syntax
server number1 ip_addr1 key name1 [port number2 ]
no server number3
Function
This command configures a RADIUS server with the parameters such as IP address, port
number, and key for message exchange with the OLT.
Parameters
Parameter
Description
Value
number1
14
ip_addr1
name1
132 characters
102565535
default: 1812.
number3
14
Mode
bras-authgroup mode
Usage Guidelines
A maximum of four RADIUS server can be configured under each RADIUS authentication
group mode.
Examples
The following example shows how to configure server 1 in RADIUS group 1. In this
example, the server IP address is 10.61.225.14, the key is zte, and the port is default:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#server 1 10.61.225.14 key zte
27-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
27.5 radius authentication-group
max-retries
timeout
deadtime
algorithm
27.7 timeout
Syntax
timeout number1
no timeout
Function
This command sets the timeout retry parameters of a RADIUS authentication server.
Parameters
Parameter
Description
Value
number1
1255
Mode
bras-authgroup mode
Usage Guidelines
If no response is received after the timeout time is reached, the OLT retransmits the
authentication message to the RADIUS server.
Examples
The following example shows how to set the timeout interval of the RADIUS group 1 to 10
seconds:
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#timeout 10
27-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
27.5 radius authentication-group
max-retries
algorithm
deadtime
26.5 server
27-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 28
SNMP Commands
Table of Contents
show snmp...............................................................................................................28-1
show snmp config ....................................................................................................28-2
show snmp engine-id ...............................................................................................28-3
show snmp group .....................................................................................................28-4
show snmp user .......................................................................................................28-5
show snmplogfile......................................................................................................28-6
show system-group ..................................................................................................28-7
snmp-server access-list............................................................................................28-8
snmp-server community ...........................................................................................28-9
snmp-server contact...............................................................................................28-10
snmp-server context...............................................................................................28-10
snmp-server enable................................................................................................ 28-11
snmp-server engine-id............................................................................................28-12
snmp-server group .................................................................................................28-13
snmp-server host ...................................................................................................28-14
snmp-server location ..............................................................................................28-16
snmp-server packetsize..........................................................................................28-17
snmp-server trap-source ........................................................................................28-17
snmp-server user ...................................................................................................28-18
snmp-server view ...................................................................................................28-19
Function
This command displays the statistical information about SNMP packets.
Parameters
None
Mode
Any mode
28-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the statistical information about SNMP
packets:
ZXAN(config)#show snmp
Contact : +86-021-68895000
Location: No.889 BiBo Rd. PuDong District, ShangHai, China
257
18
579
142
Get-request PDUs
97
Get-next PDUs
Set-request PDUs
239
General errors
239
Response PDUs
ZXAN(config)#
Related Commands
None
Function
This command displays all the SNMP configurations.
Parameters
None
28-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display all the SNMP configurations:
ZXAN(config)#show snmp config
snmp-server location No.889 BiBo Rd. PuDong District,
ShangHai, China
snmp-server contact +86-021-68895000
snmp-server packetSize 3000
snmp-server engine-id 830900020300010289d64401
snmp-server access-list 1
snmp-server community myCommunity view myview rw
snmp-server community myy view myv rw
snmp-server community public view allview rw
snmp-server view allview internet included
snmp-server view DefaultView system included
snmp-server enable inform SNMP
snmp-server enable inform VPN
snmp-server enable inform BGP
snmp-server enable inform OSPF
snmp-server enable inform RMON
snmp-server enable inform STALARM
snmp-server enable trap SNMP
snmp-server enable trap VPN
ZXAN(config)#
Related Commands
28.4 show snmp group
28.5 show snmp user
28.3 show snmp engine-id
28.1 show snmp
Function
This command displays the identification of the local SNMP engine. As the core of
an SNMP entity, an SNMP engine implements the functions such as authenticates
SNMP message transmission and reception, extracts PDU packaging messages, and
communicates with SNMP applications.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the local SNMP engine ID:
ZXAN#show snmp engine-id
the engine-id:830900020300010289d64401
Related Commands
28.13 snmp-server engine-id
Function
This command displays the local SNMP groups.
Parameters
None
Mode
Any mode
28-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the local SNMP groups:
ZXAN#show snmp group
groupName :test
sec_Model :v3
sec_Level :AUTH
readView
:test
writeView :test
notifyView:tesr
rowStatus :ACTIVE
contextName :test
contextMatch :match-exact
groupName :group1
sec_Model :v3
sec_Level :PRIV
readView
:view1
writeView :view1
notifyView:view1
rowStatus :ACTIVE
Related Commands
28.14 snmp-server group
Function
This command displays the local SNMP user.
Parameters
None
Mode
Any mode
28-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the local SNMP user:
ZXAN#show snmp user
username
:test
engine-id
:123456678900000000000000
auth_type
:SHA
group_name :test(v3)
encryptType:DES_CBC
storageType:NONVOLATILE
row_status :ACTIVE
Related Commands
28.19 snmp-server user
Function
This command displays the historical configuration command records saved in the SNMP
log buffer.
Parameters
Parameter
Description
Value
date1
time1
date2
time2
ip_addr1
28-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
By default, all the records in SNMP log buffer are displayed.
Examples
The following example shows how to display the records of all SNMP operation commands:
ZXAN(config)#show snmplogfile
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerFileName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserPwd.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerUserName.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpServerIpAddress.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpClntOperType.0
02:37:31 01/01/2001 UTC 111.111.111.211 get zxAnFtpManagedFileType.0
Related Commands
None
Function
This command displays the system information, including system name, operation period,
and copyright information.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the system information:
ZXAN(config)#show system-group
28-7
SJ-20130118100307-010|2013-02-28 (R1.0)
ZXAN
Related Commands
None
Function
This command applies the configured ACL to control the host address which accesses the
system over the SNMP.
Parameters
Parameter
Description
Value
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to apply ACL list 1 to control the host address which
accesses the system over the SNMP:
ZXAN(config)#snmp-server access-list 1
28-8
SJ-20130118100307-010|2013-02-28 (R1.0)
ZXAN(config)#
Related Commands
42.4 acl standard
Function
This command sets the SNMP message community string.
Parameters
Parameter
Description
Value
name1
132
name2
string
name3
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-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
28.20 snmp-server view
Function
This command configures the contact information of the person in charge of the MIB object
system.
Parameters
Parameter
Description
Value
LINE1
information
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the contact information of the person in charge
of the system:
Related Commands
None
Function
This command defines the SNMP context name.
Parameters
Parameter
Description
Value
name1
Context name
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to define the SNMP context name to contextA:
ZXAN(config)#snmp-server context contextA
Related Commands
None
Function
This command enables the agent to send a notification/trap and configures the
notification/trap type.
Parameters
Parameter
Description
Value
name1
notification or trap
name2
Notification type
28-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is used in global configuration mode. By default, all notifications/traps are
reported.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to enable the agent to send all notifications:
ZXAN(config)#snmp-server enable inform
The following example shows how to enable the agent to send all traps:
ZXAN(config)#snmp-server enable trap
Related Commands
28.15 snmp-server host
Function
This command sets a local SNMP engine ID. As the core of an SNMP entity, an SNMP
engine implements the functions such as authenticates SNMP message transmission
and reception, extracts PDU packaging messages, and communicates with SNMP
applications.
Parameters
Parameter
Description
Value
name1
Mode
Configuration mode: ZXAN (config)#
28-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the local SNMP engine ID to 12345667890:
ZXAN(config)#snmp-server engine-id 12345667890
Related Commands
28.3 show snmp engine-id
Function
This command configures a new SNMP group, namely, maps SNMP users to SNMP views.
Parameters
Parameter
Description
Value
name1
Group name
v3
name2
prefix matching
match-exact
exact matching
name4
name5
name6
Mode
Configuration mode: ZXAN (config)#
28-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If the read view is not specified, the system group (OID is 1.3.6.1.2.1.1) can be read.
To delete an SNMP group, use the no form of this command.
Examples
The following example shows how to set a SNMPv3 group named group1, with the security
level as priv (meaning authentication and encryption), and the names of read, write, and
notify views as view1:
ZXAN(config)#snmp-server group group1 v3 priv read view1
write view1 notify view1
Related Commands
28.4 show snmp group
28.19 snmp-server user
Function
This command configures the server that receives SNMP traps. SNMP traps or informs
can be reported and SNMP v2/v3 reporting is supported.
The SNMP Trap server for receiving traps can be a standard or ZTE private server.
This command must be used in combination with the snmp-server enable command.
Parameters
Parameter
Description
Value
ip_addr1
name1
to the server
version
Version
2c
28-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
name3
enable
disable
name4
trap server
isnmsserver
NMS
number1
1-8
number2
0-65535
third-party-server
party NMS
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the server for receving SNMP traps or informs. The following
describes the procedure for SNMPv2 and SNMPv3 traps:
1. Use the snmp-server enable to enable SNMP.
2. Use the snmp-server view command to create an SNMP view. For details, refer to
related SNMP commands.
3. For SNMPv2 traps, use the snmp-server community3 command to create a community.
4. For SNMPv3 traps, use the snmp-server user and snmp-server group commands to
create the SNMP v3 user name and group information respectively.
Examples
The following example shows how to create an SNMP view:
ZXAN(config)#snmp-server view allview org included
The following example shows how to set the destination IP address of the
SNMPv2 trap server:
28-15
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example shows how to set the destination IP address of the
SNMPv3 trap server:
Related Commands
28.12 snmp-server enable
28.19 snmp-server user
28.14 snmp-server group
28.9 snmp-server community
Function
This command sets the physical location of a node.
Parameters
Parameter
Description
Value
LINE1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the physical location of a node:
28-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the maximum length of SNMP packets.
Parameters
Parameter
Description
Value
number1
4848192
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-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the source IP address for SNMP traps.
Parameters
Parameter
Description
Value
ip_addr1
Source IP address
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the source IP address of SNMP traps to 10.1.1.1:
ZXAN(config)#snmp-server trap-source 10.1.1.1
Related Commands
None
Function
This command configures an SNMPv3 user.
Parameters
Parameter
Description
Value
name1
name2
belongs
v3
28-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
encrypted
format
auth
used
name3
used
name4
Authentication password
des56
is used
name5
Encryption password
name6
used
name7
Authentication password
name8
Encryption password
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the encrypted parameter is not present, meaning that the entered password is
the original password.
To delete the SNMPv3 user, use the no form of this command.
Examples
The following example shows how to set an SNMP user named user1, with the MD5
authentication password as 12345678 and the CBC-DES encryption password as
12345678:
ZXAN(config)#snmp-server user user1 group1 v3 auth md5 12345678 priv des56 12345678
Related Commands
28.5 show snmp user
28.14 snmp-server group
Function
This command defines an SNMPv2 view.
Parameters
Parameter
Description
Value
name1
View name
A character string
name2
included
l
name4
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Directly enter this command in global configuration mode.
The subtree-id is an OID like 1.2.3.4.5, or a node name of MIB subtree, such as internet.
To delete the view, use the no form of this command.
Examples
The following example shows how to define an SNMPv2 view with the name myViewName:
ZXAN(config)#snmp-server view myViewName 1.3.6.1.2.1 included
Related Commands
28.9 snmp-server community
28-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 29
DHCP Commands
Table of Contents
DHCP Snooping Commands ....................................................................................29-1
DHCP Layer3 Commands ......................................................................................29-3
DHCP Relay/Proxy Commands ................................................................................29-7
DHCP Server Commands ......................................................................................29-14
Function
This command configures the maximum allowed number of DHCP sessions.
Parameters
Parameter
Description
Value
number1
1255
DHCP sessions
number2
vport number
1255
Mode
gpon onu interface mode and epon onu interface mode
Usage Guidelines
None
Examples
The following example shows how to set the maximum allowed number of DHCP sessions
on an ONU interface to 100:
29-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays user information of a DHCP snooping interface.
Parameters
Parameter
Description
Value
interface1
Interface
number1
vport number
1255
number2
PVC ID
18
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display user information of a DHCP snooping
interface:
ZXAN#show ip dhcp snooping port epon-onu_0/4/1:1
Status
: disable
IP addr
Vlan State
Expiration
Related Commands
None
29-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the maximum allowed number of DHCP sessions on a
DHCP snooping interface.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
vport number
1255
number2
PVC ID
18
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the maximum allowed DHCP sessions on the
interface epon-onu_0/4/1:1 vport 1:
ZXAN(config-if)#show ip dhcp snooping port quota epon-onu_0/4/1:1 vport 1
Onu
Vport
epon-onu_0/4/1 1
Quota
No Limit
Related Commands
None
Function
This command enables DHCP on a global basis.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
An interface can work in DHCP relay, proxy, or server mode only after DHCP is enabled on
a global basis on this interface. However, DHCP snooping must be enabled independently.
Examples
The following example shows how to enable DHCP on a global basis:
ZXAN(config)#ip dhcp enable
Related Commands
None
Function
This command enables DHCP logging.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
29-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable DHCP logging:
ZXAN(config)#ip dhcp logging on
Related Commands
None
Function
This command configures DHCP mode for an interface.
Parameters
Parameter
Description
Value
name1
DHCP mode
Mode
l
l
Usage Guidelines
This command is only valid when DHCP is enabled on a global basis.
Examples
The following example shows how to enable the VLAN2 interface to work in DHCP proxy
mode:
ZXAN(config)#interface vlan 2
Related Commands
None
29-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays DHCP global configuration.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display DHCP global configuration:
ZXAN#show ip dhcp configure
DHCP process state information
process state : disable(stop)
logging flag : off
DHCP server configure:
available dns for client.master:
lease time of ip address:
slave:
3600 seconds
default(replace)
default(china-tel)
10
Related Commands
None
29-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables forwarding of packets based on option60 in DHCP relay and proxy
mode.
Parameters
None
Mode
VLAN interface configuration mode: ZXAN(config-if-vlanNumber)
Usage Guidelines
A request packet is discarded if no matching server IP address is detected in the option60
field of the packet.
Examples
The following example shows how to configure packet forwarding based on option60:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp helper-address policy vclass-id
Related Commands
None
Function
This command sets the short lease time in DHCP proxy mode.
29-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
6018000
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
None
Examples
The following example shows how to set the short lease time in DHCP proxy mode to 1000
seconds:
ZXAN(config)#ip dhcp proxy client leasetime 1000
Related Commands
None
Function
This command configures the DHCP agent address for an interface in DHCP relay and
proxy mode.
Parameters
Parameter
Description
Value
ip_addr1
Mode
l
l
Usage Guidelines
To cancel the setting, use the no form of this command.
29-8
SJ-20130118100307-010|2013-02-28 (R1.0)
The IP address of DHCP agent must be configured to enable the DHCP Relay to forward
DHCP requests to the external DHCP server. The DHCP agent address is one of the IP
addresses on the interface where the DHCP client is connected.
The external DHCP server assigns IP addresses to users, which are in different network
segments from the DHCP agent address. The DHCP response packets sent by the
DHCP server are forwarded by the DHCP agent to the DHCP client. To ensure the packet
forwarding, a route to the subnet where the DHCP agent is located must be configured
on the external DHCP server.
The giaddr field in a DHCP packet indicates the DHCP agent address.
Examples
The following example shows how to configure the DHCP agent address of the interface
VLAN 2 to 192.200.100.254:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp relay agent 192.200.100.254
Related Commands
None
Function
This command configures the IP address and forwarding mode of the external DHCP
server for an interface in DHCP relay and proxy mode.
Parameters
Parameter
Description
Value
ip_addr1
DHCP server
name1
Mode
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no form of this command.
The default forwarding mode is field learning mode.
Examples
The following example shows how to configure the external DHCP server address of the
interface VLAN2 to 192.200.100.254:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp relay server 192.200.100.254
Related Commands
29.3.3 ip dhcp relay agent
Function
This command configures the maximum allowed number of times that the DHCP relay
server in DHCP relay or proxy mode fails to send a request packet to the DHCP server,
meaning the count of request packets that do not obtain a response of reply packet.
Parameters
Parameter
Description
Value
number1
51000
times
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
A DHCP relay server is considered faulty and its forwarding status is set to dead if the
number of request packet failures exceeds the value set in this command. The request
packets will be forwarded to another relay server if multiple servers are configured. If only
one relay server is configured, this server will still be used.
29-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the maximum allowed number of request
packet failures to 1000:
ZXAN(config)#ip dhcp relay server retry 1000
Related Commands
None
Function
This command configures the mapping between DHCP option60 string and IP address of
the DHCP server.
Parameters
Parameter
Description
Value
name1
ip_addr1
name2
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The default forwarding mode is automatic learning mode. In standard mode, subsequent
DHCP packets are not processes after a user successfully requests an IP address and
the user space is released. In security mode, the user space is reserved and subsequent
DHCP unicast packets are processed after a user successfully requests an IP address
Examples
The following example shows how to configure the mapping between DHCP option60
string and IP addresses of DHCP server:
ZXAN(config)#ip dhcp relay server vclass-id test 10.1.1.1 standard
29-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command enables binding of IP addresses assigned by the DHCP server and the
ARP.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
The binding between DHCP server assigned IP addresses and the ARP disables the ARP
learning. To cancel the binding, use the no form of this command.
When the binding is enabled, the IP address assigned to the DHCP user is bound with
an ARP entry after DHCP Relay successfully forwards the IP address that is responded
from DHCP Server to DHCP Client. The binding disables ARP learning and prevents ARP
attacks to DHCP users.
This command is only valid when the interface is in security forwarding mode.
By default, the binding of DHCP user IP address and the ARP is disabled.
Examples
The following command shows how to enable the binding of DHCP server assigned IP
address and ARP:
ZXAN(config)#ip dhcp relay update arp
Related Commands
None
29-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays parameters configured for DHCP clients.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display parameters configured for DHCP clients:
ZXAN#show ip dhcp proxy client
DHCP client configure information in proxy mode:
leasetime
:60 seconds
Related Commands
None
Function
This command displays the mapping between DHCP option60 string and server IP
address.
Parameters
Parameter
Description
Value
name1
29-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the mapping between DHCP option60 string
and server IP address:
ZXAN#show ip dhcp relay server vclass-id
test:
DHCP server :10.1.1.1
standard
Related Commands
None
Function
The command configures DNS addresses sent by the DHCP server to DHCP clients.
Parameters
Parameter
Description
Value
ip_addr1
ip_addr2
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the primary DNS address to 10.1.1.1 and the
secondary DNS address to 10.1.1.10:
ZXAN(config)#ip dhcp server dns 10.1.1.1 10.1.1.10
Related Commands
29.4.6 show ip dhcp server user
29.4.3 ip dhcp server leasetime
29.4.2 ip dhcp server gateway
30.2 ip local pool
29.4.5 peer default ip pool
Function
This command configures the DHCP gateway address that the DHCP server provides to
DCHP clients.
Parameters
Parameter
Description
Value
ip_addr1
Mode
l
l
Usage Guidelines
To cancel the setting, use the no form of this command.
The DHCP gateway address configured on an interface is sent as the default gateway
address by the DHCP server to DHCP clients when the DHCP server is enabled. The
gateway address must belong to the same network segment as an IP address of the
interface.
When the equipment is used as the gateway of a DHCP client, the gateway address is
set as the IP address of the interface for normal communication of the DHCP client. In
29-15
SJ-20130118100307-010|2013-02-28 (R1.0)
addition, the DHCP client cannot obtain a lease of an IP address from the DHCP server
through the unicasting mode when the IP address lease expires.
Examples
The following example shows how to configure the DHCP gateway address:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip dhcp server gateway 10.1.1.1
Related Commands
29.4.6 show ip dhcp server user
29.4.3 ip dhcp server leasetime
29.4.1 ip dhcp server dns
29.4.5 peer default ip pool
Function
This command configures a lease time during which DHCP clients can obtain a lease of
IP address from the DHCP server.
Parameters
Parameter
Description
Value
number1
IP lease time
6018000
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
To restore the default lease time, use the no form of this command.
A client must renew a lease before the lease time expires. Or else, the DHCP server does
not allow the client to use the IP address any longer when the lease time expires.
Examples
The following example shows how to set the IP lease time of the DHCP server to 1200
seconds:
29-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
29.4.6 show ip dhcp server user
29.4.1 ip dhcp server dns
Function
This command binds IP addresses assigned by the DHCP server to the ARP table.
Parameters
None
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Examples
The following example how to enable the binding of DHCP IP address and ARP:
ZXAN(config)#ip dhcp server update arp
Related Commands
29.3.9 show ip dhcp relay server vclass-id
Function
This command specifies an IP address pool for an interface.
Parameters
Parameter
Description
Value
name1
Mode
l
l
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example how to specify an IP address pool for an interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#peer default ip pool test
Related Commands
30.2 ip local pool
30.4 show ip local pool
Function
This command displays online users of the DHCP server.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
All modes except user mode
29-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display online users of the DHCP server:
ZXAN#show ip dhcp server user vlan 2
Current online users are 0.
Index MAC addr
IP addr
State
Expiration
Related Commands
None
29-19
SJ-20130118100307-010|2013-02-28 (R1.0)
29-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 30
Function
This command clears conflict addresses in an address pool.
Parameters
Parameter
Description
Value
ip_addr1
IP address
name1
all
Mode
Privileged mode: ZXAN#
Usage Guidelines
Conflict addresses can be cleared automatically in case of system timeout, or manually by
users by using this command.
Examples
The following example shows how to clear conflict addresses in an address pool:
ZXAN#clear ip pool conflict-ip address 100.1.1.10
30-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
30.3 ip local pool conflict-ip
30.5 show ip local pool conflict-ip
Function
This command configures an IP address pool for a DHCP server.
Parameters
Parameter
Description
Value
name1
Pool name
ip_addr1
Start IP address
ip_addr2
End IP address
mask1
Subnet mask
ip_addr3
Start IP address
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure an IP address pool for a DHCP server:
ZXAN(config)#ip local pool test 10.1.1.1 10.1.1.255 255.255.0.0
Related Commands
None
30-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the release interval for conflict addresses in an IP address pool
in case of timeout.
Parameters
Parameter
Description
Value
number1
Release interval
Range: 160000
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the release interval as 60 minutes for
conflict addresses in case of timeout:
ZXAN(config)#ip local pool conflict-ip 60
Related Commands
30.5 show ip local pool conflict-ip
30.1 clear ip pool conflict-ip
Function
This command displays local pool information configured.
30-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display local pool information configured:
ZXAN#show ip local pool ZXAN
Available addresses:
100.1.1.1
100.1.1.2
100.1.1.3
100.1.1.4
100.1.1.5
100.1.1.6
100.1.1.7
100.1.1.8
100.1.1.9
100.1.1.10
Inuse addresses:(* -Conflict Flag)
Related Commands
30.2 ip local pool
Function
This command displays information about address conflict in an address pool.
Parameters
None
30-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about address conflict in an
address pool:
ZXAN#show ip local pool conflict-ip
Conflict-ip
Pool
Timeout(min)
Related Commands
30.1 clear ip pool conflict-ip
30.3 ip local pool conflict-ip
30-5
SJ-20130118100307-010|2013-02-28 (R1.0)
30-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 31
SSH Commands
Table of Contents
show ssh ..................................................................................................................31-1
ssh server authentication ispgroup ...........................................................................31-2
ssh server authentication mode ................................................................................31-3
ssh server authentication type ..................................................................................31-3
ssh server enable .....................................................................................................31-4
ssh server generate-key ...........................................................................................31-5
ssh server only .........................................................................................................31-5
ssh server version ....................................................................................................31-6
Function
This command displays the configuration information related to the SSH server.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration information related to the
SSH server:
ZXAN#show ssh
SSH configuration:
SSH enable-flag configuration : disable
SSH version
: ver2.0
31-1
SJ-20130118100307-010|2013-02-28 (R1.0)
: disable
: disable
: 1
: local
: chap
Related Commands
None
Function
This command sets the RADIUS authentication group when the SSH server operates in
RADIUS authentication mode.
Parameters
Parameter
Description
Value
number1
110
number
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configuration of the SSH server RADIUS authentication group number takes effect
only when the authentication mode is RADIUS.
Examples
The following example shows how to how to set the RADIUS server group number to 2
when the SSH server uses the RADIUS authentication mode:
Related Commands
None
31-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command sets the SSH server authentication mode.
Parameters
Parameter
Description
Value
name1
Authentication mode
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to set the SSH server to local authentication:
ZXAN(config)#ssh server authentication mode local
Related Commands
None
Function
This command sets the SSH server authentication type.
Parameters
Parameter
Description
Value
name1
Authentication type
31-3
SJ-20130118100307-010|2013-02-28 (R1.0)
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.
Examples
The following example shows how to enable the SSH server:
ZXAN(config)#ssh server enable
Related Commands
None
31-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command set the SSH server to generate the RSA key when SSH server operates in
protocol version 1.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The RSA key needs to be generated only if the SSH server used protocol version 1. If the
protocol version is 2, it is needless to calculate this key.
Examples
The following example shows how to set the SSH server to generate the RSA key:
ZXAN(config)#ssh server generate-key
Related Commands
None
Function
This command sets the SSH server as the unique safe configuration access mode and
disables Telnet access.
Parameters
None
31-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the SSH server as the unique access mode:
ZXAN(config)#ssh server only
Related Commands
None
Function
This command sets the SSH server protocol version.
Parameters
Parameter
Description
Value
number1
12
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The SSH server supports two protocols. By default, the version number is 2.
Examples
The following example shows how to set the SSH server protocol version number to 1:
ZXAN(config)#ssh server version 1
Related Commands
None
31-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 32
History Performance
Statistics Commands
Table of Contents
his-performance alarm .............................................................................................32-1
his-performance auto-upload....................................................................................32-2
his-performance download .......................................................................................32-2
his-performance sample ...........................................................................................32-3
his-performance upload 1-day ..................................................................................32-4
his-performance upload 15-minute ...........................................................................32-5
Function
This command enables or disables the history performance alarm function.
Parameters
Parameter
Description
Value
name1
Default: enable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The performance alarm is based on performance data sampling. Therefore, make sure to
enable the his-performance sample command before enable this command.
Examples
The following example shows how to enable the history performance alarm function:
ZXAN(config)#his-performance alarm enable
32-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
32.4 his-performance sample
Function
This function enables or disables the auto-upload function for a history performance data
file.
Parameters
Parameter
Description
Value
name1
Default: disable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The performance data auto-upload is based on performance data sampling. Therefore,
make sure to enable the his-performance sample command before enable this command.
Examples
ZXAN(config)#his-performance auto-upload enable
Related Commands
32.4 his-performance sample
Function
This command downloads the configuration file of history performance sampling points.
32-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configuration file of performance sampling points is downloaded to the cfg directory
of an NE through FTP. Downloading through sFTP is not supported.
Examples
The following example shows how to download the configuration file of history performance
sampling points:
ZXAN(config)#his-performance download sample.xml
Related Commands
1.3 boot-server
Function
This command enables or disables history performance data sampling.
Parameters
Parameter
Description
Value
name1
Default: enable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is a global switch for performance data sampling.
32-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the history performance data sampling
function:
ZXAN(config)#his-performance sample enable
Related Commands
None
Function
This command organizes the history performance data, stored in an NE, of the last day in
CSV format, and uploads the file through FTP.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
An NE always stores one-day history performance data of the last one period.
If the configuration file (sample.xml) of performance sampling points exists in the cfg
directory of the NE, the uploaded data file corresponds to the data of the sampling point
in the configuration file.
If the configuration file (sample.xml) of performance sampling points does not exist in the
cfg directory of the NE, the uploaded data file contains the data of all the sampling points
configured after the NE enables the performance sampling function.
Examples
The following example shows how to upload the one-day history performance data file:
ZXAN(config)#his-performance upload 1-day
Related Commands
32.3 his-performance download
32-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command organizes the history performance data, stored in an NE, of the last 15
minutes in CSV format, and uploads the file through FTP.
Parameters
Parameter
Description
Value
number1
Range: 12
number2
Range: 12
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
An NE always stores 15-minute history performance data of the last two periods.
If the configuration file (sample.xml) of performance sampling points exists in the cfg
directory of the NE, the uploaded data file corresponds to the data of the sampling point
in the configuration file.
If the configuration file (sample.xml) of performance sampling points does not exist in the
cfg directory of the NE, the uploaded data file contains the data of all the sampling points
configured after the NE enables the performance sampling function.
Examples
The following example shows how to upload two 15-minute history performance data file,
where 1 indicates the last one period:
ZXAN(config)#his-performance upload 15-minute
interval-begin 1
interval-end 2
Related Commands
32.3 his-performance download
32-5
SJ-20130118100307-010|2013-02-28 (R1.0)
32-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 33
Function
This command configures static IPv4 items.
Parameters
Parameter
Description
Value
ip_addr1
IP address
hexadecimal1
MAC address
number1
VLAN number
Range: 14094
number2
Service port ID
Range: 116
Mode
PTP, WDM-PON-ONU, and GPON ONU interface mode
33-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
ZXAN(config)#interface gei_1/2/1
ZXAN(config-if)#ip-service ip-fixed-user 1.1.1.1 vlan 10 sport 1
Related Commands
33.10 show ip-service user
Function
This command configures global information about the IP Source Guard function.
Parameters
Parameter
Description
Value
name1
enable/disable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable global information about the IP Source Guard
function:
ZXAN(config)#ip-service ip-source-guard enable
Related Commands
33.6 show ip-service ip-source-guard
33-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables or disables the IP Source Guard function on the GPON/EPON
ONU interface.
Parameters
Parameter
Description
Value
name1
enable/disable
range1
Range: 116
Mode
PTP, WDM-PON-ONU, and GPON ONU interface mode
Usage Guidelines
This function cannot be enabled until both the global switch and the switch on the
GPON/EPON ONU interface are enabled.
Examples
The following example shows how to enable the IP Source Guard function on the
GPON/EPON ONU interface:
ZXAN(config)#interface gei_1/2/1
ZXAN(config-if)#ip-service ip-source-guard enable sport 1
Related Commands
33.6 show ip-service ip-source-guard
33-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the binding mode of the IP Source Guard function as IP+MAC.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, only the IP address is bound for the IP Source Guard function. If it is necessary
to bind the IP+MAC address, use this command.
Examples
ZXAN(config)#ip-service ip-source-guard bind-type ip+mac
Related Commands
33.7 show ip-service ip-source-guard bind-type
Function
This command configures static IPv6 Source Guard items.
Parameters
Parameter
Description
Value
ipv6_addr1
IPv6 address
number1
Mask length
Range: 1128
hexadecimal1
MAC address
number2
VLAN ID
Range: 14094
number3
Service port ID
Range: 116
33-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
PTP, GPON ONU, and EPON ONU interface mode
Usage Guidelines
None
Examples
ZXAN(config)#interface gei_1/2/1
ZXAN(config-if)#ip-service ipv6-fixed-user 2000::1 ipv6-mask 128 vlan 10 sport 1
Related Commands
33.8 show ip-service ipv6-user
Function
This command displays global information or port information about the IP Source Guard
function.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display global information about the IP Source Guard
function:
ZXAN(config)#show ip-service ip-source-guard
33-5
SJ-20130118100307-010|2013-02-28 (R1.0)
The following example shows how to display port information about the IP Source Guard
function:
ZXAN(config)#show ip-service ip-source-guard gpon-onu_0/4/1:1
Port
Sport
ip-source-guard status
gpon-onu_0/4/1:1
disable
Related Commands
33.2 ip-service ip-source-guard
Function
This command displays the binding mode for the IP Source Guard function.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show ip-service ip-source-guard bind-type
ip source guard bind type: ip+mac filter
Related Commands
33.4 ip-service ip-source-guard bind-type ip+mac
Function
This command displays information about users of the IPv6 Source Guard.
Parameters
Parameter
Description
Value
ipv6_addr1
IPv6 address
number1
Prefix length
Range: 1128
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
This command is used when it is necessary to know information about the IPv6 Source
Guard on a certain ONU interface, or to know to which interface's IPv6 Source Guard item
a specific IP address belongs.
Examples
The following examples shows how to display information about users on a specific ONU
interface:
ZXAN(config)#show ip-service ipv6-user interface gpon-onu_1/4/1:1
The following examples shows how to display information about a specific IP address:
ZXAN(config)#show ip-service ipv6-user ipv6-address 2000::1 ipv6-mask 128
Related Commands
None
Function
This command displays status information about driver setting for IPv6 Source Guard
items.
33-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
This command is used to view whether a driver is set successfully for an IPv6 Source Guard
item.
Examples
ZXAN(config)#show ip-service ipv6-user status gpon-onu_1/2/1:1
Related Commands
None
Function
This command displays information about users of the IP Source Guard.
Parameters
Parameter
Description
Value
ip_addr1
10.1.1.1)
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
This command is used when it is necessary to know information about the IP Source Guard
on a certain ONU interface, or to know to which interface's IP Source Guard item a specific
IP address belongs.
33-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following examples shows how to display information about users on a specific ONU
interface:
ZXAN(config)#show ip-service user interface gpon-onu_0/4/1:1
Port
Sport
IP-addr
MAC-addr
Vlan
Source
gpon-onu_0/4/1:1
1.1.1.1
0000.0000.0000
10
fixed-user
The following examples shows how to display information about a specific IP address:
ZXAN(config)#show ip-service user ip-address 1.1.1.1
IP-addr
MAC-addr
Port
1.1.1.1
0000.0000.0000 gpon-onu_0/4/1:1
Sport
Vlan
Source
10
fixed-user
Related Commands
None
Function
This command displays status information about driver setting for IPv4 items of the IP
Source Guard.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
This command is used to view status information about driver setting.
Examples
ZXAN(config)#show ip-service user status gpon-onu_1/2/1:1
Related Commands
None
33-9
SJ-20130118100307-010|2013-02-28 (R1.0)
33-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 34
34.1 anti-dos
Syntax
anti-dos name1
Function
This command enables or disables the anti-DoS attack function.
Parameters
Parameter
Description
Value
name1
enable or disable
Mode
control panel configuration mode
34-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The anti-DoS attack function prevents Denial of Service (DoS) attacks and ensures that
the NE provides services as required.
Examples
The following example shows how to enable the anti-DoS attack function:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos enable
Related Commands
34.11 show control-panel configure
Function
This command sets the blacklist refreshing period for anti-DoS attack.
Parameters
Parameter
Description
Value
number1
1600 seconds
blacklist
Mode
control panel configuration mode
Usage Guidelines
The system checks whether the blacklist entries are threshold crossing. If an entry is
threshold crossing, the system continues blocking packets matching this entry. If an entry is
not threshold crossing, this entry is removed from the blacklist. A short blacklist refreshing
period (blocking-time) is recommended because a long refreshing period influences the
prevention effect.
Examples
The following example shows how to set the blacklist refreshing period to 300 seconds:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos blocking-time 300
34-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
34.11 show control-panel configure
34.5 anti-dos limit-num
Function
This command enables or disables packet dropping.
Parameters
Parameter
Description
Value
name1
enable or disable
dropping.
Mode
control panel configuration mode
Usage Guidelines
When packet dropping is enabled, the packets matching the blacklist are discarded. The
NE CPU does not process these packets.
Examples
The following example shows how to enable packet dropping:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos drop enable
Related Commands
34.11 show control-panel configure
34-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command determines whether to enable the driver to limit packet rate for anti-DoS
attack.
Parameters
Parameter
Description
Value
name1
enable or disable
limiting.
Mode
control panel configuration mode
Usage Guidelines
If rate limiting is enabled, the system notifies the driver to limit the rate of packets matching
the blacklist when the blacklist is generated. If the blacklist is removed, the rate limiting is
disabled.
Rate limiting is enabled by default. To ensure the effect of preventing anti-DoS attack, do
not disable the rate limiting.
Examples
The following example shows how to enable rate limiting for the driver:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos drv-limit enable
Related Commands
34.11 show control-panel configure
Function
This command sets the rate limit for packets matching the anti-DoS blacklist.
34-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
10-1000
Mode
control panel configuration mode
Usage Guidelines
The product of rate limit (limit-number) and blacklist refreshing period (blocking-time)
indicates the maximum allowed number of packets matching the blacklist during a
refreshing period.
Examples
The following example shows how to set the rate limit to 20 pps:
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos limit-num 20
Related Commands
34.1 anti-dos
34.11 show control-panel configure
Function
This command clears statistics of rate-limited packets.
Parameters
None
Mode
Privileged mode: ZXAN#
34-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
Use this command to clear statistical information of packet types that are configured with
rate limits.
Examples
The following example shows how to clear statistics of rate-limited packets:
ZXAN#clear packet-statistics
Related Commands
34.8 packet-limit
34.7 cpu
Syntax
cpu {queue {0 number1 |1 number2 |2 number3 |3 number4 |4 number5 |5 number6 |6 number7 |7
number8 } }
no cpu {queue {0 |1 |2 |3 |4 |5 |6 |7 } }
Function
This command sets the rate limit for each queue in the CPU of a main control card.
Parameters
Parameter
Description
Value
number1
16512
number2
16512
number3
16512
number4
16512
number5
16512
number6
16512
number7
16512
number8
16512
Queue ID
Queue ID
Queue ID
Queue ID
Queue ID
34-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
Queue ID
Queue ID
Queue ID
Mode
control panel configuration mode
Usage Guidelines
This command sets the packet receiving rate limit for a queue in the CPU of a main control
card. To restore the default settings, use the no form of this command.
Examples
The following example shows how to set the packet receiving rate of queue 0 to 267pps:
ZXAN(control-panel)#cpu queue 0 267
Related Commands
34.13 show cpu queue
34.14 show cpu queue statistics
34.8 packet-limit
Syntax
packet-limit {all number1 |arp number2 |icmp number3 |igmp number4 |bpdu number5 |dhcp
number6 |vbas number7 |pppoe number8 |snmp number9 |ipv6_rs number10 |ipv6_ra number11
|ipv6_ns number12 |ipv6_na number13 |ipv6_icmp number14 |ipv6_dhcp number15 |ssh number
16 |telnet number17 |bfd number18 |zesr number19 |stp number20 |lacp number21 |lldp number22
|rip number23 |bgp number24 |ospf number25 |isis number26 |ldp number27 |cfm number28 }
no packet-limit {all |arp |icmp |igmp |bpdu |dhcp |vbas |pppoe |snmp |ipv6_rs |ipv6_ra |ipv6
_ns |ipv6_na |ipv6_icmp |ipv6_dhcp |ssh |telnet |bfd |zesr |stp |lacp |lldp |rip |bgp |ospf |isis
|ldp |cfm }
Function
This command sets a rate limit for packets of a specific type.
34-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
10065535 pps
number2
1200 pps
number3
1200 pps
number4
1200 pps
number5
1200 pps
number6
1200 pps
number7
1200 pps
number8
1200 pps
number9
1200 pps
number10
1200 pps
number11
1200 pps
number12
1200 pps
number13
1200 pps
number14
1200 pps
number15
1200 pps
number16
1200 pps
number17
1200 pps
number18
1200 pps
number19
1200 pps
number20
1200 pps
number21
1200 pps
number22
1200 pps
number23
1200 pps
number24
1200 pps
number25
1200 pps
number26
1200 pps
number27
1200 pps
number28
1200 pps
all
Protocol type
arp
Protocol type
icmp
Protocol type
igmp
Protocol type
34-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
bpdu
Protocol type
dhcp
Protocol type
vbas
Protocol type
pppoe
Protocol type
snmp
Protocol type
ipv6_rs
Protocol type
ipv6_ra
Protocol type
ipv6_ns
Protocol type
ipv6_na
Protocol type
ipv6_icmp
Protocol type
ipv6_dhcp
Protocol type
ssh
Protocol type
telnet
Protocol type
bfd
Protocol type
zesr
Protocol type
stp
Protocol type
lacp
Protocol type
lldp
Protocol type
rip
Protocol type
bgp
Protocol type
ospf
Protocol type
isis
Protocol type
ldp
Protocol type
cfm
Protocol type
Mode
control panel configuration mode
Usage Guidelines
To cancel the setting, use the no form of this command. This command limits the rate of
packets complying with a specific protocol. The parameter all specifies the total rate limit
of ingress packets of the CPU.
Examples
The following example shows how to set the rate limit of ARP packets to 10 pps:
34-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
34.11 show control-panel configure
Function
This command queries all blacklists.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
Use this command to query the details of blacklists of main control cards and the other
cards.
Examples
The following example shows how to query all blacklists:
ZXAN(config)#sho control-panel anti-dos black-table
----------------------------MP
mac-address
vlan
port
----------------------------NP
mac-address
BLACK-TABLE-----------------------------------onu-sn
state
PktIn
Drop
BLACK-TABLE------------------------------------
port
onu-sn
state
PktIn
Drop
-------------------------------------------------------------------------------
Related Commands
None
34-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command queries the blacklist of a card in a specified slot.
Parameters
Parameter
Description
Value
number1
Slot number
122
Mode
All modes except user mode
Usage Guidelines
If the card in the specified slot is out of service or the card in the slot does not support
blacklist, an error message is displayed.
Examples
The following example shows how to query the blacklist of the card in slot 5:
show control-panel anti-dos black-table slot 5
%Code 52528: SAFEGUARD - card is not in service or not supported.
Related Commands
None
Function
This command queries the basic configuration of the control panel.
Parameters
None
34-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
All modes except user mode
Usage Guidelines
The basic configuration of the control panel only contains the packet rate limit configuration
and anti-DoS attack configuration.
Examples
The following example shows how to query the basic configuration of the control panel:
sho control-panel configure
packet-limit arp 10
anti-dos disable
anti-dos drop disable
anti-dos drv-limit enable
anti-dos limit-num 100
anti-dos blocking-time 1
anti-dos shutdown-time 0
-------------------------------------------------------------------------
Related Commands
34.13 show cpu queue
Function
This command queries the packet statistics of the card in a specific slot.
Parameters
Parameter
Description
Value
number1
Slot number
122
Mode
All modes except user mode
Usage Guidelines
If the specified card is out of service or does not support packet rate limiting, an error
message is displayed.
34-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to query the statistics of packets of the card in slot 5:
show control-panel packet-limit statistics slot 5
%Code 52528: SAFEGUARD - card is not in service or not supported.
Related Commands
Function
This command displays the queue rate limits of the CPU.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
Use this command to query the rate limits of queues in the CPU.
Examples
The following example shows how to display a list of queue rate limits:
ZXAN(config)#sho cpu queue
-----------------------------------------------------------------------QueueId
Ratelimit
256
300
300
100
300
300
300
300
------------------------------------------------------------------------
34-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
34.7 cpu
Function
This command displays the statistics of packets received by each CPU queue.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
Use this command to query the count of packets received by each CPU queue.
Examples
The following example shows how to display the statistics of packets received by all CPU
queues:
-----------------------------------------------------------------------QueueId
RecvPkts
------------------------------------------------------------------------
Related Commands
None
34-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 35
NTP Configuration
Commands
Table of Contents
debug ntp all ............................................................................................................35-1
debug ntp error.........................................................................................................35-2
debug ntp event .......................................................................................................35-3
ntp alarm-threshold ..................................................................................................35-3
ntp authenticate........................................................................................................35-4
ntp authentication-key ..............................................................................................35-5
ntp enable ................................................................................................................35-6
ntp master ................................................................................................................35-7
ntp poll-interval.........................................................................................................35-7
ntp server .................................................................................................................35-8
ntp source ................................................................................................................35-9
ntp trusted-key .......................................................................................................35-10
show ntp config ...................................................................................................... 35-11
show ntp status ......................................................................................................35-12
Function
This command enables the debug function of all NTPs.
Parameters
None
Mode
Privileged mode: ZXAN#
35-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To disable the debug function of all NTPs, use the no form of this command.
Examples
The following example shows how to enable the debug function of all NTPs:
debug ntp all
Related Commands
35.3 debug ntp event
35.2 debug ntp error
Function
This command enables the debug function of NTP error information.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the debug function of NTP error information, use the no form of this command.
Examples
The following example shows how to enable the debug function of NTP error information:
debug ntp error
Related Commands
35.1 debug ntp all
35.3 debug ntp event
35-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the NTP synchronization event debug function.
Parameters
None
Mode
Privileged mode: ZXAN#
Usage Guidelines
To disable the NTP synchronization event debug function, use the no form of this command.
Examples
The following example shows how to enable the NTP synchronization event debug
function:
debug ntp event
Related Commands
35.1 debug ntp all
35.2 debug ntp error
Function
This command configures the alarm threshold of the NTP synchronization time offset.
35-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Alarm threshold
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the alarm threshold of the synchronization time offset for a time
server. If the offset reaches the alarm threshold, an alarm will be sent.
To reset the alarm threshold to the default value, use the no form of this command.
Examples
The following example shows how to configure the alarm threshold of the NTP
synchronization time offset as 10 seconds:
ZXAN(config)#ntp alarm-threshold 10
Related Commands
35.7 ntp enable
35.14 show ntp status
35.13 show ntp config
Function
This command enables NTP authentication.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
35-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
This command is used to authenticate the destination server to be synchronized.
For the server to be authenticated, a key that is available and trusted must be bound.
To disable NTP authentication, use the no form of this command.
Examples
The following example shows how to enable NTP authentication:
ZXAN(config)#ntp authenticate
Related Commands
35.7 ntp enable
35.14 show ntp status
35.12 ntp trusted-key
35.10 ntp server
Function
This command configures the NTP authentication key.
Parameters
Parameter
Description
Value
number1
Authentication key ID
Range: 1255
name1
key
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
For the NTP authentication key configuration, the maximum length of the plain text of the
authentication key is 16 bytes, and that of the Md5-encrypted cipher text is 32 bytes.
For configuration viewing, only the cipher text is displayed.
35-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the NTP authentication key:
ZXAN(config)#ntp authentication-key 10 md5 ntpkey
Related Commands
35.7 ntp enable
35.14 show ntp status
Function
This command enables the NTP function.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is a master switch for all NTP functions. Other NTP commands are not
effective until this function is configured.
To disable the NTP function, use the no form of this command.
Examples
The following example shows how to enable the NTP function:
ZXAN(config)#ntp enable
Related Commands
35.10 ntp server
35.14 show ntp status
35.13 show ntp config
35-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures an NTP run server.
Parameters
Parameter
Description
Value
number1
Range: 115
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command enables the NTP Server function for an NE and provides the time
synchronization service. The lower the NTP server level, the more reliable the NTP server.
Level 1 is reserved for the clock source of the root node and is not recommended for the
configuration. It is recommended to configure from level 3.
To clear the configuration, use the no form of this command.
Examples
The following example shows how to configure the master level of an NTP run server as 5:
ZXAN(config)#ntp master 5
Related Commands
35.7 ntp enable
35.14 show ntp status
35.13 show ntp config
Function
This command configures the interval of NTP request messages.
Parameters
Parameter
Description
Value
number1
messages
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the interval of NTP request messages sent from an NE. If NT
P enable and NTP server have been configured, the NTP request packets are sent to the
server immediately.
To reset the interval to the default value, use the no form of this command.
Examples
The following example shows how to configure the interval of NTP request messages as
50 seconds:
ZXAN(config)#ntp poll-interval 50
Related Commands
35.14 show ntp status
35.7 ntp enable
35.10 ntp server
35.13 show ntp config
Function
This command configures the IP address of the time server to be synchronized, and the
version of the NTP protocol.
35-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
server.
number1
Range: 1255
Range: 13
number.
number3
Range: 1255
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Up to 5 remote server addresses can be configured. All the servers are configured with
different priorities, the higher the server priority, the lower the synchronization priority.
To delete the configured time server, use the no form of this command.
Examples
The following example shows how to configure the IP address of the time server to be
synchronized, and the version of the NTP protocol:
ZXAN(config)#ntp server 10.1.1.1 priority 1 version 1
Related Commands
35.7 ntp enable
35.14 show ntp status
35.13 show ntp config
Function
This command configures the source address of NTP messages.
35-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
Source IP address
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The source IP address of NPT messages sent from an NE must be specified.
Examples
The following example shows how to configure the source address of NTP messages:
ZXAN(config)#ntp source 10.1.1.1
Related Commands
35.7 ntp enable
35.10 ntp server
35.14 show ntp status
35.13 show ntp config
Function
This command configures a trusted key.
Parameters
Parameter
Description
Value
number1
Key ID
Range: 1255
Mode
Configuration mode: ZXAN (config)#
35-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If the server-associated key is untrusted, or does not exist, the authentication is not
implemented.
To delete the trusted key, use the no form of this command.
Examples
The following example shows how to configure a trusted key:
ZXAN(config)#ntp trusted-key 10
Related Commands
35.7 ntp enable
35.14 show ntp status
Function
This command displays basic NTP configurations.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
This command only displays the most basic NTP configurations. Other information, for
example, authentication key, can be viewed by using the show running-config command.
Examples
ZXAN(config)#show ntp config
NTP: disabled
authenticate: disabled
alarm-threshold: 7
ntp poll-interval: 300
ntp master: disable
35-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
35.14 show ntp status
Function
This command displays the running status of the NTP.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the running status of the NTP:
ZXAN#show ntp status
Clock is unsynchronized , stratum 16, no reference clock
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz,
precision is 2**16
reference time is 0.0 ()
clock offset is 0.00 msec, root delay is 0.00
root dispersion is 0.00
msec
Related Commands
35.7 ntp enable
35.10 ntp server
35-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 36
QoS Commands
Table of Contents
Global Commands....................................................................................................36-1
Ethernet Port Commands .......................................................................................36-10
User Port Commands .............................................................................................36-16
Show Commands ...................................................................................................36-26
Function
This command creates a cos-to-cos profile, which represents the mapping relationship
when the cos priority is revised according to the original packets cos.
Parameters
Parameter
Description
Value
name1
07
number2
07
number3
07
number4
07
number5
07
number6
07
number7
07
number8
07
36-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configuration prerequisite is that the profile has been created. The default cos values
for cos 0 7 are 0, 1, 2, 3, 4, 5, 6, 7 respectively.
To delete the profile, use the no form of this command.
Examples
The following example displays how to create a cos-to-cos profile. In this example, the
profile name is TEST, and the cos of the cos 0 packet is changed to 2:
ZXAN(config)#qos cos-to-cos-profile test cos0 2
Related Commands
36.4.1 show qos cos-to-cos-profile
Function
This command creates a dscp-to-cos profile, which represents the mapping relationship
when the cos priority is revised according to the original packets dscp.
The command is applicable to Ethernet interfaces, GPON ONUs, and DSL interfaces.
Parameters
Parameter
Description
Value
name1
063
number1
07
Mode
Configuration mode: ZXAN (config)#
36-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The configuration prerequisite that the profile has been created. The default cos priority
of the 64 dscp lists (063) is as follows:
l
l
l
l
l
l
l
l
dscp07: cos0
dscp815: cos1
dscp1623: cos2
dscp2431: cos3
dscp3239: cos4
dscp4047: cos5
dscp4855: cos6
dscp5663: cos7
Examples
The following example shows how to create a dscp-to-cos profile. In this example, the
profile name is TEST, and the cos of dscp 0-8 packet is changed to 2:
ZXAN(config)#qos dscp-to-cos-profile test 0-8 to 2
Related Commands
36.4.2 show qos dscp-to-cos-profile
Function
This command creates a dscp-to-drop profile, which represents the mapping relationship
when the drop-procedence is revised according to the original packets dscp.
Parameters
Parameter
Description
Value
name1
063
number1
02
mapping
36-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The configuration prerequisite that the profile has been created.
drop-procedence values corresponding to dscp 0-63 are all 0.
The default
Examples
The following example shows how to create a dscp-to-drop profile. In this example, the
profile name is TEST, and the drop-procedence of dscp1 packet is changed to 2:
ZXAN(config)#qos dscp-to-drop-profile test 1 to 2
Related Commands
36.4.3 show qos dscp-to-drop-profile
Function
This command creates a dscp-to-dscp profile, which represents the mapping relationship
when the dscp-remark is revised according to the original packets dscp.
This command is applicable to only Ethernet interfaces.
Parameters
Parameter
Description
Value
name1
063
number1
063
Mode
Configuration mode: ZXAN (config)#
36-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The configuration prerequisite that the profile has been created. The default dscp-value
values of the 64 dscp lists (063) are 0 to 63 respectively.
To delete the profile, use the no form of this command.
Examples
The following example shows how to create a dscp-to-dscp profile. In this example, the
profile name is TEST, and dscp 1-10 are mapped to dscp 15:
ZXAN(config)#qos dscp-to-dscp-profile test 1-10 to 15
Related Commands
36.4.4 show qos dscp-to-dscp-profile
Function
This command configures the mapping relationship of cos priority to local priority for an
Ethernet type interface.
Parameters
Parameter
Description
Value
number1
07
from cos0
number2
07
from cos1
number3
07
from cos2
number4
07
from cos3
number5
07
from cos4
number6
07
from cos5
36-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number7
07
from cos6
number8
07
from cos7
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is used in global configuration mode. By default, cos0-cos7 map to
queue0-queue7 respectively.
To restore the default mapping relationship from cos to the local priority, use the no form
of this command.
Examples
The following example shows how to configure the mapping relationship of cos priority to
local priority in global mode. In this example, cos0 maps to queue 7 and cos1 maps to
queue 5, and others use the defaults:
ZXAN(config)#qos eth-cos-local-map cos0 7 cos1 5 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
Related Commands
36.4.5 show qos eth-cos-local-map
Function
This command creates a queue-block profile, which configures the service queue number,
queue scheduling mode and queue depth.
This command is applicable to Ethernet interfaces, PON OLT interfaces, and DSL
interfaces.
Pay attention that an inappropriate queue depth setting may cause abnormal service.
36-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Two queues
Four queues
Eight queues
number1
Queue weight
063
number2
Queue depth
063
number3
Queue weight
063
number4
Queue depth
063
number5
Queue weight
063
number6
Queue depth
063
number7
Queue weight
063
number8
Queue depth
063
number9
Queue weight
063
number10
Queue depth
063
number11
Queue weight
063
number12
Queue depth
063
number13
Queue weight
063
number14
Queue depth
063
number15
Queue weight
063
number16
Queue depth
063
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Queue management includes the following items:
Queue number:
The queue number is configured in global configuration mode. The supported values are
2, 4, and 8, and the default is 8. If the queue number is two, it means that queue0 and
queue1 are available. If the queue number is four, it means that queue0, queue1, queue2,
and queue3 are available. If the queue number is eight, it means queue0 to queue7 are
all available.
36-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create a queue-block profile. In this example, queue0
weight is 20 and queue depth is 25:
ZXAN(config)#qos queue-block-profile test queue0 20 25
Related Commands
36.4.7 show qos queue-block-profile
Function
This command creates a queue-map profile, which configures the service enqueue
mapping relationship. The enqueue mode can be cos-queue, gemport, service-port, and
pvc-queue.
The pvc-queue enqueue mode can configured under pvc interfaces. The gemport and
service-port enqueue modes can be configured under ONU interfaces. The cos-queue
mapping is applicable to various user interfaces.
This command is applicable to XPON OLT interfaces and XDSL interfaces.
36-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
pvc-type
service-type
cos-queue-type
Two queues
Four queues
Eight queues
number1
Queue number
07
number2
Queue number
07
number3
Queue number
07
number4
Queue number
07
number5
Queue number
07
number6
Queue number
07
number7
Queue number
07
number8
Queue number
07
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command must be used in global configuration mode.
The enqueue mode must be specified. For the cos-queue mode, the number of queues
can be configured, which can be 2, 4, or 8, and the default is 8.
To delete the profile, use the no form of this command.
Examples
The following example shows how to create a cos-queue profile. In this example, the
profile name is TEST and cos0 is mapped to queue 7:
ZXAN(config)#qos queue-map-profile test cos-queue-type cos0 7
Related Commands
36.4.8 show qos queue-map-profile
36-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command marks the default cos priority of the current interface, which will be used
to mark the cos priority of untagged messages. The configuration is only applicable to the
specified interface.
Parameters
Parameter
Description
Value
number1
07
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)# and others
Usage Guidelines
Use this command under the required interface.
To restore the default priority 0, use the no form of this command.
Examples
The following example shows how to set the default cos value to 7 under Ethernet interface
19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos cos default-cos 7
Related Commands
36.4.6 show qos interface
Function
This command indicates that the cos marking of the current interface is subject to the
specified dscp-to-cos profile. The prerequisite is that the dscp-to-cos profile has been
created. The configuration is only applicable to the specified interface.
This configuration mode takes effect only when dscp is trusted.
Parameters
Parameter
Description
Value
name1
profile
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#, and others
Usage Guidelines
Before using this command, create a dscp-to-cos profile and then set the mapping relation.
To delete the configured profile, use the no form of this command. After deletion, the
interface uses the default profile.
Examples
The following example shows how to configure the cos dscp-remark profile to TEST for
Ethernet interface 19/1 (the dscp-to-cos profile TEST has been created):
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos cos dscp-remark TEST
Related Commands
36.4.6 show qos interface
Function
This command configures the dscp-to-drop profile for an Ethernet interface.
36-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
profile
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#, and others
Usage Guidelines
Before using this command, create a dscp-to-drop profile and then set the mapping relation
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the dscp-to-drop profile to TEST for
Ethernet interface 19/1 (the profile TEST has been created):
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos drop-procedence TEST
Related Commands
36.4.6 show qos interface
Function
This command indicates that the dscp marking of the current interface is subject to the
specified dscp-to-dscp profile. The prerequisite is that the dscp-to-dscp profile has been
created.
This configuration mode takes effect only when dscp is trusted.
36-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
profile
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#, and others
Usage Guidelines
Before using this command, create a dscp-to-dscp profile and then set the mapping
relation.
To delete the configured profile, use the no form of this command.
Examples
The following example shows how to configure the dscp dscp-remark profile to TEST for
Ethernet interface 19/1 (the dscp-to-dscp profile TEST has been created):
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos dscp dscp-remark TEST
Related Commands
36.4.6 show qos interface
Function
This command configures the queue-block profile for an interface. The configuration is
only applicable to the specified interface. The prerequisite is that the queue-block profile
has been created.
Parameters
Parameter
Description
Value
name1
profile
36-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)# , and other modes
Usage Guidelines
Before configuration, create the queue-block profile, configure the queue properties, and
then apply it on the interface.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the queue-block-profile to TEST for
Ethernet interface 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos queue-block-profile TEST
Related Commands
36.4.6 show qos interface
36.2.5 qos queue-block-profile
Function
This command configures the Ethernet traffic shaping function on an interface to avoid the
impact of heavy traffic on the network.
Parameters
Parameter
Description
Value
number1
6410000000
number2
416000
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#, and others
36-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
Use this command directly under the interface as required.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the traffic shape rate to 10 M on Ethernet interface
19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos traffic-shape rate-limit 10240 buckte-size 1000
Related Commands
36.4.6 show qos interface
Function
This command configures the reference object for the priority marking under the current
interface. By default, the reference object is cos. The configuration is only applicable to
the specified interface.
Parameters
Parameter
Description
Value
dscp
cos
Mode
L2 fei interface mode, L2 gei interface mode, 10G Ethernet interface mode:
ZXAN(config-if)#, and others
Usage Guidelines
Configure the trust mode directly under the interface mode.
Examples
The following example shows how to set the trust mode to dscp for Ethernet 19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#qos trust dscp
36-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
36.4.6 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
name1
number1
Vport number
1-128
number2
Vport number
1-128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
This command is applicable to GPON ONU interface. When the trusted reference object
is cos and the default cos override is not configured, this profile takes effect.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to configure the cos-remark profile to TEST for
gpon-onu_1/16/1:1 (the cos-to-cos profile TEST has been created):
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos cos-remark TEST vport 1
Related Commands
36.4.6 show qos interface
36-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command marks the default cos priority for the accessed untagged packets. The
cos-filter configuration is subject to this priority setting.
This command allows the override configuration item. With this configuration item, the
default cos priority forcibly changes the original one. The override mode has a higher
priority level than the cos-remark mode.
Parameters
Parameter
Description
Value
number1
07
override
Vport number
1-128
number3
Vport number
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
Before using this command, create a vport under the ONU interface and then set the default
priority for the vport. By default, the default priority of a vport is 0.
To delete the setting, use the no form of this command. After deletion, the default priority
of the port is 0.
Examples
The following example shows how to forcibly change the cos value of vport1 under
gpon-onu_1/16/1:1 to 6:
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos default-cos 6 override vport 1
36-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
36.4.6 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
Parameter
Description
Value
name1
number1
Vport number
1-128
number2
Vport number
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
This command is configured for GPON ONU interfaces. It remarks the profile used for
dscp-to-cos mapping by the vport. The profile takes effect when the trusted reference
object is dscp.
To cancel the setting, use the no form of this command. After deletion, the default dscp-cos
profile is used.
Examples
The following example shows how to configure the dscp-remark profile to TEST for
gpon-onu_1/16/1:1 (the dscp-to-cos profile TEST has been created):
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos dscp-remark TEST vport 1
Related Commands
36.4.6 show qos interface
36.1.2 qos dscp-to-cos-profile
36-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
When the cos-filter function is enabled and the cos value of the ingress packet is consistent
with the default priority of the interface, this packet is permitted; other wise, the packet is
discarded.
Only GPON cards support this function.
Parameters
Parameter
Description
Value
disable
enable
number1
Vport number
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
Create a vport under the ONU interface and then enable or disable the cos-filter function.
Examples
The following example shows how to enable the cos-filter function for vport 1 under
gpon-onu_1/16/1:1:
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos-filter enable vport 1
Related Commands
36.4.6 show qos interface
36-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command remarks the cos-to-cos profile for a vport in egress direction.
prerequisite is that the dscp-to-cos profile has been created.
The
Parameters
Parameter
Description
Value
name1
Vport number
1128
number2
Vport number
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
This command is applicable to GPON ONU interface. When the vport trust mode is cos,
and the default egress-cos override is not configured for egress-cos, this profile takes
effect.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the egress-cos-remark profile to TEST for vport
under interface gpon-onu_1/16/1:1 (the cos-to-cos profile TEST has been created):
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos egress-cos cos-remark TEST vport 1
Related Commands
36.4.6 show qos interface
36.1.1 qos cos-to-cos-profile
Function
This command marks the default priority of the egress on the specified interface. It is used
for forcibly modifying the egress priority.
36-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
07
override
forcibly modified
number2
Vport number
1128
number3
Vport number
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
Before using this command, create the vport under the ONU interface, set the default
egress priority. In the egress direction, the default priority takes effect only when the
override rule is used.
To restore the default 0, use the no form of this command
Examples
The following example shows how to forcibly modify the egress-cos value of vport1 under
interface gpon-onu_1/16/1:1 to 6:
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos egress-cos default-cos 6 override vport 1
Related Commands
36.4.6 show qos interface
Function
This command remarks the dscp-to-cos profile for a vport in egress direction.
prerequisite is that the dscp-to-cos profile has been created.
The
36-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Vport number
1128
number2
Vport number
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
This command is applicable to GPON ONU interfaces. When the vport trust mode is dscp,
and the parameter egress-cos override is not configured, this profile takes effect.
To cancel the setting, use the no form of this command.
Examples
The following example shows how to set the dscp-remark profile to TEST for vport under
interface gpon-onu_1/16/1:1 (the dscp-to-cos profile TEST has been created):
ZXAN(config)#interface gpon-onu_1/16/1:1
ZXAN(config-if)#qos cos dscp-remark TEST vport 1
Related Commands
36.4.6 show qos interface
36.1.2 qos dscp-to-cos-profile
Function
This command configures the queue-block profile used by a port. The prerequisite is that
the queue-block profile has been created. The profile specifies the service queue number,
scheduling mode, and depth. T
The system supports three queue scheduling modes: SP, SP+WRR, and WRR. The
default is SP scheduling mode.
36-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Mode
gpon olt interface mode, epon olt interface mode
Usage Guidelines
Before using this command, create a queue-block profile and then apply it on the interface.
To delete the configuration, use the no form of this command.
Examples
The following example shows how to configure the queue block profile to TEST for GPON
OLT interface 1/6/1 (the profile TEST has been created):
ZXAN(config)#interface gpon-olt_1/6/1
ZXAN(config-if)#qos queue-block-profile TEST
Related Commands
36.4.6 show qos interface
36.3.8 qos queue-block-profile
Function
This command configures the queue-map profile for an interface. The prerequisite is
that the profile has been created. The service enqueue mapping relationship can be
cos-queue mapping relationship or service-type mapping relationship. The default is
cos-queue mapping. The system supports only cos-queue mapping.
Parameters
Parameter
Description
Value
name1
Mode
gpon olt interface mode, epon olt interface mode
36-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
Before using this command, create a queue-map profile and then apply it on the interface.
To delete the configuration, use the no form of this command.
Examples
The following example shows how to configure the queue-map profile to TEST for GPON
OLT interface 1/6/1 (the profile TEST has been created):
ZXAN(config)#interface gpon-olt_1/6/1
ZXAN(config-if)#qos queue-map-profile TEST
Related Commands
36.4.6 show qos interface
36.3.9 qos queue-map-profile
Function
This command configures the traffic shaping function of an interface to avoid impact of
heavy traffic on the interface.
Only 10G EPON cards support this function.
Parameters
Parameter
Description
Value
number1
641000000
number2
416000
Mode
epon olt interface mode
Usage Guidelines
Use this command directly under the interface.
To cancel the setting, use the no form of this command.
36-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the rate of traffic shaping to 10 M under EPON
OLT interface 1/13/1:
ZXAN(config)#interface epon-olt_1/13/1
ZXAN(config-if)#qos traffic-shape rate-limit 10240 buckte-size 1000
Related Commands
36.4.6 show qos interface
Function
This command configures the reference object for the priority remarking under the current
interface. If the reference object is cos, the priorities in descending order are: override,
cos-remark, and trust. If the reference object is dscp, the priority is revised according to the
dscp-cos mapping relation. The configuration is only applicable to the specified interface.
The cos priority remarking is implemented respectively on the uplink and downlink.
Parameters
Parameter
Description
Value
cos
dscp
number1
Vport number
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
Before using this command, create the vport in the ONU first.
Examples
The following example shows how to set the qos trust mode to dscp for vport1 under
interface gpon_onu_1/3/1:1:
ZXAN(config-if)#qos trust dscp vport 1
36-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
36.4.6 show qos interface
Function
This command displays the information of a cos-to-cos profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
Any mode except user mode
Usage Guidelines
If the profile name is not specified, the system displays the name list of all the profiles.
Examples
The following example shows how to display the information of the cos-to-cos profile
named CTCP:
ZXAN(config-if)#show qos cos-to-cos-profile ctcp
-----------------------------------------------------------------------------profile name
: CTCP
profile detail :
------------------------------------------------------------------------------- cos
---- priority :
profile used by :
Related Commands
36.1.1 qos cos-to-cos-profile
36-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information of a dscp-to-cos profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
Any mode except user mode
Usage Guidelines
If the profile name is not specified, the system displays the name list of all the profiles.
Examples
The following example shows how to display the information of the dscp-to-cos profile
named DTCP:
ZXAN(config-if)#show qos dscp-to-cos dtcp
-----------------------------------------------------------------------------profile name
: DTCP
profile detail :
---------------------------------------------------------------------------dscp list
10
11
12
13
14
15
cos value
---------------------------------------------------------------------------dscp list
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cos value
---------------------------------------------------------------------------dscp list
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cos value
---------------------------------------------------------------------------dscp list
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
cos value
profile used by :
Related Commands
36.1.2 qos dscp-to-cos-profile
36-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information of a dscp-to-drop profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
Any mode except user mode
Usage Guidelines
If the profile name is not specified, the system displays the name list of all the profiles.
Examples
The following example shows how to display the information of the dscp-to-drop profile
named CTDP:
ZXAN(config-if)#show qos dscp-to-drop-profile DTDP
-----------------------------------------------------------------------------profile name
: DTDP
profile detail :
---------------------------------------------------------------------------dscp list
10
11
12
13
14
15
drop value 0
---------------------------------------------------------------------------dscp list
16
drop value 0
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---------------------------------------------------------------------------dscp list
32
drop value 0
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---------------------------------------------------------------------------dscp list
48
drop value 0
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
profile used by :
Related Commands
36.1.3 qos dscp-to-drop-profile
36-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information of a dscp-to-dscp profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
Any mode except user mode
Usage Guidelines
If the profile name is not specified, the system displays the name list of all the profiles.
Examples
The following example shows how to display the information of the cos-to-cos profile
named DTDP:
ZXAN(config-if)#show qos dscp-to-dscp-profile DTDP
-----------------------------------------------------------------------------profile name
: DTDP
profile detail :
-------------------------------------------------------------------------------------------------dscp list
10
11
12
13
14
15
dscp value
10
11
12
13
14
15
-------------------------------------------------------------------------------------------------dscp list
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
dscp value
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-------------------------------------------------------------------------------------------------dscp list
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
dscp value
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-------------------------------------------------------------------------------------------------dscp list
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
dscp value
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
profile used by :
Related Commands
36.1.4 qos dscp-to-dscp-profile
36-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the information of the eth-cos-local-map mapping table.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the information of the eth-cos-local-map
mapping table:
ZXAN(config)#show qos eth-cos-local-map
----------------------------------cos value
queue ID
Related Commands
36.1.5 qos eth-cos-local-map
Function
This command displays the QoS information of an interface.
Parameters
Parameter
Description
Value
interface1
Interface number
36-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
show qos interface {port-name}
Examples
The following example shows how to display the QoS information:
ZXAN(config-if)#show qos interface gei_1/21/1
qos queue-block-profile CHD
qos traffic-shape rate-limit 10240 bucket-size 512
Related Commands
All QoS configuration commands
Function
This command displays the configuration information of a queue-block profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
Any mode except user mode
Usage Guidelines
If the profile name is not specified, the system displays the name list of all the profiles.
Examples
The following example shows how to display the configuration information of a queue-bloc
profile:
1. ZXAN(config)#show qos queue-block-profile
NOTE! _DEFAULT_QUEUE_BLOCK_PROFILE can't be modified or deleted.
---------------------------------------------------------
36-31
SJ-20130118100307-010|2013-02-28 (R1.0)
: QBP
profile detail :
---------------------------------------queue-number :
queue-id
queue-weight :
queue-depth
12 24 0
---------------------------------------profile used by :
Related Commands
36.1.6 qos queue-block-profile
Function
This command displays the information of a queue-map profile.
Parameters
Parameter
Description
Value
name1
Profile name
Mode
Any mode except user mode
Usage Guidelines
If the profile name is not specified, the system displays the name list of all the profiles.
Examples
The following example shows how to display the configuration information of a queue-map
profile:
36-32
SJ-20130118100307-010|2013-02-28 (R1.0)
: QMP
profile detail :
---------------------------------------queue-map
cos-queue-type
queue-number :
cos-value
cos-queue-map:
---------------------------------------profile used by :
Related Commands
36.1.7 qos queue-map-profile
36-33
SJ-20130118100307-010|2013-02-28 (R1.0)
36-34
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 37
Function
This command creates a traffic profile and configures the rate limit parameters for related
interfaces and services.
Parameters
Parameter
Description
Value
name1
Profile name
number1
010000000
number2
01023
number3
010000000
01023
name3
color-sensitive
37-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The traffic profile must be created so that the rate can be limited for interfaces and services.
No default profile is available.
Examples
The following example shows how to create a traffic profile named 10M:
ZXAN(config)#traffic-profile 10M
Related Commands
37.3.1 show traffic-profile
Function
This command configures a traffic profile for a PON interface.
Parameters
Parameter
Description
Value
name1
Profile name
name2
supported.
name3
supported.
Mode
wdm-pon-onu interface mode, gpon olt interface mode
37-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The traffic profile must be created so that the interfaces can use it. Currently, OLT
interfaces support only the profile application in egress direction.
Examples
The following example shows how to set the traffic profile to TEST for the interface
gpon-olt_1/5/1 in egress direction:
ZXAN(config)#interface gpon-olt_1/5/1
Related Commands
37.2.1 traffic-profile (wdm-pon-onu interface mode)
37.3.1 show traffic-profile
Function
This command configures a traffic profile used by a vport under an ONU interface
Parameters
Parameter
Description
Value
name1
number1
Vport number
1128
name2
be egress or ingress
number2
Vport number
1-128
name3
Mode
gpon onu interface mode
37-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The traffic profile must be created so that the interfaces can use it. The vport traffic profile
in egress and ingress directions can be configured.
Examples
The following example shows how to configure the traffic profile in ingress direction to
TEST for vport 1 under the interface gpon-onu_1/5/1:1 :
ZXAN(config)#interface gpon-onu_1/5/1:1
Related Commands
37.2.1 traffic-profile (wdm-pon-onu interface mode)
37.3.1 show traffic-profile
Function
This command displays the information of all traffic profiles, contents of the traffic profile
with a specified name, or the configured traffic profiles under a specified interface.
Parameters
Parameter
Description
Value
interface1
Interface name
name1
Profile name
Mode
Any mode except user mode
Usage Guidelines
If the profile name is not specified, the system displays the information of all the traffic
profiles. If the profile name is specified, the profile contents are displayed.
37-4
SJ-20130118100307-010|2013-02-28 (R1.0)
If the interface type is specified, the configured traffic profiles under the interface are
displayed.
Examples
The following example shows all traffic profiles:
All Existing Traffic Profiles:
---------------------------------------------------------------------------------------------AA
The following example shows the contents of the traffic profile named test:
committed information rate : 1kbps
committed burst size
: 1kbytes
: 1kbps
: 1kbytes
discard mode
: no distinction
color mode
: blind
egress
The following example shows the information about the traffic profile under the
interface Gpon-onu_1/3/1:1:
traffic-profile AA vport 1 direction ingress
Related Commands
37.1.1 traffic-profile
37-5
SJ-20130118100307-010|2013-02-28 (R1.0)
37-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 38
MSTP Commands
Table of Contents
instance ...................................................................................................................38-2
name........................................................................................................................38-3
revision ....................................................................................................................38-3
show spanning-tree inconsistentports.......................................................................38-4
show spanning-tree instance ....................................................................................38-5
show spanning-tree interface....................................................................................38-6
show spanning-tree mst configuration ......................................................................38-7
show spanning-tree statistics....................................................................................38-8
show spanning-tree transparent ...............................................................................38-9
spanning-tree bpduguard action .............................................................................38-10
spanning-tree disable (Ethernet interface mode) .................................................... 38-11
spanning-tree disable .............................................................................................38-12
spanning-tree edged-port .......................................................................................38-12
spanning-tree enable (Ethernet interface mode) .....................................................38-13
spanning-tree enable..............................................................................................38-14
spanning-tree forward-delay ...................................................................................38-15
spanning-tree guard loop instance..........................................................................38-15
spanning-tree guard root instance ..........................................................................38-16
spanning-tree hello-time .........................................................................................38-17
spanning-tree linktype ............................................................................................38-18
spanning-tree max-age...........................................................................................38-18
spanning-tree mcheck ............................................................................................38-19
spanning-tree mode ...............................................................................................38-20
spanning-tree mst configuration .............................................................................38-21
spanning-tree mst hmd5-digest ..............................................................................38-21
spanning-tree mst hmd5-key ..................................................................................38-22
spanning-tree mst instance (Ethernet interface mode)............................................38-23
spanning-tree mst instance ....................................................................................38-24
spanning-tree mst max-hops ..................................................................................38-25
spanning-tree packet-type ......................................................................................38-26
spanning-tree transparent ......................................................................................38-27
38-1
SJ-20130118100307-010|2013-02-28 (R1.0)
38.1 instance
Syntax
instance number1 vlans range1
no instance number1
Function
This command creates an instance in MSTP mode, and maps it to the corresponding VLAN
table.
Parameters
Parameter
Description
Value
number1
Instance ID
Range: 116
range1
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 1020 tables:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#instance 1 vlans 10-20
Related Commands
38.7 show spanning-tree mst configuration
38.24 spanning-tree mst configuration
38-2
SJ-20130118100307-010|2013-02-28 (R1.0)
38.2 name
Syntax
name [name1 ]
no name
Function
This command configures an MSTP domain name.
Parameters
Parameter
Description
Value
name1
Mode
MSTP mode: ZXAN(config-mstp)#
Usage Guidelines
When configuring STP mode as MSTP mode, if it is necessary to configure switches in
one area, this parameter must be configured to keep the configuration of each switch the
same.
Examples
The following example shows how to configure the MSTP domain name as zte:
ZXAN(config-mstp)#name zte
Related Commands
38.7 show spanning-tree mst configuration
38.24 spanning-tree mst configuration
38.3 revision
Syntax
revision number1
no revision
Function
This command sets an MSTP configuration version number.
38-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Range: 065535
Default: 0
Mode
MSTP mode: ZXAN(config-mstp)#
Usage Guidelines
When configuring STP mode as MSTP mode, if it is necessary to configure switches in
one area, this parameter must be configured to keep the configuration of each switch the
same.
To reset the configuration version number to the default value, use the no form of this
command.
Examples
The following example shows how to set the MSTP configuration version number to 10:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#revision 10
Related Commands
38.7 show spanning-tree mst configuration
38.24 spanning-tree mst configuration
Function
This command displays information about the ports that are protected by the root port or
blocked by loopback.
Parameters
None
Mode
Any mode
38-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display information about the ports that are protected
by the root port or blocked by loopback:
ZXAN#show spanning-tree inconsistentports
Mst Instance
interface
Name
name
Inconsistency
-------------------------------------------------------------------MST00
gei_1/19/1
Root Inconsistent
Related Commands
38.5 show spanning-tree instance
38.6 show spanning-tree interface
Function
This command displays information about an instance and its ports.
Parameters
Parameter
Description
Value
number1
Instance ID
Range: 016
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display information about instance 0:
ZXAN#show spanning-tree instance 0
MST00
38-5
SJ-20130118100307-010|2013-02-28 (R1.0)
ID:
Priority
32768;
Address
00d0.d082.5005
Hello-Time
Max-Age
20 sec
Forward-Delay
15 sec;
sec;
RegRootID: Priority
32768;
Address
00d0.d082.5005
BridgeID:
Priority
32768;
Address
00d0.d082.5005
Hello-Time
Max-Age
20 sec
Forward-Delay
15 sec;
Max-Hops
Message-Age
0 sec;
RemainHops
Interface
Prio.Nbr
Name
Port ID
sec;
Cost
Sts
20
20
Role
LinkType
Bound
-------------------------------------------------------------------------gei_1/19/4
128.50
20000
Forward
Designated
p2p
MSTP
Related Commands
38.6 show spanning-tree interface
Function
This command displays information about all the instances of a specified port.
Parameters
Parameter
Description
Value
interface1
Port name
Mode
Any mode
Usage Guidelines
None
38-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display information about all the instances of the port
gei_1/19/4:
ZXAN#show spanning-tree interface gei_1/19/4
Mst Instance
Prio.Nbr
Name
Port ID
Cost
Sts
Role
-------------------------------------------------------------------MST00
128.50
20000
Forward
Designated
Related Commands
38.5 show spanning-tree instance
Function
This command displays configurations in MSTP mode.
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display configuration information about the current
MST:
ZXAN#show spanning-tree mst configuration
spanning-tree mode: [MSTP]
CISCO
Hmd5-key
: 0x12345678901234567890123456789012
CISCO
Hmd5-digest
: 0x12345678901234567890123456789012
HUAWEI
Hmd5-key
: 0x13ac06a62e47fd51f95d2ba243cd0346
HUAWEI
Hmd5-digest
: 0x00000000000000000000000000000000
Name
: []
Revision
: 0
38-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Vlans mapped
--------
--------------------------------------------------------
21-4094
1-10
10
11-20
Related Commands
38.5 show spanning-tree instance
38.6 show spanning-tree interface
Function
This command displays the statistics for an STP port.
Parameters
Parameter
Description
Value
interface1
Port name
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the statistics for the port gei_1/19/4:
ZXAN#show
spanning-tree
statistic
of
port
statistics
gei_1/19/4
gei_1/19/4
-------------------------------------------------------------BPDU-related parameters
-------------------------------------------------------------port spanning-tree
Enabled
edge_port
Disabled
state(instance 0)
Discard
port_priority(instance 0)
0x80
port_number
0x54
38-8
SJ-20130118100307-010|2013-02-28 (R1.0)
20000
designated_root
00-d0-d0-00-55-86
designated_ext_cost
designated_int_cost
designated_bridge
00-d0-d0-00-55-86
designated_port
0x8054
discard bpdu
ieee
multicast_mac_addr
01-80-c2-00-00-00
bridge priority
32768
00-d0-d0-00-55-86
15 sec
20 sec
20
sec
--------------------------------------------------------------
Related Commands
38.6 show spanning-tree interface
Function
This command displays the current status of the STP transparent transmission flag.
38-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Any mode
Usage Guidelines
None
Examples
The following example shows how to display the current status of the STP transparent
transmission flag:
ZXAN#show spanning-tree transparent
transparent flag:disabled
Related Commands
None
Function
This command configures a port's BPD guard for BPDU packets.
Parameters
Parameter
Description
Value
name1
Mode
Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
38-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, the BPDU guard function is disabled.
This command is configured to protect the port against BPDU attacks.
Examples
The following example shows how to configure a port's BPD guard for BPDU packets. In
this example, the BPDU guard is configured for the port gei_1/19/1, and the port is shut
down.
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#spanning-tree bpduguard action shutdown
Related Commands
None
Function
This command enables or disables participation of a port in spanning tree calculation.
Parameters
None
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines
By default, the interface configuration mode is disable.
Examples
The following example shows how to disable participation of the port gei_1/19/1 in
spanning tree calculation:
ZXAN(config)#interface
gei_1/19/1
ZXAN(config-if)#spanning-tree
disable
Related Commands
None
38-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command disables STP.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global configuration mode is disable.
If the STP protocol is disabled, the state of all the ports that are up physically is Forwarding.
Examples
The following example shows how to disable the global STP protocol:
ZXAN(config)#spanning-tree
disable
Related Commands
None
Function
This command enables or disables an edged STP port.
38-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
port.
disable: Disables the edged
STP port.
Mode
Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines
By default, a port is not an edged port.
The port connected to a computer can be configured as an edged port by using this
command. Then the specified port is in forwarding state or fast switches to the forwarding
state.
Examples
The following example shows how to configure the port gei_1/19/1 as an edged port:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#spanning-tree edged-port enable
Related Commands
38.20 spanning-tree linktype
38.30 spanning-tree packet-type
Function
This command enables or disables participation of a port in spanning tree calculation.
Parameters
None
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
38-13
SJ-20130118100307-010|2013-02-28 (R1.0)
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.
Examples
The following example shows how to enable the global STP protocol:
ZXAN(config)#spanning-tree
enable
Related Commands
None
38-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the forwarding delay time of the STP protocol.
Parameters
Parameter
Description
Value
number1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To reset the configured forwarding delay time to the default value, use the no form of this
command.
Examples
The following example shows how to configure the forwarding delay time as 16 seconds:
ZXAN(config)#spanning-tree forward-delay 16
Related Commands
38.29 spanning-tree mst max-hops
38.19 spanning-tree hello-time
Function
This command configures the STP guard type of a port as loop.
38-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
range1
Instance range
Range: 016
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines
Configuration errors can be avoided by using this command.
By default, the loop or root guard is not configured for a port.
Examples
The following example shows how to configure the guard type of the port gei_1/19/1 as
loop:
ZXAN(config)#interface
gei_1/19/1
ZXAN(config-if)#spanning-tree
guard
loop instance
Related Commands
None
Function
This command configures the STP guard type of a port as root.
Parameters
Parameter
Description
Value
range1
Instance range
Range: 016
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines
Configuration errors can be avoided by using this command.
38-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the guard type of the port gei_1/19/1 as
root:
ZXAN(config)#interface
gei_1/19/1
ZXAN(config-if)#spanning-tree
guard
root
instance
Related Commands
None
Function
This command configures the STP hello time (the interval for sending BPDU packets).
Parameters
Parameter
Description
Value
number1
packets
Default: 2
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To reset the configured interval to the default value, use the no form of this command.
Examples
The following example shows how to configure the interval for sending BPDU packets as
3 seconds:
ZXAN(config)#spanning-tree hello-time 3
Related Commands
38.29 spanning-tree mst max-hops
38.16 spanning-tree forward-delay
38-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the link type of a port.
Parameters
Parameter
name1
Description
Value
Default: auto
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines
For the link type P2P, the fast state migration can be enabled. For the link type share, the
state can not be migrated until double forward-delay time expires.
Examples
The following example shows how to configure the link type of the port gei_1/19/1 as P2P:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#spanning-tree linktype p2p
Related Commands
38.30 spanning-tree packet-type
Function
This command configures the maximum active time of STP BPDU packets.
Parameters
Parameter
Description
Value
number1
packets
Default: 20
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To reset the configured time to the default value, use the no form of this command.
Examples
The following example shows how to configure the maximum active time of STP BPDU
packets as 21 seconds:
ZXAN(config)#spanning-tree max-age 21
Related Commands
38.29 spanning-tree mst max-hops
38.16 spanning-tree forward-delay
Function
This command configures STP check for an interface.
Parameters
None
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines
None
38-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure STP check for the interface gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#spanning-tree mcheck
Related Commands
None
Function
This command configures the current mode of the STP protocol.
Parameters
Parameter
Description
Value
name1
Default: MSTP
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The STP protocol in any mode can be interfaced to a bridge that enables one of the STP
modes.
Examples
The following example shows how to configure the current mode of the STP protocol as
RSTP:
ZXAN(config)#spanning-tree mode rstp
Related Commands
38.7 show spanning-tree mst configuration
38-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enters MSTP configuration mode.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
In MSTP configuration mode, MSTP-specific parameters can be configured, including MST
configuration name, MST configuration version, and configuration summary.
Examples
The following example shows how to enter MSTP configuration mode:
ZXAN(config)#spanning-tree mst configuration
ZXAN(config-mstp)#
Related Commands
38.7 show spanning-tree mst configuration
Function
This command configures the digest value of the mst_config_id.
38-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
cisco
CISCO
huawei
HUAWEI
name1
Digest value
Default: 0x0000000000000000
0000000000000000
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The MSTP packet format used by different manufacturers (such as CISCO and HUAWEI)
does not quite meet the IEEE standard when they implement the MSTP protocol.
Therefore, the key value or digest value must be configured for ZTE switches before
users interface ZTE switches to CISCO or HUAWEI equipment within the same area.
To reset the configured value to the default value, use the no form of this command.
Examples
The following example shows how to configure the CISCO hmd5 digest value:
ZXAN(config)#spanning-tree mst hmd5-digest cisco 0x12345678901234567890123456789012
Related Commands
38.26 spanning-tree mst hmd5-key
Function
This command configures the Hmd5 key value for the digest of the mst_config_id.
38-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
cisco
CISCO
huawei
HUAWEI
name1
Digest value
Default: 0x13ac06a62e47fd51f95d2ba243cd0346
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The MSTP packet format used by different manufacturers (such as CISCO and HUAWEI)
does not quite meet the IEEE standard when they implement the MSTP protocol.
Therefore, the key value or digest value must be configured for ZTE switches before
users interface ZTE switches to CISCO or HUAWEI equipment within the same area.
To reset the configured value to the default value, use the no form of this command.
Examples
The following example shows how to configure the CISCO hmd5 key value:
ZXAN(config)#spanning-tree mst hmd5-key CISCO 0x12345678901234567890123456789012
Related Commands
38.25 spanning-tree mst hmd5-digest
Function
This command configures the path cost for an MST port.
38-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Instance ID
Range: 016
number2
Bridge priority
number3
Range: 12000000
priority
Bridge priority
path-cost
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines
The topology structure of a spanning tree can be modified by using this command.
By default, the path cost of a port is configured in terms of the port rate by using the
ratepath cost mapping table.
Examples
The following example shows how to configure the path cost of instance 0 for the port
gei_1/19/1 as 30000:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000
Related Commands
38.5 show spanning-tree instance
Function
This command configures the priority of a bridge in an established instance.
38-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Instance ID
Range: 016
number2
Bridge priority
Default: 32768
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is used to set the root bridge for an instance. The priority number must be
a multiple of 4096, up to 61440 (15 4096), and 32768 (8 4096) by default.
Examples
The following example shows how to configure the priority of the bridge in instance 0 as
4096:
ZXAN(config)#spanning-tree
mst
instance
priority
4096
Related Commands
38.5 show spanning-tree instance
Function
This command configures the maximum effective hop count of a BPDU packet in the MST
area.
Parameters
Parameter
Description
Value
number1
Range: 1-40
BPDU packet
Default: 20
Mode
Configuration mode: ZXAN (config)#
38-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
For all the non-zero instances in the MST area, the hop count of the BPDU packet is
determined by the maximum hop count.
To reset the configured count to the default value, use the no form of this command.
Examples
The following example shows how to configure the maximum effective hop count as 23:
ZXAN(config)#spanning-tree mst max-hops 23
Related Commands
38.5 show spanning-tree instance
Function
This command configures the BPDU packet type for an MSTP port.
Parameters
Parameter
Description
Value
name1
Packet type
Default: IEEE
Mode
Layer 2 FEI, Layer 2 GEI, and PortCh interface mode
Usage Guidelines
The MSTP packet type used by different manufacturers (such as CISCO and HUAWEI)
does not quite meet the IEEE standard; therefore, the BPDU type must be configured
for ZTE switches before users implementing the MSTP interface with CISCO or HUAWEI
equipment.
38-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the BPDU packet type for the MSTP port
gei_1/19/1 as CISCO:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#spanning-tree packet-type CISCO
Related Commands
38.20 spanning-tree linktype
38.13 spanning-tree edged-port
Function
This command enables or disables the current transparent STP transmission.
Parameters
Parameter
Description
Value
name1
transmission.
disable: Disables transparent
transmission.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Disable the STP protocol before using this command.
Examples
The following example shows how to enable the current transparent STP transmission:
ZXAN(config)#spanning-tree disable
ZXAN(config)#spanning-tree transparent enable
Related Commands
38.9 show spanning-tree transparent
38-27
SJ-20130118100307-010|2013-02-28 (R1.0)
38-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 39
LACP Commands
Table of Contents
LACP Protocol Commands.......................................................................................39-1
Linkgroup Commands ............................................................................................ 39-11
Function
This command clears the counter of received and transmitted LACP packets.
Parameters
Parameter
Description
Value
number1
Range: 168
Mode
Privileged mode: ZXAN#
Usage Guidelines
If this command is used without parameters, it will clear the counter of all the interfaces in
a link aggregation group.
Examples
(1) The following example shows how to clear the counter of the interfaces in aggregation
group 1:
ZXAN# clear lacp 1 counters
(2) The following example shows how to clear the counter of the interfaces in all the
aggregation groups:
39-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
39.1.6 show lacp
Function
This command modifies the key value of a link aggregation group.
Parameters
Parameter
Description
Value
number1
Range: 065535
Mode
PortCh interface mode
Usage Guidelines
When the key value of the link aggregation group is modified, the key value of the member
interface is modified accordingly.
Examples
The following example shows how to modify the key value of the smartgroup1 to 200:
ZXAN(config)# interface smartgroup1
ZXAN(config-if)# lacp admin-key 200
Related Commands
39.1.6 show lacp
39-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the LACP port priority.
Parameters
Parameter
Description
Value
number1
Range: 165535
Default: 32768
Mode
Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines
When the LACP port priority is configured, ports are added to the link aggregation group
based on their priorities.
Examples
The following example shows how to configure the LACP port priority as 100:
ZXAN(config)# interface gei_1/19/1
ZXAN(config-if)# lacp port-priority 100
Related Commands
39.1.6 show lacp
Function
This command switches on or off packet transmission for active/standby changeover
based on short timeout.
39-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
on
Switches on packet
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When the local end sends packets based on short timeout, it is necessary to configure
this switch on to protect the aggregated links from de-aggregating during active/standby
changeover.
Examples
(1) The following example shows how to switch on packet transmission for active/standby
changeover based on short timeout:
ZXAN(config)#lacp swap-short-ctrl on
(2) The following example shows how to switch off packet transmission for active/standby
changeover based on short timeout:
ZXAN(config)#lacp swap-short-ctrl off
Related Commands
None
Function
This command configures the LACP timeout mode for an interface.
39-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
long
short
Mode
Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines
(1) Long timeout mode is configured by default.
(2) In long timeout mode, the system receives LACP packets from the peer end every
30 seconds. If no packets are received from the peer end for 90 seconds (3 times), the
interface will be de-aggregated.
(3) In short timeout mode, the system receives LACP packets from the peer end every one
second. If no packets are received from the peer end for 3 seconds (3 times), the interface
will be de-aggregated.
Examples
The following example shows how to configure the LACP timeout mode for the interface
gei_1/19/1:
ZXAN(config)#interface gei_1/19/1
Related Commands
39.1.6 show lacp
Function
This command displays the current LACP configuration and state.
39-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Range: 168
counters
interfaces
neighbors
System MAC
Mode
Any mode except user mode
Usage Guidelines
None
Examples
(1) The following example shows how to display statistical information about LACP packets
received and transmitted by member interfaces in aggregation group 1:
ZXAN# show lacp 1 counters
(2) The following example shows how to display the aggregation state of member
interfaces in aggregation group 1:
ZXAN# show lacp 1 internal
(3) The following example shows how to display the peer end configuration in aggregation
group 1:
ZXAN# show lacp 1 neighbors
(4) The following example shows how to display the system MAC:
ZXAN# show lacp sys-id
Related Commands
39.1.7 smartgroup
39-6
SJ-20130118100307-010|2013-02-28 (R1.0)
39.1.7 smartgroup
Syntax
smartgroup number1 mode {passive |active |on } [subgroup number2 ]
no smartgroup
Function
This command adds an interface to a link aggregation group, and sets the link aggregation
mode for the interface.
Parameters
Parameter
Description
Value
number1
Range: 168
passive
Subgroup ID.
Range: 12
Mode
Layer 2 FEI, Layer 2 GEI, and 10G_Ether interface mode
Usage Guidelines
(1) VLAN configurations, interface protection, and isolation configurations of a member
interface must be consistent with those of the aggregation group. Otherwise, such an
interface is not allowed to join the aggregation group.
39-7
SJ-20130118100307-010|2013-02-28 (R1.0)
(2) After an interface joins an aggregation group, the modification of VLAN configurations,
interface protection, and isolation configurations of the aggregation group will result in
automatic modification of the corresponding attributes on the side of the member interfaces
to keep consistent with the aggregation group.
(3) The uplink and downlink attribute of member interfaces must be consistent with each
other. Otherwise, they cannot join the same aggregation group.
(4) All the member interfaces must be configured as dynamic or static aggregation.
Otherwise, the interface later added cannot join the aggregation group.
(5) Both ends must be configured as dynamic or static aggregation. Otherwise, they cannot
be aggregated.
(6) The rate and duplex mode of member interfaces must be consistent with each other.
Otherwise, only the interfaces with consistent configuration can be aggregated.
(7) The rate and duplex mode of both ends must be consistent with each other. Otherwise,
they cannot be aggregated.
(8) If member interfaces without subgroup configuration exist in the aggregation group,
they cannot be configured to any subgroup. To configure a subgroup for such member
interfaces, remove them from the aggregation group, and add them again.
(9) To delete an interface from a link aggregation group, use the no form of this command.
Examples
(1) The following example shows how to add the interface gei_1/19/1 to aggregation group
1:
ZXAN(config)# interface gei_1/19/1
ZXAN(config-if)# smartgroup 1 mode active
(2) The following example shows how to add the interface gei_1/19/1 to subgroup 1:
ZXAN(config)# interface gei_1/19/1
ZXAN(config-if)# smartgroup 1 mode active subgroup 1
Related Commands
39.1.6 show lacp
39-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the load balance mode for a link aggregation group.
Parameters
Parameter
Description
Value
name1
aggregation
Mode
PortCh interface mode
Usage Guidelines
To reset the configured mode to the default value, use the no form of this command.
Examples
The following example shows how to configure the load balance mode for link aggregation
group 1 as src-mac:
ZXAN(config)# interface smartgroup1
ZXAN(config-if)# smartgroup load-balance src-mac
Related Commands
39.1.6 show lacp
Function
This command configures the system priority of an aggregation group.
Parameters
Parameter
Description
Value
number1
System priority of an
Range: 165535
aggregation group
Default: 32768
Mode
PortCh interface mode
39-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
The local end selects the interfaces that join the link aggregation group based on the
system priority configured by the peer end.
Examples
The following example shows how to configure the system priority of aggregation group 1
as 100:
ZXAN(config)# interface smartgroup1
ZXAN(config-if)# smartgroup sys-priority 100
Related Commands
39.1.6 show lacp
Function
By default, the fast test interval for the port link status of the main control and switching
card of the C300 system is 100 ms. This command shortens the fast test interval to 10 ms
when users test the traffic handoff performance for LACP port plug.
Parameters
Parameter
Description
Value
on
port plug.
off
plug.
Mode
Privileged mode: ZXAN#
Usage Guidelines
(1) This command is used to test the packet loss performance when users plug a certain
port only if there are multiple member ports in an LACP aggregation group.
(2) This command is used for test and is not be written into configuration scripts. The
configuration will lose if the system restarts.
39-10
SJ-20130118100307-010|2013-02-28 (R1.0)
(3) When the fast link test switch for port plug is on, the CPU usage of the main control
and switching card increases, which will degrade performance of the card.
(4) By default, the fast link test switch for port plug is off.
Examples
The following example shows how to switch on fast link test for port plug:
ZXAN#test lacp plug-fast on
Related Commands
None
Function
This command adds a port to a link aggregation group.
Parameters
Parameter
Description
Value
number1
Range: 1192
Mode
PTP interface mode
Usage Guidelines
1) A link aggregation group is actually a static aggregation group. The system supports
multiple ports of one PTP card to be added to the same aggregation group. Configuration
across cards is not supported.
2) Up to eight member ports can be configured in a link aggregation group.
Examples
The following example shows how to add a port of the PTP card to link aggregation group
1:
39-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
39.2.3 show linkgroup
Function
This command configures the load balance mode for a link aggregation group.
Parameters
Parameter
Description
Value
number1
Range: 1192
name1
Default: src-dst-mac
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The system supports six load balance modes, namely, dst-ip, dst-mac, src-dst-ip,
src-dst-mac, src-ip, and src-mac.
Examples
The following example shows how to configure the load balance mode for link aggregation
group 1 as src-mac:
ZXAN(config)#linkgroup load-balance 1 mode src-mac
Related Commands
39.2.3 show linkgroup
Function
This command displays configurations of link aggregation groups.
Parameters
Parameter
Description
Value
all
Range: 1192
Mode
Any mode except user mode
Usage Guidelines
show linkgroup all displays only the link aggregation groups that have configured member
ports.
Examples
The following example shows how to display configurations of link aggregation group 1:
ZXAN(config)#show linkgroup 1
Linkgroup: 1 LoadBalance Mode: src-dst-mac
-------------------------------------------------------Member ports:
gei_1/16/1 gei_1/16/2 gei_1/16/3 gei_1/16/4
Active ports:
Related Commands
39.2.2 linkgroup load-balance
39-13
SJ-20130118100307-010|2013-02-28 (R1.0)
39-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 40
UAPS Commands
Table of Contents
interval-link-detect ....................................................................................................40-1
next-hop ...................................................................................................................40-2
port ..........................................................................................................................40-4
port-optical-tx-control................................................................................................40-6
protect-time ..............................................................................................................40-7
retry-link-detect ........................................................................................................40-9
revertive .................................................................................................................40-10
show uaps.............................................................................................................. 40-11
swap ......................................................................................................................40-13
switch-type .............................................................................................................40-15
uaps-group.............................................................................................................40-17
40.1 interval-link-detect
Syntax
interval-link-detect number1
Function
This command sets the interval for detecting links.
Parameters
Parameter
number1
Description
Value
110
seconds
Mode
uaps-group configuration mode
Usage Guidelines
The default value is 3 seconds.
Examples
The following example shows how to set the interval for detecting links:
40-1
SJ-20130118100307-010|2013-02-28 (R1.0)
disable
PortLight
disable
Protect-time
control
10s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
10
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
forwarding
block
Link status
gei_1/21/1 : up
gei_1/21/2 : up
Related Commands
40.2 next-hop
40.2 next-hop
Syntax
next-hop ip_addr1
no next-hop
Function
This command sets the next hop IP address of the UAPS service.
Parameters
Parameter
Description
Value
ip_addr1
Mode
uaps-group configuration mode
Usage Guidelines
The default IP address is 0.0.0.0, indicating that the ping detection for next hop is not
started.
To cancel the setting, use the no form of this command.
40-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to set the next hop IP address of the UAPS service to
10.63.192.98:
ZXAN(cfg-uaps-1)#interval-link-detect 10
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
disable
PortLight
disable
Protect-time
control
10s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
10
Link status
connected or NA
Bfd
connected or NA
Switch-type
Link status
common port
forwarding
gei_1/21/1 : up
block
gei_1/21/2 : up
The following example shows how to delete the next hop of the UAPS service:
ZXAN(cfg-uaps-1)#no next-hop
Revertive control
disable
PortLight
disable
Protect-time
10s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
control
40-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Bfd
Link status
connected or NA
Switch-type
common port
forwarding
gei_1/21/1 : up
block
gei_1/21/2 : up
Related Commands
None
40.3 port
Syntax
port master-port interface1 slave-port interface2
no port master-port interface1
Function
This command adds a pair of active and standby ports to a UAPS group.
Parameters
Parameter
Description
Value
interface1
interface2
Mode
uaps-group configuration mode
Usage Guidelines
Currently, only one pair of active and standby ports can be added.
To delete the ports, use the no form of this command. After deletion, the originally blocked
port is shut down to prevent loops.
40-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to adds active and standby ports to UAPS group1:
ZXAN(cfg-uaps-1)#port master-portlist gei_1/21/1 slave-portliste gei_1/21/2
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
disable
PortLight
disable
control
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Link status
Switch-type
common port
forwarding
gei_1/21/1 : up
block
gei_1/21/2 : up
The following example shows how to delete active and standby ports from UAPS group1:
ZXAN(cfg-uaps-1)#no port master-port gei_1/21/1
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
disable
PortLight
disable
control
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
10
Link status
connected or NA
Bfd
connected or NA
common port
Link status
Switch-type
Related Commands
None
40-5
SJ-20130118100307-010|2013-02-28 (R1.0)
40.4 port-optical-tx-control
Syntax
port-optical-tx-control name1
Function
This command sets whether to disable the lighting protection for the standby optical port
added to a UAPS group.
Parameters
Parameter
Description
Value
name1
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:
Revertive control
disable
PortLight
enable
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
control
40-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
forwarding
Link status
gei_1/21/1 : up
block
gei_1/21/2 : up
Related Commands
None
40.5 protect-time
Syntax
protect-time number1
no protect-time
Function
This command sets the protection time.
Parameters
Parameter
Description
Value
number1
0900
Mode
uaps-group configuration mode
Usage Guidelines
Protection time refers to the minimum interval between two switchings. It is used to avoid
link flapping. The switching request sent during the protection time is cached till the time
expires.
40-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to sets the protection time to 10 seconds:
ZXAN(cfg-uaps-1)# protect-time 10
Revertive control
disable
PortLight
disable
Protect-time
10s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
forwarding
control
Link status
gei_1/21/1 : up
block
gei_121/2 : up
Related Commands
None
40-8
SJ-20130118100307-010|2013-02-28 (R1.0)
40.6 retry-link-detect
Syntax
retry-link-detect number1
Function
This command sets the number of link detection times.
Parameters
Parameter
Description
Value
number1
110
Mode
uaps-group configuration mode
Usage Guidelines
None
Examples
The following example shows how to set the link detection times to 3:
ZXAN(cfg-uaps-1)#retry-link-detect 3
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
disable
PortLight
disable
Protect-time
control
10s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Switch-type
Link status
common port
forwarding
gei_1/21/1 : up
block
gei_1/21/2 : up
Related Commands
40.2 next-hop
40-9
SJ-20130118100307-010|2013-02-28 (R1.0)
40.7 revertive
Syntax
revertive name1
Function
This command sets whether the active/standby status of a UAPS group can be
automatically restored.
Parameters
Parameter
Description
Value
name1
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
Revertive control
enable
PortLight
disable
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
control
40-10
SJ-20130118100307-010|2013-02-28 (R1.0)
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
forwarding
Link status
gei_1/21/1 : up
block
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.
40-11
SJ-20130118100307-010|2013-02-28 (R1.0)
The show uaps groupid <id> command displays the configuration of a specified UAPS
group.
Examples
The following example shows how to display the configuration of a UAPS group:
(1)
ZXAN(config)#show uaps
Group List :
--------------------------------------1
(2)
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
disable
PortLight
disable
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
forwarding
control
Link status
gei_0/3/1 : up
block
gei_0/3/2 : up
40-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
40.9 swap
Syntax
swap
Function
This command forcibly switches between the active and standby interfaces.
Parameters
None
Mode
uaps-group configuration mode
Usage Guidelines
None
Examples
The following example shows how to forcibly switch between the active and standby ports
when they are both normal:
Revertive control
disable
PortLight
disable
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
control
40-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
forwarding
Link status
gei_1/21/1 : up
block
gei_1/21/2 : up
ZXAN(cfg-uaps-1)#swap
Revertive control
disable
PortLight
disable
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
block
control
Link status
40-14
SJ-20130118100307-010|2013-02-28 (R1.0)
gei_1/21/1 : up
forwarding
gei_1/21/2 : up
Related Commands
None
40.10 switch-type
Syntax
switch-type name1
Function
This command configures the switchover type of a UAPS group.
Parameters
Parameter
Description
Value
name1
Mode
uaps-group configuration mode
Usage Guidelines
For the common-port mode, the ports added to the UAPS group are common ports.
Normally, two ports are added to serve the active and standby ports. Once the active port
is down, a switchover request is delivered.
For the trunking-port mode, the ports added to the UAPS group are ports from two
smartgroups. The UAPS group requests switchover only when all ports in a smartgroup
are down and at least one port in the standby group is up.
Examples
The following example shows how to set to UAPS group 1 to the trunking-port mode:
40-15
SJ-20130118100307-010|2013-02-28 (R1.0)
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
Revertive control
disable
PortLight
disable
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
control
40-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Bfd
Link status
connected or NA
Switch-type
trunk port
forwarding
gei_1/21/1 : up
gei_1/21/2 : up
block
gei_1/21/3 : up
gei_1/21/4 : up
Related Commands
None
40.11 uaps-group
Syntax
uaps-group number1
no uaps-group number1
Function
This command adds or deletes a UAPS group.
Parameters
Parameter
Description
Value
number1
14
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
After a UAPS group is deleted, the originally blocked port is shut down to avoid loops.
40-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create UAPS group 1:
ZXAN(config)#uaps-group 1
Revertive control
disable
PortLight
disable
Protect-time
300s
Next-hop
0.0.0.0
Bfd next_hop
0.0.0.0
Link-type
normal
Link-detect-retry
Link-detect-interval
Link status
connected or NA
Bfd
connected or NA
Switch-type
common port
control
Link status
ZXAN(config)#no uaps-group 1
ZXAN(config)#show uaps
40-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Group List :
---------------------------------------
No UAPS group!
Related Commands
None
40-19
SJ-20130118100307-010|2013-02-28 (R1.0)
40-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 41
LST Commands
Table of Contents
add-port olt-port........................................................................................................41-1
add-port uplink-port ..................................................................................................41-2
interval-link-detect ....................................................................................................41-3
lst-group ...................................................................................................................41-4
next-hop ...................................................................................................................41-5
retry-link-detect ........................................................................................................41-6
show lst ....................................................................................................................41-7
Function
This command adds a PON port to an LST group.
Parameters
Parameter
Description
Value
interface1
Mode
lst-group configuration mode
Usage Guidelines
Only one PON port can be added at a time at present.
To delete the port from the LST group, use the no form of this command.
Examples
The following example shows how to add the PON port epon-olt_0/12/1 to LST group lst 1:
ZXAN(cfg-lst-1)# add-port olt-port epon-olt_1/12/1
ZXAN(config)#show lst
41-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Switch type
common port
epon-olt_1/12/1
Next-hop
0.0.0.0
Link-detect-retry
Link-detect-interval
Link status
N/A
: up
Related Commands
41.2 add-port uplink-port
Function
This command adds an uplink port to an LST group.
Parameters
Parameter
Description
Value
interface1
Mode
lst-group configuration mode
Usage Guidelines
Only one uplink port can be added at a time at present.
Note: Up to two uplink ports can be added.
To delete a port from an LST group, use the no form of this command.
41-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to add the uplink port gei_1/21/1 to LST group lst 1:
ZXAN(cfg-lst-1)# add-port uplink-port gei_1/21/1
ZXAN(config)#show lst
Group List :
--------------------------------------Group List :
--------------------------------------1
ZXAN(config)#show lst groupid 1
Switch type
common port
gei_1/21/1
Next-hop
0.0.0.0
Link-detect-retry
Link-detect-interval
Link status
N/A
: up
Related Commands
41.1 add-port olt-port
41.3 interval-link-detect
Syntax
interval-link-detect number1
Function
This command configures the link detection interval.
Parameters
Parameter
Description
Value
number1
Mode
lst-group configuration mode
Usage Guidelines
None
41-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
ZXAN(cfg-lst-1)#interval-link-detect 10
ZXAN(cfg-lst-1)#show lst groupid 1
Switch type
common port
gei_1/21/1 : up
gei_1/21/4
Pon ports status
: up
:
epon-olt_1/12/1 : up
epon-olt_1/12/2 : up
Next-hop
10.63.192.98
Link-detect-retry
Link-detect-interval
10
Link status
testing
Related Commands
41.6 retry-link-detect
41.4 lst-group
Syntax
lst-group number1
no lst-group number1
Function
This command creates an LST group.
Parameters
Parameter
Description
Value
number1
LST group ID
Range: 116
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an LST group, use the no form of this command.
Examples
(1) The following example shows how to create LST group 1:
41-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Switch type
common port
Next-hop
0.0.0.0
Link-detect-retry
Link-detect-interval
Link status
N/A
Related Commands
show lst
41.5 next-hop
Syntax
next-hop ip_addr1
no next-hop
Function
This command configures the next-hop IP address for LST.
41-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
ip_addr1
Next-hop IP address
Default: 0.0.0.0
Mode
lst-group configuration mode
Usage Guidelines
The default value of ip_addr1 indicates that the next-hop ping detection is disabled.
To delete the configured address, use the no form of this command.
Examples
The following example shows how to configure the next-hop IP address for LST as
10.63.192.98:
ZXAN(cfg-lst-1)#next-hop 10.63.192.98
ZXAN(cfg-lst-1)#show lst groupid 1
Switch type
common port
gei_1/21/1 : up
gei_1/21/4
Pon ports status
: up
:
epon-olt_1/12/1 : up
epon-olt_1/12/2 : up
Next-hop
10.63.192.98
Link-detect-retry
Link-detect-interval
Link status
testing
Related Commands
41.3 interval-link-detect
41.6 retry-link-detect
41.6 retry-link-detect
Syntax
retry-link-detect number1
Function
This command configures the retry times for link detection.
41-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Range: 110
Mode
lst-group configuration mode
Usage Guidelines
None
Examples
ZXAN(cfg-lst-1)#retry-link-detect 3
ZXAN(cfg-lst-1)#show lst groupid 1
Switch type
common port
gei_1/21/1 : up
gei_1/21/4
Pon ports status
: up
:
epon-olt_1/12/1 : up
epon-olt_1/12/2 : up
Next-hop
10.63.192.98
Link-detect-retry
Link-detect-interval
Link status
testing
Related Commands
41.3 interval-link-detect
Function
This command displays configuration information about an LST group.
Parameters
None
41-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
The show lst command displays a configured LST group ID.
The show lst groupid <id> command displays configuration information about a specified
LST group.
Examples
ZXAN(config)#lst-group 1
ZXAN(config)#show lst
Group List :
--------------------------------------Group List :
--------------------------------------1
ZXAN(config)#show lst groupid 1
Switch type
common port
Next-hop
0.0.0.0
Link-detect-retry
Link-detect-interval
Link status
N/A
Related Commands
None
41-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 42
ACL Commands
Table of Contents
acl extended.............................................................................................................42-1
acl hybrid..................................................................................................................42-2
acl link......................................................................................................................42-3
acl standard .............................................................................................................42-4
acl6 hybrid................................................................................................................42-5
ip access-group (Layer 2 fei Interface Mode)............................................................42-5
ip access-group........................................................................................................42-6
name........................................................................................................................42-7
priority-mark .............................................................................................................42-8
redirect.....................................................................................................................42-9
rule.........................................................................................................................42-10
rule (acl-ext configuration mode) ............................................................................ 42-11
rule (acl-link configuration mode)............................................................................42-14
rule (acl-hyb configuration mode) ...........................................................................42-16
rule (ipv6-acl-hyb configuration mode)....................................................................42-19
show acl .................................................................................................................42-22
show qos................................................................................................................42-23
show time-range.....................................................................................................42-24
show traffic-statistics ..............................................................................................42-25
time-range..............................................................................................................42-25
traffic-limit...............................................................................................................42-27
traffic-mirror............................................................................................................42-28
traffic-statistics .......................................................................................................42-30
vlan-mark ...............................................................................................................42-31
Function
This command creates an extended ACL and enters extended ACL configuration mode.
42-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
100199
extended ACL
name1
032 characters
ACL
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l
l
Examples
The following example shows how to create an extended ACL:
ZXAN(config)#acl extended number 101
ZXAN(config-ext-acl)#
Related Commands
42.16 show acl
Function
This command creates a hybrid ACL and enters hybrid ACL configuration mode.
Parameters
Parameter
Description
Value
number1
300399
ACL
name1
032 characters
42-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Examples
The following example shows how to start hybrid ACL configuration mode:
ZXAN(config)#acl hybrid number 300
ZXAN(config-hybd-acl)#
Related Commands
42.16 show acl
Function
This command creates a Layer 2 ACL and enters Layer 2 ACL configuration mode.
Parameters
Parameter
Description
Value
number1
200299
2 ACL
name1
032 characters
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create a Layer 2 ACL:
ZXAN(config)#acl link number 200
ZXAN(config-link-acl)#
Related Commands
42.16 show acl
Function
This command creates a standard ACL and enters the standard ACL configuration mode.
Parameters
Parameter
Description
Value
number1
199
standard ACL
name1
032 characters
ACL
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Examples
The following example shows how to start the standard ACL configuration mode:
ZXAN(config)#acl standard number 10
ZXAN(config-std-acl)#
Related Commands
42.16 show acl
42-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command creates an IPv6 hybrid ACL and enters IPv6 hybrid ACL configuration
mode.
Parameters
Parameter
Description
Value
number1
600699
hybrid ACL
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Examples
The following example shows how to start IPv6 hybrid ACL configuration mode:
ZXAN(config)#acl6 hybrid number 600
ZXAN(config-hybd-acl6)#
Related Commands
42.16 show acl
Function
This command configures an ACL rule for an interface.
42-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
ACL number.
1699
name1
name2
Binding direction.
in
Mode
Layer 2 fei interface mode, Layer 2 gei interface mode, and 10G_Ether interface mode:
ZXAN(config-if)#
Usage Guidelines
None
Examples
The following example shows how to configure an ACL rule for a GE interface (gei_1/5/1):
ZXAN(config)#interface gei_1/5/1
ZXAN(config-if)#ip access-group 300 in
Related Commands
1.27 show running-config
42.7 ip access-group
Syntax
ip access-group {number1 |name1 } name2 name3
no ip access-group {number1 } name2 name3
Function
This command binds an ACL to an inner interface.
Parameters
Parameter
Description
Value
number1
ACL number.
1699
name1
ACL name.
42-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
Binding direction.
inner-port_1/4/1.
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Create an ACL before binding the ACL to an inner interface.
Examples
The following shows how to bind ACL 300 to the ingress direction of an inner interface
(inner-port_1/4/1):
ZXAN(config)#ip access-group 300 in inner-port_1/4/1
Related Commands
show access-list bound
42.8 name
Syntax
name name1
no name [name1 ]
Function
This command sets an alias for an ACL.
Parameters
Parameter
Description
Value
name1
ACL alias
Mode
l
l
l
l
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
To cancel the setting, use the no name command.
Examples
The following example shows how to set the alias of a standard ACL (ACL number: 99) to
zte:
ZXAN(configl)#acl standard number 99
ZXAN(config-std-acl)#name zte
Related Commands
42.16 show acl
42.9 priority-mark
Syntax
priority-mark in {number1 |name1 } rule-id number2 {[{dscp number3 |precedence number4 |tr
affic-class number5 } ] [drop-precedence name2 ] [{cos number6 |local-precedence number7 } ] }
no priority-mark in {number1 |name1 } rule-id number2
Function
This command configures a priority marking policy based on an ACL rule.
Parameters
Parameter
Description
Value
in
rule.
number1
ACL number.
1699
name1
number2
Rule number.
1127
number3
DSCP value.
063
number4
Precedence.value
07
number5
traffic-class value
063
name2
medium, or low).
number5
CoS value.
07
number6
Local precedence.
07
42-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Examples
The following example shows how to configure a priority marking policy.
This policy marks the DSCP value to 4 for the traffic that matches rule 1 of ACL 333.
ZXAN(config)#priority-mark in 333 rule-id 1 dscp 4
Related Commands
42.17 show qos
42.10 redirect
Syntax
redirect in {number1 |name1 } rule-id number2 {cpu [pkt-limit number3 ] |interface interface1
|next-hop ip_addr1 }
no redirect in {number1 |name1 } rule-id number2
Function
This command configures traffic redirection based on an ACL rule.
Parameters
Parameter
Description
Value
in
rule.
number1
ACL number.
1699
name1
number2
Rule number.
14094
cpu
number3
1500
42-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
interface1
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Ensure that the ACL number, name, alias, and rule have been created before using
this command.
Only uplink ports support traffic redirection. The destination port of traffic redirection
must be an uplink port.
Examples
The following example shows how to configure traffic redirection.
The traffic redirection configuration redirects traffic that matches rule 4094 of ACL 200 to
the uplink port gei_1/192.
ZXAN(config)#redirect in 200 rule-id 4094 interface gei_1/19/2
Related Commands
42.17 show qos
42.11 rule
Syntax
rule number1 {permit |deny } {ip_addr1 [mask1 ] |any } [time-range name1 ]
no rule {number1 |all }
Function
This command configures a rule for a standard ACL.
42-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rule number
1127
permit
rule
deny
rule
ip_addr1
Source IP address
mask1
address
any
name1
all
Mode
acl-basic configuration mode: ZXAN(config-std-acl)#
Usage Guidelines
To delete a standard ACL rule, use the no form of this command.
Examples
The following example shows how to configure a rule for ACL 20.
The created rule (rule 5) of ACL 20 permits traffic with the source IP address 1.1.1.1.
ZXAN(config)#acl standard number 20
ZXAN(config-std-acl)#rule 5 permit 1.1.1.1
Related Commands
42.16 show acl
Function
This command configures a rule for an extended ACL.
Parameters
Parameter
Description
Value
number1
Rule number
11024
permit
rule
deny
rule
icmp
ICMP protocol
ip_addr1
Source IP address
mask1
address
any
ip_addr2
Destination IP address
mask2
IP address
number2
0254
name1
as echo or echo-reply
number3
0254
number4
IP protocol type
0254
ip
Any IP protocol
name2
OSPF or PIM
ip_addr3
Source IP address
mask3
address
ip_addr4
Destination IP address
mask4
IP address
tcp
TCP protocol
ip_addr5
Source IP address
42-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
mask5
address
name3
range1
065535
range
name4
ftp or telnet
ip_addr6
Destination IP address
mask6
IP address
name5
rule
range2
065535
established links
udp
UDP protocol
ip_addr7
Source IP address
mask7
address
name7
range3
065535
range
name8
bootpc or snmp
ip_addr8
Destination IP address
mask8
IP address
name9
rule
range4
065535
42-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number5
Precedence
07
number6
ToS
015
number7
DSCP
063
number8
TTL
0255
name11
all
Mode
acl-ext configuration mode: ZXAN(config-ext-acl)#
Usage Guidelines
To delete an extended ACL rule, use the no form of this command.
Examples
The following example shows how to configure a rule for the extended ACL 100.
The created rule (rule 1) permits TCP traffic transferred from the source port 2000 to the
destination port 3000.
ZXAN(config)#acl extended number 100
ZXAN(config-ext-acl)#rule 1 permit tcp any eq 2000 an eq 3000
Related Commands
42.16 show acl
Function
This command configures a rule for a Layer 2 ACL.
42-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Rule number
14094
permit
rule
deny
rule
hexadecimal1
name1
such as IP or ARP
any
number2
CoS
07
number3
VLAN ID
14094
hexadecimal2
hexadecimal3
MAC address
hexadecimal4
hexadecimal5
MAC address
number4
07
number5
VLAN ID
14094
name2
all
Mode
acl-link configuration mode: ZXAN(config-link-acl)#
Usage Guidelines
To delete a Layer 2 ACL rule, use the no form of this command.
Examples
The following example shows how to configure a rule for the Layer 2 ACL 200.
The created rule (rule 2) permits IP traffic that matches the following conditions:
l
l
l
l
CoS: 0
VLAN ID: 100
Source MAC address: 0000.0000.0002
Destination MAC address: 0000.0000.0001
42-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
42.16 show acl
Function
This command configures a rule for a hybrid ACL.
Parameters
Parameter
Description
Value
number1
Rule number
1127
permit
rule
deny
rule
name1
OSPF or PIM
number2
IP protocol type
0254
any
ip_addr1
Source IP address
mask1
address
ip_addr2
Destination IP address
42-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
mask2
IP address
tcp
TCP protocol
ip_addr3
Source IP address
mask3
address
name2
range1
065535
range
name3
ftp or telnet
ip_addr4
Destination IP address
mask4
IP address
name4
rule
range2
065535
UDP protocol
ip_addr5
Source IP address
mask5
address
name6
range3
065535
range
name7
bootpc or snmp
ip_addr6
Destination IP address
mask6
IP address
name8
rule
range4
065535
42-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name9
Precedence
07
number4
ToS
015
number5
DSCP
063
hexadecimal1
name10
such as IP or ARP
number6
CoS
07
name11
is supported
range5
1 4094
hexadecimal2
hexadecimal3
address
hexadecimal4
hexadecimal5
MAC address
number7
07
name12
eq
double-tag packets
range6
1 4094
of double-tag packets
name13
all
Mode
acl-hyb configurationmode: ZXAN(config-hybd-acl)#
Usage Guidelines
To delete a hybrid ACL rule, use the no form of this command.
Examples
The following example shows how to configure a rule for the hybrid ACL 300.
The created rule (rule 5) denies TCP traffic that matches the following conditions:
l
CoS: 0
42-18
SJ-20130118100307-010|2013-02-28 (R1.0)
l
l
l
Related Commands
42.16 show acl
Function
This command configures a rule for an IPv6 hybrid ACL.
Parameters
Parameter
Description
Value
number1
Rule number
1-127
permit
rule
deny
rule
icmpv6
ICMPv6 protocol
v6mask1
any
Any IP protocol
v6mask2
number2
IP protocol number
0-254
42-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name1
ICMP type
number3
Source IP address
0-254
name2
number4
0-254
ip_addr1
Destination IP address
mask1
Mask
v6mask3
Source IP address
ip_addr2
Destination IP address
mask2
Mask
v6mask4
Destination IP address
tcp
TCP
ip_addr3
Source IP address
mask3
Mask
v6mask5
Source IP address
name3
Interface type
range1
0-65535
name4
ip_addr4
Destination IP address
mask4
Mask
v6mask6
Destination IP address
name5
Interface rule
range2
0-65535
name6
udp
UDP
ip_addr5
Source IP address
mask5
Mask
v6mask7
Source IP address
name7
Interface rule
range3
Interface type
0-65535
name8
Interface type
ip_addr6
Destination IP address
mask6
Mask
v6mask8
Destination IP address
42-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name9
Interface rule
range4
0-65535
name10
number5
Flow-label
0-1048575
number6
Traffic-class
0-63
number7
Precedence
0-7
number8
TOS
0-15
number9
DSCP
0-63
hexadecimal1
name11
number10
COS
0-7
name12
range5
VLAN ID
1-4094
hexadecimal2
hexadecimal3
Mask
hexadecimal4
hexadecimal5
Mask
number11
COS
0-7
name13
range6
VLAN ID
1-4094
name14
all
Mode
ipv6-acl-hyb configuration mode
Usage Guidelines
To delete an IPv6 hybrid ACL rule, use the no form of this command.
Examples
The following example shows how to configure a rule for the IPv6 hybrid ACL 600.
The created rule (rule 1) permits TCP traffic that matches the following conditions:
l
l
42-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
42.16 show acl
Function
This command displays the contents in all ACLs or a specific ACL.
Parameters
Parameter
Description
Value
number1
ACL number
1699
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the contents in all ACLs:
ZXAN(config)#show acl
acl standard number 10
acl standard number 20
acl extend number 100
acl link number 200
acl hybrid number 300
rule 1 permit any any any any ingress any egress any
rule 2 permit any any any any
vlan-id eq 700
ingress
vlan-id eq 600
ingress
42-22
SJ-20130118100307-010|2013-02-28 (R1.0)
vlan-id eq 101
ingress
Related Commands
42.1 acl extended
42.3 acl link
42.4 acl standard
42.2 acl hybrid
Function
This command displays the configuration of ACL rulebased QoS actions, such as traffic
mirroring and/or priority marking.
Parameters
None
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display the configuration of ACL rule-based QoS
actions:
ZXAN(config)#show qos
traffic-statistics in 234 rule-id 1 pkt-type red statistics-type packet
traffic-statistics in 235 rule-id 1 pkt-type red statistics-type packet
priority-mark in 300 rule-id 1 cos 3
traffic-limit in 300 rule-id 1 cir 1024 cbs 1000 ebs 10000 mode blind
Related Commands
42.9 priority-mark
42-23
SJ-20130118100307-010|2013-02-28 (R1.0)
42.10 redirect
42.21 traffic-limit
42.22 traffic-mirror
42.23 traffic-statistics
42.24 vlan-mark
Function
This command displays a time range.
Parameters
Parameter
Description
Value
name1
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display a time range:
ZXAN#show time-range
Current time is
Time-range: test1
Related Commands
42.20 time-range
42-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays traffic statistics configuration and statistical information.
Parameters
Parameter
Description
Value
number1
ACL number
1699
name1
number2
Rule number
14094
Mode
All modes except user mode
Usage Guidelines
None
Examples
The following example shows how to display traffic statistics configuration and statistical
information:
throughout
---------------------------------------------------------------------0
all
packet
unavailable
Related Commands
42.23 traffic-statistics
clear traffic-statistics
42.17 show qos
42.20 time-range
Syntax
time-range name1 {time1 to time2 name2 |from time3 date1 [to time4 date2 ] }
42-25
SJ-20130118100307-010|2013-02-28 (R1.0)
no time-range name1
Function
This command defines a time range.
Parameters
Parameter
Description
Value
name1
time1
range
Format: hour:minute:second
to
To
time2
range
Format: hour:minute:second
name2
time3
range
Format: hour:minute:second
Start date of the absolute time
date1
range
Format: month:day:year
End time of the absolute time
time4
range
Format: hour:minute:second
End date of the absolute time
date2
range
Format: month:day:year
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
An ACL rule is only valid during a time range if the time range name is specified when
the rule is created.
Two types of time ranges can be set: absolute time range and periodic time range.
42-26
SJ-20130118100307-010|2013-02-28 (R1.0)
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 a time range with the name ztetimer:
The time range is an absolute time range from 10:00:00 on Jan. 1, 2006 to 11:00:00 on
Jun.2, 2006.
ZXAN(config)#time-range ztetimer from 10:0:0 1-1-2006 to 11:0:0 6-2-2006
Related Commands
42.18 show time-range
42.21 traffic-limit
Syntax
traffic-limit in {number1 |name1 } rule-id number2 cir number3 cbs number4 {ebs number5 |pir
number6 pbs number7 } mode name2 [{[remark-red-dp name3 ] [remark-red-dscp number8 ]
[remark-yellow-dp name4 ] [remark-yellow-dscp number9 ] [forward-red ] [drop-yellow ] } ]
no traffic-limit in {number1 |name1 } rule-id number2
Function
This command configures ACL rule-based traffic limiting.
Parameters
Parameter
Description
Value
in
rule
number1
ACL number
1699
name1
number2
Rule number
14094
number3
CIR in kbps
6432000000
number4
CBS in kbytes
416000
number5
EBS in kbytes
416000
number6
PIR in kbps
6432000000
number7
PBS in kbytes
416000
42-27
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
Mode (color-blind or
color-aware)
name3
number8
063
packets
name4
packets
number9
063
packets
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Ensure that the ACL number, name, alias, and rule have been created before using this
command.
Examples
The following example shows how to configure rate limiting for traffic that matches rule 1
of ACL 300:
ZXAN(config)#traffic-limit in 300 rule 1 cir 300 cbs 400 pir 800 pbs 300 mode blind
Related Commands
42.17 show qos
42.22 traffic-mirror
Syntax
traffic-mirror in {number1 |name1 } rule-id number2 {cpu |destination-ip ip_addr1 source-ip
ip_addr2 {[priority number3 ] [tpid hexadecimal1 ] [ttl number4 ] [DSCP number5 ] } |interface
interface1 [rspan-vlanid number6 [{[priority number7 ] [tpid hexadecimal2 ] } ] ] }
no traffic-mirror in {number1 |name1 } rule-id number2
Function
This command configures ACL-based traffic mirroring in configuration mode.
42-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
in
number1
ACL number.
1699
name1
number2
Rule ID.
14094
cpu
ip_addr1
ERSPAN mode.
hexadecimal1
ERSPAN mode.
number4
1255
ERSPAN mode.
number5
063
in ERSPAN mode.
interface1
14094
RSPAN mode.
number7
RSPAN mode.
hexadecimal2
RSPAN mode.
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
Ensure that the ACL number, name, alias, and rule have been created before using this
command.
42-29
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the traffic mirroring function for mirroring
traffic that matches rule 4 of ACL 333 to the interface gei_0/13/2:
ZXAN(config)#traffic-mirror in 333 rule-id 4 interface gei_0/13/2
Related Commands
42.17 show qos
42.23 traffic-statistics
Syntax
traffic-statistics in {number1 |name1 } rule-id number2 pkt-type name2 statistics-type name3
no traffic-statistics in {number1 |name1 } rule-id number2
Function
This command configures ACL rule-based traffic statistics.
Parameters
Parameter
Description
Value
in
number1
ACL number.
1699
name1
number2
Rule number.
14094
pkt-type
be counted.
name2
Packet type.
statistics-type
statistics.
name3
Statistics type.
packet or byte
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Ensure that the ACL number, name, alias, and rule have been created before using
this command.
To cancel the setting, use the no traffic-statistics command.
42-30
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure traffic statistics for counting green packets
that matches rule 1024 of ACL 199:
ZXAN(config)#traffic-statistics in 199 rule-id 1024 pkt-type green
statistics-type packet
Related Commands
42.17 show qos
42.19 show traffic-statistics
clear traffic-statistics
42.24 vlan-mark
Syntax
vlan-mark in {number1 |name1 } rule-id number2 vlan-id number3
no vlan-mark in {number1 |name1 } rule-id number2
Function
This command modifies the VLAN ID of traffic that matches a specific ACL rule.
Parameters
Parameter
Description
Value
in
number1
ACL number.
1699
name1
number2
Rule number.
14094
number3
VLAN ID.
14094
Mode
Configuration mode: ZXAN(config)#
Usage Guidelines
l
l
Ensure that the ACL number and rule number have been created before using this
command.
To cancel the modification, use the no vlan-mark command.
42-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to modify the VLAN ID of traffic that matches rule 1 of
ACL 100 to 2:
ZXAN(config)#vlan-mark in 100 rule-id 1 vlan-id 2
Related Commands
42.17 show qos
42-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 43
Function
This command configures the rack number and shelf number for port location.
Parameters
Parameter
Description
Value
number1
063
number2
031
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the rack number and shelf number for port
location:
ZXAN(config)#port-location rackno 3 frameno 8
43-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
43.1.13 show port-location global
Function
The command configures the type of the port location access node identifier information.
Parameters
Parameter
Description
Value
name1
inband-mac: indicates NE
inband MAC
hostname: indicates host name
The default is inband-mac.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The hostname value can be configured through the port-location hostname command.
Examples
The following example shows how to set the access-node-identifier type to inband-mac:
Related Commands
43.1.9 port-location hostname
43.1.13 show port-location global
43-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the delimiter of the flexible syntax.
Parameters
Parameter
Description
Value
name1
Delimiter information
number1
130
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Seven delimiters are supported : # . , ; / : and space.
If the index is not configured or greater than the maximum index in the current flexible
syntax, the delimiter is appended after the original syntax configuration.
If the index is smaller than or equal to the maximum index, the configuration is inserted in
the position defined by the index. The configurations with the index greater than or equal
to this index are moved backwards.
Examples
The following example shows how to add space as a delimiter:
ZXAN(config)#port-location flexible-syntax add delimiter space
Related Commands
Function
This command configures a string with flexible syntax.
43-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
number1
130
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the index is not configured or greater than the maximum index in the current flexible
syntax, the string is appended after the original syntax configuration.
If the index is smaller than or equal to the maximum index, the configuration is inserted in
the position defined by the index. The configurations with the index greater than or equal
to this index are moved backwards.
Examples
The following example shows how to add the string ZXAN:
ZXAN(config)#port-location flexible-syntax add string ZXAN
Related Commands
Function
This command configures the variables of flexible syntax.
43-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Variable name
number1
Variable width
15
number2
130
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The variable width can be specified. If the width is not specified, the actual width applies.
The following variables can be configured:
access_node_id : access point identification
chassis: chassis number (Because no chassis is provided, the default is 0.)
rack: rack number
frame: shelf number
slot: slot number
sub-slot: sub-slot number
port: port number
vpi: vpi
vci : vci
q-vid: user vlan
ethernet-priority: network priority
onu-id: ODU ID
gem-port: gem_port number
cvlan: inner vlan
svlan: outer vlan
sn: ONU SN
loid: ONU loid
loidpw: ONU loidpw
Examples
The following example shows how to add the variable slot with the width as 2:
ZXAN(config)#port-location flexible-syntax add variable slot width 2
43-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
Function
This command deletes the element that is located in the position defined by the index in
flexible syntax.
Parameters
Parameter
Description
Value
number1
Element index
130
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the entered index is greater than the maximum index, an error is returned.
After the element at the position defined by the index is deleted, the position is replaced
by the subsequent flexible syntax configuration.
Examples
The following example shows how to delete the element with the index as 2:
ZXAN(config)#port-location flexible-syntax delete index 2
Related Commands
43-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configure the Circuit ID format in port location information.
Parameters
Parameter
Description
Value
name1
china-telecom
range1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface modem, and others
Usage Guidelines
Port location information includes Circuit ID and Remote ID. This command configures the
Circuit ID format.
The Circuit ID formats include: china-telecom, dsl-forum, china-netcom, turkey, kt (Korea
Telecom), ti (Telecom Italia), uni-base (Singapore), flexible-syntax, ft (France Telecom), gt
(Georgia Telecom), vf (Vodafone), airtel.
The spliced formats are: china-telecom, turkey, uni-base, airtel.
The following gives some commonly-used formats:
china-telecom:{eth|trk} NAS_slot/NAS_subslot/NAS_port:SVLAN.CVLAN
AccessNodeIdentifier/ANI_rack/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID
[ONU_Slot/ONU_Subslot/Port_ID][:{atm/eth|trk}/Port_XPI.Port_XCI] [LN|EP|GP]
DSL forum
axci.vlan-id
pon:
For the definitions of all formats, refer to the Definitions and Configurations of Thirteen Port
Location Formats for IAP Platform document.
Examples
The following example shows how to set the Circuit ID format to china-telecom:
ZXAN(config)#interface gpon-onu_1/3/1:1
ZXAN(config-if)# port-location format china-telecom vport 1
43-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
43.1.14 show port-location port
Function
This command configures the France Telecom (FT) CID.
Parameters
Parameter
Description
Value
name1
FT CID
164 characters
range1
1128
range2
1128
Mode
gpon onu interface mode, epon onu interface mode
Usage Guidelines
When the port format is ft, this command configures the CID content, which will be inserted
into the uplink packet of the protocol related to port location.
Examples
The following example shows how to configure the FT CID:
ZXAN(config-if)#port-location ft-cid ftftft vport 1
Related Commands
43.1.7 port-location format
43.1.14 show port-location port
no port-location hostname
Function
This command configures the host name for port location.
Parameters
Parameter
Description
Value
name1
150 characters
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
After the no port-location hostname command is used, the hostname value restores the
default.
Examples
The following example shows how to set the hostname for port location to ZTE:
Related Commands
43.1.2 port-location access-node-identifier
43.1.13 show port-location global
Function
This command enables or disables Remote ID for an interface.
43-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines
The port location information includes Circuit ID and Remote ID. The command enables
or disables Remote ID.
l
If Remote ID is enabled, the port location information includes the remote-id value,
which can be configured through the port-location sub-option remote-id name
command.
If Remote ID is disabled, the port location information excludes the remote-id value.
Examples
The following example shows how to enable Remote ID:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
43.1.11 port-location sub-option remote-id name
43.1.14 show port-location port
43-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the Remote ID of an interface.
Parameters
Parameter
Description
Value
name1
164 characters
range1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines
None
Examples
The following example show to configure the Remote ID of the interface gpon-onu_1/3/1:1
to ZTEzte:
ZXAN(config)#interface gpon-onu_1/3/1:1
vport 1
Related Commands
43.1.10 port-location sub-option remote-id
43.1.14 show port-location port
Function
This command displays the configuration of flexible syntax for port location.
Parameters
None
43-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN#show port-location flexible-syntax
ItemIndex
VariableType
Variable Name
Width
String
ZXAN
Delimiter
space
Standard-Var
Slot
Flexible-Syntax Format:
ZXAN Slot
Related Commands
Function
This command displays the global port location configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
43-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display the global port location configuration:
: 0
frameno
: 0
hostname
: ZXAN
Related Commands
43.1.1 port-location
43.1.2 port-location access-node-identifier
43.1.9 port-location hostname
Function
This command displays the interface configuration for port location.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
1128
number2
PVC number
18
number3
1128
Mode
Any mode except user mode
43-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display the interface configuration for port location:
ZXAN(config)#show port-location port gpon-onu_1/3/1:1 vport 1
Onu
Vport Cid-Format
Rid-status Rid-name
gpon-onu_1/3/1:1
disable
china-telecom
Ft-cid
Related Commands
43.1.7 port-location format
43.1.10 port-location sub-option remote-id
43.1.11 port-location sub-option remote-id name
Function
This command enables or disables the global DHCP option82 function.
Parameters
Parameter
Description
Value
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l
When the global DHCP option82 function is enabled, the CPU captures the
DHCP option82 packets.
43-14
SJ-20130118100307-010|2013-02-28 (R1.0)
When the global DHCP option82 function is disabled, the CPU does not capture the
DHCP option82 packets.
Examples
The following example shows how to enable the global DHCP option82 function:
ZXAN(config)# dhcp-option82 enable
Related Commands
43.2.5 show dhcp-option82 global
Function
This command enables or disables the DHCP option82 function for an interface.
Parameters
Parameter
Description
Value
name1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines
1. If the DHCP option82 function is enabled, the DHCP option82 uplink packets are added
with port location information, and the DHCP option82 downlink packets are stripped
with port location information.
2. If the DHCP option82 function is disabled, the port location module does not process
the DHCP option82 packets.
3. If The DHCP option82 function is enabled for both the vport and sport, the sport has a
higher priority for port location.
43-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the DHCP option82 function:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
43.2.6 show dhcp-option82 port
Function
This command configure a DHCP Option 82 trust policy for an interface.
Parameters
Parameter
Description
Value
name1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines
The configuration is applicable to the uplink packets containing port location information.
If no port location information is contained, the information is added to the port location
module.
l
l
If the trust policy is false discard, the port location module discards the packets directly.
If the trust policy is false add, the port location module appends a new option82 to the
original option82.
43-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to the set the DHCP Option 82 trust policy to false add
to the interface gpon-onu_0/3/1:1:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
43.2.6 show dhcp-option82 port
Function
This command configures the DHCP option82 trust rule of the specified interface.
Parameters
Parameter
Description
Value
name1
information
Replace: replaces the port location
information
range1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines
The configuration is valid to the uplink packets carrying port location information. If such
information is not carried, the port location module adds the port location information.
If the trust rule is true keep, the original option82 is kept and the port location module does
not process it.
If the trust rule is true replace, the port location module replaces the original option82 with
the new one.
43-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the DHCP option82 trust rule of the
interface gpon-onu_1/3/1:1 to true keep:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
43.2.6 show dhcp-option82 port
Function
This command displays the global DHCP option82 configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global DHCP option82 configuration:
ZXAN#show dhcp-option82 global
Related Commands
43.2.1 dhcp-option82
43-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the DHCP option82 port configuration.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
1128
number2
PVC number
18
number3
1128
Mode
Any mode except user mode
Usage Guidelines
If the DHCP option82 trust rule is trust true, the policy can only be keep or replace.
If the DHCP option82 trust rule is trust false, the policy can only be discard or add.
Examples
The following example shows how to display the DHCP option82 port configuration:
Vport
Option82 status
Trust
Policy
gpon-onu_1/3/1:1
disable
false
add
Related Commands
dhcp-option82 {enable|disable}
interface mode)
43-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables or disables the global PPPOE+ function.
Parameters
Parameter
Description
Value
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
l
l
When the global PPPoE+ function is enabled, the CPU captures the PPPoE+ packets.
When the global PPPoE+ function is disabled, the CPU does not capture the PPPoE+
packets.
Examples
The following example shows how to enable the global PPPoE+ function:
ZXAN(config)#pppoe-plus enable
The following example shows how to disable the global PPPoE+ function:
ZXAN(config)#pppoe-plus disable
43-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
43.3.5 show pppoe-plus global
Function
This command enables or disables the PPPoE+ function for a specified interface.
Parameters
Parameter
Description
Value
name1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines
1. If the PPPoE+ function is enabled, the port location information is added to the PPPoE+
uplink packets, and the port location information is stripped from the PPPoE+ downlink
packets.
2. If the PPPoE+ function is disabled, the port location module does not process PPPoE+
packets.
3. If the PPPoE+ function is enabled for both the vport and sport, the sport has a higher
priority for port location.
Examples
The following example shows how to enable the PPPoE+ function for the interface
gpon-onu_0/3/1:1:
ZXAN(config)#interface gpon-onu_0/3/1:1
43-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
43.3.6 show pppoe-plus port
Function
This command configure the PPPoE+ trust rule for a port.
Parameters
Parameter
Description
Value
name1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode
Usage Guidelines
The configuration is effective for PPPoE+ uplink packets with port location information. If
the port location information is not contained, the port location module will add new port
location information.
l
l
If the trust rule is set to false discard, packets are discarded directly.
If the trust rule is set to false add, the new port location information is appended.
Examples
The following example shows how to configure the PPPoE+ trust rule for the interface
gpon-onu_1/3/1:1 to false add:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
43.3.6 show pppoe-plus port
43-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configure the PPPoE+ trust policy for a port.
Parameters
Parameter
Description
Value
name1
information
Replace: replaces the original port location
information
range1
1128
range2
1128
Mode
ptp interface mode, gpon onu interface mode, epon onu interface mode, and others
Usage Guidelines
The configuration is effective for PPPoE+ uplink packets with port location information. If
the port location information is not contained, the port location module will add new port
location information.
l
l
If the trust rule is set to true keep, the original port location information is kept.
If the trust rule is set to true replace, the original port location information is replaced
with new one.
Examples
The following example shows how to configure the PPPoE+ trust policy for the interface
gpon-onu_1/3/1:1 to true keep:
ZXAN(config)#interface gpon-onu_1/3/1:1
Related Commands
43.3.6 show pppoe-plus port
43-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the global PPPoE+ configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the global PPPoE+ configuration:
Related Commands
43.3.1 pppoe-plus
Function
This command displays the PPPoE+ port configuration.
43-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name
number1
1128
number2
PVC number
18
number3
1128
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the PPPoE+ port configuration:
Vport
Pppoe-plus status
Trust
Policy
gpon-onu_1/3/1:1
disable
false
add
Related Commands
pppoe-plus {enable | disable} (ptp interface mode, gpon onu interface mode, epon onu
interface mode)
43.3.3 pppoe-plus trust false
43.3.4 pppoe-plus trust true
43-25
SJ-20130118100307-010|2013-02-28 (R1.0)
43-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 44
MAC Management
Commands
Table of Contents
mac add ...................................................................................................................44-1
mac aging-time.........................................................................................................44-2
mac delete ...............................................................................................................44-3
mac delete all ...........................................................................................................44-4
mac delete dynamic .................................................................................................44-5
mac delete permanent..............................................................................................44-6
mac delete vlan ........................................................................................................44-6
mac monitor-period ..................................................................................................44-7
mac usage-threshold................................................................................................44-8
show mac.................................................................................................................44-8
show mac aging-time .............................................................................................44-10
show mac monitor-info ........................................................................................... 44-11
show mac running ..................................................................................................44-12
show mac system...................................................................................................44-13
show mac-real-time ................................................................................................44-13
Function
This command adds an MAC address item.
44-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
permanent
hexadecimal notation
interface1
Range: 168
interface2
number2
Range: 1256
interface3
number3
number4
Range: 14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the VLAN ID parameter is not specified, the PVID of the port is used.
The show running-config or show mac running command displays the permanent MAC
address configured.
Examples
The following example shows how to add the static MAC address (000a.010c.e2c6) for
the Ethernet port gei_1/19/1:
ZXAN(config)#mac add permanent 0009.6b08.bfd6 ethernet gei_1/19/1
Related Commands
44.3 mac delete
44.15 show mac-real-time
Function
This command configures the dynamic MAC address aging time.
Parameters
Parameter
Description
Value
number1
Aging time
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the MAC aging time configured is n (sec), the dynamic MAC address may age within n
to 2n seconds.
Examples
The following example shows how to configure the dynamic MAC address aging time as
180 seconds:
ZXAN(config)#mac aging-time 180
Related Commands
44.11 show mac aging-time
44.13 show mac running
Function
This command deletes an MAC address item.
44-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
hexadecimal1
hexadecimal notation
Ethernet physical port name, in
interface1
Range: 168
interface2
number2
Range: 1256
interface3
number3
number4
Range: 14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the VLAN ID parameter is not specified, all the MAC address items that match the MAC
address parameter are deleted.
Examples
The following example shows how to delete the MAC address for the Ethernet port
gei_1/5/1:
ZXAN(config)#mac delete
ethernet gei_1/5/1
Related Commands
44.1 mac add
44.15 show mac-real-time
Function
This command deletes all the MAC address items.
44-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete all the MAC address items:
ZXAN(config)#mac delete all
Related Commands
44.1 mac add
44.15 show mac-real-time
Function
This command deletes dynamic MAC address items.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
ZXAN(config)#mac delete dynamic
Related Commands
44.1 mac add
44-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command deletes permanent MAC address items.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete the permanent MAC address items:
ZXAN(config)#mac delete permanent
Related Commands
44.1 mac add
44.15 show mac-real-time
Function
This command deletes all the MAC address items within a VLAN.
Parameters
Parameter
Description
Value
number1
Range: 14094
44-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to delete all the MAC address items within VLAN 100:
ZXAN(config)#mac delete vlan 100
Related Commands
44.1 mac add
44.15 show mac-real-time
Function
This command configures a monitoring period for MAC learning.
Parameters
Parameter
Description
Value
number1
Monitoring period
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command is used to configure a sampling period for MAC learning. Detailed
information about the configuration can be displayed by the show mac monitor-info
command.
Examples
The following example shows how to configure the monitoring period for MAC learning as
5 minutes:
ZXAN(config)#mac monitor-period 5
44-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
44.12 show mac monitor-info
Function
This command configures the alarm threshold of MAC usage. An alarm notice is generated
when the MAC item number reaches the threshold.
Parameters
Parameter
Description
Value
number1
Alarm percentage
Range: 1100
Default: 70
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the alarm threshold of MAC usage as 10%:
ZXAN(config)#mac usage-threshold 10
Related Commands
None
44-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays MAC address items that are learned by the switching chip on the
main control and switching card. For GPON/EPON subscriber cards, the switching chip
learns the MAC addresses to the inline port, and the main control and switching card then
queries the real physical port ID of the newly learned MAC item from line cards in the
background task. Only the MAC items whose real physical port ID are queried can be
displayed.
Parameters
Parameter
Description
Value
hexadecimal1
hexadecimal notation
number1
Range: 14094
dynamic
permanent
interface1
Ethernet port ID
number2
Range: 168
interface2
interface3
number3
Range: 1256
interface4
interface5
number4
number5
Range: 14094
number6
Shelf number
Range: 15
number7
Slot number
Range: 122
statistic
Mode
Any mode except user mode
Usage Guidelines
1) The show mac command displays all the MAC address items whose real physical port
can be determined, which form a subset of the MAC addresses learned by the switching
chip on the main control and switching card, including the MAC addresses of all the line
cards and uplink cards.
The show mac dynamic command displays all the MAC addresses learned dynamically.
44-9
SJ-20130118100307-010|2013-02-28 (R1.0)
The show mac permanent command displays all the permanent MAC addresses.
The show mac vlan vlanID command displays all the MAC address items of the designated
vlanID.
The show mac system command displays the MAC addresses of the inband and outband
EMS.
All the commands listed above + statistic display statistical information about the MAC
address items that fulfill the specific conditions.
2) For GPON/EPON subscriber cards, the main control and switching card queries the real
physical port of their MAC items from the background task. Therefore, it will lag for some
time to display the MAC items with the show mac command after a large number of packets
are sent to the equipment. The MAC items of line cards can be queried in real time with
the show mac-real-time command.
3) When a large number of packets are sent to the equipment on the uplink port, the MAC
items can be queried in real time with the show mac command.
Examples
The following example shows how to display all the MAC address items:
ZXAN(config)#show mac
Total mac address : 2
Mac address
Vlan
Type
Port
Vc
---------------------------------------------------------------------------0000.0000.0001
100
Dynamic
gpon-onu_1/3/3:1
vport 1
0000.0000.0002
100
Dynamic
gpon-onu_1/3/3:2
vport 1
Related Commands
44.1 mac add
44.3 mac delete
44.15 show mac-real-time
Function
This command displays the aging time of dynamic MAC addresses.
Parameters
None
44-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the aging time of the dynamic MAC
addresses:
ZXAN#show mac aging-time
Related Commands
44.2 mac aging-time
Function
This command displays monitoring information about MAC address learning in the current
time period.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
This command samples the MAC table size in terms of the monitoring time period, displays
the total number of the MAC table items on the main control card at the current time, and
shows the maximum MAC usage since the device started.
Examples
The following example shows how to display monitoring information about MAC address
learning in the current time period:
ZXAN#show mac monitor-info
44-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the MAC address-related configurations of an NE.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
If there are no MAC address-related configurations available, the default values of all
parameters are displayed.
Examples
The following example shows how to display the MAC address-related configurations:
ZXAN#show mac running
MAC aging-time 300
MAC monitor-period 10
MAC usage-threshold 70
mac add permanent 5467.019d.1257 epon epon-onu_0/3/1:1
vport 1 vlan 1
Related Commands
44.11 show mac aging-time
44-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays the MAC addresses of the inband and outband EMS.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the MAC addresses of the inband and
outband EMS:
ZXAN#show mac system
inband mac: 00d0.d0c8.0020
outband mac: 00d0.d0c8.003f
Related Commands
None
Function
This command displays MAC items. For GPON/EPON subscriber cards, the MAC items
are queried from line cards with an asynchronous message.
44-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
hexadecimal1
hexadecimal notation
number1
Range: 14094
dynamic
permanent
interface1
Ethernet port ID
number2
Range: 168
interface2
interface3
number3
Range: 1256
interface4
interface5
number4
interface6
Inline port ID
number5
Range: 14094
number6
Shelf number
Range: 15
number7
Slot number
Range: 122
statistic
Mode
Any mode except user mode
Usage Guidelines
The show mac-real-time command does not support the query for the MAC items of the
line cards that are offline or always in configing state.
The show mac-real-time command displays all the MAC address items, including that in
the FPGA of all the line cards and that learned by the ports (excluding the inline port) in
the ROS on the main control and switching card.
The show mac-real-time dynamic command displays all the MAC addresses learned
dynamically.
The show mac-real-time permanent command displays all the permanent MAC addresses.
The show mac-real-time vlan vlanID command displays all the MAC address items of the
designated VLAN ID.
44-14
SJ-20130118100307-010|2013-02-28 (R1.0)
The show mac-real-time inner-port command displays the MAC items on an inline port of
the main control and switching card. One inline port corresponds to multiple PON OLT
ports. When you enter an epon-olt or gpon-olt port, all the MAC items of the inline port
corresponding to this PON port are displayed.
Any one of the commands listed above + statistic displays statistical information about the
MAC items that fulfill the specific conditions.
Examples
The following example shows how to display all the MAC items:
ZXAN(config)#show mac
Total mac address : 2
Mac address
Vlan
Type
Port
Vc
---------------------------------------------------------------------------0000.0000.0001
100
Dynamic
gpon-onu_1/3/3:1
vport 1
0000.0000.0002
100
Dynamic
gpon-onu_1/3/3:2
vport 1
Related Commands
44.1 mac add
44.3 mac delete
44.10 show mac
44-15
SJ-20130118100307-010|2013-02-28 (R1.0)
44-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 45
MAC Anti-Spoofing
Commands
Table of Contents
clear security mac-spoofing-list ................................................................................45-1
clear security mac-spoofing-log ................................................................................45-2
security mac-anti-spoofing........................................................................................45-3
security mac-anti-spoofing uplink-protect..................................................................45-4
security mac-spoofing-trap .......................................................................................45-5
show security configuration ......................................................................................45-6
show security mac-spoofing-list ................................................................................45-6
show security mac-spoofing-log ...............................................................................45-7
Function
This command clears the static MAC items that are configured after successful spoofing.
Parameters
Parameter
Description
Value
hexadecimal1
hexadecimal notation.
Information is cleared based on
the MAC address.
all
All information.
Mode
Privileged mode: ZXAN#
45-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
For the main control and switching card that supports only the software anti-spoofing
function, static MAC items that are configured due to spoofing may likely be generated.
Examples
The following example shows how to clear the static MAC items that are configured after
successful spoofing:
ZXAN#clear security mac-spoofing-list all
Related Commands
45.7 show security mac-spoofing-list
Function
This command clears information about spoofing records.
Parameters
Parameter
Description
Value
all
records
Mode
Privileged mode: ZXAN#
Usage Guidelines
None
Examples
The following example shows how to clear information about all spoofing records:
ZXAN#clear security mac-spoofing-log all
Related Commands
45.8 show security mac-spoofing-log
45-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables or disables the MAC address anti-spoofing function.
Parameters
Parameter
name1
Description
Value
enable/disable
anti-spoofing.
Default: disable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the MAC address anti-spoofing function is disabled.
When the MAC address anti-spoofing function is disabled, the MAC+VLAN is allowed to
spoof between ports.
When the MAC address anti-spoofing function is enabled, and the uplink port protection
is enabled, the MAC address is allowed to spoof from a user port to an uplink port, or
between uplink ports, but is not allowed to spoof between user ports.
When the MAC address anti-spoofing function is enabled, and the uplink port protection is
disabled, the MAC address is not allowed to spoof.
Examples
The following example shows how to disable the MAC address anti-spoofing function:
ZXAN(config)#security mac-anti-spoofing disable
Related Commands
45.6 show security configuration
45.4 security mac-anti-spoofing uplink-protect
45-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables or disables the anti-spoofing uplink port protection for MAC
addresses.
Parameters
Parameter
Description
Value
name1
enable/disable
Default: enable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The uplink port protection is not effective until the anti-spoofing is enabled.
When the MAC address anti-spoofing function is disabled, the MAC+VLAN is allowed to
spoof between ports.
When the MAC address anti-spoofing function is enabled, and the uplink port protection
is enabled, the MAC address is allowed to spoof from a user port to an uplink port, or
between uplink ports, but is not allowed to spoof between user ports.
When the MAC address anti-spoofing function is enabled, and the uplink port protection is
disabled, the MAC address is not allowed to spoof.
Examples
The following example shows how to enable the anti-spoofing uplink port protection for
MAC addresses:
ZXAN(config)#security mac-anti-spoofing uplink-protect enable
Related Commands
45.6 show security configuration
45.3 security mac-anti-spoofing
45-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables or disables MAC address anti-spoofing notification.
Parameters
Parameter
name1
Description
Value
enable/disable
notification.
Default: disable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
1) Anti-spoofing notification is associated to loopback detection. Make sure to enable
spoofing notification and disable anti-spoofing before enabling loopback detection.
2) The same spoofing event will be reported within five seconds if it is detected for the first
time. If it occurs again, it will be reported within 30 seconds.
3) The system saves the detected spoofing events as spoofing records, and up to 100
spoofing records are supported by the system. A spoofing notice may not be reported to
the EMS until a spoofing event becomes a spoofing record. If the number of the records
exceeds 100, an old record will be overwritten by a new one.
4) When the anti-spoofing is enabled, the disabled spoofing event does not report a
spoofing notice to the EMS.
Examples
The following example shows how to enable MAC address anti-spoofing notification:
ZXAN(config)#security mac-spoofing-trap enable
Related Commands
45.6 show security configuration
pon-loopback-detection
45.8 show security mac-spoofing-log
45-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays anti-spoofing configurations of the system, such as MAC address
anti-spoofing configuration, configuration of protected network-side MAC addresses, and
spoofing notification configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the current anti-spoofing configurations of
the system:
ZXAN(config)#show security configuration
mac-spoofing-trap :disable
mac-anti-spoofing :enable
uplink-protect
:enable
Related Commands
45.3 security mac-anti-spoofing
45.5 security mac-spoofing-trap
45.4 security mac-anti-spoofing uplink-protect
45-6
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays information about the static MAC items that are configured after
successful spoofing.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
Only the records that have reported spoofing events and were configured as static MAC
addresses can be saved and displayed. After a static MAC item is configured, only the
corresponding port can forward the traffic flow of this MAC+VLAN.
Examples
ZXAN#show security mac-spoofing-list
the total mac-spoofing num:0
Related Commands
45.1 clear security mac-spoofing-list
Function
This command displays record information about MAC address spoofing and internal
processing when the spoofing occurs.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
This command is used to diagnose some engineering faults, such as user loopback, and
network loopback. The location and traffic flow where spoofing occurs can be determined
45-7
SJ-20130118100307-010|2013-02-28 (R1.0)
with such information as spoofing MAC and VLAN, spoofing source port, and spoofing
destination port saved in the spoofing record.
Examples
ZXAN(config)#show security mac-spoofing-log
the total mac-spoofing-log num:2
------------------------------------------------------------------------mac-address
svlan
drift-port
last-drift-time
driftCount
add-Hard(H)
trapFlag
cvlan
origin-port
last-trap-time
trapCount
add-Soft(S)
------------------------------------------------------------------------0010.9400.0002 10
SENDED
gei_1/19/1
2001-1-4 0:38:29
H-NONE
inner-port_1/6/1
2001-1-4 0:38:53
S-NONE
------------------------------------------------------------------------0010.9400.0002 10
FORBIDDEN
inner-port_1/6/1
2001-1-4 0:38:37
2165
H-NONE
gei_1/19/1
unavailable
S-NONE
-------------------------------------------------------------------------
Related Commands
45.2 clear security mac-spoofing-log
45-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Chapter 46
Multicast Commands
Table of Contents
Global IGMP Configuration Commands....................................................................46-1
IGMP MVLAN Configuration Commands ................................................................46-13
IGMP Show Commands .........................................................................................46-22
Global MLD Configuration Commands ...................................................................46-34
MLD MVLAN Configuration Commands .................................................................46-44
MLD Show Commands...........................................................................................46-53
IPTV Configuration Commands ..............................................................................46-65
IPTV Show Commands ..........................................................................................46-82
Function
This command enables or disables multicast group bandwidth control.
Parameters
Parameter
Description
Value
name1
control function.
enable: Enables the bandwidth
control function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
46-1
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable the multicast group bandwidth control
function:
ZXAN(config)#igmp bandwidth-control enable
Related Commands
None
Function
This command disables the global IGMP configuration.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When this command is used, the multicast data are transmitted transparently.
Examples
The following example shows how to disable the global IGMP configuration:
ZXAN(config)#igmp disable
Related Commands
None
Function
This command enables the global IGMP configuration.
46-2
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the global IGMP configuration:
ZXAN(config)#igmp enable
Related Commands
None
Function
This command enables or disables IGMP host tracking.
Parameters
Parameter
Description
Value
name1
tracking.
disable: Disables IGMP host
tracking.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable IGMP host tracking:
46-3
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the global IGMP query count of the last member.
Parameters
Parameter
Description
Value
number1
Range: 25
Default: 2
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global query count of the last member is 2.
Examples
The following example shows how to configure the global IGMP query count of the last
member as 3:
ZXAN(config)#igmp last-query-count 3
Related Commands
46.3.1 show igmp
Function
This command configures the global IGMP query interval of the last member.
46-4
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
member
Default: 10
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global query interval of the last member is 1 second.
Examples
The following example shows how to configure the global IGMP query interval of the last
member as 2 seconds:
ZXAN(config)#igmp last-query-interval 20
Related Commands
46.3.1 show igmp
Function
This command enables or disables IGMP logging.
Parameters
Parameter
Description
Value
name1
Default: disable
function.
enable: Enables the logging
function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the logging function is disabled.
46-5
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to enable IGMP logging:
ZXAN(config)#igmp log enable
Related Commands
46.3.4 show igmp log
Function
This command configures the global IGMP pre-join interval.
Parameters
Parameter
Description
Value
number1
Pre-join interval
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global IGMP pre-join interval is 125 seconds.
Examples
The following example shows how to configure the global IGMP pre-join interval as 60
seconds:
ZXAN(config)#igmp prejoin-interval 60
Related Commands
None
Function
This command configures the common query interval of global IGMP.
Parameters
Parameter
Description
Value
number1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the common query interval is 125 seconds.
Examples
The following example shows how to configure the common query interval of global IGMP
as 60 seconds:
ZXAN(config)#igmp query-interval 60
Related Commands
46.3.1 show igmp
Function
This command configures the maximum response time of global IGMP for common
queries.
Parameters
Parameter
Description
Value
number1
common queries
Default: 100
Mode
Configuration mode: ZXAN (config)#
46-7
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, the maximum response time for common queries is 10 seconds.
Examples
The following example shows how to configure the maximum response time of global IGMP
for common queries as 5 seconds:
ZXAN(config)#igmp query-max-resp 50
Related Commands
46.3.1 show igmp
Function
This command configures the global generic query process mode.
Parameters
Parameter
Description
Value
name1
Default: unicast
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global query process mode is unicast.
Examples
The following example shows how to configure the global generic query process mode as
unicast:
ZXAN(config)#igmp querygemport-mode unicast
Related Commands
None
46-8
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the global IGMP robustness.
Parameters
Parameter
Description
Value
number1
Robustness
Range: 25
Default: 2
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the global robustness is configured, the parameters related to all the interfaces will be
changed. By default, the global robustness is 2.
Examples
The following example shows how to configure the global IGMP robustness as 3:
ZXAN(config)#igmp robustness 3
Related Commands
46.3.1 show igmp
Function
This command configures the aging time of IGMP group members.
Parameters
Parameter
Description
Value
number1
members
Default: 300
46-9
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the aging time range of group members in snooping mode. By
default, the aging time range is 300 seconds.
Examples
The following example shows how to configure the aging time of IGMP group members as
500 seconds:
ZXAN(config)#igmp snooping-aging-time 500
Related Commands
None
Function
This command enables or disables IGMP registration across the VLAN.
Parameters
Parameter
Description
Value
name1
Default: enable
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When IGMP registration across the VLAN is disabled, a user can join the multicast group
only when the user VLAN is the same as the multicast VLAN.
Examples
The following example shows how to enable IGMP registration across the VLAN:
46-10
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command clears the current IGMP message statistics.
Parameters
Parameter
Description
Value
name1
number1
Multicast VLAN ID
Range: 14094
interface1
Interface type
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When this command is used with parameters, the message statistics of the specified
MVLAN and interface are cleared separately.
Examples
The following example shows how to clear the current IGMP message statistics:
ZXAN(config)#igmp statistics clear current
Related Commands
None
46-11
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the interval for unsolicited IGMP reporting.
Parameters
Parameter
Description
Value
number1
Interval
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the interval is 10 seconds.
Examples
The following example shows how to configure the interval for unsolicited IGMP reporting
as 15 seconds:
ZXAN(config)#igmp unsolicited-report-interval 15
Related Commands
46.3.1 show igmp
Function
This command configures the highest IGMP version supported by an interface.
46-12
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
accept: Accepts.
drop: Discards.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the highest IGMP version supported by an
interface as v3:
ZXAN(config)#igmp version-mode v3 accept
Related Commands
None
Function
This command creates an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
46-13
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an MVLAN, use the no form of this command.
Examples
The following example shows how to create MVLAN 100:
ZXAN(config)#igmp mvlan 100
Related Commands
None
Function
This command configures the user CVLAN for an IGMP multicast VLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
number2
CVLAN ID
Range: 04094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the user CVLAN for an IGMP multicast
VLAN as 1:
XAN(config)# igmp mvlan 1 cvlan 1
Related Commands
None
46-14
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command disables the IGMP of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to disable the IGMP of MVLAN 100:
ZXAN(config)#igmp mvlan 100 drop
Related Commands
None
Function
This command enables the IGMP of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
Mode
Configuration mode: ZXAN (config)#
46-15
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to enable the IGMP of MVLAN 100:
ZXAN(config)#igmp mvlan 100 enable
Related Commands
None
Function
This command enables the management group of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
name1
Default: enable
management group.
disable: Disables the
management group.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the management group is enabled. If a management group is disabled, and a
user does not multicast across the VLAN, it is unnecessary to configure multicast group
join-in.
Examples
The following example shows how to enable the management group of MVLAN 100:
ZXAN(config)#igmp mvlan 100 group-filter enable
46-16
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the proxy host IP address of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
ip_addr1
Host IP address
Default: 192.168.2.14
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The host IP is the source IP address of the report/leave message send by the system in
proxy mode.
Examples
The following example shows how to configure the proxy host IP address of MVLAN 100
as 10.1.1.1:
ZXAN(config)#igmp mvlan 100 host-ip 10.1.1.1
Related Commands
None
Function
This command configures the proxy host version of an MVLAN.
46-17
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the proxy host version of MVLAN 100 as
v2:
ZXAN(config)#igmp mvlan 100 host-version v2
Related Commands
None
Function
This command configures the maximum group number of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
number2
Range: 032768
Mode
Configuration mode: ZXAN (config)#
46-18
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, the multicast mode of the system is normal, and the maximum MVLAN group
number is 4096. If the maximum MVLAN group number is greater than 4096, the multicast
mode should be set as extreme.
Examples
The following example shows how to configure the maximum group number of MVLAN 100
as 1024:
ZXAN(config)#igmp mvlan 100 max-group 1024
Related Commands
None
Function
This command configures the priority of protocol packets in proxy or router mode.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
number2
Range: 07
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the priority of protocol packets as 7 in proxy
or router mode:
XAN(config)#igmp mvlan 100 priority 7
Related Commands
None
46-19
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command adds an MVLAN receiving port.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
interface1
Interface name
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an MVLAN receiving port, use the no form of this command.
Examples
The following example shows how to add an MVLAN receiving port:
ZXAN(config)#igmp mvlan 3 receive-port epon-onu_1/3/1:1 vport 1
Related Commands
None
Function
This command adds an MVLAN source port.
46-20
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
interface1
Interface name
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an MVLAN source port, use the no form of this command.
Examples
The following example shows how to add an MVLAN source port:
ZXAN(config)#igmp mvlan 100 source-port gei_1/19/1
Related Commands
None
Function
This command configures the working mode of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
Default: proxy
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the working mode of an MVLAN is proxy.
46-21
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the working mode of MVLAN 100 as
snooping:
ZXAN(config)#igmp mvlan 100 work-mode snooping
Related Commands
None
Function
This command displays information about the global IGMP configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about the global IGMP
configuration:
ZXAN#show igmp
IGMP global parameters:
---------------------------------------------------IGMP is globally enable.
IGMP log is disable.
Snooping aging time is 300 seconds.
Span vlan is enable.
Bandwidth control is disable.
Host tracking is disable.
Robustness variable is 2.
46-22
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays information about dynamic group members.
Parameters
Parameter
Description
Value
number1
Shelf number
Range: 13
number2
Slot number
Range: 222
number3
Multicast VLAN ID
Range: 14094
ip_addr1
Mode
Any mode except user mode
Usage Guidelines
If this command is used with no parameters, information about all the dynamic group
members is displayed.
If this command is used with parameters, information about the dynamic group members
of a specified MVLAN or multicast group is displayed.
46-23
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display information about all the dynamic group
members:
ZXAN#show igmp dynamic-member
Mvlan 100 Group 224.1.1.1
---------------------------epon-onu_1/3/1:1:1
Mvlan 200 Group 224.1.2.1
---------------------------epon-onu_1/3/1:2:1
Related Commands
None
Function
This command displays configuration information about an IGMP interface.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Virtual port ID
Range: 1255
number2
PVC ID
Range: 18
dynamic-group-list
static-group-list
Mode
Any mode except user mode
Usage Guidelines
None
46-24
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display configuration information about an IGMP
interface:
ZXAN(config)#show igmp interface epon-onu_1/3/1:1 vport 1
IGMP interface epon-onu_1/3/1:1 vport 1 parameters:
---------------------------------------------------IGMP status is enable.
IGMP version is v3.
Fast leave is disable.
Max concurrent group num is 512.
Proxy ip is 192.168.2.14.
Robustness variable is 2.
Query max response time is 100(0.1second).
Last membership query interval is 10(0.1second).
Last membership query count is 2.
Related Commands
None
Function
This command displays IGMP log information.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Virtual port ID
Range: 1255
number2
PVC ID
Range: 18
ip_addr1
time1
Start time
name1
Start month
number3
Start date
Range: 131
number4
Start year
Range: 20012098
time2
End time
46-25
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name2
End month
number5
End date
Range: 131
number6
End year
Range: 20012098
Mode
Any mode except user mode
Usage Guidelines
If this command is used with no parameters, information about all the IGMP logs is
displayed.
If this command is used with parameters, information about the IGMP log statistics for a
specific interface, multicast group, and time period is displayed separately.
Examples
The following example shows how to display IGMP log information about multicast group
224.1.1.1:
ZXAN#show igmp log group 224.1.1.1
-------------------------------------------------------------------Interface
Group Ip
Join_Time
Leave_Time
-------------------------------------------------------------------epon-onu_1/3/1:1
224.1.1.1
Related Commands
None
Function
This command displays information about dynamic group members of the current main
control card.
Parameters
Parameter
Description
Value
number1
Multicast VLAN
Range: 14094
ip_addr1
46-26
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about all the dynamic group
members:
ZXAN#show igmp mp-snooping
Related Commands
None
Function
This command displays the number of layer-2 multicast packets received and transmitted
by the main control card.
Parameters
Parameter
Description
Value
number1
Multicast VLAN ID
Range: 14094
Mode
Any mode except user mode
Usage Guidelines
If this command is used with parameters, the packet statistics for a specified MVLAN are
displayed.
Examples
The following example shows how to display the number of layer-2 multicast packets
received and transmitted by the main control card:
ZXAN#show igmp mp-statistics mvlan 1
Total Statictics:
46-27
SJ-20130118100307-010|2013-02-28 (R1.0)
: 0
TxTotal
: 0
Rx Statistics:
-----------------------------------------RxCommQuery
: 0
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 0
RxV3Report
: 0
RxLeave
: 0
RxError
: 0
RxUnknown
: 0
Tx Statistics:
-----------------------------------------TxCommQuery
: 0
TxSpecialQuery
: 0
TxV1Report
: 0
TxV2Report
: 0
TxV3Report
: 0
TxLeave
: 0
Drop Statistics:
-----------------------------------------DropRxCommQuery
: 0
DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands
46.3.11 show igmp statistics
46-28
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays information about group members of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
ip_addr1
Multicast IP address
Mode
Any mode except user mode
Usage Guidelines
If this command is used with no parameters, address information about all the groups in
an MVLAN is displayed.
If this command is used with parameters, information about the static and dynamic
members of a specified group is displayed.
Examples
The following example shows how to display information about group members of MVLAN
222:
ZXAN(config)#show igmp mvlan 222 group
Total Num is 6.
Mvlan
Group-IP
BW(kbps)
Prejoin
ActPorts/Hosts
------------------------------------------------------------222
224.1.1.1
10000
enable
222
224.1.1.2
10000
enable
222
224.1.1.3
10000
enable
222
224.1.1.4
10000
enable
222
224.1.1.5
10000
enable
222
224.1.1.6
10000
enable
Related Commands
None
Function
This command displays the number of packets received and transmitted by line cards.
Parameters
Parameter
Description
Value
name1
number1
Multicast VLAN ID
Range: 14094
interface1
Interface name
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of current packets currently
received and transmitted by line cards:
ZXAN#show igmp np-statistics current
Total Statictics:
-----------------------------------------RxTotal
: 196
TxTotal
: 337
Rx Statistics:
-----------------------------------------RxCommQuery
: 6
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 120
RxV3Report
: 0
RxLeave
: 70
RxError
: 0
RxUnknown
: 0
Tx Statistics:
-----------------------------------------TxCommQuery
: 7
TxSpecialQuery
: 140
46-30
SJ-20130118100307-010|2013-02-28 (R1.0)
: 0
TxV2Report
: 120
TxV3Report
: 0
TxLeave
: 70
Drop Statistics:
-----------------------------------------DropRxCommQuery
: 0
DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands
46.3.11 show igmp statistics
Function
This command displays the number of dynamic groups and users on a PON port.
Parameters
Parameter
Description
Value
interface1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of dynamic groups and users on
the PON port epon-olt_1/13/1:
ZXAN(config)#show igmp pon-statistics interface epon-olt_1/13/1
Active Group Num : 0
46-31
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays information about static group members.
Parameters
Parameter
Description
Value
number1
Multicast VLAN ID
Range: 14094
ip_addr1
Multicast IP address
Mode
Any mode except user mode
Usage Guidelines
If this command is used with no parameters, information about all the static group members
is displayed.
If this command is used with parameters, information about the static group members of
a specified MVLAN or multicast group is displayed.
Examples
The following example shows how to display information about all the static group
members:
ZXAN#show igmp static-member
Mvlan 100 Group 224.1.1.1
---------------------------epon-onu_1/3/1:1:1
Mvlan 200 Group 224.1.2.1
---------------------------epon-onu_1/3/1:2:1
Related Commands
None
46-32
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays statistical information about IGMP packets.
Parameters
Parameter
Description
Value
number1
Multicast VLAN ID
Range: 14094
interface1
Interface name
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Any mode except user mode
Usage Guidelines
If this command is used with parameters, the packet statistics for a specified MVLAN and
interface are displayed separately.
Examples
The following example shows how to display statistical information about IGMP packets:
ZXAN#show igmp statistics mvlan 1
Igmp Statistics of Mvlan : 1
-------------------------------------------------joins sent to net
: 0
: 0
: 0
: 0
leave
to network
: 0
leave
from users
general-query
to users
: 0
: 0
: 0
special-query
to users
: 0
special-query
from net
: 0
---------------------------------------------------ZXAN#
46-33
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command enables or disables multicast group bandwidth control.
Parameters
Parameter
Description
Value
name1
control function.
enable: Enables the bandwidth
control function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the multicast group bandwidth control
function:
ZXAN(config)#mld bandwidth-control enable
Related Commands
None
Function
This command disables the global MLD configuration.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When this command is used, the multicast data are transmitted transparently.
Examples
The following example shows how to disable the global MLD configuration:
ZXAN(config)#mld disable
Related Commands
None
Function
This command enables the global MLD configuration.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the global MLD configuration:
ZXAN(config)#mld enable
46-35
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command enables or disables MLD host tracking.
Parameters
Parameter
Description
Value
name1
tracking.
disable: Disables MLD host
tracking.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable MLD host tracking:
ZXAN(config)#mld host-tracking enable
Related Commands
None
Function
This command configures the global MLD query count of the last member.
46-36
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Range: 25
Default: 2
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global query count of the last member is 2.
Examples
The following example shows how to configure the global MLD query count of the last
member as 3:
ZXAN(config)#mld last-query-count 3
Related Commands
46.6.1 show mld
Function
This command configures the global MLD query interval of the last member.
Parameters
Parameter
Description
Value
number1
member
Default: 10
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global query interval of the last member is 1 second.
46-37
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the global MLD query interval of the last
member as 2 seconds:
ZXAN(config)#mld last-query-interval 20
Related Commands
46.6.1 show mld
Function
This command enables or disables MLD logging.
Parameters
Parameter
Description
Value
name1
function.
enable: Enables the logging
function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable MLD logging:
ZXAN(config)#mld log enable
Related Commands
46.6.4 show mld log
46-38
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the global MLD pre-join interval.
Parameters
Parameter
Description
Value
number1
Pre-join interval
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the global MLD pre-join interval is 125 seconds.
Examples
The following example shows how to configure the global MLD pre-join interval as 60
seconds:
ZXAN(config)#mld prejoin-interval 60
Related Commands
None
Function
This command configures the common query interval of global MLD.
Parameters
Parameter
Description
Value
number1
46-39
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the common query interval is 125 seconds.
Examples
The following example shows how to configure the common query interval of global MLD
as 60 seconds:
ZXAN(config)#mld query-interval 60
Related Commands
46.6.1 show mld
Function
This command configures the maximum response time of global MLD for common queries.
Parameters
Parameter
Description
Value
number1
common queries
Default: 100
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the maximum response time for common queries is 10 seconds.
Examples
The following example shows how to configure the maximum response time of global MLD
for common queries as 5 seconds:
ZXAN(config)#mld query-max-resp 50
46-40
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
46.6.1 show mld
Function
This command configures the global MLD robustness.
Parameters
Parameter
Description
Value
number1
Robustness
Range: 25
Default: 2
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
If the global robustness is configured, the parameters related to all the interfaces will be
changed. By default, the global robustness is 2.
Examples
The following example shows how to configure the global MLD robustness as 3:
ZXAN(config)#mld robustness 3
Related Commands
46.6.1 show mld
Function
This command configures the aging time of MLD group members.
46-41
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
members
Default: 300
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
This command configures the aging time range of group members in snooping mode. By
default, the aging time range is 300 seconds.
Examples
The following example shows how to configure the aging time of MLD group members as
500 seconds:
ZXAN(config)#mld snooping-aging-time 500
Related Commands
None
Function
This command enables or disables MLD registration across the VLAN.
Parameters
Parameter
Description
Value
name1
Default: enable
Mode
Configuration mode: ZXAN (config)#
46-42
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
When MLD registration across the VLAN is disabled, a user can join the multicast group
only when the user VLAN is the same as the multicast VLAN.
Examples
The following example shows how to enable MLD registration across the VLAN:
ZXAN(config)#mld span-vlan enable
Related Commands
None
Function
This command clears the current MLD message statistics.
Parameters
Parameter
Description
Value
name1
number1
Multicast VLAN ID
Range: 14094
interface1
Interface type
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
When this command is used with parameters, the message statistics of the specified
MVLAN and interface are cleared separately.
Examples
The following example shows how to clear the current MLD message statistics:
ZXAN(config)#mld statistics clear current
46-43
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command configures the interval for unsolicited MLD reporting.
Parameters
Parameter
Description
Value
number1
Interval
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the interval is 10 seconds.
Examples
The following example shows how to configure the interval for unsolicited MLD reporting
as 15 seconds:
ZXAN(config)#mld unsolicited-report-interval 15
Related Commands
46.6.1 show mld
Function
This command creates an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an MVLAN, use the no form of this command.
Examples
The following example shows how to create MVLAN 100:
ZXAN(config)#mld mvlan 100
Related Commands
None
Function
This command configures the user CVLAN for an MLD MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID range
Range: 14094
number2
CVLAN range
Range: 04094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
46-45
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the user CVLAN as 1 for an MLD MVLAN:
XAN(config)# mld mvlan 1 cvlan 1
Related Commands
None
Function
This command disables the MLD of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to disable the MLD of MVLAN 100:
ZXAN(config)#mld mvlan 100 drop
Related Commands
None
46-46
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables the MLD of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the MLD of MVLAN 100:
ZXAN(config)#mld mvlan 100 enable
Related Commands
None
Function
This command enables the management group of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
name1
Default: enable
management group.
disable: Disables the
management group.
Mode
Configuration mode: ZXAN (config)#
46-47
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
By default, the management group is enabled. If a management group is disabled, and
does not multicast across the VLAN, it is unnecessary to configure multicast group join-in.
Examples
The following example shows how to enable the management group of MVLAN 100:
ZXAN(config)#mld mvlan 100 group-filter enable
Related Commands
None
Function
This command configures the proxy host IP address of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
ipv6_addr1
Host IP address
Default: 0.0.0.0
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
The host IP is the source IP address of the report/leave message send by the system in
proxy mode.
Examples
The following example shows how to configure the proxy host IP address of MVLAN 100
as ff8e::1:
ZXAN(config)#mld mvlan 100 host-ip ff8e::1
Related Commands
None
46-48
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command configures the proxy host version of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
name1
automatically.
v1: Selects version v1.
v2: Selects version v2.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the proxy host version of MVLAN 100 as
v2:
ZXAN(config)#mld mvlan 100 host-version v2
Related Commands
None
Function
This command configures the maximum group number of an MVLAN.
46-49
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
number2
Range: 032768
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the multicast mode of the system is normal, and the maximum MVLAN group
number is 4096. If the maximum MVLAN group number is greater than 4096, the multicast
mode should be set as extreme.
Examples
The following example shows how to configure the maximum group number of MVLAN 100
as 1024:
ZXAN(config)#mld mvlan 100 max-group 1024
Related Commands
None
Function
This command configures the priority of protocol packets in proxy or router mode.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
number2
Range: 07
Mode
Configuration mode: ZXAN (config)#
46-50
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to configure the priority of protocol packets as 7 in proxy
or router mode:
XAN(config)#mld mvlan 100 priority 7
Related Commands
None
Function
This command adds an MVLAN receiving port.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
interface1
Interface name
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an MVLAN receiving port, use the no form of this command.
Examples
The following example shows how to add an MVLAN receiving port:
ZXAN(config)#mld mvlan 3 receive-port epon-onu_1/3/1:1 vport 1
46-51
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command adds an MVLAN source port.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
interface1
Interface name
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete an MVLAN source port, use the no form of this command.
Examples
The following example shows how to add an MVLAN source port:
ZXAN(config)#mld mvlan 100 source-port gei_1/19/1
Related Commands
None
Function
This command configures the working mode of an MVLAN.
46-52
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
Default: proxy
name1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
By default, the working mode of an MVLAN is proxy.
Examples
The following example shows how to configure the working mode of MVLAN 100 as
snooping:
ZXAN(config)#mld mvlan 100 work-mode snooping
Related Commands
None
Function
This command displays information about the global MLD configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
46-53
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to display information about the global MLD
configuration:
ZXAN(config)#show mld
MLD global parameters:
---------------------------------------------------Mld is globally disable.
Mld log is disable.
Snooping aging time is 300 seconds.
Span vlan is enable.
Bandwidth control is disable.
Host tracking is disable.
Robustness variable is 2.
General query interval is 125(second).
Query max response time is 100(0.1second).
Last member query interval is 10(0.1second).
Last member query count is 2.
Unsolicited report interval is 10 seconds.
Non match group is forward.
Intermode status is disable.
Prejoin interval is 120(second).
Related Commands
None
Function
This command displays information about dynamic group members.
Parameters
Parameter
Description
Value
number1
Shelf number
Range: 13
number2
Slot number
Range: 222
number3
Multicast VLAN ID
Range: 14094
ipv6_addr1
46-54
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Any mode except user mode
Usage Guidelines
If this command is used with no parameters, information about all the dynamic group
members is displayed.
If this command is used with parameters, information about the dynamic group members
of a specified MVLAN or multicast group is displayed.
Examples
The following example shows how to display information about the MLD dynamic
members:
ZXAN#show mld dynamic-member
Related Commands
None
Function
This command displays configuration information about an MLD interface.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Virtual port ID
Range: 1255
number2
PVC ID
Range: 18
dynamic-group-list
static-group-list
Mode
Any mode except user mode
46-55
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to display configuration information about an MLD
interface:
ZXAN(config)#show mld interface epon-onu_1/3/1:1 vport 1
Related Commands
None
Function
This command displays MLD log information.
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Virtual port ID
Range: 1255
number2
PVC ID
Range: 18
ipv6_addr1
time1
Start time
name1
Start month
number3
Start date
Range: 131
number4
Start year
Range: 20012098
time2
End time
name2
End month
number5
End date
Range: 131
number6
End year
Range: 20012098
Mode
Any mode except user mode
46-56
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If this command is used with no parameters, information about all the MLD logs is
displayed.
If this command is used with parameters, information about the MLD log statistics for a
specified interface, multicast group, and time period is displayed separately.
Examples
The following example shows how to display log information about a multicast group:
ZXAN(config)#show mld log
------------------------------------------------------------------------------Interface
Group Ip
Join_Time
Leave_Time
-------------------------------------------------------------------------------
Related Commands
None
Function
This command displays information about dynamic group members of the current main
control card.
Parameters
Parameter
Description
Value
number1
Multicast VLAN
Range: 14094
ipv6_addr1
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about all the dynamic group
members:
46-57
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays the number of layer-2 multicast packets received and transmitted
by the main control card.
Parameters
Parameter
Description
Value
number1
Multicast VLAN ID
Range: 14094
Mode
Any mode except user mode
Usage Guidelines
If this command is used with parameters, the packet statistics for a specified MVLAN are
displayed.
Examples
The following example shows how to display the number of layer-2 multicast packets
received and transmitted by the main control card:
ZXAN(config)#show mld mp-statistics mvlan 1
Total Statictics:
-----------------------------------------RxTotal
: 0
TxTotal
: 0
Rx Statistics:
-----------------------------------------RxCommQuery
: 0
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 0
RxV3Report
: 0
46-58
SJ-20130118100307-010|2013-02-28 (R1.0)
: 0
RxError
: 0
RxUnknown
: 0
Tx Statistics:
-----------------------------------------TxCommQuery
: 0
TxSpecialQuery
: 0
TxV1Report
: 0
TxV2Report
: 0
TxV3Report
: 0
TxLeave
: 0
Drop Statistics:
-----------------------------------------DropRxCommQuery
: 0
DropRxSpecialQuery
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands
46.6.11 show mld statistics
Function
This command displays information about group members of an MVLAN.
Parameters
Parameter
Description
Value
number1
MVLAN ID
Range: 14094
ipv6_addr1
Multicast IP address
Mode
Any mode except user mode
46-59
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
If this command is used with no parameters, address information about all the groups in
an MVLAN is displayed.
If this command is used with parameters, information about the static and dynamic
members of a specified group is displayed.
Examples
The following example shows how to display information about group members of MVLAN
100:
ZXAN(config)#show mld mvlan 100
Protocol packet's priority is 0 (in proxy/router mode)
Act Port is 0
Cvlan is 0
Source Port
----------------------------
Receive Port
----------------------------
Group
----------------------------
Related Commands
None
Function
This command displays the number of packets received and transmitted by line cards.
Parameters
Parameter
Description
Value
name1
number1
Multicast VLAN ID
Range: 14094
interface1
Interface name
46-60
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of packets currently received and
transmitted by line cards:
ZXAN(config)#show mld np-statistics current
Total Statictics:
-----------------------------------------RxTotal
: 0
TxTotal
: 0
Rx Statistics:
-----------------------------------------RxCommQuery
: 0
RxSpecialQuery
: 0
RxV1Report
: 0
RxV2Report
: 0
RxV3Report
: 0
RxLeave
: 0
RxError
: 0
RxUnknown
: 0
Tx Statistics:
-----------------------------------------TxCommQuery
: 0
TxSpecialQuery
: 0
TxV1Report
: 0
TxV2Report
: 0
TxV3Report
: 0
TxLeave
: 0
Drop Statistics:
-----------------------------------------DropRxCommQuery
: 0
46-61
SJ-20130118100307-010|2013-02-28 (R1.0)
: 0
DropRxV1Report
: 0
DropRxV2Report
: 0
DropRxV3Report
: 0
DropRxLeave
: 0
DropRxUnknown
: 0
Related Commands
46.6.11 show mld statistics
Function
This command displays the number of dynamic groups and users on a PON port.
Parameters
Parameter
Description
Value
interface1
Interface name
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display the number of dynamic groups and users on
the PON port epon-olt_1/13/1:
ZXAN(config)#show mld pon-statistics interface epon-olt_1/13/1
Active Group Num
: 0
: 0
Related Commands
None
46-62
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays information about static group members.
Parameters
Parameter
Description
Value
number1
Multicast VLAN ID
Range: 14094
ipv6_addr1
Multicast IP address
Mode
Any mode except user mode
Usage Guidelines
If this command is used with no parameters, information about all the static group members
is displayed.
If this command is used with parameters, information about the static group members of
a specified MVLAN or multicast group is displayed.
Examples
The following example shows how to display information about all the static group
members:
ZXAN#show mld static-member
Related Commands
None
Function
This command displays statistical information about MLD packets.
46-63
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
number1
Multicast VLAN ID
Range: 14094
interface1
Interface name
number2
Virtual port ID
Range: 1255
number3
PVC ID
Range: 18
Mode
Any mode except user mode
Usage Guidelines
If this command is used with parameters, the packet statistics for a specified MVLAN and
interface are displayed separately.
Examples
The following example shows how to display statistical information about MLD packets:
ZXAN(config)#show mld statistics mvlan 100
Mld Statistics of Mvlan : 100
-------------------------------------------------joins sent to net
: 0
: 0
: 0
: 0
leave
to network
: 0
leave
from users
general-query
to users
: 0
: 0
: 0
special-query
to users
: 0
special-query
from net
: 0
----------------------------------------------------
Related Commands
None
46-64
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command enables or disables the CAC function.
Parameters
Parameter
Description
Value
name1
function.
disable: Disables the CAC
function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the CAC function:
ZXAN(config)#iptv cac enable
Related Commands
46.8.5 show iptv control
Function
This command enables or disables the IPTV CDR function.
46-65
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
function.
disable: Disables the CDR
function.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the CDR function:
ZXAN(config)#iptv cdr enable
Related Commands
46.8.6 show iptv interface
Function
This command clears IPTV CDR records.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to clear IPTV CDR records:
46-66
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
46.8.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
Parameter
Description
Value
number1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
'0' indicates the period when no CDR records are generated.
Examples
The following example shows how to configure the regular CDR recording period as 30
minutes for a 'Permit' user who watches programs for a long time:
ZXAN(config)#iptv cdr create-period 30
Related Commands
46.8.1 show iptv cdr
Function
This command enables or disables CDR recording for a 'Deny' user.
46-67
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
recording.
disable: Disables CDR
recording.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable CDR recording for a 'Deny' user:
ZXAN(config)#iptv cdr deny-right enable
Related Commands
46.7.8 iptv cdr prw-right
46.8.1 show iptv cdr
Function
This command configures the maximum number of CDR records.
Parameters
Parameter
Description
Value
number1
Range: 50065535
records
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
46-68
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the maximum number of CDR records as
6000:
ZXAN(config)#iptv cdr max-records 6000
Related Commands
46.7.10 iptv cdr report-interval
46.7.9 iptv cdr report
46.7.5 iptv cdr deny-right
46.7.8 iptv cdr prw-right
46.8.1 show iptv cdr
Function
This command enables or disables CDR recording in case that the number of 'Preview'
users exceeds the limit.
Parameters
Parameter
Description
Value
name1
recording.
disable: Disables CDR
recording.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable CDR recording in case that the number of
'Preview' users exceeds the limit:
ZXAN(config)#iptv cdr prw-overcount enable
46-69
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
46.7.8 iptv cdr prw-right
46.8.1 show iptv cdr
Function
This command enables or disables CDR recording for a 'Preview' user.
Parameters
Parameter
Description
Value
name1
recording.
disable: Disables CDR
recording.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable CDR recording for a 'Preview' user:
ZXAN(config)#iptv cdr prw-right enable
Related Commands
46.7.5 iptv cdr deny-right
46.8.1 show iptv cdr
46-70
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command reports CDR records manually.
Parameters
None
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to report CDR records manually:
ZXAN(config)#iptv cdr report
Related Commands
46.7.10 iptv cdr report-interval
46.7.6 iptv cdr max-records
46.7.5 iptv cdr deny-right
46.7.8 iptv cdr prw-right
46.8.1 show iptv cdr
Function
This command configures the interval for regular CDR reporting by line cards.
Parameters
Parameter
Description
Value
number1
Mode
Configuration mode: ZXAN (config)#
46-71
SJ-20130118100307-010|2013-02-28 (R1.0)
Usage Guidelines
None
Examples
The following example shows how to configure the interval as 10 minutes for regular CDR
reporting by line cards:
ZXAN(config)#iptv cdr report-interval 10
Related Commands
46.7.9 iptv cdr report
46.7.6 iptv cdr max-records
46.7.5 iptv cdr deny-right
46.7.8 iptv cdr prw-right
46.8.1 show iptv cdr
Function
This command configures the threshold for CDR reporting by line cards.
Parameters
Parameter
Description
Value
number1
Range: 30065535
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the threshold as 300 for CDR reporting by
line cards:
ZXAN(config)#iptv cdr report-threshold 300
46-72
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
46.7.10 iptv cdr report-interval
46.7.9 iptv cdr report
Function
This command configures IPTV channels globally.
Parameters
Parameter
Description
Value
number1
Multicast VLAN.
Range: 14094
ip_addr1
name1
IPTV name.
number2
Channel ID.
Range: 01023
ip_addr2
name2
Pre-join name.
name3
Channel information.
name4
name5
name6
configuring.
enable: Enables channel CDR
configuring.
range1
Channel list.
name7
Channel name.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
46-73
SJ-20130118100307-010|2013-02-28 (R1.0)
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
46.8.4 show iptv channel
Function
This command configures the highest priority of channel access.
Parameters
Parameter
name1
Description
Value
priority.
watch: Sets 'watch' to the
highest priority.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the highest priority of channel access as
'watch':
ZXAN(config)#iptv highest-priority watch
ZXAN(config)#
46-74
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
46.8.5 show iptv control
Function
This command configures IPv6 channel information globally.
Parameters
Parameter
Description
Value
number1
Multicast VLAN.
Range: 14094
ipv6_addr1
name1
IPTV name.
number2
Channel ID.
Range: 01023
ipv6_addr2
name2
multiple channels.
name3
Channel information.
name4
name5
name6
configuring.
enable: Enables channel CDR
configuring.
range1
name7
Channel name.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
46-75
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to create an IPv6 channel:
ZXAN(config)#iptv ipv6 channel mvlan 2 group 53a3::2a5e
ZXAN(config)#iptv ipv6 channel mvlan 2 group 53a3::265e
Related Commands
None
Function
This command creates an IPv6 multicast package.
Parameters
Parameter
Description
Value
name1
Package name.
number1
Package ID.
Range: 01023
name2
to the channel.
name3
range1
Channel list.
number2
Multicast VLAN.
Range: 14094
ipv6_addr1
group.
ipv6_addr2
group.
name4
Channel name.
46-76
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
package.
watch: Accepts the IPv6
multicast package.
preview: Previews the IPv6
multicast package.
name6
deleted.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
Both package ID and package name are unique. If the package ID is not selected, the
system will assign a package ID.
To delete an IPv6 multicast package, use the no form of this command.
Examples
The following example shows how to create an IPv6 multicast package:
ZXAN(config)#iptv ipv6 package name pkg1
Related Commands
46.8.7 show iptv package
Function
This command configures the IPv6 address of the Service Management System (SMS)
server.
Parameters
Parameter
Description
Value
name1
46-77
SJ-20130118100307-010|2013-02-28 (R1.0)
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the IPv6 address of the SMS server as
2e4b::5ab4:
ZXAN(config)#iptv ipv6 sms-server 2e4b::5ab4
Related Commands
46.8.5 show iptv control
Function
This command adds a channel to a multicast package and configures the channel access
rights.
Parameters
Parameter
Description
Value
name1
Package name.
number1
Package ID.
Range: 01023
name2
Channel name.
name3
range1
Channel list.
Range: 01023
number2
Multicast VLAN.
Range: 14094
ip_addr1
ip_addr2
name4
Channel name.
46-78
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameter
Description
Value
name5
deleted.
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
To delete a channel from a multicast package, use the no form of this command.
Examples
The following example shows how to add a channel to a multicast package and configure
the channel access rights as 'preview' and 'watch':
ZXAN(config)#iptv package pkg1 channel 0,3-10 preview
ZXAN(config)#iptv package pkg1 channel hbtv50 watch
ZXAN(config)#iptv package pkg1 channel hbtv51 watch
The following example shows how to delete the channel from the multicast package:
ZXAN(config)#no iptv package pkg1 channel 50
ZXAN(config)#no iptv package pkg1 channel hbtv50
Related Commands
46.8.7 show iptv package
Function
This command enables or disables the IPTV preview function.
46-79
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
time1
Absolute time.
number1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to enable the IPTV preview function:
ZXAN(config)#iptv prw enable
Related Commands
46.8.8 show iptv prw
Function
This command configures the IP address of the SMS server.
Parameters
Parameter
Description
Value
ip_addr1
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
46-80
SJ-20130118100307-010|2013-02-28 (R1.0)
Examples
The following example shows how to configure the IP address of the SMS server as
10.61.97.156:
ZXAN(config)#iptv sms-server 10.61.97.156
Related Commands
46.8.5 show iptv control
Function
This command configures the minimum interval (black-out Interval) for IPTV preview.
Parameters
Parameter
Description
Value
name1
number1
Range: 1100
number2
preview
number3
Mode
Configuration mode: ZXAN (config)#
Usage Guidelines
None
Examples
The following example shows how to configure the minimum interval for IPTV preview as
20 seconds:
ZXAN(config)#iptv view-profile test blackout 20
Related Commands
None
46-81
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays information about IPTV CDR configuration.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about IPTV CDR configuration:
ZXAN(config)#show iptv cdr
CDR
: disable
CDR current-state
: idle
CDR socket-status
: close
CDR deny-right
: disable
CDR prw-right
: enable
CDR prw-over-count
: disable
CDR create-period
: 60(minute)
Max-records
: 1000
Report-interval
: 5(minute)
Report-threshold
: 300
Records in cache
: 0
-----------------------------------------------------------------------------------------------------
Parameter
Description
Value
-----------------------------------------------------------------------------------------------------
46-82
SJ-20130118100307-010|2013-02-28 (R1.0)
CDR
CDR enabling.
enable/disable
CDR current-state
CDR socket-status
close/open
CDR deny-right
enable/disable
CDR prw-right
enable/disable
CDR
user.
prw-over-count
enable/disable
CDR
recording
idle/busy
for
'Preview
over
count'
CDR create-Period
CDR recording period for a 'Permit' user (minute). 0 indicates no
periodic records are generated. 0-1440
Max-records
cache.
Records in cache
Related Commands
None
Function
This command displays CDR record contents.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
ZXAN(config)#show iptv cdr content
--Cdr message includes following information.
--Index
--Time_stamp
--ifindex
46-83
SJ-20130118100307-010|2013-02-28 (R1.0)
--SourceIP
--
--GroupIP
--Validility
---Type
--
1 -- watch
--
2 -- preview
--
0 -- deny
--Reason
--
0 --
watch leave(valid)
--
1 --
--
2 --
--
3 --
--
4 --
deny(invalid)
--
5 --
watch over-config-period(valid)
Related Commands
None
Function
This command displays information about CDR records.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display information about CDR records:
46-84
SJ-20130118100307-010|2013-02-28 (R1.0)
Port
Vlan
GpIp
V&T&R
Duration
-------------------------------------------------------------------------------
Related Commands
None
Function
This command displays detailed information about IPTV channels.
Parameters
Parameter
Description
Value
name1
Channel name
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display detailed information about IPTV channels:
ZXAN(config)#show iptv channel hbtv
id
:0
mvlan
:3
group
:224.3.3.99
cdrenable
:enable
-------view info------viewprofile
:TEST.PRF
max-view-cout
:4
view-interval
:200
blankout-interval
:30
46-85
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays global configurations of the IPTV.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display global configurations of the IPTV:
ZXAN#show iptv control
CAC
: disable
SMS
: 192.168.0.119
Related Commands
46.7.19 iptv sms-server
Function
This command displays IPTV user information.
46-86
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
interface1
Interface name
number1
Range: 1256
number2
Specified PVC ID
Range: 18
Mode
Any mode except user mode
Usage Guidelines
If this command is used with either parameter, information about the channels or packages
which the port has configured is displayed. If this command is used with neither parameter,
control information about the port is displayed.
Examples
The following example shows how to display user information:
ZXAN(config)#show iptv interface epon-onu_1/4/1:1 pvc 1
auth-mode : auth
right-mode: package
cdrstatus : enable
service
: IN_SERVICE
right
channel-name
-----------------------------------------1
preview
watch
CHNAME1
CHNAME2
pkg-name
-----------------------------------------0
PKG1
Related Commands
None
46-87
SJ-20130118100307-010|2013-02-28 (R1.0)
Function
This command displays IPTV channel package information.
Parameters
Parameter
Description
Value
name1
Package name
Mode
Any mode except user mode
Usage Guidelines
If this command is used without the parameter, the names of all the packages configured
are displayed. If this command is used with the parameter, a list of all the channels in the
package is displayed.
Examples
The following example shows how to display the package name:
ZXAN(config)#show iptv package
Total package number 2
----------------------------------------------------------Id
Packagename
Channels
Users
----------------------------------------------------------0
PKG1
PKG2
The following example shows how to display information about the package pkg1:
ZXAN(config)#show iptv package pkg1
Package name: PKG1
Total channel number: 1
----------------------------------------------------------------Id
Name
Ip-address
Mvlan
Right
----------------------------------------------------------------0
CCTV
224.1.1.1
Watch
46-88
SJ-20130118100307-010|2013-02-28 (R1.0)
Related Commands
None
Function
This command displays global configuration information about IPTV preview.
Parameters
None
Mode
Any mode except user mode
Usage Guidelines
None
Examples
The following example shows how to display global configuration information about IPTV
preview:
ZXAN(config)#show iptv prw
Prwenable
PrwRecognitionTime
PrwAutoResetTime
: enable
: 12
: 23:58:59
Related Commands
None
Function
This command displays information about the preview profile.
46-89
SJ-20130118100307-010|2013-02-28 (R1.0)
Parameters
Parameter
Description
Value
name1
Mode
Any mode except user mode
Usage Guidelines
If this command is used with the parameter, information about the specified preview profile
is displayed. If this command is used without the parameter, all the preview profile names
are displayed.
Examples
The following example shows how to display all the preview profile names:
ZXAN(config)#show iptv view-profile
all view-profile-----DEFVAL.PRF
TEST.PRF
The following example shows how to display information about the preview profile 'test':
ZXAN(config)#show iptv view-profile test
max-view-count
view-duration
:4
:200(s)
blackout-interval
:30(s)
Related Commands
iptv view-profile count
iptv view-profile duration
46-90
SJ-20130118100307-010|2013-02-28 (R1.0)